@ckeditor/ckeditor5-document-outline 48.3.0 → 48.3.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x36f7c6,Plugin as _0x54738c}from'@ckeditor/ckeditor5-core';import{debounce as _0x5e1f66,throttle as _0x1d7cf7}from'es-toolkit/compat';import{ModelText as _0x53535b,ModelTreeWalker as _0x55e69a}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x19c41e,Rect as _0x508bbd,diff as _0x3d037b,diffToChanges as _0x420b2e,global as _0x57ca52,priorities as _0x45c823,scrollAncestorsToShowTarget as _0xfb97,uid as _0x59de0c}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x1df782,MenuBarMenuListItemButtonView as _0x41f35f,View as _0x365a09}from'@ckeditor/ckeditor5-ui';import{Widget as _0x1aab73,toWidget as _0x28961e}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x101510}from'@ckeditor/ckeditor5-icons';function b(_0x5ae40b){let _0x97aaa3='';for(const _0x33913c of _0x5ae40b['getChildren']())_0x33913c instanceof _0x53535b&&(_0x97aaa3+=_0x33913c['data']);return _0x97aaa3;}var I=class extends _0x54738c{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x14dc1d=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x2810f6=[];_0x14dc1d['model']['document']['on']('change',_0x5e1f66(()=>{const _0x301872=_0x2810f6;_0x2810f6=this['_getOutlineDefinitions']();const _0x168e16=_0x420b2e(_0x3d037b(_0x301872,_0x2810f6,(_0x559023,_0x5964d9)=>_0x559023['level']===_0x5964d9['level']&&_0x559023['text']===_0x5964d9['text']&&_0x559023['modelElement']===_0x5964d9['modelElement']),_0x2810f6),_0x55263a=this['_getActiveHeading'](),_0x4a3df5=_0x2810f6['findIndex'](_0x15db9a=>_0x15db9a['modelElement']===_0x55263a);_0x168e16['length']&&this['fire']('change',{'outlineDefinitions':_0x2810f6,'activeItemIndex':_0x4a3df5,'outlineChanges':_0x168e16}),this['fire']('activeItemIndex',{'index':_0x4a3df5});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x3d139c=this['editor'],_0x126702=[],_0x492d89=this['_headingNames'];for(const _0x156eec of _0x3d139c['model']['document']['getRootNames']())_0x1e88c1(_0x3d139c['model']['document']['getRoot'](_0x156eec));function _0x1e88c1(_0xe4413f){for(const _0x1f6a06 of _0xe4413f['getChildren']())_0x1f6a06['is']('element')&&(_0x492d89['includes'](_0x1f6a06['name'])&&_0x126702['push']({'level':_0x492d89['indexOf'](_0x1f6a06['name'])+0x1,'text':b(_0x1f6a06),'modelElement':_0x1f6a06}),_0x1e88c1(_0x1f6a06));}return _0x126702;}['_getActiveHeading'](){const _0xbbae06=new _0x55e69a({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x13c93e of _0xbbae06)if(_0x13c93e['item']['is']('element')&&this['_headingNames']['includes'](_0x13c93e['item']['name']))return _0x13c93e['item'];}['_getHeadingNames'](){const _0x307f2f=this['editor']['config']['get']('documentOutline.headings');return _0x307f2f||function(_0x194744){const _0x1501dc=_0x194744['config']['get']('heading.options');return _0x1501dc?_0x1501dc['reduce']((_0x1d9675,_0x2b7791)=>('paragraph'!==_0x2b7791['model']&&_0x1d9675['push'](_0x2b7791['model']),_0x1d9675),[]):_0x194744['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x36da53=this['editor'],_0xa9cebe=['h1','h2','h3','h4','h5','h6'],_0x853f3a=[];for(const _0x41a72b of _0xa9cebe){const _0x574e27=_0x36da53['editing']['view']['domConverter']['domToView'](document['createElement'](_0x41a72b)),_0x29bd46=_0x36da53['data']['toModel'](_0x574e27)['getChild'](0x0);_0x29bd46?.['is']('element')&&_0x853f3a['push'](_0x29bd46['name']);}this['_headingNames']=_0x853f3a;}};function L(_0x299a0c,_0x3b4379){const t=_0x299a0c['t'];switch(_0x3b4379){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 _0x3b4379;}}var C=class extends _0x365a09{constructor(_0xbf6a1f,_0x59c3b2=!0x1){super(_0xbf6a1f);const _0x53819b=this['bindTemplate'],_0x14bf14=_0x59c3b2?'['+L(_0xbf6a1f,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x45087f=>!_0x45087f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x53819b['to']('level',_0x433e74=>'ck-document-outline__item_level-'+_0x433e74),_0x53819b['if']('isActive','ck-document-outline__item_active'),_0x53819b['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x53819b['to']('text')},'children':[{'text':_0x53819b['to']('text',_0x5c4b2b=>_0x5c4b2b||_0x14bf14)}],'on':{'click':_0x53819b['to']('click')}});}},_=class extends _0x365a09{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x35157f,_0x1e09ae=!0x1,_0x40cf1b){super(_0x35157f),this['showEmptyHeadingText']=_0x1e09ae,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x40cf1b,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x54510f,_0x5f0073,_0x567901,_0x5e28b0)=>{this['_setActiveItem'](_0x5e28b0,_0x567901);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x35157f['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x35157f,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x39c312){_0x39c312['forEach'](_0x58fb7c=>{'insert'==_0x58fb7c['type']?this['_insertItem'](_0x58fb7c['index'],..._0x58fb7c['values']):'delete'==_0x58fb7c['type']&&this['_deleteItem'](_0x58fb7c['index'],_0x58fb7c['howMany']);});}['_setActiveItem'](_0x345ec0,_0x254bbf){if(-0x1!==_0x345ec0){const _0x425aba=this['items']['get'](_0x345ec0);_0x425aba&&(_0x425aba['isActive']=!0x1);}-0x1!==_0x254bbf&&(this['items']['get'](_0x254bbf)['isActive']=!0x0,this['_scrollToItem'](_0x254bbf));}['_insertItem'](_0x54e500,..._0x39f191){const _0x5db966=_0x39f191['map']((_0x1cabef,_0x45244d)=>{const _0x196c7b=new C(this['locale'],this['showEmptyHeadingText']);return _0x196c7b['text']=_0x1cabef['text'],_0x196c7b['level']=_0x1cabef['level'],_0x54e500+_0x45244d===this['activeItemIndex']&&(_0x196c7b['isActive']=!0x0),_0x196c7b;});this['items']['addMany'](_0x5db966,_0x54e500);}['_deleteItem'](_0xf6f24,_0x118ef4){do{this['items']['remove'](_0xf6f24);}while(--_0x118ef4);}['_handleItemClick'](_0x2248bc){const _0x35cbe8=this['items']['getIndex'](_0x2248bc['source']);this['fire']('itemSelected',_0x35cbe8);}['_scrollToItem'](_0x21dc20){_0xfb97(this['items']['get'](_0x21dc20)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x54738c{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x259352){super(_0x259352),this['view']=new _(_0x259352['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x1d7cf7(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x3458b=this['editor'],_0x608a08=_0x3458b['plugins']['get']('DocumentOutlineUtils');let _0x15719b=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x3458b['config']['get']('documentOutline.container'))throw new _0x19c41e('document-outline-container-not-provided',{'editor':_0x3458b});_0x3458b['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x608a08['on']('change',this['_handleOutlineChange']['bind'](this)),_0x608a08['on']('activeItemIndex',(_0x4cd8b7,{index:_0x269cd4})=>this['_setActiveViewItem'](_0x269cd4)),this['view']['on']('itemSelected',(_0x5a0ee7,_0x2798b9)=>{_0x15719b=!0x0,this['_handleItemSelected'](_0x2798b9);}),this['view']['listenTo'](_0x57ca52['document'],'scroll',()=>{_0x15719b?_0x15719b=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x57ca52['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x44adaa){const _0x51ce8b='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x494407=0x78e88,_0x20c91e=window['Date']['now'](),_0x5b17d4=_0x44adaa['editor'],_0x90bad8=new window['Promise'](_0x5458d0=>{_0x5b17d4['once']('ready',_0x5458d0);}),_0x31dd6e={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x509ee0=_0x5b17d4['config']['get']('licenseKey');async function _0x45bfbd(){let _0x1b5727,_0x45fda1=null,_0x5f1485=null;try{return'GPL'==_0x509ee0?'NotAllowed':(_0x1b5727=_0x4add94(),_0x1b5727?(_0x1b5727['usageEndpoint']&&(_0x5f1485=_0x3fdc9b(_0x1b5727['usageEndpoint'],_0x1b5727['jti'])),await _0x48a9ec()?_0x118662()?_0x3cbc6a()?'Expired':_0x35ff3b()?('evaluation'==_0x1b5727['licenseType']&&(_0x45fda1=_0x3a7ee9('EvaluationLimit')),await _0xc5c654()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3cbc6a(){const _0x88b90b=['evaluation','trial']['includes'](_0x1b5727['licenseType'])?_0x20c91e/0x3e8:0xe10*_0x494407;return _0x1b5727['exp']<_0x88b90b;}function _0x118662(){const _0x1fdc9=_0x1b5727['features'];return!!_0x1fdc9&&(!!_0x1fdc9['includes']('*')||(!!_0x1fdc9['includes']('DO')||(!!_0x1fdc9['includes']('PP')||!(!_0x1fdc9['includes']('TRILIUM')||!_0x5ab71a()))));}function _0x35ff3b(){const _0x514f94=_0x1b5727['licensedHosts'];if(!_0x514f94||0x0==_0x514f94['length'])return!0x0;const {hostname:_0x43aee9}=new URL(window['location']['href']);if(_0x514f94['includes'](_0x43aee9))return!0x0;const _0x18da94=_0x43aee9['split']('.');return _0x514f94['filter'](_0x275c14=>_0x275c14['includes']('*'))['map'](_0x270b34=>_0x270b34['split']('.'))['filter'](_0x44b584=>_0x44b584['length']<=_0x18da94['length'])['map'](_0x50add9=>Array(_0x18da94['length']-_0x50add9['length'])['fill']('*'===_0x50add9[0x0]?'*':'')['concat'](_0x50add9))['some'](_0x1e45fa=>_0x18da94['every']((_0x1a1ee5,_0x511c12)=>_0x1e45fa[_0x511c12]===_0x1a1ee5||'*'===_0x1e45fa[_0x511c12]));}function _0xc5c654(){return _0x45fda1&&_0x5f1485?new window['Promise']((_0x3955a8,_0x218376)=>{_0x45fda1['then'](_0x3955a8,_0x218376),_0x5f1485['then'](_0x5e2c71=>{'Valid'!=_0x5e2c71&&_0x3955a8(_0x5e2c71);},_0x218376);}):_0x45fda1||_0x5f1485||'Valid';}}function _0x3fdc9b(_0x2b985a,_0x1def34){return new window['Promise'](_0x3e73b4=>{if(_0x324a8e())return _0x3e73b4('Valid');_0x148853(),_0x5b17d4['decorate']('_sendUsageRequest');let _0x45af26=!0x1;const _0x28e15a=_0x59de0c();function _0x481f49(_0x4d7932){return!!_0x4d7932&&('object'==typeof _0x4d7932||'function'==typeof _0x4d7932)&&'function'==typeof _0x4d7932['then']&&'function'==typeof _0x4d7932['catch'];}function _0x3a0238(_0x51ef7b){_0x4ce6af(_0x51ef7b)['then'](_0x412b35=>_0x412b35&&'ok'==_0x412b35['status']?_0x17161c(_0x57d00b(_0x28e15a+_0x1def34))!=_0x412b35['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x26f9ab=>(_0x4afc0c(),_0x26f9ab),()=>{const _0x19342e=_0x2d5fb6();return null==_0x19342e?(_0x4afc0c(),'Valid'):_0x20c91e-_0x19342e>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3e73b4)['catch'](()=>{_0x3e73b4('UsageLimit');});const _0x5629d9=0x36ee80;function _0x4afc0c(){const _0x559ab6='llct-'+_0x17161c(_0x57d00b(_0x2b985a)),_0x51d561=_0x23e449(_0x17161c(window['Math']['ceil'](_0x20c91e/_0x5629d9)));window['localStorage']['setItem'](_0x559ab6,_0x51d561);}function _0x2d5fb6(){const _0x295e9c='llct-'+_0x17161c(_0x57d00b(_0x2b985a)),_0x3ee213=window['localStorage']['getItem'](_0x295e9c);return _0x3ee213?window['parseInt'](_0x23e449(_0x3ee213),0x10)*_0x5629d9:null;}function _0x4ce6af(_0x21cfed){return new window['Promise']((_0x3c7771,_0x4da6d7)=>{_0x21cfed['then'](_0x3c7771,_0x4da6d7),window['setTimeout'](_0x4da6d7,0x1d4c0);});}}_0x5b17d4['on']('_sendUsageRequest',(_0x53224f,_0xed697c)=>{if(_0xed697c[0x0]!=_0x2b985a)return _0x3e73b4('UsageLimit');_0xed697c[0x1]={..._0xed697c[0x1],'requestId':_0x28e15a};},{'priority':'high'}),_0x5b17d4['on']('_sendUsageRequest',_0x5f33cb=>{_0x481f49(_0x5f33cb['return'])&&(_0x45af26=!0x0,_0x3a0238(_0x5f33cb['return']));},{'priority':'low'}),_0x90bad8['then'](()=>{_0x45af26||_0x3e73b4('UsageLimit');});});function _0x324a8e(){return'auto'==_0x5b17d4['editing']['view']['_overlayModeHint'];}function _0x148853(){_0x5b17d4['editing']['view']['_overlayModeHint']='auto';}}function _0x3a7ee9(_0x32aa32){const _0x182178=[new window['Promise'](_0x36ac7b=>setTimeout(_0x36ac7b,0x93ecc)),_0x90bad8['then'](()=>new window['Promise'](_0x4a5461=>{let _0xf07176=0x0;_0x5b17d4['model']['on']('applyOperation',(_0x186e45,_0x5d0567)=>{_0x5d0567[0x0]['isDocumentOperation']&&_0xf07176++,0x5e8==_0xf07176&&(_0x4a5461(),_0x186e45['off']());});}))];return window['Promise']['race'](_0x182178)['then'](()=>_0x32aa32);}async function _0x5ea5ad(){await _0x90bad8,_0x5b17d4['model']['change']=_0x27eb80,_0x5b17d4['model']['enqueueChange']=_0x27eb80,_0x5b17d4['enableReadOnlyMode']('model');}function _0x5ab71a(){return window['glob']&&window['glob']['triliumVersion'];}function _0x5a89a8(_0x22c343){const _0xa22e49=_0x49b995();_0x5b17d4[_0xa22e49]='documentOutlineLicenseKey'+_0x22c343,'Valid'!=_0x22c343&&_0x5ea5ad();}function _0x49b995(){const _0x4fe355=window['String'](window['performance']['now']())['replace']('.','');let _0x2f7a21='a';for(let _0x584be4=0x0;_0x584be4<_0x4fe355['length'];_0x584be4+=0x2){let _0x23c4f1=window['parseInt'](_0x4fe355['substring'](_0x584be4,_0x584be4+0x2));_0x23c4f1>=0x3e&&(_0x23c4f1-=0x3e),_0x2f7a21+=_0x51ce8b[_0x23c4f1];}return _0x2f7a21;}function _0x4add94(){const _0x4fe118=_0x509ee0['split']('.');if(0x3!=_0x4fe118['length'])return null;return _0xe07381(_0x4fe118[0x1]);function _0xe07381(_0x55dffe){const _0x51be0d=_0x30369a(_0x55dffe);return _0x51be0d&&_0x2079a5()?_0x51be0d:null;function _0x2079a5(){const _0x5ea3c4=_0x51be0d['jti'],_0x466f87=window['parseInt'](_0x5ea3c4['substring'](_0x5ea3c4['length']-0x8),0x10),_0x18bf72={..._0x51be0d,'jti':_0x5ea3c4['substring'](0x0,_0x5ea3c4['length']-0x8)};return delete _0x18bf72['vc'],_0x57d00b(_0x18bf72)==_0x466f87;}}}async function _0x48a9ec(){let _0x2e9b81=!0x0;try{const [_0x5721e2,_0x4ee915,_0x6ce6d2]=_0x509ee0['split']('.');return _0x4afafd(_0x5721e2),await _0x23e8c8(_0x5721e2,_0x4ee915,_0x6ce6d2),_0x2e9b81;}catch{return!0x1;}function _0x4afafd(_0x1fcf33){const _0x92e862=_0x30369a(_0x1fcf33);_0x92e862&&'ES256'==_0x92e862['alg']||(_0x2e9b81=!0x1);}async function _0x23e8c8(_0x249937,_0x525135,_0x34e29b){const _0x97bac3=window['Uint8Array']['from'](_0x2c8a43(_0x34e29b),_0x42052c=>_0x42052c['charCodeAt'](0x0)),_0xb44af8=new window['TextEncoder']()['encode'](_0x249937+'.'+_0x525135),_0x30f6ae=window['crypto']['subtle'];if(!_0x30f6ae)return;const _0x58f78c=await _0x30f6ae['importKey']('jwk',_0x31dd6e,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x30f6ae['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x58f78c,_0x97bac3,_0xb44af8)||(_0x2e9b81=!0x1);}}function _0x30369a(_0x25b053){return _0x25b053['startsWith']('ey')?JSON['parse'](_0x2c8a43(_0x25b053)):null;}function _0x2c8a43(_0x18e62d){return window['atob'](_0x18e62d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x57d00b(_0x158ce4){let _0x58eb08=0x1505;function _0x3d644d(_0x383f01){for(let _0x4239af=0x0;_0x4239af<_0x383f01['length'];_0x4239af++){const _0x5edcda=_0x383f01['charCodeAt'](_0x4239af);_0x58eb08=(_0x58eb08<<0x5)+_0x58eb08+_0x5edcda,_0x58eb08&=_0x58eb08;}}function _0x51b4c8(_0x4215a8){Array['isArray'](_0x4215a8)?_0x4215a8['forEach'](_0x51b4c8):_0x4215a8&&'object'==typeof _0x4215a8?Object['entries'](_0x4215a8)['sort']()['forEach'](([_0x94ed44,_0x3209f0])=>{_0x3d644d(_0x94ed44),_0x51b4c8(_0x3209f0);}):_0x3d644d(window['String'](_0x4215a8));}return _0x51b4c8(_0x158ce4),_0x58eb08>>>0x0;}function _0x17161c(_0x4b9485){return _0x4b9485['toString'](0x10)['padStart'](0x8,'0');}function _0x23e449(_0x57851e){return _0x57851e['split']('')['reverse']()['join']('');}function _0x27eb80(){}_0x5a89a8(await _0x45bfbd());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x93438d,{outlineDefinitions:_0x2dd958,outlineChanges:_0x1d9fcf}){this['_currentOutlineDefinitions']=_0x2dd958,this['view']['sync'](_0x1d9fcf);}['_setActiveViewItem'](_0x57a252){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x57a252]&&(this['view']['activeItemIndex']=_0x57a252);}['_handleItemSelected'](_0x286254){const _0x1925f6=this['_currentOutlineDefinitions'][_0x286254]['modelElement'];this['editor']['model']['change'](_0xf63877=>{_0xf63877['setSelection'](_0x1925f6,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x286254);}['_updateActiveDefinitionOnViewportChange'](){const _0x380c9e=this['editor'];let _0x47370b;for(const _0x207b7d of _0x380c9e['model']['document']['getRootNames']()){const _0xb634f7=_0x380c9e['editing']['view']['getDomRoot'](_0x207b7d),_0xc339cc=_0xb634f7&&new _0x508bbd(_0xb634f7)['getVisible']();if(_0xc339cc){const _0x2a10c2=new _0x508bbd(_0x57ca52['window'])['getIntersection'](_0xc339cc);_0x2a10c2&&(_0x47370b=_0x2a10c2['top']+0.25*_0x2a10c2['height']);}}if(void 0x0===_0x47370b)return;const _0x34f46f=k(_0x380c9e['editing'],this['_currentOutlineDefinitions'],_0x47370b);_0x34f46f?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x34f46f)):this['_setActiveViewItem'](-0x1);}};function k(_0x34823b,_0x81e002,_0x4c28da,_0x39e615=0x0,_0x478d41=_0x81e002['length']-0x1){const _0x5a5e75=Math['floor'](_0x39e615+(_0x478d41-_0x39e615)/0x2);if(_0x478d41>=_0x39e615){const _0x5d56e8=_0x81e002[_0x5a5e75],_0x1d29ed=_0x34823b['mapper']['toViewElement'](_0x5d56e8['modelElement']);return _0x1d29ed?new _0x508bbd(_0x34823b['view']['domConverter']['mapViewToDom'](_0x1d29ed))['bottom']>_0x4c28da?k(_0x34823b,_0x81e002,_0x4c28da,_0x39e615,_0x5a5e75-0x1):k(_0x34823b,_0x81e002,_0x4c28da,_0x5a5e75+0x1,_0x478d41):null;}return _0x5a5e75<0x0?null:_0x81e002[_0x5a5e75];}var E=class extends _0x54738c{['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 _0x6740aa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x54cc07;for(const _0x56f3bd in _0x6740aa){const _0x19e579=_0x56f3bd,_0x3b1429=_0x6740aa[_0x19e579];if('documentOutlineLicenseKeyValid'==_0x3b1429||'documentOutlineLicenseKeyInvalid'==_0x3b1429||'documentOutlineLicenseKeyExpired'==_0x3b1429||'documentOutlineLicenseKeyDomainLimit'==_0x3b1429||'documentOutlineLicenseKeyNotAllowed'==_0x3b1429||'documentOutlineLicenseKeyEvaluationLimit'==_0x3b1429||'documentOutlineLicenseKeyUsageLimit'==_0x3b1429){delete _0x6740aa[_0x19e579],_0x54cc07=_0x3b1429,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x54cc07&&_0x6740aa['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x54cc07&&_0x6740aa['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x54cc07&&_0x6740aa['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x54cc07&&_0x6740aa['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x54cc07&&_0x6740aa['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x54cc07&&_0x6740aa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x36f7c6{['execute'](){this['editor']['model']['change'](_0x1fe84c=>{this['editor']['model']['insertObject'](_0x1fe84c['createElement']('tableOfContents'));});}['refresh'](){const _0x4b05c6=this['editor']['model'],_0x65194f=_0x4b05c6['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x65194f&&_0x4b05c6['schema']['findAllowedParent'](_0x65194f,'tableOfContents'));}},A=class extends _0x54738c{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3f2408=this['editor'];if(_0x3f2408['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x17f765,modelNames:_0x1ac2d5}=function(_0x2a5475){const _0x56a5fa=new Set(),_0x15b122=new Set();if(!_0x2a5475)return{'viewNames':_0x56a5fa,'modelNames':_0x15b122};for(const _0x2f4dfc of _0x2a5475){if('paragraph'===_0x2f4dfc['model'])continue;const _0x4c34ca='string'==typeof _0x2f4dfc['view']?_0x2f4dfc['view']:_0x2f4dfc['view']['name'];_0x56a5fa['add'](_0x4c34ca),_0x15b122['add'](_0x2f4dfc['model']);}return _0x56a5fa['has']('h1')||(_0x56a5fa['add']('h1'),_0x15b122['add']('heading1')),{'viewNames':_0x56a5fa,'modelNames':_0x15b122};}(this['editor']['config']['get']('heading.options'));for(const _0xd7ec3 of _0x17f765)this['_customUpcastHeadingsConversion'](_0xd7ec3);for(const _0x24f2ed of _0x1ac2d5)this['_customDataDowncastHeadingsConversion'](_0x24f2ed),_0x3f2408['model']['schema']['isRegistered'](_0x24f2ed)&&_0x3f2408['model']['schema']['extend'](_0x24f2ed,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x1ac2d5);}['_customUpcastHeadingsConversion'](_0x3e267b){this['editor']['conversion']['for']('upcast')['add'](_0xa25d87=>_0xa25d87['on']('element:'+_0x3e267b,(_0x245c20,_0x6ee5a0,_0x5c0522)=>{const {consumable:_0x1f7b1b,writer:_0x179869}=_0x5c0522,_0x2c5d02=_0x6ee5a0['viewItem']['getAttribute']('id'),_0x393e23=_0x6ee5a0['modelRange']?.['getContainedElement']();if(_0x393e23)return _0x2c5d02&&_0x2c5d02['length']||_0x393e23['hasAttribute']('headingId')?void(_0x1f7b1b['consume'](_0x6ee5a0['viewItem'],{'attributes':['id']})&&_0x179869['setAttribute']('headingId',_0x2c5d02,_0x393e23)):(_0x1f7b1b['consume'](_0x6ee5a0['viewItem'],{'attributes':['id']}),void _0x179869['setAttribute']('headingId',_0x59de0c(),_0x393e23));},{'priority':_0x45c823['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x379f24){this['editor']['conversion']['for']('downcast')['add'](_0x385b12=>_0x385b12['on']('attribute:headingId:'+_0x379f24,(_0x59575d,_0x4a2c00,_0x19dcd4)=>{if(!_0x19dcd4['consumable']['consume'](_0x4a2c00['item'],_0x59575d['name']))return;const _0x5c697d=_0x4a2c00['item']['getAttribute']('headingId'),_0x55093f=_0x19dcd4['mapper']['toViewElement'](_0x4a2c00['item']);_0x19dcd4['writer']['setAttribute']('id',_0x5c697d,_0x55093f);}));}['_registerHeadingIdAttributePostfixer'](_0xf43cb3){const _0x45dfca=this['editor'],_0x4d180c=new Set(),_0x341639=new Set();function _0x1f39a2(_0x21b06b,_0x2cf53c){const _0x40ed73=_0x59de0c();return _0x341639['add'](_0x40ed73),_0x21b06b['setAttribute']('headingId',_0x40ed73,_0x2cf53c),_0x40ed73;}function _0x236f4e(_0x23cfed,_0x2c356d){_0x23cfed['removeAttribute']('headingId',_0x2c356d);}_0x45dfca['model']['document']['registerPostFixer'](_0x2da127=>{const _0x1efc7d=_0x45dfca['model']['document']['differ']['getChanges']();let _0x1d9ec3=!0x1;for(const _0x2f53e0 of _0x1efc7d)if('insert'==_0x2f53e0['type']&&_0x2f53e0['name']){if(_0xf43cb3['has'](_0x2f53e0['name'])){const _0x4a27b2=_0x2f53e0['attributes']['get']('headingId');'string'==typeof _0x4a27b2?_0x4d180c['has'](_0x4a27b2)?(_0x1f39a2(_0x2da127,_0x2f53e0['position']['nodeAfter']),_0x1d9ec3=!0x0):_0x341639['add'](_0x4a27b2):(_0x1f39a2(_0x2da127,_0x2f53e0['position']['nodeAfter']),_0x1d9ec3=!0x0);}else'string'==typeof _0x2f53e0['attributes']['get']('headingId')&&(_0x236f4e(_0x2da127,_0x2f53e0['position']['nodeAfter']),_0x1d9ec3=!0x0);}else{if('remove'==_0x2f53e0['type']){const _0x61628f=_0x2f53e0['attributes']['get']('headingId');'string'==typeof _0x61628f&&_0x4d180c['delete'](_0x61628f);}}return _0x1d9ec3;}),_0x45dfca['model']['document']['on']('change',()=>{_0x341639['forEach'](_0x54fef2=>_0x4d180c['add'](_0x54fef2)),_0x341639['clear']();});}},N=class extends _0x54738c{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1aab73,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x507b4f){super(_0x507b4f),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x286866=this['editor'],_0x5bb332=_0x286866['editing']['view']['document'];_0x286866['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x286866['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x5bb332,'click',(_0x3ac2fc,_0x4122c6)=>{if(!_0x4122c6['target'])return;const _0x1ddfb4=_0x4122c6['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x1ddfb4)&&(_0x4122c6['domEvent']['preventDefault'](),_0x3ac2fc['stop'](),this['_handleScrollToHeading'](_0x1ddfb4));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x286866['commands']['add']('insertTableOfContents',new K(_0x286866));const _0x340893=_0x286866['config']['get']('tableOfContents.headings');_0x340893&&_0x340893['length']?this['listenTo'](_0x286866['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x340893),this['_updateTableOfContentsElements']();}):_0x286866['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x44caa3,_0x4c9ebb)=>{this['_currentOutlineDefinitions']=_0x4c9ebb['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x286866['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x238ca3){const _0x4ad5bc='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0xa64519=0x78e88,_0x26c5c9=window['Date']['now'](),_0x3ff9a1=_0x238ca3['editor'],_0x25766e=new window['Promise'](_0x203778=>{_0x3ff9a1['once']('ready',_0x203778);}),_0x3e4469={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1a24be=_0x3ff9a1['config']['get']('licenseKey');async function _0x299639(){let _0x27ba3f,_0x77009a=null,_0x602324=null;try{return'GPL'==_0x1a24be?'NotAllowed':(_0x27ba3f=_0x1985a4(),_0x27ba3f?(_0x27ba3f['usageEndpoint']&&(_0x602324=_0x5ebd07(_0x27ba3f['usageEndpoint'],_0x27ba3f['jti'])),await _0x15bff7()?_0x1429ca()?_0x4c47cc()?'Expired':_0x4f27a5()?('evaluation'==_0x27ba3f['licenseType']&&(_0x77009a=_0x51c7e6('EvaluationLimit')),await _0x26c7fa()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4c47cc(){const _0x22302c=['evaluation','trial']['includes'](_0x27ba3f['licenseType'])?_0x26c5c9/0x3e8:0xe10*_0xa64519;return _0x27ba3f['exp']<_0x22302c;}function _0x1429ca(){const _0xb0a201=_0x27ba3f['features'];return!!_0xb0a201&&(!!_0xb0a201['includes']('*')||(!!_0xb0a201['includes']('TOC')||(!!_0xb0a201['includes']('PP')||!(!_0xb0a201['includes']('TRILIUM')||!_0x265571()))));}function _0x4f27a5(){const _0x4a0d49=_0x27ba3f['licensedHosts'];if(!_0x4a0d49||0x0==_0x4a0d49['length'])return!0x0;const {hostname:_0x44c6e1}=new URL(window['location']['href']);if(_0x4a0d49['includes'](_0x44c6e1))return!0x0;const _0xe709b5=_0x44c6e1['split']('.');return _0x4a0d49['filter'](_0x5b2c2f=>_0x5b2c2f['includes']('*'))['map'](_0x514c20=>_0x514c20['split']('.'))['filter'](_0x33fae2=>_0x33fae2['length']<=_0xe709b5['length'])['map'](_0xcb5a20=>Array(_0xe709b5['length']-_0xcb5a20['length'])['fill']('*'===_0xcb5a20[0x0]?'*':'')['concat'](_0xcb5a20))['some'](_0x2f0136=>_0xe709b5['every']((_0x386d34,_0x4e5e6a)=>_0x2f0136[_0x4e5e6a]===_0x386d34||'*'===_0x2f0136[_0x4e5e6a]));}function _0x26c7fa(){return _0x77009a&&_0x602324?new window['Promise']((_0x17ae54,_0x1feca5)=>{_0x77009a['then'](_0x17ae54,_0x1feca5),_0x602324['then'](_0x711ad0=>{'Valid'!=_0x711ad0&&_0x17ae54(_0x711ad0);},_0x1feca5);}):_0x77009a||_0x602324||'Valid';}}function _0x5ebd07(_0x5c41ae,_0x464a7d){return new window['Promise'](_0x46bb0a=>{if(_0x75da9e())return _0x46bb0a('Valid');_0x281e54(),_0x3ff9a1['decorate']('_sendUsageRequest');let _0x19159d=!0x1;const _0x22db72=_0x59de0c();function _0x104e79(_0x5ee144){return!!_0x5ee144&&('object'==typeof _0x5ee144||'function'==typeof _0x5ee144)&&'function'==typeof _0x5ee144['then']&&'function'==typeof _0x5ee144['catch'];}function _0x1c5dc0(_0xbd2e67){_0x260c0a(_0xbd2e67)['then'](_0x504fd2=>_0x504fd2&&'ok'==_0x504fd2['status']?_0x31632c(_0x1e4bdb(_0x22db72+_0x464a7d))!=_0x504fd2['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3bbd60=>(_0x2129fc(),_0x3bbd60),()=>{const _0x224bf9=_0x268a4c();return null==_0x224bf9?(_0x2129fc(),'Valid'):_0x26c5c9-_0x224bf9>0x240c8400?'UsageLimit':'Valid';})['then'](_0x46bb0a)['catch'](()=>{_0x46bb0a('UsageLimit');});const _0x42a4df=0x36ee80;function _0x2129fc(){const _0x1482c0='llct-'+_0x31632c(_0x1e4bdb(_0x5c41ae)),_0x51ad94=_0x4bf37e(_0x31632c(window['Math']['ceil'](_0x26c5c9/_0x42a4df)));window['localStorage']['setItem'](_0x1482c0,_0x51ad94);}function _0x268a4c(){const _0x1e5df7='llct-'+_0x31632c(_0x1e4bdb(_0x5c41ae)),_0x358b3b=window['localStorage']['getItem'](_0x1e5df7);return _0x358b3b?window['parseInt'](_0x4bf37e(_0x358b3b),0x10)*_0x42a4df:null;}function _0x260c0a(_0x4fb25f){return new window['Promise']((_0x4b8b4a,_0x27750d)=>{_0x4fb25f['then'](_0x4b8b4a,_0x27750d),window['setTimeout'](_0x27750d,0x1d4c0);});}}_0x3ff9a1['on']('_sendUsageRequest',(_0x289bef,_0x78065a)=>{if(_0x78065a[0x0]!=_0x5c41ae)return _0x46bb0a('UsageLimit');_0x78065a[0x1]={..._0x78065a[0x1],'requestId':_0x22db72};},{'priority':'high'}),_0x3ff9a1['on']('_sendUsageRequest',_0x34a54d=>{_0x104e79(_0x34a54d['return'])&&(_0x19159d=!0x0,_0x1c5dc0(_0x34a54d['return']));},{'priority':'low'}),_0x25766e['then'](()=>{_0x19159d||_0x46bb0a('UsageLimit');});});function _0x75da9e(){return'auto'==_0x3ff9a1['editing']['view']['_overlayModeHint'];}function _0x281e54(){_0x3ff9a1['editing']['view']['_overlayModeHint']='auto';}}function _0x51c7e6(_0x274cb3){const _0x1ad275=[new window['Promise'](_0x40a41e=>setTimeout(_0x40a41e,0x93ecc)),_0x25766e['then'](()=>new window['Promise'](_0x1ba4f3=>{let _0xa87905=0x0;_0x3ff9a1['model']['on']('applyOperation',(_0x12a689,_0x55c4d4)=>{_0x55c4d4[0x0]['isDocumentOperation']&&_0xa87905++,0x5e8==_0xa87905&&(_0x1ba4f3(),_0x12a689['off']());});}))];return window['Promise']['race'](_0x1ad275)['then'](()=>_0x274cb3);}async function _0x282f7e(){await _0x25766e,_0x3ff9a1['model']['change']=_0x2b9cda,_0x3ff9a1['model']['enqueueChange']=_0x2b9cda,_0x3ff9a1['enableReadOnlyMode']('model');}function _0x265571(){return window['glob']&&window['glob']['triliumVersion'];}function _0x2633ca(_0xeeaac8){const _0x11f428=_0x350cb5();_0x3ff9a1[_0x11f428]='tableOfContentsLicenseKey'+_0xeeaac8,'Valid'!=_0xeeaac8&&_0x282f7e();}function _0x350cb5(){const _0x114a62=window['String'](window['performance']['now']())['replace']('.','');let _0x355175='m';for(let _0x369114=0x0;_0x369114<_0x114a62['length'];_0x369114+=0x2){let _0x2eabe6=window['parseInt'](_0x114a62['substring'](_0x369114,_0x369114+0x2));_0x2eabe6>=0x3e&&(_0x2eabe6-=0x3e),_0x355175+=_0x4ad5bc[_0x2eabe6];}return _0x355175;}function _0x1985a4(){const _0x59458e=_0x1a24be['split']('.');if(0x3!=_0x59458e['length'])return null;return _0x504b3c(_0x59458e[0x1]);function _0x504b3c(_0x53a681){const _0x356178=_0x44785b(_0x53a681);return _0x356178&&_0x2b9d04()?_0x356178:null;function _0x2b9d04(){const _0x48f9d5=_0x356178['jti'],_0x5efb68=window['parseInt'](_0x48f9d5['substring'](_0x48f9d5['length']-0x8),0x10),_0x413a2c={..._0x356178,'jti':_0x48f9d5['substring'](0x0,_0x48f9d5['length']-0x8)};return delete _0x413a2c['vc'],_0x1e4bdb(_0x413a2c)==_0x5efb68;}}}async function _0x15bff7(){let _0x1b90cc=!0x0;try{const [_0xe45806,_0x15200e,_0x11e42e]=_0x1a24be['split']('.');return _0x4232be(_0xe45806),await _0x2d9934(_0xe45806,_0x15200e,_0x11e42e),_0x1b90cc;}catch{return!0x1;}function _0x4232be(_0x48a8f3){const _0x12ed18=_0x44785b(_0x48a8f3);_0x12ed18&&'ES256'==_0x12ed18['alg']||(_0x1b90cc=!0x1);}async function _0x2d9934(_0x3ae84b,_0x564100,_0x27d334){const _0xa74508=window['Uint8Array']['from'](_0x365290(_0x27d334),_0x5bd042=>_0x5bd042['charCodeAt'](0x0)),_0x35f38d=new window['TextEncoder']()['encode'](_0x3ae84b+'.'+_0x564100),_0x49668c=window['crypto']['subtle'];if(!_0x49668c)return;const _0x576a1c=await _0x49668c['importKey']('jwk',_0x3e4469,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x49668c['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x576a1c,_0xa74508,_0x35f38d)||(_0x1b90cc=!0x1);}}function _0x44785b(_0xd5090b){return _0xd5090b['startsWith']('ey')?JSON['parse'](_0x365290(_0xd5090b)):null;}function _0x365290(_0x4767a1){return window['atob'](_0x4767a1['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1e4bdb(_0x6319e1){let _0x40d05e=0x1505;function _0x54475c(_0x202e37){for(let _0xfe5f52=0x0;_0xfe5f52<_0x202e37['length'];_0xfe5f52++){const _0x1a385c=_0x202e37['charCodeAt'](_0xfe5f52);_0x40d05e=(_0x40d05e<<0x5)+_0x40d05e+_0x1a385c,_0x40d05e&=_0x40d05e;}}function _0x4da691(_0x116e13){Array['isArray'](_0x116e13)?_0x116e13['forEach'](_0x4da691):_0x116e13&&'object'==typeof _0x116e13?Object['entries'](_0x116e13)['sort']()['forEach'](([_0x58bd9e,_0x431907])=>{_0x54475c(_0x58bd9e),_0x4da691(_0x431907);}):_0x54475c(window['String'](_0x116e13));}return _0x4da691(_0x6319e1),_0x40d05e>>>0x0;}function _0x31632c(_0x261b56){return _0x261b56['toString'](0x10)['padStart'](0x8,'0');}function _0x4bf37e(_0x2acceb){return _0x2acceb['split']('')['reverse']()['join']('');}function _0x2b9cda(){}_0x2633ca(await _0x299639());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x200e10=>{'$graveyard'!==_0x200e10['rootName']&&this['editor']['editing']['reconvertItem'](_0x200e10);});}['_trackNewToCElements'](){for(const _0x20c31f of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x20c31f['type']||'tableOfContents'!==_0x20c31f['name'])return;this['_tableOfContentsElements']['add'](_0x20c31f['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x426f07){const _0x6e9890=this['editor'],_0x596e34=[];for(const _0x2ef3cf of _0x6e9890['model']['document']['getRootNames']())_0x289f08(_0x6e9890['model']['document']['getRoot'](_0x2ef3cf));function _0x289f08(_0x1342ff){for(const _0x16654c of _0x1342ff['getChildren']())_0x16654c['is']('element')&&(_0x426f07['includes'](_0x16654c['name'])&&_0x596e34['push']({'level':_0x426f07['indexOf'](_0x16654c['name'])+0x1,'text':b(_0x16654c),'modelElement':_0x16654c}),_0x289f08(_0x16654c));}return _0x596e34;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x120aee=this['editor']['conversion'];_0x120aee['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x120aee['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x219005,{writer:_0x512693})=>this['_createTableOfContents'](_0x512693,!0x0)}),_0x120aee['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x215b67,{writer:_0x17244f})=>(this['_tableOfContentsElements']['add'](_0x215b67),_0x28961e(this['_createTableOfContents'](_0x17244f),_0x17244f,{'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'](_0xde5008,_0xe38ee2=!0x1){const {locale:_0x131400}=this['editor'],_0xc2a5fe=_0xde5008['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0xe38ee2&&{'data-table-of-contents-label':L(_0x131400,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0xe38ee2&&_0xde5008['insert'](_0xde5008['createPositionAt'](_0xc2a5fe,'end'),_0xde5008['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0xde5008['createText'](L(_0x131400,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1245f6=_0xe38ee2?'':'['+L(_0x131400,'Empty\x20heading')+']';let _0x4eedde=_0xc2a5fe;return this['_currentOutlineDefinitions']['forEach']((_0x557686,_0x269ef9,_0x4e9f9b)=>{const _0x3757bf=this['editor']['model']['hasContent'](_0x557686['modelElement'],{'ignoreWhitespaces':!0x0}),_0x34ab39=_0x3757bf?_0x557686['text']:_0x1245f6,_0x139844=_0x557686['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x405386=_0xde5008['createContainerElement']('a',{'href':'#'+_0x139844,...!_0xe38ee2&&{'tabindex':'-1'}},[_0xde5008['createText'](_0x34ab39)]),_0x3b1714=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0xde5008['setCustomProperty']('tableOfContentsHeadingIndex',_0x269ef9,_0x405386);const _0x1b8ade=_0xde5008['createContainerElement']('li',null,[_0x3757bf||!_0xe38ee2&&_0x3b1714?_0x405386:_0xde5008['createText']('')]),_0x2b4415=_0x269ef9?_0x4e9f9b[_0x269ef9-0x1]['level']:0x0,_0x6e3822=Math['abs'](_0x557686['level']-_0x2b4415);if(_0x557686['level']>_0x2b4415){const _0x2e31c1=P(_0x1b8ade,_0x6e3822,_0xde5008);_0xde5008['insert'](_0xde5008['createPositionAt'](_0x4eedde,'end'),_0x2e31c1);}else{const _0x2410b1=function(_0x5d01ee,_0x275aab){return _0x5d01ee['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x3f9558=>_0x3f9558['is']('element','ol'))[_0x275aab];}(_0x4eedde,_0x6e3822);_0xde5008['insert'](_0xde5008['createPositionAt'](_0x2410b1,'end'),_0x1b8ade);}_0x4eedde=_0x1b8ade;}),_0xc2a5fe;}['_handleScrollToHeading'](_0x2df647){const _0x2ded38=this['_currentOutlineDefinitions'][_0x2df647]['modelElement'];this['editor']['model']['change'](_0x494f9c=>{_0x494f9c['setSelection'](_0x2ded38,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0xa9f255,_0x151c8e)=>{const _0x58118f=_0x151c8e['mapper'],_0x63b2ac=_0x58118f['findMappedViewAncestor'](_0x151c8e['viewPosition']),_0xc095b6=_0x58118f['toModelElement'](_0x63b2ac);_0xc095b6['is']('element','tableOfContents')&&(_0x151c8e['modelPosition']=this['editor']['model']['createPositionAt'](_0xc095b6,0x0),_0xa9f255['stop']());};}};function P(_0x45c801,_0x2f823c,_0x2a9e60){return 0x1===_0x2f823c?_0x2a9e60['createContainerElement']('ol',null,[_0x45c801]):_0x2a9e60['createContainerElement']('ol',null,[_0x2a9e60['createContainerElement']('li',null,[P(_0x45c801,_0x2f823c-0x1,_0x2a9e60)])]);}var U=class extends _0x54738c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x350f83=this['editor'];_0x350f83['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x1d82ba=this['_createButton'](_0x1df782);return _0x1d82ba['tooltip']=!0x0,_0x1d82ba;}),_0x350f83['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x41f35f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3fa9af=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ec04e;for(const _0x14ab9a in _0x3fa9af){const _0x503109=_0x14ab9a,_0x16a3f9=_0x3fa9af[_0x503109];if('tableOfContentsLicenseKeyValid'==_0x16a3f9||'tableOfContentsLicenseKeyInvalid'==_0x16a3f9||'tableOfContentsLicenseKeyExpired'==_0x16a3f9||'tableOfContentsLicenseKeyDomainLimit'==_0x16a3f9||'tableOfContentsLicenseKeyNotAllowed'==_0x16a3f9||'tableOfContentsLicenseKeyEvaluationLimit'==_0x16a3f9||'tableOfContentsLicenseKeyUsageLimit'==_0x16a3f9){delete _0x3fa9af[_0x503109],_0x5ec04e=_0x16a3f9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x5ec04e&&_0x3fa9af['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x5ec04e&&_0x3fa9af['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x5ec04e&&_0x3fa9af['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x5ec04e&&_0x3fa9af['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x5ec04e&&_0x3fa9af['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x5ec04e&&_0x3fa9af['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x51ecb9){const _0x5b85e3=this['editor'],_0xb3f4a3=_0x5b85e3['locale'],_0x47d451=_0x5b85e3['commands']['get']('insertTableOfContents'),_0x14b288=new _0x51ecb9(_0xb3f4a3);return _0x14b288['set']({'label':L(_0xb3f4a3,'Table\x20of\x20contents'),'icon':_0x101510}),_0x14b288['bind']('isEnabled')['to'](_0x47d451,'isEnabled'),this['listenTo'](_0x14b288,'execute',()=>{_0x5b85e3['execute']('insertTableOfContents'),_0x5b85e3['editing']['view']['focus']();}),_0x14b288;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x54738c{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 _0x5affaa,Plugin as _0x2f1508}from'@ckeditor/ckeditor5-core';import{debounce as _0x275443,throttle as _0x3f8f99}from'es-toolkit/compat';import{ModelText as _0x2b0de6,ModelTreeWalker as _0x2f616e}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x56ed34,Rect as _0x96492,diff as _0x3c8cce,diffToChanges as _0x2d1d5e,global as _0x8f95ef,priorities as _0x20cace,scrollAncestorsToShowTarget as _0x35e52d,uid as _0x2cf779}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x1b32d3,MenuBarMenuListItemButtonView as _0x20ce9b,View as _0x4b8222}from'@ckeditor/ckeditor5-ui';import{Widget as _0x23052d,toWidget as _0x52917e}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x6241f9}from'@ckeditor/ckeditor5-icons';function b(_0xd9d6f5){let _0x1e82f7='';for(const _0x4749f9 of _0xd9d6f5['getChildren']())_0x4749f9 instanceof _0x2b0de6&&(_0x1e82f7+=_0x4749f9['data']);return _0x1e82f7;}var I=class extends _0x2f1508{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0xe58c07=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x19f5fe=[];_0xe58c07['model']['document']['on']('change',_0x275443(()=>{const _0x292d26=_0x19f5fe;_0x19f5fe=this['_getOutlineDefinitions']();const _0x31d4a9=_0x2d1d5e(_0x3c8cce(_0x292d26,_0x19f5fe,(_0x27f65f,_0x487f83)=>_0x27f65f['level']===_0x487f83['level']&&_0x27f65f['text']===_0x487f83['text']&&_0x27f65f['modelElement']===_0x487f83['modelElement']),_0x19f5fe),_0x24d7ba=this['_getActiveHeading'](),_0x1f45dc=_0x19f5fe['findIndex'](_0x59acde=>_0x59acde['modelElement']===_0x24d7ba);_0x31d4a9['length']&&this['fire']('change',{'outlineDefinitions':_0x19f5fe,'activeItemIndex':_0x1f45dc,'outlineChanges':_0x31d4a9}),this['fire']('activeItemIndex',{'index':_0x1f45dc});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x23040f=this['editor'],_0xf30687=[],_0x66ec69=this['_headingNames'];for(const _0x139001 of _0x23040f['model']['document']['getRootNames']())_0x11c78c(_0x23040f['model']['document']['getRoot'](_0x139001));function _0x11c78c(_0x4a42c2){for(const _0x15aac2 of _0x4a42c2['getChildren']())_0x15aac2['is']('element')&&(_0x66ec69['includes'](_0x15aac2['name'])&&_0xf30687['push']({'level':_0x66ec69['indexOf'](_0x15aac2['name'])+0x1,'text':b(_0x15aac2),'modelElement':_0x15aac2}),_0x11c78c(_0x15aac2));}return _0xf30687;}['_getActiveHeading'](){const _0x2f5212=new _0x2f616e({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x1e1af5 of _0x2f5212)if(_0x1e1af5['item']['is']('element')&&this['_headingNames']['includes'](_0x1e1af5['item']['name']))return _0x1e1af5['item'];}['_getHeadingNames'](){const _0x3351ff=this['editor']['config']['get']('documentOutline.headings');return _0x3351ff||function(_0x51c373){const _0x7630ad=_0x51c373['config']['get']('heading.options');return _0x7630ad?_0x7630ad['reduce']((_0x46ff2c,_0x53a960)=>('paragraph'!==_0x53a960['model']&&_0x46ff2c['push'](_0x53a960['model']),_0x46ff2c),[]):_0x51c373['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x3e57a4=this['editor'],_0x25b6e4=['h1','h2','h3','h4','h5','h6'],_0x2aaf7c=[];for(const _0x5b5be9 of _0x25b6e4){const _0x4187f5=_0x3e57a4['editing']['view']['domConverter']['domToView'](document['createElement'](_0x5b5be9)),_0x575313=_0x3e57a4['data']['toModel'](_0x4187f5)['getChild'](0x0);_0x575313?.['is']('element')&&_0x2aaf7c['push'](_0x575313['name']);}this['_headingNames']=_0x2aaf7c;}};function L(_0x23940f,_0xb3dd97){const t=_0x23940f['t'];switch(_0xb3dd97){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 _0xb3dd97;}}var C=class extends _0x4b8222{constructor(_0x8366b2,_0x30bd78=!0x1){super(_0x8366b2);const _0x56aaa2=this['bindTemplate'],_0x3e913e=_0x30bd78?'['+L(_0x8366b2,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x3449c5=>!_0x3449c5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x56aaa2['to']('level',_0x430312=>'ck-document-outline__item_level-'+_0x430312),_0x56aaa2['if']('isActive','ck-document-outline__item_active'),_0x56aaa2['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x56aaa2['to']('text')},'children':[{'text':_0x56aaa2['to']('text',_0xdef572=>_0xdef572||_0x3e913e)}],'on':{'click':_0x56aaa2['to']('click')}});}},_=class extends _0x4b8222{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x29b0cf,_0x3815fe=!0x1,_0x32ca3a){super(_0x29b0cf),this['showEmptyHeadingText']=_0x3815fe,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x32ca3a,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x2905e4,_0x35a5ad,_0x2d8a21,_0x453301)=>{this['_setActiveItem'](_0x453301,_0x2d8a21);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x29b0cf['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x29b0cf,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x4bdf8f){_0x4bdf8f['forEach'](_0x57d138=>{'insert'==_0x57d138['type']?this['_insertItem'](_0x57d138['index'],..._0x57d138['values']):'delete'==_0x57d138['type']&&this['_deleteItem'](_0x57d138['index'],_0x57d138['howMany']);});}['_setActiveItem'](_0x460cc3,_0x4086e7){if(-0x1!==_0x460cc3){const _0x5dd296=this['items']['get'](_0x460cc3);_0x5dd296&&(_0x5dd296['isActive']=!0x1);}-0x1!==_0x4086e7&&(this['items']['get'](_0x4086e7)['isActive']=!0x0,this['_scrollToItem'](_0x4086e7));}['_insertItem'](_0x1ecc88,..._0x1b53ef){const _0x4e7edc=_0x1b53ef['map']((_0x556a74,_0x5f3df8)=>{const _0x4037ce=new C(this['locale'],this['showEmptyHeadingText']);return _0x4037ce['text']=_0x556a74['text'],_0x4037ce['level']=_0x556a74['level'],_0x1ecc88+_0x5f3df8===this['activeItemIndex']&&(_0x4037ce['isActive']=!0x0),_0x4037ce;});this['items']['addMany'](_0x4e7edc,_0x1ecc88);}['_deleteItem'](_0x47b264,_0x511c7c){do{this['items']['remove'](_0x47b264);}while(--_0x511c7c);}['_handleItemClick'](_0x462645){const _0x4ae0df=this['items']['getIndex'](_0x462645['source']);this['fire']('itemSelected',_0x4ae0df);}['_scrollToItem'](_0x306a5e){_0x35e52d(this['items']['get'](_0x306a5e)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x2f1508{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x35dc26){super(_0x35dc26),this['view']=new _(_0x35dc26['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x3f8f99(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0xec4d78=this['editor'],_0x53bafb=_0xec4d78['plugins']['get']('DocumentOutlineUtils');let _0x229a5d=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0xec4d78['config']['get']('documentOutline.container'))throw new _0x56ed34('document-outline-container-not-provided',{'editor':_0xec4d78});_0xec4d78['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x53bafb['on']('change',this['_handleOutlineChange']['bind'](this)),_0x53bafb['on']('activeItemIndex',(_0x216575,{index:_0x4d5da7})=>this['_setActiveViewItem'](_0x4d5da7)),this['view']['on']('itemSelected',(_0x53c38b,_0x2af015)=>{_0x229a5d=!0x0,this['_handleItemSelected'](_0x2af015);}),this['view']['listenTo'](_0x8f95ef['document'],'scroll',()=>{_0x229a5d?_0x229a5d=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x8f95ef['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x3275e7){const _0x1492d2='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x393a53=0x78fa8,_0x131747=window['Date']['now'](),_0x1e0d52=_0x3275e7['editor'],_0x15e7e9=new window['Promise'](_0x4d75f8=>{_0x1e0d52['once']('ready',_0x4d75f8);}),_0x328883={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3c8ba1=_0x1e0d52['config']['get']('licenseKey');async function _0x150297(){let _0x36567d,_0x4d9d0c=null,_0x4348fe=null;try{return'GPL'==_0x3c8ba1?'NotAllowed':(_0x36567d=_0x50a35f(),_0x36567d?(_0x36567d['usageEndpoint']&&(_0x4348fe=_0x5a7d50(_0x36567d['usageEndpoint'],_0x36567d['jti'])),await _0x52362a()?_0x3afd79()?_0x2dde0a()?'Expired':_0x211b7d()?('evaluation'==_0x36567d['licenseType']&&(_0x4d9d0c=_0x3808a9('EvaluationLimit')),await _0x295512()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2dde0a(){const _0x15b0cf=['evaluation','trial']['includes'](_0x36567d['licenseType'])?_0x131747/0x3e8:0xe10*_0x393a53;return _0x36567d['exp']<_0x15b0cf;}function _0x3afd79(){const _0x477ae0=_0x36567d['features'];return!!_0x477ae0&&(!!_0x477ae0['includes']('*')||(!!_0x477ae0['includes']('DO')||(!!_0x477ae0['includes']('PP')||!(!_0x477ae0['includes']('TRILIUM')||!_0x35c73a()))));}function _0x211b7d(){const _0x3a3a1e=_0x36567d['licensedHosts'];if(!_0x3a3a1e||0x0==_0x3a3a1e['length'])return!0x0;const {hostname:_0x15b621}=new URL(window['location']['href']);if(_0x3a3a1e['includes'](_0x15b621))return!0x0;const _0x910256=_0x15b621['split']('.');return _0x3a3a1e['filter'](_0x890950=>_0x890950['includes']('*'))['map'](_0x27f85e=>_0x27f85e['split']('.'))['filter'](_0x463c5b=>_0x463c5b['length']<=_0x910256['length'])['map'](_0x3dd429=>Array(_0x910256['length']-_0x3dd429['length'])['fill']('*'===_0x3dd429[0x0]?'*':'')['concat'](_0x3dd429))['some'](_0xe3d8f5=>_0x910256['every']((_0x191b64,_0x203197)=>_0xe3d8f5[_0x203197]===_0x191b64||'*'===_0xe3d8f5[_0x203197]));}function _0x295512(){return _0x4d9d0c&&_0x4348fe?new window['Promise']((_0x2c5879,_0x228b33)=>{_0x4d9d0c['then'](_0x2c5879,_0x228b33),_0x4348fe['then'](_0xd0a4f6=>{'Valid'!=_0xd0a4f6&&_0x2c5879(_0xd0a4f6);},_0x228b33);}):_0x4d9d0c||_0x4348fe||'Valid';}}function _0x5a7d50(_0x12e362,_0x52dfd3){return new window['Promise'](_0x2e194f=>{if(_0x5e05fa())return _0x2e194f('Valid');_0x2a9020(),_0x1e0d52['decorate']('_sendUsageRequest');let _0x509398=!0x1;const _0x2d7508=_0x2cf779();function _0xb3d519(_0x54d0d7){return!!_0x54d0d7&&('object'==typeof _0x54d0d7||'function'==typeof _0x54d0d7)&&'function'==typeof _0x54d0d7['then']&&'function'==typeof _0x54d0d7['catch'];}function _0x44299c(_0x3c44aa){_0x3e0bdd(_0x3c44aa)['then'](_0x246d75=>_0x246d75&&'ok'==_0x246d75['status']?_0x502de5(_0xe32835(_0x2d7508+_0x52dfd3))!=_0x246d75['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5ec855=>(_0x5378e9(),_0x5ec855),()=>{const _0x205ae1=_0x413c93();return null==_0x205ae1?(_0x5378e9(),'Valid'):_0x131747-_0x205ae1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2e194f)['catch'](()=>{_0x2e194f('UsageLimit');});const _0x117610=0x36ee80;function _0x5378e9(){const _0x127b8e='llct-'+_0x502de5(_0xe32835(_0x12e362)),_0x258c81=_0x241619(_0x502de5(window['Math']['ceil'](_0x131747/_0x117610)));window['localStorage']['setItem'](_0x127b8e,_0x258c81);}function _0x413c93(){const _0x9e4195='llct-'+_0x502de5(_0xe32835(_0x12e362)),_0x4656bf=window['localStorage']['getItem'](_0x9e4195);return _0x4656bf?window['parseInt'](_0x241619(_0x4656bf),0x10)*_0x117610:null;}function _0x3e0bdd(_0xed9738){return new window['Promise']((_0x1e5c06,_0x541fa0)=>{_0xed9738['then'](_0x1e5c06,_0x541fa0),window['setTimeout'](_0x541fa0,0x1d4c0);});}}_0x1e0d52['on']('_sendUsageRequest',(_0x2f88e4,_0x32f9af)=>{if(_0x32f9af[0x0]!=_0x12e362)return _0x2e194f('UsageLimit');_0x32f9af[0x1]={..._0x32f9af[0x1],'requestId':_0x2d7508};},{'priority':'high'}),_0x1e0d52['on']('_sendUsageRequest',_0x1a1804=>{_0xb3d519(_0x1a1804['return'])&&(_0x509398=!0x0,_0x44299c(_0x1a1804['return']));},{'priority':'low'}),_0x15e7e9['then'](()=>{_0x509398||_0x2e194f('UsageLimit');});});function _0x5e05fa(){return'auto'==_0x1e0d52['editing']['view']['_overlayModeHint'];}function _0x2a9020(){_0x1e0d52['editing']['view']['_overlayModeHint']='auto';}}function _0x3808a9(_0x240a02){const _0x1bf926=[new window['Promise'](_0x517d71=>setTimeout(_0x517d71,0x93ecc)),_0x15e7e9['then'](()=>new window['Promise'](_0x1988fe=>{let _0x5d37fd=0x0;_0x1e0d52['model']['on']('applyOperation',(_0x130711,_0x4122f5)=>{_0x4122f5[0x0]['isDocumentOperation']&&_0x5d37fd++,0x5e8==_0x5d37fd&&(_0x1988fe(),_0x130711['off']());});}))];return window['Promise']['race'](_0x1bf926)['then'](()=>_0x240a02);}async function _0x12fc4b(){await _0x15e7e9,_0x1e0d52['model']['change']=_0x5c3edc,_0x1e0d52['model']['enqueueChange']=_0x5c3edc,_0x1e0d52['enableReadOnlyMode']('model');}function _0x35c73a(){return window['glob']&&window['glob']['triliumVersion'];}function _0x339198(_0x306f72){const _0x333d0e=_0x17d073();_0x1e0d52[_0x333d0e]='documentOutlineLicenseKey'+_0x306f72,'Valid'!=_0x306f72&&_0x12fc4b();}function _0x17d073(){const _0x27f557=window['String'](window['performance']['now']())['replace']('.','');let _0x6f05f3='a';for(let _0x109b08=0x0;_0x109b08<_0x27f557['length'];_0x109b08+=0x2){let _0x59387c=window['parseInt'](_0x27f557['substring'](_0x109b08,_0x109b08+0x2));_0x59387c>=0x3e&&(_0x59387c-=0x3e),_0x6f05f3+=_0x1492d2[_0x59387c];}return _0x6f05f3;}function _0x50a35f(){const _0x3f9a03=_0x3c8ba1['split']('.');if(0x3!=_0x3f9a03['length'])return null;return _0x5783e2(_0x3f9a03[0x1]);function _0x5783e2(_0x54ae0b){const _0x503b20=_0x56b1f4(_0x54ae0b);return _0x503b20&&_0x1164c6()?_0x503b20:null;function _0x1164c6(){const _0x28056d=_0x503b20['jti'],_0x4e7531=window['parseInt'](_0x28056d['substring'](_0x28056d['length']-0x8),0x10),_0x11d521={..._0x503b20,'jti':_0x28056d['substring'](0x0,_0x28056d['length']-0x8)};return delete _0x11d521['vc'],_0xe32835(_0x11d521)==_0x4e7531;}}}async function _0x52362a(){let _0xda0919=!0x0;try{const [_0x16dbd9,_0xa66326,_0x886576]=_0x3c8ba1['split']('.');return _0x5daf39(_0x16dbd9),await _0x259467(_0x16dbd9,_0xa66326,_0x886576),_0xda0919;}catch{return!0x1;}function _0x5daf39(_0x131853){const _0x2cba8b=_0x56b1f4(_0x131853);_0x2cba8b&&'ES256'==_0x2cba8b['alg']||(_0xda0919=!0x1);}async function _0x259467(_0x73f6c8,_0x2361a2,_0x38e600){const _0x3e54a3=window['Uint8Array']['from'](_0x1a80ac(_0x38e600),_0xdafc53=>_0xdafc53['charCodeAt'](0x0)),_0x457518=new window['TextEncoder']()['encode'](_0x73f6c8+'.'+_0x2361a2),_0x5e1208=window['crypto']['subtle'];if(!_0x5e1208)return;const _0x365a28=await _0x5e1208['importKey']('jwk',_0x328883,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5e1208['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x365a28,_0x3e54a3,_0x457518)||(_0xda0919=!0x1);}}function _0x56b1f4(_0x2e73c1){return _0x2e73c1['startsWith']('ey')?JSON['parse'](_0x1a80ac(_0x2e73c1)):null;}function _0x1a80ac(_0x4663c2){return window['atob'](_0x4663c2['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xe32835(_0x2786cf){let _0x4eb07f=0x1505;function _0x5b569b(_0x3851ea){for(let _0x12d22e=0x0;_0x12d22e<_0x3851ea['length'];_0x12d22e++){const _0x232bbf=_0x3851ea['charCodeAt'](_0x12d22e);_0x4eb07f=(_0x4eb07f<<0x5)+_0x4eb07f+_0x232bbf,_0x4eb07f&=_0x4eb07f;}}function _0x30bda8(_0x16b209){Array['isArray'](_0x16b209)?_0x16b209['forEach'](_0x30bda8):_0x16b209&&'object'==typeof _0x16b209?Object['entries'](_0x16b209)['sort']()['forEach'](([_0x4b3b4e,_0x223dec])=>{_0x5b569b(_0x4b3b4e),_0x30bda8(_0x223dec);}):_0x5b569b(window['String'](_0x16b209));}return _0x30bda8(_0x2786cf),_0x4eb07f>>>0x0;}function _0x502de5(_0x1300be){return _0x1300be['toString'](0x10)['padStart'](0x8,'0');}function _0x241619(_0x2a6681){return _0x2a6681['split']('')['reverse']()['join']('');}function _0x5c3edc(){}_0x339198(await _0x150297());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x379005,{outlineDefinitions:_0x573268,outlineChanges:_0x23d532}){this['_currentOutlineDefinitions']=_0x573268,this['view']['sync'](_0x23d532);}['_setActiveViewItem'](_0x4e4690){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x4e4690]&&(this['view']['activeItemIndex']=_0x4e4690);}['_handleItemSelected'](_0x129d26){const _0x453b09=this['_currentOutlineDefinitions'][_0x129d26]['modelElement'];this['editor']['model']['change'](_0x56ade1=>{_0x56ade1['setSelection'](_0x453b09,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x129d26);}['_updateActiveDefinitionOnViewportChange'](){const _0x2b48a6=this['editor'];let _0x28479e;for(const _0x2b2c85 of _0x2b48a6['model']['document']['getRootNames']()){const _0x54355a=_0x2b48a6['editing']['view']['getDomRoot'](_0x2b2c85),_0x4ff7d6=_0x54355a&&new _0x96492(_0x54355a)['getVisible']();if(_0x4ff7d6){const _0x80ad12=new _0x96492(_0x8f95ef['window'])['getIntersection'](_0x4ff7d6);_0x80ad12&&(_0x28479e=_0x80ad12['top']+0.25*_0x80ad12['height']);}}if(void 0x0===_0x28479e)return;const _0x467025=k(_0x2b48a6['editing'],this['_currentOutlineDefinitions'],_0x28479e);_0x467025?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x467025)):this['_setActiveViewItem'](-0x1);}};function k(_0x3dbe75,_0x45b146,_0x41f97f,_0x1c0807=0x0,_0x45245b=_0x45b146['length']-0x1){const _0x43716c=Math['floor'](_0x1c0807+(_0x45245b-_0x1c0807)/0x2);if(_0x45245b>=_0x1c0807){const _0x1d41e9=_0x45b146[_0x43716c],_0x5bcf81=_0x3dbe75['mapper']['toViewElement'](_0x1d41e9['modelElement']);return _0x5bcf81?new _0x96492(_0x3dbe75['view']['domConverter']['mapViewToDom'](_0x5bcf81))['bottom']>_0x41f97f?k(_0x3dbe75,_0x45b146,_0x41f97f,_0x1c0807,_0x43716c-0x1):k(_0x3dbe75,_0x45b146,_0x41f97f,_0x43716c+0x1,_0x45245b):null;}return _0x43716c<0x0?null:_0x45b146[_0x43716c];}var E=class extends _0x2f1508{['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 _0x7201ab=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24db6b;for(const _0x4d8037 in _0x7201ab){const _0x50896a=_0x4d8037,_0x57ac63=_0x7201ab[_0x50896a];if('documentOutlineLicenseKeyValid'==_0x57ac63||'documentOutlineLicenseKeyInvalid'==_0x57ac63||'documentOutlineLicenseKeyExpired'==_0x57ac63||'documentOutlineLicenseKeyDomainLimit'==_0x57ac63||'documentOutlineLicenseKeyNotAllowed'==_0x57ac63||'documentOutlineLicenseKeyEvaluationLimit'==_0x57ac63||'documentOutlineLicenseKeyUsageLimit'==_0x57ac63){delete _0x7201ab[_0x50896a],_0x24db6b=_0x57ac63,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x24db6b&&_0x7201ab['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x24db6b&&_0x7201ab['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x24db6b&&_0x7201ab['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x24db6b&&_0x7201ab['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x24db6b&&_0x7201ab['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x24db6b&&_0x7201ab['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x5affaa{['execute'](){this['editor']['model']['change'](_0x3c4003=>{this['editor']['model']['insertObject'](_0x3c4003['createElement']('tableOfContents'));});}['refresh'](){const _0x19ce09=this['editor']['model'],_0x55da69=_0x19ce09['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x55da69&&_0x19ce09['schema']['findAllowedParent'](_0x55da69,'tableOfContents'));}},A=class extends _0x2f1508{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x577497=this['editor'];if(_0x577497['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x5d16d5,modelNames:_0x59b326}=function(_0x38c916){const _0x3e0d69=new Set(),_0x5aaf53=new Set();if(!_0x38c916)return{'viewNames':_0x3e0d69,'modelNames':_0x5aaf53};for(const _0x38e807 of _0x38c916){if('paragraph'===_0x38e807['model'])continue;const _0x188cd7='string'==typeof _0x38e807['view']?_0x38e807['view']:_0x38e807['view']['name'];_0x3e0d69['add'](_0x188cd7),_0x5aaf53['add'](_0x38e807['model']);}return _0x3e0d69['has']('h1')||(_0x3e0d69['add']('h1'),_0x5aaf53['add']('heading1')),{'viewNames':_0x3e0d69,'modelNames':_0x5aaf53};}(this['editor']['config']['get']('heading.options'));for(const _0x224a73 of _0x5d16d5)this['_customUpcastHeadingsConversion'](_0x224a73);for(const _0xe6fff9 of _0x59b326)this['_customDataDowncastHeadingsConversion'](_0xe6fff9),_0x577497['model']['schema']['isRegistered'](_0xe6fff9)&&_0x577497['model']['schema']['extend'](_0xe6fff9,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x59b326);}['_customUpcastHeadingsConversion'](_0x597e79){this['editor']['conversion']['for']('upcast')['add'](_0x353f4e=>_0x353f4e['on']('element:'+_0x597e79,(_0x43f7ad,_0xbd667b,_0x3c4957)=>{const {consumable:_0x44cda6,writer:_0x4ca58b}=_0x3c4957,_0x29b100=_0xbd667b['viewItem']['getAttribute']('id'),_0x5e5c79=_0xbd667b['modelRange']?.['getContainedElement']();if(_0x5e5c79)return _0x29b100&&_0x29b100['length']||_0x5e5c79['hasAttribute']('headingId')?void(_0x44cda6['consume'](_0xbd667b['viewItem'],{'attributes':['id']})&&_0x4ca58b['setAttribute']('headingId',_0x29b100,_0x5e5c79)):(_0x44cda6['consume'](_0xbd667b['viewItem'],{'attributes':['id']}),void _0x4ca58b['setAttribute']('headingId',_0x2cf779(),_0x5e5c79));},{'priority':_0x20cace['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x5bf003){this['editor']['conversion']['for']('downcast')['add'](_0x190341=>_0x190341['on']('attribute:headingId:'+_0x5bf003,(_0x43ea46,_0x47db9b,_0x5920af)=>{if(!_0x5920af['consumable']['consume'](_0x47db9b['item'],_0x43ea46['name']))return;const _0x59a229=_0x47db9b['item']['getAttribute']('headingId'),_0xe188b5=_0x5920af['mapper']['toViewElement'](_0x47db9b['item']);_0x5920af['writer']['setAttribute']('id',_0x59a229,_0xe188b5);}));}['_registerHeadingIdAttributePostfixer'](_0x3ad057){const _0x2bc646=this['editor'],_0x383a26=new Set(),_0xea0fce=new Set();function _0x28911a(_0x5ceaf9,_0x30a487){const _0x1793fd=_0x2cf779();return _0xea0fce['add'](_0x1793fd),_0x5ceaf9['setAttribute']('headingId',_0x1793fd,_0x30a487),_0x1793fd;}function _0x2db165(_0x25454d,_0x3dee61){_0x25454d['removeAttribute']('headingId',_0x3dee61);}_0x2bc646['model']['document']['registerPostFixer'](_0x4af9dd=>{const _0x30b997=_0x2bc646['model']['document']['differ']['getChanges']();let _0x314e93=!0x1;for(const _0x27caf9 of _0x30b997)if('insert'==_0x27caf9['type']&&_0x27caf9['name']){if(_0x3ad057['has'](_0x27caf9['name'])){const _0x593187=_0x27caf9['attributes']['get']('headingId');'string'==typeof _0x593187?_0x383a26['has'](_0x593187)?(_0x28911a(_0x4af9dd,_0x27caf9['position']['nodeAfter']),_0x314e93=!0x0):_0xea0fce['add'](_0x593187):(_0x28911a(_0x4af9dd,_0x27caf9['position']['nodeAfter']),_0x314e93=!0x0);}else'string'==typeof _0x27caf9['attributes']['get']('headingId')&&(_0x2db165(_0x4af9dd,_0x27caf9['position']['nodeAfter']),_0x314e93=!0x0);}else{if('remove'==_0x27caf9['type']){const _0x5b93d2=_0x27caf9['attributes']['get']('headingId');'string'==typeof _0x5b93d2&&_0x383a26['delete'](_0x5b93d2);}}return _0x314e93;}),_0x2bc646['model']['document']['on']('change',()=>{_0xea0fce['forEach'](_0x53d97b=>_0x383a26['add'](_0x53d97b)),_0xea0fce['clear']();});}},N=class extends _0x2f1508{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x23052d,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x3c499c){super(_0x3c499c),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x50470d=this['editor'],_0x4a0e5c=_0x50470d['editing']['view']['document'];_0x50470d['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x50470d['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x4a0e5c,'click',(_0x2d0e75,_0xbc531e)=>{if(!_0xbc531e['target'])return;const _0x2586e1=_0xbc531e['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x2586e1)&&(_0xbc531e['domEvent']['preventDefault'](),_0x2d0e75['stop'](),this['_handleScrollToHeading'](_0x2586e1));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x50470d['commands']['add']('insertTableOfContents',new K(_0x50470d));const _0x8b523c=_0x50470d['config']['get']('tableOfContents.headings');_0x8b523c&&_0x8b523c['length']?this['listenTo'](_0x50470d['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x8b523c),this['_updateTableOfContentsElements']();}):_0x50470d['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x42e940,_0x74609a)=>{this['_currentOutlineDefinitions']=_0x74609a['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x50470d['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x34b279){const _0x240161='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x10d0a4=0x78fa8,_0x1595b7=window['Date']['now'](),_0x454358=_0x34b279['editor'],_0x3c2bc4=new window['Promise'](_0x1340da=>{_0x454358['once']('ready',_0x1340da);}),_0x48e0b9={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x6e82c6=_0x454358['config']['get']('licenseKey');async function _0x58489a(){let _0x5b2800,_0x1732f7=null,_0x3f7023=null;try{return'GPL'==_0x6e82c6?'NotAllowed':(_0x5b2800=_0xe4d404(),_0x5b2800?(_0x5b2800['usageEndpoint']&&(_0x3f7023=_0xf9e881(_0x5b2800['usageEndpoint'],_0x5b2800['jti'])),await _0x52b6b9()?_0x399a16()?_0x508543()?'Expired':_0x27dec1()?('evaluation'==_0x5b2800['licenseType']&&(_0x1732f7=_0xfacbfc('EvaluationLimit')),await _0x5dfd90()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x508543(){const _0x5b77ea=['evaluation','trial']['includes'](_0x5b2800['licenseType'])?_0x1595b7/0x3e8:0xe10*_0x10d0a4;return _0x5b2800['exp']<_0x5b77ea;}function _0x399a16(){const _0x5069cb=_0x5b2800['features'];return!!_0x5069cb&&(!!_0x5069cb['includes']('*')||(!!_0x5069cb['includes']('TOC')||(!!_0x5069cb['includes']('PP')||!(!_0x5069cb['includes']('TRILIUM')||!_0x57dec6()))));}function _0x27dec1(){const _0x4b5e6e=_0x5b2800['licensedHosts'];if(!_0x4b5e6e||0x0==_0x4b5e6e['length'])return!0x0;const {hostname:_0x36fb40}=new URL(window['location']['href']);if(_0x4b5e6e['includes'](_0x36fb40))return!0x0;const _0xe10b77=_0x36fb40['split']('.');return _0x4b5e6e['filter'](_0x3aec4e=>_0x3aec4e['includes']('*'))['map'](_0xa5a67=>_0xa5a67['split']('.'))['filter'](_0x1156af=>_0x1156af['length']<=_0xe10b77['length'])['map'](_0x210dcb=>Array(_0xe10b77['length']-_0x210dcb['length'])['fill']('*'===_0x210dcb[0x0]?'*':'')['concat'](_0x210dcb))['some'](_0x1c6dda=>_0xe10b77['every']((_0xe5f140,_0x1dd14f)=>_0x1c6dda[_0x1dd14f]===_0xe5f140||'*'===_0x1c6dda[_0x1dd14f]));}function _0x5dfd90(){return _0x1732f7&&_0x3f7023?new window['Promise']((_0x56c9c7,_0x54c6d4)=>{_0x1732f7['then'](_0x56c9c7,_0x54c6d4),_0x3f7023['then'](_0x50c853=>{'Valid'!=_0x50c853&&_0x56c9c7(_0x50c853);},_0x54c6d4);}):_0x1732f7||_0x3f7023||'Valid';}}function _0xf9e881(_0x4c3566,_0x2c420c){return new window['Promise'](_0x410238=>{if(_0x54eb5c())return _0x410238('Valid');_0x5d888f(),_0x454358['decorate']('_sendUsageRequest');let _0x2edf22=!0x1;const _0x4bcbb9=_0x2cf779();function _0x218785(_0xec9a05){return!!_0xec9a05&&('object'==typeof _0xec9a05||'function'==typeof _0xec9a05)&&'function'==typeof _0xec9a05['then']&&'function'==typeof _0xec9a05['catch'];}function _0x354716(_0x4a987f){_0x4e9950(_0x4a987f)['then'](_0x84ea96=>_0x84ea96&&'ok'==_0x84ea96['status']?_0x5e4a7a(_0x1b7af2(_0x4bcbb9+_0x2c420c))!=_0x84ea96['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x38608e=>(_0x350972(),_0x38608e),()=>{const _0x2a5d1b=_0xa807d3();return null==_0x2a5d1b?(_0x350972(),'Valid'):_0x1595b7-_0x2a5d1b>0x240c8400?'UsageLimit':'Valid';})['then'](_0x410238)['catch'](()=>{_0x410238('UsageLimit');});const _0x4df7ce=0x36ee80;function _0x350972(){const _0x579cb7='llct-'+_0x5e4a7a(_0x1b7af2(_0x4c3566)),_0x1e984a=_0x41928a(_0x5e4a7a(window['Math']['ceil'](_0x1595b7/_0x4df7ce)));window['localStorage']['setItem'](_0x579cb7,_0x1e984a);}function _0xa807d3(){const _0x3f4459='llct-'+_0x5e4a7a(_0x1b7af2(_0x4c3566)),_0x6bd778=window['localStorage']['getItem'](_0x3f4459);return _0x6bd778?window['parseInt'](_0x41928a(_0x6bd778),0x10)*_0x4df7ce:null;}function _0x4e9950(_0x42ad29){return new window['Promise']((_0x9d1f01,_0x513e90)=>{_0x42ad29['then'](_0x9d1f01,_0x513e90),window['setTimeout'](_0x513e90,0x1d4c0);});}}_0x454358['on']('_sendUsageRequest',(_0x2f9465,_0x3ccc84)=>{if(_0x3ccc84[0x0]!=_0x4c3566)return _0x410238('UsageLimit');_0x3ccc84[0x1]={..._0x3ccc84[0x1],'requestId':_0x4bcbb9};},{'priority':'high'}),_0x454358['on']('_sendUsageRequest',_0x44ff69=>{_0x218785(_0x44ff69['return'])&&(_0x2edf22=!0x0,_0x354716(_0x44ff69['return']));},{'priority':'low'}),_0x3c2bc4['then'](()=>{_0x2edf22||_0x410238('UsageLimit');});});function _0x54eb5c(){return'auto'==_0x454358['editing']['view']['_overlayModeHint'];}function _0x5d888f(){_0x454358['editing']['view']['_overlayModeHint']='auto';}}function _0xfacbfc(_0x3a52a1){const _0x1e7008=[new window['Promise'](_0x266c47=>setTimeout(_0x266c47,0x93ecc)),_0x3c2bc4['then'](()=>new window['Promise'](_0x5cd787=>{let _0x133dad=0x0;_0x454358['model']['on']('applyOperation',(_0x46076f,_0x3c0c1d)=>{_0x3c0c1d[0x0]['isDocumentOperation']&&_0x133dad++,0x5e8==_0x133dad&&(_0x5cd787(),_0x46076f['off']());});}))];return window['Promise']['race'](_0x1e7008)['then'](()=>_0x3a52a1);}async function _0x527768(){await _0x3c2bc4,_0x454358['model']['change']=_0x57fdb3,_0x454358['model']['enqueueChange']=_0x57fdb3,_0x454358['enableReadOnlyMode']('model');}function _0x57dec6(){return window['glob']&&window['glob']['triliumVersion'];}function _0x35d5d6(_0x366515){const _0x471099=_0x13684b();_0x454358[_0x471099]='tableOfContentsLicenseKey'+_0x366515,'Valid'!=_0x366515&&_0x527768();}function _0x13684b(){const _0x3e418a=window['String'](window['performance']['now']())['replace']('.','');let _0x502575='m';for(let _0x46ee8f=0x0;_0x46ee8f<_0x3e418a['length'];_0x46ee8f+=0x2){let _0x4c7b8c=window['parseInt'](_0x3e418a['substring'](_0x46ee8f,_0x46ee8f+0x2));_0x4c7b8c>=0x3e&&(_0x4c7b8c-=0x3e),_0x502575+=_0x240161[_0x4c7b8c];}return _0x502575;}function _0xe4d404(){const _0x3d4f6d=_0x6e82c6['split']('.');if(0x3!=_0x3d4f6d['length'])return null;return _0xa166c1(_0x3d4f6d[0x1]);function _0xa166c1(_0x20de3f){const _0xc67bd8=_0x5161f2(_0x20de3f);return _0xc67bd8&&_0x2b433e()?_0xc67bd8:null;function _0x2b433e(){const _0x56d73c=_0xc67bd8['jti'],_0x3deee8=window['parseInt'](_0x56d73c['substring'](_0x56d73c['length']-0x8),0x10),_0x2a3a46={..._0xc67bd8,'jti':_0x56d73c['substring'](0x0,_0x56d73c['length']-0x8)};return delete _0x2a3a46['vc'],_0x1b7af2(_0x2a3a46)==_0x3deee8;}}}async function _0x52b6b9(){let _0x399468=!0x0;try{const [_0x142625,_0x15351c,_0x1e35f0]=_0x6e82c6['split']('.');return _0x436f60(_0x142625),await _0x9b7bc3(_0x142625,_0x15351c,_0x1e35f0),_0x399468;}catch{return!0x1;}function _0x436f60(_0x3b3846){const _0x3e81d1=_0x5161f2(_0x3b3846);_0x3e81d1&&'ES256'==_0x3e81d1['alg']||(_0x399468=!0x1);}async function _0x9b7bc3(_0x58545f,_0x34bc21,_0x4fa8bf){const _0x2b42f4=window['Uint8Array']['from'](_0x6495a2(_0x4fa8bf),_0x42b899=>_0x42b899['charCodeAt'](0x0)),_0x11cf56=new window['TextEncoder']()['encode'](_0x58545f+'.'+_0x34bc21),_0x50402a=window['crypto']['subtle'];if(!_0x50402a)return;const _0x793a91=await _0x50402a['importKey']('jwk',_0x48e0b9,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x50402a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x793a91,_0x2b42f4,_0x11cf56)||(_0x399468=!0x1);}}function _0x5161f2(_0x29cbf3){return _0x29cbf3['startsWith']('ey')?JSON['parse'](_0x6495a2(_0x29cbf3)):null;}function _0x6495a2(_0x33bce0){return window['atob'](_0x33bce0['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1b7af2(_0x594462){let _0x28f8dd=0x1505;function _0x3adf91(_0x320855){for(let _0x111d1c=0x0;_0x111d1c<_0x320855['length'];_0x111d1c++){const _0x80d019=_0x320855['charCodeAt'](_0x111d1c);_0x28f8dd=(_0x28f8dd<<0x5)+_0x28f8dd+_0x80d019,_0x28f8dd&=_0x28f8dd;}}function _0x2be125(_0x276cad){Array['isArray'](_0x276cad)?_0x276cad['forEach'](_0x2be125):_0x276cad&&'object'==typeof _0x276cad?Object['entries'](_0x276cad)['sort']()['forEach'](([_0x3bfe0d,_0x191f5e])=>{_0x3adf91(_0x3bfe0d),_0x2be125(_0x191f5e);}):_0x3adf91(window['String'](_0x276cad));}return _0x2be125(_0x594462),_0x28f8dd>>>0x0;}function _0x5e4a7a(_0x14b99e){return _0x14b99e['toString'](0x10)['padStart'](0x8,'0');}function _0x41928a(_0x29fdd0){return _0x29fdd0['split']('')['reverse']()['join']('');}function _0x57fdb3(){}_0x35d5d6(await _0x58489a());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x10261a=>{'$graveyard'!==_0x10261a['rootName']&&this['editor']['editing']['reconvertItem'](_0x10261a);});}['_trackNewToCElements'](){for(const _0x4251cc of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4251cc['type']||'tableOfContents'!==_0x4251cc['name'])return;this['_tableOfContentsElements']['add'](_0x4251cc['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x37a454){const _0x569eac=this['editor'],_0x293bd7=[];for(const _0x491979 of _0x569eac['model']['document']['getRootNames']())_0x1cedc5(_0x569eac['model']['document']['getRoot'](_0x491979));function _0x1cedc5(_0x3cd4f6){for(const _0x165307 of _0x3cd4f6['getChildren']())_0x165307['is']('element')&&(_0x37a454['includes'](_0x165307['name'])&&_0x293bd7['push']({'level':_0x37a454['indexOf'](_0x165307['name'])+0x1,'text':b(_0x165307),'modelElement':_0x165307}),_0x1cedc5(_0x165307));}return _0x293bd7;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x5cbd82=this['editor']['conversion'];_0x5cbd82['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x5cbd82['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3964f8,{writer:_0x3abea1})=>this['_createTableOfContents'](_0x3abea1,!0x0)}),_0x5cbd82['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2c58ae,{writer:_0x160328})=>(this['_tableOfContentsElements']['add'](_0x2c58ae),_0x52917e(this['_createTableOfContents'](_0x160328),_0x160328,{'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'](_0x506e3b,_0x4a4724=!0x1){const {locale:_0x5d8be5}=this['editor'],_0x3b0914=_0x506e3b['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x4a4724&&{'data-table-of-contents-label':L(_0x5d8be5,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x4a4724&&_0x506e3b['insert'](_0x506e3b['createPositionAt'](_0x3b0914,'end'),_0x506e3b['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x506e3b['createText'](L(_0x5d8be5,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x31fce9=_0x4a4724?'':'['+L(_0x5d8be5,'Empty\x20heading')+']';let _0x3f9f76=_0x3b0914;return this['_currentOutlineDefinitions']['forEach']((_0x27954a,_0x3d3088,_0x5e43ec)=>{const _0x2e3cab=this['editor']['model']['hasContent'](_0x27954a['modelElement'],{'ignoreWhitespaces':!0x0}),_0x510797=_0x2e3cab?_0x27954a['text']:_0x31fce9,_0x73c643=_0x27954a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x59b8c6=_0x506e3b['createContainerElement']('a',{'href':'#'+_0x73c643,...!_0x4a4724&&{'tabindex':'-1'}},[_0x506e3b['createText'](_0x510797)]),_0x10ae69=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x506e3b['setCustomProperty']('tableOfContentsHeadingIndex',_0x3d3088,_0x59b8c6);const _0x1a70af=_0x506e3b['createContainerElement']('li',null,[_0x2e3cab||!_0x4a4724&&_0x10ae69?_0x59b8c6:_0x506e3b['createText']('')]),_0x59260f=_0x3d3088?_0x5e43ec[_0x3d3088-0x1]['level']:0x0,_0x3bd735=Math['abs'](_0x27954a['level']-_0x59260f);if(_0x27954a['level']>_0x59260f){const _0x29dc62=P(_0x1a70af,_0x3bd735,_0x506e3b);_0x506e3b['insert'](_0x506e3b['createPositionAt'](_0x3f9f76,'end'),_0x29dc62);}else{const _0x372275=function(_0x2e30ac,_0x1c1fb5){return _0x2e30ac['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x426859=>_0x426859['is']('element','ol'))[_0x1c1fb5];}(_0x3f9f76,_0x3bd735);_0x506e3b['insert'](_0x506e3b['createPositionAt'](_0x372275,'end'),_0x1a70af);}_0x3f9f76=_0x1a70af;}),_0x3b0914;}['_handleScrollToHeading'](_0x21ffc1){const _0x17c70a=this['_currentOutlineDefinitions'][_0x21ffc1]['modelElement'];this['editor']['model']['change'](_0x4b2b88=>{_0x4b2b88['setSelection'](_0x17c70a,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x4f9edf,_0x23025a)=>{const _0x25df58=_0x23025a['mapper'],_0x2ada3e=_0x25df58['findMappedViewAncestor'](_0x23025a['viewPosition']),_0xa85a8b=_0x25df58['toModelElement'](_0x2ada3e);_0xa85a8b['is']('element','tableOfContents')&&(_0x23025a['modelPosition']=this['editor']['model']['createPositionAt'](_0xa85a8b,0x0),_0x4f9edf['stop']());};}};function P(_0xda6a04,_0x322694,_0x4469b1){return 0x1===_0x322694?_0x4469b1['createContainerElement']('ol',null,[_0xda6a04]):_0x4469b1['createContainerElement']('ol',null,[_0x4469b1['createContainerElement']('li',null,[P(_0xda6a04,_0x322694-0x1,_0x4469b1)])]);}var U=class extends _0x2f1508{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3de4ab=this['editor'];_0x3de4ab['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x3721c4=this['_createButton'](_0x1b32d3);return _0x3721c4['tooltip']=!0x0,_0x3721c4;}),_0x3de4ab['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x20ce9b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xa85003=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x177a86;for(const _0x4e78b9 in _0xa85003){const _0x598c6d=_0x4e78b9,_0x2b3610=_0xa85003[_0x598c6d];if('tableOfContentsLicenseKeyValid'==_0x2b3610||'tableOfContentsLicenseKeyInvalid'==_0x2b3610||'tableOfContentsLicenseKeyExpired'==_0x2b3610||'tableOfContentsLicenseKeyDomainLimit'==_0x2b3610||'tableOfContentsLicenseKeyNotAllowed'==_0x2b3610||'tableOfContentsLicenseKeyEvaluationLimit'==_0x2b3610||'tableOfContentsLicenseKeyUsageLimit'==_0x2b3610){delete _0xa85003[_0x598c6d],_0x177a86=_0x2b3610,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x177a86&&_0xa85003['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x177a86&&_0xa85003['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x177a86&&_0xa85003['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x177a86&&_0xa85003['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x177a86&&_0xa85003['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x177a86&&_0xa85003['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x58594d){const _0x26d2be=this['editor'],_0x508176=_0x26d2be['locale'],_0x46da10=_0x26d2be['commands']['get']('insertTableOfContents'),_0x6c0063=new _0x58594d(_0x508176);return _0x6c0063['set']({'label':L(_0x508176,'Table\x20of\x20contents'),'icon':_0x6241f9}),_0x6c0063['bind']('isEnabled')['to'](_0x46da10,'isEnabled'),this['listenTo'](_0x6c0063,'execute',()=>{_0x26d2be['execute']('insertTableOfContents'),_0x26d2be['editing']['view']['focus']();}),_0x6c0063;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x2f1508{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':_0x2c94bb=>0x1!=_0x2c94bb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2cf1d5=>{const {af:{dictionary:_0x877745,getPluralForm:_0xdaadd6}}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x2ea85f=>0x1!=_0x2ea85f}};_0x2cf1d5['af']||={'dictionary':{},'getPluralForm':null},_0x2cf1d5['af']['dictionary']=Object['assign'](_0x2cf1d5['af']['dictionary'],_0x877745),_0x2cf1d5['af']['getPluralForm']=_0xdaadd6;})(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':_0x487049=>0x0==_0x487049?0x0:0x1==_0x487049?0x1:0x2==_0x487049?0x2:_0x487049%0x64>=0x3&&_0x487049%0x64<=0xa?0x3:_0x487049%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4873c8=>{const {ar:{dictionary:_0x5bed36,getPluralForm:_0x5bcf27}}={'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':_0x10fe72=>0x0==_0x10fe72?0x0:0x1==_0x10fe72?0x1:0x2==_0x10fe72?0x2:_0x10fe72%0x64>=0x3&&_0x10fe72%0x64<=0xa?0x3:_0x10fe72%0x64>=0xb?0x4:0x5}};_0x4873c8['ar']||={'dictionary':{},'getPluralForm':null},_0x4873c8['ar']['dictionary']=Object['assign'](_0x4873c8['ar']['dictionary'],_0x5bed36),_0x4873c8['ar']['getPluralForm']=_0x5bcf27;})(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':_0x4ad5e7=>0x1!=_0x4ad5e7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34396f=>{const {ast:{dictionary:_0x85a592,getPluralForm:_0x2785a8}}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x28de89=>0x1!=_0x28de89}};_0x34396f['ast']||={'dictionary':{},'getPluralForm':null},_0x34396f['ast']['dictionary']=Object['assign'](_0x34396f['ast']['dictionary'],_0x85a592),_0x34396f['ast']['getPluralForm']=_0x2785a8;})(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':_0x5c3c7d=>0x1!=_0x5c3c7d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ad556=>{const {az:{dictionary:_0x177af0,getPluralForm:_0x43ee7f}}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x5e6b60=>0x1!=_0x5e6b60}};_0x3ad556['az']||={'dictionary':{},'getPluralForm':null},_0x3ad556['az']['dictionary']=Object['assign'](_0x3ad556['az']['dictionary'],_0x177af0),_0x3ad556['az']['getPluralForm']=_0x43ee7f;})(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':_0x396c85=>_0x396c85%0xa==0x1&&_0x396c85%0x64!=0xb?0x0:_0x396c85%0xa>=0x2&&_0x396c85%0xa<=0x4&&(_0x396c85%0x64<0xa||_0x396c85%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x249b4e=>{const {be:{dictionary:_0x11b52e,getPluralForm:_0x313729}}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x132fa8=>_0x132fa8%0xa==0x1&&_0x132fa8%0x64!=0xb?0x0:_0x132fa8%0xa>=0x2&&_0x132fa8%0xa<=0x4&&(_0x132fa8%0x64<0xa||_0x132fa8%0x64>=0x14)?0x1:0x2}};_0x249b4e['be']||={'dictionary':{},'getPluralForm':null},_0x249b4e['be']['dictionary']=Object['assign'](_0x249b4e['be']['dictionary'],_0x11b52e),_0x249b4e['be']['getPluralForm']=_0x313729;})(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':_0x5a8ea8=>0x1!=_0x5a8ea8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x383156=>{const {bg:{dictionary:_0x519ae3,getPluralForm:_0xa06b4b}}={'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':_0x3c1ea7=>0x1!=_0x3c1ea7}};_0x383156['bg']||={'dictionary':{},'getPluralForm':null},_0x383156['bg']['dictionary']=Object['assign'](_0x383156['bg']['dictionary'],_0x519ae3),_0x383156['bg']['getPluralForm']=_0xa06b4b;})(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':_0x59233a=>0x1!=_0x59233a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x700e5d=>{const {bn:{dictionary:_0x1a7b49,getPluralForm:_0x54b182}}={'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':_0xe25168=>0x1!=_0xe25168}};_0x700e5d['bn']||={'dictionary':{},'getPluralForm':null},_0x700e5d['bn']['dictionary']=Object['assign'](_0x700e5d['bn']['dictionary'],_0x1a7b49),_0x700e5d['bn']['getPluralForm']=_0x54b182;})(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':_0x2eb678=>_0x2eb678%0xa==0x1&&_0x2eb678%0x64!=0xb?0x0:_0x2eb678%0xa>=0x2&&_0x2eb678%0xa<=0x4&&(_0x2eb678%0x64<0xa||_0x2eb678%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x548aed=>{const {bs:{dictionary:_0x17aa99,getPluralForm:_0x35541b}}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0xcac12f=>_0xcac12f%0xa==0x1&&_0xcac12f%0x64!=0xb?0x0:_0xcac12f%0xa>=0x2&&_0xcac12f%0xa<=0x4&&(_0xcac12f%0x64<0xa||_0xcac12f%0x64>=0x14)?0x1:0x2}};_0x548aed['bs']||={'dictionary':{},'getPluralForm':null},_0x548aed['bs']['dictionary']=Object['assign'](_0x548aed['bs']['dictionary'],_0x17aa99),_0x548aed['bs']['getPluralForm']=_0x35541b;})(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':_0x161fcf=>0x1!=_0x161fcf}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xed1c2e=>{const {ca:{dictionary:_0x393d4f,getPluralForm:_0x53a224}}={'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':_0x4229f8=>0x1!=_0x4229f8}};_0xed1c2e['ca']||={'dictionary':{},'getPluralForm':null},_0xed1c2e['ca']['dictionary']=Object['assign'](_0xed1c2e['ca']['dictionary'],_0x393d4f),_0xed1c2e['ca']['getPluralForm']=_0x53a224;})(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':_0x17fed5=>0x1==_0x17fed5?0x0:_0x17fed5>=0x2&&_0x17fed5<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x184b56=>{const {cs:{dictionary:_0x40f648,getPluralForm:_0x5409e3}}={'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':_0x83a125=>0x1==_0x83a125?0x0:_0x83a125>=0x2&&_0x83a125<=0x4?0x1:0x2}};_0x184b56['cs']||={'dictionary':{},'getPluralForm':null},_0x184b56['cs']['dictionary']=Object['assign'](_0x184b56['cs']['dictionary'],_0x40f648),_0x184b56['cs']['getPluralForm']=_0x5409e3;})(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':_0x378fc3=>0x1!=_0x378fc3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x291075=>{const {da:{dictionary:_0x1d73e4,getPluralForm:_0x509a36}}={'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':_0x5f03f5=>0x1!=_0x5f03f5}};_0x291075['da']||={'dictionary':{},'getPluralForm':null},_0x291075['da']['dictionary']=Object['assign'](_0x291075['da']['dictionary'],_0x1d73e4),_0x291075['da']['getPluralForm']=_0x509a36;})(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':_0x29a32e=>0x1!=_0x29a32e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x87ad29=>{const {'de-ch':{dictionary:_0x2b9045,getPluralForm:_0x1843b0}}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x1641ac=>0x1!=_0x1641ac}};_0x87ad29['de-ch']||={'dictionary':{},'getPluralForm':null},_0x87ad29['de-ch']['dictionary']=Object['assign'](_0x87ad29['de-ch']['dictionary'],_0x2b9045),_0x87ad29['de-ch']['getPluralForm']=_0x1843b0;})(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':_0x46cf15=>0x1!=_0x46cf15}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x7a7f3b=>{const {de:{dictionary:_0xf02773,getPluralForm:_0x905b4e}}={'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':_0x5b58a7=>0x1!=_0x5b58a7}};_0x7a7f3b['de']||={'dictionary':{},'getPluralForm':null},_0x7a7f3b['de']['dictionary']=Object['assign'](_0x7a7f3b['de']['dictionary'],_0xf02773),_0x7a7f3b['de']['getPluralForm']=_0x905b4e;})(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':_0x15afaa=>0x1!=_0x15afaa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x431bad=>{const {el:{dictionary:_0x342a8e,getPluralForm:_0x50bbdf}}={'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':_0x4f8a7f=>0x1!=_0x4f8a7f}};_0x431bad['el']||={'dictionary':{},'getPluralForm':null},_0x431bad['el']['dictionary']=Object['assign'](_0x431bad['el']['dictionary'],_0x342a8e),_0x431bad['el']['getPluralForm']=_0x50bbdf;})(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':_0x16bf07=>0x1!=_0x16bf07}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x438ff8=>{const {'en-au':{dictionary:_0x1e1fc2,getPluralForm:_0x5464fb}}={'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':_0xaaf25a=>0x1!=_0xaaf25a}};_0x438ff8['en-au']||={'dictionary':{},'getPluralForm':null},_0x438ff8['en-au']['dictionary']=Object['assign'](_0x438ff8['en-au']['dictionary'],_0x1e1fc2),_0x438ff8['en-au']['getPluralForm']=_0x5464fb;})(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':_0xb46b3b=>0x1!=_0xb46b3b}};
|