@ckeditor/ckeditor5-pagination 48.3.0-alpha.5 → 48.3.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x3c9582}from'@ckeditor/ckeditor5-core';import{ButtonView as _0xf8bfaa,InputNumberView as _0x2a395e,View as _0xf4efc2}from'@ckeditor/ckeditor5-ui';import{Rect as _0x793391,ResizeObserver as _0x259dd8,env as _0x3b9b78,first as _0x16712c,global as _0x216720,keyCodes as _0x43d2f9,logWarning as _0x5032ed,toUnit as _0x3bd6a2,uid as _0x2801fe}from'@ckeditor/ckeditor5-utils';import{debounce as _0x260138}from'es-toolkit/compat';import{IconArrowDown as _0x2cd8cc,IconArrowUp as _0x3cbeca}from'@ckeditor/ckeditor5-icons';var w=class extends _0x3c9582{['_recalculatePageBreaksDebounced']=_0x260138(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x5032ed('pagination-config-not-found',this['editor']['config']);const _0x44adb9=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x44adb9),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x49fea1,_0x3097c7,_0xf33da3)=>{_0xf33da3&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x315f11){const _0x32a840='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x354ebe=0x78e40,_0x3d8488=window['Date']['now'](),_0x42de24=_0x315f11['editor'],_0x2feb61=new window['Promise'](_0x960a5a=>{_0x42de24['once']('ready',_0x960a5a);}),_0x5c9d7a={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3c887b=_0x42de24['config']['get']('licenseKey');async function _0x501748(){let _0x4158ed,_0x4ca63f=null,_0x1e619f=null;try{return'GPL'==_0x3c887b?'NotAllowed':(_0x4158ed=_0x3590d9(),_0x4158ed?(_0x4158ed['usageEndpoint']&&(_0x1e619f=_0x3cc5f5(_0x4158ed['usageEndpoint'],_0x4158ed['jti'])),await _0x263ec6()?_0x5c6f76()?_0x1f7814()?'Expired':_0x56405d()?('evaluation'==_0x4158ed['licenseType']&&(_0x4ca63f=_0x27c092('EvaluationLimit')),await _0x3ab59f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1f7814(){const _0x196844=['evaluation','trial']['includes'](_0x4158ed['licenseType'])?_0x3d8488/0x3e8:0xe10*_0x354ebe;return _0x4158ed['exp']<_0x196844;}function _0x5c6f76(){const _0x516044=_0x4158ed['features'];return!!_0x516044&&(!!_0x516044['includes']('*')||!!_0x516044['includes']('PAG'));}function _0x56405d(){const _0x57bee8=_0x4158ed['licensedHosts'];if(!_0x57bee8||0x0==_0x57bee8['length'])return!0x0;const {hostname:_0x582c83}=new URL(window['location']['href']);if(_0x57bee8['includes'](_0x582c83))return!0x0;const _0x5d7616=_0x582c83['split']('.');return _0x57bee8['filter'](_0x2e91e3=>_0x2e91e3['includes']('*'))['map'](_0x594952=>_0x594952['split']('.'))['filter'](_0x35359c=>_0x35359c['length']<=_0x5d7616['length'])['map'](_0x59ed60=>Array(_0x5d7616['length']-_0x59ed60['length'])['fill']('*'===_0x59ed60[0x0]?'*':'')['concat'](_0x59ed60))['some'](_0x21d353=>_0x5d7616['every']((_0x131e5f,_0x17f48f)=>_0x21d353[_0x17f48f]===_0x131e5f||'*'===_0x21d353[_0x17f48f]));}function _0x3ab59f(){return _0x4ca63f&&_0x1e619f?new window['Promise']((_0x5a06c,_0x8e3938)=>{_0x4ca63f['then'](_0x5a06c,_0x8e3938),_0x1e619f['then'](_0x4e1bc4=>{'Valid'!=_0x4e1bc4&&_0x5a06c(_0x4e1bc4);},_0x8e3938);}):_0x4ca63f||_0x1e619f||'Valid';}}function _0x3cc5f5(_0x4fc75c,_0x44cfe7){return new window['Promise'](_0x4ad62b=>{if(_0x94431a())return _0x4ad62b('Valid');_0x5d04b4(),_0x42de24['decorate']('_sendUsageRequest');let _0x35c4d4=!0x1;const _0x4db6c5=_0x2801fe();function _0x3213a4(_0x2eb528){return!!_0x2eb528&&('object'==typeof _0x2eb528||'function'==typeof _0x2eb528)&&'function'==typeof _0x2eb528['then']&&'function'==typeof _0x2eb528['catch'];}function _0x4daa5e(_0x38cbdc){_0x56e34b(_0x38cbdc)['then'](_0x45f9b0=>_0x45f9b0&&'ok'==_0x45f9b0['status']?_0x144744(_0x8e606c(_0x4db6c5+_0x44cfe7))!=_0x45f9b0['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x56c601=>(_0x6b0b8e(),_0x56c601),()=>{const _0x2c898a=_0x48fca7();return null==_0x2c898a?(_0x6b0b8e(),'Valid'):_0x3d8488-_0x2c898a>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4ad62b)['catch'](()=>{_0x4ad62b('UsageLimit');});const _0x1ed0d2=0x36ee80;function _0x6b0b8e(){const _0xc782e7='llct-'+_0x144744(_0x8e606c(_0x4fc75c)),_0x10e15c=_0x49153f(_0x144744(window['Math']['ceil'](_0x3d8488/_0x1ed0d2)));window['localStorage']['setItem'](_0xc782e7,_0x10e15c);}function _0x48fca7(){const _0x4bf90d='llct-'+_0x144744(_0x8e606c(_0x4fc75c)),_0x2a9fcb=window['localStorage']['getItem'](_0x4bf90d);return _0x2a9fcb?window['parseInt'](_0x49153f(_0x2a9fcb),0x10)*_0x1ed0d2:null;}function _0x56e34b(_0x19e2c7){return new window['Promise']((_0x2bbf83,_0x5deff5)=>{_0x19e2c7['then'](_0x2bbf83,_0x5deff5),window['setTimeout'](_0x5deff5,0x1d4c0);});}}_0x42de24['on']('_sendUsageRequest',(_0x2a025d,_0x19545f)=>{if(_0x19545f[0x0]!=_0x4fc75c)return _0x4ad62b('UsageLimit');_0x19545f[0x1]={..._0x19545f[0x1],'requestId':_0x4db6c5};},{'priority':'high'}),_0x42de24['on']('_sendUsageRequest',_0x19f4f6=>{_0x3213a4(_0x19f4f6['return'])&&(_0x35c4d4=!0x0,_0x4daa5e(_0x19f4f6['return']));},{'priority':'low'}),_0x2feb61['then'](()=>{_0x35c4d4||_0x4ad62b('UsageLimit');});});function _0x94431a(){return'auto'==_0x42de24['editing']['view']['_overlayModeHint'];}function _0x5d04b4(){_0x42de24['editing']['view']['_overlayModeHint']='auto';}}function _0x27c092(_0x7639e8){const _0x3014b6=[new window['Promise'](_0x4a3793=>setTimeout(_0x4a3793,0x93ecc)),_0x2feb61['then'](()=>new window['Promise'](_0x3289f9=>{let _0x11f19e=0x0;_0x42de24['model']['on']('applyOperation',(_0x2e634a,_0x4d5342)=>{_0x4d5342[0x0]['isDocumentOperation']&&_0x11f19e++,0x5e8==_0x11f19e&&(_0x3289f9(),_0x2e634a['off']());});}))];return window['Promise']['race'](_0x3014b6)['then'](()=>_0x7639e8);}async function _0x43f7b3(){await _0x2feb61,_0x42de24['model']['change']=_0xae1045,_0x42de24['model']['enqueueChange']=_0xae1045,_0x42de24['enableReadOnlyMode']('model');}function _0x5d1976(_0x2f0c28){const _0x3e4acf=_0x5ec2c9();_0x42de24[_0x3e4acf]='paginationLicenseKey'+_0x2f0c28,'Valid'!=_0x2f0c28&&_0x43f7b3();}function _0x5ec2c9(){const _0x42518f=window['String'](window['performance']['now']())['replace']('.','');let _0x2c62d2='I';for(let _0xf9fc4f=0x0;_0xf9fc4f<_0x42518f['length'];_0xf9fc4f+=0x2){let _0x140ffd=window['parseInt'](_0x42518f['substring'](_0xf9fc4f,_0xf9fc4f+0x2));_0x140ffd>=0x3e&&(_0x140ffd-=0x3e),_0x2c62d2+=_0x32a840[_0x140ffd];}return _0x2c62d2;}function _0x3590d9(){const _0x253b00=_0x3c887b['split']('.');if(0x3!=_0x253b00['length'])return null;return _0x5bce3e(_0x253b00[0x1]);function _0x5bce3e(_0x38ad48){const _0x3eddb1=_0x147073(_0x38ad48);return _0x3eddb1&&_0x25c471()?_0x3eddb1:null;function _0x25c471(){const _0x8e05ff=_0x3eddb1['jti'],_0x322e5b=window['parseInt'](_0x8e05ff['substring'](_0x8e05ff['length']-0x8),0x10),_0x3f49ff={..._0x3eddb1,'jti':_0x8e05ff['substring'](0x0,_0x8e05ff['length']-0x8)};return delete _0x3f49ff['vc'],_0x8e606c(_0x3f49ff)==_0x322e5b;}}}async function _0x263ec6(){let _0x5b0971=!0x0;try{const [_0x3192da,_0x46a4ee,_0x2a9ef6]=_0x3c887b['split']('.');return _0x2527d5(_0x3192da),await _0x4ec1c5(_0x3192da,_0x46a4ee,_0x2a9ef6),_0x5b0971;}catch{return!0x1;}function _0x2527d5(_0x40b281){const _0x5f492e=_0x147073(_0x40b281);_0x5f492e&&'ES256'==_0x5f492e['alg']||(_0x5b0971=!0x1);}async function _0x4ec1c5(_0x88fb60,_0x2a17fe,_0x50fc73){const _0x260de7=window['Uint8Array']['from'](_0xf467ed(_0x50fc73),_0x1ef8e8=>_0x1ef8e8['charCodeAt'](0x0)),_0x19760c=new window['TextEncoder']()['encode'](_0x88fb60+'.'+_0x2a17fe),_0x166eb2=window['crypto']['subtle'];if(!_0x166eb2)return;const _0x4487b0=await _0x166eb2['importKey']('jwk',_0x5c9d7a,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x166eb2['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4487b0,_0x260de7,_0x19760c)||(_0x5b0971=!0x1);}}function _0x147073(_0xb1a3d3){return _0xb1a3d3['startsWith']('ey')?JSON['parse'](_0xf467ed(_0xb1a3d3)):null;}function _0xf467ed(_0x289249){return window['atob'](_0x289249['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x8e606c(_0x3fb8ca){let _0x7b8284=0x1505;function _0x4286c8(_0x25ce14){for(let _0x106c07=0x0;_0x106c07<_0x25ce14['length'];_0x106c07++){const _0x84a639=_0x25ce14['charCodeAt'](_0x106c07);_0x7b8284=(_0x7b8284<<0x5)+_0x7b8284+_0x84a639,_0x7b8284&=_0x7b8284;}}function _0x10ef62(_0x2a6597){Array['isArray'](_0x2a6597)?_0x2a6597['forEach'](_0x10ef62):_0x2a6597&&'object'==typeof _0x2a6597?Object['entries'](_0x2a6597)['sort']()['forEach'](([_0x2275bc,_0x26a8fc])=>{_0x4286c8(_0x2275bc),_0x10ef62(_0x26a8fc);}):_0x4286c8(window['String'](_0x2a6597));}return _0x10ef62(_0x3fb8ca),_0x7b8284>>>0x0;}function _0x144744(_0x357781){return _0x357781['toString'](0x10)['padStart'](0x8,'0');}function _0x49153f(_0x5d88b4){return _0x5d88b4['split']('')['reverse']()['join']('');}function _0xae1045(){}_0x5d1976(await _0x501748());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xd9e7b0=this['editor'],_0x2c82fe=_0xd9e7b0['editing']['view'],_0xd8cc64=this['_getAttachedDomRoot']();if(!_0xd8cc64||!_0xd8cc64['hasChildNodes']())return void _0xd9e7b0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4639bf,pageHeight:_0x274e49}=_0xd9e7b0['config']['get']('pagination'),{top:_0x99d41f,left:_0x1c9f88,bottom:_0x2a3875,right:_0xe49879}=this['_configuredPaddings'];this['_pagesContainer']=new _0xf4efc2(_0xd9e7b0['locale']);const _0x49bd6a=this['_pagesContainer'];_0x49bd6a['set']('class',''),_0x49bd6a['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x4639bf,'width':_0x4639bf,'height':'calc(\x20'+_0x274e49+'\x20-\x20'+_0x99d41f+'\x20-\x20'+_0x2a3875+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0xe49879+'\x200\x20'+_0x1c9f88,'columnGap':'calc('+_0x1c9f88+'\x20+\x20'+_0xe49879+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x49bd6a['bindTemplate']['to']('class')}}),_0x49bd6a['render'](),_0xd8cc64['parentNode']['insertBefore'](_0x49bd6a['element'],_0xd8cc64['nextSibling']),this['listenTo'](_0x2c82fe,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x5b33bb of this['editor']['editing']['view']['domRoots']['values']())if(_0x5b33bb['ownerDocument']['body']['contains'](_0x5b33bb))return _0x5b33bb;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x38662b=this['editor']['editing']['view'],_0x20bfbf=this['_pagesContainer'],_0x25d0db=this['_getAttachedDomRoot']();if(!_0x25d0db||!_0x20bfbf)return Promise['resolve']();for(_0x20bfbf['class']=['ck-reset','ck-pagination-view',..._0x25d0db['classList']]['join']('\x20');_0x20bfbf['element']['firstChild'];)_0x20bfbf['element']['firstChild']['remove']();const _0x21cc47=Array['from'](_0x38662b['domRoots']);_0x21cc47['sort'](([,_0x52dce0],[,_0x12186f])=>_0x52dce0['compareDocumentPosition'](_0x12186f)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1fedc7,_0xaf05d2]of _0x21cc47){const _0x2d4b33=_0xaf05d2['cloneNode'](!0x0);'attributeStyleMap'in _0x2d4b33&&_0x2d4b33['attributeStyleMap']['clear'](),_0x2d4b33['dataset']['rootName']=_0x1fedc7,_0x2d4b33['className']='ck-content\x20ck-pagination_enabled',_0x2d4b33['removeAttribute']('id'),_0x2d4b33['tabIndex']=-0x1,_0x20bfbf['element']['append'](_0x2d4b33);}const _0x5112bd=Array['from'](_0x20bfbf['element']['querySelectorAll']('img'));return function(_0x5a0dae){return Promise['all'](_0x5a0dae['map'](_0x23fbef=>Promise['race']([k(_0x23fbef),v(0x3e8)])));}(_0x5112bd)['then'](()=>{for(const _0x2ad45e of _0x5112bd['filter'](_0x597c0c=>!_0x597c0c['closest']('table')))if(_0x2ad45e['offsetParent']){const _0x38bc6b=_0x216720['window']['getComputedStyle'](_0x2ad45e),_0x71bfaa=_0x216720['document']['createElement']('span');for(const _0x49133b of _0x38bc6b)_0x71bfaa['style']['setProperty'](_0x49133b,_0x38bc6b[_0x49133b]);_0x71bfaa['style']['backgroundImage']='url(\x20'+_0x2ad45e['src']+'\x20)',_0x71bfaa['style']['breakInside']='avoid','PICTURE'==_0x2ad45e['parentElement']?.['tagName']?_0x2ad45e['parentElement']['replaceWith'](_0x71bfaa):_0x2ad45e['replaceWith'](_0x71bfaa);}return new Promise(_0x8338bb=>_0x216720['window']['requestAnimationFrame'](()=>_0x8338bb()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x5080df=this['_pagesContainer']['element'];if(!_0x5080df['ownerDocument']['body']['contains'](_0x5080df))return;const _0x16fdb2=new _0x793391(_0x5080df)['excludeScrollbarsAndBorders'](),_0x571182=Math['floor'](_0x16fdb2['width']+0x64),_0x3f57a0=_(_0x5080df,Math['floor'](_0x16fdb2['left']-_0x5080df['scrollLeft']),_0x571182,_0x16fdb2['height'])['map'](_0x16fa09=>this['_mapPageStarterInfoToPageBreakInfo'](_0x16fa09))['filter'](_0xf51a1f=>!0x1!==_0xf51a1f);_0x3f57a0['every'](_0xe3c21e=>!!_0xe3c21e)&&(this['pageBreaks']=_0x3f57a0);}['_mapPageStarterInfoToPageBreakInfo'](_0x198cba){const _0x2477bc=this['editor']['editing']['view'],_0x3b4ffb=this['editor']['editing']['mapper'],_0x52a497=_0x2477bc['domConverter'],_0x4b60a0=_0x198cba['path']['shift'](),_0x23a478=this['_pagesContainer']['element']['childNodes'][_0x4b60a0]['dataset']['rootName'],_0x28c0c7=_0x2477bc['getDomRoot'](_0x23a478);if(!_0x28c0c7)return null;const _0xf21a97=function(_0x546de2,_0x479cbc){let _0x47e0b6=_0x546de2;for(const _0x49bae9 of _0x479cbc['path']){if(!_0x47e0b6)return null;_0x47e0b6=_0x47e0b6['childNodes'][_0x49bae9];}return _0x47e0b6;}(_0x28c0c7,_0x198cba);if(!_0xf21a97)return null;const _0x1bbc4e=_0x52a497['domPositionToView'](_0xf21a97,_0x198cba['textOffset']||0x0);return _0x1bbc4e?'manual'==_0x198cba['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1bbc4e,_0xf21a97):'text'==_0x198cba['type']&&_0x3b4ffb['toModelPosition'](_0x1bbc4e)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1bbc4e,_0xf21a97,_0x198cba['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1bbc4e,_0xf21a97,_0x198cba['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x30303d,_0x490e63){const _0x422998=this['editor']['model'],_0x117b31=this['editor']['editing']['mapper']['toModelElement'](_0x30303d['parent']);return new P({'type':'manual','modelRange':_0x422998['createRangeOn'](_0x117b31),'domNode':_0x490e63,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x447c99,_0x5688ce,_0x3077ee){const _0x403349=this['editor']['model'],_0xadb73=this['editor']['editing']['mapper'],_0x115bed=this['editor']['editing']['view']['domConverter'];if(_0x3077ee>=_0x5688ce['length'])return null;const _0x58fdb9=_0xadb73['toModelPosition'](_0x447c99),_0x2c8334=_0x403349['createRange'](_0x58fdb9),_0x151546=_0xadb73['findMappedViewAncestor'](_0x447c99);return new P({'type':'text','modelRange':_0x2c8334,'domNode':_0x5688ce,'offset':y(_0x5688ce,_0x3077ee,_0x115bed['mapViewToDom'](_0x151546))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4d8ccb,_0x3e0b9f,_0x65700c){const _0x1613be=this['editor']['model'],_0x3a5b43=this['editor']['editing'],_0x4c00ad=_0x3a5b43['mapper'],_0x1f4c6a=_0x3a5b43['view']['domConverter'],_0x150b5c=_0x4c00ad['findMappedViewAncestor'](_0x4d8ccb),_0x16c161=_0x4c00ad['toModelElement'](_0x150b5c);if(!_0x16c161||_0x16c161['is']('rootElement'))return!0x1;const _0xc12bf4=function(_0x2f1590){const _0xbee4cb=_0x2f1590['parent'],_0x53bb1e=_0xbee4cb['root']['document']['model'],_0x236bd7=_0xbee4cb['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x42badf=null;for(const _0x42cdf1 of _0x236bd7){if(_0x42cdf1['is']('rootElement'))return _0x42badf;if(!_0x53bb1e['createPositionBefore'](_0x42cdf1)['isTouching'](_0x2f1590))return _0x42badf;_0x42badf=_0x42cdf1;}}(_0x1613be['createPositionBefore'](_0x16c161))||_0x16c161;let _0xf535e3=_0x4c00ad['toViewElement'](_0xc12bf4),_0x315e46=_0x1613be['createRangeOn'](_0xc12bf4);const _0x322b66=_0x1613be['createPositionBefore'](_0xc12bf4)['nodeBefore'];if(_0x322b66&&_0x322b66['is']('element','imageBlock')){const _0x3296b1=_0x4c00ad['toViewElement'](_0x322b66),_0x65faa2=_0x1f4c6a['mapViewToDom'](_0x3296b1),_0x3ef5aa=_0x216720['window']['getComputedStyle'](_0x65faa2)['float'];'left'!=_0x3ef5aa&&'right'!=_0x3ef5aa||(_0x315e46=_0x1613be['createRangeOn'](_0x322b66));}for(;_0xf535e3['parent']!==_0xf535e3['root']&&0x0===_0xf535e3['index'];)_0xf535e3=_0xf535e3['parent'];const _0x1c5142=new _0x793391(K(_0x3e0b9f)?_0x3e0b9f:L(_0x3e0b9f)),_0xce1349=_0x65700c?_0x1c5142['height']-_0x65700c:0x0,_0x3c7410=_0x1f4c6a['mapViewToDom'](_0xf535e3),_0x64a44c=new _0x793391(_0x3c7410);return new P({'type':'element','modelRange':_0x315e46,'domNode':_0x3c7410,'offset':Math['round'](_0xce1349)||_0x150b5c!=b(_0x4d8ccb)?_0xce1349+_0x1c5142['top']-_0x64a44c['top']:0x0});}get['_configuredPaddings'](){const _0x2fc33a=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2fc33a);}static['_findPageStarterInfos'](_0x4112fb,_0x561be7,_0x4487f6,_0x197d3c,_0xef27d0){return _(_0x4112fb,_0x561be7,_0x4487f6,_0x197d3c,_0xef27d0);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x4416a2,modelRange:_0x46dd43,domNode:_0x296393,offset:_0x2566c4}){this['type']=_0x4416a2,this['modelRange']=_0x46dd43,this['_domNode']=_0x296393,this['_offset']=_0x2566c4;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x521af2=new _0x793391(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x521af2['top']+_0x521af2['height']/0x2:_0x521af2['top']+this['_offset'];}};function y(_0x6865bd,_0x346622,_0x3a07f6){const _0x2c6193=L(_0x6865bd),_0x268b57=function(_0x395d2a){const _0x4cc30a=_0x216720['document']['createRange']();return _0x4cc30a['selectNodeContents'](_0x395d2a),_0x4cc30a;}(_0x3a07f6);let _0x581f89;_0x581f89=0x0==_0x346622?N(_0x268b57['startContainer'],_0x268b57['startOffset'],_0x6865bd['parentNode'],Array['from'](_0x6865bd['parentNode']['childNodes'])['indexOf'](_0x6865bd)):N(_0x268b57['startContainer'],_0x268b57['startOffset'],_0x6865bd,_0x346622);const _0x1449eb=N(_0x6865bd,_0x346622,_0x268b57['endContainer'],_0x268b57['endOffset']),_0x19706d=new _0x793391(_0x581f89)['bottom'];return(new _0x793391(_0x1449eb)['top']+_0x19706d)/0x2-new _0x793391(_0x2c6193)['top'];}function b(_0x1ee71d){let _0x2b6722=_0x1ee71d['parent'];for(;_0x2b6722['is']('$text')||_0x2b6722['is']('attributeElement');)_0x2b6722=_0x2b6722['parent'];return _0x2b6722;}function k(_0xb2056a){return _0xb2056a['hasAttribute']('width')&&_0xb2056a['hasAttribute']('height')?Promise['resolve']():new Promise(_0x1b3afb=>{function _0x4cc5fc(){_0xb2056a['removeEventListener']('load',_0x4cc5fc),_0xb2056a['removeEventListener']('error',_0x4cc5fc),_0x1b3afb();}_0xb2056a['complete']?_0x1b3afb():(_0xb2056a['addEventListener']('load',_0x4cc5fc),_0xb2056a['addEventListener']('error',_0x4cc5fc));});}function v(_0xd5f0e1){return new Promise(_0x448790=>setTimeout(_0x448790,_0xd5f0e1));}function L(_0x4112d1){const _0x8bb0a6=_0x216720['document']['createRange']();return _0x8bb0a6['selectNode'](_0x4112d1),_0x8bb0a6;}function x(_0x36f19b,_0x3b3e27,_0x243041){const _0x1b58a4=_0x216720['document']['createRange']();return _0x1b58a4['setStart'](_0x36f19b,_0x3b3e27),_0x1b58a4['setEnd'](_0x36f19b,_0x243041),_0x1b58a4;}function N(_0x253277,_0x3559b3,_0x5c3248,_0x4f4d66){const _0x198f4b=_0x216720['document']['createRange']();return _0x198f4b['setStart'](_0x253277,_0x3559b3),_0x198f4b['setEnd'](_0x5c3248,_0x4f4d66),_0x198f4b;}function _(_0x3702d7,_0x42fff0,_0x50d8c1,_0x1b09f8,_0x245b7e){const _0x47ec44=[];for(const [_0x1584bb,_0x1a8320]of _0x3702d7['childNodes']['entries']()){let _0x273a58=[];K(_0x1a8320)&&_0x1a8320['offsetParent']&&['static','relative']['includes'](_0x216720['window']['getComputedStyle'](_0x1a8320)['position'])?_0x273a58=E(_0x1a8320,_0x1584bb,_0x42fff0,_0x50d8c1,_0x1b09f8,_0x245b7e):O(_0x1a8320)&&(_0x273a58=S(_0x1a8320,_0x1584bb,_0x42fff0,_0x50d8c1,_0x245b7e)),_0x273a58['length']&&(_0x47ec44['push'](..._0x273a58),_0x42fff0+=_0x273a58['length']*_0x50d8c1,_0x245b7e=!0x1);}return _0x47ec44;}function E(_0x204f6a,_0x450048,_0x2225b2,_0x39e1ed,_0x3ef0e7,_0xc008fe){const _0x32e671=[];var _0x18fe2b;if((_0x18fe2b=_0x204f6a['previousSibling'])&&K(_0x18fe2b)&&Boolean(_0x18fe2b['classList']['contains']('page-break')||_0x18fe2b['closest']('.page-break'))&&(_0x32e671['push']({'type':'manual','offset':0x0,'path':[_0x450048-0x1]}),_0xc008fe=!0x0),'table-row'==_0x216720['window']['getComputedStyle'](_0x204f6a)['display']){let _0x146be6=0x0,_0x1487a1=!0x1;for(const _0x19fe53 of _0x204f6a['getClientRects']())_0x146be6+=_0x19fe53['height'],_0x19fe53['left']>=_0x2225b2&&(_0x1487a1=!0x0);if(_0x146be6<_0x3ef0e7&&_0x1487a1)return _0xc008fe||_0x32e671['push']({'type':'element','offset':0x0,'path':[_0x450048]}),_0x32e671;}const _0x453832=_0x204f6a['closest']('figure.image');if(_0x453832&&function(_0x493f19){let _0x2fb6c1=!0x1;const _0x1798d5=_0x493f19['parentElement']['dataset']['rootName'],_0x41af8a=_0x493f19['nextElementSibling'],_0x53ba20=_0x493f19['previousElementSibling'],_0x5158fc=_0x41af8a&&_0x216720['window']['getComputedStyle'](_0x41af8a)['float'],_0x407d3c=_0x41af8a&&'ck-fake-selection-container'===_0x41af8a['className'];return!_0x1798d5||_0x41af8a||_0x53ba20||(_0x2fb6c1=!0x0),_0x1798d5&&!_0x53ba20&&_0x407d3c&&(_0x2fb6c1=!0x0),_0x1798d5&&!_0x53ba20&&'none'!==_0x5158fc&&(_0x2fb6c1=!0x0),!_0x2fb6c1;}(_0x453832)){const _0x147e7c=_0x216720['window']['getComputedStyle'](_0x453832)['float'];if('left'==_0x147e7c||'right'==_0x147e7c)return _0x32e671;}const _0x3082ba=_(_0x204f6a,_0x2225b2,_0x39e1ed,_0x3ef0e7,_0xc008fe);if(_0x3082ba['length']){for(const _0x1d5717 of _0x3082ba)_0x32e671['push']({'type':_0x1d5717['type'],'offset':_0x1d5717['offset'],'textOffset':_0x1d5717['textOffset'],'path':[_0x450048,..._0x1d5717['path']]}),_0x2225b2+=_0x39e1ed,_0xc008fe=!0x1;return _0x32e671;}return _0x32e671['push'](...function(_0xd29c33,_0x720d38,_0x5b2e3c,_0x39dc42,_0x27f7b1){const _0x2fba89=[];if('table-cell'==_0x216720['window']['getComputedStyle'](_0xd29c33)['display'])return[];const _0x4322d8=[];for(const _0x2d984c of _0xd29c33['getClientRects']())if(_0x2d984c['left']>=_0x5b2e3c){for(const _0x38f56e of _0x4322d8)_0x38f56e['height']+=_0x2d984c['height'];_0x4322d8['push']({'height':_0x2d984c['height']}),_0x5b2e3c+=_0x39dc42;}for(const _0x174c06 of _0x4322d8)_0x27f7b1||_0x2fba89['push']({'type':'element','offset':_0x174c06['height'],'textOffset':0x0,'path':[_0x720d38]}),_0x27f7b1=!0x1;return _0x2fba89;}(_0x204f6a,_0x450048,_0x2225b2,_0x39e1ed,_0xc008fe)),_0x32e671;}function S(_0x2b6560,_0x1b0ed3,_0x305bef,_0x17d803,_0x467762){const _0x5a132c=L(_0x2b6560),_0x4629f2=[];let _0x4401ab=0x0;for(const _0x55e5c2 of _0x5a132c['getClientRects']())if(_0x55e5c2['left']>=_0x305bef){const _0x1e8d8e=R(_0x2b6560,_0x4401ab,_0x305bef,_0x17d803);_0x467762||_0x4629f2['push']({'type':'text','path':[_0x1b0ed3],'textOffset':_0x1e8d8e}),_0x4401ab=_0x1e8d8e,_0x305bef+=_0x17d803,_0x467762=!0x1;}return _0x4629f2;}function R(_0x471f49,_0x226a12,_0x32c37f,_0x3f95e2){let _0x85dc0c=_0x226a12,_0x145e70=_0x471f49['length'];for(;_0x145e70-_0x85dc0c>0x1;){const _0x53a83a=Math['ceil']((_0x85dc0c+_0x145e70)/0x2);I(x(_0x471f49,_0x85dc0c,_0x53a83a),_0x32c37f,_0x3f95e2)?_0x145e70=_0x53a83a:_0x85dc0c=_0x53a83a;}return _0x85dc0c;}function I(_0x1a2b14,_0x440842,_0x34a354){for(const _0x4cc35f of _0x1a2b14['getClientRects']())if(_0x4cc35f['left']>=_0x440842&&_0x4cc35f['left']<_0x440842+_0x34a354)return!0x0;return!0x1;}function K(_0x2757cb){return _0x2757cb['nodeType']==Node['ELEMENT_NODE'];}function O(_0x12effe){return _0x12effe['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x3bd6a2('px');var U=class extends _0xf4efc2{constructor(){super();const _0x371f78=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x371f78['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x371f78['if']('isVisible','ck-hidden',_0x5e7491=>!_0x5e7491)],'style':{'left':_0x371f78['to']('left',_0x413c87=>A(_0x413c87)),'top':_0x371f78['to']('top',_0x5de005=>A(_0x5de005)),'width':_0x371f78['to']('width',_0x1c90ff=>A(_0x1c90ff))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x5e85e7){this['_viewCollection']=_0x5e85e7['ui']['view']['body'];}['destroy'](){for(const _0x415675 of this['_hiddenLines'])_0x415675['destroy']();}['cleanLines'](){for(const _0x5ac56b of this['_visibleLines'])_0x5ac56b['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5ac56b);this['_visibleLines']['clear']();}['showLine'](_0x5cf68a,_0x5ca6bd,_0xbe83d2,_0x3fd5f9){let _0x119bf0;this['_hiddenLines']['size']?(_0x119bf0=_0x16712c(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x119bf0)):_0x119bf0=new U(),_0x119bf0['set']({'pageNumber':_0x3fd5f9,'left':_0x5cf68a,'top':_0x5ca6bd,'width':_0xbe83d2}),_0x119bf0['isVisible']=!0x0,this['_viewCollection']['has'](_0x119bf0)||this['_viewCollection']['add'](_0x119bf0),this['_visibleLines']['add'](_0x119bf0);}['setViewCollection'](_0x2d606d){for(const _0x90eaf8 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x90eaf8)&&this['_viewCollection']['remove'](_0x90eaf8);this['_viewCollection']=_0x2d606d;}};const D='ck-pagination_enabled';var B=class extends _0x3c9582{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new C(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](D),this['on']('change:isEnabled',(_0x5ef798,_0x96a173,_0x360e06)=>{_0x360e06||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x360e06);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x121fde){if(!this['isEnabled'])return;const _0x43691c=_0x121fde>0x1?this['_getPageBreakLineOffset'](_0x121fde-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x43691c-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3b9b78['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x3f2fe8=this['editor'],_0x2379c3=this['_getAttachedDomRoot']();_0x2379c3?(this['_scrollableEditingRootDomAncestor']&&_0x3f2fe8['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x3560db){let _0x3077cc=_0x3560db;do{_0x3077cc=_0x3077cc['parentElement'];const _0x26f0e7=_0x216720['window']['getComputedStyle'](_0x3077cc)['overflowY'];if('auto'==_0x26f0e7||'scroll'==_0x26f0e7)break;}while('BODY'!=_0x3077cc['tagName']);return _0x3077cc;}(_0x2379c3),_0x3f2fe8['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x259dd8(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x3f2fe8['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x4fb403=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x4fb403['ui']['view']['listenTo'](_0x216720['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x4fb403['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0xeb233f of this['editor']['editing']['view']['domRoots']['values']())if(_0xeb233f['ownerDocument']['body']['contains'](_0xeb233f))return _0xeb233f;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x469bee=this['_getAttachedDomRoot'](),_0x5b39d9=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x469bee||0x1==_0x5b39d9['length'])return void(this['pageNumber']=0x1);const _0x5b7581=new _0x793391(_0x469bee)['excludeScrollbarsAndBorders'](),_0x2407ba=new _0x793391(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x5f297f=_0x2407ba['top']+_0x2407ba['height']/0x3;let _0x2c3b21=!0x1;const _0x8bc97f=[];for(let _0x575ea6=0x1;_0x575ea6<_0x5b39d9['length'];_0x575ea6++){const _0x14bbcb=this['_getPageBreakLineOffset'](_0x575ea6,_0x2407ba);if(!_0x14bbcb)continue;const _0x4d8bde=_0x2407ba['top']+_0x14bbcb-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x8bc97f['push']({'pageOffsetTop':_0x4d8bde,'domRootRect':_0x5b7581,'domScrollableRect':_0x2407ba,'pageNumber':_0x575ea6}),_0x4d8bde>_0x5f297f&&!_0x2c3b21&&(this['pageNumber']=_0x575ea6,_0x2c3b21=!0x0);}this['_renderPageBreakLines'](_0x8bc97f),_0x2c3b21||(this['pageNumber']=_0x5b39d9['length']);}['_renderPageBreakLines'](_0x37fe6f){const {scrollX:_0x57ac56,scrollY:_0xbd6286}=_0x216720['window'];if(_0x37fe6f['length']){for(const {domScrollableRect:_0x3ee56a,pageOffsetTop:_0x12365c,domRootRect:_0x3fcdef,pageNumber:_0x12f6e2}of _0x37fe6f)_0x3ee56a['top']<_0x12365c&&_0x12365c<_0x3ee56a['bottom']&&this['linesRepository']['showLine'](_0x3fcdef['left']+_0x57ac56,_0x12365c+_0xbd6286,_0x3fcdef['width'],_0x12f6e2+0x1);}}['_getPageBreakLineOffset'](_0x4209b4,_0x421474=null){const _0x3f6d2b=this['_paginationLookupPlugin']['pageBreaks'][_0x4209b4]['offset'];return _0x3f6d2b?(_0x421474||(_0x421474=new _0x793391(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3f6d2b-_0x421474['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4a4708,_0x81cbaf=!0x0){const _0xada7=this['editor']['editing']['view'];_0xada7['change'](_0xa47755=>{for(const _0x36189 of _0xada7['document']['roots'])_0x81cbaf?_0xa47755['addClass'](_0x4a4708,_0x36189):_0xa47755['removeClass'](_0x4a4708,_0x36189);});}};function T(_0x1be972,_0x39888d,..._0x123c54){const t=_0x1be972['t'];switch(_0x39888d){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x123c54);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x39888d;}}var G=class extends _0x3c9582{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[w,B];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2ad90d=this['editor']['plugins']['get']('Pagination'),_0x294adc=this['editor']['plugins']['get'](w),_0x3d0166=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x2ad90d),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3d0166),this['listenTo'](_0x294adc,'change:pageBreaks',(_0x19fcdc,_0x595280,_0x5c91ae,_0x59c1a5)=>{this['totalPages']=_0x5c91ae['length'],this['_updatePageBreakMarkers'](_0x5c91ae,_0x59c1a5);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xc93234=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x14165b;for(const _0x2de7c6 in _0xc93234){const _0x26b59a=_0x2de7c6,_0x4eed3a=_0xc93234[_0x26b59a];if('paginationLicenseKeyValid'==_0x4eed3a||'paginationLicenseKeyInvalid'==_0x4eed3a||'paginationLicenseKeyExpired'==_0x4eed3a||'paginationLicenseKeyDomainLimit'==_0x4eed3a||'paginationLicenseKeyNotAllowed'==_0x4eed3a||'paginationLicenseKeyEvaluationLimit'==_0x4eed3a||'paginationLicenseKeyUsageLimit'==_0x4eed3a){delete _0xc93234[_0x26b59a],_0x14165b=_0x4eed3a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x14165b&&_0xc93234['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x14165b&&_0xc93234['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x14165b&&_0xc93234['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x14165b&&_0xc93234['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x14165b&&_0xc93234['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x14165b&&_0xc93234['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x57fa7f){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x57fa7f));}['moveSelectionToPage'](_0x355147){if(!this['isEnabled'])return;const _0x528e6d=this['editor'],_0x599f42=this['editor']['plugins']['get'](w)['pageBreaks'][_0x355147-0x1];_0x599f42&&_0x528e6d['model']['change'](_0x69dac9=>{switch(_0x599f42['type']){case'manual':{const _0x330fcc=_0x528e6d['model']['schema']['getNearestSelectionRange'](_0x599f42['modelRange']['end'],'forward');_0x69dac9['setSelection'](_0x330fcc);break;}case'element':{const _0xb3ae05=_0x528e6d['model']['schema']['getNearestSelectionRange'](_0x599f42['modelRange']['start'],'forward');_0x69dac9['setSelection'](_0xb3ae05);break;}case'text':{const _0x1d63fb=_0x599f42['modelRange']['start'];if(_0x1d63fb['textNode']&&'\x20'===_0x1d63fb['textNode']['data'][_0x1d63fb['offset']]){const _0x368571=_0x69dac9['createPositionAt'](_0x1d63fb['parent'],_0x1d63fb['offset']+0x1);_0x69dac9['setSelection'](_0x368571);}else _0x69dac9['setSelection'](_0x599f42['modelRange']);}}_0x528e6d['editing']['view']['focus']();});}['goToNextPage'](){const _0x20fb5e=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x20fb5e),this['scrollToPage'](_0x20fb5e);}['goToPreviousPage'](){const _0x12e205=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x12e205),this['scrollToPage'](_0x12e205);}['_updatePageBreakMarkers'](_0x208559,_0x3980a4){const _0x473ac9=this['editor']['model'];this['isEnabled']&&_0x473ac9['change'](_0x362d84=>{for(let _0xfe092c=0x1;_0xfe092c<_0x208559['length'];_0xfe092c++){const _0x31a101=_0x208559[_0xfe092c]['modelRange'],_0x40dffa='pagination:'+(_0xfe092c+0x1);_0x473ac9['markers']['has'](_0x40dffa)?_0x362d84['updateMarker'](_0x40dffa,{'range':_0x31a101}):_0x362d84['addMarker'](_0x40dffa,{'range':_0x31a101,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x2d633a=_0x208559['length'];_0x2d633a<_0x3980a4['length'];_0x2d633a++){const _0x3f8093='pagination:'+(_0x2d633a+0x1);_0x473ac9['markers']['has'](_0x3f8093)&&_0x362d84['removeMarker'](_0x3f8093);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x4bc619=>{_0x4bc619['on']('addMarker:pagination',(_0x2d2327,{markerRange:_0x4a502c,markerName:_0x2af3fe},_0x5eb02c)=>{if(!_0x5eb02c['options']['pagination'])return;if(!_0x5eb02c['consumable']['consume'](_0x4a502c,_0x2d2327['name']))return;const _0xff070f=_0x4a502c['getContainedElement']();let _0x7a4a40=_0xff070f?_0x5eb02c['mapper']['toViewElement'](_0xff070f):null;if(!_0x7a4a40){const _0x34a2aa=_0x4a502c['start'];if(_0x5eb02c['schema']['checkChild'](_0x34a2aa,'$text')){const _0x2b6b12=_0x5eb02c['mapper']['toViewPosition'](_0x34a2aa);_0x7a4a40=_0x5eb02c['writer']['createContainerElement']('span'),_0x7a4a40['getFillerOffset']=()=>null,_0x5eb02c['writer']['insert'](_0x2b6b12,_0x7a4a40);}else{const _0xf80176=_0x34a2aa['nodeAfter'];_0x7a4a40=_0x5eb02c['mapper']['toViewElement'](_0xf80176);}}for(;_0x7a4a40['parent']!==_0x7a4a40['root']&&0x0===_0x7a4a40['index'];)_0x7a4a40=_0x7a4a40['parent'];const _0xffe73b=_0x2af3fe['substring'](0xb);_0x7a4a40['hasClass']('page-break')||(_0x5eb02c['writer']['setStyle']('page-break-before','always',_0x7a4a40),_0x5eb02c['writer']['setAttribute']('data-pagination-page',_0xffe73b,_0x7a4a40),_0x5eb02c['mapper']['bindElementToMarker'](_0x7a4a40,_0x2af3fe)),_0x2d2327['stop']();});});}['_setupKeystrokes'](){const _0x1312e3=this['editor'];_0x1312e3['keystrokes']['set']('Shift+Pageup',(_0x6b2ede,_0x2e8b55)=>{this['goToPreviousPage'](),_0x2e8b55();}),_0x1312e3['keystrokes']['set']('Shift+Pagedown',(_0x475b67,_0x464230)=>{this['goToNextPage'](),_0x464230();}),_0x1312e3['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x1312e3['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x1312e3['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x1312e3['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x5026af){return _0x5026af<0x1&&(_0x5026af=0x1),_0x5026af>this['totalPages']&&(_0x5026af=this['totalPages']),_0x5026af;}},V=class extends _0xf4efc2{['pageNumberView'];constructor(_0x35becf){super(_0x35becf);const _0x2d4bb3=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x2a395e(_0x35becf,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x545bec=>T(_0x35becf,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x545bec)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x345178=>!_0x345178),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x2d4bb3['if']('isEnabled','ck-disabled',_0x1139cc=>!_0x1139cc)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x2d4bb3['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4c6fa8=this['pageNumberView']['element'],_0x3a00c5=_0x1d601c=>{this['pageNumberView']['element']['value']=String(_0x1d601c);};_0x3a00c5(this['pageNumber']),this['on']('change:pageNumber',(_0x59ce3f,_0xe88d79,_0x3976ba)=>{_0x3a00c5(_0x3976ba);}),this['listenTo'](_0x4c6fa8,'keydown',(_0x17313a,_0x293e7e)=>{if('ArrowUp'===_0x293e7e['key']||'ArrowDown'===_0x293e7e['key'])return void _0x293e7e['stopPropagation']();if(_0x293e7e['keyCode']!==_0x43d2f9['enter'])return;_0x293e7e['preventDefault']();const _0x3e7573=_0x4c6fa8['valueAsNumber'];Number['isNaN'](_0x3e7573)?_0x4c6fa8['value']=String(this['pageNumber']):(_0x4c6fa8['checkValidity']()?this['pageNumber']=_0x3e7573:_0x3e7573>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4c6fa8['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4c6fa8['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4c6fa8,'blur',()=>{_0x4c6fa8['value']=String(this['pageNumber']);}),this['listenTo'](_0x4c6fa8,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x3c9582{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2d7e12=this['editor'],_0x1be490=_0x2d7e12['plugins']['get']('PaginationEditing');_0x2d7e12['ui']['componentFactory']['add']('pageNavigation',_0x62c6a2=>{const _0x535af6=new V(_0x62c6a2);return _0x535af6['bind']('pageNumber')['to'](_0x1be490),_0x535af6['bind']('totalPages')['to'](_0x1be490),_0x535af6['bind']('isEnabled')['to'](_0x1be490),_0x535af6['on']('navigation',(_0x45c7e4,_0x4ff8a7)=>{_0x1be490['moveSelectionToPage'](_0x4ff8a7),_0x1be490['scrollToPage'](_0x4ff8a7);}),_0x535af6;}),_0x2d7e12['ui']['componentFactory']['add']('nextPage',_0x3e56ee=>{const _0x3accc1=new _0xf8bfaa(_0x3e56ee);return _0x3accc1['isEnabled']=!0x0,_0x3accc1['label']=T(_0x2d7e12['locale'],'Go\x20to\x20next\x20page'),_0x3accc1['icon']=_0x2cd8cc,_0x3accc1['tooltip']=!0x0,_0x3accc1['keystroke']='Shift+PageDown',_0x3accc1['bind']('isEnabled')['to'](_0x1be490),this['listenTo'](_0x3accc1,'execute',()=>{_0x1be490['goToNextPage']();}),_0x3accc1;}),_0x2d7e12['ui']['componentFactory']['add']('previousPage',_0x23bc5d=>{const _0x20e48e=new _0xf8bfaa(_0x23bc5d);return _0x20e48e['isEnabled']=!0x0,_0x20e48e['label']=T(_0x2d7e12['locale'],'Go\x20to\x20previous\x20page'),_0x20e48e['icon']=_0x3cbeca,_0x20e48e['tooltip']=!0x0,_0x20e48e['keystroke']='Shift+PageUp',_0x20e48e['bind']('isEnabled')['to'](_0x1be490),this['listenTo'](_0x20e48e,'execute',()=>{_0x1be490['goToPreviousPage']();}),_0x20e48e;});}},$=class extends _0x3c9582{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x549a84){super(_0x549a84),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x36815c=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x36815c),this['bind']('totalPages')['to'](_0x36815c),_0x3b9b78['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4c1b99){this['editor']['plugins']['get'](G)['scrollToPage'](_0x4c1b99);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x418beb}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x30009d,InputNumberView as _0x20ab03,View as _0x422102}from'@ckeditor/ckeditor5-ui';import{Rect as _0x5dc800,ResizeObserver as _0x4eca3e,env as _0x2c9465,first as _0x430f38,global as _0x3721dd,keyCodes as _0x4a8017,logWarning as _0x2652ac,toUnit as _0x4618d8,uid as _0x4a7fe9}from'@ckeditor/ckeditor5-utils';import{debounce as _0x701cc}from'es-toolkit/compat';import{IconArrowDown as _0x251730,IconArrowUp as _0xfdb35f}from'@ckeditor/ckeditor5-icons';var w=class extends _0x418beb{['_recalculatePageBreaksDebounced']=_0x701cc(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x2652ac('pagination-config-not-found',this['editor']['config']);const _0x58cbd7=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x58cbd7),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x590f1,_0x33f0c2,_0x487e88)=>{_0x487e88&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x28313f){const _0x99068f='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x1806f6=0x78e70,_0x3f82f8=window['Date']['now'](),_0x8212dd=_0x28313f['editor'],_0x5792de=new window['Promise'](_0x1fedc4=>{_0x8212dd['once']('ready',_0x1fedc4);}),_0x412451={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x63961c=_0x8212dd['config']['get']('licenseKey');async function _0x5b1c50(){let _0x24f782,_0x354ec=null,_0x5d161f=null;try{return'GPL'==_0x63961c?'NotAllowed':(_0x24f782=_0x41f31d(),_0x24f782?(_0x24f782['usageEndpoint']&&(_0x5d161f=_0x1dcd36(_0x24f782['usageEndpoint'],_0x24f782['jti'])),await _0x13ecb9()?_0x2258c0()?_0x392ba5()?'Expired':_0x17e56b()?('evaluation'==_0x24f782['licenseType']&&(_0x354ec=_0x3c610c('EvaluationLimit')),await _0x379f73()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x392ba5(){const _0x1b34a8=['evaluation','trial']['includes'](_0x24f782['licenseType'])?_0x3f82f8/0x3e8:0xe10*_0x1806f6;return _0x24f782['exp']<_0x1b34a8;}function _0x2258c0(){const _0x1e98cf=_0x24f782['features'];return!!_0x1e98cf&&(!!_0x1e98cf['includes']('*')||!!_0x1e98cf['includes']('PAG'));}function _0x17e56b(){const _0x13478e=_0x24f782['licensedHosts'];if(!_0x13478e||0x0==_0x13478e['length'])return!0x0;const {hostname:_0x26ce18}=new URL(window['location']['href']);if(_0x13478e['includes'](_0x26ce18))return!0x0;const _0x41cf98=_0x26ce18['split']('.');return _0x13478e['filter'](_0x45ff43=>_0x45ff43['includes']('*'))['map'](_0x2a5153=>_0x2a5153['split']('.'))['filter'](_0x4b4933=>_0x4b4933['length']<=_0x41cf98['length'])['map'](_0x2da1ef=>Array(_0x41cf98['length']-_0x2da1ef['length'])['fill']('*'===_0x2da1ef[0x0]?'*':'')['concat'](_0x2da1ef))['some'](_0x44e19f=>_0x41cf98['every']((_0x2c0241,_0xd4733a)=>_0x44e19f[_0xd4733a]===_0x2c0241||'*'===_0x44e19f[_0xd4733a]));}function _0x379f73(){return _0x354ec&&_0x5d161f?new window['Promise']((_0x20aa47,_0x1a8ebb)=>{_0x354ec['then'](_0x20aa47,_0x1a8ebb),_0x5d161f['then'](_0xf6a9d0=>{'Valid'!=_0xf6a9d0&&_0x20aa47(_0xf6a9d0);},_0x1a8ebb);}):_0x354ec||_0x5d161f||'Valid';}}function _0x1dcd36(_0x4809c9,_0x1d11ed){return new window['Promise'](_0x5d7b55=>{if(_0x3356fd())return _0x5d7b55('Valid');_0x7a23bd(),_0x8212dd['decorate']('_sendUsageRequest');let _0x973a66=!0x1;const _0x27b917=_0x4a7fe9();function _0x6a5a82(_0x4a9e29){return!!_0x4a9e29&&('object'==typeof _0x4a9e29||'function'==typeof _0x4a9e29)&&'function'==typeof _0x4a9e29['then']&&'function'==typeof _0x4a9e29['catch'];}function _0x32d542(_0x471902){_0x90a3a2(_0x471902)['then'](_0x2c039a=>_0x2c039a&&'ok'==_0x2c039a['status']?_0xba3ed1(_0x13090b(_0x27b917+_0x1d11ed))!=_0x2c039a['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x48706b=>(_0x6be58c(),_0x48706b),()=>{const _0x14ab5d=_0x43e5c9();return null==_0x14ab5d?(_0x6be58c(),'Valid'):_0x3f82f8-_0x14ab5d>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5d7b55)['catch'](()=>{_0x5d7b55('UsageLimit');});const _0x13ee20=0x36ee80;function _0x6be58c(){const _0x22ca3b='llct-'+_0xba3ed1(_0x13090b(_0x4809c9)),_0x1bd3e9=_0x1a3b27(_0xba3ed1(window['Math']['ceil'](_0x3f82f8/_0x13ee20)));window['localStorage']['setItem'](_0x22ca3b,_0x1bd3e9);}function _0x43e5c9(){const _0x463992='llct-'+_0xba3ed1(_0x13090b(_0x4809c9)),_0x93c66=window['localStorage']['getItem'](_0x463992);return _0x93c66?window['parseInt'](_0x1a3b27(_0x93c66),0x10)*_0x13ee20:null;}function _0x90a3a2(_0x146e7f){return new window['Promise']((_0xedbada,_0x4e30a7)=>{_0x146e7f['then'](_0xedbada,_0x4e30a7),window['setTimeout'](_0x4e30a7,0x1d4c0);});}}_0x8212dd['on']('_sendUsageRequest',(_0x39d146,_0x3a2c27)=>{if(_0x3a2c27[0x0]!=_0x4809c9)return _0x5d7b55('UsageLimit');_0x3a2c27[0x1]={..._0x3a2c27[0x1],'requestId':_0x27b917};},{'priority':'high'}),_0x8212dd['on']('_sendUsageRequest',_0x311eeb=>{_0x6a5a82(_0x311eeb['return'])&&(_0x973a66=!0x0,_0x32d542(_0x311eeb['return']));},{'priority':'low'}),_0x5792de['then'](()=>{_0x973a66||_0x5d7b55('UsageLimit');});});function _0x3356fd(){return'auto'==_0x8212dd['editing']['view']['_overlayModeHint'];}function _0x7a23bd(){_0x8212dd['editing']['view']['_overlayModeHint']='auto';}}function _0x3c610c(_0x49218c){const _0x576322=[new window['Promise'](_0x172137=>setTimeout(_0x172137,0x93ecc)),_0x5792de['then'](()=>new window['Promise'](_0x28e710=>{let _0xf2a667=0x0;_0x8212dd['model']['on']('applyOperation',(_0x2b3a19,_0x2b170)=>{_0x2b170[0x0]['isDocumentOperation']&&_0xf2a667++,0x5e8==_0xf2a667&&(_0x28e710(),_0x2b3a19['off']());});}))];return window['Promise']['race'](_0x576322)['then'](()=>_0x49218c);}async function _0x197e6f(){await _0x5792de,_0x8212dd['model']['change']=_0x130ac0,_0x8212dd['model']['enqueueChange']=_0x130ac0,_0x8212dd['enableReadOnlyMode']('model');}function _0x3aee91(_0x17cca7){const _0x2c248d=_0x545559();_0x8212dd[_0x2c248d]='paginationLicenseKey'+_0x17cca7,'Valid'!=_0x17cca7&&_0x197e6f();}function _0x545559(){const _0x57ab35=window['String'](window['performance']['now']())['replace']('.','');let _0x3c137d='I';for(let _0x416197=0x0;_0x416197<_0x57ab35['length'];_0x416197+=0x2){let _0x39ca0=window['parseInt'](_0x57ab35['substring'](_0x416197,_0x416197+0x2));_0x39ca0>=0x3e&&(_0x39ca0-=0x3e),_0x3c137d+=_0x99068f[_0x39ca0];}return _0x3c137d;}function _0x41f31d(){const _0x6eb0e9=_0x63961c['split']('.');if(0x3!=_0x6eb0e9['length'])return null;return _0x5b41b8(_0x6eb0e9[0x1]);function _0x5b41b8(_0x540dd8){const _0x119e60=_0x1c2159(_0x540dd8);return _0x119e60&&_0x56f71d()?_0x119e60:null;function _0x56f71d(){const _0xc23ed7=_0x119e60['jti'],_0xd979b5=window['parseInt'](_0xc23ed7['substring'](_0xc23ed7['length']-0x8),0x10),_0x528cd0={..._0x119e60,'jti':_0xc23ed7['substring'](0x0,_0xc23ed7['length']-0x8)};return delete _0x528cd0['vc'],_0x13090b(_0x528cd0)==_0xd979b5;}}}async function _0x13ecb9(){let _0x164d7e=!0x0;try{const [_0x12b2b2,_0x39ba37,_0x24a9bd]=_0x63961c['split']('.');return _0x5614e8(_0x12b2b2),await _0x4c285b(_0x12b2b2,_0x39ba37,_0x24a9bd),_0x164d7e;}catch{return!0x1;}function _0x5614e8(_0x101185){const _0x58bf26=_0x1c2159(_0x101185);_0x58bf26&&'ES256'==_0x58bf26['alg']||(_0x164d7e=!0x1);}async function _0x4c285b(_0x429547,_0x383355,_0x35985d){const _0x4821c3=window['Uint8Array']['from'](_0xfdfdbb(_0x35985d),_0x3f8080=>_0x3f8080['charCodeAt'](0x0)),_0x24c879=new window['TextEncoder']()['encode'](_0x429547+'.'+_0x383355),_0x341d4b=window['crypto']['subtle'];if(!_0x341d4b)return;const _0x412e46=await _0x341d4b['importKey']('jwk',_0x412451,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x341d4b['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x412e46,_0x4821c3,_0x24c879)||(_0x164d7e=!0x1);}}function _0x1c2159(_0x1c9e30){return _0x1c9e30['startsWith']('ey')?JSON['parse'](_0xfdfdbb(_0x1c9e30)):null;}function _0xfdfdbb(_0x24e2fc){return window['atob'](_0x24e2fc['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x13090b(_0x309ae6){let _0x1a53b6=0x1505;function _0x568b89(_0x559b6f){for(let _0x3c1c04=0x0;_0x3c1c04<_0x559b6f['length'];_0x3c1c04++){const _0x3d18ab=_0x559b6f['charCodeAt'](_0x3c1c04);_0x1a53b6=(_0x1a53b6<<0x5)+_0x1a53b6+_0x3d18ab,_0x1a53b6&=_0x1a53b6;}}function _0x27c45f(_0x17a9d4){Array['isArray'](_0x17a9d4)?_0x17a9d4['forEach'](_0x27c45f):_0x17a9d4&&'object'==typeof _0x17a9d4?Object['entries'](_0x17a9d4)['sort']()['forEach'](([_0x48b645,_0x4b96e2])=>{_0x568b89(_0x48b645),_0x27c45f(_0x4b96e2);}):_0x568b89(window['String'](_0x17a9d4));}return _0x27c45f(_0x309ae6),_0x1a53b6>>>0x0;}function _0xba3ed1(_0xf0a9ca){return _0xf0a9ca['toString'](0x10)['padStart'](0x8,'0');}function _0x1a3b27(_0x2252ac){return _0x2252ac['split']('')['reverse']()['join']('');}function _0x130ac0(){}_0x3aee91(await _0x5b1c50());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x1de2b0=this['editor'],_0x36e876=_0x1de2b0['editing']['view'],_0x26000f=this['_getAttachedDomRoot']();if(!_0x26000f||!_0x26000f['hasChildNodes']())return void _0x1de2b0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x33f654,pageHeight:_0x293321}=_0x1de2b0['config']['get']('pagination'),{top:_0x3eb92c,left:_0x522902,bottom:_0x2b1ca3,right:_0x16bfd6}=this['_configuredPaddings'];this['_pagesContainer']=new _0x422102(_0x1de2b0['locale']);const _0x1a2a4c=this['_pagesContainer'];_0x1a2a4c['set']('class',''),_0x1a2a4c['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x33f654,'width':_0x33f654,'height':'calc(\x20'+_0x293321+'\x20-\x20'+_0x3eb92c+'\x20-\x20'+_0x2b1ca3+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x16bfd6+'\x200\x20'+_0x522902,'columnGap':'calc('+_0x522902+'\x20+\x20'+_0x16bfd6+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x1a2a4c['bindTemplate']['to']('class')}}),_0x1a2a4c['render'](),_0x26000f['parentNode']['insertBefore'](_0x1a2a4c['element'],_0x26000f['nextSibling']),this['listenTo'](_0x36e876,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x5c3e50 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5c3e50['ownerDocument']['body']['contains'](_0x5c3e50))return _0x5c3e50;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x4b703e=this['editor']['editing']['view'],_0x326b31=this['_pagesContainer'],_0x5f3d13=this['_getAttachedDomRoot']();if(!_0x5f3d13||!_0x326b31)return Promise['resolve']();for(_0x326b31['class']=['ck-reset','ck-pagination-view',..._0x5f3d13['classList']]['join']('\x20');_0x326b31['element']['firstChild'];)_0x326b31['element']['firstChild']['remove']();const _0x516c21=Array['from'](_0x4b703e['domRoots']);_0x516c21['sort'](([,_0x51f2e9],[,_0x1f8c66])=>_0x51f2e9['compareDocumentPosition'](_0x1f8c66)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x2da774,_0x4739d4]of _0x516c21){const _0x4b30f1=_0x4739d4['cloneNode'](!0x0);'attributeStyleMap'in _0x4b30f1&&_0x4b30f1['attributeStyleMap']['clear'](),_0x4b30f1['dataset']['rootName']=_0x2da774,_0x4b30f1['className']='ck-content\x20ck-pagination_enabled',_0x4b30f1['removeAttribute']('id'),_0x4b30f1['tabIndex']=-0x1,_0x326b31['element']['append'](_0x4b30f1);}const _0x327411=Array['from'](_0x326b31['element']['querySelectorAll']('img'));return function(_0x73f0cf){return Promise['all'](_0x73f0cf['map'](_0x8e6963=>Promise['race']([k(_0x8e6963),v(0x3e8)])));}(_0x327411)['then'](()=>{for(const _0x3412e3 of _0x327411['filter'](_0xdaf5e2=>!_0xdaf5e2['closest']('table')))if(_0x3412e3['offsetParent']){const _0x17da66=_0x3721dd['window']['getComputedStyle'](_0x3412e3),_0x1dd042=_0x3721dd['document']['createElement']('span');for(const _0x3c179f of _0x17da66)_0x1dd042['style']['setProperty'](_0x3c179f,_0x17da66[_0x3c179f]);_0x1dd042['style']['backgroundImage']='url(\x20'+_0x3412e3['src']+'\x20)',_0x1dd042['style']['breakInside']='avoid','PICTURE'==_0x3412e3['parentElement']?.['tagName']?_0x3412e3['parentElement']['replaceWith'](_0x1dd042):_0x3412e3['replaceWith'](_0x1dd042);}return new Promise(_0x42188c=>_0x3721dd['window']['requestAnimationFrame'](()=>_0x42188c()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x11b90c=this['_pagesContainer']['element'];if(!_0x11b90c['ownerDocument']['body']['contains'](_0x11b90c))return;const _0x1ecdc0=new _0x5dc800(_0x11b90c)['excludeScrollbarsAndBorders'](),_0xcfcbaa=Math['floor'](_0x1ecdc0['width']+0x64),_0xe73b77=_(_0x11b90c,Math['floor'](_0x1ecdc0['left']-_0x11b90c['scrollLeft']),_0xcfcbaa,_0x1ecdc0['height'])['map'](_0x4ef129=>this['_mapPageStarterInfoToPageBreakInfo'](_0x4ef129))['filter'](_0x5398c6=>!0x1!==_0x5398c6);_0xe73b77['every'](_0x482361=>!!_0x482361)&&(this['pageBreaks']=_0xe73b77);}['_mapPageStarterInfoToPageBreakInfo'](_0x47d5bb){const _0x27b34e=this['editor']['editing']['view'],_0x100a8b=this['editor']['editing']['mapper'],_0x7919a1=_0x27b34e['domConverter'],_0x4b2397=_0x47d5bb['path']['shift'](),_0x4d839b=this['_pagesContainer']['element']['childNodes'][_0x4b2397]['dataset']['rootName'],_0xeb9269=_0x27b34e['getDomRoot'](_0x4d839b);if(!_0xeb9269)return null;const _0x373680=function(_0x197dd4,_0xe8d31a){let _0x469a46=_0x197dd4;for(const _0x345760 of _0xe8d31a['path']){if(!_0x469a46)return null;_0x469a46=_0x469a46['childNodes'][_0x345760];}return _0x469a46;}(_0xeb9269,_0x47d5bb);if(!_0x373680)return null;const _0x493c51=_0x7919a1['domPositionToView'](_0x373680,_0x47d5bb['textOffset']||0x0);return _0x493c51?'manual'==_0x47d5bb['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x493c51,_0x373680):'text'==_0x47d5bb['type']&&_0x100a8b['toModelPosition'](_0x493c51)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x493c51,_0x373680,_0x47d5bb['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x493c51,_0x373680,_0x47d5bb['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x1ae5e9,_0x52f774){const _0x4f651a=this['editor']['model'],_0x3c9b49=this['editor']['editing']['mapper']['toModelElement'](_0x1ae5e9['parent']);return new P({'type':'manual','modelRange':_0x4f651a['createRangeOn'](_0x3c9b49),'domNode':_0x52f774,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x3edcec,_0x1f73ee,_0x51db04){const _0x10aff0=this['editor']['model'],_0x3168d6=this['editor']['editing']['mapper'],_0x4a3b53=this['editor']['editing']['view']['domConverter'];if(_0x51db04>=_0x1f73ee['length'])return null;const _0x20093a=_0x3168d6['toModelPosition'](_0x3edcec),_0x518607=_0x10aff0['createRange'](_0x20093a),_0x376d12=_0x3168d6['findMappedViewAncestor'](_0x3edcec);return new P({'type':'text','modelRange':_0x518607,'domNode':_0x1f73ee,'offset':y(_0x1f73ee,_0x51db04,_0x4a3b53['mapViewToDom'](_0x376d12))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x11d6f9,_0x5eb80a,_0x187934){const _0x3bed91=this['editor']['model'],_0x130c5b=this['editor']['editing'],_0x32328d=_0x130c5b['mapper'],_0x16d2c1=_0x130c5b['view']['domConverter'],_0x267dd6=_0x32328d['findMappedViewAncestor'](_0x11d6f9),_0x40c514=_0x32328d['toModelElement'](_0x267dd6);if(!_0x40c514||_0x40c514['is']('rootElement'))return!0x1;const _0x4a35cb=function(_0x3857ba){const _0x30495f=_0x3857ba['parent'],_0x4618f2=_0x30495f['root']['document']['model'],_0x19603d=_0x30495f['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3e3aa7=null;for(const _0x482ea8 of _0x19603d){if(_0x482ea8['is']('rootElement'))return _0x3e3aa7;if(!_0x4618f2['createPositionBefore'](_0x482ea8)['isTouching'](_0x3857ba))return _0x3e3aa7;_0x3e3aa7=_0x482ea8;}}(_0x3bed91['createPositionBefore'](_0x40c514))||_0x40c514;let _0x521faa=_0x32328d['toViewElement'](_0x4a35cb),_0x44be0=_0x3bed91['createRangeOn'](_0x4a35cb);const _0x4dbb02=_0x3bed91['createPositionBefore'](_0x4a35cb)['nodeBefore'];if(_0x4dbb02&&_0x4dbb02['is']('element','imageBlock')){const _0x48e09f=_0x32328d['toViewElement'](_0x4dbb02),_0x39bee8=_0x16d2c1['mapViewToDom'](_0x48e09f),_0x572d53=_0x3721dd['window']['getComputedStyle'](_0x39bee8)['float'];'left'!=_0x572d53&&'right'!=_0x572d53||(_0x44be0=_0x3bed91['createRangeOn'](_0x4dbb02));}for(;_0x521faa['parent']!==_0x521faa['root']&&0x0===_0x521faa['index'];)_0x521faa=_0x521faa['parent'];const _0x44d51d=new _0x5dc800(K(_0x5eb80a)?_0x5eb80a:L(_0x5eb80a)),_0x4bea34=_0x187934?_0x44d51d['height']-_0x187934:0x0,_0x58a589=_0x16d2c1['mapViewToDom'](_0x521faa),_0x20c7a8=new _0x5dc800(_0x58a589);return new P({'type':'element','modelRange':_0x44be0,'domNode':_0x58a589,'offset':Math['round'](_0x4bea34)||_0x267dd6!=b(_0x11d6f9)?_0x4bea34+_0x44d51d['top']-_0x20c7a8['top']:0x0});}get['_configuredPaddings'](){const _0x23842b=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x23842b);}static['_findPageStarterInfos'](_0x26deae,_0xbf93c8,_0x3f821d,_0x4f7d46,_0x35dbc1){return _(_0x26deae,_0xbf93c8,_0x3f821d,_0x4f7d46,_0x35dbc1);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x2c8323,modelRange:_0x2b15cb,domNode:_0x326c0f,offset:_0x5e8a8d}){this['type']=_0x2c8323,this['modelRange']=_0x2b15cb,this['_domNode']=_0x326c0f,this['_offset']=_0x5e8a8d;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x472b96=new _0x5dc800(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x472b96['top']+_0x472b96['height']/0x2:_0x472b96['top']+this['_offset'];}};function y(_0x2e738b,_0x388da5,_0x7a7fba){const _0x4b7c48=L(_0x2e738b),_0x4545be=function(_0x57f43c){const _0x45ae60=_0x3721dd['document']['createRange']();return _0x45ae60['selectNodeContents'](_0x57f43c),_0x45ae60;}(_0x7a7fba);let _0x2dceaf;_0x2dceaf=0x0==_0x388da5?N(_0x4545be['startContainer'],_0x4545be['startOffset'],_0x2e738b['parentNode'],Array['from'](_0x2e738b['parentNode']['childNodes'])['indexOf'](_0x2e738b)):N(_0x4545be['startContainer'],_0x4545be['startOffset'],_0x2e738b,_0x388da5);const _0x1d4ba2=N(_0x2e738b,_0x388da5,_0x4545be['endContainer'],_0x4545be['endOffset']),_0x397cf3=new _0x5dc800(_0x2dceaf)['bottom'];return(new _0x5dc800(_0x1d4ba2)['top']+_0x397cf3)/0x2-new _0x5dc800(_0x4b7c48)['top'];}function b(_0x108fef){let _0x51af53=_0x108fef['parent'];for(;_0x51af53['is']('$text')||_0x51af53['is']('attributeElement');)_0x51af53=_0x51af53['parent'];return _0x51af53;}function k(_0x463a73){return _0x463a73['hasAttribute']('width')&&_0x463a73['hasAttribute']('height')?Promise['resolve']():new Promise(_0x29d12f=>{function _0x4bd4b4(){_0x463a73['removeEventListener']('load',_0x4bd4b4),_0x463a73['removeEventListener']('error',_0x4bd4b4),_0x29d12f();}_0x463a73['complete']?_0x29d12f():(_0x463a73['addEventListener']('load',_0x4bd4b4),_0x463a73['addEventListener']('error',_0x4bd4b4));});}function v(_0x482c5b){return new Promise(_0xf2539c=>setTimeout(_0xf2539c,_0x482c5b));}function L(_0x3337dc){const _0x376993=_0x3721dd['document']['createRange']();return _0x376993['selectNode'](_0x3337dc),_0x376993;}function x(_0x2a6adc,_0x3e263f,_0x20eef7){const _0x390bc9=_0x3721dd['document']['createRange']();return _0x390bc9['setStart'](_0x2a6adc,_0x3e263f),_0x390bc9['setEnd'](_0x2a6adc,_0x20eef7),_0x390bc9;}function N(_0x182570,_0x25993a,_0x174ac4,_0x249fbd){const _0x4cc91b=_0x3721dd['document']['createRange']();return _0x4cc91b['setStart'](_0x182570,_0x25993a),_0x4cc91b['setEnd'](_0x174ac4,_0x249fbd),_0x4cc91b;}function _(_0x585343,_0x4f9318,_0x12a03d,_0x111e68,_0x4fa33e){const _0xa0c755=[];for(const [_0x2f04cb,_0x35680e]of _0x585343['childNodes']['entries']()){let _0xf4404c=[];K(_0x35680e)&&_0x35680e['offsetParent']&&['static','relative']['includes'](_0x3721dd['window']['getComputedStyle'](_0x35680e)['position'])?_0xf4404c=E(_0x35680e,_0x2f04cb,_0x4f9318,_0x12a03d,_0x111e68,_0x4fa33e):O(_0x35680e)&&(_0xf4404c=S(_0x35680e,_0x2f04cb,_0x4f9318,_0x12a03d,_0x4fa33e)),_0xf4404c['length']&&(_0xa0c755['push'](..._0xf4404c),_0x4f9318+=_0xf4404c['length']*_0x12a03d,_0x4fa33e=!0x1);}return _0xa0c755;}function E(_0x19f207,_0x505084,_0x2a026c,_0x52840f,_0x244c0b,_0x23cc70){const _0x3c3bb8=[];var _0x18fc87;if((_0x18fc87=_0x19f207['previousSibling'])&&K(_0x18fc87)&&Boolean(_0x18fc87['classList']['contains']('page-break')||_0x18fc87['closest']('.page-break'))&&(_0x3c3bb8['push']({'type':'manual','offset':0x0,'path':[_0x505084-0x1]}),_0x23cc70=!0x0),'table-row'==_0x3721dd['window']['getComputedStyle'](_0x19f207)['display']){let _0x457947=0x0,_0x40f656=!0x1;for(const _0x32e76a of _0x19f207['getClientRects']())_0x457947+=_0x32e76a['height'],_0x32e76a['left']>=_0x2a026c&&(_0x40f656=!0x0);if(_0x457947<_0x244c0b&&_0x40f656)return _0x23cc70||_0x3c3bb8['push']({'type':'element','offset':0x0,'path':[_0x505084]}),_0x3c3bb8;}const _0x54fb4a=_0x19f207['closest']('figure.image');if(_0x54fb4a&&function(_0x1ce53b){let _0x349f05=!0x1;const _0x154507=_0x1ce53b['parentElement']['dataset']['rootName'],_0x15eb38=_0x1ce53b['nextElementSibling'],_0x2856be=_0x1ce53b['previousElementSibling'],_0x14822d=_0x15eb38&&_0x3721dd['window']['getComputedStyle'](_0x15eb38)['float'],_0x67551a=_0x15eb38&&'ck-fake-selection-container'===_0x15eb38['className'];return!_0x154507||_0x15eb38||_0x2856be||(_0x349f05=!0x0),_0x154507&&!_0x2856be&&_0x67551a&&(_0x349f05=!0x0),_0x154507&&!_0x2856be&&'none'!==_0x14822d&&(_0x349f05=!0x0),!_0x349f05;}(_0x54fb4a)){const _0x68e142=_0x3721dd['window']['getComputedStyle'](_0x54fb4a)['float'];if('left'==_0x68e142||'right'==_0x68e142)return _0x3c3bb8;}const _0x37c7ad=_(_0x19f207,_0x2a026c,_0x52840f,_0x244c0b,_0x23cc70);if(_0x37c7ad['length']){for(const _0x28f323 of _0x37c7ad)_0x3c3bb8['push']({'type':_0x28f323['type'],'offset':_0x28f323['offset'],'textOffset':_0x28f323['textOffset'],'path':[_0x505084,..._0x28f323['path']]}),_0x2a026c+=_0x52840f,_0x23cc70=!0x1;return _0x3c3bb8;}return _0x3c3bb8['push'](...function(_0x38324a,_0x56cdfc,_0x22e314,_0xfd74d1,_0x543bab){const _0x47c7df=[];if('table-cell'==_0x3721dd['window']['getComputedStyle'](_0x38324a)['display'])return[];const _0xa7aa50=[];for(const _0x3c5fad of _0x38324a['getClientRects']())if(_0x3c5fad['left']>=_0x22e314){for(const _0x2d39fe of _0xa7aa50)_0x2d39fe['height']+=_0x3c5fad['height'];_0xa7aa50['push']({'height':_0x3c5fad['height']}),_0x22e314+=_0xfd74d1;}for(const _0x430daf of _0xa7aa50)_0x543bab||_0x47c7df['push']({'type':'element','offset':_0x430daf['height'],'textOffset':0x0,'path':[_0x56cdfc]}),_0x543bab=!0x1;return _0x47c7df;}(_0x19f207,_0x505084,_0x2a026c,_0x52840f,_0x23cc70)),_0x3c3bb8;}function S(_0x2b191f,_0x4e07b1,_0x12ed88,_0x5e639d,_0x1b7b1b){const _0x1e5d11=L(_0x2b191f),_0x4255cb=[];let _0x5eacd2=0x0;for(const _0xda0d3a of _0x1e5d11['getClientRects']())if(_0xda0d3a['left']>=_0x12ed88){const _0x3ae62b=R(_0x2b191f,_0x5eacd2,_0x12ed88,_0x5e639d);_0x1b7b1b||_0x4255cb['push']({'type':'text','path':[_0x4e07b1],'textOffset':_0x3ae62b}),_0x5eacd2=_0x3ae62b,_0x12ed88+=_0x5e639d,_0x1b7b1b=!0x1;}return _0x4255cb;}function R(_0x1b8aff,_0x25a4b,_0x41d803,_0x36f3b0){let _0x237970=_0x25a4b,_0x366ccd=_0x1b8aff['length'];for(;_0x366ccd-_0x237970>0x1;){const _0x168669=Math['ceil']((_0x237970+_0x366ccd)/0x2);I(x(_0x1b8aff,_0x237970,_0x168669),_0x41d803,_0x36f3b0)?_0x366ccd=_0x168669:_0x237970=_0x168669;}return _0x237970;}function I(_0xcdb82c,_0xde8746,_0x793e0c){for(const _0x5c9ba2 of _0xcdb82c['getClientRects']())if(_0x5c9ba2['left']>=_0xde8746&&_0x5c9ba2['left']<_0xde8746+_0x793e0c)return!0x0;return!0x1;}function K(_0x2e9846){return _0x2e9846['nodeType']==Node['ELEMENT_NODE'];}function O(_0x512008){return _0x512008['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4618d8('px');var U=class extends _0x422102{constructor(){super();const _0x1cf4a7=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1cf4a7['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1cf4a7['if']('isVisible','ck-hidden',_0x22f214=>!_0x22f214)],'style':{'left':_0x1cf4a7['to']('left',_0x215b2f=>A(_0x215b2f)),'top':_0x1cf4a7['to']('top',_0x3012ad=>A(_0x3012ad)),'width':_0x1cf4a7['to']('width',_0x1050a0=>A(_0x1050a0))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x10d153){this['_viewCollection']=_0x10d153['ui']['view']['body'];}['destroy'](){for(const _0x11a31d of this['_hiddenLines'])_0x11a31d['destroy']();}['cleanLines'](){for(const _0x36b090 of this['_visibleLines'])_0x36b090['isVisible']=!0x1,this['_hiddenLines']['add'](_0x36b090);this['_visibleLines']['clear']();}['showLine'](_0x16b86d,_0x4e132b,_0x454bac,_0x4aea76){let _0x812f40;this['_hiddenLines']['size']?(_0x812f40=_0x430f38(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x812f40)):_0x812f40=new U(),_0x812f40['set']({'pageNumber':_0x4aea76,'left':_0x16b86d,'top':_0x4e132b,'width':_0x454bac}),_0x812f40['isVisible']=!0x0,this['_viewCollection']['has'](_0x812f40)||this['_viewCollection']['add'](_0x812f40),this['_visibleLines']['add'](_0x812f40);}['setViewCollection'](_0xaf1ded){for(const _0x52fe27 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x52fe27)&&this['_viewCollection']['remove'](_0x52fe27);this['_viewCollection']=_0xaf1ded;}};const D='ck-pagination_enabled';var B=class extends _0x418beb{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new C(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](D),this['on']('change:isEnabled',(_0x1b713f,_0xb93c4,_0x1bbfa4)=>{_0x1bbfa4||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x1bbfa4);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5ead13){if(!this['isEnabled'])return;const _0x327286=_0x5ead13>0x1?this['_getPageBreakLineOffset'](_0x5ead13-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x327286-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2c9465['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x3119a4=this['editor'],_0x2637d7=this['_getAttachedDomRoot']();_0x2637d7?(this['_scrollableEditingRootDomAncestor']&&_0x3119a4['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0xbb977a){let _0x10c2e1=_0xbb977a;do{_0x10c2e1=_0x10c2e1['parentElement'];const _0x2a8b9e=_0x3721dd['window']['getComputedStyle'](_0x10c2e1)['overflowY'];if('auto'==_0x2a8b9e||'scroll'==_0x2a8b9e)break;}while('BODY'!=_0x10c2e1['tagName']);return _0x10c2e1;}(_0x2637d7),_0x3119a4['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x4eca3e(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x3119a4['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x5675d0=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x5675d0['ui']['view']['listenTo'](_0x3721dd['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x5675d0['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x2bf9df of this['editor']['editing']['view']['domRoots']['values']())if(_0x2bf9df['ownerDocument']['body']['contains'](_0x2bf9df))return _0x2bf9df;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x520520=this['_getAttachedDomRoot'](),_0x3b7a93=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x520520||0x1==_0x3b7a93['length'])return void(this['pageNumber']=0x1);const _0x91eb9b=new _0x5dc800(_0x520520)['excludeScrollbarsAndBorders'](),_0xf6214=new _0x5dc800(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4586dd=_0xf6214['top']+_0xf6214['height']/0x3;let _0xe852de=!0x1;const _0x2e7911=[];for(let _0x4fb816=0x1;_0x4fb816<_0x3b7a93['length'];_0x4fb816++){const _0x4ca36e=this['_getPageBreakLineOffset'](_0x4fb816,_0xf6214);if(!_0x4ca36e)continue;const _0x1b041f=_0xf6214['top']+_0x4ca36e-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x2e7911['push']({'pageOffsetTop':_0x1b041f,'domRootRect':_0x91eb9b,'domScrollableRect':_0xf6214,'pageNumber':_0x4fb816}),_0x1b041f>_0x4586dd&&!_0xe852de&&(this['pageNumber']=_0x4fb816,_0xe852de=!0x0);}this['_renderPageBreakLines'](_0x2e7911),_0xe852de||(this['pageNumber']=_0x3b7a93['length']);}['_renderPageBreakLines'](_0x2ac315){const {scrollX:_0x10fc4a,scrollY:_0xdd107f}=_0x3721dd['window'];if(_0x2ac315['length']){for(const {domScrollableRect:_0x401483,pageOffsetTop:_0x3d0d04,domRootRect:_0xdf0228,pageNumber:_0x45829b}of _0x2ac315)_0x401483['top']<_0x3d0d04&&_0x3d0d04<_0x401483['bottom']&&this['linesRepository']['showLine'](_0xdf0228['left']+_0x10fc4a,_0x3d0d04+_0xdd107f,_0xdf0228['width'],_0x45829b+0x1);}}['_getPageBreakLineOffset'](_0x295c4e,_0x360d12=null){const _0xcaf602=this['_paginationLookupPlugin']['pageBreaks'][_0x295c4e]['offset'];return _0xcaf602?(_0x360d12||(_0x360d12=new _0x5dc800(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xcaf602-_0x360d12['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x3be10f,_0x2cc1f4=!0x0){const _0xe82341=this['editor']['editing']['view'];_0xe82341['change'](_0x1fc250=>{for(const _0x2d94ba of _0xe82341['document']['roots'])_0x2cc1f4?_0x1fc250['addClass'](_0x3be10f,_0x2d94ba):_0x1fc250['removeClass'](_0x3be10f,_0x2d94ba);});}};function T(_0xebb90f,_0x5b1fb2,..._0x1512fe){const t=_0xebb90f['t'];switch(_0x5b1fb2){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x1512fe);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x5b1fb2;}}var G=class extends _0x418beb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[w,B];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3c3877=this['editor']['plugins']['get']('Pagination'),_0x17af43=this['editor']['plugins']['get'](w),_0x183b90=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x3c3877),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x183b90),this['listenTo'](_0x17af43,'change:pageBreaks',(_0x1a46cd,_0x40f199,_0x378809,_0x3bea34)=>{this['totalPages']=_0x378809['length'],this['_updatePageBreakMarkers'](_0x378809,_0x3bea34);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3dbf8c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f2d1c;for(const _0x5b662 in _0x3dbf8c){const _0x1c1954=_0x5b662,_0x2b951e=_0x3dbf8c[_0x1c1954];if('paginationLicenseKeyValid'==_0x2b951e||'paginationLicenseKeyInvalid'==_0x2b951e||'paginationLicenseKeyExpired'==_0x2b951e||'paginationLicenseKeyDomainLimit'==_0x2b951e||'paginationLicenseKeyNotAllowed'==_0x2b951e||'paginationLicenseKeyEvaluationLimit'==_0x2b951e||'paginationLicenseKeyUsageLimit'==_0x2b951e){delete _0x3dbf8c[_0x1c1954],_0x2f2d1c=_0x2b951e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x16537f){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x16537f));}['moveSelectionToPage'](_0x29c600){if(!this['isEnabled'])return;const _0x259d4f=this['editor'],_0x58a512=this['editor']['plugins']['get'](w)['pageBreaks'][_0x29c600-0x1];_0x58a512&&_0x259d4f['model']['change'](_0xec83eb=>{switch(_0x58a512['type']){case'manual':{const _0x1fd4be=_0x259d4f['model']['schema']['getNearestSelectionRange'](_0x58a512['modelRange']['end'],'forward');_0xec83eb['setSelection'](_0x1fd4be);break;}case'element':{const _0x15aa13=_0x259d4f['model']['schema']['getNearestSelectionRange'](_0x58a512['modelRange']['start'],'forward');_0xec83eb['setSelection'](_0x15aa13);break;}case'text':{const _0x3f943e=_0x58a512['modelRange']['start'];if(_0x3f943e['textNode']&&'\x20'===_0x3f943e['textNode']['data'][_0x3f943e['offset']]){const _0x4aca61=_0xec83eb['createPositionAt'](_0x3f943e['parent'],_0x3f943e['offset']+0x1);_0xec83eb['setSelection'](_0x4aca61);}else _0xec83eb['setSelection'](_0x58a512['modelRange']);}}_0x259d4f['editing']['view']['focus']();});}['goToNextPage'](){const _0x30ab8a=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x30ab8a),this['scrollToPage'](_0x30ab8a);}['goToPreviousPage'](){const _0x5db54c=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x5db54c),this['scrollToPage'](_0x5db54c);}['_updatePageBreakMarkers'](_0x41fa97,_0x5efa5a){const _0x412fc9=this['editor']['model'];this['isEnabled']&&_0x412fc9['change'](_0x56d1c3=>{for(let _0x18874c=0x1;_0x18874c<_0x41fa97['length'];_0x18874c++){const _0x1eea65=_0x41fa97[_0x18874c]['modelRange'],_0x5f3649='pagination:'+(_0x18874c+0x1);_0x412fc9['markers']['has'](_0x5f3649)?_0x56d1c3['updateMarker'](_0x5f3649,{'range':_0x1eea65}):_0x56d1c3['addMarker'](_0x5f3649,{'range':_0x1eea65,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x58a0b2=_0x41fa97['length'];_0x58a0b2<_0x5efa5a['length'];_0x58a0b2++){const _0x2aeb45='pagination:'+(_0x58a0b2+0x1);_0x412fc9['markers']['has'](_0x2aeb45)&&_0x56d1c3['removeMarker'](_0x2aeb45);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x599371=>{_0x599371['on']('addMarker:pagination',(_0x4d5bb4,{markerRange:_0x36f2b9,markerName:_0x4f558a},_0x3f4785)=>{if(!_0x3f4785['options']['pagination'])return;if(!_0x3f4785['consumable']['consume'](_0x36f2b9,_0x4d5bb4['name']))return;const _0x3e1eed=_0x36f2b9['getContainedElement']();let _0xebd15b=_0x3e1eed?_0x3f4785['mapper']['toViewElement'](_0x3e1eed):null;if(!_0xebd15b){const _0x5f42dc=_0x36f2b9['start'];if(_0x3f4785['schema']['checkChild'](_0x5f42dc,'$text')){const _0x276fa8=_0x3f4785['mapper']['toViewPosition'](_0x5f42dc);_0xebd15b=_0x3f4785['writer']['createContainerElement']('span'),_0xebd15b['getFillerOffset']=()=>null,_0x3f4785['writer']['insert'](_0x276fa8,_0xebd15b);}else{const _0x5c3590=_0x5f42dc['nodeAfter'];_0xebd15b=_0x3f4785['mapper']['toViewElement'](_0x5c3590);}}for(;_0xebd15b['parent']!==_0xebd15b['root']&&0x0===_0xebd15b['index'];)_0xebd15b=_0xebd15b['parent'];const _0x37c81a=_0x4f558a['substring'](0xb);_0xebd15b['hasClass']('page-break')||(_0x3f4785['writer']['setStyle']('page-break-before','always',_0xebd15b),_0x3f4785['writer']['setAttribute']('data-pagination-page',_0x37c81a,_0xebd15b),_0x3f4785['mapper']['bindElementToMarker'](_0xebd15b,_0x4f558a)),_0x4d5bb4['stop']();});});}['_setupKeystrokes'](){const _0x111e80=this['editor'];_0x111e80['keystrokes']['set']('Shift+Pageup',(_0x4a2606,_0x28e06f)=>{this['goToPreviousPage'](),_0x28e06f();}),_0x111e80['keystrokes']['set']('Shift+Pagedown',(_0x534f87,_0x3ec7ce)=>{this['goToNextPage'](),_0x3ec7ce();}),_0x111e80['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x111e80['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x111e80['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x111e80['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x542570){return _0x542570<0x1&&(_0x542570=0x1),_0x542570>this['totalPages']&&(_0x542570=this['totalPages']),_0x542570;}},V=class extends _0x422102{['pageNumberView'];constructor(_0x2ca3a9){super(_0x2ca3a9);const _0x5aed34=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x20ab03(_0x2ca3a9,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x219928=>T(_0x2ca3a9,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x219928)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1d1549=>!_0x1d1549),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5aed34['if']('isEnabled','ck-disabled',_0xde519d=>!_0xde519d)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5aed34['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1d8bca=this['pageNumberView']['element'],_0x52a6aa=_0x2b27cd=>{this['pageNumberView']['element']['value']=String(_0x2b27cd);};_0x52a6aa(this['pageNumber']),this['on']('change:pageNumber',(_0x23adbf,_0xc679ad,_0x42cda1)=>{_0x52a6aa(_0x42cda1);}),this['listenTo'](_0x1d8bca,'keydown',(_0x3ff737,_0x491394)=>{if('ArrowUp'===_0x491394['key']||'ArrowDown'===_0x491394['key'])return void _0x491394['stopPropagation']();if(_0x491394['keyCode']!==_0x4a8017['enter'])return;_0x491394['preventDefault']();const _0x4c5edb=_0x1d8bca['valueAsNumber'];Number['isNaN'](_0x4c5edb)?_0x1d8bca['value']=String(this['pageNumber']):(_0x1d8bca['checkValidity']()?this['pageNumber']=_0x4c5edb:_0x4c5edb>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1d8bca['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1d8bca['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1d8bca,'blur',()=>{_0x1d8bca['value']=String(this['pageNumber']);}),this['listenTo'](_0x1d8bca,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x418beb{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2de91c=this['editor'],_0xab65e=_0x2de91c['plugins']['get']('PaginationEditing');_0x2de91c['ui']['componentFactory']['add']('pageNavigation',_0x10b297=>{const _0x14c55e=new V(_0x10b297);return _0x14c55e['bind']('pageNumber')['to'](_0xab65e),_0x14c55e['bind']('totalPages')['to'](_0xab65e),_0x14c55e['bind']('isEnabled')['to'](_0xab65e),_0x14c55e['on']('navigation',(_0x5427f7,_0x5888b6)=>{_0xab65e['moveSelectionToPage'](_0x5888b6),_0xab65e['scrollToPage'](_0x5888b6);}),_0x14c55e;}),_0x2de91c['ui']['componentFactory']['add']('nextPage',_0x1cc580=>{const _0x3925cd=new _0x30009d(_0x1cc580);return _0x3925cd['isEnabled']=!0x0,_0x3925cd['label']=T(_0x2de91c['locale'],'Go\x20to\x20next\x20page'),_0x3925cd['icon']=_0x251730,_0x3925cd['tooltip']=!0x0,_0x3925cd['keystroke']='Shift+PageDown',_0x3925cd['bind']('isEnabled')['to'](_0xab65e),this['listenTo'](_0x3925cd,'execute',()=>{_0xab65e['goToNextPage']();}),_0x3925cd;}),_0x2de91c['ui']['componentFactory']['add']('previousPage',_0x268a4d=>{const _0x551ce2=new _0x30009d(_0x268a4d);return _0x551ce2['isEnabled']=!0x0,_0x551ce2['label']=T(_0x2de91c['locale'],'Go\x20to\x20previous\x20page'),_0x551ce2['icon']=_0xfdb35f,_0x551ce2['tooltip']=!0x0,_0x551ce2['keystroke']='Shift+PageUp',_0x551ce2['bind']('isEnabled')['to'](_0xab65e),this['listenTo'](_0x551ce2,'execute',()=>{_0xab65e['goToPreviousPage']();}),_0x551ce2;});}},$=class extends _0x418beb{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x321c44){super(_0x321c44),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4519ad=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x4519ad),this['bind']('totalPages')['to'](_0x4519ad),_0x2c9465['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x42e1e6){this['editor']['plugins']['get'](G)['scrollToPage'](_0x42e1e6);}};export{$ as Pagination,B as PaginationRenderer};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x7badf1=>0x1!=_0x7badf1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31bdb8=>{const {af:{dictionary:_0x3ae12e,getPluralForm:_0x129eec}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x53e443=>0x1!=_0x53e443}};_0x31bdb8['af']||={'dictionary':{},'getPluralForm':null},_0x31bdb8['af']['dictionary']=Object['assign'](_0x31bdb8['af']['dictionary'],_0x3ae12e),_0x31bdb8['af']['getPluralForm']=_0x129eec;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0x4fa13e=>0x0==_0x4fa13e?0x0:0x1==_0x4fa13e?0x1:0x2==_0x4fa13e?0x2:_0x4fa13e%0x64>=0x3&&_0x4fa13e%0x64<=0xa?0x3:_0x4fa13e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x334990=>{const {ar:{dictionary:_0xee41ec,getPluralForm:_0x581071}}={'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0x3c16c1=>0x0==_0x3c16c1?0x0:0x1==_0x3c16c1?0x1:0x2==_0x3c16c1?0x2:_0x3c16c1%0x64>=0x3&&_0x3c16c1%0x64<=0xa?0x3:_0x3c16c1%0x64>=0xb?0x4:0x5}};_0x334990['ar']||={'dictionary':{},'getPluralForm':null},_0x334990['ar']['dictionary']=Object['assign'](_0x334990['ar']['dictionary'],_0xee41ec),_0x334990['ar']['getPluralForm']=_0x581071;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x2a0c57=>0x1!=_0x2a0c57}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd02b43=>{const {ast:{dictionary:_0x37d37e,getPluralForm:_0x489474}}={'ast':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x2effe5=>0x1!=_0x2effe5}};_0xd02b43['ast']||={'dictionary':{},'getPluralForm':null},_0xd02b43['ast']['dictionary']=Object['assign'](_0xd02b43['ast']['dictionary'],_0x37d37e),_0xd02b43['ast']['getPluralForm']=_0x489474;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0xd2eb25=>0x1!=_0xd2eb25}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a79ef=>{const {az:{dictionary:_0x37cc37,getPluralForm:_0xb7578}}={'az':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x279387=>0x1!=_0x279387}};_0x4a79ef['az']||={'dictionary':{},'getPluralForm':null},_0x4a79ef['az']['dictionary']=Object['assign'](_0x4a79ef['az']['dictionary'],_0x37cc37),_0x4a79ef['az']['getPluralForm']=_0xb7578;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x1739d4=>_0x1739d4%0xa==0x1&&_0x1739d4%0x64!=0xb?0x0:_0x1739d4%0xa>=0x2&&_0x1739d4%0xa<=0x4&&(_0x1739d4%0x64<0xa||_0x1739d4%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3dd815=>{const {be:{dictionary:_0x4b7d71,getPluralForm:_0x58a864}}={'be':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x402d16=>_0x402d16%0xa==0x1&&_0x402d16%0x64!=0xb?0x0:_0x402d16%0xa>=0x2&&_0x402d16%0xa<=0x4&&(_0x402d16%0x64<0xa||_0x402d16%0x64>=0x14)?0x1:0x2}};_0x3dd815['be']||={'dictionary':{},'getPluralForm':null},_0x3dd815['be']['dictionary']=Object['assign'](_0x3dd815['be']['dictionary'],_0x4b7d71),_0x3dd815['be']['getPluralForm']=_0x58a864;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Go\x20to\x20next\x20page':'Отидете\x20на\x20следващата\x20страница','Go\x20to\x20previous\x20page':'Отидете\x20на\x20предишната\x20страница','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Текущ\x20номер\x20на\x20страница\x20(от\x201\x20до\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Натискания\x20на\x20клавиши\x20за\x20навигация\x20в\x20документи','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20предишната\x20страница\x20(също\x20преместете\x20селекцията)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20следващата\x20страница\x20(също\x20преместете\x20селекцията)'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Go\x20to\x20next\x20page':'Отидете\x20на\x20следващата\x20страница','Go\x20to\x20previous\x20page':'Отидете\x20на\x20предишната\x20страница','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Текущ\x20номер\x20на\x20страница\x20(от\x201\x20до\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Натискания\x20на\x20клавиши\x20за\x20навигация\x20в\x20документи','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20предишната\x20страница\x20(също\x20преместете\x20селекцията)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20следващата\x20страница\x20(също\x20преместете\x20селекцията)'},'getPluralForm':_0x4580ed=>0x1!=_0x4580ed}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x456314=>{const {bg:{dictionary:_0x5d9230,getPluralForm:_0x284776}}={'bg':{'dictionary':{'Go\x20to\x20next\x20page':'Отидете\x20на\x20следващата\x20страница','Go\x20to\x20previous\x20page':'Отидете\x20на\x20предишната\x20страница','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Текущ\x20номер\x20на\x20страница\x20(от\x201\x20до\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Натискания\x20на\x20клавиши\x20за\x20навигация\x20в\x20документи','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20предишната\x20страница\x20(също\x20преместете\x20селекцията)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20следващата\x20страница\x20(също\x20преместете\x20селекцията)'},'getPluralForm':_0x513d3f=>0x1!=_0x513d3f}};_0x456314['bg']||={'dictionary':{},'getPluralForm':null},_0x456314['bg']['dictionary']=Object['assign'](_0x456314['bg']['dictionary'],_0x5d9230),_0x456314['bg']['getPluralForm']=_0x284776;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Go\x20to\x20next\x20page':'পরবর্তী\x20পৃষ্ঠায়\x20যান','Go\x20to\x20previous\x20page':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'বর্তমান\x20পৃষ্ঠা\x20নম্বর\x20(1\x20থেকে\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'ডকুমেন্টের\x20মধ্যে\x20নেভিগেট\x20করার\x20জন্য\x20কীস্ট্রোক','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'পরবর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Go\x20to\x20next\x20page':'পরবর্তী\x20পৃষ্ঠায়\x20যান','Go\x20to\x20previous\x20page':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'বর্তমান\x20পৃষ্ঠা\x20নম্বর\x20(1\x20থেকে\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'ডকুমেন্টের\x20মধ্যে\x20নেভিগেট\x20করার\x20জন্য\x20কীস্ট্রোক','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'পরবর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)'},'getPluralForm':_0x4fa7f5=>0x1!=_0x4fa7f5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x30e835=>{const {bn:{dictionary:_0x54095b,getPluralForm:_0x4dc78f}}={'bn':{'dictionary':{'Go\x20to\x20next\x20page':'পরবর্তী\x20পৃষ্ঠায়\x20যান','Go\x20to\x20previous\x20page':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'বর্তমান\x20পৃষ্ঠা\x20নম্বর\x20(1\x20থেকে\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'ডকুমেন্টের\x20মধ্যে\x20নেভিগেট\x20করার\x20জন্য\x20কীস্ট্রোক','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'পরবর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)'},'getPluralForm':_0x370129=>0x1!=_0x370129}};_0x30e835['bn']||={'dictionary':{},'getPluralForm':null},_0x30e835['bn']['dictionary']=Object['assign'](_0x30e835['bn']['dictionary'],_0x54095b),_0x30e835['bn']['getPluralForm']=_0x4dc78f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x4f6e39=>_0x4f6e39%0xa==0x1&&_0x4f6e39%0x64!=0xb?0x0:_0x4f6e39%0xa>=0x2&&_0x4f6e39%0xa<=0x4&&(_0x4f6e39%0x64<0xa||_0x4f6e39%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b9bde=>{const {bs:{dictionary:_0x53fbbc,getPluralForm:_0x24fba0}}={'bs':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x262463=>_0x262463%0xa==0x1&&_0x262463%0x64!=0xb?0x0:_0x262463%0xa>=0x2&&_0x262463%0xa<=0x4&&(_0x262463%0x64<0xa||_0x262463%0x64>=0x14)?0x1:0x2}};_0x2b9bde['bs']||={'dictionary':{},'getPluralForm':null},_0x2b9bde['bs']['dictionary']=Object['assign'](_0x2b9bde['bs']['dictionary'],_0x53fbbc),_0x2b9bde['bs']['getPluralForm']=_0x24fba0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Go\x20to\x20next\x20page':'Ves\x20a\x20la\x20següent\x20pàgina','Go\x20to\x20previous\x20page':'Ves\x20a\x20la\x20pàgina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Pàgina\x20actual\x20número\x20(des\x20de\x20l\x271\x20fins\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tecles\x20per\x20a\x20navegar\x20pels\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20pàgina\x20anterior\x20(i\x20mou\x20la\x20selecció)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20següent\x20pàgina\x20(i\x20mou\x20la\x20selecció)'},'getPluralForm':
|
|
23
|
+
export default{'ca':{'dictionary':{'Go\x20to\x20next\x20page':'Ves\x20a\x20la\x20següent\x20pàgina','Go\x20to\x20previous\x20page':'Ves\x20a\x20la\x20pàgina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Pàgina\x20actual\x20número\x20(des\x20de\x20l\x271\x20fins\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tecles\x20per\x20a\x20navegar\x20pels\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20pàgina\x20anterior\x20(i\x20mou\x20la\x20selecció)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20següent\x20pàgina\x20(i\x20mou\x20la\x20selecció)'},'getPluralForm':_0x13962a=>0x1!=_0x13962a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1c11f9=>{const {ca:{dictionary:_0x309e5f,getPluralForm:_0x27426c}}={'ca':{'dictionary':{'Go\x20to\x20next\x20page':'Ves\x20a\x20la\x20següent\x20pàgina','Go\x20to\x20previous\x20page':'Ves\x20a\x20la\x20pàgina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Pàgina\x20actual\x20número\x20(des\x20de\x20l\x271\x20fins\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tecles\x20per\x20a\x20navegar\x20pels\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20pàgina\x20anterior\x20(i\x20mou\x20la\x20selecció)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20següent\x20pàgina\x20(i\x20mou\x20la\x20selecció)'},'getPluralForm':_0x53e040=>0x1!=_0x53e040}};_0x1c11f9['ca']||={'dictionary':{},'getPluralForm':null},_0x1c11f9['ca']['dictionary']=Object['assign'](_0x1c11f9['ca']['dictionary'],_0x309e5f),_0x1c11f9['ca']['getPluralForm']=_0x27426c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'cs':{'dictionary':{'Go\x20to\x20next\x20page':'Přejít\x20na\x20další\x20stránku','Go\x20to\x20previous\x20page':'Přejít\x20na\x20předchozí\x20stránku','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Číslo\x20aktuální\x20stránky\x20(od\x201\x20do\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Stisky\x20kláves\x20pro\x20procházení\x20dokumentů','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20předchozí\x20stránku\x20(také\x20přesune\x20výběr)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20další\x20stránku\x20(také\x20přesune\x20výběr)'},'getPluralForm':
|
|
23
|
+
export default{'cs':{'dictionary':{'Go\x20to\x20next\x20page':'Přejít\x20na\x20další\x20stránku','Go\x20to\x20previous\x20page':'Přejít\x20na\x20předchozí\x20stránku','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Číslo\x20aktuální\x20stránky\x20(od\x201\x20do\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Stisky\x20kláves\x20pro\x20procházení\x20dokumentů','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20předchozí\x20stránku\x20(také\x20přesune\x20výběr)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20další\x20stránku\x20(také\x20přesune\x20výběr)'},'getPluralForm':_0x45389a=>0x1==_0x45389a?0x0:_0x45389a>=0x2&&_0x45389a<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x25bb71=>{const {cs:{dictionary:_0x2ef6b9,getPluralForm:_0x4c9017}}={'cs':{'dictionary':{'Go\x20to\x20next\x20page':'Přejít\x20na\x20další\x20stránku','Go\x20to\x20previous\x20page':'Přejít\x20na\x20předchozí\x20stránku','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Číslo\x20aktuální\x20stránky\x20(od\x201\x20do\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Stisky\x20kláves\x20pro\x20procházení\x20dokumentů','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20předchozí\x20stránku\x20(také\x20přesune\x20výběr)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20další\x20stránku\x20(také\x20přesune\x20výběr)'},'getPluralForm':_0x85fe58=>0x1==_0x85fe58?0x0:_0x85fe58>=0x2&&_0x85fe58<=0x4?0x1:0x2}};_0x25bb71['cs']||={'dictionary':{},'getPluralForm':null},_0x25bb71['cs']['dictionary']=Object['assign'](_0x25bb71['cs']['dictionary'],_0x2ef6b9),_0x25bb71['cs']['getPluralForm']=_0x4c9017;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'da':{'dictionary':{'Go\x20to\x20next\x20page':'Gå\x20til\x20næste\x20side','Go\x20to\x20previous\x20page':'Gå\x20til\x20forrige\x20side','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelt\x20sidetal\x20(fra\x201\x20til\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastetryk\x20til\x20at\x20navigere\x20gennem\x20dokumenter','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20forrige\x20side\x20(flyt\x20også\x20markering)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20næste\x20side\x20(flyt\x20også\x20markering)'},'getPluralForm':
|
|
23
|
+
export default{'da':{'dictionary':{'Go\x20to\x20next\x20page':'Gå\x20til\x20næste\x20side','Go\x20to\x20previous\x20page':'Gå\x20til\x20forrige\x20side','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelt\x20sidetal\x20(fra\x201\x20til\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastetryk\x20til\x20at\x20navigere\x20gennem\x20dokumenter','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20forrige\x20side\x20(flyt\x20også\x20markering)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20næste\x20side\x20(flyt\x20også\x20markering)'},'getPluralForm':_0x211352=>0x1!=_0x211352}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x7d3949=>{const {da:{dictionary:_0x1c6344,getPluralForm:_0x3d5ef7}}={'da':{'dictionary':{'Go\x20to\x20next\x20page':'Gå\x20til\x20næste\x20side','Go\x20to\x20previous\x20page':'Gå\x20til\x20forrige\x20side','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelt\x20sidetal\x20(fra\x201\x20til\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastetryk\x20til\x20at\x20navigere\x20gennem\x20dokumenter','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20forrige\x20side\x20(flyt\x20også\x20markering)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20næste\x20side\x20(flyt\x20også\x20markering)'},'getPluralForm':_0x46a950=>0x1!=_0x46a950}};_0x7d3949['da']||={'dictionary':{},'getPluralForm':null},_0x7d3949['da']['dictionary']=Object['assign'](_0x7d3949['da']['dictionary'],_0x1c6344),_0x7d3949['da']['getPluralForm']=_0x3d5ef7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de-ch':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'de-ch':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x44e0fe=>0x1!=_0x44e0fe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b92e8=>{const {'de-ch':{dictionary:_0x5de321,getPluralForm:_0x4c2a12}}={'de-ch':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x4f4fc5=>0x1!=_0x4f4fc5}};_0x5b92e8['de-ch']||={'dictionary':{},'getPluralForm':null},_0x5b92e8['de-ch']['dictionary']=Object['assign'](_0x5b92e8['de-ch']['dictionary'],_0x5de321),_0x5b92e8['de-ch']['getPluralForm']=_0x4c2a12;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de':{'dictionary':{'Go\x20to\x20next\x20page':'Zur\x20nächsten\x20Seite\x20gehen','Go\x20to\x20previous\x20page':'Zur\x20vorherigen\x20Seite\x20gehen','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelle\x20Seitenzahl\x20(von\x201\x20bis\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastenkombinationen\x20für\x20die\x20Navigation\x20durch\x20Dokumente','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Zur\x20vorherigen\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Zur\x20nächsten\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)'},'getPluralForm':
|
|
23
|
+
export default{'de':{'dictionary':{'Go\x20to\x20next\x20page':'Zur\x20nächsten\x20Seite\x20gehen','Go\x20to\x20previous\x20page':'Zur\x20vorherigen\x20Seite\x20gehen','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelle\x20Seitenzahl\x20(von\x201\x20bis\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastenkombinationen\x20für\x20die\x20Navigation\x20durch\x20Dokumente','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Zur\x20vorherigen\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Zur\x20nächsten\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)'},'getPluralForm':_0x4cd217=>0x1!=_0x4cd217}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4c08f0=>{const {de:{dictionary:_0x119203,getPluralForm:_0x4aaf45}}={'de':{'dictionary':{'Go\x20to\x20next\x20page':'Zur\x20nächsten\x20Seite\x20gehen','Go\x20to\x20previous\x20page':'Zur\x20vorherigen\x20Seite\x20gehen','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelle\x20Seitenzahl\x20(von\x201\x20bis\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastenkombinationen\x20für\x20die\x20Navigation\x20durch\x20Dokumente','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Zur\x20vorherigen\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Zur\x20nächsten\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)'},'getPluralForm':_0x346b81=>0x1!=_0x346b81}};_0x4c08f0['de']||={'dictionary':{},'getPluralForm':null},_0x4c08f0['de']['dictionary']=Object['assign'](_0x4c08f0['de']['dictionary'],_0x119203),_0x4c08f0['de']['getPluralForm']=_0x4aaf45;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'el':{'dictionary':{'Go\x20to\x20next\x20page':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα','Go\x20to\x20previous\x20page':'Επιστροφή\x20στην\x20προηγούμενη\x20σελίδα','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Αριθμός\x20τρέχουσας\x20σελίδας\x20(από\x201\x20έως\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Πληκτρολογήσεις\x20για\x20πλοήγηση\x20μεταξύ\x20των\x20εγγράφων','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20προηγούμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)'},'getPluralForm':
|
|
23
|
+
export default{'el':{'dictionary':{'Go\x20to\x20next\x20page':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα','Go\x20to\x20previous\x20page':'Επιστροφή\x20στην\x20προηγούμενη\x20σελίδα','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Αριθμός\x20τρέχουσας\x20σελίδας\x20(από\x201\x20έως\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Πληκτρολογήσεις\x20για\x20πλοήγηση\x20μεταξύ\x20των\x20εγγράφων','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20προηγούμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)'},'getPluralForm':_0x459f77=>0x1!=_0x459f77}};
|