@ckeditor/ckeditor5-document-outline 48.3.0-alpha.6 → 48.3.0-alpha.7
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 _0x22d7b1,Plugin as _0x2f046b}from'@ckeditor/ckeditor5-core';import{debounce as _0x3259a1,throttle as _0x13cbfc}from'es-toolkit/compat';import{ModelText as _0x2a4a22,ModelTreeWalker as _0x53e286}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0xe85771,Rect as _0x5e0d44,diff as _0x323384,diffToChanges as _0x39f391,global as _0x37bebd,priorities as _0xb846a0,scrollAncestorsToShowTarget as _0x19d00a,uid as _0x175d7f}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x1f19a7,MenuBarMenuListItemButtonView as _0xcf4681,View as _0x210b27}from'@ckeditor/ckeditor5-ui';import{Widget as _0x4de4dc,toWidget as _0x3dd528}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x4df0d6}from'@ckeditor/ckeditor5-icons';function b(_0x3626ae){let _0x573cef='';for(const _0x1579d3 of _0x3626ae['getChildren']())_0x1579d3 instanceof _0x2a4a22&&(_0x573cef+=_0x1579d3['data']);return _0x573cef;}var I=class extends _0x2f046b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x471fc3=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x5e0c9e=[];_0x471fc3['model']['document']['on']('change',_0x3259a1(()=>{const _0x27119f=_0x5e0c9e;_0x5e0c9e=this['_getOutlineDefinitions']();const _0x12f3be=_0x39f391(_0x323384(_0x27119f,_0x5e0c9e,(_0x52397f,_0x6514c4)=>_0x52397f['level']===_0x6514c4['level']&&_0x52397f['text']===_0x6514c4['text']&&_0x52397f['modelElement']===_0x6514c4['modelElement']),_0x5e0c9e),_0x4c6ad1=this['_getActiveHeading'](),_0x4e57c8=_0x5e0c9e['findIndex'](_0x33dcdd=>_0x33dcdd['modelElement']===_0x4c6ad1);_0x12f3be['length']&&this['fire']('change',{'outlineDefinitions':_0x5e0c9e,'activeItemIndex':_0x4e57c8,'outlineChanges':_0x12f3be}),this['fire']('activeItemIndex',{'index':_0x4e57c8});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x39453f=this['editor'],_0x3a6a2a=[],_0x355d9a=this['_headingNames'];for(const _0xceb9e1 of _0x39453f['model']['document']['getRootNames']())_0x4cdd2b(_0x39453f['model']['document']['getRoot'](_0xceb9e1));function _0x4cdd2b(_0xd1e173){for(const _0x20210f of _0xd1e173['getChildren']())_0x20210f['is']('element')&&(_0x355d9a['includes'](_0x20210f['name'])&&_0x3a6a2a['push']({'level':_0x355d9a['indexOf'](_0x20210f['name'])+0x1,'text':b(_0x20210f),'modelElement':_0x20210f}),_0x4cdd2b(_0x20210f));}return _0x3a6a2a;}['_getActiveHeading'](){const _0x2e4a1b=new _0x53e286({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x5e9c83 of _0x2e4a1b)if(_0x5e9c83['item']['is']('element')&&this['_headingNames']['includes'](_0x5e9c83['item']['name']))return _0x5e9c83['item'];}['_getHeadingNames'](){const _0x4f643e=this['editor']['config']['get']('documentOutline.headings');return _0x4f643e||function(_0x104179){const _0x33bee1=_0x104179['config']['get']('heading.options');return _0x33bee1?_0x33bee1['reduce']((_0x5a591c,_0x591f90)=>('paragraph'!==_0x591f90['model']&&_0x5a591c['push'](_0x591f90['model']),_0x5a591c),[]):_0x104179['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x1f1d0b=this['editor'],_0x48adfc=['h1','h2','h3','h4','h5','h6'],_0x5c1f23=[];for(const _0x29b936 of _0x48adfc){const _0x3c7e75=_0x1f1d0b['editing']['view']['domConverter']['domToView'](document['createElement'](_0x29b936)),_0x1376bc=_0x1f1d0b['data']['toModel'](_0x3c7e75)['getChild'](0x0);_0x1376bc?.['is']('element')&&_0x5c1f23['push'](_0x1376bc['name']);}this['_headingNames']=_0x5c1f23;}};function L(_0x3c0b07,_0x15db78){const t=_0x3c0b07['t'];switch(_0x15db78){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 _0x15db78;}}var C=class extends _0x210b27{constructor(_0x4082d2,_0x4d28f5=!0x1){super(_0x4082d2);const _0x88c211=this['bindTemplate'],_0x1a1137=_0x4d28f5?'['+L(_0x4082d2,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x34666d=>!_0x34666d),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x88c211['to']('level',_0x44d3d9=>'ck-document-outline__item_level-'+_0x44d3d9),_0x88c211['if']('isActive','ck-document-outline__item_active'),_0x88c211['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x88c211['to']('text')},'children':[{'text':_0x88c211['to']('text',_0x37aee3=>_0x37aee3||_0x1a1137)}],'on':{'click':_0x88c211['to']('click')}});}},_=class extends _0x210b27{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0xcaa420,_0xd72e75=!0x1,_0x57578f){super(_0xcaa420),this['showEmptyHeadingText']=_0xd72e75,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x57578f,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x24d035,_0x4e655f,_0x35bce9,_0x528b4f)=>{this['_setActiveItem'](_0x528b4f,_0x35bce9);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0xcaa420['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0xcaa420,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5d5cab){_0x5d5cab['forEach'](_0x3e5dba=>{'insert'==_0x3e5dba['type']?this['_insertItem'](_0x3e5dba['index'],..._0x3e5dba['values']):'delete'==_0x3e5dba['type']&&this['_deleteItem'](_0x3e5dba['index'],_0x3e5dba['howMany']);});}['_setActiveItem'](_0x32d16d,_0x4238ec){if(-0x1!==_0x32d16d){const _0x13c92b=this['items']['get'](_0x32d16d);_0x13c92b&&(_0x13c92b['isActive']=!0x1);}-0x1!==_0x4238ec&&(this['items']['get'](_0x4238ec)['isActive']=!0x0,this['_scrollToItem'](_0x4238ec));}['_insertItem'](_0x12c4a3,..._0x162335){const _0x3afa5c=_0x162335['map']((_0x18724b,_0x236912)=>{const _0x44afe7=new C(this['locale'],this['showEmptyHeadingText']);return _0x44afe7['text']=_0x18724b['text'],_0x44afe7['level']=_0x18724b['level'],_0x12c4a3+_0x236912===this['activeItemIndex']&&(_0x44afe7['isActive']=!0x0),_0x44afe7;});this['items']['addMany'](_0x3afa5c,_0x12c4a3);}['_deleteItem'](_0x151349,_0x4c437d){do{this['items']['remove'](_0x151349);}while(--_0x4c437d);}['_handleItemClick'](_0x5da558){const _0x2a8eac=this['items']['getIndex'](_0x5da558['source']);this['fire']('itemSelected',_0x2a8eac);}['_scrollToItem'](_0x4fdc03){_0x19d00a(this['items']['get'](_0x4fdc03)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x2f046b{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4a83e1){super(_0x4a83e1),this['view']=new _(_0x4a83e1['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x13cbfc(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x58c3d9=this['editor'],_0x44c3c5=_0x58c3d9['plugins']['get']('DocumentOutlineUtils');let _0xbb9e58=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x58c3d9['config']['get']('documentOutline.container'))throw new _0xe85771('document-outline-container-not-provided',{'editor':_0x58c3d9});_0x58c3d9['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x44c3c5['on']('change',this['_handleOutlineChange']['bind'](this)),_0x44c3c5['on']('activeItemIndex',(_0x14bcc7,{index:_0x3fa78c})=>this['_setActiveViewItem'](_0x3fa78c)),this['view']['on']('itemSelected',(_0x491901,_0x172a58)=>{_0xbb9e58=!0x0,this['_handleItemSelected'](_0x172a58);}),this['view']['listenTo'](_0x37bebd['document'],'scroll',()=>{_0xbb9e58?_0xbb9e58=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x37bebd['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x57c7ea){const _0x1d4a4b='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x2158b0=0x78e58,_0x5d2953=window['Date']['now'](),_0x234839=_0x57c7ea['editor'],_0x18a3fb=new window['Promise'](_0x2f6b08=>{_0x234839['once']('ready',_0x2f6b08);}),_0x2c792a={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x29563b=_0x234839['config']['get']('licenseKey');async function _0x343ec5(){let _0x18e38f,_0x128dfb=null,_0x50b796=null;try{return'GPL'==_0x29563b?'NotAllowed':(_0x18e38f=_0x1dc468(),_0x18e38f?(_0x18e38f['usageEndpoint']&&(_0x50b796=_0x2851d0(_0x18e38f['usageEndpoint'],_0x18e38f['jti'])),await _0x36094a()?_0x312d13()?_0x29a1c4()?'Expired':_0x5d9d03()?('evaluation'==_0x18e38f['licenseType']&&(_0x128dfb=_0x5ec5db('EvaluationLimit')),await _0x3df21f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x29a1c4(){const _0x17da1c=['evaluation','trial']['includes'](_0x18e38f['licenseType'])?_0x5d2953/0x3e8:0xe10*_0x2158b0;return _0x18e38f['exp']<_0x17da1c;}function _0x312d13(){const _0xc62529=_0x18e38f['features'];return!!_0xc62529&&(!!_0xc62529['includes']('*')||(!!_0xc62529['includes']('DO')||(!!_0xc62529['includes']('PP')||!(!_0xc62529['includes']('TRILIUM')||!_0x17fcef()))));}function _0x5d9d03(){const _0x48ba6f=_0x18e38f['licensedHosts'];if(!_0x48ba6f||0x0==_0x48ba6f['length'])return!0x0;const {hostname:_0x33ccbc}=new URL(window['location']['href']);if(_0x48ba6f['includes'](_0x33ccbc))return!0x0;const _0x1279ad=_0x33ccbc['split']('.');return _0x48ba6f['filter'](_0x2a752c=>_0x2a752c['includes']('*'))['map'](_0x4a853f=>_0x4a853f['split']('.'))['filter'](_0x324360=>_0x324360['length']<=_0x1279ad['length'])['map'](_0x475a6b=>Array(_0x1279ad['length']-_0x475a6b['length'])['fill']('*'===_0x475a6b[0x0]?'*':'')['concat'](_0x475a6b))['some'](_0x293775=>_0x1279ad['every']((_0x11dbbe,_0x128c7e)=>_0x293775[_0x128c7e]===_0x11dbbe||'*'===_0x293775[_0x128c7e]));}function _0x3df21f(){return _0x128dfb&&_0x50b796?new window['Promise']((_0x2b0960,_0x3ea101)=>{_0x128dfb['then'](_0x2b0960,_0x3ea101),_0x50b796['then'](_0x897e21=>{'Valid'!=_0x897e21&&_0x2b0960(_0x897e21);},_0x3ea101);}):_0x128dfb||_0x50b796||'Valid';}}function _0x2851d0(_0x2fd984,_0x5b15bb){return new window['Promise'](_0x50704d=>{if(_0xdb4979())return _0x50704d('Valid');_0x4d8a50(),_0x234839['decorate']('_sendUsageRequest');let _0x1fd9d6=!0x1;const _0x4b44d2=_0x175d7f();function _0x4f9741(_0x3dacc2){return!!_0x3dacc2&&('object'==typeof _0x3dacc2||'function'==typeof _0x3dacc2)&&'function'==typeof _0x3dacc2['then']&&'function'==typeof _0x3dacc2['catch'];}function _0x4ba875(_0x1f0ee8){_0x268942(_0x1f0ee8)['then'](_0x27c70d=>_0x27c70d&&'ok'==_0x27c70d['status']?_0x116779(_0x793e7d(_0x4b44d2+_0x5b15bb))!=_0x27c70d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x18fe4f=>(_0x1a1df4(),_0x18fe4f),()=>{const _0x424ab8=_0x3918c5();return null==_0x424ab8?(_0x1a1df4(),'Valid'):_0x5d2953-_0x424ab8>0x240c8400?'UsageLimit':'Valid';})['then'](_0x50704d)['catch'](()=>{_0x50704d('UsageLimit');});const _0x484f6f=0x36ee80;function _0x1a1df4(){const _0x5e9be6='llct-'+_0x116779(_0x793e7d(_0x2fd984)),_0x4e2f64=_0x2cc55b(_0x116779(window['Math']['ceil'](_0x5d2953/_0x484f6f)));window['localStorage']['setItem'](_0x5e9be6,_0x4e2f64);}function _0x3918c5(){const _0x1824e8='llct-'+_0x116779(_0x793e7d(_0x2fd984)),_0x505535=window['localStorage']['getItem'](_0x1824e8);return _0x505535?window['parseInt'](_0x2cc55b(_0x505535),0x10)*_0x484f6f:null;}function _0x268942(_0x153ff9){return new window['Promise']((_0x1a1caa,_0x5ccf2d)=>{_0x153ff9['then'](_0x1a1caa,_0x5ccf2d),window['setTimeout'](_0x5ccf2d,0x1d4c0);});}}_0x234839['on']('_sendUsageRequest',(_0x38fbe3,_0x3867cf)=>{if(_0x3867cf[0x0]!=_0x2fd984)return _0x50704d('UsageLimit');_0x3867cf[0x1]={..._0x3867cf[0x1],'requestId':_0x4b44d2};},{'priority':'high'}),_0x234839['on']('_sendUsageRequest',_0x159dd5=>{_0x4f9741(_0x159dd5['return'])&&(_0x1fd9d6=!0x0,_0x4ba875(_0x159dd5['return']));},{'priority':'low'}),_0x18a3fb['then'](()=>{_0x1fd9d6||_0x50704d('UsageLimit');});});function _0xdb4979(){return'auto'==_0x234839['editing']['view']['_overlayModeHint'];}function _0x4d8a50(){_0x234839['editing']['view']['_overlayModeHint']='auto';}}function _0x5ec5db(_0x247008){const _0x59ddc5=[new window['Promise'](_0x574875=>setTimeout(_0x574875,0x93ecc)),_0x18a3fb['then'](()=>new window['Promise'](_0x51cd06=>{let _0x49b34d=0x0;_0x234839['model']['on']('applyOperation',(_0x2eb6c3,_0xa85e14)=>{_0xa85e14[0x0]['isDocumentOperation']&&_0x49b34d++,0x5e8==_0x49b34d&&(_0x51cd06(),_0x2eb6c3['off']());});}))];return window['Promise']['race'](_0x59ddc5)['then'](()=>_0x247008);}async function _0x51df80(){await _0x18a3fb,_0x234839['model']['change']=_0x442b04,_0x234839['model']['enqueueChange']=_0x442b04,_0x234839['enableReadOnlyMode']('model');}function _0x17fcef(){return window['glob']&&window['glob']['triliumVersion'];}function _0x3fa2b2(_0x4f514b){const _0x4395f2=_0x1bc08a();_0x234839[_0x4395f2]='documentOutlineLicenseKey'+_0x4f514b,'Valid'!=_0x4f514b&&_0x51df80();}function _0x1bc08a(){const _0x5df581=window['String'](window['performance']['now']())['replace']('.','');let _0x424dbc='a';for(let _0x31d336=0x0;_0x31d336<_0x5df581['length'];_0x31d336+=0x2){let _0x8a003=window['parseInt'](_0x5df581['substring'](_0x31d336,_0x31d336+0x2));_0x8a003>=0x3e&&(_0x8a003-=0x3e),_0x424dbc+=_0x1d4a4b[_0x8a003];}return _0x424dbc;}function _0x1dc468(){const _0x2d37b9=_0x29563b['split']('.');if(0x3!=_0x2d37b9['length'])return null;return _0x7bbfcd(_0x2d37b9[0x1]);function _0x7bbfcd(_0x20d21e){const _0x26e9b8=_0x250845(_0x20d21e);return _0x26e9b8&&_0x1bfc0c()?_0x26e9b8:null;function _0x1bfc0c(){const _0x42262c=_0x26e9b8['jti'],_0x55223e=window['parseInt'](_0x42262c['substring'](_0x42262c['length']-0x8),0x10),_0x17821b={..._0x26e9b8,'jti':_0x42262c['substring'](0x0,_0x42262c['length']-0x8)};return delete _0x17821b['vc'],_0x793e7d(_0x17821b)==_0x55223e;}}}async function _0x36094a(){let _0x319390=!0x0;try{const [_0x4d63bc,_0x518361,_0x5732b9]=_0x29563b['split']('.');return _0x3b3e7b(_0x4d63bc),await _0x53e7f5(_0x4d63bc,_0x518361,_0x5732b9),_0x319390;}catch{return!0x1;}function _0x3b3e7b(_0x3d97d9){const _0x53fb9e=_0x250845(_0x3d97d9);_0x53fb9e&&'ES256'==_0x53fb9e['alg']||(_0x319390=!0x1);}async function _0x53e7f5(_0x11cc7a,_0x5c4bb5,_0x31e167){const _0x158de0=window['Uint8Array']['from'](_0x44594a(_0x31e167),_0x145036=>_0x145036['charCodeAt'](0x0)),_0x39e2bd=new window['TextEncoder']()['encode'](_0x11cc7a+'.'+_0x5c4bb5),_0x38ead8=window['crypto']['subtle'];if(!_0x38ead8)return;const _0x2e54cb=await _0x38ead8['importKey']('jwk',_0x2c792a,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x38ead8['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2e54cb,_0x158de0,_0x39e2bd)||(_0x319390=!0x1);}}function _0x250845(_0x7a4abe){return _0x7a4abe['startsWith']('ey')?JSON['parse'](_0x44594a(_0x7a4abe)):null;}function _0x44594a(_0x389cdc){return window['atob'](_0x389cdc['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x793e7d(_0x3ce97d){let _0x2fea6b=0x1505;function _0x2e11aa(_0x1c23ea){for(let _0x3378c4=0x0;_0x3378c4<_0x1c23ea['length'];_0x3378c4++){const _0x5ad172=_0x1c23ea['charCodeAt'](_0x3378c4);_0x2fea6b=(_0x2fea6b<<0x5)+_0x2fea6b+_0x5ad172,_0x2fea6b&=_0x2fea6b;}}function _0x2b1575(_0x5b3f24){Array['isArray'](_0x5b3f24)?_0x5b3f24['forEach'](_0x2b1575):_0x5b3f24&&'object'==typeof _0x5b3f24?Object['entries'](_0x5b3f24)['sort']()['forEach'](([_0xb69b9c,_0x37a262])=>{_0x2e11aa(_0xb69b9c),_0x2b1575(_0x37a262);}):_0x2e11aa(window['String'](_0x5b3f24));}return _0x2b1575(_0x3ce97d),_0x2fea6b>>>0x0;}function _0x116779(_0xfbd697){return _0xfbd697['toString'](0x10)['padStart'](0x8,'0');}function _0x2cc55b(_0x401c9d){return _0x401c9d['split']('')['reverse']()['join']('');}function _0x442b04(){}_0x3fa2b2(await _0x343ec5());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x155f47,{outlineDefinitions:_0x266c2b,outlineChanges:_0x1cd76d}){this['_currentOutlineDefinitions']=_0x266c2b,this['view']['sync'](_0x1cd76d);}['_setActiveViewItem'](_0x4ef953){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x4ef953]&&(this['view']['activeItemIndex']=_0x4ef953);}['_handleItemSelected'](_0x5ead39){const _0x2e1d25=this['_currentOutlineDefinitions'][_0x5ead39]['modelElement'];this['editor']['model']['change'](_0x502c2d=>{_0x502c2d['setSelection'](_0x2e1d25,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x5ead39);}['_updateActiveDefinitionOnViewportChange'](){const _0x5f21a7=this['editor'];let _0x1bb8da;for(const _0x1104be of _0x5f21a7['model']['document']['getRootNames']()){const _0x402bb9=_0x5f21a7['editing']['view']['getDomRoot'](_0x1104be),_0x4b4c48=_0x402bb9&&new _0x5e0d44(_0x402bb9)['getVisible']();if(_0x4b4c48){const _0x48c15f=new _0x5e0d44(_0x37bebd['window'])['getIntersection'](_0x4b4c48);_0x48c15f&&(_0x1bb8da=_0x48c15f['top']+0.25*_0x48c15f['height']);}}if(void 0x0===_0x1bb8da)return;const _0x43cd84=k(_0x5f21a7['editing'],this['_currentOutlineDefinitions'],_0x1bb8da);_0x43cd84?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x43cd84)):this['_setActiveViewItem'](-0x1);}};function k(_0x557b29,_0x5e5a33,_0x4f180d,_0x2ca134=0x0,_0x1d0922=_0x5e5a33['length']-0x1){const _0x1a7f42=Math['floor'](_0x2ca134+(_0x1d0922-_0x2ca134)/0x2);if(_0x1d0922>=_0x2ca134){const _0x29e9ca=_0x5e5a33[_0x1a7f42],_0x12da1e=_0x557b29['mapper']['toViewElement'](_0x29e9ca['modelElement']);return _0x12da1e?new _0x5e0d44(_0x557b29['view']['domConverter']['mapViewToDom'](_0x12da1e))['bottom']>_0x4f180d?k(_0x557b29,_0x5e5a33,_0x4f180d,_0x2ca134,_0x1a7f42-0x1):k(_0x557b29,_0x5e5a33,_0x4f180d,_0x1a7f42+0x1,_0x1d0922):null;}return _0x1a7f42<0x0?null:_0x5e5a33[_0x1a7f42];}var E=class extends _0x2f046b{['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 _0x192119=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x18ab1f;for(const _0x42d39 in _0x192119){const _0x2898db=_0x42d39,_0x1a03a6=_0x192119[_0x2898db];if('documentOutlineLicenseKeyValid'==_0x1a03a6||'documentOutlineLicenseKeyInvalid'==_0x1a03a6||'documentOutlineLicenseKeyExpired'==_0x1a03a6||'documentOutlineLicenseKeyDomainLimit'==_0x1a03a6||'documentOutlineLicenseKeyNotAllowed'==_0x1a03a6||'documentOutlineLicenseKeyEvaluationLimit'==_0x1a03a6||'documentOutlineLicenseKeyUsageLimit'==_0x1a03a6){delete _0x192119[_0x2898db],_0x18ab1f=_0x1a03a6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x18ab1f&&_0x192119['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x18ab1f&&_0x192119['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x18ab1f&&_0x192119['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x18ab1f&&_0x192119['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x18ab1f&&_0x192119['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x18ab1f&&_0x192119['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x22d7b1{['execute'](){this['editor']['model']['change'](_0x583de8=>{this['editor']['model']['insertObject'](_0x583de8['createElement']('tableOfContents'));});}['refresh'](){const _0x2f9634=this['editor']['model'],_0x2f9342=_0x2f9634['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2f9342&&_0x2f9634['schema']['findAllowedParent'](_0x2f9342,'tableOfContents'));}},A=class extends _0x2f046b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x34cef9=this['editor'];if(_0x34cef9['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x50b461,modelNames:_0x4ac16e}=function(_0x7cf5e3){const _0x5f58ed=new Set(),_0x172bca=new Set();if(!_0x7cf5e3)return{'viewNames':_0x5f58ed,'modelNames':_0x172bca};for(const _0x3db433 of _0x7cf5e3){if('paragraph'===_0x3db433['model'])continue;const _0x3bbaf8='string'==typeof _0x3db433['view']?_0x3db433['view']:_0x3db433['view']['name'];_0x5f58ed['add'](_0x3bbaf8),_0x172bca['add'](_0x3db433['model']);}return _0x5f58ed['has']('h1')||(_0x5f58ed['add']('h1'),_0x172bca['add']('heading1')),{'viewNames':_0x5f58ed,'modelNames':_0x172bca};}(this['editor']['config']['get']('heading.options'));for(const _0x3df2a6 of _0x50b461)this['_customUpcastHeadingsConversion'](_0x3df2a6);for(const _0x3c045a of _0x4ac16e)this['_customDataDowncastHeadingsConversion'](_0x3c045a),_0x34cef9['model']['schema']['isRegistered'](_0x3c045a)&&_0x34cef9['model']['schema']['extend'](_0x3c045a,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x4ac16e);}['_customUpcastHeadingsConversion'](_0x2d528c){this['editor']['conversion']['for']('upcast')['add'](_0x38bc41=>_0x38bc41['on']('element:'+_0x2d528c,(_0x55574d,_0x49a21f,_0x1106f1)=>{const {consumable:_0x27644a,writer:_0x3d4506}=_0x1106f1,_0x502909=_0x49a21f['viewItem']['getAttribute']('id'),_0x42c4d8=_0x49a21f['modelRange']?.['getContainedElement']();if(_0x42c4d8)return _0x502909&&_0x502909['length']||_0x42c4d8['hasAttribute']('headingId')?void(_0x27644a['consume'](_0x49a21f['viewItem'],{'attributes':['id']})&&_0x3d4506['setAttribute']('headingId',_0x502909,_0x42c4d8)):(_0x27644a['consume'](_0x49a21f['viewItem'],{'attributes':['id']}),void _0x3d4506['setAttribute']('headingId',_0x175d7f(),_0x42c4d8));},{'priority':_0xb846a0['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x125572){this['editor']['conversion']['for']('downcast')['add'](_0x2307ee=>_0x2307ee['on']('attribute:headingId:'+_0x125572,(_0x1ee6bb,_0x2790b0,_0x240c94)=>{if(!_0x240c94['consumable']['consume'](_0x2790b0['item'],_0x1ee6bb['name']))return;const _0x20d48d=_0x2790b0['item']['getAttribute']('headingId'),_0x10f7cb=_0x240c94['mapper']['toViewElement'](_0x2790b0['item']);_0x240c94['writer']['setAttribute']('id',_0x20d48d,_0x10f7cb);}));}['_registerHeadingIdAttributePostfixer'](_0x559d54){const _0x30414c=this['editor'],_0x213429=new Set(),_0x3a0ab6=new Set();function _0x17c99c(_0x653470,_0x3fb9b0){const _0x347299=_0x175d7f();return _0x3a0ab6['add'](_0x347299),_0x653470['setAttribute']('headingId',_0x347299,_0x3fb9b0),_0x347299;}function _0x1f7eba(_0x4efc92,_0x456b0a){_0x4efc92['removeAttribute']('headingId',_0x456b0a);}_0x30414c['model']['document']['registerPostFixer'](_0x26af62=>{const _0xd8eb39=_0x30414c['model']['document']['differ']['getChanges']();let _0x319222=!0x1;for(const _0x252ebd of _0xd8eb39)if('insert'==_0x252ebd['type']&&_0x252ebd['name']){if(_0x559d54['has'](_0x252ebd['name'])){const _0x6e5a8f=_0x252ebd['attributes']['get']('headingId');'string'==typeof _0x6e5a8f?_0x213429['has'](_0x6e5a8f)?(_0x17c99c(_0x26af62,_0x252ebd['position']['nodeAfter']),_0x319222=!0x0):_0x3a0ab6['add'](_0x6e5a8f):(_0x17c99c(_0x26af62,_0x252ebd['position']['nodeAfter']),_0x319222=!0x0);}else'string'==typeof _0x252ebd['attributes']['get']('headingId')&&(_0x1f7eba(_0x26af62,_0x252ebd['position']['nodeAfter']),_0x319222=!0x0);}else{if('remove'==_0x252ebd['type']){const _0x2f2fda=_0x252ebd['attributes']['get']('headingId');'string'==typeof _0x2f2fda&&_0x213429['delete'](_0x2f2fda);}}return _0x319222;}),_0x30414c['model']['document']['on']('change',()=>{_0x3a0ab6['forEach'](_0x5c2f75=>_0x213429['add'](_0x5c2f75)),_0x3a0ab6['clear']();});}},N=class extends _0x2f046b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4de4dc,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x2bb1a4){super(_0x2bb1a4),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x3b9dc7=this['editor'],_0x333415=_0x3b9dc7['editing']['view']['document'];_0x3b9dc7['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x3b9dc7['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x333415,'click',(_0x9b9c1c,_0x4a9c85)=>{if(!_0x4a9c85['target'])return;const _0x51b951=_0x4a9c85['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x51b951)&&(_0x4a9c85['domEvent']['preventDefault'](),_0x9b9c1c['stop'](),this['_handleScrollToHeading'](_0x51b951));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x3b9dc7['commands']['add']('insertTableOfContents',new K(_0x3b9dc7));const _0x3aeb44=_0x3b9dc7['config']['get']('tableOfContents.headings');_0x3aeb44&&_0x3aeb44['length']?this['listenTo'](_0x3b9dc7['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x3aeb44),this['_updateTableOfContentsElements']();}):_0x3b9dc7['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x22cda3,_0x3b5edc)=>{this['_currentOutlineDefinitions']=_0x3b5edc['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x3b9dc7['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x55604a){const _0x4d301a='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x42a82e=0x78e58,_0x36e5e7=window['Date']['now'](),_0xc945a3=_0x55604a['editor'],_0x387443=new window['Promise'](_0x3ab3a4=>{_0xc945a3['once']('ready',_0x3ab3a4);}),_0x27ffb1={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x14090f=_0xc945a3['config']['get']('licenseKey');async function _0x21e4b3(){let _0x2c77f2,_0x463a36=null,_0x772e68=null;try{return'GPL'==_0x14090f?'NotAllowed':(_0x2c77f2=_0xe24cf2(),_0x2c77f2?(_0x2c77f2['usageEndpoint']&&(_0x772e68=_0x4ee4cd(_0x2c77f2['usageEndpoint'],_0x2c77f2['jti'])),await _0x7d3d6a()?_0x294544()?_0x38e1e0()?'Expired':_0xdf7e81()?('evaluation'==_0x2c77f2['licenseType']&&(_0x463a36=_0x4bfc19('EvaluationLimit')),await _0x59c54a()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x38e1e0(){const _0x4d48f8=['evaluation','trial']['includes'](_0x2c77f2['licenseType'])?_0x36e5e7/0x3e8:0xe10*_0x42a82e;return _0x2c77f2['exp']<_0x4d48f8;}function _0x294544(){const _0x510e7b=_0x2c77f2['features'];return!!_0x510e7b&&(!!_0x510e7b['includes']('*')||(!!_0x510e7b['includes']('TOC')||(!!_0x510e7b['includes']('PP')||!(!_0x510e7b['includes']('TRILIUM')||!_0x302c3e()))));}function _0xdf7e81(){const _0x12da73=_0x2c77f2['licensedHosts'];if(!_0x12da73||0x0==_0x12da73['length'])return!0x0;const {hostname:_0x187099}=new URL(window['location']['href']);if(_0x12da73['includes'](_0x187099))return!0x0;const _0x31593b=_0x187099['split']('.');return _0x12da73['filter'](_0xbca91=>_0xbca91['includes']('*'))['map'](_0x3a4d63=>_0x3a4d63['split']('.'))['filter'](_0xe45d33=>_0xe45d33['length']<=_0x31593b['length'])['map'](_0x522d3a=>Array(_0x31593b['length']-_0x522d3a['length'])['fill']('*'===_0x522d3a[0x0]?'*':'')['concat'](_0x522d3a))['some'](_0x9038e6=>_0x31593b['every']((_0xe77870,_0x485286)=>_0x9038e6[_0x485286]===_0xe77870||'*'===_0x9038e6[_0x485286]));}function _0x59c54a(){return _0x463a36&&_0x772e68?new window['Promise']((_0x4b0f4d,_0x57ad67)=>{_0x463a36['then'](_0x4b0f4d,_0x57ad67),_0x772e68['then'](_0x44c2a1=>{'Valid'!=_0x44c2a1&&_0x4b0f4d(_0x44c2a1);},_0x57ad67);}):_0x463a36||_0x772e68||'Valid';}}function _0x4ee4cd(_0x5b5982,_0x1a160){return new window['Promise'](_0x258e10=>{if(_0x222ea9())return _0x258e10('Valid');_0x5468e8(),_0xc945a3['decorate']('_sendUsageRequest');let _0x29f4f7=!0x1;const _0x537596=_0x175d7f();function _0x1f5579(_0x2b9936){return!!_0x2b9936&&('object'==typeof _0x2b9936||'function'==typeof _0x2b9936)&&'function'==typeof _0x2b9936['then']&&'function'==typeof _0x2b9936['catch'];}function _0x1a9e86(_0x1cff0f){_0x257fbb(_0x1cff0f)['then'](_0x2e3427=>_0x2e3427&&'ok'==_0x2e3427['status']?_0x2d4f38(_0x3024a9(_0x537596+_0x1a160))!=_0x2e3427['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0xb9dbab=>(_0x18e6f3(),_0xb9dbab),()=>{const _0x53d2f7=_0x1f70cf();return null==_0x53d2f7?(_0x18e6f3(),'Valid'):_0x36e5e7-_0x53d2f7>0x240c8400?'UsageLimit':'Valid';})['then'](_0x258e10)['catch'](()=>{_0x258e10('UsageLimit');});const _0x1d58e6=0x36ee80;function _0x18e6f3(){const _0x2804ca='llct-'+_0x2d4f38(_0x3024a9(_0x5b5982)),_0xb2e3f3=_0x39fde8(_0x2d4f38(window['Math']['ceil'](_0x36e5e7/_0x1d58e6)));window['localStorage']['setItem'](_0x2804ca,_0xb2e3f3);}function _0x1f70cf(){const _0x24b4d5='llct-'+_0x2d4f38(_0x3024a9(_0x5b5982)),_0x189ab0=window['localStorage']['getItem'](_0x24b4d5);return _0x189ab0?window['parseInt'](_0x39fde8(_0x189ab0),0x10)*_0x1d58e6:null;}function _0x257fbb(_0x13c594){return new window['Promise']((_0x9f40ca,_0x352474)=>{_0x13c594['then'](_0x9f40ca,_0x352474),window['setTimeout'](_0x352474,0x1d4c0);});}}_0xc945a3['on']('_sendUsageRequest',(_0x3a53ff,_0x55b91d)=>{if(_0x55b91d[0x0]!=_0x5b5982)return _0x258e10('UsageLimit');_0x55b91d[0x1]={..._0x55b91d[0x1],'requestId':_0x537596};},{'priority':'high'}),_0xc945a3['on']('_sendUsageRequest',_0x45ef50=>{_0x1f5579(_0x45ef50['return'])&&(_0x29f4f7=!0x0,_0x1a9e86(_0x45ef50['return']));},{'priority':'low'}),_0x387443['then'](()=>{_0x29f4f7||_0x258e10('UsageLimit');});});function _0x222ea9(){return'auto'==_0xc945a3['editing']['view']['_overlayModeHint'];}function _0x5468e8(){_0xc945a3['editing']['view']['_overlayModeHint']='auto';}}function _0x4bfc19(_0x26b5bf){const _0x421aa8=[new window['Promise'](_0x1f2de9=>setTimeout(_0x1f2de9,0x93ecc)),_0x387443['then'](()=>new window['Promise'](_0x3ed640=>{let _0x26aa48=0x0;_0xc945a3['model']['on']('applyOperation',(_0x24bdc7,_0x1fd9f9)=>{_0x1fd9f9[0x0]['isDocumentOperation']&&_0x26aa48++,0x5e8==_0x26aa48&&(_0x3ed640(),_0x24bdc7['off']());});}))];return window['Promise']['race'](_0x421aa8)['then'](()=>_0x26b5bf);}async function _0x19077(){await _0x387443,_0xc945a3['model']['change']=_0xaae849,_0xc945a3['model']['enqueueChange']=_0xaae849,_0xc945a3['enableReadOnlyMode']('model');}function _0x302c3e(){return window['glob']&&window['glob']['triliumVersion'];}function _0x5752b5(_0x92b787){const _0x13c4ca=_0x2fb0ad();_0xc945a3[_0x13c4ca]='tableOfContentsLicenseKey'+_0x92b787,'Valid'!=_0x92b787&&_0x19077();}function _0x2fb0ad(){const _0x3e6368=window['String'](window['performance']['now']())['replace']('.','');let _0x1a8242='m';for(let _0x6ed75b=0x0;_0x6ed75b<_0x3e6368['length'];_0x6ed75b+=0x2){let _0x44fb46=window['parseInt'](_0x3e6368['substring'](_0x6ed75b,_0x6ed75b+0x2));_0x44fb46>=0x3e&&(_0x44fb46-=0x3e),_0x1a8242+=_0x4d301a[_0x44fb46];}return _0x1a8242;}function _0xe24cf2(){const _0x48cd40=_0x14090f['split']('.');if(0x3!=_0x48cd40['length'])return null;return _0x3b25b8(_0x48cd40[0x1]);function _0x3b25b8(_0x363e92){const _0x5eb386=_0x37f7ba(_0x363e92);return _0x5eb386&&_0x45a045()?_0x5eb386:null;function _0x45a045(){const _0x160c0c=_0x5eb386['jti'],_0x3e6ffe=window['parseInt'](_0x160c0c['substring'](_0x160c0c['length']-0x8),0x10),_0x39377f={..._0x5eb386,'jti':_0x160c0c['substring'](0x0,_0x160c0c['length']-0x8)};return delete _0x39377f['vc'],_0x3024a9(_0x39377f)==_0x3e6ffe;}}}async function _0x7d3d6a(){let _0x41422e=!0x0;try{const [_0x142015,_0x584f57,_0x26ac7e]=_0x14090f['split']('.');return _0x35ab27(_0x142015),await _0x299b6e(_0x142015,_0x584f57,_0x26ac7e),_0x41422e;}catch{return!0x1;}function _0x35ab27(_0x30b7fd){const _0x4f0c04=_0x37f7ba(_0x30b7fd);_0x4f0c04&&'ES256'==_0x4f0c04['alg']||(_0x41422e=!0x1);}async function _0x299b6e(_0x28cc57,_0x28851f,_0x46855c){const _0x34f4fa=window['Uint8Array']['from'](_0x4ffcd1(_0x46855c),_0x461e2b=>_0x461e2b['charCodeAt'](0x0)),_0x103ab9=new window['TextEncoder']()['encode'](_0x28cc57+'.'+_0x28851f),_0x587d7d=window['crypto']['subtle'];if(!_0x587d7d)return;const _0x22e9a5=await _0x587d7d['importKey']('jwk',_0x27ffb1,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x587d7d['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x22e9a5,_0x34f4fa,_0x103ab9)||(_0x41422e=!0x1);}}function _0x37f7ba(_0x132124){return _0x132124['startsWith']('ey')?JSON['parse'](_0x4ffcd1(_0x132124)):null;}function _0x4ffcd1(_0x62457d){return window['atob'](_0x62457d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3024a9(_0xc3f736){let _0x1bd7cb=0x1505;function _0x3331d0(_0x310526){for(let _0x4f79f8=0x0;_0x4f79f8<_0x310526['length'];_0x4f79f8++){const _0x4da5db=_0x310526['charCodeAt'](_0x4f79f8);_0x1bd7cb=(_0x1bd7cb<<0x5)+_0x1bd7cb+_0x4da5db,_0x1bd7cb&=_0x1bd7cb;}}function _0xeb4b34(_0x1449b7){Array['isArray'](_0x1449b7)?_0x1449b7['forEach'](_0xeb4b34):_0x1449b7&&'object'==typeof _0x1449b7?Object['entries'](_0x1449b7)['sort']()['forEach'](([_0x5d543f,_0x2bb26f])=>{_0x3331d0(_0x5d543f),_0xeb4b34(_0x2bb26f);}):_0x3331d0(window['String'](_0x1449b7));}return _0xeb4b34(_0xc3f736),_0x1bd7cb>>>0x0;}function _0x2d4f38(_0x58da76){return _0x58da76['toString'](0x10)['padStart'](0x8,'0');}function _0x39fde8(_0x49cf18){return _0x49cf18['split']('')['reverse']()['join']('');}function _0xaae849(){}_0x5752b5(await _0x21e4b3());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x26752f=>{'$graveyard'!==_0x26752f['rootName']&&this['editor']['editing']['reconvertItem'](_0x26752f);});}['_trackNewToCElements'](){for(const _0x403067 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x403067['type']||'tableOfContents'!==_0x403067['name'])return;this['_tableOfContentsElements']['add'](_0x403067['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0xda2f81){const _0x4037b9=this['editor'],_0x2a0336=[];for(const _0x2db5c2 of _0x4037b9['model']['document']['getRootNames']())_0x684462(_0x4037b9['model']['document']['getRoot'](_0x2db5c2));function _0x684462(_0x5a3849){for(const _0x138a87 of _0x5a3849['getChildren']())_0x138a87['is']('element')&&(_0xda2f81['includes'](_0x138a87['name'])&&_0x2a0336['push']({'level':_0xda2f81['indexOf'](_0x138a87['name'])+0x1,'text':b(_0x138a87),'modelElement':_0x138a87}),_0x684462(_0x138a87));}return _0x2a0336;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x53fc47=this['editor']['conversion'];_0x53fc47['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x53fc47['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x229ac0,{writer:_0x180aa6})=>this['_createTableOfContents'](_0x180aa6,!0x0)}),_0x53fc47['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x8b207e,{writer:_0x17292a})=>(this['_tableOfContentsElements']['add'](_0x8b207e),_0x3dd528(this['_createTableOfContents'](_0x17292a),_0x17292a,{'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'](_0x1a172e,_0x32f57f=!0x1){const {locale:_0x4993a9}=this['editor'],_0x39b8f7=_0x1a172e['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x32f57f&&{'data-table-of-contents-label':L(_0x4993a9,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x32f57f&&_0x1a172e['insert'](_0x1a172e['createPositionAt'](_0x39b8f7,'end'),_0x1a172e['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x1a172e['createText'](L(_0x4993a9,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x17fb72=_0x32f57f?'':'['+L(_0x4993a9,'Empty\x20heading')+']';let _0xdeaee3=_0x39b8f7;return this['_currentOutlineDefinitions']['forEach']((_0x4c24b9,_0xfa2985,_0x1287f1)=>{const _0xcff514=this['editor']['model']['hasContent'](_0x4c24b9['modelElement'],{'ignoreWhitespaces':!0x0}),_0x597d28=_0xcff514?_0x4c24b9['text']:_0x17fb72,_0x2421e9=_0x4c24b9['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x21af88=_0x1a172e['createContainerElement']('a',{'href':'#'+_0x2421e9,...!_0x32f57f&&{'tabindex':'-1'}},[_0x1a172e['createText'](_0x597d28)]),_0x463835=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x1a172e['setCustomProperty']('tableOfContentsHeadingIndex',_0xfa2985,_0x21af88);const _0x27f961=_0x1a172e['createContainerElement']('li',null,[_0xcff514||!_0x32f57f&&_0x463835?_0x21af88:_0x1a172e['createText']('')]),_0x3cd78d=_0xfa2985?_0x1287f1[_0xfa2985-0x1]['level']:0x0,_0x3f2098=Math['abs'](_0x4c24b9['level']-_0x3cd78d);if(_0x4c24b9['level']>_0x3cd78d){const _0x261447=P(_0x27f961,_0x3f2098,_0x1a172e);_0x1a172e['insert'](_0x1a172e['createPositionAt'](_0xdeaee3,'end'),_0x261447);}else{const _0xf484a7=function(_0x589270,_0x59ec6d){return _0x589270['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0xeb607c=>_0xeb607c['is']('element','ol'))[_0x59ec6d];}(_0xdeaee3,_0x3f2098);_0x1a172e['insert'](_0x1a172e['createPositionAt'](_0xf484a7,'end'),_0x27f961);}_0xdeaee3=_0x27f961;}),_0x39b8f7;}['_handleScrollToHeading'](_0x4efca7){const _0x338b5e=this['_currentOutlineDefinitions'][_0x4efca7]['modelElement'];this['editor']['model']['change'](_0x5afb1d=>{_0x5afb1d['setSelection'](_0x338b5e,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x1ecd7f,_0x280f80)=>{const _0x19f65d=_0x280f80['mapper'],_0xe67511=_0x19f65d['findMappedViewAncestor'](_0x280f80['viewPosition']),_0x57d555=_0x19f65d['toModelElement'](_0xe67511);_0x57d555['is']('element','tableOfContents')&&(_0x280f80['modelPosition']=this['editor']['model']['createPositionAt'](_0x57d555,0x0),_0x1ecd7f['stop']());};}};function P(_0x45a86a,_0x3900b1,_0x101f74){return 0x1===_0x3900b1?_0x101f74['createContainerElement']('ol',null,[_0x45a86a]):_0x101f74['createContainerElement']('ol',null,[_0x101f74['createContainerElement']('li',null,[P(_0x45a86a,_0x3900b1-0x1,_0x101f74)])]);}var U=class extends _0x2f046b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5a5b49=this['editor'];_0x5a5b49['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x3c2110=this['_createButton'](_0x1f19a7);return _0x3c2110['tooltip']=!0x0,_0x3c2110;}),_0x5a5b49['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0xcf4681)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3d43e3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x132d80;for(const _0x5c6794 in _0x3d43e3){const _0x1cb513=_0x5c6794,_0x291cad=_0x3d43e3[_0x1cb513];if('tableOfContentsLicenseKeyValid'==_0x291cad||'tableOfContentsLicenseKeyInvalid'==_0x291cad||'tableOfContentsLicenseKeyExpired'==_0x291cad||'tableOfContentsLicenseKeyDomainLimit'==_0x291cad||'tableOfContentsLicenseKeyNotAllowed'==_0x291cad||'tableOfContentsLicenseKeyEvaluationLimit'==_0x291cad||'tableOfContentsLicenseKeyUsageLimit'==_0x291cad){delete _0x3d43e3[_0x1cb513],_0x132d80=_0x291cad,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x132d80&&_0x3d43e3['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x132d80&&_0x3d43e3['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x132d80&&_0x3d43e3['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x132d80&&_0x3d43e3['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x132d80&&_0x3d43e3['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x132d80&&_0x3d43e3['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x582ecb){const _0x56b5d6=this['editor'],_0x533409=_0x56b5d6['locale'],_0x33f166=_0x56b5d6['commands']['get']('insertTableOfContents'),_0x10066f=new _0x582ecb(_0x533409);return _0x10066f['set']({'label':L(_0x533409,'Table\x20of\x20contents'),'icon':_0x4df0d6}),_0x10066f['bind']('isEnabled')['to'](_0x33f166,'isEnabled'),this['listenTo'](_0x10066f,'execute',()=>{_0x56b5d6['execute']('insertTableOfContents'),_0x56b5d6['editing']['view']['focus']();}),_0x10066f;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x2f046b{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 _0x22d6ff,Plugin as _0x4c7fd8}from'@ckeditor/ckeditor5-core';import{debounce as _0x2866a7,throttle as _0x16ae6d}from'es-toolkit/compat';import{ModelText as _0x5e8bbb,ModelTreeWalker as _0x1bac19}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x406bd9,Rect as _0x36e72a,diff as _0xea6791,diffToChanges as _0x50e342,global as _0x14b08a,priorities as _0x1a9476,scrollAncestorsToShowTarget as _0x10aecd,uid as _0x421ad2}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0xa975c7,MenuBarMenuListItemButtonView as _0x39c6c8,View as _0x33e866}from'@ckeditor/ckeditor5-ui';import{Widget as _0x2258d2,toWidget as _0x5398c7}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x1c7762}from'@ckeditor/ckeditor5-icons';function b(_0x37b8a3){let _0x2b6b29='';for(const _0x50bcda of _0x37b8a3['getChildren']())_0x50bcda instanceof _0x5e8bbb&&(_0x2b6b29+=_0x50bcda['data']);return _0x2b6b29;}var I=class extends _0x4c7fd8{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4b6072=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x16a3a2=[];_0x4b6072['model']['document']['on']('change',_0x2866a7(()=>{const _0x3e549f=_0x16a3a2;_0x16a3a2=this['_getOutlineDefinitions']();const _0x6e563c=_0x50e342(_0xea6791(_0x3e549f,_0x16a3a2,(_0x3e8530,_0x10beb6)=>_0x3e8530['level']===_0x10beb6['level']&&_0x3e8530['text']===_0x10beb6['text']&&_0x3e8530['modelElement']===_0x10beb6['modelElement']),_0x16a3a2),_0xb9741d=this['_getActiveHeading'](),_0x1d55f9=_0x16a3a2['findIndex'](_0x23541b=>_0x23541b['modelElement']===_0xb9741d);_0x6e563c['length']&&this['fire']('change',{'outlineDefinitions':_0x16a3a2,'activeItemIndex':_0x1d55f9,'outlineChanges':_0x6e563c}),this['fire']('activeItemIndex',{'index':_0x1d55f9});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x233457=this['editor'],_0xb25156=[],_0x6b8d64=this['_headingNames'];for(const _0x2c2f6e of _0x233457['model']['document']['getRootNames']())_0x36c1d7(_0x233457['model']['document']['getRoot'](_0x2c2f6e));function _0x36c1d7(_0x1fdd94){for(const _0x1f7884 of _0x1fdd94['getChildren']())_0x1f7884['is']('element')&&(_0x6b8d64['includes'](_0x1f7884['name'])&&_0xb25156['push']({'level':_0x6b8d64['indexOf'](_0x1f7884['name'])+0x1,'text':b(_0x1f7884),'modelElement':_0x1f7884}),_0x36c1d7(_0x1f7884));}return _0xb25156;}['_getActiveHeading'](){const _0x5c25f3=new _0x1bac19({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x5772ec of _0x5c25f3)if(_0x5772ec['item']['is']('element')&&this['_headingNames']['includes'](_0x5772ec['item']['name']))return _0x5772ec['item'];}['_getHeadingNames'](){const _0x274ce5=this['editor']['config']['get']('documentOutline.headings');return _0x274ce5||function(_0x58a2bc){const _0x4c4660=_0x58a2bc['config']['get']('heading.options');return _0x4c4660?_0x4c4660['reduce']((_0x581cb8,_0x27eba3)=>('paragraph'!==_0x27eba3['model']&&_0x581cb8['push'](_0x27eba3['model']),_0x581cb8),[]):_0x58a2bc['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x1a0ca9=this['editor'],_0x44b161=['h1','h2','h3','h4','h5','h6'],_0x5d4b53=[];for(const _0x592342 of _0x44b161){const _0x37f00f=_0x1a0ca9['editing']['view']['domConverter']['domToView'](document['createElement'](_0x592342)),_0x304226=_0x1a0ca9['data']['toModel'](_0x37f00f)['getChild'](0x0);_0x304226?.['is']('element')&&_0x5d4b53['push'](_0x304226['name']);}this['_headingNames']=_0x5d4b53;}};function L(_0x3dddf0,_0x204aec){const t=_0x3dddf0['t'];switch(_0x204aec){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 _0x204aec;}}var C=class extends _0x33e866{constructor(_0x5e6fbf,_0x3e0462=!0x1){super(_0x5e6fbf);const _0x4820a4=this['bindTemplate'],_0x132def=_0x3e0462?'['+L(_0x5e6fbf,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5b7679=>!_0x5b7679),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x4820a4['to']('level',_0x58e62a=>'ck-document-outline__item_level-'+_0x58e62a),_0x4820a4['if']('isActive','ck-document-outline__item_active'),_0x4820a4['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x4820a4['to']('text')},'children':[{'text':_0x4820a4['to']('text',_0x2da8ea=>_0x2da8ea||_0x132def)}],'on':{'click':_0x4820a4['to']('click')}});}},_=class extends _0x33e866{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x98762f,_0x5aa5ad=!0x1,_0x1523e5){super(_0x98762f),this['showEmptyHeadingText']=_0x5aa5ad,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x1523e5,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x2b3272,_0x5cd8bf,_0x2c110f,_0x4a5f84)=>{this['_setActiveItem'](_0x4a5f84,_0x2c110f);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x98762f['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x98762f,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5a6f4c){_0x5a6f4c['forEach'](_0x1bd864=>{'insert'==_0x1bd864['type']?this['_insertItem'](_0x1bd864['index'],..._0x1bd864['values']):'delete'==_0x1bd864['type']&&this['_deleteItem'](_0x1bd864['index'],_0x1bd864['howMany']);});}['_setActiveItem'](_0x3dec43,_0x3a3011){if(-0x1!==_0x3dec43){const _0x5a6171=this['items']['get'](_0x3dec43);_0x5a6171&&(_0x5a6171['isActive']=!0x1);}-0x1!==_0x3a3011&&(this['items']['get'](_0x3a3011)['isActive']=!0x0,this['_scrollToItem'](_0x3a3011));}['_insertItem'](_0x3b349c,..._0x59f48d){const _0x505c02=_0x59f48d['map']((_0x928725,_0x343235)=>{const _0x18a5d3=new C(this['locale'],this['showEmptyHeadingText']);return _0x18a5d3['text']=_0x928725['text'],_0x18a5d3['level']=_0x928725['level'],_0x3b349c+_0x343235===this['activeItemIndex']&&(_0x18a5d3['isActive']=!0x0),_0x18a5d3;});this['items']['addMany'](_0x505c02,_0x3b349c);}['_deleteItem'](_0xbeb4b2,_0x12a2fb){do{this['items']['remove'](_0xbeb4b2);}while(--_0x12a2fb);}['_handleItemClick'](_0x310683){const _0x22e596=this['items']['getIndex'](_0x310683['source']);this['fire']('itemSelected',_0x22e596);}['_scrollToItem'](_0x8b02f3){_0x10aecd(this['items']['get'](_0x8b02f3)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x4c7fd8{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x299984){super(_0x299984),this['view']=new _(_0x299984['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x16ae6d(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x1a49ae=this['editor'],_0x26f267=_0x1a49ae['plugins']['get']('DocumentOutlineUtils');let _0x33d84f=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x1a49ae['config']['get']('documentOutline.container'))throw new _0x406bd9('document-outline-container-not-provided',{'editor':_0x1a49ae});_0x1a49ae['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x26f267['on']('change',this['_handleOutlineChange']['bind'](this)),_0x26f267['on']('activeItemIndex',(_0x10db93,{index:_0x4d60c0})=>this['_setActiveViewItem'](_0x4d60c0)),this['view']['on']('itemSelected',(_0x4e8b91,_0xec4f90)=>{_0x33d84f=!0x0,this['_handleItemSelected'](_0xec4f90);}),this['view']['listenTo'](_0x14b08a['document'],'scroll',()=>{_0x33d84f?_0x33d84f=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x14b08a['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x4a6c73){const _0x593e6c='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x3c8236=0x78e70,_0x198004=window['Date']['now'](),_0x317768=_0x4a6c73['editor'],_0x3b7899=new window['Promise'](_0x3a2ede=>{_0x317768['once']('ready',_0x3a2ede);}),_0x22f68b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1bfe27=_0x317768['config']['get']('licenseKey');async function _0x3cdf62(){let _0x3c8a4a,_0x235e25=null,_0x2f1e00=null;try{return'GPL'==_0x1bfe27?'NotAllowed':(_0x3c8a4a=_0x2204c1(),_0x3c8a4a?(_0x3c8a4a['usageEndpoint']&&(_0x2f1e00=_0x21fea7(_0x3c8a4a['usageEndpoint'],_0x3c8a4a['jti'])),await _0x4741f6()?_0x25593e()?_0x5291f3()?'Expired':_0x8dd245()?('evaluation'==_0x3c8a4a['licenseType']&&(_0x235e25=_0xead213('EvaluationLimit')),await _0x3750eb()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5291f3(){const _0x1bedae=['evaluation','trial']['includes'](_0x3c8a4a['licenseType'])?_0x198004/0x3e8:0xe10*_0x3c8236;return _0x3c8a4a['exp']<_0x1bedae;}function _0x25593e(){const _0x2044b6=_0x3c8a4a['features'];return!!_0x2044b6&&(!!_0x2044b6['includes']('*')||(!!_0x2044b6['includes']('DO')||(!!_0x2044b6['includes']('PP')||!(!_0x2044b6['includes']('TRILIUM')||!_0x1c660e()))));}function _0x8dd245(){const _0x5e184f=_0x3c8a4a['licensedHosts'];if(!_0x5e184f||0x0==_0x5e184f['length'])return!0x0;const {hostname:_0x1c4d3a}=new URL(window['location']['href']);if(_0x5e184f['includes'](_0x1c4d3a))return!0x0;const _0x39a0eb=_0x1c4d3a['split']('.');return _0x5e184f['filter'](_0x31078d=>_0x31078d['includes']('*'))['map'](_0x3542ac=>_0x3542ac['split']('.'))['filter'](_0x2bfa7d=>_0x2bfa7d['length']<=_0x39a0eb['length'])['map'](_0x120057=>Array(_0x39a0eb['length']-_0x120057['length'])['fill']('*'===_0x120057[0x0]?'*':'')['concat'](_0x120057))['some'](_0x3916e0=>_0x39a0eb['every']((_0x566c34,_0x23db84)=>_0x3916e0[_0x23db84]===_0x566c34||'*'===_0x3916e0[_0x23db84]));}function _0x3750eb(){return _0x235e25&&_0x2f1e00?new window['Promise']((_0x13aeac,_0x232567)=>{_0x235e25['then'](_0x13aeac,_0x232567),_0x2f1e00['then'](_0x4303a6=>{'Valid'!=_0x4303a6&&_0x13aeac(_0x4303a6);},_0x232567);}):_0x235e25||_0x2f1e00||'Valid';}}function _0x21fea7(_0x22ccc8,_0x47e4d9){return new window['Promise'](_0x2f9884=>{if(_0x3e4c45())return _0x2f9884('Valid');_0x47a270(),_0x317768['decorate']('_sendUsageRequest');let _0x464be9=!0x1;const _0x225fad=_0x421ad2();function _0x26349e(_0xef211d){return!!_0xef211d&&('object'==typeof _0xef211d||'function'==typeof _0xef211d)&&'function'==typeof _0xef211d['then']&&'function'==typeof _0xef211d['catch'];}function _0x541ca3(_0x29f052){_0x7dad94(_0x29f052)['then'](_0x98f90e=>_0x98f90e&&'ok'==_0x98f90e['status']?_0x589cdd(_0x3e3bbc(_0x225fad+_0x47e4d9))!=_0x98f90e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0xd02edb=>(_0x235739(),_0xd02edb),()=>{const _0x2b3f17=_0x4dfa01();return null==_0x2b3f17?(_0x235739(),'Valid'):_0x198004-_0x2b3f17>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2f9884)['catch'](()=>{_0x2f9884('UsageLimit');});const _0x3d0c4c=0x36ee80;function _0x235739(){const _0x3ccc9a='llct-'+_0x589cdd(_0x3e3bbc(_0x22ccc8)),_0x313f77=_0x2b4cc4(_0x589cdd(window['Math']['ceil'](_0x198004/_0x3d0c4c)));window['localStorage']['setItem'](_0x3ccc9a,_0x313f77);}function _0x4dfa01(){const _0x1b4cea='llct-'+_0x589cdd(_0x3e3bbc(_0x22ccc8)),_0x30c4be=window['localStorage']['getItem'](_0x1b4cea);return _0x30c4be?window['parseInt'](_0x2b4cc4(_0x30c4be),0x10)*_0x3d0c4c:null;}function _0x7dad94(_0x4418ae){return new window['Promise']((_0x92763e,_0x13068a)=>{_0x4418ae['then'](_0x92763e,_0x13068a),window['setTimeout'](_0x13068a,0x1d4c0);});}}_0x317768['on']('_sendUsageRequest',(_0x26dac8,_0x3a0333)=>{if(_0x3a0333[0x0]!=_0x22ccc8)return _0x2f9884('UsageLimit');_0x3a0333[0x1]={..._0x3a0333[0x1],'requestId':_0x225fad};},{'priority':'high'}),_0x317768['on']('_sendUsageRequest',_0x180f1d=>{_0x26349e(_0x180f1d['return'])&&(_0x464be9=!0x0,_0x541ca3(_0x180f1d['return']));},{'priority':'low'}),_0x3b7899['then'](()=>{_0x464be9||_0x2f9884('UsageLimit');});});function _0x3e4c45(){return'auto'==_0x317768['editing']['view']['_overlayModeHint'];}function _0x47a270(){_0x317768['editing']['view']['_overlayModeHint']='auto';}}function _0xead213(_0x1f711f){const _0x28a1fd=[new window['Promise'](_0x39c07d=>setTimeout(_0x39c07d,0x93ecc)),_0x3b7899['then'](()=>new window['Promise'](_0x564977=>{let _0x151fbb=0x0;_0x317768['model']['on']('applyOperation',(_0x2ec210,_0x2bae64)=>{_0x2bae64[0x0]['isDocumentOperation']&&_0x151fbb++,0x5e8==_0x151fbb&&(_0x564977(),_0x2ec210['off']());});}))];return window['Promise']['race'](_0x28a1fd)['then'](()=>_0x1f711f);}async function _0x3dce31(){await _0x3b7899,_0x317768['model']['change']=_0x3b4151,_0x317768['model']['enqueueChange']=_0x3b4151,_0x317768['enableReadOnlyMode']('model');}function _0x1c660e(){return window['glob']&&window['glob']['triliumVersion'];}function _0x57f702(_0x38d248){const _0x186700=_0x3b182f();_0x317768[_0x186700]='documentOutlineLicenseKey'+_0x38d248,'Valid'!=_0x38d248&&_0x3dce31();}function _0x3b182f(){const _0x3d3441=window['String'](window['performance']['now']())['replace']('.','');let _0x3fb9d4='a';for(let _0x547d1d=0x0;_0x547d1d<_0x3d3441['length'];_0x547d1d+=0x2){let _0x1bd273=window['parseInt'](_0x3d3441['substring'](_0x547d1d,_0x547d1d+0x2));_0x1bd273>=0x3e&&(_0x1bd273-=0x3e),_0x3fb9d4+=_0x593e6c[_0x1bd273];}return _0x3fb9d4;}function _0x2204c1(){const _0x18df55=_0x1bfe27['split']('.');if(0x3!=_0x18df55['length'])return null;return _0x595579(_0x18df55[0x1]);function _0x595579(_0x3c78cb){const _0x25f9d0=_0x2655b3(_0x3c78cb);return _0x25f9d0&&_0x1e9214()?_0x25f9d0:null;function _0x1e9214(){const _0x4c3485=_0x25f9d0['jti'],_0x5c7f35=window['parseInt'](_0x4c3485['substring'](_0x4c3485['length']-0x8),0x10),_0x1784db={..._0x25f9d0,'jti':_0x4c3485['substring'](0x0,_0x4c3485['length']-0x8)};return delete _0x1784db['vc'],_0x3e3bbc(_0x1784db)==_0x5c7f35;}}}async function _0x4741f6(){let _0x27e561=!0x0;try{const [_0x5d7e95,_0xe7c969,_0x39ca04]=_0x1bfe27['split']('.');return _0x53f0cc(_0x5d7e95),await _0x347c11(_0x5d7e95,_0xe7c969,_0x39ca04),_0x27e561;}catch{return!0x1;}function _0x53f0cc(_0x8c3b57){const _0x5cb2b2=_0x2655b3(_0x8c3b57);_0x5cb2b2&&'ES256'==_0x5cb2b2['alg']||(_0x27e561=!0x1);}async function _0x347c11(_0x3af148,_0x198974,_0x2064cb){const _0x1e2c98=window['Uint8Array']['from'](_0x581581(_0x2064cb),_0x36b342=>_0x36b342['charCodeAt'](0x0)),_0x19a8cb=new window['TextEncoder']()['encode'](_0x3af148+'.'+_0x198974),_0x47d547=window['crypto']['subtle'];if(!_0x47d547)return;const _0x3c37ea=await _0x47d547['importKey']('jwk',_0x22f68b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x47d547['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3c37ea,_0x1e2c98,_0x19a8cb)||(_0x27e561=!0x1);}}function _0x2655b3(_0x4e1c06){return _0x4e1c06['startsWith']('ey')?JSON['parse'](_0x581581(_0x4e1c06)):null;}function _0x581581(_0x3e6f6d){return window['atob'](_0x3e6f6d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3e3bbc(_0x19b72d){let _0x5c3369=0x1505;function _0xb90ebe(_0x39ad44){for(let _0x3ed89f=0x0;_0x3ed89f<_0x39ad44['length'];_0x3ed89f++){const _0x47f7af=_0x39ad44['charCodeAt'](_0x3ed89f);_0x5c3369=(_0x5c3369<<0x5)+_0x5c3369+_0x47f7af,_0x5c3369&=_0x5c3369;}}function _0x4fd35f(_0x3ef25e){Array['isArray'](_0x3ef25e)?_0x3ef25e['forEach'](_0x4fd35f):_0x3ef25e&&'object'==typeof _0x3ef25e?Object['entries'](_0x3ef25e)['sort']()['forEach'](([_0x459e70,_0x96f10a])=>{_0xb90ebe(_0x459e70),_0x4fd35f(_0x96f10a);}):_0xb90ebe(window['String'](_0x3ef25e));}return _0x4fd35f(_0x19b72d),_0x5c3369>>>0x0;}function _0x589cdd(_0x3bc8a5){return _0x3bc8a5['toString'](0x10)['padStart'](0x8,'0');}function _0x2b4cc4(_0x3177b3){return _0x3177b3['split']('')['reverse']()['join']('');}function _0x3b4151(){}_0x57f702(await _0x3cdf62());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x2e83f9,{outlineDefinitions:_0x335872,outlineChanges:_0x14bfdb}){this['_currentOutlineDefinitions']=_0x335872,this['view']['sync'](_0x14bfdb);}['_setActiveViewItem'](_0x1548c7){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1548c7]&&(this['view']['activeItemIndex']=_0x1548c7);}['_handleItemSelected'](_0x346565){const _0x33eec9=this['_currentOutlineDefinitions'][_0x346565]['modelElement'];this['editor']['model']['change'](_0x364da4=>{_0x364da4['setSelection'](_0x33eec9,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x346565);}['_updateActiveDefinitionOnViewportChange'](){const _0x4bbccc=this['editor'];let _0x2e2794;for(const _0x2238a3 of _0x4bbccc['model']['document']['getRootNames']()){const _0x254137=_0x4bbccc['editing']['view']['getDomRoot'](_0x2238a3),_0x49bf4c=_0x254137&&new _0x36e72a(_0x254137)['getVisible']();if(_0x49bf4c){const _0x15b7f5=new _0x36e72a(_0x14b08a['window'])['getIntersection'](_0x49bf4c);_0x15b7f5&&(_0x2e2794=_0x15b7f5['top']+0.25*_0x15b7f5['height']);}}if(void 0x0===_0x2e2794)return;const _0x5c14d8=k(_0x4bbccc['editing'],this['_currentOutlineDefinitions'],_0x2e2794);_0x5c14d8?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x5c14d8)):this['_setActiveViewItem'](-0x1);}};function k(_0x33a7b9,_0x1106df,_0x378f6d,_0x38165c=0x0,_0x366239=_0x1106df['length']-0x1){const _0x36b705=Math['floor'](_0x38165c+(_0x366239-_0x38165c)/0x2);if(_0x366239>=_0x38165c){const _0x2bb3b0=_0x1106df[_0x36b705],_0x182328=_0x33a7b9['mapper']['toViewElement'](_0x2bb3b0['modelElement']);return _0x182328?new _0x36e72a(_0x33a7b9['view']['domConverter']['mapViewToDom'](_0x182328))['bottom']>_0x378f6d?k(_0x33a7b9,_0x1106df,_0x378f6d,_0x38165c,_0x36b705-0x1):k(_0x33a7b9,_0x1106df,_0x378f6d,_0x36b705+0x1,_0x366239):null;}return _0x36b705<0x0?null:_0x1106df[_0x36b705];}var E=class extends _0x4c7fd8{['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 _0x47a998=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28f2e8;for(const _0x5e292f in _0x47a998){const _0x4cd8db=_0x5e292f,_0x236e27=_0x47a998[_0x4cd8db];if('documentOutlineLicenseKeyValid'==_0x236e27||'documentOutlineLicenseKeyInvalid'==_0x236e27||'documentOutlineLicenseKeyExpired'==_0x236e27||'documentOutlineLicenseKeyDomainLimit'==_0x236e27||'documentOutlineLicenseKeyNotAllowed'==_0x236e27||'documentOutlineLicenseKeyEvaluationLimit'==_0x236e27||'documentOutlineLicenseKeyUsageLimit'==_0x236e27){delete _0x47a998[_0x4cd8db],_0x28f2e8=_0x236e27,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x28f2e8&&_0x47a998['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x28f2e8&&_0x47a998['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x28f2e8&&_0x47a998['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x28f2e8&&_0x47a998['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x28f2e8&&_0x47a998['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x28f2e8&&_0x47a998['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x22d6ff{['execute'](){this['editor']['model']['change'](_0x3c477c=>{this['editor']['model']['insertObject'](_0x3c477c['createElement']('tableOfContents'));});}['refresh'](){const _0x4ac1cd=this['editor']['model'],_0xe0c76=_0x4ac1cd['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0xe0c76&&_0x4ac1cd['schema']['findAllowedParent'](_0xe0c76,'tableOfContents'));}},A=class extends _0x4c7fd8{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x7e8c59=this['editor'];if(_0x7e8c59['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x7a55e0,modelNames:_0x2f7425}=function(_0x46ef09){const _0x506efa=new Set(),_0x36dba4=new Set();if(!_0x46ef09)return{'viewNames':_0x506efa,'modelNames':_0x36dba4};for(const _0x54c191 of _0x46ef09){if('paragraph'===_0x54c191['model'])continue;const _0x49fbc0='string'==typeof _0x54c191['view']?_0x54c191['view']:_0x54c191['view']['name'];_0x506efa['add'](_0x49fbc0),_0x36dba4['add'](_0x54c191['model']);}return _0x506efa['has']('h1')||(_0x506efa['add']('h1'),_0x36dba4['add']('heading1')),{'viewNames':_0x506efa,'modelNames':_0x36dba4};}(this['editor']['config']['get']('heading.options'));for(const _0x6ff88c of _0x7a55e0)this['_customUpcastHeadingsConversion'](_0x6ff88c);for(const _0x26c7fa of _0x2f7425)this['_customDataDowncastHeadingsConversion'](_0x26c7fa),_0x7e8c59['model']['schema']['isRegistered'](_0x26c7fa)&&_0x7e8c59['model']['schema']['extend'](_0x26c7fa,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x2f7425);}['_customUpcastHeadingsConversion'](_0x599611){this['editor']['conversion']['for']('upcast')['add'](_0x4052bf=>_0x4052bf['on']('element:'+_0x599611,(_0x2a59c4,_0x496952,_0x2dbbee)=>{const {consumable:_0x230b57,writer:_0x4a1232}=_0x2dbbee,_0x7b833b=_0x496952['viewItem']['getAttribute']('id'),_0x3c1231=_0x496952['modelRange']?.['getContainedElement']();if(_0x3c1231)return _0x7b833b&&_0x7b833b['length']||_0x3c1231['hasAttribute']('headingId')?void(_0x230b57['consume'](_0x496952['viewItem'],{'attributes':['id']})&&_0x4a1232['setAttribute']('headingId',_0x7b833b,_0x3c1231)):(_0x230b57['consume'](_0x496952['viewItem'],{'attributes':['id']}),void _0x4a1232['setAttribute']('headingId',_0x421ad2(),_0x3c1231));},{'priority':_0x1a9476['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x466d6a){this['editor']['conversion']['for']('downcast')['add'](_0x2cbefb=>_0x2cbefb['on']('attribute:headingId:'+_0x466d6a,(_0x3d0392,_0x21940d,_0x5908dc)=>{if(!_0x5908dc['consumable']['consume'](_0x21940d['item'],_0x3d0392['name']))return;const _0x2c9876=_0x21940d['item']['getAttribute']('headingId'),_0x5d3113=_0x5908dc['mapper']['toViewElement'](_0x21940d['item']);_0x5908dc['writer']['setAttribute']('id',_0x2c9876,_0x5d3113);}));}['_registerHeadingIdAttributePostfixer'](_0x1c3d0e){const _0x206786=this['editor'],_0x5bbcf0=new Set(),_0x56f27d=new Set();function _0x34b899(_0x4208fa,_0x4d44c8){const _0x184ac0=_0x421ad2();return _0x56f27d['add'](_0x184ac0),_0x4208fa['setAttribute']('headingId',_0x184ac0,_0x4d44c8),_0x184ac0;}function _0x2aef3d(_0x4f50e3,_0x3c6f72){_0x4f50e3['removeAttribute']('headingId',_0x3c6f72);}_0x206786['model']['document']['registerPostFixer'](_0x5d464e=>{const _0x448451=_0x206786['model']['document']['differ']['getChanges']();let _0x2512be=!0x1;for(const _0x5e1989 of _0x448451)if('insert'==_0x5e1989['type']&&_0x5e1989['name']){if(_0x1c3d0e['has'](_0x5e1989['name'])){const _0x3a4188=_0x5e1989['attributes']['get']('headingId');'string'==typeof _0x3a4188?_0x5bbcf0['has'](_0x3a4188)?(_0x34b899(_0x5d464e,_0x5e1989['position']['nodeAfter']),_0x2512be=!0x0):_0x56f27d['add'](_0x3a4188):(_0x34b899(_0x5d464e,_0x5e1989['position']['nodeAfter']),_0x2512be=!0x0);}else'string'==typeof _0x5e1989['attributes']['get']('headingId')&&(_0x2aef3d(_0x5d464e,_0x5e1989['position']['nodeAfter']),_0x2512be=!0x0);}else{if('remove'==_0x5e1989['type']){const _0x1f11aa=_0x5e1989['attributes']['get']('headingId');'string'==typeof _0x1f11aa&&_0x5bbcf0['delete'](_0x1f11aa);}}return _0x2512be;}),_0x206786['model']['document']['on']('change',()=>{_0x56f27d['forEach'](_0x44be42=>_0x5bbcf0['add'](_0x44be42)),_0x56f27d['clear']();});}},N=class extends _0x4c7fd8{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2258d2,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x42b186){super(_0x42b186),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x524795=this['editor'],_0x59a91d=_0x524795['editing']['view']['document'];_0x524795['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x524795['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x59a91d,'click',(_0x44b5cd,_0x191f7d)=>{if(!_0x191f7d['target'])return;const _0x5d8d7d=_0x191f7d['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5d8d7d)&&(_0x191f7d['domEvent']['preventDefault'](),_0x44b5cd['stop'](),this['_handleScrollToHeading'](_0x5d8d7d));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x524795['commands']['add']('insertTableOfContents',new K(_0x524795));const _0x4b673c=_0x524795['config']['get']('tableOfContents.headings');_0x4b673c&&_0x4b673c['length']?this['listenTo'](_0x524795['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x4b673c),this['_updateTableOfContentsElements']();}):_0x524795['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2cf397,_0xe2f730)=>{this['_currentOutlineDefinitions']=_0xe2f730['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x524795['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x9daa3c){const _0x1d9db7='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x7b3734=0x78e70,_0x2e7d60=window['Date']['now'](),_0x519abd=_0x9daa3c['editor'],_0x21d34a=new window['Promise'](_0x5b8fc4=>{_0x519abd['once']('ready',_0x5b8fc4);}),_0x1f5c51={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x432a19=_0x519abd['config']['get']('licenseKey');async function _0x22ada6(){let _0x39235d,_0x15ccbe=null,_0x12b046=null;try{return'GPL'==_0x432a19?'NotAllowed':(_0x39235d=_0x31f868(),_0x39235d?(_0x39235d['usageEndpoint']&&(_0x12b046=_0x5b31d9(_0x39235d['usageEndpoint'],_0x39235d['jti'])),await _0xdde018()?_0x3f5e9e()?_0x30a077()?'Expired':_0x159198()?('evaluation'==_0x39235d['licenseType']&&(_0x15ccbe=_0x37dc3f('EvaluationLimit')),await _0x220cb0()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x30a077(){const _0x31aa2e=['evaluation','trial']['includes'](_0x39235d['licenseType'])?_0x2e7d60/0x3e8:0xe10*_0x7b3734;return _0x39235d['exp']<_0x31aa2e;}function _0x3f5e9e(){const _0x22fdde=_0x39235d['features'];return!!_0x22fdde&&(!!_0x22fdde['includes']('*')||(!!_0x22fdde['includes']('TOC')||(!!_0x22fdde['includes']('PP')||!(!_0x22fdde['includes']('TRILIUM')||!_0x29c5bf()))));}function _0x159198(){const _0x5fbca7=_0x39235d['licensedHosts'];if(!_0x5fbca7||0x0==_0x5fbca7['length'])return!0x0;const {hostname:_0x47dc29}=new URL(window['location']['href']);if(_0x5fbca7['includes'](_0x47dc29))return!0x0;const _0x5e9c00=_0x47dc29['split']('.');return _0x5fbca7['filter'](_0x3b16cf=>_0x3b16cf['includes']('*'))['map'](_0x55722=>_0x55722['split']('.'))['filter'](_0x27a587=>_0x27a587['length']<=_0x5e9c00['length'])['map'](_0x4c05be=>Array(_0x5e9c00['length']-_0x4c05be['length'])['fill']('*'===_0x4c05be[0x0]?'*':'')['concat'](_0x4c05be))['some'](_0x5eea49=>_0x5e9c00['every']((_0xae7b30,_0x11238f)=>_0x5eea49[_0x11238f]===_0xae7b30||'*'===_0x5eea49[_0x11238f]));}function _0x220cb0(){return _0x15ccbe&&_0x12b046?new window['Promise']((_0x1f3a34,_0x5d470d)=>{_0x15ccbe['then'](_0x1f3a34,_0x5d470d),_0x12b046['then'](_0x280daa=>{'Valid'!=_0x280daa&&_0x1f3a34(_0x280daa);},_0x5d470d);}):_0x15ccbe||_0x12b046||'Valid';}}function _0x5b31d9(_0x53d62f,_0x55cda6){return new window['Promise'](_0x182515=>{if(_0x53a7be())return _0x182515('Valid');_0x1a79eb(),_0x519abd['decorate']('_sendUsageRequest');let _0x5273e6=!0x1;const _0x24bd7e=_0x421ad2();function _0x2ac29f(_0x5527bf){return!!_0x5527bf&&('object'==typeof _0x5527bf||'function'==typeof _0x5527bf)&&'function'==typeof _0x5527bf['then']&&'function'==typeof _0x5527bf['catch'];}function _0x1a7307(_0x29267a){_0x59fb2c(_0x29267a)['then'](_0x57ca39=>_0x57ca39&&'ok'==_0x57ca39['status']?_0x950884(_0xba0e3e(_0x24bd7e+_0x55cda6))!=_0x57ca39['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3bc78a=>(_0x4906de(),_0x3bc78a),()=>{const _0x43d9b1=_0x815668();return null==_0x43d9b1?(_0x4906de(),'Valid'):_0x2e7d60-_0x43d9b1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x182515)['catch'](()=>{_0x182515('UsageLimit');});const _0x20fb75=0x36ee80;function _0x4906de(){const _0x150e17='llct-'+_0x950884(_0xba0e3e(_0x53d62f)),_0x1b666c=_0x136159(_0x950884(window['Math']['ceil'](_0x2e7d60/_0x20fb75)));window['localStorage']['setItem'](_0x150e17,_0x1b666c);}function _0x815668(){const _0x42b655='llct-'+_0x950884(_0xba0e3e(_0x53d62f)),_0x4bdc86=window['localStorage']['getItem'](_0x42b655);return _0x4bdc86?window['parseInt'](_0x136159(_0x4bdc86),0x10)*_0x20fb75:null;}function _0x59fb2c(_0x860d52){return new window['Promise']((_0x547cac,_0x53cf9c)=>{_0x860d52['then'](_0x547cac,_0x53cf9c),window['setTimeout'](_0x53cf9c,0x1d4c0);});}}_0x519abd['on']('_sendUsageRequest',(_0x3c0cdd,_0x37efdb)=>{if(_0x37efdb[0x0]!=_0x53d62f)return _0x182515('UsageLimit');_0x37efdb[0x1]={..._0x37efdb[0x1],'requestId':_0x24bd7e};},{'priority':'high'}),_0x519abd['on']('_sendUsageRequest',_0x22bfdd=>{_0x2ac29f(_0x22bfdd['return'])&&(_0x5273e6=!0x0,_0x1a7307(_0x22bfdd['return']));},{'priority':'low'}),_0x21d34a['then'](()=>{_0x5273e6||_0x182515('UsageLimit');});});function _0x53a7be(){return'auto'==_0x519abd['editing']['view']['_overlayModeHint'];}function _0x1a79eb(){_0x519abd['editing']['view']['_overlayModeHint']='auto';}}function _0x37dc3f(_0x4ce54a){const _0x47d85f=[new window['Promise'](_0x843e4a=>setTimeout(_0x843e4a,0x93ecc)),_0x21d34a['then'](()=>new window['Promise'](_0x49832d=>{let _0x100814=0x0;_0x519abd['model']['on']('applyOperation',(_0xc6d6db,_0x323e89)=>{_0x323e89[0x0]['isDocumentOperation']&&_0x100814++,0x5e8==_0x100814&&(_0x49832d(),_0xc6d6db['off']());});}))];return window['Promise']['race'](_0x47d85f)['then'](()=>_0x4ce54a);}async function _0x35c71e(){await _0x21d34a,_0x519abd['model']['change']=_0x439409,_0x519abd['model']['enqueueChange']=_0x439409,_0x519abd['enableReadOnlyMode']('model');}function _0x29c5bf(){return window['glob']&&window['glob']['triliumVersion'];}function _0x12a9d9(_0x1904bc){const _0x42ec67=_0xbeaadf();_0x519abd[_0x42ec67]='tableOfContentsLicenseKey'+_0x1904bc,'Valid'!=_0x1904bc&&_0x35c71e();}function _0xbeaadf(){const _0x1f1168=window['String'](window['performance']['now']())['replace']('.','');let _0x587dfb='m';for(let _0x1e22b2=0x0;_0x1e22b2<_0x1f1168['length'];_0x1e22b2+=0x2){let _0x1d2160=window['parseInt'](_0x1f1168['substring'](_0x1e22b2,_0x1e22b2+0x2));_0x1d2160>=0x3e&&(_0x1d2160-=0x3e),_0x587dfb+=_0x1d9db7[_0x1d2160];}return _0x587dfb;}function _0x31f868(){const _0x5aeef9=_0x432a19['split']('.');if(0x3!=_0x5aeef9['length'])return null;return _0x1d0d8d(_0x5aeef9[0x1]);function _0x1d0d8d(_0x1c263c){const _0x232a7d=_0x152b88(_0x1c263c);return _0x232a7d&&_0x3e39cf()?_0x232a7d:null;function _0x3e39cf(){const _0x5a90fe=_0x232a7d['jti'],_0x3d91f2=window['parseInt'](_0x5a90fe['substring'](_0x5a90fe['length']-0x8),0x10),_0x36eb72={..._0x232a7d,'jti':_0x5a90fe['substring'](0x0,_0x5a90fe['length']-0x8)};return delete _0x36eb72['vc'],_0xba0e3e(_0x36eb72)==_0x3d91f2;}}}async function _0xdde018(){let _0x163303=!0x0;try{const [_0x391285,_0x2e1154,_0x14eb1e]=_0x432a19['split']('.');return _0x38fca8(_0x391285),await _0x4706bd(_0x391285,_0x2e1154,_0x14eb1e),_0x163303;}catch{return!0x1;}function _0x38fca8(_0x5197ba){const _0x2853a9=_0x152b88(_0x5197ba);_0x2853a9&&'ES256'==_0x2853a9['alg']||(_0x163303=!0x1);}async function _0x4706bd(_0x1c055f,_0x22c155,_0x23ce4d){const _0xa66d9c=window['Uint8Array']['from'](_0x2af7b9(_0x23ce4d),_0xf2bf2a=>_0xf2bf2a['charCodeAt'](0x0)),_0x4c059a=new window['TextEncoder']()['encode'](_0x1c055f+'.'+_0x22c155),_0x367cb7=window['crypto']['subtle'];if(!_0x367cb7)return;const _0x25290d=await _0x367cb7['importKey']('jwk',_0x1f5c51,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x367cb7['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x25290d,_0xa66d9c,_0x4c059a)||(_0x163303=!0x1);}}function _0x152b88(_0xa8e0ee){return _0xa8e0ee['startsWith']('ey')?JSON['parse'](_0x2af7b9(_0xa8e0ee)):null;}function _0x2af7b9(_0x63768){return window['atob'](_0x63768['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xba0e3e(_0xd970dd){let _0x4dc7e0=0x1505;function _0x40f1c3(_0x255678){for(let _0x4684b6=0x0;_0x4684b6<_0x255678['length'];_0x4684b6++){const _0x476784=_0x255678['charCodeAt'](_0x4684b6);_0x4dc7e0=(_0x4dc7e0<<0x5)+_0x4dc7e0+_0x476784,_0x4dc7e0&=_0x4dc7e0;}}function _0x2bb7d5(_0x8fc9a6){Array['isArray'](_0x8fc9a6)?_0x8fc9a6['forEach'](_0x2bb7d5):_0x8fc9a6&&'object'==typeof _0x8fc9a6?Object['entries'](_0x8fc9a6)['sort']()['forEach'](([_0xa76035,_0x5712fe])=>{_0x40f1c3(_0xa76035),_0x2bb7d5(_0x5712fe);}):_0x40f1c3(window['String'](_0x8fc9a6));}return _0x2bb7d5(_0xd970dd),_0x4dc7e0>>>0x0;}function _0x950884(_0x371c02){return _0x371c02['toString'](0x10)['padStart'](0x8,'0');}function _0x136159(_0x4d961b){return _0x4d961b['split']('')['reverse']()['join']('');}function _0x439409(){}_0x12a9d9(await _0x22ada6());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0xc02b59=>{'$graveyard'!==_0xc02b59['rootName']&&this['editor']['editing']['reconvertItem'](_0xc02b59);});}['_trackNewToCElements'](){for(const _0x8a4e03 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x8a4e03['type']||'tableOfContents'!==_0x8a4e03['name'])return;this['_tableOfContentsElements']['add'](_0x8a4e03['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x2b6991){const _0x5d86af=this['editor'],_0x4d8c13=[];for(const _0x35fab2 of _0x5d86af['model']['document']['getRootNames']())_0x597684(_0x5d86af['model']['document']['getRoot'](_0x35fab2));function _0x597684(_0x8237f5){for(const _0x3b7cc4 of _0x8237f5['getChildren']())_0x3b7cc4['is']('element')&&(_0x2b6991['includes'](_0x3b7cc4['name'])&&_0x4d8c13['push']({'level':_0x2b6991['indexOf'](_0x3b7cc4['name'])+0x1,'text':b(_0x3b7cc4),'modelElement':_0x3b7cc4}),_0x597684(_0x3b7cc4));}return _0x4d8c13;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x328637=this['editor']['conversion'];_0x328637['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x328637['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x1d1a0e,{writer:_0x27d4b5})=>this['_createTableOfContents'](_0x27d4b5,!0x0)}),_0x328637['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x18c6bc,{writer:_0x2f065b})=>(this['_tableOfContentsElements']['add'](_0x18c6bc),_0x5398c7(this['_createTableOfContents'](_0x2f065b),_0x2f065b,{'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'](_0x2e027d,_0x11b384=!0x1){const {locale:_0xe5ccb2}=this['editor'],_0x241408=_0x2e027d['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x11b384&&{'data-table-of-contents-label':L(_0xe5ccb2,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x11b384&&_0x2e027d['insert'](_0x2e027d['createPositionAt'](_0x241408,'end'),_0x2e027d['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2e027d['createText'](L(_0xe5ccb2,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x52a900=_0x11b384?'':'['+L(_0xe5ccb2,'Empty\x20heading')+']';let _0x331044=_0x241408;return this['_currentOutlineDefinitions']['forEach']((_0x403f3a,_0x23ae4e,_0x3927e0)=>{const _0x29ddef=this['editor']['model']['hasContent'](_0x403f3a['modelElement'],{'ignoreWhitespaces':!0x0}),_0x1cb283=_0x29ddef?_0x403f3a['text']:_0x52a900,_0x1da8c3=_0x403f3a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x60339c=_0x2e027d['createContainerElement']('a',{'href':'#'+_0x1da8c3,...!_0x11b384&&{'tabindex':'-1'}},[_0x2e027d['createText'](_0x1cb283)]),_0x442865=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2e027d['setCustomProperty']('tableOfContentsHeadingIndex',_0x23ae4e,_0x60339c);const _0xc68f11=_0x2e027d['createContainerElement']('li',null,[_0x29ddef||!_0x11b384&&_0x442865?_0x60339c:_0x2e027d['createText']('')]),_0x2d18c8=_0x23ae4e?_0x3927e0[_0x23ae4e-0x1]['level']:0x0,_0x19297b=Math['abs'](_0x403f3a['level']-_0x2d18c8);if(_0x403f3a['level']>_0x2d18c8){const _0xa1b02a=P(_0xc68f11,_0x19297b,_0x2e027d);_0x2e027d['insert'](_0x2e027d['createPositionAt'](_0x331044,'end'),_0xa1b02a);}else{const _0x3d6bd9=function(_0x5ee997,_0x17fcc2){return _0x5ee997['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x453d5c=>_0x453d5c['is']('element','ol'))[_0x17fcc2];}(_0x331044,_0x19297b);_0x2e027d['insert'](_0x2e027d['createPositionAt'](_0x3d6bd9,'end'),_0xc68f11);}_0x331044=_0xc68f11;}),_0x241408;}['_handleScrollToHeading'](_0x1834e8){const _0x178319=this['_currentOutlineDefinitions'][_0x1834e8]['modelElement'];this['editor']['model']['change'](_0x198914=>{_0x198914['setSelection'](_0x178319,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x48c8db,_0x57e2c5)=>{const _0x2f680d=_0x57e2c5['mapper'],_0x47a61e=_0x2f680d['findMappedViewAncestor'](_0x57e2c5['viewPosition']),_0x182227=_0x2f680d['toModelElement'](_0x47a61e);_0x182227['is']('element','tableOfContents')&&(_0x57e2c5['modelPosition']=this['editor']['model']['createPositionAt'](_0x182227,0x0),_0x48c8db['stop']());};}};function P(_0x2250ba,_0x4f80ad,_0x3a5906){return 0x1===_0x4f80ad?_0x3a5906['createContainerElement']('ol',null,[_0x2250ba]):_0x3a5906['createContainerElement']('ol',null,[_0x3a5906['createContainerElement']('li',null,[P(_0x2250ba,_0x4f80ad-0x1,_0x3a5906)])]);}var U=class extends _0x4c7fd8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x575a90=this['editor'];_0x575a90['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x42334d=this['_createButton'](_0xa975c7);return _0x42334d['tooltip']=!0x0,_0x42334d;}),_0x575a90['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x39c6c8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a5e49=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x473a0c;for(const _0x510ac1 in _0x3a5e49){const _0x514d8b=_0x510ac1,_0x2f259a=_0x3a5e49[_0x514d8b];if('tableOfContentsLicenseKeyValid'==_0x2f259a||'tableOfContentsLicenseKeyInvalid'==_0x2f259a||'tableOfContentsLicenseKeyExpired'==_0x2f259a||'tableOfContentsLicenseKeyDomainLimit'==_0x2f259a||'tableOfContentsLicenseKeyNotAllowed'==_0x2f259a||'tableOfContentsLicenseKeyEvaluationLimit'==_0x2f259a||'tableOfContentsLicenseKeyUsageLimit'==_0x2f259a){delete _0x3a5e49[_0x514d8b],_0x473a0c=_0x2f259a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x473a0c&&_0x3a5e49['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x473a0c&&_0x3a5e49['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x473a0c&&_0x3a5e49['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x473a0c&&_0x3a5e49['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x473a0c&&_0x3a5e49['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x473a0c&&_0x3a5e49['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x44b8ee){const _0x29da19=this['editor'],_0x187ca8=_0x29da19['locale'],_0x5da170=_0x29da19['commands']['get']('insertTableOfContents'),_0x2d0d31=new _0x44b8ee(_0x187ca8);return _0x2d0d31['set']({'label':L(_0x187ca8,'Table\x20of\x20contents'),'icon':_0x1c7762}),_0x2d0d31['bind']('isEnabled')['to'](_0x5da170,'isEnabled'),this['listenTo'](_0x2d0d31,'execute',()=>{_0x29da19['execute']('insertTableOfContents'),_0x29da19['editing']['view']['focus']();}),_0x2d0d31;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x4c7fd8{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':_0x51c6b7=>0x1!=_0x51c6b7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13926f=>{const {af:{dictionary:_0x5939b8,getPluralForm:_0x1e8e6e}}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x775610=>0x1!=_0x775610}};_0x13926f['af']||={'dictionary':{},'getPluralForm':null},_0x13926f['af']['dictionary']=Object['assign'](_0x13926f['af']['dictionary'],_0x5939b8),_0x13926f['af']['getPluralForm']=_0x1e8e6e;})(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':_0x239f91=>0x0==_0x239f91?0x0:0x1==_0x239f91?0x1:0x2==_0x239f91?0x2:_0x239f91%0x64>=0x3&&_0x239f91%0x64<=0xa?0x3:_0x239f91%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2253e1=>{const {ar:{dictionary:_0x148228,getPluralForm:_0x230b31}}={'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':_0x5a16bd=>0x0==_0x5a16bd?0x0:0x1==_0x5a16bd?0x1:0x2==_0x5a16bd?0x2:_0x5a16bd%0x64>=0x3&&_0x5a16bd%0x64<=0xa?0x3:_0x5a16bd%0x64>=0xb?0x4:0x5}};_0x2253e1['ar']||={'dictionary':{},'getPluralForm':null},_0x2253e1['ar']['dictionary']=Object['assign'](_0x2253e1['ar']['dictionary'],_0x148228),_0x2253e1['ar']['getPluralForm']=_0x230b31;})(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':_0x37d9a0=>0x1!=_0x37d9a0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36fbae=>{const {ast:{dictionary:_0x5abbb0,getPluralForm:_0x2b35af}}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x5c5cd6=>0x1!=_0x5c5cd6}};_0x36fbae['ast']||={'dictionary':{},'getPluralForm':null},_0x36fbae['ast']['dictionary']=Object['assign'](_0x36fbae['ast']['dictionary'],_0x5abbb0),_0x36fbae['ast']['getPluralForm']=_0x2b35af;})(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':_0x13ad77=>0x1!=_0x13ad77}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34f994=>{const {az:{dictionary:_0x568917,getPluralForm:_0xb07f72}}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x3c9f31=>0x1!=_0x3c9f31}};_0x34f994['az']||={'dictionary':{},'getPluralForm':null},_0x34f994['az']['dictionary']=Object['assign'](_0x34f994['az']['dictionary'],_0x568917),_0x34f994['az']['getPluralForm']=_0xb07f72;})(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':_0x52bdca=>_0x52bdca%0xa==0x1&&_0x52bdca%0x64!=0xb?0x0:_0x52bdca%0xa>=0x2&&_0x52bdca%0xa<=0x4&&(_0x52bdca%0x64<0xa||_0x52bdca%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5584b7=>{const {be:{dictionary:_0x57b4d1,getPluralForm:_0x4fadfe}}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x11dc95=>_0x11dc95%0xa==0x1&&_0x11dc95%0x64!=0xb?0x0:_0x11dc95%0xa>=0x2&&_0x11dc95%0xa<=0x4&&(_0x11dc95%0x64<0xa||_0x11dc95%0x64>=0x14)?0x1:0x2}};_0x5584b7['be']||={'dictionary':{},'getPluralForm':null},_0x5584b7['be']['dictionary']=Object['assign'](_0x5584b7['be']['dictionary'],_0x57b4d1),_0x5584b7['be']['getPluralForm']=_0x4fadfe;})(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':_0x433aa6=>0x1!=_0x433aa6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe17261=>{const {bg:{dictionary:_0x594a34,getPluralForm:_0xade6c5}}={'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':_0xf62406=>0x1!=_0xf62406}};_0xe17261['bg']||={'dictionary':{},'getPluralForm':null},_0xe17261['bg']['dictionary']=Object['assign'](_0xe17261['bg']['dictionary'],_0x594a34),_0xe17261['bg']['getPluralForm']=_0xade6c5;})(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':_0x1ad86a=>0x1!=_0x1ad86a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x530730=>{const {bn:{dictionary:_0x4cea04,getPluralForm:_0x381ce3}}={'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':_0x2300c1=>0x1!=_0x2300c1}};_0x530730['bn']||={'dictionary':{},'getPluralForm':null},_0x530730['bn']['dictionary']=Object['assign'](_0x530730['bn']['dictionary'],_0x4cea04),_0x530730['bn']['getPluralForm']=_0x381ce3;})(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':_0x4efef6=>_0x4efef6%0xa==0x1&&_0x4efef6%0x64!=0xb?0x0:_0x4efef6%0xa>=0x2&&_0x4efef6%0xa<=0x4&&(_0x4efef6%0x64<0xa||_0x4efef6%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2bae23=>{const {bs:{dictionary:_0x5c6a37,getPluralForm:_0xa446ab}}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x317e83=>_0x317e83%0xa==0x1&&_0x317e83%0x64!=0xb?0x0:_0x317e83%0xa>=0x2&&_0x317e83%0xa<=0x4&&(_0x317e83%0x64<0xa||_0x317e83%0x64>=0x14)?0x1:0x2}};_0x2bae23['bs']||={'dictionary':{},'getPluralForm':null},_0x2bae23['bs']['dictionary']=Object['assign'](_0x2bae23['bs']['dictionary'],_0x5c6a37),_0x2bae23['bs']['getPluralForm']=_0xa446ab;})(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':_0x3ece82=>0x1!=_0x3ece82}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a45bb=>{const {ca:{dictionary:_0x3e3af4,getPluralForm:_0x40bdbc}}={'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':_0x26d07f=>0x1!=_0x26d07f}};_0x4a45bb['ca']||={'dictionary':{},'getPluralForm':null},_0x4a45bb['ca']['dictionary']=Object['assign'](_0x4a45bb['ca']['dictionary'],_0x3e3af4),_0x4a45bb['ca']['getPluralForm']=_0x40bdbc;})(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':_0x583f11=>0x1==_0x583f11?0x0:_0x583f11>=0x2&&_0x583f11<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15ce0b=>{const {cs:{dictionary:_0x281bd8,getPluralForm:_0x2df3b1}}={'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':_0x4715fa=>0x1==_0x4715fa?0x0:_0x4715fa>=0x2&&_0x4715fa<=0x4?0x1:0x2}};_0x15ce0b['cs']||={'dictionary':{},'getPluralForm':null},_0x15ce0b['cs']['dictionary']=Object['assign'](_0x15ce0b['cs']['dictionary'],_0x281bd8),_0x15ce0b['cs']['getPluralForm']=_0x2df3b1;})(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':_0x27b11c=>0x1!=_0x27b11c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17911e=>{const {da:{dictionary:_0x13ca22,getPluralForm:_0x5a55bd}}={'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':_0x424b5a=>0x1!=_0x424b5a}};_0x17911e['da']||={'dictionary':{},'getPluralForm':null},_0x17911e['da']['dictionary']=Object['assign'](_0x17911e['da']['dictionary'],_0x13ca22),_0x17911e['da']['getPluralForm']=_0x5a55bd;})(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':_0x1cd0b9=>0x1!=_0x1cd0b9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e5145=>{const {'de-ch':{dictionary:_0x34bfed,getPluralForm:_0x4c9ed0}}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x14ed3f=>0x1!=_0x14ed3f}};_0x3e5145['de-ch']||={'dictionary':{},'getPluralForm':null},_0x3e5145['de-ch']['dictionary']=Object['assign'](_0x3e5145['de-ch']['dictionary'],_0x34bfed),_0x3e5145['de-ch']['getPluralForm']=_0x4c9ed0;})(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':_0xd952f7=>0x1!=_0xd952f7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2220a2=>{const {de:{dictionary:_0xc1d3db,getPluralForm:_0x522b65}}={'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':_0x565d33=>0x1!=_0x565d33}};_0x2220a2['de']||={'dictionary':{},'getPluralForm':null},_0x2220a2['de']['dictionary']=Object['assign'](_0x2220a2['de']['dictionary'],_0xc1d3db),_0x2220a2['de']['getPluralForm']=_0x522b65;})(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':_0xace110=>0x1!=_0xace110}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x16110d=>{const {el:{dictionary:_0x341516,getPluralForm:_0x5219e0}}={'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':_0x27b663=>0x1!=_0x27b663}};_0x16110d['el']||={'dictionary':{},'getPluralForm':null},_0x16110d['el']['dictionary']=Object['assign'](_0x16110d['el']['dictionary'],_0x341516),_0x16110d['el']['getPluralForm']=_0x5219e0;})(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':_0x337596=>0x1!=_0x337596}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4df441=>{const {'en-au':{dictionary:_0x59f7f2,getPluralForm:_0x542a0e}}={'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':_0x1bcab5=>0x1!=_0x1bcab5}};_0x4df441['en-au']||={'dictionary':{},'getPluralForm':null},_0x4df441['en-au']['dictionary']=Object['assign'](_0x4df441['en-au']['dictionary'],_0x59f7f2),_0x4df441['en-au']['getPluralForm']=_0x542a0e;})(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':_0x1864c0=>0x1!=_0x1864c0}};
|