@ckeditor/ckeditor5-pagination 48.3.0-alpha.1 → 48.3.0-alpha.2
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 _0x37ec5e}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x5aa8de,InputNumberView as _0x31e9e0,View as _0x51933e}from'@ckeditor/ckeditor5-ui';import{Rect as _0x59fe2e,ResizeObserver as _0x112b25,env as _0x1890e3,first as _0xfa701c,global as _0x41f86f,keyCodes as _0x4bb223,logWarning as _0x1708e8,toUnit as _0x13dceb,uid as _0xa227db}from'@ckeditor/ckeditor5-utils';import{debounce as _0x5b89a1}from'es-toolkit/compat';import{IconArrowDown as _0x3d46a3,IconArrowUp as _0x318d33}from'@ckeditor/ckeditor5-icons';var w=class extends _0x37ec5e{['_recalculatePageBreaksDebounced']=_0x5b89a1(()=>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 _0x1708e8('pagination-config-not-found',this['editor']['config']);const _0x4890ca=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x4890ca),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x31ae7,_0x516039,_0x138599)=>{_0x138599&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0xa11b24){const _0x3f0d98='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0xc72c99=0x78df8,_0x5b4e47=window['Date']['now'](),_0x2769db=_0xa11b24['editor'],_0x127615=new window['Promise'](_0x184a6c=>{_0x2769db['once']('ready',_0x184a6c);}),_0x1aa8fb={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x544824=_0x2769db['config']['get']('licenseKey');async function _0x3c36ff(){let _0x5d3e1b,_0x44a495=null,_0xe485d5=null;try{return'GPL'==_0x544824?'NotAllowed':(_0x5d3e1b=_0x5aeafe(),_0x5d3e1b?(_0x5d3e1b['usageEndpoint']&&(_0xe485d5=_0x13dc3f(_0x5d3e1b['usageEndpoint'],_0x5d3e1b['jti'])),await _0x35d0ac()?_0x15e978()?_0x228f14()?'Expired':_0x3d9973()?('evaluation'==_0x5d3e1b['licenseType']&&(_0x44a495=_0x5a0a61('EvaluationLimit')),await _0x4de3fe()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x228f14(){const _0x1aa43f=['evaluation','trial']['includes'](_0x5d3e1b['licenseType'])?_0x5b4e47/0x3e8:0xe10*_0xc72c99;return _0x5d3e1b['exp']<_0x1aa43f;}function _0x15e978(){const _0x29be15=_0x5d3e1b['features'];return!!_0x29be15&&(!!_0x29be15['includes']('*')||!!_0x29be15['includes']('PAG'));}function _0x3d9973(){const _0x7df6b8=_0x5d3e1b['licensedHosts'];if(!_0x7df6b8||0x0==_0x7df6b8['length'])return!0x0;const {hostname:_0x4db5f4}=new URL(window['location']['href']);if(_0x7df6b8['includes'](_0x4db5f4))return!0x0;const _0x426c9e=_0x4db5f4['split']('.');return _0x7df6b8['filter'](_0x580a9d=>_0x580a9d['includes']('*'))['map'](_0x4482c3=>_0x4482c3['split']('.'))['filter'](_0x52e5c8=>_0x52e5c8['length']<=_0x426c9e['length'])['map'](_0x42022b=>Array(_0x426c9e['length']-_0x42022b['length'])['fill']('*'===_0x42022b[0x0]?'*':'')['concat'](_0x42022b))['some'](_0x309dbe=>_0x426c9e['every']((_0xd8d14c,_0x4e769a)=>_0x309dbe[_0x4e769a]===_0xd8d14c||'*'===_0x309dbe[_0x4e769a]));}function _0x4de3fe(){return _0x44a495&&_0xe485d5?new window['Promise']((_0x40d281,_0x3324fa)=>{_0x44a495['then'](_0x40d281,_0x3324fa),_0xe485d5['then'](_0x264024=>{'Valid'!=_0x264024&&_0x40d281(_0x264024);},_0x3324fa);}):_0x44a495||_0xe485d5||'Valid';}}function _0x13dc3f(_0x44a0dc,_0x505d9d){return new window['Promise'](_0x4cc649=>{if(_0x440359())return _0x4cc649('Valid');_0x414b57(),_0x2769db['decorate']('_sendUsageRequest');let _0x250970=!0x1;const _0x228307=_0xa227db();function _0x41d34c(_0x544688){return!!_0x544688&&('object'==typeof _0x544688||'function'==typeof _0x544688)&&'function'==typeof _0x544688['then']&&'function'==typeof _0x544688['catch'];}function _0x264b88(_0x1d3fcb){_0x5da3f2(_0x1d3fcb)['then'](_0x5604bb=>_0x5604bb&&'ok'==_0x5604bb['status']?_0x23b869(_0x3155c5(_0x228307+_0x505d9d))!=_0x5604bb['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5f2a9b=>(_0x3185a1(),_0x5f2a9b),()=>{const _0xb16ef5=_0x59181b();return null==_0xb16ef5?(_0x3185a1(),'Valid'):_0x5b4e47-_0xb16ef5>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4cc649)['catch'](()=>{_0x4cc649('UsageLimit');});const _0x263eae=0x36ee80;function _0x3185a1(){const _0x5451cc='llct-'+_0x23b869(_0x3155c5(_0x44a0dc)),_0x2e714e=_0x3f59f8(_0x23b869(window['Math']['ceil'](_0x5b4e47/_0x263eae)));window['localStorage']['setItem'](_0x5451cc,_0x2e714e);}function _0x59181b(){const _0x115b8a='llct-'+_0x23b869(_0x3155c5(_0x44a0dc)),_0x52a2c5=window['localStorage']['getItem'](_0x115b8a);return _0x52a2c5?window['parseInt'](_0x3f59f8(_0x52a2c5),0x10)*_0x263eae:null;}function _0x5da3f2(_0x21bf20){return new window['Promise']((_0x27a5f9,_0x31cde8)=>{_0x21bf20['then'](_0x27a5f9,_0x31cde8),window['setTimeout'](_0x31cde8,0x1d4c0);});}}_0x2769db['on']('_sendUsageRequest',(_0x452ac8,_0x4bf21c)=>{if(_0x4bf21c[0x0]!=_0x44a0dc)return _0x4cc649('UsageLimit');_0x4bf21c[0x1]={..._0x4bf21c[0x1],'requestId':_0x228307};},{'priority':'high'}),_0x2769db['on']('_sendUsageRequest',_0x348257=>{_0x41d34c(_0x348257['return'])&&(_0x250970=!0x0,_0x264b88(_0x348257['return']));},{'priority':'low'}),_0x127615['then'](()=>{_0x250970||_0x4cc649('UsageLimit');});});function _0x440359(){return'auto'==_0x2769db['editing']['view']['_overlayModeHint'];}function _0x414b57(){_0x2769db['editing']['view']['_overlayModeHint']='auto';}}function _0x5a0a61(_0x5d9ae3){const _0x2d51b1=[new window['Promise'](_0xd7b164=>setTimeout(_0xd7b164,0x93ecc)),_0x127615['then'](()=>new window['Promise'](_0x5b2068=>{let _0x412a4f=0x0;_0x2769db['model']['on']('applyOperation',(_0x3d85ce,_0x1bb878)=>{_0x1bb878[0x0]['isDocumentOperation']&&_0x412a4f++,0x5e8==_0x412a4f&&(_0x5b2068(),_0x3d85ce['off']());});}))];return window['Promise']['race'](_0x2d51b1)['then'](()=>_0x5d9ae3);}async function _0x14c1a1(){await _0x127615,_0x2769db['model']['change']=_0x4e22ec,_0x2769db['model']['enqueueChange']=_0x4e22ec,_0x2769db['enableReadOnlyMode']('model');}function _0x31ccaa(_0x4298d2){const _0x13c916=_0x5d4176();_0x2769db[_0x13c916]='paginationLicenseKey'+_0x4298d2,'Valid'!=_0x4298d2&&_0x14c1a1();}function _0x5d4176(){const _0x26606d=window['String'](window['performance']['now']())['replace']('.','');let _0x3a850e='I';for(let _0x32344f=0x0;_0x32344f<_0x26606d['length'];_0x32344f+=0x2){let _0x24c8aa=window['parseInt'](_0x26606d['substring'](_0x32344f,_0x32344f+0x2));_0x24c8aa>=0x3e&&(_0x24c8aa-=0x3e),_0x3a850e+=_0x3f0d98[_0x24c8aa];}return _0x3a850e;}function _0x5aeafe(){const _0x4de31c=_0x544824['split']('.');if(0x3!=_0x4de31c['length'])return null;return _0x3883e8(_0x4de31c[0x1]);function _0x3883e8(_0x5a379d){const _0x588da5=_0x4ffde5(_0x5a379d);return _0x588da5&&_0x393c8c()?_0x588da5:null;function _0x393c8c(){const _0x209424=_0x588da5['jti'],_0x5a5da0=window['parseInt'](_0x209424['substring'](_0x209424['length']-0x8),0x10),_0x1c4579={..._0x588da5,'jti':_0x209424['substring'](0x0,_0x209424['length']-0x8)};return delete _0x1c4579['vc'],_0x3155c5(_0x1c4579)==_0x5a5da0;}}}async function _0x35d0ac(){let _0x18b3c0=!0x0;try{const [_0x13e4dc,_0x4b6795,_0xcd268a]=_0x544824['split']('.');return _0xc57090(_0x13e4dc),await _0x469478(_0x13e4dc,_0x4b6795,_0xcd268a),_0x18b3c0;}catch{return!0x1;}function _0xc57090(_0x2064df){const _0x1aebec=_0x4ffde5(_0x2064df);_0x1aebec&&'ES256'==_0x1aebec['alg']||(_0x18b3c0=!0x1);}async function _0x469478(_0x2585c9,_0x4b3dd2,_0x961b96){const _0x4bbbaa=window['Uint8Array']['from'](_0x22daab(_0x961b96),_0x491bee=>_0x491bee['charCodeAt'](0x0)),_0x2b0bb7=new window['TextEncoder']()['encode'](_0x2585c9+'.'+_0x4b3dd2),_0x898590=window['crypto']['subtle'];if(!_0x898590)return;const _0x2e353a=await _0x898590['importKey']('jwk',_0x1aa8fb,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x898590['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2e353a,_0x4bbbaa,_0x2b0bb7)||(_0x18b3c0=!0x1);}}function _0x4ffde5(_0x3c44dc){return _0x3c44dc['startsWith']('ey')?JSON['parse'](_0x22daab(_0x3c44dc)):null;}function _0x22daab(_0x26da6d){return window['atob'](_0x26da6d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3155c5(_0x45b40b){let _0x35f59e=0x1505;function _0x408a3e(_0x16cf55){for(let _0x21d832=0x0;_0x21d832<_0x16cf55['length'];_0x21d832++){const _0x44ac1d=_0x16cf55['charCodeAt'](_0x21d832);_0x35f59e=(_0x35f59e<<0x5)+_0x35f59e+_0x44ac1d,_0x35f59e&=_0x35f59e;}}function _0x9aab47(_0x10426c){Array['isArray'](_0x10426c)?_0x10426c['forEach'](_0x9aab47):_0x10426c&&'object'==typeof _0x10426c?Object['entries'](_0x10426c)['sort']()['forEach'](([_0x144780,_0x5ef15d])=>{_0x408a3e(_0x144780),_0x9aab47(_0x5ef15d);}):_0x408a3e(window['String'](_0x10426c));}return _0x9aab47(_0x45b40b),_0x35f59e>>>0x0;}function _0x23b869(_0x56672f){return _0x56672f['toString'](0x10)['padStart'](0x8,'0');}function _0x3f59f8(_0x19e686){return _0x19e686['split']('')['reverse']()['join']('');}function _0x4e22ec(){}_0x31ccaa(await _0x3c36ff());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x4e0656=this['editor'],_0x3cbed9=_0x4e0656['editing']['view'],_0x4669f9=this['_getAttachedDomRoot']();if(!_0x4669f9||!_0x4669f9['hasChildNodes']())return void _0x4e0656['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x120434,pageHeight:_0x59339f}=_0x4e0656['config']['get']('pagination'),{top:_0x3de85c,left:_0x37718b,bottom:_0x1c7fd8,right:_0x414bb0}=this['_configuredPaddings'];this['_pagesContainer']=new _0x51933e(_0x4e0656['locale']);const _0x41cc7e=this['_pagesContainer'];_0x41cc7e['set']('class',''),_0x41cc7e['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x120434,'width':_0x120434,'height':'calc(\x20'+_0x59339f+'\x20-\x20'+_0x3de85c+'\x20-\x20'+_0x1c7fd8+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x414bb0+'\x200\x20'+_0x37718b,'columnGap':'calc('+_0x37718b+'\x20+\x20'+_0x414bb0+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x41cc7e['bindTemplate']['to']('class')}}),_0x41cc7e['render'](),_0x4669f9['parentNode']['insertBefore'](_0x41cc7e['element'],_0x4669f9['nextSibling']),this['listenTo'](_0x3cbed9,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x7450f8 of this['editor']['editing']['view']['domRoots']['values']())if(_0x7450f8['ownerDocument']['body']['contains'](_0x7450f8))return _0x7450f8;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x214055=this['editor']['editing']['view'],_0x253b6b=this['_pagesContainer'],_0x3ce0b8=this['_getAttachedDomRoot']();if(!_0x3ce0b8||!_0x253b6b)return Promise['resolve']();for(_0x253b6b['class']=['ck-reset','ck-pagination-view',..._0x3ce0b8['classList']]['join']('\x20');_0x253b6b['element']['firstChild'];)_0x253b6b['element']['firstChild']['remove']();const _0x230053=Array['from'](_0x214055['domRoots']);_0x230053['sort'](([,_0x4cdf9d],[,_0x10b335])=>_0x4cdf9d['compareDocumentPosition'](_0x10b335)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3ea907,_0x51f3b3]of _0x230053){const _0x1ab6d2=_0x51f3b3['cloneNode'](!0x0);'attributeStyleMap'in _0x1ab6d2&&_0x1ab6d2['attributeStyleMap']['clear'](),_0x1ab6d2['dataset']['rootName']=_0x3ea907,_0x1ab6d2['className']='ck-content\x20ck-pagination_enabled',_0x1ab6d2['removeAttribute']('id'),_0x1ab6d2['tabIndex']=-0x1,_0x253b6b['element']['append'](_0x1ab6d2);}const _0x4b7054=Array['from'](_0x253b6b['element']['querySelectorAll']('img'));return function(_0x45c094){return Promise['all'](_0x45c094['map'](_0x22ddb0=>Promise['race']([k(_0x22ddb0),v(0x3e8)])));}(_0x4b7054)['then'](()=>{for(const _0x450217 of _0x4b7054['filter'](_0x47bbaf=>!_0x47bbaf['closest']('table')))if(_0x450217['offsetParent']){const _0x36bd59=_0x41f86f['window']['getComputedStyle'](_0x450217),_0x30dccb=_0x41f86f['document']['createElement']('span');for(const _0x21da48 of _0x36bd59)_0x30dccb['style']['setProperty'](_0x21da48,_0x36bd59[_0x21da48]);_0x30dccb['style']['backgroundImage']='url(\x20'+_0x450217['src']+'\x20)',_0x30dccb['style']['breakInside']='avoid','PICTURE'==_0x450217['parentElement']?.['tagName']?_0x450217['parentElement']['replaceWith'](_0x30dccb):_0x450217['replaceWith'](_0x30dccb);}return new Promise(_0x522778=>_0x41f86f['window']['requestAnimationFrame'](()=>_0x522778()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x3a6605=this['_pagesContainer']['element'];if(!_0x3a6605['ownerDocument']['body']['contains'](_0x3a6605))return;const _0x408c89=new _0x59fe2e(_0x3a6605)['excludeScrollbarsAndBorders'](),_0x3bd638=Math['floor'](_0x408c89['width']+0x64),_0x1e6c71=_(_0x3a6605,Math['floor'](_0x408c89['left']-_0x3a6605['scrollLeft']),_0x3bd638,_0x408c89['height'])['map'](_0x39e437=>this['_mapPageStarterInfoToPageBreakInfo'](_0x39e437))['filter'](_0x4a3b50=>!0x1!==_0x4a3b50);_0x1e6c71['every'](_0x1480d6=>!!_0x1480d6)&&(this['pageBreaks']=_0x1e6c71);}['_mapPageStarterInfoToPageBreakInfo'](_0x156d95){const _0x2d5624=this['editor']['editing']['view'],_0x1c250a=this['editor']['editing']['mapper'],_0x50baf5=_0x2d5624['domConverter'],_0x2b318e=_0x156d95['path']['shift'](),_0x268f47=this['_pagesContainer']['element']['childNodes'][_0x2b318e]['dataset']['rootName'],_0x191d7f=_0x2d5624['getDomRoot'](_0x268f47);if(!_0x191d7f)return null;const _0x124c4e=function(_0x3df759,_0x1677bc){let _0x14f295=_0x3df759;for(const _0xa9c828 of _0x1677bc['path']){if(!_0x14f295)return null;_0x14f295=_0x14f295['childNodes'][_0xa9c828];}return _0x14f295;}(_0x191d7f,_0x156d95);if(!_0x124c4e)return null;const _0x2ac380=_0x50baf5['domPositionToView'](_0x124c4e,_0x156d95['textOffset']||0x0);return _0x2ac380?'manual'==_0x156d95['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2ac380,_0x124c4e):'text'==_0x156d95['type']&&_0x1c250a['toModelPosition'](_0x2ac380)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2ac380,_0x124c4e,_0x156d95['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2ac380,_0x124c4e,_0x156d95['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x54be15,_0x4e1202){const _0x58cc47=this['editor']['model'],_0x3eb569=this['editor']['editing']['mapper']['toModelElement'](_0x54be15['parent']);return new P({'type':'manual','modelRange':_0x58cc47['createRangeOn'](_0x3eb569),'domNode':_0x4e1202,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x2f56cf,_0x2f85db,_0x4af868){const _0x14aec4=this['editor']['model'],_0x5174ec=this['editor']['editing']['mapper'],_0x4b0931=this['editor']['editing']['view']['domConverter'];if(_0x4af868>=_0x2f85db['length'])return null;const _0xfbfe9e=_0x5174ec['toModelPosition'](_0x2f56cf),_0x1b7f2a=_0x14aec4['createRange'](_0xfbfe9e),_0x33b8e9=_0x5174ec['findMappedViewAncestor'](_0x2f56cf);return new P({'type':'text','modelRange':_0x1b7f2a,'domNode':_0x2f85db,'offset':y(_0x2f85db,_0x4af868,_0x4b0931['mapViewToDom'](_0x33b8e9))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x5d5b64,_0x95948d,_0x32e0dd){const _0x98709e=this['editor']['model'],_0x1c4b14=this['editor']['editing'],_0x4c06f9=_0x1c4b14['mapper'],_0x37a307=_0x1c4b14['view']['domConverter'],_0x1fcfdd=_0x4c06f9['findMappedViewAncestor'](_0x5d5b64),_0x484cac=_0x4c06f9['toModelElement'](_0x1fcfdd);if(!_0x484cac||_0x484cac['is']('rootElement'))return!0x1;const _0x272126=function(_0x5d9c70){const _0x46ab3f=_0x5d9c70['parent'],_0x448289=_0x46ab3f['root']['document']['model'],_0x2c912b=_0x46ab3f['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5c66b2=null;for(const _0x50d646 of _0x2c912b){if(_0x50d646['is']('rootElement'))return _0x5c66b2;if(!_0x448289['createPositionBefore'](_0x50d646)['isTouching'](_0x5d9c70))return _0x5c66b2;_0x5c66b2=_0x50d646;}}(_0x98709e['createPositionBefore'](_0x484cac))||_0x484cac;let _0x2df4ae=_0x4c06f9['toViewElement'](_0x272126),_0x3c6915=_0x98709e['createRangeOn'](_0x272126);const _0x52ca0e=_0x98709e['createPositionBefore'](_0x272126)['nodeBefore'];if(_0x52ca0e&&_0x52ca0e['is']('element','imageBlock')){const _0x592f2d=_0x4c06f9['toViewElement'](_0x52ca0e),_0x187982=_0x37a307['mapViewToDom'](_0x592f2d),_0x5e87de=_0x41f86f['window']['getComputedStyle'](_0x187982)['float'];'left'!=_0x5e87de&&'right'!=_0x5e87de||(_0x3c6915=_0x98709e['createRangeOn'](_0x52ca0e));}for(;_0x2df4ae['parent']!==_0x2df4ae['root']&&0x0===_0x2df4ae['index'];)_0x2df4ae=_0x2df4ae['parent'];const _0xd9ac22=new _0x59fe2e(K(_0x95948d)?_0x95948d:L(_0x95948d)),_0x4efba5=_0x32e0dd?_0xd9ac22['height']-_0x32e0dd:0x0,_0x25557b=_0x37a307['mapViewToDom'](_0x2df4ae),_0x56c715=new _0x59fe2e(_0x25557b);return new P({'type':'element','modelRange':_0x3c6915,'domNode':_0x25557b,'offset':Math['round'](_0x4efba5)||_0x1fcfdd!=b(_0x5d5b64)?_0x4efba5+_0xd9ac22['top']-_0x56c715['top']:0x0});}get['_configuredPaddings'](){const _0x9c7b17=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x9c7b17);}static['_findPageStarterInfos'](_0xd38b4a,_0xf89be2,_0x4b727a,_0x3d29d7,_0x1b3d52){return _(_0xd38b4a,_0xf89be2,_0x4b727a,_0x3d29d7,_0x1b3d52);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xcd8bb4,modelRange:_0x51dec5,domNode:_0x4954a1,offset:_0x41de88}){this['type']=_0xcd8bb4,this['modelRange']=_0x51dec5,this['_domNode']=_0x4954a1,this['_offset']=_0x41de88;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x3c2ce1=new _0x59fe2e(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x3c2ce1['top']+_0x3c2ce1['height']/0x2:_0x3c2ce1['top']+this['_offset'];}};function y(_0x2f6271,_0x3ccea1,_0x77ae92){const _0x4c5f06=L(_0x2f6271),_0x266ac7=function(_0x3103a7){const _0x4b1954=_0x41f86f['document']['createRange']();return _0x4b1954['selectNodeContents'](_0x3103a7),_0x4b1954;}(_0x77ae92);let _0x1d69bc;_0x1d69bc=0x0==_0x3ccea1?N(_0x266ac7['startContainer'],_0x266ac7['startOffset'],_0x2f6271['parentNode'],Array['from'](_0x2f6271['parentNode']['childNodes'])['indexOf'](_0x2f6271)):N(_0x266ac7['startContainer'],_0x266ac7['startOffset'],_0x2f6271,_0x3ccea1);const _0x1d2849=N(_0x2f6271,_0x3ccea1,_0x266ac7['endContainer'],_0x266ac7['endOffset']),_0x2bbfb1=new _0x59fe2e(_0x1d69bc)['bottom'];return(new _0x59fe2e(_0x1d2849)['top']+_0x2bbfb1)/0x2-new _0x59fe2e(_0x4c5f06)['top'];}function b(_0xe3da27){let _0x88a2c9=_0xe3da27['parent'];for(;_0x88a2c9['is']('$text')||_0x88a2c9['is']('attributeElement');)_0x88a2c9=_0x88a2c9['parent'];return _0x88a2c9;}function k(_0x36677b){return _0x36677b['hasAttribute']('width')&&_0x36677b['hasAttribute']('height')?Promise['resolve']():new Promise(_0x2613e2=>{function _0x5a69b5(){_0x36677b['removeEventListener']('load',_0x5a69b5),_0x36677b['removeEventListener']('error',_0x5a69b5),_0x2613e2();}_0x36677b['complete']?_0x2613e2():(_0x36677b['addEventListener']('load',_0x5a69b5),_0x36677b['addEventListener']('error',_0x5a69b5));});}function v(_0x550686){return new Promise(_0x365658=>setTimeout(_0x365658,_0x550686));}function L(_0x281a28){const _0x468e6a=_0x41f86f['document']['createRange']();return _0x468e6a['selectNode'](_0x281a28),_0x468e6a;}function x(_0x55fea8,_0x5792da,_0x4613b3){const _0x562a02=_0x41f86f['document']['createRange']();return _0x562a02['setStart'](_0x55fea8,_0x5792da),_0x562a02['setEnd'](_0x55fea8,_0x4613b3),_0x562a02;}function N(_0x4a362b,_0x1f23f9,_0x4e5e0b,_0x11a282){const _0x171b3b=_0x41f86f['document']['createRange']();return _0x171b3b['setStart'](_0x4a362b,_0x1f23f9),_0x171b3b['setEnd'](_0x4e5e0b,_0x11a282),_0x171b3b;}function _(_0x5b5827,_0x44c3c5,_0x14dd12,_0x13b1fa,_0x764da5){const _0x57a3b7=[];for(const [_0x349aa4,_0x5b8211]of _0x5b5827['childNodes']['entries']()){let _0x5b6ab4=[];K(_0x5b8211)&&_0x5b8211['offsetParent']&&['static','relative']['includes'](_0x41f86f['window']['getComputedStyle'](_0x5b8211)['position'])?_0x5b6ab4=E(_0x5b8211,_0x349aa4,_0x44c3c5,_0x14dd12,_0x13b1fa,_0x764da5):O(_0x5b8211)&&(_0x5b6ab4=S(_0x5b8211,_0x349aa4,_0x44c3c5,_0x14dd12,_0x764da5)),_0x5b6ab4['length']&&(_0x57a3b7['push'](..._0x5b6ab4),_0x44c3c5+=_0x5b6ab4['length']*_0x14dd12,_0x764da5=!0x1);}return _0x57a3b7;}function E(_0x37b83e,_0x3937ea,_0x3c85a7,_0x2a9be2,_0x15f9ba,_0x132a8c){const _0x2d7377=[];var _0x15f86b;if((_0x15f86b=_0x37b83e['previousSibling'])&&K(_0x15f86b)&&Boolean(_0x15f86b['classList']['contains']('page-break')||_0x15f86b['closest']('.page-break'))&&(_0x2d7377['push']({'type':'manual','offset':0x0,'path':[_0x3937ea-0x1]}),_0x132a8c=!0x0),'table-row'==_0x41f86f['window']['getComputedStyle'](_0x37b83e)['display']){let _0x1a4707=0x0,_0x30a7d3=!0x1;for(const _0x1c453c of _0x37b83e['getClientRects']())_0x1a4707+=_0x1c453c['height'],_0x1c453c['left']>=_0x3c85a7&&(_0x30a7d3=!0x0);if(_0x1a4707<_0x15f9ba&&_0x30a7d3)return _0x132a8c||_0x2d7377['push']({'type':'element','offset':0x0,'path':[_0x3937ea]}),_0x2d7377;}const _0x4cd95b=_0x37b83e['closest']('figure.image');if(_0x4cd95b&&function(_0x5be2f6){let _0x5a2ac8=!0x1;const _0x4b9e50=_0x5be2f6['parentElement']['dataset']['rootName'],_0x33b21e=_0x5be2f6['nextElementSibling'],_0x5c83d2=_0x5be2f6['previousElementSibling'],_0x59f2b5=_0x33b21e&&_0x41f86f['window']['getComputedStyle'](_0x33b21e)['float'],_0x2965b2=_0x33b21e&&'ck-fake-selection-container'===_0x33b21e['className'];return!_0x4b9e50||_0x33b21e||_0x5c83d2||(_0x5a2ac8=!0x0),_0x4b9e50&&!_0x5c83d2&&_0x2965b2&&(_0x5a2ac8=!0x0),_0x4b9e50&&!_0x5c83d2&&'none'!==_0x59f2b5&&(_0x5a2ac8=!0x0),!_0x5a2ac8;}(_0x4cd95b)){const _0x46724a=_0x41f86f['window']['getComputedStyle'](_0x4cd95b)['float'];if('left'==_0x46724a||'right'==_0x46724a)return _0x2d7377;}const _0x56be11=_(_0x37b83e,_0x3c85a7,_0x2a9be2,_0x15f9ba,_0x132a8c);if(_0x56be11['length']){for(const _0x3ee1da of _0x56be11)_0x2d7377['push']({'type':_0x3ee1da['type'],'offset':_0x3ee1da['offset'],'textOffset':_0x3ee1da['textOffset'],'path':[_0x3937ea,..._0x3ee1da['path']]}),_0x3c85a7+=_0x2a9be2,_0x132a8c=!0x1;return _0x2d7377;}return _0x2d7377['push'](...function(_0x5976b5,_0x1f7659,_0x2a4afa,_0x583faa,_0x31aaee){const _0x1647fc=[];if('table-cell'==_0x41f86f['window']['getComputedStyle'](_0x5976b5)['display'])return[];const _0x78b37=[];for(const _0xa38ed of _0x5976b5['getClientRects']())if(_0xa38ed['left']>=_0x2a4afa){for(const _0x55ddd3 of _0x78b37)_0x55ddd3['height']+=_0xa38ed['height'];_0x78b37['push']({'height':_0xa38ed['height']}),_0x2a4afa+=_0x583faa;}for(const _0x5ce2d0 of _0x78b37)_0x31aaee||_0x1647fc['push']({'type':'element','offset':_0x5ce2d0['height'],'textOffset':0x0,'path':[_0x1f7659]}),_0x31aaee=!0x1;return _0x1647fc;}(_0x37b83e,_0x3937ea,_0x3c85a7,_0x2a9be2,_0x132a8c)),_0x2d7377;}function S(_0x3f58fb,_0x29d13a,_0x27af94,_0x22f817,_0xc333){const _0x1ec627=L(_0x3f58fb),_0x5f4dc4=[];let _0x330630=0x0;for(const _0x5dd23d of _0x1ec627['getClientRects']())if(_0x5dd23d['left']>=_0x27af94){const _0x38dff7=R(_0x3f58fb,_0x330630,_0x27af94,_0x22f817);_0xc333||_0x5f4dc4['push']({'type':'text','path':[_0x29d13a],'textOffset':_0x38dff7}),_0x330630=_0x38dff7,_0x27af94+=_0x22f817,_0xc333=!0x1;}return _0x5f4dc4;}function R(_0x223912,_0x1998d8,_0x1801ee,_0x539928){let _0x494c0e=_0x1998d8,_0x41213e=_0x223912['length'];for(;_0x41213e-_0x494c0e>0x1;){const _0x3300d4=Math['ceil']((_0x494c0e+_0x41213e)/0x2);I(x(_0x223912,_0x494c0e,_0x3300d4),_0x1801ee,_0x539928)?_0x41213e=_0x3300d4:_0x494c0e=_0x3300d4;}return _0x494c0e;}function I(_0x291924,_0x344b7c,_0x405035){for(const _0x4f3965 of _0x291924['getClientRects']())if(_0x4f3965['left']>=_0x344b7c&&_0x4f3965['left']<_0x344b7c+_0x405035)return!0x0;return!0x1;}function K(_0x8aa434){return _0x8aa434['nodeType']==Node['ELEMENT_NODE'];}function O(_0x59b870){return _0x59b870['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x13dceb('px');var U=class extends _0x51933e{constructor(){super();const _0x28e4a7=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x28e4a7['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x28e4a7['if']('isVisible','ck-hidden',_0x44c93f=>!_0x44c93f)],'style':{'left':_0x28e4a7['to']('left',_0x23880c=>A(_0x23880c)),'top':_0x28e4a7['to']('top',_0x58a155=>A(_0x58a155)),'width':_0x28e4a7['to']('width',_0xe54e8d=>A(_0xe54e8d))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x5b4ae2){this['_viewCollection']=_0x5b4ae2['ui']['view']['body'];}['destroy'](){for(const _0xa11ee1 of this['_hiddenLines'])_0xa11ee1['destroy']();}['cleanLines'](){for(const _0x590ed2 of this['_visibleLines'])_0x590ed2['isVisible']=!0x1,this['_hiddenLines']['add'](_0x590ed2);this['_visibleLines']['clear']();}['showLine'](_0x55b665,_0x117879,_0x2ac558,_0x109212){let _0x1c50f2;this['_hiddenLines']['size']?(_0x1c50f2=_0xfa701c(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x1c50f2)):_0x1c50f2=new U(),_0x1c50f2['set']({'pageNumber':_0x109212,'left':_0x55b665,'top':_0x117879,'width':_0x2ac558}),_0x1c50f2['isVisible']=!0x0,this['_viewCollection']['has'](_0x1c50f2)||this['_viewCollection']['add'](_0x1c50f2),this['_visibleLines']['add'](_0x1c50f2);}['setViewCollection'](_0x4554d6){for(const _0x535013 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x535013)&&this['_viewCollection']['remove'](_0x535013);this['_viewCollection']=_0x4554d6;}};const D='ck-pagination_enabled';var B=class extends _0x37ec5e{['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',(_0x1a2235,_0x447fdd,_0x3485a3)=>{_0x3485a3||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x3485a3);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x53c637){if(!this['isEnabled'])return;const _0x298e26=_0x53c637>0x1?this['_getPageBreakLineOffset'](_0x53c637-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x298e26-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x1890e3['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0xac3975=this['editor'],_0xae3cea=this['_getAttachedDomRoot']();_0xae3cea?(this['_scrollableEditingRootDomAncestor']&&_0xac3975['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x127b3a){let _0x5d1681=_0x127b3a;do{_0x5d1681=_0x5d1681['parentElement'];const _0x13fac2=_0x41f86f['window']['getComputedStyle'](_0x5d1681)['overflowY'];if('auto'==_0x13fac2||'scroll'==_0x13fac2)break;}while('BODY'!=_0x5d1681['tagName']);return _0x5d1681;}(_0xae3cea),_0xac3975['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x112b25(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xac3975['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x27e102=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x27e102['ui']['view']['listenTo'](_0x41f86f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x27e102['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4d4cec of this['editor']['editing']['view']['domRoots']['values']())if(_0x4d4cec['ownerDocument']['body']['contains'](_0x4d4cec))return _0x4d4cec;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x2e2df4=this['_getAttachedDomRoot'](),_0x2a0262=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x2e2df4||0x1==_0x2a0262['length'])return void(this['pageNumber']=0x1);const _0x56a91a=new _0x59fe2e(_0x2e2df4)['excludeScrollbarsAndBorders'](),_0x416cdc=new _0x59fe2e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0xec1df6=_0x416cdc['top']+_0x416cdc['height']/0x3;let _0xad0796=!0x1;const _0x2d7b1d=[];for(let _0x380c42=0x1;_0x380c42<_0x2a0262['length'];_0x380c42++){const _0x49db25=this['_getPageBreakLineOffset'](_0x380c42,_0x416cdc);if(!_0x49db25)continue;const _0x3ee870=_0x416cdc['top']+_0x49db25-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x2d7b1d['push']({'pageOffsetTop':_0x3ee870,'domRootRect':_0x56a91a,'domScrollableRect':_0x416cdc,'pageNumber':_0x380c42}),_0x3ee870>_0xec1df6&&!_0xad0796&&(this['pageNumber']=_0x380c42,_0xad0796=!0x0);}this['_renderPageBreakLines'](_0x2d7b1d),_0xad0796||(this['pageNumber']=_0x2a0262['length']);}['_renderPageBreakLines'](_0x555772){const {scrollX:_0x5ed80d,scrollY:_0x22f023}=_0x41f86f['window'];if(_0x555772['length']){for(const {domScrollableRect:_0x1e6ee6,pageOffsetTop:_0x1f8acf,domRootRect:_0x36402a,pageNumber:_0x116f20}of _0x555772)_0x1e6ee6['top']<_0x1f8acf&&_0x1f8acf<_0x1e6ee6['bottom']&&this['linesRepository']['showLine'](_0x36402a['left']+_0x5ed80d,_0x1f8acf+_0x22f023,_0x36402a['width'],_0x116f20+0x1);}}['_getPageBreakLineOffset'](_0x5512af,_0x4d7910=null){const _0x7239ef=this['_paginationLookupPlugin']['pageBreaks'][_0x5512af]['offset'];return _0x7239ef?(_0x4d7910||(_0x4d7910=new _0x59fe2e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x7239ef-_0x4d7910['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4850ac,_0x2fc80c=!0x0){const _0x105ffb=this['editor']['editing']['view'];_0x105ffb['change'](_0x3eb84a=>{for(const _0x1239b3 of _0x105ffb['document']['roots'])_0x2fc80c?_0x3eb84a['addClass'](_0x4850ac,_0x1239b3):_0x3eb84a['removeClass'](_0x4850ac,_0x1239b3);});}};function T(_0x15081d,_0x10468d,..._0x134259){const t=_0x15081d['t'];switch(_0x10468d){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)',..._0x134259);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 _0x10468d;}}var G=class extends _0x37ec5e{['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 _0x19e6ab=this['editor']['plugins']['get']('Pagination'),_0x58d562=this['editor']['plugins']['get'](w),_0x462c5c=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x19e6ab),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x462c5c),this['listenTo'](_0x58d562,'change:pageBreaks',(_0x2a2290,_0x350c2e,_0xa110be,_0x4382ad)=>{this['totalPages']=_0xa110be['length'],this['_updatePageBreakMarkers'](_0xa110be,_0x4382ad);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f0f53=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23b036;for(const _0x2b5a6b in _0x4f0f53){const _0x55cf30=_0x2b5a6b,_0x3ff7ed=_0x4f0f53[_0x55cf30];if('paginationLicenseKeyValid'==_0x3ff7ed||'paginationLicenseKeyInvalid'==_0x3ff7ed||'paginationLicenseKeyExpired'==_0x3ff7ed||'paginationLicenseKeyDomainLimit'==_0x3ff7ed||'paginationLicenseKeyNotAllowed'==_0x3ff7ed||'paginationLicenseKeyEvaluationLimit'==_0x3ff7ed||'paginationLicenseKeyUsageLimit'==_0x3ff7ed){delete _0x4f0f53[_0x55cf30],_0x23b036=_0x3ff7ed,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x23b036&&_0x4f0f53['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x23b036&&_0x4f0f53['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x23b036&&_0x4f0f53['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x23b036&&_0x4f0f53['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x23b036&&_0x4f0f53['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x23b036&&_0x4f0f53['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x4b25ad){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x4b25ad));}['moveSelectionToPage'](_0x5e4e1d){if(!this['isEnabled'])return;const _0x213829=this['editor'],_0x30f4f8=this['editor']['plugins']['get'](w)['pageBreaks'][_0x5e4e1d-0x1];_0x30f4f8&&_0x213829['model']['change'](_0xc054ad=>{switch(_0x30f4f8['type']){case'manual':{const _0xe9ee3b=_0x213829['model']['schema']['getNearestSelectionRange'](_0x30f4f8['modelRange']['end'],'forward');_0xc054ad['setSelection'](_0xe9ee3b);break;}case'element':{const _0x2ddab5=_0x213829['model']['schema']['getNearestSelectionRange'](_0x30f4f8['modelRange']['start'],'forward');_0xc054ad['setSelection'](_0x2ddab5);break;}case'text':{const _0x463c68=_0x30f4f8['modelRange']['start'];if(_0x463c68['textNode']&&'\x20'===_0x463c68['textNode']['data'][_0x463c68['offset']]){const _0x46cec2=_0xc054ad['createPositionAt'](_0x463c68['parent'],_0x463c68['offset']+0x1);_0xc054ad['setSelection'](_0x46cec2);}else _0xc054ad['setSelection'](_0x30f4f8['modelRange']);}}_0x213829['editing']['view']['focus']();});}['goToNextPage'](){const _0x492a2d=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x492a2d),this['scrollToPage'](_0x492a2d);}['goToPreviousPage'](){const _0x4d8bc8=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4d8bc8),this['scrollToPage'](_0x4d8bc8);}['_updatePageBreakMarkers'](_0x17d97b,_0x19e426){const _0x4bd523=this['editor']['model'];this['isEnabled']&&_0x4bd523['change'](_0x55da04=>{for(let _0x3875f8=0x1;_0x3875f8<_0x17d97b['length'];_0x3875f8++){const _0x1c6260=_0x17d97b[_0x3875f8]['modelRange'],_0x2e9ed3='pagination:'+(_0x3875f8+0x1);_0x4bd523['markers']['has'](_0x2e9ed3)?_0x55da04['updateMarker'](_0x2e9ed3,{'range':_0x1c6260}):_0x55da04['addMarker'](_0x2e9ed3,{'range':_0x1c6260,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5e18d9=_0x17d97b['length'];_0x5e18d9<_0x19e426['length'];_0x5e18d9++){const _0x421196='pagination:'+(_0x5e18d9+0x1);_0x4bd523['markers']['has'](_0x421196)&&_0x55da04['removeMarker'](_0x421196);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x45f453=>{_0x45f453['on']('addMarker:pagination',(_0xf8ad29,{markerRange:_0x3936ba,markerName:_0x3e8341},_0x1aa8a2)=>{if(!_0x1aa8a2['options']['pagination'])return;if(!_0x1aa8a2['consumable']['consume'](_0x3936ba,_0xf8ad29['name']))return;const _0x208207=_0x3936ba['getContainedElement']();let _0x400f2c=_0x208207?_0x1aa8a2['mapper']['toViewElement'](_0x208207):null;if(!_0x400f2c){const _0x5b536b=_0x3936ba['start'];if(_0x1aa8a2['schema']['checkChild'](_0x5b536b,'$text')){const _0x27f90d=_0x1aa8a2['mapper']['toViewPosition'](_0x5b536b);_0x400f2c=_0x1aa8a2['writer']['createContainerElement']('span'),_0x400f2c['getFillerOffset']=()=>null,_0x1aa8a2['writer']['insert'](_0x27f90d,_0x400f2c);}else{const _0x41510=_0x5b536b['nodeAfter'];_0x400f2c=_0x1aa8a2['mapper']['toViewElement'](_0x41510);}}for(;_0x400f2c['parent']!==_0x400f2c['root']&&0x0===_0x400f2c['index'];)_0x400f2c=_0x400f2c['parent'];const _0x3ee165=_0x3e8341['substring'](0xb);_0x400f2c['hasClass']('page-break')||(_0x1aa8a2['writer']['setStyle']('page-break-before','always',_0x400f2c),_0x1aa8a2['writer']['setAttribute']('data-pagination-page',_0x3ee165,_0x400f2c),_0x1aa8a2['mapper']['bindElementToMarker'](_0x400f2c,_0x3e8341)),_0xf8ad29['stop']();});});}['_setupKeystrokes'](){const _0x365cf5=this['editor'];_0x365cf5['keystrokes']['set']('Shift+Pageup',(_0x265862,_0x3135fb)=>{this['goToPreviousPage'](),_0x3135fb();}),_0x365cf5['keystrokes']['set']('Shift+Pagedown',(_0x1d71f3,_0xb7bf78)=>{this['goToNextPage'](),_0xb7bf78();}),_0x365cf5['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x365cf5['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x365cf5['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x365cf5['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x51410a){return _0x51410a<0x1&&(_0x51410a=0x1),_0x51410a>this['totalPages']&&(_0x51410a=this['totalPages']),_0x51410a;}},V=class extends _0x51933e{['pageNumberView'];constructor(_0x5719f0){super(_0x5719f0);const _0x5c9bb7=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x31e9e0(_0x5719f0,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2b88c3=>T(_0x5719f0,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2b88c3)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x2fa453=>!_0x2fa453),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5c9bb7['if']('isEnabled','ck-disabled',_0x1df856=>!_0x1df856)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5c9bb7['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2416c5=this['pageNumberView']['element'],_0x35700b=_0x440500=>{this['pageNumberView']['element']['value']=String(_0x440500);};_0x35700b(this['pageNumber']),this['on']('change:pageNumber',(_0x5b845d,_0xed3002,_0x4d87b1)=>{_0x35700b(_0x4d87b1);}),this['listenTo'](_0x2416c5,'keydown',(_0x583b05,_0x5b74e1)=>{if('ArrowUp'===_0x5b74e1['key']||'ArrowDown'===_0x5b74e1['key'])return void _0x5b74e1['stopPropagation']();if(_0x5b74e1['keyCode']!==_0x4bb223['enter'])return;_0x5b74e1['preventDefault']();const _0x312303=_0x2416c5['valueAsNumber'];Number['isNaN'](_0x312303)?_0x2416c5['value']=String(this['pageNumber']):(_0x2416c5['checkValidity']()?this['pageNumber']=_0x312303:_0x312303>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2416c5['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2416c5['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2416c5,'blur',()=>{_0x2416c5['value']=String(this['pageNumber']);}),this['listenTo'](_0x2416c5,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x37ec5e{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2503a6=this['editor'],_0x1d2e80=_0x2503a6['plugins']['get']('PaginationEditing');_0x2503a6['ui']['componentFactory']['add']('pageNavigation',_0x55bf44=>{const _0x38e299=new V(_0x55bf44);return _0x38e299['bind']('pageNumber')['to'](_0x1d2e80),_0x38e299['bind']('totalPages')['to'](_0x1d2e80),_0x38e299['bind']('isEnabled')['to'](_0x1d2e80),_0x38e299['on']('navigation',(_0x26281f,_0x44817d)=>{_0x1d2e80['moveSelectionToPage'](_0x44817d),_0x1d2e80['scrollToPage'](_0x44817d);}),_0x38e299;}),_0x2503a6['ui']['componentFactory']['add']('nextPage',_0x1a3ae0=>{const _0xd6369b=new _0x5aa8de(_0x1a3ae0);return _0xd6369b['isEnabled']=!0x0,_0xd6369b['label']=T(_0x2503a6['locale'],'Go\x20to\x20next\x20page'),_0xd6369b['icon']=_0x3d46a3,_0xd6369b['tooltip']=!0x0,_0xd6369b['keystroke']='Shift+PageDown',_0xd6369b['bind']('isEnabled')['to'](_0x1d2e80),this['listenTo'](_0xd6369b,'execute',()=>{_0x1d2e80['goToNextPage']();}),_0xd6369b;}),_0x2503a6['ui']['componentFactory']['add']('previousPage',_0x46eadd=>{const _0x3ef7c5=new _0x5aa8de(_0x46eadd);return _0x3ef7c5['isEnabled']=!0x0,_0x3ef7c5['label']=T(_0x2503a6['locale'],'Go\x20to\x20previous\x20page'),_0x3ef7c5['icon']=_0x318d33,_0x3ef7c5['tooltip']=!0x0,_0x3ef7c5['keystroke']='Shift+PageUp',_0x3ef7c5['bind']('isEnabled')['to'](_0x1d2e80),this['listenTo'](_0x3ef7c5,'execute',()=>{_0x1d2e80['goToPreviousPage']();}),_0x3ef7c5;});}},$=class extends _0x37ec5e{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0xedab33){super(_0xedab33),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x33eafa=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x33eafa),this['bind']('totalPages')['to'](_0x33eafa),_0x1890e3['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x56371f){this['editor']['plugins']['get'](G)['scrollToPage'](_0x56371f);}};export{$ as Pagination,B as PaginationRenderer};
|
|
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};
|
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':_0x5adb7d=>0x1!=_0x5adb7d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31092f=>{const {af:{dictionary:_0x2c4336,getPluralForm:_0x922ed0}}={'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':_0x5515b0=>0x1!=_0x5515b0}};_0x31092f['af']||={'dictionary':{},'getPluralForm':null},_0x31092f['af']['dictionary']=Object['assign'](_0x31092f['af']['dictionary'],_0x2c4336),_0x31092f['af']['getPluralForm']=_0x922ed0;})(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':_0x1daa4f=>0x0==_0x1daa4f?0x0:0x1==_0x1daa4f?0x1:0x2==_0x1daa4f?0x2:_0x1daa4f%0x64>=0x3&&_0x1daa4f%0x64<=0xa?0x3:_0x1daa4f%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36ad52=>{const {ar:{dictionary:_0x5f3edc,getPluralForm:_0x319caa}}={'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':_0x5dd89c=>0x0==_0x5dd89c?0x0:0x1==_0x5dd89c?0x1:0x2==_0x5dd89c?0x2:_0x5dd89c%0x64>=0x3&&_0x5dd89c%0x64<=0xa?0x3:_0x5dd89c%0x64>=0xb?0x4:0x5}};_0x36ad52['ar']||={'dictionary':{},'getPluralForm':null},_0x36ad52['ar']['dictionary']=Object['assign'](_0x36ad52['ar']['dictionary'],_0x5f3edc),_0x36ad52['ar']['getPluralForm']=_0x319caa;})(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':_0x39e272=>0x1!=_0x39e272}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x285cdf=>{const {ast:{dictionary:_0x43991c,getPluralForm:_0x3b6739}}={'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':_0x25f00b=>0x1!=_0x25f00b}};_0x285cdf['ast']||={'dictionary':{},'getPluralForm':null},_0x285cdf['ast']['dictionary']=Object['assign'](_0x285cdf['ast']['dictionary'],_0x43991c),_0x285cdf['ast']['getPluralForm']=_0x3b6739;})(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':_0x435318=>0x1!=_0x435318}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f4125=>{const {az:{dictionary:_0x2026b4,getPluralForm:_0x307cfd}}={'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':_0x47bf50=>0x1!=_0x47bf50}};_0x1f4125['az']||={'dictionary':{},'getPluralForm':null},_0x1f4125['az']['dictionary']=Object['assign'](_0x1f4125['az']['dictionary'],_0x2026b4),_0x1f4125['az']['getPluralForm']=_0x307cfd;})(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':_0x27901f=>_0x27901f%0xa==0x1&&_0x27901f%0x64!=0xb?0x0:_0x27901f%0xa>=0x2&&_0x27901f%0xa<=0x4&&(_0x27901f%0x64<0xa||_0x27901f%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d1011=>{const {be:{dictionary:_0x440ce2,getPluralForm:_0x3ec5c9}}={'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':_0x13a1f3=>_0x13a1f3%0xa==0x1&&_0x13a1f3%0x64!=0xb?0x0:_0x13a1f3%0xa>=0x2&&_0x13a1f3%0xa<=0x4&&(_0x13a1f3%0x64<0xa||_0x13a1f3%0x64>=0x14)?0x1:0x2}};_0x5d1011['be']||={'dictionary':{},'getPluralForm':null},_0x5d1011['be']['dictionary']=Object['assign'](_0x5d1011['be']['dictionary'],_0x440ce2),_0x5d1011['be']['getPluralForm']=_0x3ec5c9;})(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':_0x4627c1=>0x1!=_0x4627c1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3c671f=>{const {bg:{dictionary:_0x34a8e8,getPluralForm:_0x40cb63}}={'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':_0xe9ed90=>0x1!=_0xe9ed90}};_0x3c671f['bg']||={'dictionary':{},'getPluralForm':null},_0x3c671f['bg']['dictionary']=Object['assign'](_0x3c671f['bg']['dictionary'],_0x34a8e8),_0x3c671f['bg']['getPluralForm']=_0x40cb63;})(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':_0x4d78b8=>0x1!=_0x4d78b8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x192bb5=>{const {bn:{dictionary:_0x1cc259,getPluralForm:_0x3f2cee}}={'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':_0x57d80e=>0x1!=_0x57d80e}};_0x192bb5['bn']||={'dictionary':{},'getPluralForm':null},_0x192bb5['bn']['dictionary']=Object['assign'](_0x192bb5['bn']['dictionary'],_0x1cc259),_0x192bb5['bn']['getPluralForm']=_0x3f2cee;})(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':_0x12a11c=>_0x12a11c%0xa==0x1&&_0x12a11c%0x64!=0xb?0x0:_0x12a11c%0xa>=0x2&&_0x12a11c%0xa<=0x4&&(_0x12a11c%0x64<0xa||_0x12a11c%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1862c4=>{const {bs:{dictionary:_0x5d73d1,getPluralForm:_0x55de01}}={'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':_0x28eb23=>_0x28eb23%0xa==0x1&&_0x28eb23%0x64!=0xb?0x0:_0x28eb23%0xa>=0x2&&_0x28eb23%0xa<=0x4&&(_0x28eb23%0x64<0xa||_0x28eb23%0x64>=0x14)?0x1:0x2}};_0x1862c4['bs']||={'dictionary':{},'getPluralForm':null},_0x1862c4['bs']['dictionary']=Object['assign'](_0x1862c4['bs']['dictionary'],_0x5d73d1),_0x1862c4['bs']['getPluralForm']=_0x55de01;})(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':_0x589be0=>0x1!=_0x589be0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2cf79a=>{const {ca:{dictionary:_0x4d6a94,getPluralForm:_0x1b5dbb}}={'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':_0x5e71b3=>0x1!=_0x5e71b3}};_0x2cf79a['ca']||={'dictionary':{},'getPluralForm':null},_0x2cf79a['ca']['dictionary']=Object['assign'](_0x2cf79a['ca']['dictionary'],_0x4d6a94),_0x2cf79a['ca']['getPluralForm']=_0x1b5dbb;})(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':_0x4052f2=>0x1==_0x4052f2?0x0:_0x4052f2>=0x2&&_0x4052f2<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a8b12=>{const {cs:{dictionary:_0x443b3e,getPluralForm:_0x494888}}={'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':_0x20321b=>0x1==_0x20321b?0x0:_0x20321b>=0x2&&_0x20321b<=0x4?0x1:0x2}};_0x2a8b12['cs']||={'dictionary':{},'getPluralForm':null},_0x2a8b12['cs']['dictionary']=Object['assign'](_0x2a8b12['cs']['dictionary'],_0x443b3e),_0x2a8b12['cs']['getPluralForm']=_0x494888;})(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':_0x40cdfe=>0x1!=_0x40cdfe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ed6e6=>{const {da:{dictionary:_0x3c1bd0,getPluralForm:_0x264f92}}={'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':_0x5357b8=>0x1!=_0x5357b8}};_0x1ed6e6['da']||={'dictionary':{},'getPluralForm':null},_0x1ed6e6['da']['dictionary']=Object['assign'](_0x1ed6e6['da']['dictionary'],_0x3c1bd0),_0x1ed6e6['da']['getPluralForm']=_0x264f92;})(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':_0x4f550f=>0x1!=_0x4f550f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6920e4=>{const {'de-ch':{dictionary:_0x1c00b7,getPluralForm:_0xfeddbf}}={'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':_0xa2a2d1=>0x1!=_0xa2a2d1}};_0x6920e4['de-ch']||={'dictionary':{},'getPluralForm':null},_0x6920e4['de-ch']['dictionary']=Object['assign'](_0x6920e4['de-ch']['dictionary'],_0x1c00b7),_0x6920e4['de-ch']['getPluralForm']=_0xfeddbf;})(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':_0x50371d=>0x1!=_0x50371d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc08ddd=>{const {de:{dictionary:_0x20fdd7,getPluralForm:_0x2590f7}}={'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':_0x232cf8=>0x1!=_0x232cf8}};_0xc08ddd['de']||={'dictionary':{},'getPluralForm':null},_0xc08ddd['de']['dictionary']=Object['assign'](_0xc08ddd['de']['dictionary'],_0x20fdd7),_0xc08ddd['de']['getPluralForm']=_0x2590f7;})(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':_0x16f4ea=>0x1!=_0x16f4ea}};
|