@ckeditor/ckeditor5-pagination 48.3.0-alpha.2 → 48.3.0-alpha.3
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 _0x3046cf}from'@ckeditor/ckeditor5-core';import{ButtonView as _0xa1646b,InputNumberView as _0x905b4,View as _0x5b00b9}from'@ckeditor/ckeditor5-ui';import{Rect as _0x211dce,ResizeObserver as _0x297e0b,env as _0x1d855d,first as _0x374d1e,global as _0x1af194,keyCodes as _0x1c1d32,logWarning as _0x3e49b8,toUnit as _0x5107c4,uid as _0x5ad0ce}from'@ckeditor/ckeditor5-utils';import{debounce as _0x5bddb1}from'es-toolkit/compat';import{IconArrowDown as _0x4c3c05,IconArrowUp as _0x41da81}from'@ckeditor/ckeditor5-icons';var w=class extends _0x3046cf{['_recalculatePageBreaksDebounced']=_0x5bddb1(()=>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 _0x3e49b8('pagination-config-not-found',this['editor']['config']);const _0x5283f0=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5283f0),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x11cdb4,_0x10bf95,_0x4c5074)=>{_0x4c5074&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x4b5091){const _0x1a9b36='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x1a6bb7=0x78e10,_0x339fb7=window['Date']['now'](),_0x5b80ec=_0x4b5091['editor'],_0x475518=new window['Promise'](_0x53419f=>{_0x5b80ec['once']('ready',_0x53419f);}),_0x437e28={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x33d71f=_0x5b80ec['config']['get']('licenseKey');async function _0x454aeb(){let _0x116b7a,_0x421d3b=null,_0x2fd227=null;try{return'GPL'==_0x33d71f?'NotAllowed':(_0x116b7a=_0x46b840(),_0x116b7a?(_0x116b7a['usageEndpoint']&&(_0x2fd227=_0x29674f(_0x116b7a['usageEndpoint'],_0x116b7a['jti'])),await _0x220b5d()?_0x2c7a87()?_0x386995()?'Expired':_0x12e67e()?('evaluation'==_0x116b7a['licenseType']&&(_0x421d3b=_0x5c4d75('EvaluationLimit')),await _0x2e4fbd()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x386995(){const _0x4471b5=['evaluation','trial']['includes'](_0x116b7a['licenseType'])?_0x339fb7/0x3e8:0xe10*_0x1a6bb7;return _0x116b7a['exp']<_0x4471b5;}function _0x2c7a87(){const _0x562be8=_0x116b7a['features'];return!!_0x562be8&&(!!_0x562be8['includes']('*')||!!_0x562be8['includes']('PAG'));}function _0x12e67e(){const _0x207537=_0x116b7a['licensedHosts'];if(!_0x207537||0x0==_0x207537['length'])return!0x0;const {hostname:_0xe5341b}=new URL(window['location']['href']);if(_0x207537['includes'](_0xe5341b))return!0x0;const _0x321667=_0xe5341b['split']('.');return _0x207537['filter'](_0x3d3135=>_0x3d3135['includes']('*'))['map'](_0x46361c=>_0x46361c['split']('.'))['filter'](_0x11770b=>_0x11770b['length']<=_0x321667['length'])['map'](_0x497cf6=>Array(_0x321667['length']-_0x497cf6['length'])['fill']('*'===_0x497cf6[0x0]?'*':'')['concat'](_0x497cf6))['some'](_0x4f70b7=>_0x321667['every']((_0x251c10,_0x116c88)=>_0x4f70b7[_0x116c88]===_0x251c10||'*'===_0x4f70b7[_0x116c88]));}function _0x2e4fbd(){return _0x421d3b&&_0x2fd227?new window['Promise']((_0x48c288,_0x43551f)=>{_0x421d3b['then'](_0x48c288,_0x43551f),_0x2fd227['then'](_0x42a72b=>{'Valid'!=_0x42a72b&&_0x48c288(_0x42a72b);},_0x43551f);}):_0x421d3b||_0x2fd227||'Valid';}}function _0x29674f(_0x265ff7,_0x3b0822){return new window['Promise'](_0x2563a9=>{if(_0x434084())return _0x2563a9('Valid');_0x15cb30(),_0x5b80ec['decorate']('_sendUsageRequest');let _0x4d5363=!0x1;const _0xfe05e0=_0x5ad0ce();function _0x3cf61a(_0x116191){return!!_0x116191&&('object'==typeof _0x116191||'function'==typeof _0x116191)&&'function'==typeof _0x116191['then']&&'function'==typeof _0x116191['catch'];}function _0x3798ed(_0x317d59){_0x4d6b78(_0x317d59)['then'](_0x42832d=>_0x42832d&&'ok'==_0x42832d['status']?_0x944add(_0x293f28(_0xfe05e0+_0x3b0822))!=_0x42832d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x57670b=>(_0x5ac454(),_0x57670b),()=>{const _0x316f86=_0xa50b27();return null==_0x316f86?(_0x5ac454(),'Valid'):_0x339fb7-_0x316f86>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2563a9)['catch'](()=>{_0x2563a9('UsageLimit');});const _0x2e6f0d=0x36ee80;function _0x5ac454(){const _0x20f263='llct-'+_0x944add(_0x293f28(_0x265ff7)),_0x2f6b72=_0x510c0f(_0x944add(window['Math']['ceil'](_0x339fb7/_0x2e6f0d)));window['localStorage']['setItem'](_0x20f263,_0x2f6b72);}function _0xa50b27(){const _0x40a7ff='llct-'+_0x944add(_0x293f28(_0x265ff7)),_0x4313ca=window['localStorage']['getItem'](_0x40a7ff);return _0x4313ca?window['parseInt'](_0x510c0f(_0x4313ca),0x10)*_0x2e6f0d:null;}function _0x4d6b78(_0x39b72c){return new window['Promise']((_0x5d3de4,_0x4f83f4)=>{_0x39b72c['then'](_0x5d3de4,_0x4f83f4),window['setTimeout'](_0x4f83f4,0x1d4c0);});}}_0x5b80ec['on']('_sendUsageRequest',(_0x5462ae,_0x17cca5)=>{if(_0x17cca5[0x0]!=_0x265ff7)return _0x2563a9('UsageLimit');_0x17cca5[0x1]={..._0x17cca5[0x1],'requestId':_0xfe05e0};},{'priority':'high'}),_0x5b80ec['on']('_sendUsageRequest',_0x2d7d07=>{_0x3cf61a(_0x2d7d07['return'])&&(_0x4d5363=!0x0,_0x3798ed(_0x2d7d07['return']));},{'priority':'low'}),_0x475518['then'](()=>{_0x4d5363||_0x2563a9('UsageLimit');});});function _0x434084(){return'auto'==_0x5b80ec['editing']['view']['_overlayModeHint'];}function _0x15cb30(){_0x5b80ec['editing']['view']['_overlayModeHint']='auto';}}function _0x5c4d75(_0x4bcd33){const _0x1ca82a=[new window['Promise'](_0x14a2eb=>setTimeout(_0x14a2eb,0x93ecc)),_0x475518['then'](()=>new window['Promise'](_0x25db19=>{let _0x4eab60=0x0;_0x5b80ec['model']['on']('applyOperation',(_0x561b71,_0x51f869)=>{_0x51f869[0x0]['isDocumentOperation']&&_0x4eab60++,0x5e8==_0x4eab60&&(_0x25db19(),_0x561b71['off']());});}))];return window['Promise']['race'](_0x1ca82a)['then'](()=>_0x4bcd33);}async function _0x209ea0(){await _0x475518,_0x5b80ec['model']['change']=_0x3644d6,_0x5b80ec['model']['enqueueChange']=_0x3644d6,_0x5b80ec['enableReadOnlyMode']('model');}function _0x3f8fd1(_0x3e8091){const _0x4abdea=_0xe793e4();_0x5b80ec[_0x4abdea]='paginationLicenseKey'+_0x3e8091,'Valid'!=_0x3e8091&&_0x209ea0();}function _0xe793e4(){const _0x562610=window['String'](window['performance']['now']())['replace']('.','');let _0x4ecb2e='I';for(let _0x49c051=0x0;_0x49c051<_0x562610['length'];_0x49c051+=0x2){let _0x3b53a7=window['parseInt'](_0x562610['substring'](_0x49c051,_0x49c051+0x2));_0x3b53a7>=0x3e&&(_0x3b53a7-=0x3e),_0x4ecb2e+=_0x1a9b36[_0x3b53a7];}return _0x4ecb2e;}function _0x46b840(){const _0x1d48d=_0x33d71f['split']('.');if(0x3!=_0x1d48d['length'])return null;return _0x5cdde2(_0x1d48d[0x1]);function _0x5cdde2(_0x435c3a){const _0x136d74=_0x1293df(_0x435c3a);return _0x136d74&&_0xa2cbd9()?_0x136d74:null;function _0xa2cbd9(){const _0x38a503=_0x136d74['jti'],_0x112141=window['parseInt'](_0x38a503['substring'](_0x38a503['length']-0x8),0x10),_0x31eaa9={..._0x136d74,'jti':_0x38a503['substring'](0x0,_0x38a503['length']-0x8)};return delete _0x31eaa9['vc'],_0x293f28(_0x31eaa9)==_0x112141;}}}async function _0x220b5d(){let _0x40fd04=!0x0;try{const [_0x319551,_0x2a3a4f,_0x47710c]=_0x33d71f['split']('.');return _0x5d4992(_0x319551),await _0x4e6818(_0x319551,_0x2a3a4f,_0x47710c),_0x40fd04;}catch{return!0x1;}function _0x5d4992(_0x265bf5){const _0x1204da=_0x1293df(_0x265bf5);_0x1204da&&'ES256'==_0x1204da['alg']||(_0x40fd04=!0x1);}async function _0x4e6818(_0x5d536a,_0x313a69,_0xd9fa95){const _0x237b5a=window['Uint8Array']['from'](_0x215ab5(_0xd9fa95),_0x16ae07=>_0x16ae07['charCodeAt'](0x0)),_0x4ca44c=new window['TextEncoder']()['encode'](_0x5d536a+'.'+_0x313a69),_0x4f7e11=window['crypto']['subtle'];if(!_0x4f7e11)return;const _0x4a1efc=await _0x4f7e11['importKey']('jwk',_0x437e28,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4f7e11['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4a1efc,_0x237b5a,_0x4ca44c)||(_0x40fd04=!0x1);}}function _0x1293df(_0x23c4a7){return _0x23c4a7['startsWith']('ey')?JSON['parse'](_0x215ab5(_0x23c4a7)):null;}function _0x215ab5(_0x69a559){return window['atob'](_0x69a559['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x293f28(_0x1506e7){let _0x5cffbb=0x1505;function _0xe3b7c6(_0x3e09e5){for(let _0x2137b6=0x0;_0x2137b6<_0x3e09e5['length'];_0x2137b6++){const _0x4bb536=_0x3e09e5['charCodeAt'](_0x2137b6);_0x5cffbb=(_0x5cffbb<<0x5)+_0x5cffbb+_0x4bb536,_0x5cffbb&=_0x5cffbb;}}function _0x5587d0(_0x28075d){Array['isArray'](_0x28075d)?_0x28075d['forEach'](_0x5587d0):_0x28075d&&'object'==typeof _0x28075d?Object['entries'](_0x28075d)['sort']()['forEach'](([_0x362232,_0x58dd3b])=>{_0xe3b7c6(_0x362232),_0x5587d0(_0x58dd3b);}):_0xe3b7c6(window['String'](_0x28075d));}return _0x5587d0(_0x1506e7),_0x5cffbb>>>0x0;}function _0x944add(_0x216c55){return _0x216c55['toString'](0x10)['padStart'](0x8,'0');}function _0x510c0f(_0x200e01){return _0x200e01['split']('')['reverse']()['join']('');}function _0x3644d6(){}_0x3f8fd1(await _0x454aeb());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x599d77=this['editor'],_0x441f8d=_0x599d77['editing']['view'],_0x3caa3a=this['_getAttachedDomRoot']();if(!_0x3caa3a||!_0x3caa3a['hasChildNodes']())return void _0x599d77['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x27671b,pageHeight:_0x44b7ee}=_0x599d77['config']['get']('pagination'),{top:_0x1b5799,left:_0x547e1c,bottom:_0x5d1b0e,right:_0x18791e}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5b00b9(_0x599d77['locale']);const _0x4c00f9=this['_pagesContainer'];_0x4c00f9['set']('class',''),_0x4c00f9['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x27671b,'width':_0x27671b,'height':'calc(\x20'+_0x44b7ee+'\x20-\x20'+_0x1b5799+'\x20-\x20'+_0x5d1b0e+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x18791e+'\x200\x20'+_0x547e1c,'columnGap':'calc('+_0x547e1c+'\x20+\x20'+_0x18791e+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x4c00f9['bindTemplate']['to']('class')}}),_0x4c00f9['render'](),_0x3caa3a['parentNode']['insertBefore'](_0x4c00f9['element'],_0x3caa3a['nextSibling']),this['listenTo'](_0x441f8d,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0xa8872c of this['editor']['editing']['view']['domRoots']['values']())if(_0xa8872c['ownerDocument']['body']['contains'](_0xa8872c))return _0xa8872c;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x57d00d=this['editor']['editing']['view'],_0x576af8=this['_pagesContainer'],_0x154548=this['_getAttachedDomRoot']();if(!_0x154548||!_0x576af8)return Promise['resolve']();for(_0x576af8['class']=['ck-reset','ck-pagination-view',..._0x154548['classList']]['join']('\x20');_0x576af8['element']['firstChild'];)_0x576af8['element']['firstChild']['remove']();const _0x2a938f=Array['from'](_0x57d00d['domRoots']);_0x2a938f['sort'](([,_0x12435d],[,_0x36c42e])=>_0x12435d['compareDocumentPosition'](_0x36c42e)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x212c06,_0xe91dd0]of _0x2a938f){const _0x3646e=_0xe91dd0['cloneNode'](!0x0);'attributeStyleMap'in _0x3646e&&_0x3646e['attributeStyleMap']['clear'](),_0x3646e['dataset']['rootName']=_0x212c06,_0x3646e['className']='ck-content\x20ck-pagination_enabled',_0x3646e['removeAttribute']('id'),_0x3646e['tabIndex']=-0x1,_0x576af8['element']['append'](_0x3646e);}const _0x5caafc=Array['from'](_0x576af8['element']['querySelectorAll']('img'));return function(_0x56cf83){return Promise['all'](_0x56cf83['map'](_0x2611af=>Promise['race']([k(_0x2611af),v(0x3e8)])));}(_0x5caafc)['then'](()=>{for(const _0x2a0060 of _0x5caafc['filter'](_0x4cc5ec=>!_0x4cc5ec['closest']('table')))if(_0x2a0060['offsetParent']){const _0x4c6c73=_0x1af194['window']['getComputedStyle'](_0x2a0060),_0x5055c9=_0x1af194['document']['createElement']('span');for(const _0xb1ea1d of _0x4c6c73)_0x5055c9['style']['setProperty'](_0xb1ea1d,_0x4c6c73[_0xb1ea1d]);_0x5055c9['style']['backgroundImage']='url(\x20'+_0x2a0060['src']+'\x20)',_0x5055c9['style']['breakInside']='avoid','PICTURE'==_0x2a0060['parentElement']?.['tagName']?_0x2a0060['parentElement']['replaceWith'](_0x5055c9):_0x2a0060['replaceWith'](_0x5055c9);}return new Promise(_0x3167ed=>_0x1af194['window']['requestAnimationFrame'](()=>_0x3167ed()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x52f593=this['_pagesContainer']['element'];if(!_0x52f593['ownerDocument']['body']['contains'](_0x52f593))return;const _0x4d2391=new _0x211dce(_0x52f593)['excludeScrollbarsAndBorders'](),_0x86383a=Math['floor'](_0x4d2391['width']+0x64),_0x22226a=_(_0x52f593,Math['floor'](_0x4d2391['left']-_0x52f593['scrollLeft']),_0x86383a,_0x4d2391['height'])['map'](_0x144b56=>this['_mapPageStarterInfoToPageBreakInfo'](_0x144b56))['filter'](_0x5f1d18=>!0x1!==_0x5f1d18);_0x22226a['every'](_0x441a7b=>!!_0x441a7b)&&(this['pageBreaks']=_0x22226a);}['_mapPageStarterInfoToPageBreakInfo'](_0x4d0f0d){const _0x413bd0=this['editor']['editing']['view'],_0x2737f1=this['editor']['editing']['mapper'],_0x4292ab=_0x413bd0['domConverter'],_0x2855de=_0x4d0f0d['path']['shift'](),_0x16a86b=this['_pagesContainer']['element']['childNodes'][_0x2855de]['dataset']['rootName'],_0x445ae3=_0x413bd0['getDomRoot'](_0x16a86b);if(!_0x445ae3)return null;const _0x4fbd3a=function(_0x2f14db,_0x48eb32){let _0x493915=_0x2f14db;for(const _0x3b6198 of _0x48eb32['path']){if(!_0x493915)return null;_0x493915=_0x493915['childNodes'][_0x3b6198];}return _0x493915;}(_0x445ae3,_0x4d0f0d);if(!_0x4fbd3a)return null;const _0x35c327=_0x4292ab['domPositionToView'](_0x4fbd3a,_0x4d0f0d['textOffset']||0x0);return _0x35c327?'manual'==_0x4d0f0d['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x35c327,_0x4fbd3a):'text'==_0x4d0f0d['type']&&_0x2737f1['toModelPosition'](_0x35c327)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x35c327,_0x4fbd3a,_0x4d0f0d['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x35c327,_0x4fbd3a,_0x4d0f0d['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x142cf4,_0x59f5dc){const _0x4e4ac3=this['editor']['model'],_0x2bb6f1=this['editor']['editing']['mapper']['toModelElement'](_0x142cf4['parent']);return new P({'type':'manual','modelRange':_0x4e4ac3['createRangeOn'](_0x2bb6f1),'domNode':_0x59f5dc,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x4b337e,_0x26b459,_0x11b6bf){const _0x4c8533=this['editor']['model'],_0x5eaee9=this['editor']['editing']['mapper'],_0xb3b39d=this['editor']['editing']['view']['domConverter'];if(_0x11b6bf>=_0x26b459['length'])return null;const _0x1cb1c1=_0x5eaee9['toModelPosition'](_0x4b337e),_0x2bde29=_0x4c8533['createRange'](_0x1cb1c1),_0x1eb221=_0x5eaee9['findMappedViewAncestor'](_0x4b337e);return new P({'type':'text','modelRange':_0x2bde29,'domNode':_0x26b459,'offset':y(_0x26b459,_0x11b6bf,_0xb3b39d['mapViewToDom'](_0x1eb221))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x18adbf,_0x242409,_0x2b586c){const _0x50e5a1=this['editor']['model'],_0x576576=this['editor']['editing'],_0x3bc8cb=_0x576576['mapper'],_0xd7e535=_0x576576['view']['domConverter'],_0x1a9b19=_0x3bc8cb['findMappedViewAncestor'](_0x18adbf),_0x1b7dad=_0x3bc8cb['toModelElement'](_0x1a9b19);if(!_0x1b7dad||_0x1b7dad['is']('rootElement'))return!0x1;const _0x29cf78=function(_0x556872){const _0x4f46bd=_0x556872['parent'],_0x423057=_0x4f46bd['root']['document']['model'],_0xb944ef=_0x4f46bd['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x40b218=null;for(const _0x4ed00d of _0xb944ef){if(_0x4ed00d['is']('rootElement'))return _0x40b218;if(!_0x423057['createPositionBefore'](_0x4ed00d)['isTouching'](_0x556872))return _0x40b218;_0x40b218=_0x4ed00d;}}(_0x50e5a1['createPositionBefore'](_0x1b7dad))||_0x1b7dad;let _0x1c2847=_0x3bc8cb['toViewElement'](_0x29cf78),_0x2af7bd=_0x50e5a1['createRangeOn'](_0x29cf78);const _0x4325bd=_0x50e5a1['createPositionBefore'](_0x29cf78)['nodeBefore'];if(_0x4325bd&&_0x4325bd['is']('element','imageBlock')){const _0x4f9292=_0x3bc8cb['toViewElement'](_0x4325bd),_0x4f8774=_0xd7e535['mapViewToDom'](_0x4f9292),_0x28fcec=_0x1af194['window']['getComputedStyle'](_0x4f8774)['float'];'left'!=_0x28fcec&&'right'!=_0x28fcec||(_0x2af7bd=_0x50e5a1['createRangeOn'](_0x4325bd));}for(;_0x1c2847['parent']!==_0x1c2847['root']&&0x0===_0x1c2847['index'];)_0x1c2847=_0x1c2847['parent'];const _0x4e86f4=new _0x211dce(K(_0x242409)?_0x242409:L(_0x242409)),_0x572d9f=_0x2b586c?_0x4e86f4['height']-_0x2b586c:0x0,_0x3fe6f1=_0xd7e535['mapViewToDom'](_0x1c2847),_0x520347=new _0x211dce(_0x3fe6f1);return new P({'type':'element','modelRange':_0x2af7bd,'domNode':_0x3fe6f1,'offset':Math['round'](_0x572d9f)||_0x1a9b19!=b(_0x18adbf)?_0x572d9f+_0x4e86f4['top']-_0x520347['top']:0x0});}get['_configuredPaddings'](){const _0x1a70d2=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1a70d2);}static['_findPageStarterInfos'](_0x448582,_0xf59987,_0x2e75be,_0x4bf240,_0x68c847){return _(_0x448582,_0xf59987,_0x2e75be,_0x4bf240,_0x68c847);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x112319,modelRange:_0x5d79ac,domNode:_0x17e6ce,offset:_0xabcb6a}){this['type']=_0x112319,this['modelRange']=_0x5d79ac,this['_domNode']=_0x17e6ce,this['_offset']=_0xabcb6a;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x544e02=new _0x211dce(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x544e02['top']+_0x544e02['height']/0x2:_0x544e02['top']+this['_offset'];}};function y(_0x3e13b2,_0x167642,_0x5ba41e){const _0x3d93f7=L(_0x3e13b2),_0x42637b=function(_0x32ecb1){const _0x48b9dd=_0x1af194['document']['createRange']();return _0x48b9dd['selectNodeContents'](_0x32ecb1),_0x48b9dd;}(_0x5ba41e);let _0x5b8075;_0x5b8075=0x0==_0x167642?N(_0x42637b['startContainer'],_0x42637b['startOffset'],_0x3e13b2['parentNode'],Array['from'](_0x3e13b2['parentNode']['childNodes'])['indexOf'](_0x3e13b2)):N(_0x42637b['startContainer'],_0x42637b['startOffset'],_0x3e13b2,_0x167642);const _0x572dc0=N(_0x3e13b2,_0x167642,_0x42637b['endContainer'],_0x42637b['endOffset']),_0x242a29=new _0x211dce(_0x5b8075)['bottom'];return(new _0x211dce(_0x572dc0)['top']+_0x242a29)/0x2-new _0x211dce(_0x3d93f7)['top'];}function b(_0x2dc5a5){let _0x20f097=_0x2dc5a5['parent'];for(;_0x20f097['is']('$text')||_0x20f097['is']('attributeElement');)_0x20f097=_0x20f097['parent'];return _0x20f097;}function k(_0x492717){return _0x492717['hasAttribute']('width')&&_0x492717['hasAttribute']('height')?Promise['resolve']():new Promise(_0x33d406=>{function _0x2c9472(){_0x492717['removeEventListener']('load',_0x2c9472),_0x492717['removeEventListener']('error',_0x2c9472),_0x33d406();}_0x492717['complete']?_0x33d406():(_0x492717['addEventListener']('load',_0x2c9472),_0x492717['addEventListener']('error',_0x2c9472));});}function v(_0xf10b65){return new Promise(_0x12283b=>setTimeout(_0x12283b,_0xf10b65));}function L(_0x54e9d1){const _0x301c63=_0x1af194['document']['createRange']();return _0x301c63['selectNode'](_0x54e9d1),_0x301c63;}function x(_0x5e5e38,_0x294c50,_0x16c5a7){const _0x296750=_0x1af194['document']['createRange']();return _0x296750['setStart'](_0x5e5e38,_0x294c50),_0x296750['setEnd'](_0x5e5e38,_0x16c5a7),_0x296750;}function N(_0x11fd4d,_0x222fe9,_0x3f7e06,_0x2e26ce){const _0x4bb6f4=_0x1af194['document']['createRange']();return _0x4bb6f4['setStart'](_0x11fd4d,_0x222fe9),_0x4bb6f4['setEnd'](_0x3f7e06,_0x2e26ce),_0x4bb6f4;}function _(_0x255ceb,_0x1b0fe1,_0x43f0ab,_0x3da2bf,_0xb09fea){const _0x5af952=[];for(const [_0x5dd772,_0x137613]of _0x255ceb['childNodes']['entries']()){let _0x2cb215=[];K(_0x137613)&&_0x137613['offsetParent']&&['static','relative']['includes'](_0x1af194['window']['getComputedStyle'](_0x137613)['position'])?_0x2cb215=E(_0x137613,_0x5dd772,_0x1b0fe1,_0x43f0ab,_0x3da2bf,_0xb09fea):O(_0x137613)&&(_0x2cb215=S(_0x137613,_0x5dd772,_0x1b0fe1,_0x43f0ab,_0xb09fea)),_0x2cb215['length']&&(_0x5af952['push'](..._0x2cb215),_0x1b0fe1+=_0x2cb215['length']*_0x43f0ab,_0xb09fea=!0x1);}return _0x5af952;}function E(_0x18ac42,_0x4c3538,_0x168ca2,_0xa3fdd6,_0x59fd64,_0x2353b){const _0x27e7f1=[];var _0x5953fe;if((_0x5953fe=_0x18ac42['previousSibling'])&&K(_0x5953fe)&&Boolean(_0x5953fe['classList']['contains']('page-break')||_0x5953fe['closest']('.page-break'))&&(_0x27e7f1['push']({'type':'manual','offset':0x0,'path':[_0x4c3538-0x1]}),_0x2353b=!0x0),'table-row'==_0x1af194['window']['getComputedStyle'](_0x18ac42)['display']){let _0x5f4b06=0x0,_0x398a6e=!0x1;for(const _0x3dd5ed of _0x18ac42['getClientRects']())_0x5f4b06+=_0x3dd5ed['height'],_0x3dd5ed['left']>=_0x168ca2&&(_0x398a6e=!0x0);if(_0x5f4b06<_0x59fd64&&_0x398a6e)return _0x2353b||_0x27e7f1['push']({'type':'element','offset':0x0,'path':[_0x4c3538]}),_0x27e7f1;}const _0x548ff1=_0x18ac42['closest']('figure.image');if(_0x548ff1&&function(_0x5ee1db){let _0x2b3663=!0x1;const _0x56676c=_0x5ee1db['parentElement']['dataset']['rootName'],_0x4d1c01=_0x5ee1db['nextElementSibling'],_0xb597b7=_0x5ee1db['previousElementSibling'],_0x4df0d0=_0x4d1c01&&_0x1af194['window']['getComputedStyle'](_0x4d1c01)['float'],_0x22eed0=_0x4d1c01&&'ck-fake-selection-container'===_0x4d1c01['className'];return!_0x56676c||_0x4d1c01||_0xb597b7||(_0x2b3663=!0x0),_0x56676c&&!_0xb597b7&&_0x22eed0&&(_0x2b3663=!0x0),_0x56676c&&!_0xb597b7&&'none'!==_0x4df0d0&&(_0x2b3663=!0x0),!_0x2b3663;}(_0x548ff1)){const _0x5260ff=_0x1af194['window']['getComputedStyle'](_0x548ff1)['float'];if('left'==_0x5260ff||'right'==_0x5260ff)return _0x27e7f1;}const _0x4e4c83=_(_0x18ac42,_0x168ca2,_0xa3fdd6,_0x59fd64,_0x2353b);if(_0x4e4c83['length']){for(const _0x59561b of _0x4e4c83)_0x27e7f1['push']({'type':_0x59561b['type'],'offset':_0x59561b['offset'],'textOffset':_0x59561b['textOffset'],'path':[_0x4c3538,..._0x59561b['path']]}),_0x168ca2+=_0xa3fdd6,_0x2353b=!0x1;return _0x27e7f1;}return _0x27e7f1['push'](...function(_0x3c17a6,_0x209c87,_0x467834,_0x5b1fd4,_0x47b78a){const _0x39c0c6=[];if('table-cell'==_0x1af194['window']['getComputedStyle'](_0x3c17a6)['display'])return[];const _0x347a65=[];for(const _0xc9479e of _0x3c17a6['getClientRects']())if(_0xc9479e['left']>=_0x467834){for(const _0x487e60 of _0x347a65)_0x487e60['height']+=_0xc9479e['height'];_0x347a65['push']({'height':_0xc9479e['height']}),_0x467834+=_0x5b1fd4;}for(const _0x4101d4 of _0x347a65)_0x47b78a||_0x39c0c6['push']({'type':'element','offset':_0x4101d4['height'],'textOffset':0x0,'path':[_0x209c87]}),_0x47b78a=!0x1;return _0x39c0c6;}(_0x18ac42,_0x4c3538,_0x168ca2,_0xa3fdd6,_0x2353b)),_0x27e7f1;}function S(_0x5d80a7,_0x6ded78,_0x4b3dcd,_0x138f0d,_0x240434){const _0x22dff0=L(_0x5d80a7),_0x59af30=[];let _0x52ce05=0x0;for(const _0x474c75 of _0x22dff0['getClientRects']())if(_0x474c75['left']>=_0x4b3dcd){const _0x55c32e=R(_0x5d80a7,_0x52ce05,_0x4b3dcd,_0x138f0d);_0x240434||_0x59af30['push']({'type':'text','path':[_0x6ded78],'textOffset':_0x55c32e}),_0x52ce05=_0x55c32e,_0x4b3dcd+=_0x138f0d,_0x240434=!0x1;}return _0x59af30;}function R(_0x575b83,_0x588be9,_0x31e449,_0x1b29dc){let _0x41a02b=_0x588be9,_0x43be45=_0x575b83['length'];for(;_0x43be45-_0x41a02b>0x1;){const _0x6dcce8=Math['ceil']((_0x41a02b+_0x43be45)/0x2);I(x(_0x575b83,_0x41a02b,_0x6dcce8),_0x31e449,_0x1b29dc)?_0x43be45=_0x6dcce8:_0x41a02b=_0x6dcce8;}return _0x41a02b;}function I(_0xc5e9ef,_0x3f8b2b,_0x3acd8a){for(const _0x5e959d of _0xc5e9ef['getClientRects']())if(_0x5e959d['left']>=_0x3f8b2b&&_0x5e959d['left']<_0x3f8b2b+_0x3acd8a)return!0x0;return!0x1;}function K(_0x3a2b2b){return _0x3a2b2b['nodeType']==Node['ELEMENT_NODE'];}function O(_0xbc1e11){return _0xbc1e11['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x5107c4('px');var U=class extends _0x5b00b9{constructor(){super();const _0x532fc1=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x532fc1['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x532fc1['if']('isVisible','ck-hidden',_0x2be07b=>!_0x2be07b)],'style':{'left':_0x532fc1['to']('left',_0x4f8703=>A(_0x4f8703)),'top':_0x532fc1['to']('top',_0x17562e=>A(_0x17562e)),'width':_0x532fc1['to']('width',_0x47a093=>A(_0x47a093))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x303490){this['_viewCollection']=_0x303490['ui']['view']['body'];}['destroy'](){for(const _0x4676c2 of this['_hiddenLines'])_0x4676c2['destroy']();}['cleanLines'](){for(const _0x43c4c1 of this['_visibleLines'])_0x43c4c1['isVisible']=!0x1,this['_hiddenLines']['add'](_0x43c4c1);this['_visibleLines']['clear']();}['showLine'](_0x2802df,_0x19b25a,_0x542048,_0xaede1c){let _0x592e18;this['_hiddenLines']['size']?(_0x592e18=_0x374d1e(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x592e18)):_0x592e18=new U(),_0x592e18['set']({'pageNumber':_0xaede1c,'left':_0x2802df,'top':_0x19b25a,'width':_0x542048}),_0x592e18['isVisible']=!0x0,this['_viewCollection']['has'](_0x592e18)||this['_viewCollection']['add'](_0x592e18),this['_visibleLines']['add'](_0x592e18);}['setViewCollection'](_0x4955b4){for(const _0x5dc137 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x5dc137)&&this['_viewCollection']['remove'](_0x5dc137);this['_viewCollection']=_0x4955b4;}};const D='ck-pagination_enabled';var B=class extends _0x3046cf{['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',(_0x5d4e15,_0x4f1f64,_0x28afe4)=>{_0x28afe4||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x28afe4);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xf8c17b){if(!this['isEnabled'])return;const _0x594948=_0xf8c17b>0x1?this['_getPageBreakLineOffset'](_0xf8c17b-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x594948-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x1d855d['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5b9335=this['editor'],_0x162d09=this['_getAttachedDomRoot']();_0x162d09?(this['_scrollableEditingRootDomAncestor']&&_0x5b9335['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x516b09){let _0x1d92be=_0x516b09;do{_0x1d92be=_0x1d92be['parentElement'];const _0x295bf9=_0x1af194['window']['getComputedStyle'](_0x1d92be)['overflowY'];if('auto'==_0x295bf9||'scroll'==_0x295bf9)break;}while('BODY'!=_0x1d92be['tagName']);return _0x1d92be;}(_0x162d09),_0x5b9335['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x297e0b(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5b9335['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x5c260d=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x5c260d['ui']['view']['listenTo'](_0x1af194['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x5c260d['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x18967f of this['editor']['editing']['view']['domRoots']['values']())if(_0x18967f['ownerDocument']['body']['contains'](_0x18967f))return _0x18967f;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0xfdf825=this['_getAttachedDomRoot'](),_0xe267d=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0xfdf825||0x1==_0xe267d['length'])return void(this['pageNumber']=0x1);const _0x10bc3b=new _0x211dce(_0xfdf825)['excludeScrollbarsAndBorders'](),_0x164d7f=new _0x211dce(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x2b9183=_0x164d7f['top']+_0x164d7f['height']/0x3;let _0x27163b=!0x1;const _0x4aab9e=[];for(let _0xd09ca9=0x1;_0xd09ca9<_0xe267d['length'];_0xd09ca9++){const _0x30ac15=this['_getPageBreakLineOffset'](_0xd09ca9,_0x164d7f);if(!_0x30ac15)continue;const _0x35702d=_0x164d7f['top']+_0x30ac15-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x4aab9e['push']({'pageOffsetTop':_0x35702d,'domRootRect':_0x10bc3b,'domScrollableRect':_0x164d7f,'pageNumber':_0xd09ca9}),_0x35702d>_0x2b9183&&!_0x27163b&&(this['pageNumber']=_0xd09ca9,_0x27163b=!0x0);}this['_renderPageBreakLines'](_0x4aab9e),_0x27163b||(this['pageNumber']=_0xe267d['length']);}['_renderPageBreakLines'](_0x17737a){const {scrollX:_0x49c7b6,scrollY:_0x193216}=_0x1af194['window'];if(_0x17737a['length']){for(const {domScrollableRect:_0x4aa8e8,pageOffsetTop:_0x35ad5e,domRootRect:_0x399a15,pageNumber:_0x4e720d}of _0x17737a)_0x4aa8e8['top']<_0x35ad5e&&_0x35ad5e<_0x4aa8e8['bottom']&&this['linesRepository']['showLine'](_0x399a15['left']+_0x49c7b6,_0x35ad5e+_0x193216,_0x399a15['width'],_0x4e720d+0x1);}}['_getPageBreakLineOffset'](_0x1412ff,_0x1a8331=null){const _0x4fdd7c=this['_paginationLookupPlugin']['pageBreaks'][_0x1412ff]['offset'];return _0x4fdd7c?(_0x1a8331||(_0x1a8331=new _0x211dce(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x4fdd7c-_0x1a8331['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4d1b8b,_0x5614d4=!0x0){const _0x5d338d=this['editor']['editing']['view'];_0x5d338d['change'](_0x101bd2=>{for(const _0x54d3d6 of _0x5d338d['document']['roots'])_0x5614d4?_0x101bd2['addClass'](_0x4d1b8b,_0x54d3d6):_0x101bd2['removeClass'](_0x4d1b8b,_0x54d3d6);});}};function T(_0x5f51b1,_0x3a66f7,..._0x45cb3e){const t=_0x5f51b1['t'];switch(_0x3a66f7){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)',..._0x45cb3e);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 _0x3a66f7;}}var G=class extends _0x3046cf{['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 _0x1405eb=this['editor']['plugins']['get']('Pagination'),_0x46a227=this['editor']['plugins']['get'](w),_0x121f61=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x1405eb),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x121f61),this['listenTo'](_0x46a227,'change:pageBreaks',(_0x5ca9d5,_0x20ae70,_0x3da017,_0x11d1c8)=>{this['totalPages']=_0x3da017['length'],this['_updatePageBreakMarkers'](_0x3da017,_0x11d1c8);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xdcd4ff=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c41f5;for(const _0x408e3d in _0xdcd4ff){const _0x2cd381=_0x408e3d,_0x5645d3=_0xdcd4ff[_0x2cd381];if('paginationLicenseKeyValid'==_0x5645d3||'paginationLicenseKeyInvalid'==_0x5645d3||'paginationLicenseKeyExpired'==_0x5645d3||'paginationLicenseKeyDomainLimit'==_0x5645d3||'paginationLicenseKeyNotAllowed'==_0x5645d3||'paginationLicenseKeyEvaluationLimit'==_0x5645d3||'paginationLicenseKeyUsageLimit'==_0x5645d3){delete _0xdcd4ff[_0x2cd381],_0x4c41f5=_0x5645d3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x407587){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x407587));}['moveSelectionToPage'](_0x59e5e4){if(!this['isEnabled'])return;const _0x313b11=this['editor'],_0x43a664=this['editor']['plugins']['get'](w)['pageBreaks'][_0x59e5e4-0x1];_0x43a664&&_0x313b11['model']['change'](_0x55a701=>{switch(_0x43a664['type']){case'manual':{const _0x251fa1=_0x313b11['model']['schema']['getNearestSelectionRange'](_0x43a664['modelRange']['end'],'forward');_0x55a701['setSelection'](_0x251fa1);break;}case'element':{const _0x2a8596=_0x313b11['model']['schema']['getNearestSelectionRange'](_0x43a664['modelRange']['start'],'forward');_0x55a701['setSelection'](_0x2a8596);break;}case'text':{const _0x39ba9d=_0x43a664['modelRange']['start'];if(_0x39ba9d['textNode']&&'\x20'===_0x39ba9d['textNode']['data'][_0x39ba9d['offset']]){const _0x1f259c=_0x55a701['createPositionAt'](_0x39ba9d['parent'],_0x39ba9d['offset']+0x1);_0x55a701['setSelection'](_0x1f259c);}else _0x55a701['setSelection'](_0x43a664['modelRange']);}}_0x313b11['editing']['view']['focus']();});}['goToNextPage'](){const _0x2a62b0=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2a62b0),this['scrollToPage'](_0x2a62b0);}['goToPreviousPage'](){const _0x128ba8=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x128ba8),this['scrollToPage'](_0x128ba8);}['_updatePageBreakMarkers'](_0x1317db,_0x3407d4){const _0x2670c3=this['editor']['model'];this['isEnabled']&&_0x2670c3['change'](_0x4b63f3=>{for(let _0xfc5a58=0x1;_0xfc5a58<_0x1317db['length'];_0xfc5a58++){const _0x905d62=_0x1317db[_0xfc5a58]['modelRange'],_0x439f86='pagination:'+(_0xfc5a58+0x1);_0x2670c3['markers']['has'](_0x439f86)?_0x4b63f3['updateMarker'](_0x439f86,{'range':_0x905d62}):_0x4b63f3['addMarker'](_0x439f86,{'range':_0x905d62,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3c81eb=_0x1317db['length'];_0x3c81eb<_0x3407d4['length'];_0x3c81eb++){const _0x454fe5='pagination:'+(_0x3c81eb+0x1);_0x2670c3['markers']['has'](_0x454fe5)&&_0x4b63f3['removeMarker'](_0x454fe5);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x57a48c=>{_0x57a48c['on']('addMarker:pagination',(_0x4f2786,{markerRange:_0x270273,markerName:_0x10ff69},_0x4a2c64)=>{if(!_0x4a2c64['options']['pagination'])return;if(!_0x4a2c64['consumable']['consume'](_0x270273,_0x4f2786['name']))return;const _0x4899b5=_0x270273['getContainedElement']();let _0x1dbd13=_0x4899b5?_0x4a2c64['mapper']['toViewElement'](_0x4899b5):null;if(!_0x1dbd13){const _0x58e9f3=_0x270273['start'];if(_0x4a2c64['schema']['checkChild'](_0x58e9f3,'$text')){const _0x379f11=_0x4a2c64['mapper']['toViewPosition'](_0x58e9f3);_0x1dbd13=_0x4a2c64['writer']['createContainerElement']('span'),_0x1dbd13['getFillerOffset']=()=>null,_0x4a2c64['writer']['insert'](_0x379f11,_0x1dbd13);}else{const _0xbe8128=_0x58e9f3['nodeAfter'];_0x1dbd13=_0x4a2c64['mapper']['toViewElement'](_0xbe8128);}}for(;_0x1dbd13['parent']!==_0x1dbd13['root']&&0x0===_0x1dbd13['index'];)_0x1dbd13=_0x1dbd13['parent'];const _0x1ac672=_0x10ff69['substring'](0xb);_0x1dbd13['hasClass']('page-break')||(_0x4a2c64['writer']['setStyle']('page-break-before','always',_0x1dbd13),_0x4a2c64['writer']['setAttribute']('data-pagination-page',_0x1ac672,_0x1dbd13),_0x4a2c64['mapper']['bindElementToMarker'](_0x1dbd13,_0x10ff69)),_0x4f2786['stop']();});});}['_setupKeystrokes'](){const _0x3c0ff6=this['editor'];_0x3c0ff6['keystrokes']['set']('Shift+Pageup',(_0x4c6582,_0x4ea95c)=>{this['goToPreviousPage'](),_0x4ea95c();}),_0x3c0ff6['keystrokes']['set']('Shift+Pagedown',(_0x1d7abd,_0x513237)=>{this['goToNextPage'](),_0x513237();}),_0x3c0ff6['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x3c0ff6['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x3c0ff6['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x3c0ff6['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x31dac6){return _0x31dac6<0x1&&(_0x31dac6=0x1),_0x31dac6>this['totalPages']&&(_0x31dac6=this['totalPages']),_0x31dac6;}},V=class extends _0x5b00b9{['pageNumberView'];constructor(_0x921b8e){super(_0x921b8e);const _0x5c8b3b=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x905b4(_0x921b8e,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3aad65=>T(_0x921b8e,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3aad65)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x5d2003=>!_0x5d2003),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5c8b3b['if']('isEnabled','ck-disabled',_0x5d1019=>!_0x5d1019)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5c8b3b['to']('totalPages')}]}]});}['render'](){super['render']();const _0xaa8792=this['pageNumberView']['element'],_0x5920f0=_0x4e0741=>{this['pageNumberView']['element']['value']=String(_0x4e0741);};_0x5920f0(this['pageNumber']),this['on']('change:pageNumber',(_0x51b5ab,_0x1d7782,_0xeb6669)=>{_0x5920f0(_0xeb6669);}),this['listenTo'](_0xaa8792,'keydown',(_0x26fbec,_0xad558b)=>{if('ArrowUp'===_0xad558b['key']||'ArrowDown'===_0xad558b['key'])return void _0xad558b['stopPropagation']();if(_0xad558b['keyCode']!==_0x1c1d32['enter'])return;_0xad558b['preventDefault']();const _0xab8816=_0xaa8792['valueAsNumber'];Number['isNaN'](_0xab8816)?_0xaa8792['value']=String(this['pageNumber']):(_0xaa8792['checkValidity']()?this['pageNumber']=_0xab8816:_0xab8816>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xaa8792['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xaa8792['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xaa8792,'blur',()=>{_0xaa8792['value']=String(this['pageNumber']);}),this['listenTo'](_0xaa8792,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x3046cf{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x596f2e=this['editor'],_0x49928f=_0x596f2e['plugins']['get']('PaginationEditing');_0x596f2e['ui']['componentFactory']['add']('pageNavigation',_0x6e31e1=>{const _0x36ff7b=new V(_0x6e31e1);return _0x36ff7b['bind']('pageNumber')['to'](_0x49928f),_0x36ff7b['bind']('totalPages')['to'](_0x49928f),_0x36ff7b['bind']('isEnabled')['to'](_0x49928f),_0x36ff7b['on']('navigation',(_0x4c5afe,_0x316364)=>{_0x49928f['moveSelectionToPage'](_0x316364),_0x49928f['scrollToPage'](_0x316364);}),_0x36ff7b;}),_0x596f2e['ui']['componentFactory']['add']('nextPage',_0x10841d=>{const _0x266a91=new _0xa1646b(_0x10841d);return _0x266a91['isEnabled']=!0x0,_0x266a91['label']=T(_0x596f2e['locale'],'Go\x20to\x20next\x20page'),_0x266a91['icon']=_0x4c3c05,_0x266a91['tooltip']=!0x0,_0x266a91['keystroke']='Shift+PageDown',_0x266a91['bind']('isEnabled')['to'](_0x49928f),this['listenTo'](_0x266a91,'execute',()=>{_0x49928f['goToNextPage']();}),_0x266a91;}),_0x596f2e['ui']['componentFactory']['add']('previousPage',_0x55f31e=>{const _0x4bc9b8=new _0xa1646b(_0x55f31e);return _0x4bc9b8['isEnabled']=!0x0,_0x4bc9b8['label']=T(_0x596f2e['locale'],'Go\x20to\x20previous\x20page'),_0x4bc9b8['icon']=_0x41da81,_0x4bc9b8['tooltip']=!0x0,_0x4bc9b8['keystroke']='Shift+PageUp',_0x4bc9b8['bind']('isEnabled')['to'](_0x49928f),this['listenTo'](_0x4bc9b8,'execute',()=>{_0x49928f['goToPreviousPage']();}),_0x4bc9b8;});}},$=class extends _0x3046cf{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x257365){super(_0x257365),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3a6d9e=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x3a6d9e),this['bind']('totalPages')['to'](_0x3a6d9e),_0x1d855d['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x549544){this['editor']['plugins']['get'](G)['scrollToPage'](_0x549544);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x1ca768}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x4c345a,InputNumberView as _0x12c381,View as _0x48efaa}from'@ckeditor/ckeditor5-ui';import{Rect as _0x6ffb24,ResizeObserver as _0x5b007b,env as _0x414f37,first as _0x1d533,global as _0x2516dd,keyCodes as _0x11a038,logWarning as _0x4f173a,toUnit as _0x42e743,uid as _0x30ffee}from'@ckeditor/ckeditor5-utils';import{debounce as _0x47585f}from'es-toolkit/compat';import{IconArrowDown as _0x1835a8,IconArrowUp as _0x4cd400}from'@ckeditor/ckeditor5-icons';var w=class extends _0x1ca768{['_recalculatePageBreaksDebounced']=_0x47585f(()=>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 _0x4f173a('pagination-config-not-found',this['editor']['config']);const _0x5eda83=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5eda83),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0xee6de9,_0x423ab2,_0xbab008)=>{_0xbab008&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x11e4c9){const _0x274f24='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x4e4324=0x78e10,_0x3d42d9=window['Date']['now'](),_0x78ad2d=_0x11e4c9['editor'],_0x38be18=new window['Promise'](_0x23eaa9=>{_0x78ad2d['once']('ready',_0x23eaa9);}),_0xb78c10={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4f3a79=_0x78ad2d['config']['get']('licenseKey');async function _0x299df7(){let _0x36992a,_0x381e27=null,_0x38b6b9=null;try{return'GPL'==_0x4f3a79?'NotAllowed':(_0x36992a=_0x2068cc(),_0x36992a?(_0x36992a['usageEndpoint']&&(_0x38b6b9=_0x5457c3(_0x36992a['usageEndpoint'],_0x36992a['jti'])),await _0x2ad890()?_0x2872ff()?_0xa45fe6()?'Expired':_0x382c65()?('evaluation'==_0x36992a['licenseType']&&(_0x381e27=_0x478288('EvaluationLimit')),await _0x1a083f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xa45fe6(){const _0x6990b0=['evaluation','trial']['includes'](_0x36992a['licenseType'])?_0x3d42d9/0x3e8:0xe10*_0x4e4324;return _0x36992a['exp']<_0x6990b0;}function _0x2872ff(){const _0x27328e=_0x36992a['features'];return!!_0x27328e&&(!!_0x27328e['includes']('*')||!!_0x27328e['includes']('PAG'));}function _0x382c65(){const _0x2d5273=_0x36992a['licensedHosts'];if(!_0x2d5273||0x0==_0x2d5273['length'])return!0x0;const {hostname:_0x2140f7}=new URL(window['location']['href']);if(_0x2d5273['includes'](_0x2140f7))return!0x0;const _0x32c3da=_0x2140f7['split']('.');return _0x2d5273['filter'](_0x3dcb0c=>_0x3dcb0c['includes']('*'))['map'](_0x482c70=>_0x482c70['split']('.'))['filter'](_0x4e2890=>_0x4e2890['length']<=_0x32c3da['length'])['map'](_0x7e747a=>Array(_0x32c3da['length']-_0x7e747a['length'])['fill']('*'===_0x7e747a[0x0]?'*':'')['concat'](_0x7e747a))['some'](_0x48d34f=>_0x32c3da['every']((_0x24833c,_0x5c7d70)=>_0x48d34f[_0x5c7d70]===_0x24833c||'*'===_0x48d34f[_0x5c7d70]));}function _0x1a083f(){return _0x381e27&&_0x38b6b9?new window['Promise']((_0x1fe0cb,_0x5bd2a1)=>{_0x381e27['then'](_0x1fe0cb,_0x5bd2a1),_0x38b6b9['then'](_0x2dd271=>{'Valid'!=_0x2dd271&&_0x1fe0cb(_0x2dd271);},_0x5bd2a1);}):_0x381e27||_0x38b6b9||'Valid';}}function _0x5457c3(_0x1fc224,_0x315f92){return new window['Promise'](_0x2ec874=>{if(_0x190cc2())return _0x2ec874('Valid');_0x5c207b(),_0x78ad2d['decorate']('_sendUsageRequest');let _0x13aaf6=!0x1;const _0x109f4a=_0x30ffee();function _0x59d915(_0x39ffcd){return!!_0x39ffcd&&('object'==typeof _0x39ffcd||'function'==typeof _0x39ffcd)&&'function'==typeof _0x39ffcd['then']&&'function'==typeof _0x39ffcd['catch'];}function _0x34cc9d(_0x31b915){_0x4b9f16(_0x31b915)['then'](_0x3f9681=>_0x3f9681&&'ok'==_0x3f9681['status']?_0x112f7f(_0x34e5db(_0x109f4a+_0x315f92))!=_0x3f9681['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4c1419=>(_0x553123(),_0x4c1419),()=>{const _0x392085=_0x579abe();return null==_0x392085?(_0x553123(),'Valid'):_0x3d42d9-_0x392085>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2ec874)['catch'](()=>{_0x2ec874('UsageLimit');});const _0x83bcb9=0x36ee80;function _0x553123(){const _0x3e55b1='llct-'+_0x112f7f(_0x34e5db(_0x1fc224)),_0x51b0f9=_0x14af34(_0x112f7f(window['Math']['ceil'](_0x3d42d9/_0x83bcb9)));window['localStorage']['setItem'](_0x3e55b1,_0x51b0f9);}function _0x579abe(){const _0x5e1dc1='llct-'+_0x112f7f(_0x34e5db(_0x1fc224)),_0x56a1ad=window['localStorage']['getItem'](_0x5e1dc1);return _0x56a1ad?window['parseInt'](_0x14af34(_0x56a1ad),0x10)*_0x83bcb9:null;}function _0x4b9f16(_0x433323){return new window['Promise']((_0x171eb3,_0x3b39d1)=>{_0x433323['then'](_0x171eb3,_0x3b39d1),window['setTimeout'](_0x3b39d1,0x1d4c0);});}}_0x78ad2d['on']('_sendUsageRequest',(_0x1f1d4a,_0x356d92)=>{if(_0x356d92[0x0]!=_0x1fc224)return _0x2ec874('UsageLimit');_0x356d92[0x1]={..._0x356d92[0x1],'requestId':_0x109f4a};},{'priority':'high'}),_0x78ad2d['on']('_sendUsageRequest',_0x2310c7=>{_0x59d915(_0x2310c7['return'])&&(_0x13aaf6=!0x0,_0x34cc9d(_0x2310c7['return']));},{'priority':'low'}),_0x38be18['then'](()=>{_0x13aaf6||_0x2ec874('UsageLimit');});});function _0x190cc2(){return'auto'==_0x78ad2d['editing']['view']['_overlayModeHint'];}function _0x5c207b(){_0x78ad2d['editing']['view']['_overlayModeHint']='auto';}}function _0x478288(_0x65bbc){const _0x3d4bc8=[new window['Promise'](_0x10e2a9=>setTimeout(_0x10e2a9,0x93ecc)),_0x38be18['then'](()=>new window['Promise'](_0x1f65ec=>{let _0x5073fa=0x0;_0x78ad2d['model']['on']('applyOperation',(_0x35171d,_0x13b463)=>{_0x13b463[0x0]['isDocumentOperation']&&_0x5073fa++,0x5e8==_0x5073fa&&(_0x1f65ec(),_0x35171d['off']());});}))];return window['Promise']['race'](_0x3d4bc8)['then'](()=>_0x65bbc);}async function _0x11d8cb(){await _0x38be18,_0x78ad2d['model']['change']=_0x5efe6e,_0x78ad2d['model']['enqueueChange']=_0x5efe6e,_0x78ad2d['enableReadOnlyMode']('model');}function _0x105e1d(_0x1f75ef){const _0x2ba32c=_0x452c9f();_0x78ad2d[_0x2ba32c]='paginationLicenseKey'+_0x1f75ef,'Valid'!=_0x1f75ef&&_0x11d8cb();}function _0x452c9f(){const _0x4ef059=window['String'](window['performance']['now']())['replace']('.','');let _0x30b88f='I';for(let _0x35c556=0x0;_0x35c556<_0x4ef059['length'];_0x35c556+=0x2){let _0x485b47=window['parseInt'](_0x4ef059['substring'](_0x35c556,_0x35c556+0x2));_0x485b47>=0x3e&&(_0x485b47-=0x3e),_0x30b88f+=_0x274f24[_0x485b47];}return _0x30b88f;}function _0x2068cc(){const _0x219e1e=_0x4f3a79['split']('.');if(0x3!=_0x219e1e['length'])return null;return _0x3365c2(_0x219e1e[0x1]);function _0x3365c2(_0x2dc03e){const _0x20e171=_0x165687(_0x2dc03e);return _0x20e171&&_0x436a17()?_0x20e171:null;function _0x436a17(){const _0x1ed092=_0x20e171['jti'],_0x4b6aa7=window['parseInt'](_0x1ed092['substring'](_0x1ed092['length']-0x8),0x10),_0x4f63e0={..._0x20e171,'jti':_0x1ed092['substring'](0x0,_0x1ed092['length']-0x8)};return delete _0x4f63e0['vc'],_0x34e5db(_0x4f63e0)==_0x4b6aa7;}}}async function _0x2ad890(){let _0x1595c6=!0x0;try{const [_0x5538f6,_0x5f028b,_0x39af7d]=_0x4f3a79['split']('.');return _0x355a9b(_0x5538f6),await _0x361115(_0x5538f6,_0x5f028b,_0x39af7d),_0x1595c6;}catch{return!0x1;}function _0x355a9b(_0x48f801){const _0x2dc50b=_0x165687(_0x48f801);_0x2dc50b&&'ES256'==_0x2dc50b['alg']||(_0x1595c6=!0x1);}async function _0x361115(_0xeae4ec,_0xd721b8,_0x2d0474){const _0x48c231=window['Uint8Array']['from'](_0x3d5581(_0x2d0474),_0x96dd9b=>_0x96dd9b['charCodeAt'](0x0)),_0x4bdb0a=new window['TextEncoder']()['encode'](_0xeae4ec+'.'+_0xd721b8),_0x360bd9=window['crypto']['subtle'];if(!_0x360bd9)return;const _0x6b7a43=await _0x360bd9['importKey']('jwk',_0xb78c10,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x360bd9['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x6b7a43,_0x48c231,_0x4bdb0a)||(_0x1595c6=!0x1);}}function _0x165687(_0x59087a){return _0x59087a['startsWith']('ey')?JSON['parse'](_0x3d5581(_0x59087a)):null;}function _0x3d5581(_0x5ef54d){return window['atob'](_0x5ef54d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x34e5db(_0x57d97c){let _0x5a3533=0x1505;function _0x250f4c(_0x5bd181){for(let _0x3f388f=0x0;_0x3f388f<_0x5bd181['length'];_0x3f388f++){const _0x42a63e=_0x5bd181['charCodeAt'](_0x3f388f);_0x5a3533=(_0x5a3533<<0x5)+_0x5a3533+_0x42a63e,_0x5a3533&=_0x5a3533;}}function _0x57ca1e(_0x310331){Array['isArray'](_0x310331)?_0x310331['forEach'](_0x57ca1e):_0x310331&&'object'==typeof _0x310331?Object['entries'](_0x310331)['sort']()['forEach'](([_0x2ec8f4,_0x3154f5])=>{_0x250f4c(_0x2ec8f4),_0x57ca1e(_0x3154f5);}):_0x250f4c(window['String'](_0x310331));}return _0x57ca1e(_0x57d97c),_0x5a3533>>>0x0;}function _0x112f7f(_0x41ce25){return _0x41ce25['toString'](0x10)['padStart'](0x8,'0');}function _0x14af34(_0x7211c4){return _0x7211c4['split']('')['reverse']()['join']('');}function _0x5efe6e(){}_0x105e1d(await _0x299df7());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x1b5416=this['editor'],_0x5903dc=_0x1b5416['editing']['view'],_0x2b6f9d=this['_getAttachedDomRoot']();if(!_0x2b6f9d||!_0x2b6f9d['hasChildNodes']())return void _0x1b5416['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x192173,pageHeight:_0x3dc247}=_0x1b5416['config']['get']('pagination'),{top:_0x52d767,left:_0x37d3e3,bottom:_0xeb5838,right:_0x556e5d}=this['_configuredPaddings'];this['_pagesContainer']=new _0x48efaa(_0x1b5416['locale']);const _0x1fa940=this['_pagesContainer'];_0x1fa940['set']('class',''),_0x1fa940['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x192173,'width':_0x192173,'height':'calc(\x20'+_0x3dc247+'\x20-\x20'+_0x52d767+'\x20-\x20'+_0xeb5838+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x556e5d+'\x200\x20'+_0x37d3e3,'columnGap':'calc('+_0x37d3e3+'\x20+\x20'+_0x556e5d+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x1fa940['bindTemplate']['to']('class')}}),_0x1fa940['render'](),_0x2b6f9d['parentNode']['insertBefore'](_0x1fa940['element'],_0x2b6f9d['nextSibling']),this['listenTo'](_0x5903dc,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x4796fd of this['editor']['editing']['view']['domRoots']['values']())if(_0x4796fd['ownerDocument']['body']['contains'](_0x4796fd))return _0x4796fd;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x4227fc=this['editor']['editing']['view'],_0x150c72=this['_pagesContainer'],_0x1d4ff0=this['_getAttachedDomRoot']();if(!_0x1d4ff0||!_0x150c72)return Promise['resolve']();for(_0x150c72['class']=['ck-reset','ck-pagination-view',..._0x1d4ff0['classList']]['join']('\x20');_0x150c72['element']['firstChild'];)_0x150c72['element']['firstChild']['remove']();const _0x399eb4=Array['from'](_0x4227fc['domRoots']);_0x399eb4['sort'](([,_0x478f5a],[,_0x2ee80e])=>_0x478f5a['compareDocumentPosition'](_0x2ee80e)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x18c5d6,_0x19ea27]of _0x399eb4){const _0x1b0695=_0x19ea27['cloneNode'](!0x0);'attributeStyleMap'in _0x1b0695&&_0x1b0695['attributeStyleMap']['clear'](),_0x1b0695['dataset']['rootName']=_0x18c5d6,_0x1b0695['className']='ck-content\x20ck-pagination_enabled',_0x1b0695['removeAttribute']('id'),_0x1b0695['tabIndex']=-0x1,_0x150c72['element']['append'](_0x1b0695);}const _0x3ae9c5=Array['from'](_0x150c72['element']['querySelectorAll']('img'));return function(_0x360a2e){return Promise['all'](_0x360a2e['map'](_0x4673ea=>Promise['race']([k(_0x4673ea),v(0x3e8)])));}(_0x3ae9c5)['then'](()=>{for(const _0x4251e5 of _0x3ae9c5['filter'](_0x89a829=>!_0x89a829['closest']('table')))if(_0x4251e5['offsetParent']){const _0x5b5ce8=_0x2516dd['window']['getComputedStyle'](_0x4251e5),_0x26ce01=_0x2516dd['document']['createElement']('span');for(const _0x4a203f of _0x5b5ce8)_0x26ce01['style']['setProperty'](_0x4a203f,_0x5b5ce8[_0x4a203f]);_0x26ce01['style']['backgroundImage']='url(\x20'+_0x4251e5['src']+'\x20)',_0x26ce01['style']['breakInside']='avoid','PICTURE'==_0x4251e5['parentElement']?.['tagName']?_0x4251e5['parentElement']['replaceWith'](_0x26ce01):_0x4251e5['replaceWith'](_0x26ce01);}return new Promise(_0x5d007a=>_0x2516dd['window']['requestAnimationFrame'](()=>_0x5d007a()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x51c586=this['_pagesContainer']['element'];if(!_0x51c586['ownerDocument']['body']['contains'](_0x51c586))return;const _0x3c234b=new _0x6ffb24(_0x51c586)['excludeScrollbarsAndBorders'](),_0x2cad15=Math['floor'](_0x3c234b['width']+0x64),_0x310c43=_(_0x51c586,Math['floor'](_0x3c234b['left']-_0x51c586['scrollLeft']),_0x2cad15,_0x3c234b['height'])['map'](_0x2ae517=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2ae517))['filter'](_0x251651=>!0x1!==_0x251651);_0x310c43['every'](_0x5f13d6=>!!_0x5f13d6)&&(this['pageBreaks']=_0x310c43);}['_mapPageStarterInfoToPageBreakInfo'](_0x58f194){const _0x209e7c=this['editor']['editing']['view'],_0x4be4f4=this['editor']['editing']['mapper'],_0x4c0923=_0x209e7c['domConverter'],_0x230693=_0x58f194['path']['shift'](),_0x353c80=this['_pagesContainer']['element']['childNodes'][_0x230693]['dataset']['rootName'],_0x471dc3=_0x209e7c['getDomRoot'](_0x353c80);if(!_0x471dc3)return null;const _0x54d549=function(_0x5400c9,_0x52cb4d){let _0x3b1f9e=_0x5400c9;for(const _0x444a3c of _0x52cb4d['path']){if(!_0x3b1f9e)return null;_0x3b1f9e=_0x3b1f9e['childNodes'][_0x444a3c];}return _0x3b1f9e;}(_0x471dc3,_0x58f194);if(!_0x54d549)return null;const _0x8b4c71=_0x4c0923['domPositionToView'](_0x54d549,_0x58f194['textOffset']||0x0);return _0x8b4c71?'manual'==_0x58f194['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x8b4c71,_0x54d549):'text'==_0x58f194['type']&&_0x4be4f4['toModelPosition'](_0x8b4c71)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x8b4c71,_0x54d549,_0x58f194['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x8b4c71,_0x54d549,_0x58f194['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x4cf1af,_0x36aa36){const _0x1d7fc5=this['editor']['model'],_0x136c2e=this['editor']['editing']['mapper']['toModelElement'](_0x4cf1af['parent']);return new P({'type':'manual','modelRange':_0x1d7fc5['createRangeOn'](_0x136c2e),'domNode':_0x36aa36,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0xc7d699,_0x2f3b5c,_0x2705d7){const _0x854480=this['editor']['model'],_0x54ecf4=this['editor']['editing']['mapper'],_0x1db16d=this['editor']['editing']['view']['domConverter'];if(_0x2705d7>=_0x2f3b5c['length'])return null;const _0x24f702=_0x54ecf4['toModelPosition'](_0xc7d699),_0x5c840a=_0x854480['createRange'](_0x24f702),_0x5af98f=_0x54ecf4['findMappedViewAncestor'](_0xc7d699);return new P({'type':'text','modelRange':_0x5c840a,'domNode':_0x2f3b5c,'offset':y(_0x2f3b5c,_0x2705d7,_0x1db16d['mapViewToDom'](_0x5af98f))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x587e9f,_0x3ed24e,_0x4e144a){const _0x37ab1c=this['editor']['model'],_0x1c1a81=this['editor']['editing'],_0x1b8f34=_0x1c1a81['mapper'],_0x5b6fbb=_0x1c1a81['view']['domConverter'],_0x411ea5=_0x1b8f34['findMappedViewAncestor'](_0x587e9f),_0x59f21f=_0x1b8f34['toModelElement'](_0x411ea5);if(!_0x59f21f||_0x59f21f['is']('rootElement'))return!0x1;const _0x3b9212=function(_0xd82871){const _0x1b0ca9=_0xd82871['parent'],_0x235a09=_0x1b0ca9['root']['document']['model'],_0x1637d4=_0x1b0ca9['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1417c7=null;for(const _0x235dba of _0x1637d4){if(_0x235dba['is']('rootElement'))return _0x1417c7;if(!_0x235a09['createPositionBefore'](_0x235dba)['isTouching'](_0xd82871))return _0x1417c7;_0x1417c7=_0x235dba;}}(_0x37ab1c['createPositionBefore'](_0x59f21f))||_0x59f21f;let _0x278c4c=_0x1b8f34['toViewElement'](_0x3b9212),_0x3b2f81=_0x37ab1c['createRangeOn'](_0x3b9212);const _0x351bf7=_0x37ab1c['createPositionBefore'](_0x3b9212)['nodeBefore'];if(_0x351bf7&&_0x351bf7['is']('element','imageBlock')){const _0x3e23d5=_0x1b8f34['toViewElement'](_0x351bf7),_0x45f1d6=_0x5b6fbb['mapViewToDom'](_0x3e23d5),_0x1d607b=_0x2516dd['window']['getComputedStyle'](_0x45f1d6)['float'];'left'!=_0x1d607b&&'right'!=_0x1d607b||(_0x3b2f81=_0x37ab1c['createRangeOn'](_0x351bf7));}for(;_0x278c4c['parent']!==_0x278c4c['root']&&0x0===_0x278c4c['index'];)_0x278c4c=_0x278c4c['parent'];const _0x204d18=new _0x6ffb24(K(_0x3ed24e)?_0x3ed24e:L(_0x3ed24e)),_0x5dd417=_0x4e144a?_0x204d18['height']-_0x4e144a:0x0,_0x23d51d=_0x5b6fbb['mapViewToDom'](_0x278c4c),_0x374ab6=new _0x6ffb24(_0x23d51d);return new P({'type':'element','modelRange':_0x3b2f81,'domNode':_0x23d51d,'offset':Math['round'](_0x5dd417)||_0x411ea5!=b(_0x587e9f)?_0x5dd417+_0x204d18['top']-_0x374ab6['top']:0x0});}get['_configuredPaddings'](){const _0x5609a7=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x5609a7);}static['_findPageStarterInfos'](_0x121323,_0x60da32,_0x2cac3b,_0x34b63e,_0x12733c){return _(_0x121323,_0x60da32,_0x2cac3b,_0x34b63e,_0x12733c);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x2bb10c,modelRange:_0x405c41,domNode:_0x1e2ce4,offset:_0x1f3c89}){this['type']=_0x2bb10c,this['modelRange']=_0x405c41,this['_domNode']=_0x1e2ce4,this['_offset']=_0x1f3c89;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x2e5425=new _0x6ffb24(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x2e5425['top']+_0x2e5425['height']/0x2:_0x2e5425['top']+this['_offset'];}};function y(_0x9e3ff8,_0x456bc7,_0x1321ff){const _0x3b9c47=L(_0x9e3ff8),_0x362a9d=function(_0x5565cf){const _0x38b5b9=_0x2516dd['document']['createRange']();return _0x38b5b9['selectNodeContents'](_0x5565cf),_0x38b5b9;}(_0x1321ff);let _0xebcef3;_0xebcef3=0x0==_0x456bc7?N(_0x362a9d['startContainer'],_0x362a9d['startOffset'],_0x9e3ff8['parentNode'],Array['from'](_0x9e3ff8['parentNode']['childNodes'])['indexOf'](_0x9e3ff8)):N(_0x362a9d['startContainer'],_0x362a9d['startOffset'],_0x9e3ff8,_0x456bc7);const _0xeb8d10=N(_0x9e3ff8,_0x456bc7,_0x362a9d['endContainer'],_0x362a9d['endOffset']),_0x125262=new _0x6ffb24(_0xebcef3)['bottom'];return(new _0x6ffb24(_0xeb8d10)['top']+_0x125262)/0x2-new _0x6ffb24(_0x3b9c47)['top'];}function b(_0x5df2d2){let _0x1561cb=_0x5df2d2['parent'];for(;_0x1561cb['is']('$text')||_0x1561cb['is']('attributeElement');)_0x1561cb=_0x1561cb['parent'];return _0x1561cb;}function k(_0x4095cd){return _0x4095cd['hasAttribute']('width')&&_0x4095cd['hasAttribute']('height')?Promise['resolve']():new Promise(_0x2382af=>{function _0x290098(){_0x4095cd['removeEventListener']('load',_0x290098),_0x4095cd['removeEventListener']('error',_0x290098),_0x2382af();}_0x4095cd['complete']?_0x2382af():(_0x4095cd['addEventListener']('load',_0x290098),_0x4095cd['addEventListener']('error',_0x290098));});}function v(_0x544803){return new Promise(_0x262a53=>setTimeout(_0x262a53,_0x544803));}function L(_0x44f637){const _0x278665=_0x2516dd['document']['createRange']();return _0x278665['selectNode'](_0x44f637),_0x278665;}function x(_0x58ee92,_0x3c6805,_0x360907){const _0x110db1=_0x2516dd['document']['createRange']();return _0x110db1['setStart'](_0x58ee92,_0x3c6805),_0x110db1['setEnd'](_0x58ee92,_0x360907),_0x110db1;}function N(_0x2d9286,_0xe9be9c,_0x4b4f58,_0x3935ab){const _0x3104a0=_0x2516dd['document']['createRange']();return _0x3104a0['setStart'](_0x2d9286,_0xe9be9c),_0x3104a0['setEnd'](_0x4b4f58,_0x3935ab),_0x3104a0;}function _(_0x24424f,_0x223099,_0x40c1c5,_0x4b952e,_0x1ac109){const _0x16a21f=[];for(const [_0x4efc04,_0x4c309e]of _0x24424f['childNodes']['entries']()){let _0x5b30e0=[];K(_0x4c309e)&&_0x4c309e['offsetParent']&&['static','relative']['includes'](_0x2516dd['window']['getComputedStyle'](_0x4c309e)['position'])?_0x5b30e0=E(_0x4c309e,_0x4efc04,_0x223099,_0x40c1c5,_0x4b952e,_0x1ac109):O(_0x4c309e)&&(_0x5b30e0=S(_0x4c309e,_0x4efc04,_0x223099,_0x40c1c5,_0x1ac109)),_0x5b30e0['length']&&(_0x16a21f['push'](..._0x5b30e0),_0x223099+=_0x5b30e0['length']*_0x40c1c5,_0x1ac109=!0x1);}return _0x16a21f;}function E(_0x418436,_0x1907bf,_0x34da13,_0xb5ae6,_0x4018ad,_0x49a3b1){const _0x10bd39=[];var _0x20c177;if((_0x20c177=_0x418436['previousSibling'])&&K(_0x20c177)&&Boolean(_0x20c177['classList']['contains']('page-break')||_0x20c177['closest']('.page-break'))&&(_0x10bd39['push']({'type':'manual','offset':0x0,'path':[_0x1907bf-0x1]}),_0x49a3b1=!0x0),'table-row'==_0x2516dd['window']['getComputedStyle'](_0x418436)['display']){let _0x5de11d=0x0,_0x5e0185=!0x1;for(const _0xd3d505 of _0x418436['getClientRects']())_0x5de11d+=_0xd3d505['height'],_0xd3d505['left']>=_0x34da13&&(_0x5e0185=!0x0);if(_0x5de11d<_0x4018ad&&_0x5e0185)return _0x49a3b1||_0x10bd39['push']({'type':'element','offset':0x0,'path':[_0x1907bf]}),_0x10bd39;}const _0x16260e=_0x418436['closest']('figure.image');if(_0x16260e&&function(_0x3f0393){let _0x180883=!0x1;const _0x31b60f=_0x3f0393['parentElement']['dataset']['rootName'],_0x21416a=_0x3f0393['nextElementSibling'],_0x1823d3=_0x3f0393['previousElementSibling'],_0x1b8fbf=_0x21416a&&_0x2516dd['window']['getComputedStyle'](_0x21416a)['float'],_0x576f93=_0x21416a&&'ck-fake-selection-container'===_0x21416a['className'];return!_0x31b60f||_0x21416a||_0x1823d3||(_0x180883=!0x0),_0x31b60f&&!_0x1823d3&&_0x576f93&&(_0x180883=!0x0),_0x31b60f&&!_0x1823d3&&'none'!==_0x1b8fbf&&(_0x180883=!0x0),!_0x180883;}(_0x16260e)){const _0x423e5f=_0x2516dd['window']['getComputedStyle'](_0x16260e)['float'];if('left'==_0x423e5f||'right'==_0x423e5f)return _0x10bd39;}const _0x4a8423=_(_0x418436,_0x34da13,_0xb5ae6,_0x4018ad,_0x49a3b1);if(_0x4a8423['length']){for(const _0x41074a of _0x4a8423)_0x10bd39['push']({'type':_0x41074a['type'],'offset':_0x41074a['offset'],'textOffset':_0x41074a['textOffset'],'path':[_0x1907bf,..._0x41074a['path']]}),_0x34da13+=_0xb5ae6,_0x49a3b1=!0x1;return _0x10bd39;}return _0x10bd39['push'](...function(_0x1e9d01,_0x40d864,_0x33700a,_0x424c8c,_0x24bb32){const _0x527eae=[];if('table-cell'==_0x2516dd['window']['getComputedStyle'](_0x1e9d01)['display'])return[];const _0x5582fb=[];for(const _0x2b0f11 of _0x1e9d01['getClientRects']())if(_0x2b0f11['left']>=_0x33700a){for(const _0x21b398 of _0x5582fb)_0x21b398['height']+=_0x2b0f11['height'];_0x5582fb['push']({'height':_0x2b0f11['height']}),_0x33700a+=_0x424c8c;}for(const _0x2057a7 of _0x5582fb)_0x24bb32||_0x527eae['push']({'type':'element','offset':_0x2057a7['height'],'textOffset':0x0,'path':[_0x40d864]}),_0x24bb32=!0x1;return _0x527eae;}(_0x418436,_0x1907bf,_0x34da13,_0xb5ae6,_0x49a3b1)),_0x10bd39;}function S(_0x4350d1,_0x103a91,_0x4cc5d0,_0x468b9f,_0x361462){const _0x3b6328=L(_0x4350d1),_0x18d87f=[];let _0x1f6018=0x0;for(const _0x77ba2f of _0x3b6328['getClientRects']())if(_0x77ba2f['left']>=_0x4cc5d0){const _0xaa0d5a=R(_0x4350d1,_0x1f6018,_0x4cc5d0,_0x468b9f);_0x361462||_0x18d87f['push']({'type':'text','path':[_0x103a91],'textOffset':_0xaa0d5a}),_0x1f6018=_0xaa0d5a,_0x4cc5d0+=_0x468b9f,_0x361462=!0x1;}return _0x18d87f;}function R(_0x852bf9,_0x444202,_0x3306f9,_0x442332){let _0x6a5c08=_0x444202,_0x21fc9b=_0x852bf9['length'];for(;_0x21fc9b-_0x6a5c08>0x1;){const _0x3b995c=Math['ceil']((_0x6a5c08+_0x21fc9b)/0x2);I(x(_0x852bf9,_0x6a5c08,_0x3b995c),_0x3306f9,_0x442332)?_0x21fc9b=_0x3b995c:_0x6a5c08=_0x3b995c;}return _0x6a5c08;}function I(_0xc7df02,_0x44d24e,_0x42bdad){for(const _0xb90a7f of _0xc7df02['getClientRects']())if(_0xb90a7f['left']>=_0x44d24e&&_0xb90a7f['left']<_0x44d24e+_0x42bdad)return!0x0;return!0x1;}function K(_0x384c35){return _0x384c35['nodeType']==Node['ELEMENT_NODE'];}function O(_0x3b300f){return _0x3b300f['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x42e743('px');var U=class extends _0x48efaa{constructor(){super();const _0x33ebbb=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x33ebbb['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x33ebbb['if']('isVisible','ck-hidden',_0x9d8e34=>!_0x9d8e34)],'style':{'left':_0x33ebbb['to']('left',_0x1d3d01=>A(_0x1d3d01)),'top':_0x33ebbb['to']('top',_0x119b46=>A(_0x119b46)),'width':_0x33ebbb['to']('width',_0x41cc6a=>A(_0x41cc6a))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x5c1f7c){this['_viewCollection']=_0x5c1f7c['ui']['view']['body'];}['destroy'](){for(const _0x3edc56 of this['_hiddenLines'])_0x3edc56['destroy']();}['cleanLines'](){for(const _0x17acae of this['_visibleLines'])_0x17acae['isVisible']=!0x1,this['_hiddenLines']['add'](_0x17acae);this['_visibleLines']['clear']();}['showLine'](_0x3e2ccd,_0xfdb14f,_0x17c2a7,_0x5bb01c){let _0x3c24dc;this['_hiddenLines']['size']?(_0x3c24dc=_0x1d533(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x3c24dc)):_0x3c24dc=new U(),_0x3c24dc['set']({'pageNumber':_0x5bb01c,'left':_0x3e2ccd,'top':_0xfdb14f,'width':_0x17c2a7}),_0x3c24dc['isVisible']=!0x0,this['_viewCollection']['has'](_0x3c24dc)||this['_viewCollection']['add'](_0x3c24dc),this['_visibleLines']['add'](_0x3c24dc);}['setViewCollection'](_0x1f51f6){for(const _0x344bb8 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x344bb8)&&this['_viewCollection']['remove'](_0x344bb8);this['_viewCollection']=_0x1f51f6;}};const D='ck-pagination_enabled';var B=class extends _0x1ca768{['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',(_0x17fa1b,_0x354f89,_0x5ebd7e)=>{_0x5ebd7e||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x5ebd7e);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3b20d){if(!this['isEnabled'])return;const _0x265e50=_0x3b20d>0x1?this['_getPageBreakLineOffset'](_0x3b20d-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x265e50-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x414f37['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x3b80de=this['editor'],_0x44872d=this['_getAttachedDomRoot']();_0x44872d?(this['_scrollableEditingRootDomAncestor']&&_0x3b80de['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0xa017b){let _0x4c8d1c=_0xa017b;do{_0x4c8d1c=_0x4c8d1c['parentElement'];const _0x4d3b42=_0x2516dd['window']['getComputedStyle'](_0x4c8d1c)['overflowY'];if('auto'==_0x4d3b42||'scroll'==_0x4d3b42)break;}while('BODY'!=_0x4c8d1c['tagName']);return _0x4c8d1c;}(_0x44872d),_0x3b80de['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x5b007b(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x3b80de['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x363f18=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x363f18['ui']['view']['listenTo'](_0x2516dd['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x363f18['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x42f83a of this['editor']['editing']['view']['domRoots']['values']())if(_0x42f83a['ownerDocument']['body']['contains'](_0x42f83a))return _0x42f83a;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x3095fa=this['_getAttachedDomRoot'](),_0x2260ca=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3095fa||0x1==_0x2260ca['length'])return void(this['pageNumber']=0x1);const _0x598bb1=new _0x6ffb24(_0x3095fa)['excludeScrollbarsAndBorders'](),_0xe95a3e=new _0x6ffb24(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x24ca2d=_0xe95a3e['top']+_0xe95a3e['height']/0x3;let _0x12bd9e=!0x1;const _0x12e6b2=[];for(let _0x17131c=0x1;_0x17131c<_0x2260ca['length'];_0x17131c++){const _0x243d95=this['_getPageBreakLineOffset'](_0x17131c,_0xe95a3e);if(!_0x243d95)continue;const _0x317338=_0xe95a3e['top']+_0x243d95-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x12e6b2['push']({'pageOffsetTop':_0x317338,'domRootRect':_0x598bb1,'domScrollableRect':_0xe95a3e,'pageNumber':_0x17131c}),_0x317338>_0x24ca2d&&!_0x12bd9e&&(this['pageNumber']=_0x17131c,_0x12bd9e=!0x0);}this['_renderPageBreakLines'](_0x12e6b2),_0x12bd9e||(this['pageNumber']=_0x2260ca['length']);}['_renderPageBreakLines'](_0x4b00d3){const {scrollX:_0x3bbd18,scrollY:_0x2d5a14}=_0x2516dd['window'];if(_0x4b00d3['length']){for(const {domScrollableRect:_0xbf4d75,pageOffsetTop:_0x20eae4,domRootRect:_0xbc0240,pageNumber:_0x8b9e7b}of _0x4b00d3)_0xbf4d75['top']<_0x20eae4&&_0x20eae4<_0xbf4d75['bottom']&&this['linesRepository']['showLine'](_0xbc0240['left']+_0x3bbd18,_0x20eae4+_0x2d5a14,_0xbc0240['width'],_0x8b9e7b+0x1);}}['_getPageBreakLineOffset'](_0x2fe7d0,_0x3c93a9=null){const _0x289ad3=this['_paginationLookupPlugin']['pageBreaks'][_0x2fe7d0]['offset'];return _0x289ad3?(_0x3c93a9||(_0x3c93a9=new _0x6ffb24(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x289ad3-_0x3c93a9['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x463e96,_0x388928=!0x0){const _0x5dd04d=this['editor']['editing']['view'];_0x5dd04d['change'](_0x36831b=>{for(const _0x3d2b95 of _0x5dd04d['document']['roots'])_0x388928?_0x36831b['addClass'](_0x463e96,_0x3d2b95):_0x36831b['removeClass'](_0x463e96,_0x3d2b95);});}};function T(_0x55136e,_0x54662b,..._0x2d7364){const t=_0x55136e['t'];switch(_0x54662b){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)',..._0x2d7364);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 _0x54662b;}}var G=class extends _0x1ca768{['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 _0x235623=this['editor']['plugins']['get']('Pagination'),_0x1988a5=this['editor']['plugins']['get'](w),_0x3f4b5e=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x235623),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3f4b5e),this['listenTo'](_0x1988a5,'change:pageBreaks',(_0x40906b,_0x4e2eb3,_0x39ddce,_0x3eb160)=>{this['totalPages']=_0x39ddce['length'],this['_updatePageBreakMarkers'](_0x39ddce,_0x3eb160);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4476dc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1680fa;for(const _0x31b861 in _0x4476dc){const _0x3d6720=_0x31b861,_0x3cabab=_0x4476dc[_0x3d6720];if('paginationLicenseKeyValid'==_0x3cabab||'paginationLicenseKeyInvalid'==_0x3cabab||'paginationLicenseKeyExpired'==_0x3cabab||'paginationLicenseKeyDomainLimit'==_0x3cabab||'paginationLicenseKeyNotAllowed'==_0x3cabab||'paginationLicenseKeyEvaluationLimit'==_0x3cabab||'paginationLicenseKeyUsageLimit'==_0x3cabab){delete _0x4476dc[_0x3d6720],_0x1680fa=_0x3cabab,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1680fa&&_0x4476dc['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1680fa&&_0x4476dc['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1680fa&&_0x4476dc['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1680fa&&_0x4476dc['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1680fa&&_0x4476dc['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x1680fa&&_0x4476dc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x43a45f){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x43a45f));}['moveSelectionToPage'](_0x43c19e){if(!this['isEnabled'])return;const _0x348fbf=this['editor'],_0x54c229=this['editor']['plugins']['get'](w)['pageBreaks'][_0x43c19e-0x1];_0x54c229&&_0x348fbf['model']['change'](_0x10533b=>{switch(_0x54c229['type']){case'manual':{const _0x1738bc=_0x348fbf['model']['schema']['getNearestSelectionRange'](_0x54c229['modelRange']['end'],'forward');_0x10533b['setSelection'](_0x1738bc);break;}case'element':{const _0x50b11a=_0x348fbf['model']['schema']['getNearestSelectionRange'](_0x54c229['modelRange']['start'],'forward');_0x10533b['setSelection'](_0x50b11a);break;}case'text':{const _0x96cb23=_0x54c229['modelRange']['start'];if(_0x96cb23['textNode']&&'\x20'===_0x96cb23['textNode']['data'][_0x96cb23['offset']]){const _0x68699a=_0x10533b['createPositionAt'](_0x96cb23['parent'],_0x96cb23['offset']+0x1);_0x10533b['setSelection'](_0x68699a);}else _0x10533b['setSelection'](_0x54c229['modelRange']);}}_0x348fbf['editing']['view']['focus']();});}['goToNextPage'](){const _0x545e=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x545e),this['scrollToPage'](_0x545e);}['goToPreviousPage'](){const _0x18c2f7=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x18c2f7),this['scrollToPage'](_0x18c2f7);}['_updatePageBreakMarkers'](_0x150bca,_0x27e32a){const _0x4de472=this['editor']['model'];this['isEnabled']&&_0x4de472['change'](_0x20597e=>{for(let _0x1be060=0x1;_0x1be060<_0x150bca['length'];_0x1be060++){const _0x45f2d4=_0x150bca[_0x1be060]['modelRange'],_0x19305a='pagination:'+(_0x1be060+0x1);_0x4de472['markers']['has'](_0x19305a)?_0x20597e['updateMarker'](_0x19305a,{'range':_0x45f2d4}):_0x20597e['addMarker'](_0x19305a,{'range':_0x45f2d4,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x498d45=_0x150bca['length'];_0x498d45<_0x27e32a['length'];_0x498d45++){const _0x333dc7='pagination:'+(_0x498d45+0x1);_0x4de472['markers']['has'](_0x333dc7)&&_0x20597e['removeMarker'](_0x333dc7);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x2fc16d=>{_0x2fc16d['on']('addMarker:pagination',(_0x326a78,{markerRange:_0x387519,markerName:_0x5391fd},_0x5d2299)=>{if(!_0x5d2299['options']['pagination'])return;if(!_0x5d2299['consumable']['consume'](_0x387519,_0x326a78['name']))return;const _0x404119=_0x387519['getContainedElement']();let _0x38675a=_0x404119?_0x5d2299['mapper']['toViewElement'](_0x404119):null;if(!_0x38675a){const _0x4cd7f6=_0x387519['start'];if(_0x5d2299['schema']['checkChild'](_0x4cd7f6,'$text')){const _0x5ab440=_0x5d2299['mapper']['toViewPosition'](_0x4cd7f6);_0x38675a=_0x5d2299['writer']['createContainerElement']('span'),_0x38675a['getFillerOffset']=()=>null,_0x5d2299['writer']['insert'](_0x5ab440,_0x38675a);}else{const _0xefbb2d=_0x4cd7f6['nodeAfter'];_0x38675a=_0x5d2299['mapper']['toViewElement'](_0xefbb2d);}}for(;_0x38675a['parent']!==_0x38675a['root']&&0x0===_0x38675a['index'];)_0x38675a=_0x38675a['parent'];const _0x5bf8cd=_0x5391fd['substring'](0xb);_0x38675a['hasClass']('page-break')||(_0x5d2299['writer']['setStyle']('page-break-before','always',_0x38675a),_0x5d2299['writer']['setAttribute']('data-pagination-page',_0x5bf8cd,_0x38675a),_0x5d2299['mapper']['bindElementToMarker'](_0x38675a,_0x5391fd)),_0x326a78['stop']();});});}['_setupKeystrokes'](){const _0xf0ba41=this['editor'];_0xf0ba41['keystrokes']['set']('Shift+Pageup',(_0x1aa998,_0x41d7d4)=>{this['goToPreviousPage'](),_0x41d7d4();}),_0xf0ba41['keystrokes']['set']('Shift+Pagedown',(_0x5d4833,_0x2b0b42)=>{this['goToNextPage'](),_0x2b0b42();}),_0xf0ba41['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0xf0ba41['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0xf0ba41['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0xf0ba41['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x5cdf7e){return _0x5cdf7e<0x1&&(_0x5cdf7e=0x1),_0x5cdf7e>this['totalPages']&&(_0x5cdf7e=this['totalPages']),_0x5cdf7e;}},V=class extends _0x48efaa{['pageNumberView'];constructor(_0x5c5768){super(_0x5c5768);const _0x3fe419=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x12c381(_0x5c5768,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x402306=>T(_0x5c5768,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x402306)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x477ee5=>!_0x477ee5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3fe419['if']('isEnabled','ck-disabled',_0x555ac6=>!_0x555ac6)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3fe419['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1ddf01=this['pageNumberView']['element'],_0x3b2661=_0x6eba76=>{this['pageNumberView']['element']['value']=String(_0x6eba76);};_0x3b2661(this['pageNumber']),this['on']('change:pageNumber',(_0x3c4c1e,_0xe80368,_0x1272f7)=>{_0x3b2661(_0x1272f7);}),this['listenTo'](_0x1ddf01,'keydown',(_0x4ad2e2,_0x1ccfcf)=>{if('ArrowUp'===_0x1ccfcf['key']||'ArrowDown'===_0x1ccfcf['key'])return void _0x1ccfcf['stopPropagation']();if(_0x1ccfcf['keyCode']!==_0x11a038['enter'])return;_0x1ccfcf['preventDefault']();const _0xce9de0=_0x1ddf01['valueAsNumber'];Number['isNaN'](_0xce9de0)?_0x1ddf01['value']=String(this['pageNumber']):(_0x1ddf01['checkValidity']()?this['pageNumber']=_0xce9de0:_0xce9de0>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1ddf01['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1ddf01['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1ddf01,'blur',()=>{_0x1ddf01['value']=String(this['pageNumber']);}),this['listenTo'](_0x1ddf01,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x1ca768{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2924d5=this['editor'],_0xe8d06e=_0x2924d5['plugins']['get']('PaginationEditing');_0x2924d5['ui']['componentFactory']['add']('pageNavigation',_0x517a6a=>{const _0x525e5a=new V(_0x517a6a);return _0x525e5a['bind']('pageNumber')['to'](_0xe8d06e),_0x525e5a['bind']('totalPages')['to'](_0xe8d06e),_0x525e5a['bind']('isEnabled')['to'](_0xe8d06e),_0x525e5a['on']('navigation',(_0x3adc0b,_0x356c91)=>{_0xe8d06e['moveSelectionToPage'](_0x356c91),_0xe8d06e['scrollToPage'](_0x356c91);}),_0x525e5a;}),_0x2924d5['ui']['componentFactory']['add']('nextPage',_0xaffa5d=>{const _0xdffec8=new _0x4c345a(_0xaffa5d);return _0xdffec8['isEnabled']=!0x0,_0xdffec8['label']=T(_0x2924d5['locale'],'Go\x20to\x20next\x20page'),_0xdffec8['icon']=_0x1835a8,_0xdffec8['tooltip']=!0x0,_0xdffec8['keystroke']='Shift+PageDown',_0xdffec8['bind']('isEnabled')['to'](_0xe8d06e),this['listenTo'](_0xdffec8,'execute',()=>{_0xe8d06e['goToNextPage']();}),_0xdffec8;}),_0x2924d5['ui']['componentFactory']['add']('previousPage',_0x202bd4=>{const _0x3a59e8=new _0x4c345a(_0x202bd4);return _0x3a59e8['isEnabled']=!0x0,_0x3a59e8['label']=T(_0x2924d5['locale'],'Go\x20to\x20previous\x20page'),_0x3a59e8['icon']=_0x4cd400,_0x3a59e8['tooltip']=!0x0,_0x3a59e8['keystroke']='Shift+PageUp',_0x3a59e8['bind']('isEnabled')['to'](_0xe8d06e),this['listenTo'](_0x3a59e8,'execute',()=>{_0xe8d06e['goToPreviousPage']();}),_0x3a59e8;});}},$=class extends _0x1ca768{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x16d978){super(_0x16d978),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x45519e=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x45519e),this['bind']('totalPages')['to'](_0x45519e),_0x414f37['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4d2339){this['editor']['plugins']['get'](G)['scrollToPage'](_0x4d2339);}};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':_0x26e049=>0x1!=_0x26e049}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50f8b6=>{const {af:{dictionary:_0x262826,getPluralForm:_0x366621}}={'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':_0x1810f8=>0x1!=_0x1810f8}};_0x50f8b6['af']||={'dictionary':{},'getPluralForm':null},_0x50f8b6['af']['dictionary']=Object['assign'](_0x50f8b6['af']['dictionary'],_0x262826),_0x50f8b6['af']['getPluralForm']=_0x366621;})(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':_0x5b0fd0=>0x0==_0x5b0fd0?0x0:0x1==_0x5b0fd0?0x1:0x2==_0x5b0fd0?0x2:_0x5b0fd0%0x64>=0x3&&_0x5b0fd0%0x64<=0xa?0x3:_0x5b0fd0%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57d9e5=>{const {ar:{dictionary:_0x5efed0,getPluralForm:_0xf53669}}={'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':_0x5ab52f=>0x0==_0x5ab52f?0x0:0x1==_0x5ab52f?0x1:0x2==_0x5ab52f?0x2:_0x5ab52f%0x64>=0x3&&_0x5ab52f%0x64<=0xa?0x3:_0x5ab52f%0x64>=0xb?0x4:0x5}};_0x57d9e5['ar']||={'dictionary':{},'getPluralForm':null},_0x57d9e5['ar']['dictionary']=Object['assign'](_0x57d9e5['ar']['dictionary'],_0x5efed0),_0x57d9e5['ar']['getPluralForm']=_0xf53669;})(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':_0x3c15ee=>0x1!=_0x3c15ee}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b1fa9=>{const {ast:{dictionary:_0x3d2c3d,getPluralForm:_0x5ab27f}}={'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':_0x45f101=>0x1!=_0x45f101}};_0x1b1fa9['ast']||={'dictionary':{},'getPluralForm':null},_0x1b1fa9['ast']['dictionary']=Object['assign'](_0x1b1fa9['ast']['dictionary'],_0x3d2c3d),_0x1b1fa9['ast']['getPluralForm']=_0x5ab27f;})(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':_0x3c2b9e=>0x1!=_0x3c2b9e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb3962a=>{const {az:{dictionary:_0x3b818b,getPluralForm:_0x3fbfbb}}={'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':_0x548df8=>0x1!=_0x548df8}};_0xb3962a['az']||={'dictionary':{},'getPluralForm':null},_0xb3962a['az']['dictionary']=Object['assign'](_0xb3962a['az']['dictionary'],_0x3b818b),_0xb3962a['az']['getPluralForm']=_0x3fbfbb;})(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':_0x1694cf=>_0x1694cf%0xa==0x1&&_0x1694cf%0x64!=0xb?0x0:_0x1694cf%0xa>=0x2&&_0x1694cf%0xa<=0x4&&(_0x1694cf%0x64<0xa||_0x1694cf%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x509c28=>{const {be:{dictionary:_0x190bd6,getPluralForm:_0x3a2377}}={'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':_0x18534e=>_0x18534e%0xa==0x1&&_0x18534e%0x64!=0xb?0x0:_0x18534e%0xa>=0x2&&_0x18534e%0xa<=0x4&&(_0x18534e%0x64<0xa||_0x18534e%0x64>=0x14)?0x1:0x2}};_0x509c28['be']||={'dictionary':{},'getPluralForm':null},_0x509c28['be']['dictionary']=Object['assign'](_0x509c28['be']['dictionary'],_0x190bd6),_0x509c28['be']['getPluralForm']=_0x3a2377;})(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':_0x13caab=>0x1!=_0x13caab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4afb53=>{const {bg:{dictionary:_0x5a66d1,getPluralForm:_0x38379f}}={'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':_0x2dc4c7=>0x1!=_0x2dc4c7}};_0x4afb53['bg']||={'dictionary':{},'getPluralForm':null},_0x4afb53['bg']['dictionary']=Object['assign'](_0x4afb53['bg']['dictionary'],_0x5a66d1),_0x4afb53['bg']['getPluralForm']=_0x38379f;})(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':_0x162588=>0x1!=_0x162588}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3bb6a3=>{const {bn:{dictionary:_0x2f3c4c,getPluralForm:_0x26b743}}={'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':_0x2595a3=>0x1!=_0x2595a3}};_0x3bb6a3['bn']||={'dictionary':{},'getPluralForm':null},_0x3bb6a3['bn']['dictionary']=Object['assign'](_0x3bb6a3['bn']['dictionary'],_0x2f3c4c),_0x3bb6a3['bn']['getPluralForm']=_0x26b743;})(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':_0x3eb342=>_0x3eb342%0xa==0x1&&_0x3eb342%0x64!=0xb?0x0:_0x3eb342%0xa>=0x2&&_0x3eb342%0xa<=0x4&&(_0x3eb342%0x64<0xa||_0x3eb342%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x52c844=>{const {bs:{dictionary:_0x23fc24,getPluralForm:_0x4117dd}}={'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':_0x3b2970=>_0x3b2970%0xa==0x1&&_0x3b2970%0x64!=0xb?0x0:_0x3b2970%0xa>=0x2&&_0x3b2970%0xa<=0x4&&(_0x3b2970%0x64<0xa||_0x3b2970%0x64>=0x14)?0x1:0x2}};_0x52c844['bs']||={'dictionary':{},'getPluralForm':null},_0x52c844['bs']['dictionary']=Object['assign'](_0x52c844['bs']['dictionary'],_0x23fc24),_0x52c844['bs']['getPluralForm']=_0x4117dd;})(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':_0x501510=>0x1!=_0x501510}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d6ce5=>{const {ca:{dictionary:_0x4937a9,getPluralForm:_0x4d40fb}}={'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':_0x5da9cd=>0x1!=_0x5da9cd}};_0x3d6ce5['ca']||={'dictionary':{},'getPluralForm':null},_0x3d6ce5['ca']['dictionary']=Object['assign'](_0x3d6ce5['ca']['dictionary'],_0x4937a9),_0x3d6ce5['ca']['getPluralForm']=_0x4d40fb;})(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':_0x11ef31=>0x1==_0x11ef31?0x0:_0x11ef31>=0x2&&_0x11ef31<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x156c79=>{const {cs:{dictionary:_0x5e8a72,getPluralForm:_0x522929}}={'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':_0x3d93df=>0x1==_0x3d93df?0x0:_0x3d93df>=0x2&&_0x3d93df<=0x4?0x1:0x2}};_0x156c79['cs']||={'dictionary':{},'getPluralForm':null},_0x156c79['cs']['dictionary']=Object['assign'](_0x156c79['cs']['dictionary'],_0x5e8a72),_0x156c79['cs']['getPluralForm']=_0x522929;})(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':_0x2a59d5=>0x1!=_0x2a59d5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28f16b=>{const {da:{dictionary:_0xeb0cf5,getPluralForm:_0x1f9ae5}}={'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':_0x1b4c82=>0x1!=_0x1b4c82}};_0x28f16b['da']||={'dictionary':{},'getPluralForm':null},_0x28f16b['da']['dictionary']=Object['assign'](_0x28f16b['da']['dictionary'],_0xeb0cf5),_0x28f16b['da']['getPluralForm']=_0x1f9ae5;})(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':_0x5a1e95=>0x1!=_0x5a1e95}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d00bc=>{const {'de-ch':{dictionary:_0x5524c8,getPluralForm:_0x4557cc}}={'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':_0x5dbc7d=>0x1!=_0x5dbc7d}};_0x4d00bc['de-ch']||={'dictionary':{},'getPluralForm':null},_0x4d00bc['de-ch']['dictionary']=Object['assign'](_0x4d00bc['de-ch']['dictionary'],_0x5524c8),_0x4d00bc['de-ch']['getPluralForm']=_0x4557cc;})(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':_0x37ff27=>0x1!=_0x37ff27}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x154dd0=>{const {de:{dictionary:_0x4c342e,getPluralForm:_0x53673f}}={'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':_0x1c3d9c=>0x1!=_0x1c3d9c}};_0x154dd0['de']||={'dictionary':{},'getPluralForm':null},_0x154dd0['de']['dictionary']=Object['assign'](_0x154dd0['de']['dictionary'],_0x4c342e),_0x154dd0['de']['getPluralForm']=_0x53673f;})(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':_0x5ef758=>0x1!=_0x5ef758}};
|