@ckeditor/ckeditor5-document-outline 49.0.0-alpha.7 → 49.0.0-alpha.8
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.umd.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.umd.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 _0x78129a,Plugin as _0x4d03b9}from'@ckeditor/ckeditor5-core';import{debounce as _0x26ac8a,throttle as _0x42e4d2}from'es-toolkit/compat';import{ModelText as _0x381c65,ModelTreeWalker as _0x437e6e}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x3c0620,Rect as _0x16a72c,diff as _0x5972ea,diffToChanges as _0xdd9a16,global as _0x17dfa3,listenToShadowRoots as _0x3de300,priorities as _0x47227e,scrollAncestorsToShowTarget as _0x4c6765,uid as _0x5c1edb}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x2834b6,MenuBarMenuListItemButtonView as _0x261ae5,View as _0x136b81}from'@ckeditor/ckeditor5-ui';import{Widget as _0x4c1527,toWidget as _0x3d6362}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x396a79}from'@ckeditor/ckeditor5-icons';function I(_0x536c83){let _0x5e21eb='';for(const _0x1c20cc of _0x536c83['getChildren']())_0x1c20cc instanceof _0x381c65&&(_0x5e21eb+=_0x1c20cc['data']);return _0x5e21eb;}var L=class extends _0x4d03b9{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x1f3c7f=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x179001=[];_0x1f3c7f['model']['document']['on']('change',_0x26ac8a(()=>{const _0x2af59e=_0x179001;_0x179001=this['_getOutlineDefinitions']();const _0x139821=_0x5972ea(_0x2af59e,_0x179001,(_0x50190f,_0x5419a1)=>_0x50190f['level']===_0x5419a1['level']&&_0x50190f['text']===_0x5419a1['text']&&_0x50190f['modelElement']===_0x5419a1['modelElement']),_0x4f2262=_0xdd9a16(_0x139821,_0x179001),_0x46e1b2=this['_getActiveHeading'](),_0x4330ab=_0x179001['findIndex'](_0x14c767=>_0x14c767['modelElement']===_0x46e1b2);_0x4f2262['length']&&this['fire']('change',{'outlineDefinitions':_0x179001,'activeItemIndex':_0x4330ab,'outlineChanges':_0x4f2262}),this['fire']('activeItemIndex',{'index':_0x4330ab});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x338baf=this['editor'],_0x511f77=[],_0x5e9da0=this['_headingNames'];for(const _0x4edde4 of _0x338baf['model']['document']['getRootNames']())_0xfabe14(_0x338baf['model']['document']['getRoot'](_0x4edde4));function _0xfabe14(_0x2c4923){for(const _0x393b4d of _0x2c4923['getChildren']())_0x393b4d['is']('element')&&(_0x5e9da0['includes'](_0x393b4d['name'])&&_0x511f77['push']({'level':_0x5e9da0['indexOf'](_0x393b4d['name'])+0x1,'text':I(_0x393b4d),'modelElement':_0x393b4d}),_0xfabe14(_0x393b4d));}return _0x511f77;}_getActiveHeading(){const _0x44c40c=this['editor']['model']['document']['selection']['getFirstPosition'](),_0xfe6f75=new _0x437e6e({'direction':'backward','startPosition':_0x44c40c});for(const _0x1ccef1 of _0xfe6f75)if(_0x1ccef1['item']['is']('element')&&this['_headingNames']['includes'](_0x1ccef1['item']['name']))return _0x1ccef1['item'];}_getHeadingNames(){const _0x5a4100=this['editor']['config']['get']('documentOutline.headings');return _0x5a4100||function(_0x556f2c){const _0x350c6f=_0x556f2c['config']['get']('heading.options');return _0x350c6f?_0x350c6f['reduce']((_0x298f30,_0x433465)=>('paragraph'!==_0x433465['model']&&_0x298f30['push'](_0x433465['model']),_0x298f30),[]):_0x556f2c['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x3de47c=this['editor'],_0x2ac820=['h1','h2','h3','h4','h5','h6'],_0x3ac8a4=[];for(const _0x109735 of _0x2ac820){const _0x5a72bd=_0x3de47c['editing']['view']['domConverter']['domToView'](document['createElement'](_0x109735)),_0x5b7449=_0x3de47c['data']['toModel'](_0x5a72bd)['getChild'](0x0);_0x5b7449?.['is']('element')&&_0x3ac8a4['push'](_0x5b7449['name']);}this['_headingNames']=_0x3ac8a4;}};function C(_0x3aba9b,_0x167046){const t=_0x3aba9b['t'];switch(_0x167046){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 _0x167046;}}var _=class extends _0x136b81{constructor(_0x36928c,_0x353981=!0x1){super(_0x36928c);const _0x4c9b3a=this['bindTemplate'],_0x395eb9=_0x353981?'['+C(_0x36928c,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x4071fe=>!_0x4071fe),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x4c9b3a['to']('level',_0x277c93=>'ck-document-outline__item_level-'+_0x277c93),_0x4c9b3a['if']('isActive','ck-document-outline__item_active'),_0x4c9b3a['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x4c9b3a['to']('text')},'children':[{'text':_0x4c9b3a['to']('text',_0x1b8804=>_0x1b8804||_0x395eb9)}],'on':{'click':_0x4c9b3a['to']('click')}});}},k=class extends _0x136b81{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x2f1d28,_0x54d102=!0x1,_0x144652){super(_0x2f1d28),this['showEmptyHeadingText']=_0x54d102,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x144652,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x4ebcd1,_0x12e1c7,_0x4fd5d7,_0x2f2284)=>{this['_setActiveItem'](_0x2f2284,_0x4fd5d7);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x2f1d28['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0x2f1d28,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x28cb45){_0x28cb45['forEach'](_0x81cf8a=>{'insert'==_0x81cf8a['type']?this['_insertItem'](_0x81cf8a['index'],..._0x81cf8a['values']):'delete'==_0x81cf8a['type']&&this['_deleteItem'](_0x81cf8a['index'],_0x81cf8a['howMany']);});}_setActiveItem(_0x18c842,_0x326930){if(-0x1!==_0x18c842){const _0x5d8840=this['items']['get'](_0x18c842);_0x5d8840&&(_0x5d8840['isActive']=!0x1);}-0x1!==_0x326930&&(this['items']['get'](_0x326930)['isActive']=!0x0,this['_scrollToItem'](_0x326930));}_insertItem(_0x3422d2,..._0x49a85c){const _0x5bef4b=_0x49a85c['map']((_0x3e8cdf,_0x16c110)=>{const _0x53a3f2=new _(this['locale'],this['showEmptyHeadingText']);return _0x53a3f2['text']=_0x3e8cdf['text'],_0x53a3f2['level']=_0x3e8cdf['level'],_0x3422d2+_0x16c110===this['activeItemIndex']&&(_0x53a3f2['isActive']=!0x0),_0x53a3f2;});this['items']['addMany'](_0x5bef4b,_0x3422d2);}_deleteItem(_0x4366cb,_0x5da237){do{this['items']['remove'](_0x4366cb);}while(--_0x5da237);}_handleItemClick(_0x2fd167){const _0x2b798e=this['items']['getIndex'](_0x2fd167['source']);this['fire']('itemSelected',_0x2b798e);}_scrollToItem(_0x484bad){_0x4c6765(this['items']['get'](_0x484bad)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x4d03b9{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1864db){super(_0x1864db),this['view']=new k(_0x1864db['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x42e4d2(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x5a0d53=this['editor'],_0x23c59d=_0x5a0d53['plugins']['get']('DocumentOutlineUtils');let _0x13b75d=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x5a0d53['config']['get']('documentOutline.container'))throw new _0x3c0620('document-outline-container-not-provided',{'editor':_0x5a0d53});_0x5a0d53['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x23c59d['on']('change',this['_handleOutlineChange']['bind'](this)),_0x23c59d['on']('activeItemIndex',(_0x174689,{index:_0x148cc9})=>this['_setActiveViewItem'](_0x148cc9)),this['view']['on']('itemSelected',(_0xa4f924,_0x6cfa0b)=>{_0x13b75d=!0x0,this['_handleItemSelected'](_0x6cfa0b);});const _0x1b2444=()=>{_0x13b75d?_0x13b75d=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();};this['view']['listenTo'](_0x17dfa3['document'],'scroll',_0x1b2444,{'useCapture':!0x0}),_0x3de300(_0x5a0d53['ui']['shadowRootRegistry'],{'emitter':this['view'],'event':'scroll','callback':_0x1b2444,'listenerOptions':{'useCapture':!0x0}}),this['view']['listenTo'](_0x17dfa3['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x495964){const _0x1f5cbe='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x4537a3=0x797a0,_0x5bb6fe={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x521a73(_0x5285bf){const _0x5f1639=new window['Promise'](_0x3576e2=>{_0x5285bf['once']('ready',_0x3576e2);}),_0x5952ce=window['Date']['now'](),_0x5db390=_0x5285bf['config']['get']('licenseKey');async function _0x4e31b0(){let _0x4d6a67,_0x1d3253=null,_0x4755fc=null;try{return'GPL'==_0x5db390?'NotAllowed':(_0x4d6a67=_0x3dd1ad(),_0x4d6a67?(_0x4d6a67['usageEndpoint']&&(_0x4755fc=_0x313dff(_0x4d6a67['usageEndpoint'],_0x4d6a67['jti'])),await _0x41682a()?_0x57d55c()?_0x533081()?'Expired':_0x88a080()?('evaluation'==_0x4d6a67['licenseType']&&(_0x1d3253=_0x973753('EvaluationLimit')),await _0x441e18()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x533081(){const _0x117395=['evaluation','trial']['includes'](_0x4d6a67['licenseType'])?_0x5952ce/0x3e8:0xe10*_0x4537a3;return _0x4d6a67['exp']<_0x117395;}function _0x57d55c(){const _0x2eff54=_0x4d6a67['features'];return!!_0x2eff54&&(!!_0x2eff54['includes']('*')||(!!_0x2eff54['includes']('DO')||(!!_0x2eff54['includes']('PP')||!(!_0x2eff54['includes']('TRILIUM')||!_0x4d525c()))));}function _0x88a080(){const _0x1c4a9c=_0x4d6a67['licensedHosts'];if(!_0x1c4a9c||0x0==_0x1c4a9c['length'])return!0x0;const {hostname:_0x2cd98c}=new URL(window['location']['href']);if(_0x1c4a9c['includes'](_0x2cd98c))return!0x0;const _0x1d4a8a=_0x2cd98c['split']('.');return _0x1c4a9c['filter'](_0x37abd0=>_0x37abd0['includes']('*'))['map'](_0x2bb738=>_0x2bb738['split']('.'))['filter'](_0x46cb53=>_0x46cb53['length']<=_0x1d4a8a['length'])['map'](_0x7ef604=>Array(_0x1d4a8a['length']-_0x7ef604['length'])['fill']('*'===_0x7ef604[0x0]?'*':'')['concat'](_0x7ef604))['some'](_0x2bb6d2=>_0x1d4a8a['every']((_0x342549,_0x40c03b)=>_0x2bb6d2[_0x40c03b]===_0x342549||'*'===_0x2bb6d2[_0x40c03b]));}function _0x441e18(){return _0x1d3253&&_0x4755fc?new window['Promise']((_0x56310b,_0x6db61c)=>{_0x1d3253['then'](_0x56310b,_0x6db61c),_0x4755fc['then'](_0x4ccffc=>{'Valid'!=_0x4ccffc&&_0x56310b(_0x4ccffc);},_0x6db61c);}):_0x1d3253||_0x4755fc||'Valid';}}function _0x313dff(_0x590d67,_0x1b2379){return new window['Promise'](_0x3fd181=>{if(_0x11b393())return _0x3fd181('Valid');_0x4019f3(),_0x5285bf['decorate']('_sendUsageRequest');let _0x2f29ba=!0x1;const _0x25b7d0=_0x5c1edb();function _0x2fe4bf(_0x60a75a){return!!_0x60a75a&&('object'==typeof _0x60a75a||'function'==typeof _0x60a75a)&&'function'==typeof _0x60a75a['then']&&'function'==typeof _0x60a75a['catch'];}function _0xa98b29(_0x54d580){_0x36ff10(_0x54d580)['then'](_0x3b4940=>_0x3b4940&&'ok'==_0x3b4940['status']?_0x3e398e(_0x55f871(_0x25b7d0+_0x1b2379))!=_0x3b4940['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x25a805=>(_0x13fc99(),_0x25a805),()=>{const _0x136507=_0x5312c9();return null==_0x136507?(_0x13fc99(),'Valid'):_0x5952ce-_0x136507>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3fd181)['catch'](()=>{_0x3fd181('UsageLimit');});const _0x5f53f0=0x36ee80;function _0x13fc99(){const _0x57c684='llct-'+_0x3e398e(_0x55f871(_0x590d67)),_0x1b3192=_0x2aa71e(_0x3e398e(window['Math']['ceil'](_0x5952ce/_0x5f53f0)));window['localStorage']['setItem'](_0x57c684,_0x1b3192);}function _0x5312c9(){const _0x531e6b='llct-'+_0x3e398e(_0x55f871(_0x590d67)),_0x5e9875=window['localStorage']['getItem'](_0x531e6b);return _0x5e9875?window['parseInt'](_0x2aa71e(_0x5e9875),0x10)*_0x5f53f0:null;}function _0x36ff10(_0x52d4f1){return new window['Promise']((_0x5b2c60,_0x322571)=>{_0x52d4f1['then'](_0x5b2c60,_0x322571),window['setTimeout'](_0x322571,0x1d4c0);});}}_0x5285bf['on']('_sendUsageRequest',(_0x1a4e5e,_0xd64ab0)=>{if(_0xd64ab0[0x0]!=_0x590d67)return _0x3fd181('UsageLimit');_0xd64ab0[0x1]={..._0xd64ab0[0x1],'requestId':_0x25b7d0};},{'priority':'high'}),_0x5285bf['on']('_sendUsageRequest',_0x4e56ce=>{_0x2fe4bf(_0x4e56ce['return'])&&(_0x2f29ba=!0x0,_0xa98b29(_0x4e56ce['return']));},{'priority':'low'}),_0x5f1639['then'](()=>{_0x2f29ba||_0x3fd181('UsageLimit');});});function _0x11b393(){return'auto'==_0x5285bf['editing']['view']['_overlayModeHint'];}function _0x4019f3(){_0x5285bf['editing']['view']['_overlayModeHint']='auto';}}function _0x973753(_0xf1ce72){const _0x3151f3=[new window['Promise'](_0x16a4e3=>setTimeout(_0x16a4e3,0x93ecc)),_0x5f1639['then'](()=>new window['Promise'](_0x22facc=>{let _0x38125c=0x0;_0x5285bf['model']['on']('applyOperation',(_0x4e6c11,_0x5ed63c)=>{_0x5ed63c[0x0]['isDocumentOperation']&&_0x38125c++,0x5e8==_0x38125c&&(_0x22facc(),_0x4e6c11['off']());});}))];return window['Promise']['race'](_0x3151f3)['then'](()=>_0xf1ce72);}async function _0x367d84(){await _0x5f1639,_0x5285bf['model']['change']=_0x100293,_0x5285bf['model']['enqueueChange']=_0x100293,_0x5285bf['enableReadOnlyMode']('model');}function _0x4d525c(){return window['glob']&&window['glob']['triliumVersion'];}function _0x59a583(_0x577957){const _0x2e1ad8=_0x290981();_0x5285bf[_0x2e1ad8]='documentOutlineLicenseKey'+_0x577957,'Valid'!=_0x577957&&_0x367d84();}function _0x290981(){const _0x55ea31=window['String'](window['performance']['now']())['replace']('.','');let _0x3d5d97='u';for(let _0x5417c6=0x0;_0x5417c6<_0x55ea31['length'];_0x5417c6+=0x2){let _0x3b7c38=window['parseInt'](_0x55ea31['substring'](_0x5417c6,_0x5417c6+0x2));_0x3b7c38>=0x3e&&(_0x3b7c38-=0x3e),_0x3d5d97+=_0x1f5cbe[_0x3b7c38];}return _0x3d5d97;}function _0x3dd1ad(){const _0x2b7ba8=_0x5db390['split']('.');if(0x3!=_0x2b7ba8['length'])return null;return _0x26bfc3(_0x2b7ba8[0x1]);function _0x26bfc3(_0x506876){const _0x5436da=_0x47c002(_0x506876);return _0x5436da&&_0x3faa9a()?_0x5436da:null;function _0x3faa9a(){const _0x5ecdab=_0x5436da['jti'],_0x5c74da=window['parseInt'](_0x5ecdab['substring'](_0x5ecdab['length']-0x8),0x10),_0x2da8fb={..._0x5436da,'jti':_0x5ecdab['substring'](0x0,_0x5ecdab['length']-0x8)};return delete _0x2da8fb['vc'],_0x55f871(_0x2da8fb)==_0x5c74da;}}}async function _0x41682a(){let _0x2510f1=!0x0;try{const [_0x386b17,_0x400715,_0xae30fa]=_0x5db390['split']('.');return _0x4f5d67(_0x386b17),await _0x160d74(_0x386b17,_0x400715,_0xae30fa),_0x2510f1;}catch{return!0x1;}function _0x4f5d67(_0x499591){const _0x1c5b23=_0x47c002(_0x499591);_0x1c5b23&&'ES256'==_0x1c5b23['alg']||(_0x2510f1=!0x1);}async function _0x160d74(_0x59fcd7,_0x492a52,_0x1e74ee){const _0x477d7f=window['Uint8Array']['from'](_0x5a6a87(_0x1e74ee),_0x354611=>_0x354611['charCodeAt'](0x0)),_0x1f2e84=new window['TextEncoder']()['encode'](_0x59fcd7+'.'+_0x492a52),_0x335a69=window['crypto']['subtle'];if(!_0x335a69)return;const _0x417e54=await _0x335a69['importKey']('jwk',_0x5bb6fe,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x335a69['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x417e54,_0x477d7f,_0x1f2e84)||(_0x2510f1=!0x1);}}function _0x47c002(_0x59b6ff){return _0x59b6ff['startsWith']('ey')?JSON['parse'](_0x5a6a87(_0x59b6ff)):null;}function _0x5a6a87(_0x4d1129){return window['atob'](_0x4d1129['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x55f871(_0x48b87e){let _0xc80423=0x1505;function _0x36cbdd(_0x4b76d4){for(let _0x53dd17=0x0;_0x53dd17<_0x4b76d4['length'];_0x53dd17++){const _0x4dc5e1=_0x4b76d4['charCodeAt'](_0x53dd17);_0xc80423=(_0xc80423<<0x5)+_0xc80423+_0x4dc5e1,_0xc80423&=_0xc80423;}}function _0x1a49b3(_0x2b2bb5){Array['isArray'](_0x2b2bb5)?_0x2b2bb5['forEach'](_0x1a49b3):_0x2b2bb5&&'object'==typeof _0x2b2bb5?Object['entries'](_0x2b2bb5)['sort']()['forEach'](([_0x50d1a3,_0x686f9a])=>{_0x36cbdd(_0x50d1a3),_0x1a49b3(_0x686f9a);}):_0x36cbdd(window['String'](_0x2b2bb5));}return _0x1a49b3(_0x48b87e),_0xc80423>>>0x0;}function _0x3e398e(_0xf97b06){return _0xf97b06['toString'](0x10)['padStart'](0x8,'0');}function _0x2aa71e(_0x103899){return _0x103899['split']('')['reverse']()['join']('');}function _0x100293(){}_0x59a583(await _0x4e31b0());}_0x521a73(_0x495964['editor']);}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x2f9309,{outlineDefinitions:_0x2fc5ef,outlineChanges:_0x13f770}){this['_currentOutlineDefinitions']=_0x2fc5ef,this['view']['sync'](_0x13f770);}_setActiveViewItem(_0x1f56c7){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1f56c7]&&(this['view']['activeItemIndex']=_0x1f56c7);}_handleItemSelected(_0x2a40bf){const _0x5078ab=this['_currentOutlineDefinitions'][_0x2a40bf]['modelElement'];this['editor']['model']['change'](_0x33dffc=>{_0x33dffc['setSelection'](_0x5078ab,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x2a40bf);}_updateActiveDefinitionOnViewportChange(){const _0x550189=this['editor'];let _0xa94824;for(const _0xa7caf1 of _0x550189['model']['document']['getRootNames']()){const _0x3bf44f=_0x550189['editing']['view']['getDomRoot'](_0xa7caf1),_0x5bd241=_0x3bf44f&&new _0x16a72c(_0x3bf44f)['getVisible']();if(_0x5bd241){const _0x4812c4=new _0x16a72c(_0x17dfa3['window'])['getIntersection'](_0x5bd241);_0x4812c4&&(_0xa94824=_0x4812c4['top']+0.25*_0x4812c4['height']);}}if(void 0x0===_0xa94824)return;const _0x894dc3=E(_0x550189['editing'],this['_currentOutlineDefinitions'],_0xa94824);_0x894dc3?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x894dc3)):this['_setActiveViewItem'](-0x1);}};function E(_0xa00abf,_0x1cf7e6,_0x47059e,_0x74670c=0x0,_0x4e64b0=_0x1cf7e6['length']-0x1){const _0x54e70b=Math['floor'](_0x74670c+(_0x4e64b0-_0x74670c)/0x2);if(_0x4e64b0>=_0x74670c){const _0x515bc7=_0x1cf7e6[_0x54e70b],_0x4890a7=_0xa00abf['mapper']['toViewElement'](_0x515bc7['modelElement']);if(!_0x4890a7)return null;const _0xfee5b9=_0xa00abf['view']['domConverter']['mapViewToDom'](_0x4890a7);return new _0x16a72c(_0xfee5b9)['bottom']>_0x47059e?E(_0xa00abf,_0x1cf7e6,_0x47059e,_0x74670c,_0x54e70b-0x1):E(_0xa00abf,_0x1cf7e6,_0x47059e,_0x54e70b+0x1,_0x4e64b0);}return _0x54e70b<0x0?null:_0x1cf7e6[_0x54e70b];}var K=class extends _0x4d03b9{['licenseKey'];_licenseKeyCheckInterval;static get requires(){return[L,x];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x362acd=[this['editor']];for(const _0x4bc13f of _0x362acd){let _0x2d43d2;for(const _0x357922 in _0x4bc13f){const _0x2cb2ab=_0x357922,_0x588d58=_0x4bc13f[_0x2cb2ab];if('documentOutlineLicenseKeyValid'==_0x588d58||'documentOutlineLicenseKeyInvalid'==_0x588d58||'documentOutlineLicenseKeyExpired'==_0x588d58||'documentOutlineLicenseKeyDomainLimit'==_0x588d58||'documentOutlineLicenseKeyNotAllowed'==_0x588d58||'documentOutlineLicenseKeyEvaluationLimit'==_0x588d58||'documentOutlineLicenseKeyUsageLimit'==_0x588d58){delete _0x4bc13f[_0x2cb2ab],_0x2d43d2=_0x588d58,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2d43d2&&_0x4bc13f['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2d43d2&&_0x4bc13f['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2d43d2&&_0x4bc13f['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2d43d2&&_0x4bc13f['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2d43d2&&_0x4bc13f['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2d43d2&&_0x4bc13f['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},A=class extends _0x78129a{execute(){this['editor']['model']['change'](_0x10b7d5=>{this['editor']['model']['insertObject'](_0x10b7d5['createElement']('tableOfContents'));});}['refresh'](){const _0x2fe536=this['editor']['model'],_0x453e84=_0x2fe536['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x453e84&&_0x2fe536['schema']['findAllowedParent'](_0x453e84,'tableOfContents'));}},N=class extends _0x4d03b9{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x53dd9e=this['editor'];if(_0x53dd9e['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x8a96b2,modelNames:_0x24d577}=function(_0x51a2e6){const _0x36ac6d=new Set(['h1','h2','h3','h4','h5','h6']),_0x25f267=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x51a2e6)return{'viewNames':_0x36ac6d,'modelNames':_0x25f267};for(const _0x32c0fc of _0x51a2e6){if('paragraph'===_0x32c0fc['model'])continue;const _0x4f94c6='string'==typeof _0x32c0fc['view']?_0x32c0fc['view']:_0x32c0fc['view']['name'];_0x36ac6d['add'](_0x4f94c6),_0x25f267['add'](_0x32c0fc['model']);}return{'viewNames':_0x36ac6d,'modelNames':_0x25f267};}(this['editor']['config']['get']('heading.options'));for(const _0x3982b8 of _0x8a96b2)this['_customUpcastHeadingsConversion'](_0x3982b8);for(const _0x50611c of _0x24d577)this['_customDataDowncastHeadingsConversion'](_0x50611c),_0x53dd9e['model']['schema']['isRegistered'](_0x50611c)&&_0x53dd9e['model']['schema']['extend'](_0x50611c,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x24d577);}_customUpcastHeadingsConversion(_0x42d611){this['editor']['conversion']['for']('upcast')['add'](_0x472d42=>_0x472d42['on']('element:'+_0x42d611,(_0x283ddd,_0x28ff85,_0x150591)=>{const {consumable:_0x121c47,writer:_0x53f317}=_0x150591,_0x2d02a1=_0x28ff85['viewItem']['getAttribute']('id'),_0x41e888=_0x28ff85['modelRange']?.['getContainedElement']();if(_0x41e888)return _0x2d02a1&&_0x2d02a1['length']||_0x41e888['hasAttribute']('headingId')?void(_0x121c47['consume'](_0x28ff85['viewItem'],{'attributes':['id']})&&_0x53f317['setAttribute']('headingId',_0x2d02a1,_0x41e888)):(_0x121c47['consume'](_0x28ff85['viewItem'],{'attributes':['id']}),void _0x53f317['setAttribute']('headingId',_0x5c1edb(),_0x41e888));},{'priority':_0x47227e['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x7ade47){this['editor']['conversion']['for']('downcast')['add'](_0x540a36=>_0x540a36['on']('attribute:headingId:'+_0x7ade47,(_0x38b5c8,_0x5453dd,_0x1eab96)=>{if(!_0x1eab96['consumable']['consume'](_0x5453dd['item'],_0x38b5c8['name']))return;const _0x31b51c=_0x5453dd['item']['getAttribute']('headingId'),_0x9126c4=_0x1eab96['mapper']['toViewElement'](_0x5453dd['item']);_0x1eab96['writer']['setAttribute']('id',_0x31b51c,_0x9126c4);}));}_registerHeadingIdAttributePostfixer(_0xdb6df2){const _0x566c79=this['editor'],_0x1bb6fd=new Set(),_0x3cbb4d=new Set();function _0x4ea9ee(_0x52c461,_0x53ad0f){const _0x3b41bc=_0x5c1edb();return _0x3cbb4d['add'](_0x3b41bc),_0x52c461['setAttribute']('headingId',_0x3b41bc,_0x53ad0f),_0x3b41bc;}function _0xbed49c(_0x5df017,_0x507505){_0x5df017['removeAttribute']('headingId',_0x507505);}_0x566c79['model']['document']['registerPostFixer'](_0x545d2e=>{const _0x3ef8b7=_0x566c79['model']['document']['differ']['getChanges']();let _0xe6f31a=!0x1;for(const _0x37506d of _0x3ef8b7)if('insert'==_0x37506d['type']&&_0x37506d['name']){if(_0xdb6df2['has'](_0x37506d['name'])){const _0x174cb5=_0x37506d['attributes']['get']('headingId');'string'==typeof _0x174cb5?_0x1bb6fd['has'](_0x174cb5)?(_0x4ea9ee(_0x545d2e,_0x37506d['position']['nodeAfter']),_0xe6f31a=!0x0):_0x3cbb4d['add'](_0x174cb5):(_0x4ea9ee(_0x545d2e,_0x37506d['position']['nodeAfter']),_0xe6f31a=!0x0);}else'string'==typeof _0x37506d['attributes']['get']('headingId')&&(_0xbed49c(_0x545d2e,_0x37506d['position']['nodeAfter']),_0xe6f31a=!0x0);}else{if('remove'==_0x37506d['type']){const _0x33c494=_0x37506d['attributes']['get']('headingId');'string'==typeof _0x33c494&&_0x1bb6fd['delete'](_0x33c494);}}return _0xe6f31a;}),_0x566c79['model']['document']['on']('change',()=>{_0x3cbb4d['forEach'](_0x5e5018=>_0x1bb6fd['add'](_0x5e5018)),_0x3cbb4d['clear']();});}},D=class extends _0x4d03b9{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x4c1527,L,N];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x4f0e46){super(_0x4f0e46),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x29c2be=this['editor'],_0x3ae478=_0x29c2be['editing']['view']['document'];_0x29c2be['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x29c2be['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x3ae478,'click',(_0x33089f,_0x56daef)=>{if(!_0x56daef['target'])return;const _0x5ca285=_0x56daef['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5ca285)&&(_0x56daef['domEvent']['preventDefault'](),_0x33089f['stop'](),this['_handleScrollToHeading'](_0x5ca285));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x29c2be['commands']['add']('insertTableOfContents',new A(_0x29c2be));const _0x92a417=_0x29c2be['config']['get']('tableOfContents.headings');_0x92a417&&_0x92a417['length']?this['listenTo'](_0x29c2be['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x92a417),this['_updateTableOfContentsElements']();}):_0x29c2be['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x5ec332,_0x3f2893)=>{this['_currentOutlineDefinitions']=_0x3f2893['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x29c2be['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x52c7c4){const _0x466cc8='DUA610emL4Q2kjVIvGMHgWT3uySnzPEw79oZJiCrbstcXKq85NhdfaFRxBlpOY',_0x1a78d8=0x797a0,_0x221986={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x536f22(_0x5b2357){const _0x123000=new window['Promise'](_0x320e23=>{_0x5b2357['once']('ready',_0x320e23);}),_0x1a3f9c=window['Date']['now'](),_0x4f0305=_0x5b2357['config']['get']('licenseKey');async function _0x28191e(){let _0x136165,_0x4e4096=null,_0x3acc94=null;try{return'GPL'==_0x4f0305?'NotAllowed':(_0x136165=_0x260379(),_0x136165?(_0x136165['usageEndpoint']&&(_0x3acc94=_0x5a563f(_0x136165['usageEndpoint'],_0x136165['jti'])),await _0x39cc0f()?_0x719c6b()?_0x544a4b()?'Expired':_0x176480()?('evaluation'==_0x136165['licenseType']&&(_0x4e4096=_0x5af384('EvaluationLimit')),await _0x2d74df()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x544a4b(){const _0x4f889e=['evaluation','trial']['includes'](_0x136165['licenseType'])?_0x1a3f9c/0x3e8:0xe10*_0x1a78d8;return _0x136165['exp']<_0x4f889e;}function _0x719c6b(){const _0x2bd7a3=_0x136165['features'];return!!_0x2bd7a3&&(!!_0x2bd7a3['includes']('*')||(!!_0x2bd7a3['includes']('TOC')||(!!_0x2bd7a3['includes']('PP')||!(!_0x2bd7a3['includes']('TRILIUM')||!_0x5427cd()))));}function _0x176480(){const _0x3a84f7=_0x136165['licensedHosts'];if(!_0x3a84f7||0x0==_0x3a84f7['length'])return!0x0;const {hostname:_0xcf8be3}=new URL(window['location']['href']);if(_0x3a84f7['includes'](_0xcf8be3))return!0x0;const _0x2ef3ac=_0xcf8be3['split']('.');return _0x3a84f7['filter'](_0x281386=>_0x281386['includes']('*'))['map'](_0x58c062=>_0x58c062['split']('.'))['filter'](_0x496c5a=>_0x496c5a['length']<=_0x2ef3ac['length'])['map'](_0x51aedf=>Array(_0x2ef3ac['length']-_0x51aedf['length'])['fill']('*'===_0x51aedf[0x0]?'*':'')['concat'](_0x51aedf))['some'](_0x5ac12f=>_0x2ef3ac['every']((_0x164c23,_0x5419f7)=>_0x5ac12f[_0x5419f7]===_0x164c23||'*'===_0x5ac12f[_0x5419f7]));}function _0x2d74df(){return _0x4e4096&&_0x3acc94?new window['Promise']((_0x333685,_0x120fcb)=>{_0x4e4096['then'](_0x333685,_0x120fcb),_0x3acc94['then'](_0xc500ad=>{'Valid'!=_0xc500ad&&_0x333685(_0xc500ad);},_0x120fcb);}):_0x4e4096||_0x3acc94||'Valid';}}function _0x5a563f(_0x5e0c42,_0x37cf51){return new window['Promise'](_0x1950b7=>{if(_0x57974d())return _0x1950b7('Valid');_0x2a1ceb(),_0x5b2357['decorate']('_sendUsageRequest');let _0x4a697b=!0x1;const _0x10c853=_0x5c1edb();function _0x1ae16d(_0x4c58ae){return!!_0x4c58ae&&('object'==typeof _0x4c58ae||'function'==typeof _0x4c58ae)&&'function'==typeof _0x4c58ae['then']&&'function'==typeof _0x4c58ae['catch'];}function _0x45c76e(_0x4b001c){_0x354a93(_0x4b001c)['then'](_0x5c26dc=>_0x5c26dc&&'ok'==_0x5c26dc['status']?_0x19ed6d(_0x24eaa9(_0x10c853+_0x37cf51))!=_0x5c26dc['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x314057=>(_0x549ccd(),_0x314057),()=>{const _0x3f7c91=_0x86ad48();return null==_0x3f7c91?(_0x549ccd(),'Valid'):_0x1a3f9c-_0x3f7c91>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1950b7)['catch'](()=>{_0x1950b7('UsageLimit');});const _0xfd67eb=0x36ee80;function _0x549ccd(){const _0x5d5337='llct-'+_0x19ed6d(_0x24eaa9(_0x5e0c42)),_0x756d02=_0x2ebe23(_0x19ed6d(window['Math']['ceil'](_0x1a3f9c/_0xfd67eb)));window['localStorage']['setItem'](_0x5d5337,_0x756d02);}function _0x86ad48(){const _0x5a9837='llct-'+_0x19ed6d(_0x24eaa9(_0x5e0c42)),_0x4e18f6=window['localStorage']['getItem'](_0x5a9837);return _0x4e18f6?window['parseInt'](_0x2ebe23(_0x4e18f6),0x10)*_0xfd67eb:null;}function _0x354a93(_0x2565a2){return new window['Promise']((_0x4daffe,_0x2db4d3)=>{_0x2565a2['then'](_0x4daffe,_0x2db4d3),window['setTimeout'](_0x2db4d3,0x1d4c0);});}}_0x5b2357['on']('_sendUsageRequest',(_0x133fe3,_0x144ab5)=>{if(_0x144ab5[0x0]!=_0x5e0c42)return _0x1950b7('UsageLimit');_0x144ab5[0x1]={..._0x144ab5[0x1],'requestId':_0x10c853};},{'priority':'high'}),_0x5b2357['on']('_sendUsageRequest',_0x225960=>{_0x1ae16d(_0x225960['return'])&&(_0x4a697b=!0x0,_0x45c76e(_0x225960['return']));},{'priority':'low'}),_0x123000['then'](()=>{_0x4a697b||_0x1950b7('UsageLimit');});});function _0x57974d(){return'auto'==_0x5b2357['editing']['view']['_overlayModeHint'];}function _0x2a1ceb(){_0x5b2357['editing']['view']['_overlayModeHint']='auto';}}function _0x5af384(_0x38aecb){const _0x4d4bb5=[new window['Promise'](_0x6ce64a=>setTimeout(_0x6ce64a,0x93ecc)),_0x123000['then'](()=>new window['Promise'](_0x409ec7=>{let _0x1d86e6=0x0;_0x5b2357['model']['on']('applyOperation',(_0x5098e4,_0x471b46)=>{_0x471b46[0x0]['isDocumentOperation']&&_0x1d86e6++,0x5e8==_0x1d86e6&&(_0x409ec7(),_0x5098e4['off']());});}))];return window['Promise']['race'](_0x4d4bb5)['then'](()=>_0x38aecb);}async function _0x1b01b7(){await _0x123000,_0x5b2357['model']['change']=_0x356446,_0x5b2357['model']['enqueueChange']=_0x356446,_0x5b2357['enableReadOnlyMode']('model');}function _0x5427cd(){return window['glob']&&window['glob']['triliumVersion'];}function _0x4c730d(_0xdd6fe3){const _0x1d658e=_0x28e1fe();_0x5b2357[_0x1d658e]='tableOfContentsLicenseKey'+_0xdd6fe3,'Valid'!=_0xdd6fe3&&_0x1b01b7();}function _0x28e1fe(){const _0x21f127=window['String'](window['performance']['now']())['replace']('.','');let _0x3c38aa='D';for(let _0x51f152=0x0;_0x51f152<_0x21f127['length'];_0x51f152+=0x2){let _0x594d9b=window['parseInt'](_0x21f127['substring'](_0x51f152,_0x51f152+0x2));_0x594d9b>=0x3e&&(_0x594d9b-=0x3e),_0x3c38aa+=_0x466cc8[_0x594d9b];}return _0x3c38aa;}function _0x260379(){const _0xa8fd5=_0x4f0305['split']('.');if(0x3!=_0xa8fd5['length'])return null;return _0x5185dd(_0xa8fd5[0x1]);function _0x5185dd(_0x1fdd61){const _0x5d6893=_0x5e921d(_0x1fdd61);return _0x5d6893&&_0x278021()?_0x5d6893:null;function _0x278021(){const _0x575c11=_0x5d6893['jti'],_0x1c32d1=window['parseInt'](_0x575c11['substring'](_0x575c11['length']-0x8),0x10),_0x3c416a={..._0x5d6893,'jti':_0x575c11['substring'](0x0,_0x575c11['length']-0x8)};return delete _0x3c416a['vc'],_0x24eaa9(_0x3c416a)==_0x1c32d1;}}}async function _0x39cc0f(){let _0x575f86=!0x0;try{const [_0x1c790d,_0x3d1995,_0x59968a]=_0x4f0305['split']('.');return _0x33cf06(_0x1c790d),await _0x7bec33(_0x1c790d,_0x3d1995,_0x59968a),_0x575f86;}catch{return!0x1;}function _0x33cf06(_0x1d153a){const _0x44bf2e=_0x5e921d(_0x1d153a);_0x44bf2e&&'ES256'==_0x44bf2e['alg']||(_0x575f86=!0x1);}async function _0x7bec33(_0x42d9e1,_0x373470,_0xf6b9e4){const _0x3e83ce=window['Uint8Array']['from'](_0x284377(_0xf6b9e4),_0x421e52=>_0x421e52['charCodeAt'](0x0)),_0x311e30=new window['TextEncoder']()['encode'](_0x42d9e1+'.'+_0x373470),_0x57eee6=window['crypto']['subtle'];if(!_0x57eee6)return;const _0x447bbf=await _0x57eee6['importKey']('jwk',_0x221986,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x57eee6['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x447bbf,_0x3e83ce,_0x311e30)||(_0x575f86=!0x1);}}function _0x5e921d(_0x53c108){return _0x53c108['startsWith']('ey')?JSON['parse'](_0x284377(_0x53c108)):null;}function _0x284377(_0x590ca3){return window['atob'](_0x590ca3['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x24eaa9(_0x1e4a11){let _0x582f8c=0x1505;function _0x45068b(_0x830682){for(let _0x49f801=0x0;_0x49f801<_0x830682['length'];_0x49f801++){const _0x9828e7=_0x830682['charCodeAt'](_0x49f801);_0x582f8c=(_0x582f8c<<0x5)+_0x582f8c+_0x9828e7,_0x582f8c&=_0x582f8c;}}function _0x137948(_0x5826a5){Array['isArray'](_0x5826a5)?_0x5826a5['forEach'](_0x137948):_0x5826a5&&'object'==typeof _0x5826a5?Object['entries'](_0x5826a5)['sort']()['forEach'](([_0x1e7573,_0x1c51cd])=>{_0x45068b(_0x1e7573),_0x137948(_0x1c51cd);}):_0x45068b(window['String'](_0x5826a5));}return _0x137948(_0x1e4a11),_0x582f8c>>>0x0;}function _0x19ed6d(_0x37f631){return _0x37f631['toString'](0x10)['padStart'](0x8,'0');}function _0x2ebe23(_0x26f50e){return _0x26f50e['split']('')['reverse']()['join']('');}function _0x356446(){}_0x4c730d(await _0x28191e());}_0x536f22(_0x52c7c4['editor']);}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x5ab95d=>{'$graveyard'!==_0x5ab95d['rootName']&&this['editor']['editing']['reconvertItem'](_0x5ab95d);});}_trackNewToCElements(){for(const _0x516ec5 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x516ec5['type']||'tableOfContents'!==_0x516ec5['name'])return;this['_tableOfContentsElements']['add'](_0x516ec5['position']['nodeAfter']);}}_getOutlineDefinitions(_0x13c4cd){const _0x57c788=this['editor'],_0x3d78b2=[];for(const _0x199ada of _0x57c788['model']['document']['getRootNames']())_0x39da88(_0x57c788['model']['document']['getRoot'](_0x199ada));function _0x39da88(_0x56b25a){for(const _0x2bf7ac of _0x56b25a['getChildren']())_0x2bf7ac['is']('element')&&(_0x13c4cd['includes'](_0x2bf7ac['name'])&&_0x3d78b2['push']({'level':_0x13c4cd['indexOf'](_0x2bf7ac['name'])+0x1,'text':I(_0x2bf7ac),'modelElement':_0x2bf7ac}),_0x39da88(_0x2bf7ac));}return _0x3d78b2;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x52101a=this['editor']['conversion'];_0x52101a['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x52101a['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x4e8d95,{writer:_0x52c567})=>this['_createTableOfContents'](_0x52c567,!0x0)}),_0x52101a['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2621c0,{writer:_0xbba17b})=>{this['_tableOfContentsElements']['add'](_0x2621c0);const _0x3847f3=this['_createTableOfContents'](_0xbba17b);return _0x3d6362(_0x3847f3,_0xbba17b,{'label':C(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(_0xb4862a,_0x1e9217=!0x1){const {locale:_0x5f32cc}=this['editor'],_0x22ff6d=_0xb4862a['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x1e9217&&{'data-table-of-contents-label':C(_0x5f32cc,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x1e9217&&_0xb4862a['insert'](_0xb4862a['createPositionAt'](_0x22ff6d,'end'),_0xb4862a['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0xb4862a['createText'](C(_0x5f32cc,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x5e40da=_0x1e9217?'':'['+C(_0x5f32cc,'Empty\x20heading')+']';let _0x4ba4fc=_0x22ff6d;return this['_currentOutlineDefinitions']['forEach']((_0x3d7b53,_0x39bb04,_0x20d1e8)=>{const _0x3a17d8=this['editor']['model']['hasContent'](_0x3d7b53['modelElement'],{'ignoreWhitespaces':!0x0}),_0x25dd30=_0x3a17d8?_0x3d7b53['text']:_0x5e40da,_0x425a2a=_0x3d7b53['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x5b3345=_0xb4862a['createContainerElement']('a',{'href':'#'+_0x425a2a,...!_0x1e9217&&{'tabindex':'-1'}},[_0xb4862a['createText'](_0x25dd30)]),_0x2e276b=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0xb4862a['setCustomProperty']('tableOfContentsHeadingIndex',_0x39bb04,_0x5b3345);const _0x1e8760=_0xb4862a['createContainerElement']('li',null,[_0x3a17d8||!_0x1e9217&&_0x2e276b?_0x5b3345:_0xb4862a['createText']('')]),_0xd4be7a=_0x39bb04?_0x20d1e8[_0x39bb04-0x1]['level']:0x0,_0x309a33=Math['abs'](_0x3d7b53['level']-_0xd4be7a);if(_0x3d7b53['level']>_0xd4be7a){const _0xce74c4=H(_0x1e8760,_0x309a33,_0xb4862a);_0xb4862a['insert'](_0xb4862a['createPositionAt'](_0x4ba4fc,'end'),_0xce74c4);}else{const _0x304d25=function(_0x553ac6,_0x3c203f){return _0x553ac6['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x33b614=>_0x33b614['is']('element','ol'))[_0x3c203f];}(_0x4ba4fc,_0x309a33);_0xb4862a['insert'](_0xb4862a['createPositionAt'](_0x304d25,'end'),_0x1e8760);}_0x4ba4fc=_0x1e8760;}),_0x22ff6d;}['_handleScrollToHeading'](_0x260800){const _0x2b429a=this['_currentOutlineDefinitions'][_0x260800]['modelElement'];this['editor']['model']['change'](_0x4f2493=>{_0x4f2493['setSelection'](_0x2b429a,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x2dd10a,_0x230be7)=>{const _0x3b93fc=_0x230be7['mapper'],_0x1f9c4a=_0x3b93fc['findMappedViewAncestor'](_0x230be7['viewPosition']),_0x3d3229=_0x3b93fc['toModelElement'](_0x1f9c4a);_0x3d3229['is']('element','tableOfContents')&&(_0x230be7['modelPosition']=this['editor']['model']['createPositionAt'](_0x3d3229,0x0),_0x2dd10a['stop']());};}};function H(_0x45df8a,_0x2794e1,_0xa7e789){return 0x1===_0x2794e1?_0xa7e789['createContainerElement']('ol',null,[_0x45df8a]):_0xa7e789['createContainerElement']('ol',null,[_0xa7e789['createContainerElement']('li',null,[H(_0x45df8a,_0x2794e1-0x1,_0xa7e789)])]);}var P=class extends _0x4d03b9{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x12aa63=this['editor'];_0x12aa63['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x561467=this['_createButton'](_0x2834b6);return _0x561467['tooltip']=!0x0,_0x561467;}),_0x12aa63['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x261ae5)),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x132297=[this['editor']];for(const _0x1d6ece of _0x132297){let _0x3a1076;for(const _0x475c10 in _0x1d6ece){const _0x7d62d5=_0x475c10,_0x50107e=_0x1d6ece[_0x7d62d5];if('tableOfContentsLicenseKeyValid'==_0x50107e||'tableOfContentsLicenseKeyInvalid'==_0x50107e||'tableOfContentsLicenseKeyExpired'==_0x50107e||'tableOfContentsLicenseKeyDomainLimit'==_0x50107e||'tableOfContentsLicenseKeyNotAllowed'==_0x50107e||'tableOfContentsLicenseKeyEvaluationLimit'==_0x50107e||'tableOfContentsLicenseKeyUsageLimit'==_0x50107e){delete _0x1d6ece[_0x7d62d5],_0x3a1076=_0x50107e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3a1076&&_0x1d6ece['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3a1076&&_0x1d6ece['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3a1076&&_0x1d6ece['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3a1076&&_0x1d6ece['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3a1076&&_0x1d6ece['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3a1076&&_0x1d6ece['_showLicenseError']('usageLimit');}},0x3e8);}_createButton(_0x5775b5){const _0x4ef132=this['editor'],_0x4932c2=_0x4ef132['locale'],_0x453e56=_0x4ef132['commands']['get']('insertTableOfContents'),_0x18964e=new _0x5775b5(_0x4932c2);return _0x18964e['set']({'label':C(_0x4932c2,'Table\x20of\x20contents'),'icon':_0x396a79}),_0x18964e['bind']('isEnabled')['to'](_0x453e56,'isEnabled'),this['listenTo'](_0x18964e,'execute',()=>{_0x4ef132['execute']('insertTableOfContents'),_0x4ef132['editing']['view']['focus']();}),_0x18964e;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0x4d03b9{static get requires(){return[D,P];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{K as DocumentOutline,x as DocumentOutlineUI,L as DocumentOutlineUtils,N as HeadingId,U as TableOfContents,A as TableOfContentsCommand,D as TableOfContentsEditing,P as TableOfContentsUI};
|
|
23
|
+
import{Command as _0x54998a,Plugin as _0x5db742}from'@ckeditor/ckeditor5-core';import{debounce as _0x142616,throttle as _0x1f8a8d}from'es-toolkit/compat';import{ModelText as _0x39ceab,ModelTreeWalker as _0xa4f637}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x1c5da6,Rect as _0x2f436f,diff as _0x23ce90,diffToChanges as _0x5067bc,global as _0x3f1a1a,listenToShadowRoots as _0x292567,priorities as _0x1ed9d4,scrollAncestorsToShowTarget as _0x345a20,uid as _0x52b743}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x73afb1,MenuBarMenuListItemButtonView as _0x152b48,View as _0x406762}from'@ckeditor/ckeditor5-ui';import{Widget as _0x3e2c91,toWidget as _0x21bc3c}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x44d855}from'@ckeditor/ckeditor5-icons';function I(_0x5180b5){let _0x23101c='';for(const _0x689068 of _0x5180b5['getChildren']())_0x689068 instanceof _0x39ceab&&(_0x23101c+=_0x689068['data']);return _0x23101c;}var L=class extends _0x5db742{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x531638=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x43ff24=[];_0x531638['model']['document']['on']('change',_0x142616(()=>{const _0x3b37bd=_0x43ff24;_0x43ff24=this['_getOutlineDefinitions']();const _0x84afd=_0x23ce90(_0x3b37bd,_0x43ff24,(_0x1215b1,_0x265484)=>_0x1215b1['level']===_0x265484['level']&&_0x1215b1['text']===_0x265484['text']&&_0x1215b1['modelElement']===_0x265484['modelElement']),_0x2830f1=_0x5067bc(_0x84afd,_0x43ff24),_0x10b200=this['_getActiveHeading'](),_0x223297=_0x43ff24['findIndex'](_0x108eec=>_0x108eec['modelElement']===_0x10b200);_0x2830f1['length']&&this['fire']('change',{'outlineDefinitions':_0x43ff24,'activeItemIndex':_0x223297,'outlineChanges':_0x2830f1}),this['fire']('activeItemIndex',{'index':_0x223297});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x36a424=this['editor'],_0x3589d9=[],_0x69ca16=this['_headingNames'];for(const _0x14dedf of _0x36a424['model']['document']['getRootNames']())_0x2096a2(_0x36a424['model']['document']['getRoot'](_0x14dedf));function _0x2096a2(_0x574ecd){for(const _0x21d72c of _0x574ecd['getChildren']())_0x21d72c['is']('element')&&(_0x69ca16['includes'](_0x21d72c['name'])&&_0x3589d9['push']({'level':_0x69ca16['indexOf'](_0x21d72c['name'])+0x1,'text':I(_0x21d72c),'modelElement':_0x21d72c}),_0x2096a2(_0x21d72c));}return _0x3589d9;}_getActiveHeading(){const _0x2c52dc=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x5485d6=new _0xa4f637({'direction':'backward','startPosition':_0x2c52dc});for(const _0x44dd98 of _0x5485d6)if(_0x44dd98['item']['is']('element')&&this['_headingNames']['includes'](_0x44dd98['item']['name']))return _0x44dd98['item'];}_getHeadingNames(){const _0x5da2dd=this['editor']['config']['get']('documentOutline.headings');return _0x5da2dd||function(_0x3ff6c3){const _0x59ae76=_0x3ff6c3['config']['get']('heading.options');return _0x59ae76?_0x59ae76['reduce']((_0x520910,_0x4c1abf)=>('paragraph'!==_0x4c1abf['model']&&_0x520910['push'](_0x4c1abf['model']),_0x520910),[]):_0x3ff6c3['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x3e3b96=this['editor'],_0xb2baa0=['h1','h2','h3','h4','h5','h6'],_0x217c30=[];for(const _0x22ac03 of _0xb2baa0){const _0x56364f=_0x3e3b96['editing']['view']['domConverter']['domToView'](document['createElement'](_0x22ac03)),_0x4941b4=_0x3e3b96['data']['toModel'](_0x56364f)['getChild'](0x0);_0x4941b4?.['is']('element')&&_0x217c30['push'](_0x4941b4['name']);}this['_headingNames']=_0x217c30;}};function C(_0x124033,_0x2a6de0){const t=_0x124033['t'];switch(_0x2a6de0){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 _0x2a6de0;}}var _=class extends _0x406762{constructor(_0x350d87,_0x4b1aee=!0x1){super(_0x350d87);const _0x41ae7c=this['bindTemplate'],_0x3abf78=_0x4b1aee?'['+C(_0x350d87,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x22b7cf=>!_0x22b7cf),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x41ae7c['to']('level',_0x49de17=>'ck-document-outline__item_level-'+_0x49de17),_0x41ae7c['if']('isActive','ck-document-outline__item_active'),_0x41ae7c['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x41ae7c['to']('text')},'children':[{'text':_0x41ae7c['to']('text',_0x4eed4e=>_0x4eed4e||_0x3abf78)}],'on':{'click':_0x41ae7c['to']('click')}});}},k=class extends _0x406762{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0xd33a73,_0x345d4a=!0x1,_0x3b835f){super(_0xd33a73),this['showEmptyHeadingText']=_0x345d4a,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x3b835f,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x287283,_0x50de3e,_0x391382,_0x3c5115)=>{this['_setActiveItem'](_0x3c5115,_0x391382);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0xd33a73['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0xd33a73,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x3c6cfd){_0x3c6cfd['forEach'](_0x86f0e=>{'insert'==_0x86f0e['type']?this['_insertItem'](_0x86f0e['index'],..._0x86f0e['values']):'delete'==_0x86f0e['type']&&this['_deleteItem'](_0x86f0e['index'],_0x86f0e['howMany']);});}_setActiveItem(_0x3279f3,_0x1cd242){if(-0x1!==_0x3279f3){const _0xebd993=this['items']['get'](_0x3279f3);_0xebd993&&(_0xebd993['isActive']=!0x1);}-0x1!==_0x1cd242&&(this['items']['get'](_0x1cd242)['isActive']=!0x0,this['_scrollToItem'](_0x1cd242));}_insertItem(_0x4e10a5,..._0xa5d8ee){const _0x4b71fb=_0xa5d8ee['map']((_0x5863eb,_0x8f8c5c)=>{const _0x51e6e6=new _(this['locale'],this['showEmptyHeadingText']);return _0x51e6e6['text']=_0x5863eb['text'],_0x51e6e6['level']=_0x5863eb['level'],_0x4e10a5+_0x8f8c5c===this['activeItemIndex']&&(_0x51e6e6['isActive']=!0x0),_0x51e6e6;});this['items']['addMany'](_0x4b71fb,_0x4e10a5);}_deleteItem(_0x2d85b5,_0x10b4a9){do{this['items']['remove'](_0x2d85b5);}while(--_0x10b4a9);}_handleItemClick(_0x22b845){const _0x45269a=this['items']['getIndex'](_0x22b845['source']);this['fire']('itemSelected',_0x45269a);}_scrollToItem(_0x438d17){_0x345a20(this['items']['get'](_0x438d17)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x5db742{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xc35bcd){super(_0xc35bcd),this['view']=new k(_0xc35bcd['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x1f8a8d(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x1e4b2a=this['editor'],_0x5e1ca0=_0x1e4b2a['plugins']['get']('DocumentOutlineUtils');let _0x2afa4f=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x1e4b2a['config']['get']('documentOutline.container'))throw new _0x1c5da6('document-outline-container-not-provided',{'editor':_0x1e4b2a});_0x1e4b2a['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x5e1ca0['on']('change',this['_handleOutlineChange']['bind'](this)),_0x5e1ca0['on']('activeItemIndex',(_0x1ef2b5,{index:_0x1382c3})=>this['_setActiveViewItem'](_0x1382c3)),this['view']['on']('itemSelected',(_0x380f03,_0x85764)=>{_0x2afa4f=!0x0,this['_handleItemSelected'](_0x85764);});const _0x5f465f=()=>{_0x2afa4f?_0x2afa4f=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();};this['view']['listenTo'](_0x3f1a1a['document'],'scroll',_0x5f465f,{'useCapture':!0x0}),_0x292567(_0x1e4b2a['ui']['shadowRootRegistry'],{'emitter':this['view'],'event':'scroll','callback':_0x5f465f,'listenerOptions':{'useCapture':!0x0}}),this['view']['listenTo'](_0x3f1a1a['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x5be425){const _0x7528ec='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x363a04=0x797b8,_0x25b78c={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x15089c(_0x37e44e){const _0x3522a3=new window['Promise'](_0x52efaf=>{_0x37e44e['once']('ready',_0x52efaf);}),_0x420adb=window['Date']['now'](),_0x4fce28=_0x37e44e['config']['get']('licenseKey');async function _0x49806c(){let _0x9401ca,_0x31b226=null,_0x41b5f5=null;try{return'GPL'==_0x4fce28?'NotAllowed':(_0x9401ca=_0x1fdf3a(),_0x9401ca?(_0x9401ca['usageEndpoint']&&(_0x41b5f5=_0x441204(_0x9401ca['usageEndpoint'],_0x9401ca['jti'])),await _0x59dfde()?_0x40c8e5()?_0x3a7b97()?'Expired':_0x50dda8()?('evaluation'==_0x9401ca['licenseType']&&(_0x31b226=_0x1bc642('EvaluationLimit')),await _0x2a9b34()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3a7b97(){const _0x92f378=['evaluation','trial']['includes'](_0x9401ca['licenseType'])?_0x420adb/0x3e8:0xe10*_0x363a04;return _0x9401ca['exp']<_0x92f378;}function _0x40c8e5(){const _0x50cae9=_0x9401ca['features'];return!!_0x50cae9&&(!!_0x50cae9['includes']('*')||(!!_0x50cae9['includes']('DO')||(!!_0x50cae9['includes']('PP')||!(!_0x50cae9['includes']('TRILIUM')||!_0xb159d5()))));}function _0x50dda8(){const _0x5cc780=_0x9401ca['licensedHosts'];if(!_0x5cc780||0x0==_0x5cc780['length'])return!0x0;const {hostname:_0x214c9d}=new URL(window['location']['href']);if(_0x5cc780['includes'](_0x214c9d))return!0x0;const _0x387e37=_0x214c9d['split']('.');return _0x5cc780['filter'](_0x2b288b=>_0x2b288b['includes']('*'))['map'](_0x5074a6=>_0x5074a6['split']('.'))['filter'](_0x16d3ac=>_0x16d3ac['length']<=_0x387e37['length'])['map'](_0x55b2dc=>Array(_0x387e37['length']-_0x55b2dc['length'])['fill']('*'===_0x55b2dc[0x0]?'*':'')['concat'](_0x55b2dc))['some'](_0x1343e8=>_0x387e37['every']((_0x3c9bc3,_0x47168f)=>_0x1343e8[_0x47168f]===_0x3c9bc3||'*'===_0x1343e8[_0x47168f]));}function _0x2a9b34(){return _0x31b226&&_0x41b5f5?new window['Promise']((_0x439879,_0x3dbf72)=>{_0x31b226['then'](_0x439879,_0x3dbf72),_0x41b5f5['then'](_0x3dc367=>{'Valid'!=_0x3dc367&&_0x439879(_0x3dc367);},_0x3dbf72);}):_0x31b226||_0x41b5f5||'Valid';}}function _0x441204(_0x2c7d33,_0x9d24dc){return new window['Promise'](_0x18fd95=>{if(_0x1ea074())return _0x18fd95('Valid');_0x5e258a(),_0x37e44e['decorate']('_sendUsageRequest');let _0x27a5e7=!0x1;const _0x2052bf=_0x52b743();function _0x3fcf83(_0x31c569){return!!_0x31c569&&('object'==typeof _0x31c569||'function'==typeof _0x31c569)&&'function'==typeof _0x31c569['then']&&'function'==typeof _0x31c569['catch'];}function _0x55e689(_0x6bbf55){_0x260b35(_0x6bbf55)['then'](_0x50a5=>_0x50a5&&'ok'==_0x50a5['status']?_0x4559e7(_0x1fa16f(_0x2052bf+_0x9d24dc))!=_0x50a5['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5dc398=>(_0x56d258(),_0x5dc398),()=>{const _0x3ab259=_0x361565();return null==_0x3ab259?(_0x56d258(),'Valid'):_0x420adb-_0x3ab259>0x240c8400?'UsageLimit':'Valid';})['then'](_0x18fd95)['catch'](()=>{_0x18fd95('UsageLimit');});const _0xb1183c=0x36ee80;function _0x56d258(){const _0x21d482='llct-'+_0x4559e7(_0x1fa16f(_0x2c7d33)),_0x565e46=_0x17efa2(_0x4559e7(window['Math']['ceil'](_0x420adb/_0xb1183c)));window['localStorage']['setItem'](_0x21d482,_0x565e46);}function _0x361565(){const _0x1703ab='llct-'+_0x4559e7(_0x1fa16f(_0x2c7d33)),_0xa6ba53=window['localStorage']['getItem'](_0x1703ab);return _0xa6ba53?window['parseInt'](_0x17efa2(_0xa6ba53),0x10)*_0xb1183c:null;}function _0x260b35(_0x55709){return new window['Promise']((_0x5e2afe,_0x55d9f5)=>{_0x55709['then'](_0x5e2afe,_0x55d9f5),window['setTimeout'](_0x55d9f5,0x1d4c0);});}}_0x37e44e['on']('_sendUsageRequest',(_0x30e626,_0x11a9b6)=>{if(_0x11a9b6[0x0]!=_0x2c7d33)return _0x18fd95('UsageLimit');_0x11a9b6[0x1]={..._0x11a9b6[0x1],'requestId':_0x2052bf};},{'priority':'high'}),_0x37e44e['on']('_sendUsageRequest',_0xba5a62=>{_0x3fcf83(_0xba5a62['return'])&&(_0x27a5e7=!0x0,_0x55e689(_0xba5a62['return']));},{'priority':'low'}),_0x3522a3['then'](()=>{_0x27a5e7||_0x18fd95('UsageLimit');});});function _0x1ea074(){return'auto'==_0x37e44e['editing']['view']['_overlayModeHint'];}function _0x5e258a(){_0x37e44e['editing']['view']['_overlayModeHint']='auto';}}function _0x1bc642(_0x341199){const _0x3feaeb=[new window['Promise'](_0x34d4cc=>setTimeout(_0x34d4cc,0x93ecc)),_0x3522a3['then'](()=>new window['Promise'](_0x4611ae=>{let _0x8d9870=0x0;_0x37e44e['model']['on']('applyOperation',(_0x47100f,_0x24ad89)=>{_0x24ad89[0x0]['isDocumentOperation']&&_0x8d9870++,0x5e8==_0x8d9870&&(_0x4611ae(),_0x47100f['off']());});}))];return window['Promise']['race'](_0x3feaeb)['then'](()=>_0x341199);}async function _0x155afe(){await _0x3522a3,_0x37e44e['model']['change']=_0xe3648d,_0x37e44e['model']['enqueueChange']=_0xe3648d,_0x37e44e['enableReadOnlyMode']('model');}function _0xb159d5(){return window['glob']&&window['glob']['triliumVersion'];}function _0x3fc1a1(_0x29fc07){const _0x512276=_0x5afca6();_0x37e44e[_0x512276]='documentOutlineLicenseKey'+_0x29fc07,'Valid'!=_0x29fc07&&_0x155afe();}function _0x5afca6(){const _0x4af9a7=window['String'](window['performance']['now']())['replace']('.','');let _0x12e106='u';for(let _0x5ebdcc=0x0;_0x5ebdcc<_0x4af9a7['length'];_0x5ebdcc+=0x2){let _0x59a636=window['parseInt'](_0x4af9a7['substring'](_0x5ebdcc,_0x5ebdcc+0x2));_0x59a636>=0x3e&&(_0x59a636-=0x3e),_0x12e106+=_0x7528ec[_0x59a636];}return _0x12e106;}function _0x1fdf3a(){const _0x30c2d9=_0x4fce28['split']('.');if(0x3!=_0x30c2d9['length'])return null;return _0x3f1cd1(_0x30c2d9[0x1]);function _0x3f1cd1(_0x3a061a){const _0x45cb8f=_0x263149(_0x3a061a);return _0x45cb8f&&_0x4c61c7()?_0x45cb8f:null;function _0x4c61c7(){const _0x5db3e0=_0x45cb8f['jti'],_0x5dfa26=window['parseInt'](_0x5db3e0['substring'](_0x5db3e0['length']-0x8),0x10),_0x4e7d60={..._0x45cb8f,'jti':_0x5db3e0['substring'](0x0,_0x5db3e0['length']-0x8)};return delete _0x4e7d60['vc'],_0x1fa16f(_0x4e7d60)==_0x5dfa26;}}}async function _0x59dfde(){let _0x453e1a=!0x0;try{const [_0xa55281,_0x469f49,_0x476db1]=_0x4fce28['split']('.');return _0x41febc(_0xa55281),await _0x2c384f(_0xa55281,_0x469f49,_0x476db1),_0x453e1a;}catch{return!0x1;}function _0x41febc(_0x14fffc){const _0x3ebc2a=_0x263149(_0x14fffc);_0x3ebc2a&&'ES256'==_0x3ebc2a['alg']||(_0x453e1a=!0x1);}async function _0x2c384f(_0x3c7d1e,_0x7ecbbf,_0x57ee2b){const _0x41f73f=window['Uint8Array']['from'](_0x53d899(_0x57ee2b),_0x4f574e=>_0x4f574e['charCodeAt'](0x0)),_0x522626=new window['TextEncoder']()['encode'](_0x3c7d1e+'.'+_0x7ecbbf),_0xbaff43=window['crypto']['subtle'];if(!_0xbaff43)return;const _0x17442b=await _0xbaff43['importKey']('jwk',_0x25b78c,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xbaff43['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x17442b,_0x41f73f,_0x522626)||(_0x453e1a=!0x1);}}function _0x263149(_0x63068){return _0x63068['startsWith']('ey')?JSON['parse'](_0x53d899(_0x63068)):null;}function _0x53d899(_0x5a18ef){return window['atob'](_0x5a18ef['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1fa16f(_0x29482c){let _0x3748d5=0x1505;function _0x492ce4(_0x125433){for(let _0x2f8a01=0x0;_0x2f8a01<_0x125433['length'];_0x2f8a01++){const _0x6d0d74=_0x125433['charCodeAt'](_0x2f8a01);_0x3748d5=(_0x3748d5<<0x5)+_0x3748d5+_0x6d0d74,_0x3748d5&=_0x3748d5;}}function _0x175488(_0x4294e5){Array['isArray'](_0x4294e5)?_0x4294e5['forEach'](_0x175488):_0x4294e5&&'object'==typeof _0x4294e5?Object['entries'](_0x4294e5)['sort']()['forEach'](([_0x5e9b97,_0x39d18e])=>{_0x492ce4(_0x5e9b97),_0x175488(_0x39d18e);}):_0x492ce4(window['String'](_0x4294e5));}return _0x175488(_0x29482c),_0x3748d5>>>0x0;}function _0x4559e7(_0x10fe88){return _0x10fe88['toString'](0x10)['padStart'](0x8,'0');}function _0x17efa2(_0x4d82bc){return _0x4d82bc['split']('')['reverse']()['join']('');}function _0xe3648d(){}_0x3fc1a1(await _0x49806c());}_0x15089c(_0x5be425['editor']);}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x3f9776,{outlineDefinitions:_0x1200cd,outlineChanges:_0x28df6b}){this['_currentOutlineDefinitions']=_0x1200cd,this['view']['sync'](_0x28df6b);}_setActiveViewItem(_0x2ad381){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x2ad381]&&(this['view']['activeItemIndex']=_0x2ad381);}_handleItemSelected(_0x579ebf){const _0x401242=this['_currentOutlineDefinitions'][_0x579ebf]['modelElement'];this['editor']['model']['change'](_0x4aa5bb=>{_0x4aa5bb['setSelection'](_0x401242,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x579ebf);}_updateActiveDefinitionOnViewportChange(){const _0x3e3fa4=this['editor'];let _0xf7d2d0;for(const _0x2cfeac of _0x3e3fa4['model']['document']['getRootNames']()){const _0x42ee1e=_0x3e3fa4['editing']['view']['getDomRoot'](_0x2cfeac),_0x1689d9=_0x42ee1e&&new _0x2f436f(_0x42ee1e)['getVisible']();if(_0x1689d9){const _0x550c8f=new _0x2f436f(_0x3f1a1a['window'])['getIntersection'](_0x1689d9);_0x550c8f&&(_0xf7d2d0=_0x550c8f['top']+0.25*_0x550c8f['height']);}}if(void 0x0===_0xf7d2d0)return;const _0x207ea2=E(_0x3e3fa4['editing'],this['_currentOutlineDefinitions'],_0xf7d2d0);_0x207ea2?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x207ea2)):this['_setActiveViewItem'](-0x1);}};function E(_0xfc4fba,_0x71e61e,_0x1119ba,_0x437981=0x0,_0x3faa35=_0x71e61e['length']-0x1){const _0x528dae=Math['floor'](_0x437981+(_0x3faa35-_0x437981)/0x2);if(_0x3faa35>=_0x437981){const _0x5e698f=_0x71e61e[_0x528dae],_0x41227a=_0xfc4fba['mapper']['toViewElement'](_0x5e698f['modelElement']);if(!_0x41227a)return null;const _0x4f4691=_0xfc4fba['view']['domConverter']['mapViewToDom'](_0x41227a);return new _0x2f436f(_0x4f4691)['bottom']>_0x1119ba?E(_0xfc4fba,_0x71e61e,_0x1119ba,_0x437981,_0x528dae-0x1):E(_0xfc4fba,_0x71e61e,_0x1119ba,_0x528dae+0x1,_0x3faa35);}return _0x528dae<0x0?null:_0x71e61e[_0x528dae];}var K=class extends _0x5db742{['licenseKey'];_licenseKeyCheckInterval;static get requires(){return[L,x];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x4fad97=[this['editor']];for(const _0xab54b1 of _0x4fad97){let _0x5763d5;for(const _0x27dc7e in _0xab54b1){const _0x352c0c=_0x27dc7e,_0x10e825=_0xab54b1[_0x352c0c];if('documentOutlineLicenseKeyValid'==_0x10e825||'documentOutlineLicenseKeyInvalid'==_0x10e825||'documentOutlineLicenseKeyExpired'==_0x10e825||'documentOutlineLicenseKeyDomainLimit'==_0x10e825||'documentOutlineLicenseKeyNotAllowed'==_0x10e825||'documentOutlineLicenseKeyEvaluationLimit'==_0x10e825||'documentOutlineLicenseKeyUsageLimit'==_0x10e825){delete _0xab54b1[_0x352c0c],_0x5763d5=_0x10e825,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x5763d5&&_0xab54b1['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x5763d5&&_0xab54b1['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x5763d5&&_0xab54b1['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x5763d5&&_0xab54b1['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x5763d5&&_0xab54b1['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x5763d5&&_0xab54b1['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},A=class extends _0x54998a{execute(){this['editor']['model']['change'](_0x13b222=>{this['editor']['model']['insertObject'](_0x13b222['createElement']('tableOfContents'));});}['refresh'](){const _0x149470=this['editor']['model'],_0x258ad1=_0x149470['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x258ad1&&_0x149470['schema']['findAllowedParent'](_0x258ad1,'tableOfContents'));}},N=class extends _0x5db742{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0xbfce03=this['editor'];if(_0xbfce03['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x7ef4b0,modelNames:_0x141314}=function(_0x5932fb){const _0x2ced8a=new Set(['h1','h2','h3','h4','h5','h6']),_0x34fd10=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x5932fb)return{'viewNames':_0x2ced8a,'modelNames':_0x34fd10};for(const _0x6e1ec of _0x5932fb){if('paragraph'===_0x6e1ec['model'])continue;const _0xeea623='string'==typeof _0x6e1ec['view']?_0x6e1ec['view']:_0x6e1ec['view']['name'];_0x2ced8a['add'](_0xeea623),_0x34fd10['add'](_0x6e1ec['model']);}return{'viewNames':_0x2ced8a,'modelNames':_0x34fd10};}(this['editor']['config']['get']('heading.options'));for(const _0x38ad47 of _0x7ef4b0)this['_customUpcastHeadingsConversion'](_0x38ad47);for(const _0x1fbb34 of _0x141314)this['_customDataDowncastHeadingsConversion'](_0x1fbb34),_0xbfce03['model']['schema']['isRegistered'](_0x1fbb34)&&_0xbfce03['model']['schema']['extend'](_0x1fbb34,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x141314);}_customUpcastHeadingsConversion(_0x201784){this['editor']['conversion']['for']('upcast')['add'](_0x1a6dd0=>_0x1a6dd0['on']('element:'+_0x201784,(_0x589ae8,_0x27debb,_0xb15b57)=>{const {consumable:_0x13c501,writer:_0x25a986}=_0xb15b57,_0x9cefe8=_0x27debb['viewItem']['getAttribute']('id'),_0x494e61=_0x27debb['modelRange']?.['getContainedElement']();if(_0x494e61)return _0x9cefe8&&_0x9cefe8['length']||_0x494e61['hasAttribute']('headingId')?void(_0x13c501['consume'](_0x27debb['viewItem'],{'attributes':['id']})&&_0x25a986['setAttribute']('headingId',_0x9cefe8,_0x494e61)):(_0x13c501['consume'](_0x27debb['viewItem'],{'attributes':['id']}),void _0x25a986['setAttribute']('headingId',_0x52b743(),_0x494e61));},{'priority':_0x1ed9d4['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x53aff1){this['editor']['conversion']['for']('downcast')['add'](_0x5a013c=>_0x5a013c['on']('attribute:headingId:'+_0x53aff1,(_0x4dcbde,_0x2b56a9,_0x382a20)=>{if(!_0x382a20['consumable']['consume'](_0x2b56a9['item'],_0x4dcbde['name']))return;const _0x15fcbf=_0x2b56a9['item']['getAttribute']('headingId'),_0xefc4e1=_0x382a20['mapper']['toViewElement'](_0x2b56a9['item']);_0x382a20['writer']['setAttribute']('id',_0x15fcbf,_0xefc4e1);}));}_registerHeadingIdAttributePostfixer(_0x5cbf72){const _0x5d3dc2=this['editor'],_0x2304ed=new Set(),_0x1f864f=new Set();function _0x2a6220(_0x44f280,_0x58e25c){const _0x36f4cb=_0x52b743();return _0x1f864f['add'](_0x36f4cb),_0x44f280['setAttribute']('headingId',_0x36f4cb,_0x58e25c),_0x36f4cb;}function _0x4d1e90(_0x4a5416,_0x393cb1){_0x4a5416['removeAttribute']('headingId',_0x393cb1);}_0x5d3dc2['model']['document']['registerPostFixer'](_0x5539aa=>{const _0x39698d=_0x5d3dc2['model']['document']['differ']['getChanges']();let _0x58966e=!0x1;for(const _0x121a60 of _0x39698d)if('insert'==_0x121a60['type']&&_0x121a60['name']){if(_0x5cbf72['has'](_0x121a60['name'])){const _0x354d71=_0x121a60['attributes']['get']('headingId');'string'==typeof _0x354d71?_0x2304ed['has'](_0x354d71)?(_0x2a6220(_0x5539aa,_0x121a60['position']['nodeAfter']),_0x58966e=!0x0):_0x1f864f['add'](_0x354d71):(_0x2a6220(_0x5539aa,_0x121a60['position']['nodeAfter']),_0x58966e=!0x0);}else'string'==typeof _0x121a60['attributes']['get']('headingId')&&(_0x4d1e90(_0x5539aa,_0x121a60['position']['nodeAfter']),_0x58966e=!0x0);}else{if('remove'==_0x121a60['type']){const _0x559cf8=_0x121a60['attributes']['get']('headingId');'string'==typeof _0x559cf8&&_0x2304ed['delete'](_0x559cf8);}}return _0x58966e;}),_0x5d3dc2['model']['document']['on']('change',()=>{_0x1f864f['forEach'](_0x4aae9e=>_0x2304ed['add'](_0x4aae9e)),_0x1f864f['clear']();});}},D=class extends _0x5db742{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x3e2c91,L,N];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0xa887c6){super(_0xa887c6),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x4964cc=this['editor'],_0x540dda=_0x4964cc['editing']['view']['document'];_0x4964cc['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x4964cc['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x540dda,'click',(_0x52e667,_0x564f3e)=>{if(!_0x564f3e['target'])return;const _0x3122c6=_0x564f3e['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x3122c6)&&(_0x564f3e['domEvent']['preventDefault'](),_0x52e667['stop'](),this['_handleScrollToHeading'](_0x3122c6));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x4964cc['commands']['add']('insertTableOfContents',new A(_0x4964cc));const _0x171e8c=_0x4964cc['config']['get']('tableOfContents.headings');_0x171e8c&&_0x171e8c['length']?this['listenTo'](_0x4964cc['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x171e8c),this['_updateTableOfContentsElements']();}):_0x4964cc['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x997337,_0x4f5f7c)=>{this['_currentOutlineDefinitions']=_0x4f5f7c['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x4964cc['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x4df46f){const _0x2fea35='DUA610emL4Q2kjVIvGMHgWT3uySnzPEw79oZJiCrbstcXKq85NhdfaFRxBlpOY',_0x223c79=0x797b8,_0x3819b0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0xa288f7(_0x500656){const _0x1701a7=new window['Promise'](_0x3ace38=>{_0x500656['once']('ready',_0x3ace38);}),_0xfe32ae=window['Date']['now'](),_0x5738cc=_0x500656['config']['get']('licenseKey');async function _0x3d333e(){let _0x1e4d77,_0x5ec1b7=null,_0x3ba458=null;try{return'GPL'==_0x5738cc?'NotAllowed':(_0x1e4d77=_0x21d86c(),_0x1e4d77?(_0x1e4d77['usageEndpoint']&&(_0x3ba458=_0x525b9f(_0x1e4d77['usageEndpoint'],_0x1e4d77['jti'])),await _0x350e22()?_0x51b292()?_0x22affc()?'Expired':_0x2ced8f()?('evaluation'==_0x1e4d77['licenseType']&&(_0x5ec1b7=_0x1fb9e8('EvaluationLimit')),await _0x453ec7()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x22affc(){const _0x1ed8d4=['evaluation','trial']['includes'](_0x1e4d77['licenseType'])?_0xfe32ae/0x3e8:0xe10*_0x223c79;return _0x1e4d77['exp']<_0x1ed8d4;}function _0x51b292(){const _0x59ef25=_0x1e4d77['features'];return!!_0x59ef25&&(!!_0x59ef25['includes']('*')||(!!_0x59ef25['includes']('TOC')||(!!_0x59ef25['includes']('PP')||!(!_0x59ef25['includes']('TRILIUM')||!_0x53a4eb()))));}function _0x2ced8f(){const _0x4f7286=_0x1e4d77['licensedHosts'];if(!_0x4f7286||0x0==_0x4f7286['length'])return!0x0;const {hostname:_0x453fe3}=new URL(window['location']['href']);if(_0x4f7286['includes'](_0x453fe3))return!0x0;const _0x5b5bd2=_0x453fe3['split']('.');return _0x4f7286['filter'](_0x4e8397=>_0x4e8397['includes']('*'))['map'](_0x1f1295=>_0x1f1295['split']('.'))['filter'](_0x364956=>_0x364956['length']<=_0x5b5bd2['length'])['map'](_0x35da36=>Array(_0x5b5bd2['length']-_0x35da36['length'])['fill']('*'===_0x35da36[0x0]?'*':'')['concat'](_0x35da36))['some'](_0x1b3095=>_0x5b5bd2['every']((_0x52094e,_0x430ed8)=>_0x1b3095[_0x430ed8]===_0x52094e||'*'===_0x1b3095[_0x430ed8]));}function _0x453ec7(){return _0x5ec1b7&&_0x3ba458?new window['Promise']((_0x2656ae,_0x363bbd)=>{_0x5ec1b7['then'](_0x2656ae,_0x363bbd),_0x3ba458['then'](_0x3e648a=>{'Valid'!=_0x3e648a&&_0x2656ae(_0x3e648a);},_0x363bbd);}):_0x5ec1b7||_0x3ba458||'Valid';}}function _0x525b9f(_0x8631fa,_0x2d688a){return new window['Promise'](_0x16b220=>{if(_0x4376cb())return _0x16b220('Valid');_0x522d1b(),_0x500656['decorate']('_sendUsageRequest');let _0x2b02e2=!0x1;const _0x4bd389=_0x52b743();function _0x80081a(_0x57684d){return!!_0x57684d&&('object'==typeof _0x57684d||'function'==typeof _0x57684d)&&'function'==typeof _0x57684d['then']&&'function'==typeof _0x57684d['catch'];}function _0x402ed3(_0x47757a){_0x292d16(_0x47757a)['then'](_0x5eff72=>_0x5eff72&&'ok'==_0x5eff72['status']?_0xc2762c(_0x1d9edf(_0x4bd389+_0x2d688a))!=_0x5eff72['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x181552=>(_0x592d98(),_0x181552),()=>{const _0x2db37c=_0x2a5967();return null==_0x2db37c?(_0x592d98(),'Valid'):_0xfe32ae-_0x2db37c>0x240c8400?'UsageLimit':'Valid';})['then'](_0x16b220)['catch'](()=>{_0x16b220('UsageLimit');});const _0x91a7d5=0x36ee80;function _0x592d98(){const _0x5c6091='llct-'+_0xc2762c(_0x1d9edf(_0x8631fa)),_0x159fe9=_0x95e986(_0xc2762c(window['Math']['ceil'](_0xfe32ae/_0x91a7d5)));window['localStorage']['setItem'](_0x5c6091,_0x159fe9);}function _0x2a5967(){const _0x3f4fd5='llct-'+_0xc2762c(_0x1d9edf(_0x8631fa)),_0x124567=window['localStorage']['getItem'](_0x3f4fd5);return _0x124567?window['parseInt'](_0x95e986(_0x124567),0x10)*_0x91a7d5:null;}function _0x292d16(_0x171592){return new window['Promise']((_0xb04bcd,_0x3918ba)=>{_0x171592['then'](_0xb04bcd,_0x3918ba),window['setTimeout'](_0x3918ba,0x1d4c0);});}}_0x500656['on']('_sendUsageRequest',(_0x51f943,_0x4aaae1)=>{if(_0x4aaae1[0x0]!=_0x8631fa)return _0x16b220('UsageLimit');_0x4aaae1[0x1]={..._0x4aaae1[0x1],'requestId':_0x4bd389};},{'priority':'high'}),_0x500656['on']('_sendUsageRequest',_0xedc960=>{_0x80081a(_0xedc960['return'])&&(_0x2b02e2=!0x0,_0x402ed3(_0xedc960['return']));},{'priority':'low'}),_0x1701a7['then'](()=>{_0x2b02e2||_0x16b220('UsageLimit');});});function _0x4376cb(){return'auto'==_0x500656['editing']['view']['_overlayModeHint'];}function _0x522d1b(){_0x500656['editing']['view']['_overlayModeHint']='auto';}}function _0x1fb9e8(_0x212a81){const _0x2a9c91=[new window['Promise'](_0xfc99c7=>setTimeout(_0xfc99c7,0x93ecc)),_0x1701a7['then'](()=>new window['Promise'](_0x514d2c=>{let _0x24bfb3=0x0;_0x500656['model']['on']('applyOperation',(_0x4b0ad8,_0x4bc64b)=>{_0x4bc64b[0x0]['isDocumentOperation']&&_0x24bfb3++,0x5e8==_0x24bfb3&&(_0x514d2c(),_0x4b0ad8['off']());});}))];return window['Promise']['race'](_0x2a9c91)['then'](()=>_0x212a81);}async function _0x58b668(){await _0x1701a7,_0x500656['model']['change']=_0x5b14af,_0x500656['model']['enqueueChange']=_0x5b14af,_0x500656['enableReadOnlyMode']('model');}function _0x53a4eb(){return window['glob']&&window['glob']['triliumVersion'];}function _0x5cadcd(_0x56f042){const _0x3e7f5f=_0x366fae();_0x500656[_0x3e7f5f]='tableOfContentsLicenseKey'+_0x56f042,'Valid'!=_0x56f042&&_0x58b668();}function _0x366fae(){const _0x508f30=window['String'](window['performance']['now']())['replace']('.','');let _0x261fcf='D';for(let _0x25992b=0x0;_0x25992b<_0x508f30['length'];_0x25992b+=0x2){let _0x528687=window['parseInt'](_0x508f30['substring'](_0x25992b,_0x25992b+0x2));_0x528687>=0x3e&&(_0x528687-=0x3e),_0x261fcf+=_0x2fea35[_0x528687];}return _0x261fcf;}function _0x21d86c(){const _0x342a5b=_0x5738cc['split']('.');if(0x3!=_0x342a5b['length'])return null;return _0xcf4f77(_0x342a5b[0x1]);function _0xcf4f77(_0x405700){const _0x16a3d8=_0xe2eb73(_0x405700);return _0x16a3d8&&_0x2a0528()?_0x16a3d8:null;function _0x2a0528(){const _0x3f2bf6=_0x16a3d8['jti'],_0x131de5=window['parseInt'](_0x3f2bf6['substring'](_0x3f2bf6['length']-0x8),0x10),_0x310cdc={..._0x16a3d8,'jti':_0x3f2bf6['substring'](0x0,_0x3f2bf6['length']-0x8)};return delete _0x310cdc['vc'],_0x1d9edf(_0x310cdc)==_0x131de5;}}}async function _0x350e22(){let _0x4ae923=!0x0;try{const [_0xd18856,_0x174dcc,_0x5f51f7]=_0x5738cc['split']('.');return _0x13e9f0(_0xd18856),await _0x1843bd(_0xd18856,_0x174dcc,_0x5f51f7),_0x4ae923;}catch{return!0x1;}function _0x13e9f0(_0x11bdb7){const _0x2729d3=_0xe2eb73(_0x11bdb7);_0x2729d3&&'ES256'==_0x2729d3['alg']||(_0x4ae923=!0x1);}async function _0x1843bd(_0x1dc1c1,_0x9f5e3c,_0x33121f){const _0x998e8f=window['Uint8Array']['from'](_0x2e746c(_0x33121f),_0x2743c9=>_0x2743c9['charCodeAt'](0x0)),_0xe13cb0=new window['TextEncoder']()['encode'](_0x1dc1c1+'.'+_0x9f5e3c),_0x28d1de=window['crypto']['subtle'];if(!_0x28d1de)return;const _0x2505be=await _0x28d1de['importKey']('jwk',_0x3819b0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x28d1de['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2505be,_0x998e8f,_0xe13cb0)||(_0x4ae923=!0x1);}}function _0xe2eb73(_0x458a64){return _0x458a64['startsWith']('ey')?JSON['parse'](_0x2e746c(_0x458a64)):null;}function _0x2e746c(_0x1a809e){return window['atob'](_0x1a809e['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1d9edf(_0x4d7a55){let _0xc456d4=0x1505;function _0x17b668(_0x358588){for(let _0x4351d8=0x0;_0x4351d8<_0x358588['length'];_0x4351d8++){const _0x2d4ac7=_0x358588['charCodeAt'](_0x4351d8);_0xc456d4=(_0xc456d4<<0x5)+_0xc456d4+_0x2d4ac7,_0xc456d4&=_0xc456d4;}}function _0x1e6362(_0x41e14e){Array['isArray'](_0x41e14e)?_0x41e14e['forEach'](_0x1e6362):_0x41e14e&&'object'==typeof _0x41e14e?Object['entries'](_0x41e14e)['sort']()['forEach'](([_0x182f4b,_0x3033fc])=>{_0x17b668(_0x182f4b),_0x1e6362(_0x3033fc);}):_0x17b668(window['String'](_0x41e14e));}return _0x1e6362(_0x4d7a55),_0xc456d4>>>0x0;}function _0xc2762c(_0x577010){return _0x577010['toString'](0x10)['padStart'](0x8,'0');}function _0x95e986(_0x5ad4f3){return _0x5ad4f3['split']('')['reverse']()['join']('');}function _0x5b14af(){}_0x5cadcd(await _0x3d333e());}_0xa288f7(_0x4df46f['editor']);}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x23a326=>{'$graveyard'!==_0x23a326['rootName']&&this['editor']['editing']['reconvertItem'](_0x23a326);});}_trackNewToCElements(){for(const _0x272d55 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x272d55['type']||'tableOfContents'!==_0x272d55['name'])return;this['_tableOfContentsElements']['add'](_0x272d55['position']['nodeAfter']);}}_getOutlineDefinitions(_0x387061){const _0x5e2377=this['editor'],_0x4d0e7c=[];for(const _0x90922d of _0x5e2377['model']['document']['getRootNames']())_0x11a88c(_0x5e2377['model']['document']['getRoot'](_0x90922d));function _0x11a88c(_0x2c04a6){for(const _0x40efaf of _0x2c04a6['getChildren']())_0x40efaf['is']('element')&&(_0x387061['includes'](_0x40efaf['name'])&&_0x4d0e7c['push']({'level':_0x387061['indexOf'](_0x40efaf['name'])+0x1,'text':I(_0x40efaf),'modelElement':_0x40efaf}),_0x11a88c(_0x40efaf));}return _0x4d0e7c;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x3d58c3=this['editor']['conversion'];_0x3d58c3['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3d58c3['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x4f8861,{writer:_0xd1f02f})=>this['_createTableOfContents'](_0xd1f02f,!0x0)}),_0x3d58c3['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xc9b81d,{writer:_0x1c3a2})=>{this['_tableOfContentsElements']['add'](_0xc9b81d);const _0x34143b=this['_createTableOfContents'](_0x1c3a2);return _0x21bc3c(_0x34143b,_0x1c3a2,{'label':C(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(_0x506c51,_0x502c38=!0x1){const {locale:_0x1a3e06}=this['editor'],_0x4d3748=_0x506c51['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x502c38&&{'data-table-of-contents-label':C(_0x1a3e06,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x502c38&&_0x506c51['insert'](_0x506c51['createPositionAt'](_0x4d3748,'end'),_0x506c51['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x506c51['createText'](C(_0x1a3e06,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1a80d1=_0x502c38?'':'['+C(_0x1a3e06,'Empty\x20heading')+']';let _0x4bb210=_0x4d3748;return this['_currentOutlineDefinitions']['forEach']((_0x21fdae,_0x2d7447,_0x19d811)=>{const _0x520a5d=this['editor']['model']['hasContent'](_0x21fdae['modelElement'],{'ignoreWhitespaces':!0x0}),_0x39dd50=_0x520a5d?_0x21fdae['text']:_0x1a80d1,_0x49594e=_0x21fdae['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x58e307=_0x506c51['createContainerElement']('a',{'href':'#'+_0x49594e,...!_0x502c38&&{'tabindex':'-1'}},[_0x506c51['createText'](_0x39dd50)]),_0x26007b=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x506c51['setCustomProperty']('tableOfContentsHeadingIndex',_0x2d7447,_0x58e307);const _0x316438=_0x506c51['createContainerElement']('li',null,[_0x520a5d||!_0x502c38&&_0x26007b?_0x58e307:_0x506c51['createText']('')]),_0x436d9f=_0x2d7447?_0x19d811[_0x2d7447-0x1]['level']:0x0,_0x25a498=Math['abs'](_0x21fdae['level']-_0x436d9f);if(_0x21fdae['level']>_0x436d9f){const _0x314d12=H(_0x316438,_0x25a498,_0x506c51);_0x506c51['insert'](_0x506c51['createPositionAt'](_0x4bb210,'end'),_0x314d12);}else{const _0x1893cf=function(_0x3a6479,_0xb3012e){return _0x3a6479['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0xa111ce=>_0xa111ce['is']('element','ol'))[_0xb3012e];}(_0x4bb210,_0x25a498);_0x506c51['insert'](_0x506c51['createPositionAt'](_0x1893cf,'end'),_0x316438);}_0x4bb210=_0x316438;}),_0x4d3748;}['_handleScrollToHeading'](_0x1ae227){const _0x4db25c=this['_currentOutlineDefinitions'][_0x1ae227]['modelElement'];this['editor']['model']['change'](_0x3d7d14=>{_0x3d7d14['setSelection'](_0x4db25c,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x2c7c98,_0x2ed5ad)=>{const _0x4d7b18=_0x2ed5ad['mapper'],_0x581e8a=_0x4d7b18['findMappedViewAncestor'](_0x2ed5ad['viewPosition']),_0x46bcb9=_0x4d7b18['toModelElement'](_0x581e8a);_0x46bcb9['is']('element','tableOfContents')&&(_0x2ed5ad['modelPosition']=this['editor']['model']['createPositionAt'](_0x46bcb9,0x0),_0x2c7c98['stop']());};}};function H(_0x409c41,_0xe07898,_0x5a11ec){return 0x1===_0xe07898?_0x5a11ec['createContainerElement']('ol',null,[_0x409c41]):_0x5a11ec['createContainerElement']('ol',null,[_0x5a11ec['createContainerElement']('li',null,[H(_0x409c41,_0xe07898-0x1,_0x5a11ec)])]);}var P=class extends _0x5db742{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x2abaa6=this['editor'];_0x2abaa6['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x67b539=this['_createButton'](_0x73afb1);return _0x67b539['tooltip']=!0x0,_0x67b539;}),_0x2abaa6['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x152b48)),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0xad2b7=[this['editor']];for(const _0x5e65f1 of _0xad2b7){let _0x65dd19;for(const _0x23fdd6 in _0x5e65f1){const _0x5cd34c=_0x23fdd6,_0x4cec6f=_0x5e65f1[_0x5cd34c];if('tableOfContentsLicenseKeyValid'==_0x4cec6f||'tableOfContentsLicenseKeyInvalid'==_0x4cec6f||'tableOfContentsLicenseKeyExpired'==_0x4cec6f||'tableOfContentsLicenseKeyDomainLimit'==_0x4cec6f||'tableOfContentsLicenseKeyNotAllowed'==_0x4cec6f||'tableOfContentsLicenseKeyEvaluationLimit'==_0x4cec6f||'tableOfContentsLicenseKeyUsageLimit'==_0x4cec6f){delete _0x5e65f1[_0x5cd34c],_0x65dd19=_0x4cec6f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x65dd19&&_0x5e65f1['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x65dd19&&_0x5e65f1['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x65dd19&&_0x5e65f1['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x65dd19&&_0x5e65f1['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x65dd19&&_0x5e65f1['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x65dd19&&_0x5e65f1['_showLicenseError']('usageLimit');}},0x3e8);}_createButton(_0x31808e){const _0x654ddf=this['editor'],_0x59f25d=_0x654ddf['locale'],_0x50e1bd=_0x654ddf['commands']['get']('insertTableOfContents'),_0x88f44d=new _0x31808e(_0x59f25d);return _0x88f44d['set']({'label':C(_0x59f25d,'Table\x20of\x20contents'),'icon':_0x44d855}),_0x88f44d['bind']('isEnabled')['to'](_0x50e1bd,'isEnabled'),this['listenTo'](_0x88f44d,'execute',()=>{_0x654ddf['execute']('insertTableOfContents'),_0x654ddf['editing']['view']['focus']();}),_0x88f44d;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0x5db742{static get requires(){return[D,P];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{K as DocumentOutline,x as DocumentOutlineUI,L as DocumentOutlineUtils,N as HeadingId,U as TableOfContents,A as TableOfContentsCommand,D as TableOfContentsEditing,P as TableOfContentsUI};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1103ca=>{const {af:_0x2006ee}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x1103ca['af']||={'dictionary':{},'getPluralForm':null},_0x1103ca['af']['dictionary']=Object['assign'](_0x1103ca['af']['dictionary'],_0x2006ee['dictionary']),_0x2006ee['getPluralForm']&&(_0x1103ca['af']['getPluralForm']=_0x2006ee['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x594bc9=>{const {ar:_0x243038}={'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المحتويات'}}};_0x594bc9['ar']||={'dictionary':{},'getPluralForm':null},_0x594bc9['ar']['dictionary']=Object['assign'](_0x594bc9['ar']['dictionary'],_0x243038['dictionary']),_0x243038['getPluralForm']&&(_0x594bc9['ar']['getPluralForm']=_0x243038['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27f096=>{const {ast:_0x1d2e04}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x27f096['ast']||={'dictionary':{},'getPluralForm':null},_0x27f096['ast']['dictionary']=Object['assign'](_0x27f096['ast']['dictionary'],_0x1d2e04['dictionary']),_0x1d2e04['getPluralForm']&&(_0x27f096['ast']['getPluralForm']=_0x1d2e04['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x581d51=>{const {az:_0x13bd05}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x581d51['az']||={'dictionary':{},'getPluralForm':null},_0x581d51['az']['dictionary']=Object['assign'](_0x581d51['az']['dictionary'],_0x13bd05['dictionary']),_0x13bd05['getPluralForm']&&(_0x581d51['az']['getPluralForm']=_0x13bd05['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x289e5e=>{const {be:_0x230cb5}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x289e5e['be']||={'dictionary':{},'getPluralForm':null},_0x289e5e['be']['dictionary']=Object['assign'](_0x289e5e['be']['dictionary'],_0x230cb5['dictionary']),_0x230cb5['getPluralForm']&&(_0x289e5e['be']['getPluralForm']=_0x230cb5['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1fa868=>{const {bg:_0x16e678}={'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':'Съдържание'}}};_0x1fa868['bg']||={'dictionary':{},'getPluralForm':null},_0x1fa868['bg']['dictionary']=Object['assign'](_0x1fa868['bg']['dictionary'],_0x16e678['dictionary']),_0x16e678['getPluralForm']&&(_0x1fa868['bg']['getPluralForm']=_0x16e678['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x23796e=>{const {bn:_0x3f92c7}={'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টেবিল'}}};_0x23796e['bn']||={'dictionary':{},'getPluralForm':null},_0x23796e['bn']['dictionary']=Object['assign'](_0x23796e['bn']['dictionary'],_0x3f92c7['dictionary']),_0x3f92c7['getPluralForm']&&(_0x23796e['bn']['getPluralForm']=_0x3f92c7['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d6ceb=>{const {bs:_0x4e3122}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x2d6ceb['bs']||={'dictionary':{},'getPluralForm':null},_0x2d6ceb['bs']['dictionary']=Object['assign'](_0x2d6ceb['bs']['dictionary'],_0x4e3122['dictionary']),_0x4e3122['getPluralForm']&&(_0x2d6ceb['bs']['getPluralForm']=_0x4e3122['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1cde07=>{const {ca:_0x310460}={'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'}}};_0x1cde07['ca']||={'dictionary':{},'getPluralForm':null},_0x1cde07['ca']['dictionary']=Object['assign'](_0x1cde07['ca']['dictionary'],_0x310460['dictionary']),_0x310460['getPluralForm']&&(_0x1cde07['ca']['getPluralForm']=_0x310460['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x42e427=>{const {cs:_0x31e8af}={'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'}}};_0x42e427['cs']||={'dictionary':{},'getPluralForm':null},_0x42e427['cs']['dictionary']=Object['assign'](_0x42e427['cs']['dictionary'],_0x31e8af['dictionary']),_0x31e8af['getPluralForm']&&(_0x42e427['cs']['getPluralForm']=_0x31e8af['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x25e843=>{const {da:_0x25b7a4}={'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'}}};_0x25e843['da']||={'dictionary':{},'getPluralForm':null},_0x25e843['da']['dictionary']=Object['assign'](_0x25e843['da']['dictionary'],_0x25b7a4['dictionary']),_0x25b7a4['getPluralForm']&&(_0x25e843['da']['getPluralForm']=_0x25b7a4['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x343139=>{const {'de-ch':_0x3e8019}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x343139['de-ch']||={'dictionary':{},'getPluralForm':null},_0x343139['de-ch']['dictionary']=Object['assign'](_0x343139['de-ch']['dictionary'],_0x3e8019['dictionary']),_0x3e8019['getPluralForm']&&(_0x343139['de-ch']['getPluralForm']=_0x3e8019['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2fa94a=>{const {de:_0x3dae7b}={'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'}}};_0x2fa94a['de']||={'dictionary':{},'getPluralForm':null},_0x2fa94a['de']['dictionary']=Object['assign'](_0x2fa94a['de']['dictionary'],_0x3dae7b['dictionary']),_0x3dae7b['getPluralForm']&&(_0x2fa94a['de']['getPluralForm']=_0x3dae7b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d48f0=>{const {el:_0x226f6f}={'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περιεχομένων'}}};_0x4d48f0['el']||={'dictionary':{},'getPluralForm':null},_0x4d48f0['el']['dictionary']=Object['assign'](_0x4d48f0['el']['dictionary'],_0x226f6f['dictionary']),_0x226f6f['getPluralForm']&&(_0x4d48f0['el']['getPluralForm']=_0x226f6f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc0b291=>{const {'en-au':_0x306ed1}={'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'}}};_0xc0b291['en-au']||={'dictionary':{},'getPluralForm':null},_0xc0b291['en-au']['dictionary']=Object['assign'](_0xc0b291['en-au']['dictionary'],_0x306ed1['dictionary']),_0x306ed1['getPluralForm']&&(_0xc0b291['en-au']['getPluralForm']=_0x306ed1['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47f638=>{const {'en-gb':_0x45925c}={'en-gb':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x47f638['en-gb']||={'dictionary':{},'getPluralForm':null},_0x47f638['en-gb']['dictionary']=Object['assign'](_0x47f638['en-gb']['dictionary'],_0x45925c['dictionary']),_0x45925c['getPluralForm']&&(_0x47f638['en-gb']['getPluralForm']=_0x45925c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x816bc9=>{const {en:_0x244b1c}={'en':{'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'}}};_0x816bc9['en']||={'dictionary':{},'getPluralForm':null},_0x816bc9['en']['dictionary']=Object['assign'](_0x816bc9['en']['dictionary'],_0x244b1c['dictionary']),_0x244b1c['getPluralForm']&&(_0x816bc9['en']['getPluralForm']=_0x244b1c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x523635=>{const {eo:_0xd19475}={'eo':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x523635['eo']||={'dictionary':{},'getPluralForm':null},_0x523635['eo']['dictionary']=Object['assign'](_0x523635['eo']['dictionary'],_0xd19475['dictionary']),_0xd19475['getPluralForm']&&(_0x523635['eo']['getPluralForm']=_0xd19475['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3cc657=>{const {'es-co':_0x39db85}={'es-co':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x3cc657['es-co']||={'dictionary':{},'getPluralForm':null},_0x3cc657['es-co']['dictionary']=Object['assign'](_0x3cc657['es-co']['dictionary'],_0x39db85['dictionary']),_0x39db85['getPluralForm']&&(_0x3cc657['es-co']['getPluralForm']=_0x39db85['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ed8ad=>{const {es:_0x515d3d}={'es':{'dictionary':{'Empty\x20heading':'Encabezado\x20vacío','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Los\x20encabezados\x20del\x20editor\x20aparecerán\x20aquí\x20mientras\x20escribe.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20se\x20han\x20encontrado\x20encabezados\x20en\x20el\x20documento.','Table\x20of\x20contents':'Tabla\x20de\x20contenido'}}};_0x3ed8ad['es']||={'dictionary':{},'getPluralForm':null},_0x3ed8ad['es']['dictionary']=Object['assign'](_0x3ed8ad['es']['dictionary'],_0x515d3d['dictionary']),_0x515d3d['getPluralForm']&&(_0x3ed8ad['es']['getPluralForm']=_0x515d3d['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15f4f7=>{const {et:_0x5ef27c}={'et':{'dictionary':{'Empty\x20heading':'Tühi\x20pealkiri','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Redaktori\x20pealkirjad\x20ilmuvad\x20siia\x20tippimise\x20ajal.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Dokumendist\x20ei\x20leitud\x20ühtegi\x20pealkirja','Table\x20of\x20contents':'Sisukord'}}};_0x15f4f7['et']||={'dictionary':{},'getPluralForm':null},_0x15f4f7['et']['dictionary']=Object['assign'](_0x15f4f7['et']['dictionary'],_0x5ef27c['dictionary']),_0x5ef27c['getPluralForm']&&(_0x15f4f7['et']['getPluralForm']=_0x5ef27c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3bc28e=>{const {eu:_0x137d40}={'eu':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x3bc28e['eu']||={'dictionary':{},'getPluralForm':null},_0x3bc28e['eu']['dictionary']=Object['assign'](_0x3bc28e['eu']['dictionary'],_0x137d40['dictionary']),_0x137d40['getPluralForm']&&(_0x3bc28e['eu']['getPluralForm']=_0x137d40['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x334bf0=>{const {fa:_0x17e96f}={'fa':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x334bf0['fa']||={'dictionary':{},'getPluralForm':null},_0x334bf0['fa']['dictionary']=Object['assign'](_0x334bf0['fa']['dictionary'],_0x17e96f['dictionary']),_0x17e96f['getPluralForm']&&(_0x334bf0['fa']['getPluralForm']=_0x17e96f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e62b7=>{const {fi:_0x46d9e5}={'fi':{'dictionary':{'Empty\x20heading':'Tyhjä\x20otsikko','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Editorin\x20otsikot\x20ilmaantuvat\x20tähän\x20kirjoittaessasi.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Asiakirjalta\x20ei\x20löytynyt\x20otsikoita.','Table\x20of\x20contents':'Sisällysluettelo'}}};_0x3e62b7['fi']||={'dictionary':{},'getPluralForm':null},_0x3e62b7['fi']['dictionary']=Object['assign'](_0x3e62b7['fi']['dictionary'],_0x46d9e5['dictionary']),_0x46d9e5['getPluralForm']&&(_0x3e62b7['fi']['getPluralForm']=_0x46d9e5['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3dc78e=>{const {fr:_0x1aefda}={'fr':{'dictionary':{'Empty\x20heading':'Titre\x20vide','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Les\x20titres\x20de\x20l\x27éditeur\x20apparaîtront\x20ici\x20au\x20fur\x20et\x20à\x20mesure\x20que\x20vous\x20tapez.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Aucun\x20titre\x20n\x27a\x20été\x20trouvé\x20dans\x20le\x20document.','Table\x20of\x20contents':'Table\x20des\x20matières'}}};_0x3dc78e['fr']||={'dictionary':{},'getPluralForm':null},_0x3dc78e['fr']['dictionary']=Object['assign'](_0x3dc78e['fr']['dictionary'],_0x1aefda['dictionary']),_0x1aefda['getPluralForm']&&(_0x3dc78e['fr']['getPluralForm']=_0x1aefda['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x491e8a=>{const {gl:_0x5c2844}={'gl':{'dictionary':{'Empty\x20heading':'Título\x20baleiro','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Os\x20títulos\x20do\x20editor\x20aparecerán\x20aquí\x20segundo\x20escriba.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Non\x20se\x20atoparon\x20títulos\x20no\x20documento.','Table\x20of\x20contents':'Índice'}}};_0x491e8a['gl']||={'dictionary':{},'getPluralForm':null},_0x491e8a['gl']['dictionary']=Object['assign'](_0x491e8a['gl']['dictionary'],_0x5c2844['dictionary']),_0x5c2844['getPluralForm']&&(_0x491e8a['gl']['getPluralForm']=_0x5c2844['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x481986=>{const {gu:_0x773e5f}={'gu':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x481986['gu']||={'dictionary':{},'getPluralForm':null},_0x481986['gu']['dictionary']=Object['assign'](_0x481986['gu']['dictionary'],_0x773e5f['dictionary']),_0x773e5f['getPluralForm']&&(_0x481986['gu']['getPluralForm']=_0x773e5f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2070d2=>{const {he:_0x1870f1}={'he':{'dictionary':{'Empty\x20heading':'כותרת\x20ריקה','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'כותרות\x20העורך\x20יופיעו\x20כאן\x20תוך\x20כדי\x20הקלדה.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'לא\x20נמצאו\x20כותרות\x20במסמך.','Table\x20of\x20contents':'תוכן\x20העניינים'}}};_0x2070d2['he']||={'dictionary':{},'getPluralForm':null},_0x2070d2['he']['dictionary']=Object['assign'](_0x2070d2['he']['dictionary'],_0x1870f1['dictionary']),_0x1870f1['getPluralForm']&&(_0x2070d2['he']['getPluralForm']=_0x1870f1['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x417fa8=>{const {hi:_0x10abc7}={'hi':{'dictionary':{'Empty\x20heading':'हेडिंग\x20को\x20खाली\x20कर\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हेडिंग\x20नहीं\x20मिली.','Table\x20of\x20contents':'टेबल\x20ऑफ़\x20कॉन्टेंट्स'}}};_0x417fa8['hi']||={'dictionary':{},'getPluralForm':null},_0x417fa8['hi']['dictionary']=Object['assign'](_0x417fa8['hi']['dictionary'],_0x10abc7['dictionary']),_0x10abc7['getPluralForm']&&(_0x417fa8['hi']['getPluralForm']=_0x10abc7['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|