@ckeditor/ckeditor5-pagination 48.4.0-alpha.5 → 48.4.0-alpha.6
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 _0x43a69e}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x5138eb,InputNumberView as _0x39b22a,View as _0x1e7982}from'@ckeditor/ckeditor5-ui';import{Rect as _0x2a4ec3,ResizeObserver as _0x50f744,env as _0x43055e,first as _0x31c97d,global as _0x259b5b,keyCodes as _0xa2bb81,logWarning as _0x3be308,toUnit as _0x4ec2bf,uid as _0x28cd60}from'@ckeditor/ckeditor5-utils';import{debounce as _0x3c15cc}from'es-toolkit/compat';import{IconArrowDown as _0x425198,IconArrowUp as _0x524117}from'@ckeditor/ckeditor5-icons';var w=class extends _0x43a69e{_recalculatePageBreaksDebounced=_0x3c15cc(()=>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 _0x3be308('pagination-config-not-found',this['editor']['config']);const _0x1ca7ed=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1ca7ed),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3376d7,_0x48f99f,_0x5804ae)=>{_0x5804ae&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x3d9518){const _0x54b60c='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0xaab41e=0x791a0,_0x10e77d=window['Date']['now'](),_0x10dd4a=_0x3d9518['editor'],_0x337661=new window['Promise'](_0x284824=>{_0x10dd4a['once']('ready',_0x284824);}),_0x4e5a67={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x12ce20=_0x10dd4a['config']['get']('licenseKey');async function _0x4d55a1(){let _0x22ab78,_0x24fb3b=null,_0x3f21c8=null;try{return'GPL'==_0x12ce20?'NotAllowed':(_0x22ab78=_0x8a1a5e(),_0x22ab78?(_0x22ab78['usageEndpoint']&&(_0x3f21c8=_0x587a22(_0x22ab78['usageEndpoint'],_0x22ab78['jti'])),await _0x4b8fd1()?_0x1edc6f()?_0x32dd13()?'Expired':_0x24d0c5()?('evaluation'==_0x22ab78['licenseType']&&(_0x24fb3b=_0x1ce355('EvaluationLimit')),await _0x5da12d()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x32dd13(){const _0x4c1602=['evaluation','trial']['includes'](_0x22ab78['licenseType'])?_0x10e77d/0x3e8:0xe10*_0xaab41e;return _0x22ab78['exp']<_0x4c1602;}function _0x1edc6f(){const _0x133274=_0x22ab78['features'];return!!_0x133274&&(!!_0x133274['includes']('*')||!!_0x133274['includes']('PAG'));}function _0x24d0c5(){const _0x1fdbc1=_0x22ab78['licensedHosts'];if(!_0x1fdbc1||0x0==_0x1fdbc1['length'])return!0x0;const {hostname:_0x39027d}=new URL(window['location']['href']);if(_0x1fdbc1['includes'](_0x39027d))return!0x0;const _0x4c585e=_0x39027d['split']('.');return _0x1fdbc1['filter'](_0x31a0e4=>_0x31a0e4['includes']('*'))['map'](_0x2ef7bc=>_0x2ef7bc['split']('.'))['filter'](_0x1e9f17=>_0x1e9f17['length']<=_0x4c585e['length'])['map'](_0x54ed62=>Array(_0x4c585e['length']-_0x54ed62['length'])['fill']('*'===_0x54ed62[0x0]?'*':'')['concat'](_0x54ed62))['some'](_0x40c2e1=>_0x4c585e['every']((_0x564d3f,_0x4e1b75)=>_0x40c2e1[_0x4e1b75]===_0x564d3f||'*'===_0x40c2e1[_0x4e1b75]));}function _0x5da12d(){return _0x24fb3b&&_0x3f21c8?new window['Promise']((_0x2ca3b0,_0x3ca027)=>{_0x24fb3b['then'](_0x2ca3b0,_0x3ca027),_0x3f21c8['then'](_0x4db80f=>{'Valid'!=_0x4db80f&&_0x2ca3b0(_0x4db80f);},_0x3ca027);}):_0x24fb3b||_0x3f21c8||'Valid';}}function _0x587a22(_0x3c7bce,_0x3e3892){return new window['Promise'](_0x42d349=>{if(_0x10cfa5())return _0x42d349('Valid');_0x46327c(),_0x10dd4a['decorate']('_sendUsageRequest');let _0x56913f=!0x1;const _0x408b8c=_0x28cd60();function _0x2bc196(_0x5c5992){return!!_0x5c5992&&('object'==typeof _0x5c5992||'function'==typeof _0x5c5992)&&'function'==typeof _0x5c5992['then']&&'function'==typeof _0x5c5992['catch'];}function _0x4ac669(_0x5e41b8){_0x26a8c5(_0x5e41b8)['then'](_0x3d7a82=>_0x3d7a82&&'ok'==_0x3d7a82['status']?_0x1223a9(_0x1a9560(_0x408b8c+_0x3e3892))!=_0x3d7a82['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x19a9ba=>(_0x50a541(),_0x19a9ba),()=>{const _0x42137a=_0x2706d0();return null==_0x42137a?(_0x50a541(),'Valid'):_0x10e77d-_0x42137a>0x240c8400?'UsageLimit':'Valid';})['then'](_0x42d349)['catch'](()=>{_0x42d349('UsageLimit');});const _0x20f030=0x36ee80;function _0x50a541(){const _0x4aee63='llct-'+_0x1223a9(_0x1a9560(_0x3c7bce)),_0x1ecd53=_0x40b81f(_0x1223a9(window['Math']['ceil'](_0x10e77d/_0x20f030)));window['localStorage']['setItem'](_0x4aee63,_0x1ecd53);}function _0x2706d0(){const _0xe50c6d='llct-'+_0x1223a9(_0x1a9560(_0x3c7bce)),_0x1de209=window['localStorage']['getItem'](_0xe50c6d);return _0x1de209?window['parseInt'](_0x40b81f(_0x1de209),0x10)*_0x20f030:null;}function _0x26a8c5(_0x2b9679){return new window['Promise']((_0x484ea3,_0x2d1282)=>{_0x2b9679['then'](_0x484ea3,_0x2d1282),window['setTimeout'](_0x2d1282,0x1d4c0);});}}_0x10dd4a['on']('_sendUsageRequest',(_0xde743f,_0x39b85f)=>{if(_0x39b85f[0x0]!=_0x3c7bce)return _0x42d349('UsageLimit');_0x39b85f[0x1]={..._0x39b85f[0x1],'requestId':_0x408b8c};},{'priority':'high'}),_0x10dd4a['on']('_sendUsageRequest',_0x512c27=>{_0x2bc196(_0x512c27['return'])&&(_0x56913f=!0x0,_0x4ac669(_0x512c27['return']));},{'priority':'low'}),_0x337661['then'](()=>{_0x56913f||_0x42d349('UsageLimit');});});function _0x10cfa5(){return'auto'==_0x10dd4a['editing']['view']['_overlayModeHint'];}function _0x46327c(){_0x10dd4a['editing']['view']['_overlayModeHint']='auto';}}function _0x1ce355(_0x4f38f7){const _0x2a786d=[new window['Promise'](_0x3c4f53=>setTimeout(_0x3c4f53,0x93ecc)),_0x337661['then'](()=>new window['Promise'](_0x866a49=>{let _0x1efb73=0x0;_0x10dd4a['model']['on']('applyOperation',(_0x2419fd,_0x1fab1f)=>{_0x1fab1f[0x0]['isDocumentOperation']&&_0x1efb73++,0x5e8==_0x1efb73&&(_0x866a49(),_0x2419fd['off']());});}))];return window['Promise']['race'](_0x2a786d)['then'](()=>_0x4f38f7);}async function _0x40e8d7(){await _0x337661,_0x10dd4a['model']['change']=_0x415a1a,_0x10dd4a['model']['enqueueChange']=_0x415a1a,_0x10dd4a['enableReadOnlyMode']('model');}function _0x15f04(_0x56b6c7){const _0x29eee9=_0x168980();_0x10dd4a[_0x29eee9]='paginationLicenseKey'+_0x56b6c7,'Valid'!=_0x56b6c7&&_0x40e8d7();}function _0x168980(){const _0x574aeb=window['String'](window['performance']['now']())['replace']('.','');let _0x2742d7='I';for(let _0x5c6bf1=0x0;_0x5c6bf1<_0x574aeb['length'];_0x5c6bf1+=0x2){let _0x3d87ce=window['parseInt'](_0x574aeb['substring'](_0x5c6bf1,_0x5c6bf1+0x2));_0x3d87ce>=0x3e&&(_0x3d87ce-=0x3e),_0x2742d7+=_0x54b60c[_0x3d87ce];}return _0x2742d7;}function _0x8a1a5e(){const _0x421af9=_0x12ce20['split']('.');if(0x3!=_0x421af9['length'])return null;return _0x58fdcf(_0x421af9[0x1]);function _0x58fdcf(_0x340568){const _0x3114ae=_0x3c670f(_0x340568);return _0x3114ae&&_0x3922b8()?_0x3114ae:null;function _0x3922b8(){const _0x20958f=_0x3114ae['jti'],_0x47b083=window['parseInt'](_0x20958f['substring'](_0x20958f['length']-0x8),0x10),_0x464909={..._0x3114ae,'jti':_0x20958f['substring'](0x0,_0x20958f['length']-0x8)};return delete _0x464909['vc'],_0x1a9560(_0x464909)==_0x47b083;}}}async function _0x4b8fd1(){let _0x37abd5=!0x0;try{const [_0x48e31f,_0x5c489d,_0x398aad]=_0x12ce20['split']('.');return _0x432ad4(_0x48e31f),await _0x57b795(_0x48e31f,_0x5c489d,_0x398aad),_0x37abd5;}catch{return!0x1;}function _0x432ad4(_0x2a46f9){const _0x2db341=_0x3c670f(_0x2a46f9);_0x2db341&&'ES256'==_0x2db341['alg']||(_0x37abd5=!0x1);}async function _0x57b795(_0xd36bc4,_0x123570,_0x358690){const _0x166043=window['Uint8Array']['from'](_0x17e15d(_0x358690),_0x468ad4=>_0x468ad4['charCodeAt'](0x0)),_0x87915d=new window['TextEncoder']()['encode'](_0xd36bc4+'.'+_0x123570),_0x55acb9=window['crypto']['subtle'];if(!_0x55acb9)return;const _0x257900=await _0x55acb9['importKey']('jwk',_0x4e5a67,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x55acb9['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x257900,_0x166043,_0x87915d)||(_0x37abd5=!0x1);}}function _0x3c670f(_0x85d1a1){return _0x85d1a1['startsWith']('ey')?JSON['parse'](_0x17e15d(_0x85d1a1)):null;}function _0x17e15d(_0x149df4){return window['atob'](_0x149df4['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1a9560(_0x1755b3){let _0x5d9fd0=0x1505;function _0x4b415c(_0xcddc7c){for(let _0x404030=0x0;_0x404030<_0xcddc7c['length'];_0x404030++){const _0xadb416=_0xcddc7c['charCodeAt'](_0x404030);_0x5d9fd0=(_0x5d9fd0<<0x5)+_0x5d9fd0+_0xadb416,_0x5d9fd0&=_0x5d9fd0;}}function _0x18fa30(_0x4b5f26){Array['isArray'](_0x4b5f26)?_0x4b5f26['forEach'](_0x18fa30):_0x4b5f26&&'object'==typeof _0x4b5f26?Object['entries'](_0x4b5f26)['sort']()['forEach'](([_0x304b40,_0x1aefa5])=>{_0x4b415c(_0x304b40),_0x18fa30(_0x1aefa5);}):_0x4b415c(window['String'](_0x4b5f26));}return _0x18fa30(_0x1755b3),_0x5d9fd0>>>0x0;}function _0x1223a9(_0x59c6f0){return _0x59c6f0['toString'](0x10)['padStart'](0x8,'0');}function _0x40b81f(_0x269f47){return _0x269f47['split']('')['reverse']()['join']('');}function _0x415a1a(){}_0x15f04(await _0x4d55a1());}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x488311=this['editor'],_0x136d3f=_0x488311['editing']['view'],_0x437ada=this['_getAttachedDomRoot']();if(!_0x437ada||!_0x437ada['hasChildNodes']())return void _0x488311['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x410a05,pageHeight:_0x55ee1d}=_0x488311['config']['get']('pagination'),{top:_0xc7612b,left:_0x27f5b2,bottom:_0x10bc56,right:_0x41a6bd}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1e7982(_0x488311['locale']);const _0x4b8fd0=this['_pagesContainer'];_0x4b8fd0['set']('class',''),_0x4b8fd0['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x410a05,'width':_0x410a05,'height':'calc(\x20'+_0x55ee1d+'\x20-\x20'+_0xc7612b+'\x20-\x20'+_0x10bc56+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x41a6bd+'\x200\x20'+_0x27f5b2,'columnGap':'calc('+_0x27f5b2+'\x20+\x20'+_0x41a6bd+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x4b8fd0['bindTemplate']['to']('class')}}),_0x4b8fd0['render'](),_0x437ada['parentNode']['insertBefore'](_0x4b8fd0['element'],_0x437ada['nextSibling']),this['listenTo'](_0x136d3f,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x5dce0 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5dce0['ownerDocument']['body']['contains'](_0x5dce0))return _0x5dce0;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x346f15=this['editor']['editing']['view'],_0x2cd5c3=this['_pagesContainer'],_0x1e7a9e=this['_getAttachedDomRoot']();if(!_0x1e7a9e||!_0x2cd5c3)return Promise['resolve']();for(_0x2cd5c3['class']=['ck-reset','ck-pagination-view',..._0x1e7a9e['classList']]['join']('\x20');_0x2cd5c3['element']['firstChild'];)_0x2cd5c3['element']['firstChild']['remove']();const _0x3ad124=Array['from'](_0x346f15['domRoots']);_0x3ad124['sort'](([,_0x36d00c],[,_0x59c62f])=>_0x36d00c['compareDocumentPosition'](_0x59c62f)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x300a78,_0x51e260]of _0x3ad124){const _0xd98af9=_0x51e260['cloneNode'](!0x0);'attributeStyleMap'in _0xd98af9&&_0xd98af9['attributeStyleMap']['clear'](),_0xd98af9['dataset']['rootName']=_0x300a78,_0xd98af9['className']='ck-content\x20ck-pagination_enabled',_0xd98af9['removeAttribute']('id'),_0xd98af9['tabIndex']=-0x1,_0x2cd5c3['element']['append'](_0xd98af9);}const _0x8ed683=Array['from'](_0x2cd5c3['element']['querySelectorAll']('img'));return function(_0xef52f0){return Promise['all'](_0xef52f0['map'](_0x3fb645=>Promise['race']([k(_0x3fb645),v(0x3e8)])));}(_0x8ed683)['then'](()=>{for(const _0x262768 of _0x8ed683['filter'](_0x5aebff=>!_0x5aebff['closest']('table')))if(_0x262768['offsetParent']){const _0x46c830=_0x259b5b['window']['getComputedStyle'](_0x262768),_0x53c35e=_0x259b5b['document']['createElement']('span');for(const _0xba202a of _0x46c830)_0x53c35e['style']['setProperty'](_0xba202a,_0x46c830[_0xba202a]);_0x53c35e['style']['backgroundImage']='url(\x20'+_0x262768['src']+'\x20)',_0x53c35e['style']['breakInside']='avoid','PICTURE'==_0x262768['parentElement']?.['tagName']?_0x262768['parentElement']['replaceWith'](_0x53c35e):_0x262768['replaceWith'](_0x53c35e);}return new Promise(_0xa11fb4=>_0x259b5b['window']['requestAnimationFrame'](()=>_0xa11fb4()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x1fdc11=this['_pagesContainer']['element'];if(!_0x1fdc11['ownerDocument']['body']['contains'](_0x1fdc11))return;const _0x40e39a=new _0x2a4ec3(_0x1fdc11)['excludeScrollbarsAndBorders'](),_0x299cec=Math['floor'](_0x40e39a['width']+0x64),_0x3d0606=_(_0x1fdc11,Math['floor'](_0x40e39a['left']-_0x1fdc11['scrollLeft']),_0x299cec,_0x40e39a['height'])['map'](_0x341e07=>this['_mapPageStarterInfoToPageBreakInfo'](_0x341e07))['filter'](_0x5cce44=>!0x1!==_0x5cce44);_0x3d0606['every'](_0x42a579=>!!_0x42a579)&&(this['pageBreaks']=_0x3d0606);}_mapPageStarterInfoToPageBreakInfo(_0x5d2be3){const _0xd8f351=this['editor']['editing']['view'],_0x16f50c=this['editor']['editing']['mapper'],_0x5156ec=_0xd8f351['domConverter'],_0x4d086b=_0x5d2be3['path']['shift'](),_0x24d823=this['_pagesContainer']['element']['childNodes'][_0x4d086b]['dataset']['rootName'],_0x3608a9=_0xd8f351['getDomRoot'](_0x24d823);if(!_0x3608a9)return null;const _0x508faa=function(_0x2a84da,_0x5387b0){let _0x18dd8b=_0x2a84da;for(const _0x38fec8 of _0x5387b0['path']){if(!_0x18dd8b)return null;_0x18dd8b=_0x18dd8b['childNodes'][_0x38fec8];}return _0x18dd8b;}(_0x3608a9,_0x5d2be3);if(!_0x508faa)return null;const _0x1f13ec=_0x5156ec['domPositionToView'](_0x508faa,_0x5d2be3['textOffset']||0x0);return _0x1f13ec?'manual'==_0x5d2be3['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1f13ec,_0x508faa):'text'==_0x5d2be3['type']&&_0x16f50c['toModelPosition'](_0x1f13ec)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1f13ec,_0x508faa,_0x5d2be3['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1f13ec,_0x508faa,_0x5d2be3['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x9544df,_0x4d4efa){const _0x3c2e68=this['editor']['model'],_0x2a11ad=this['editor']['editing']['mapper']['toModelElement'](_0x9544df['parent']),_0x5df9dd=_0x3c2e68['createRangeOn'](_0x2a11ad);return new P({'type':'manual','modelRange':_0x5df9dd,'domNode':_0x4d4efa,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x3c9acd,_0x5a731f,_0xd3b99){const _0x6c8b6a=this['editor']['model'],_0x1b5e59=this['editor']['editing']['mapper'],_0x38fde4=this['editor']['editing']['view']['domConverter'];if(_0xd3b99>=_0x5a731f['length'])return null;const _0xbf21b2=_0x1b5e59['toModelPosition'](_0x3c9acd),_0xe534be=_0x6c8b6a['createRange'](_0xbf21b2),_0x7c13e5=_0x1b5e59['findMappedViewAncestor'](_0x3c9acd),_0x35aab4=_0x38fde4['mapViewToDom'](_0x7c13e5);return new P({'type':'text','modelRange':_0xe534be,'domNode':_0x5a731f,'offset':y(_0x5a731f,_0xd3b99,_0x35aab4)});}_mapElementPageStarterInfoToPageBreakInfo(_0x2b655f,_0x4f4bcb,_0x176b08){const _0x779cd6=this['editor']['model'],_0x177a6c=this['editor']['editing'],_0x113b78=_0x177a6c['mapper'],_0x16ec04=_0x177a6c['view']['domConverter'],_0x29efe1=_0x113b78['findMappedViewAncestor'](_0x2b655f),_0x452b89=_0x113b78['toModelElement'](_0x29efe1);if(!_0x452b89||_0x452b89['is']('rootElement'))return!0x1;const _0x961232=function(_0x15c0f3){const _0x46c691=_0x15c0f3['parent'],_0x574a52=_0x46c691['root']['document']['model'],_0x4a314e=_0x46c691['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1d7520=null;for(const _0x3d32be of _0x4a314e){if(_0x3d32be['is']('rootElement'))return _0x1d7520;if(!_0x574a52['createPositionBefore'](_0x3d32be)['isTouching'](_0x15c0f3))return _0x1d7520;_0x1d7520=_0x3d32be;}}(_0x779cd6['createPositionBefore'](_0x452b89))||_0x452b89;let _0x46035a=_0x113b78['toViewElement'](_0x961232),_0x4e58c2=_0x779cd6['createRangeOn'](_0x961232);const _0x1da4aa=_0x779cd6['createPositionBefore'](_0x961232)['nodeBefore'];if(_0x1da4aa&&_0x1da4aa['is']('element','imageBlock')){const _0x519842=_0x113b78['toViewElement'](_0x1da4aa),_0xc4b9d8=_0x16ec04['mapViewToDom'](_0x519842),_0x2d6da1=_0x259b5b['window']['getComputedStyle'](_0xc4b9d8)['float'];'left'!=_0x2d6da1&&'right'!=_0x2d6da1||(_0x4e58c2=_0x779cd6['createRangeOn'](_0x1da4aa));}for(;_0x46035a['parent']!==_0x46035a['root']&&0x0===_0x46035a['index'];)_0x46035a=_0x46035a['parent'];const _0x37e846=new _0x2a4ec3(K(_0x4f4bcb)?_0x4f4bcb:L(_0x4f4bcb)),_0x10ab72=_0x176b08?_0x37e846['height']-_0x176b08:0x0,_0x41cdc1=_0x16ec04['mapViewToDom'](_0x46035a),_0x29fee4=new _0x2a4ec3(_0x41cdc1);return new P({'type':'element','modelRange':_0x4e58c2,'domNode':_0x41cdc1,'offset':Math['round'](_0x10ab72)||_0x29efe1!=b(_0x2b655f)?_0x10ab72+_0x37e846['top']-_0x29fee4['top']:0x0});}get['_configuredPaddings'](){const _0x1a26f6=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1a26f6);}static _findPageStarterInfos(_0x2663a1,_0x33ca6e,_0x33121f,_0x1cfee6,_0x3ae66e){return _(_0x2663a1,_0x33ca6e,_0x33121f,_0x1cfee6,_0x3ae66e);}},P=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x3cd272,modelRange:_0x4ae1d6,domNode:_0x8f2875,offset:_0x263b46}){this['type']=_0x3cd272,this['modelRange']=_0x4ae1d6,this['_domNode']=_0x8f2875,this['_offset']=_0x263b46;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x278708=new _0x2a4ec3(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x278708['top']+_0x278708['height']/0x2:_0x278708['top']+this['_offset'];}};function y(_0x6def87,_0x4aa418,_0x37a53c){const _0x2146c5=L(_0x6def87),_0x320051=function(_0x592874){const _0x5bd5cb=_0x259b5b['document']['createRange']();return _0x5bd5cb['selectNodeContents'](_0x592874),_0x5bd5cb;}(_0x37a53c);let _0x2b3129;_0x2b3129=0x0==_0x4aa418?N(_0x320051['startContainer'],_0x320051['startOffset'],_0x6def87['parentNode'],Array['from'](_0x6def87['parentNode']['childNodes'])['indexOf'](_0x6def87)):N(_0x320051['startContainer'],_0x320051['startOffset'],_0x6def87,_0x4aa418);const _0x1da119=N(_0x6def87,_0x4aa418,_0x320051['endContainer'],_0x320051['endOffset']),_0x3e85ab=new _0x2a4ec3(_0x2b3129)['bottom'];return(new _0x2a4ec3(_0x1da119)['top']+_0x3e85ab)/0x2-new _0x2a4ec3(_0x2146c5)['top'];}function b(_0x266b12){let _0x4fba74=_0x266b12['parent'];for(;_0x4fba74['is']('$text')||_0x4fba74['is']('attributeElement');)_0x4fba74=_0x4fba74['parent'];return _0x4fba74;}function k(_0x3b5ca6){return _0x3b5ca6['hasAttribute']('width')&&_0x3b5ca6['hasAttribute']('height')?Promise['resolve']():new Promise(_0x2a5344=>{function _0x234e08(){_0x3b5ca6['removeEventListener']('load',_0x234e08),_0x3b5ca6['removeEventListener']('error',_0x234e08),_0x2a5344();}_0x3b5ca6['complete']?_0x2a5344():(_0x3b5ca6['addEventListener']('load',_0x234e08),_0x3b5ca6['addEventListener']('error',_0x234e08));});}function v(_0x1ea2d1){return new Promise(_0x5a95f7=>setTimeout(_0x5a95f7,_0x1ea2d1));}function L(_0x390aa9){const _0x5b6c0b=_0x259b5b['document']['createRange']();return _0x5b6c0b['selectNode'](_0x390aa9),_0x5b6c0b;}function x(_0x261114,_0x2e7eea,_0x5bbbaa){const _0x2f4498=_0x259b5b['document']['createRange']();return _0x2f4498['setStart'](_0x261114,_0x2e7eea),_0x2f4498['setEnd'](_0x261114,_0x5bbbaa),_0x2f4498;}function N(_0x1f2b51,_0x5b439a,_0x1a1072,_0x560b2e){const _0x2c75dc=_0x259b5b['document']['createRange']();return _0x2c75dc['setStart'](_0x1f2b51,_0x5b439a),_0x2c75dc['setEnd'](_0x1a1072,_0x560b2e),_0x2c75dc;}function _(_0x113369,_0x42dc07,_0x36348e,_0x358af6,_0x26c45e){const _0x180cce=[];for(const [_0x20a551,_0x12014b]of _0x113369['childNodes']['entries']()){let _0x32b8b2=[];K(_0x12014b)&&_0x12014b['offsetParent']&&['static','relative']['includes'](_0x259b5b['window']['getComputedStyle'](_0x12014b)['position'])?_0x32b8b2=E(_0x12014b,_0x20a551,_0x42dc07,_0x36348e,_0x358af6,_0x26c45e):O(_0x12014b)&&(_0x32b8b2=S(_0x12014b,_0x20a551,_0x42dc07,_0x36348e,_0x26c45e)),_0x32b8b2['length']&&(_0x180cce['push'](..._0x32b8b2),_0x42dc07+=_0x32b8b2['length']*_0x36348e,_0x26c45e=!0x1);}return _0x180cce;}function E(_0x5b63e7,_0x3c1d90,_0x4a9d59,_0x5498e0,_0x5691c9,_0x317730){const _0x2e42b8=[];var _0x15d714;if((_0x15d714=_0x5b63e7['previousSibling'])&&K(_0x15d714)&&Boolean(_0x15d714['classList']['contains']('page-break')||_0x15d714['closest']('.page-break'))&&(_0x2e42b8['push']({'type':'manual','offset':0x0,'path':[_0x3c1d90-0x1]}),_0x317730=!0x0),'table-row'==_0x259b5b['window']['getComputedStyle'](_0x5b63e7)['display']){let _0x2a2416=0x0,_0x1c0a1a=!0x1;for(const _0x4b698a of _0x5b63e7['getClientRects']())_0x2a2416+=_0x4b698a['height'],_0x4b698a['left']>=_0x4a9d59&&(_0x1c0a1a=!0x0);if(_0x2a2416<_0x5691c9&&_0x1c0a1a)return _0x317730||_0x2e42b8['push']({'type':'element','offset':0x0,'path':[_0x3c1d90]}),_0x2e42b8;}const _0x2acb4b=_0x5b63e7['closest']('figure.image');if(_0x2acb4b&&function(_0x18d3f8){let _0x3ada8d=!0x1;const _0xf5998a=_0x18d3f8['parentElement']['dataset']['rootName'],_0x431733=_0x18d3f8['nextElementSibling'],_0x33244b=_0x18d3f8['previousElementSibling'],_0x24913c=_0x431733&&_0x259b5b['window']['getComputedStyle'](_0x431733)['float'],_0x550dbb=_0x431733&&'ck-fake-selection-container'===_0x431733['className'];return!_0xf5998a||_0x431733||_0x33244b||(_0x3ada8d=!0x0),_0xf5998a&&!_0x33244b&&_0x550dbb&&(_0x3ada8d=!0x0),_0xf5998a&&!_0x33244b&&'none'!==_0x24913c&&(_0x3ada8d=!0x0),!_0x3ada8d;}(_0x2acb4b)){const _0x2e8faa=_0x259b5b['window']['getComputedStyle'](_0x2acb4b)['float'];if('left'==_0x2e8faa||'right'==_0x2e8faa)return _0x2e42b8;}const _0x4f79f7=_(_0x5b63e7,_0x4a9d59,_0x5498e0,_0x5691c9,_0x317730);if(_0x4f79f7['length']){for(const _0x3ba834 of _0x4f79f7)_0x2e42b8['push']({'type':_0x3ba834['type'],'offset':_0x3ba834['offset'],'textOffset':_0x3ba834['textOffset'],'path':[_0x3c1d90,..._0x3ba834['path']]}),_0x4a9d59+=_0x5498e0;return _0x2e42b8;}return _0x2e42b8['push'](...function(_0x2d2483,_0x1861b3,_0x26610f,_0x445dfb,_0x1de847){const _0x2e0af3=[];if('table-cell'==_0x259b5b['window']['getComputedStyle'](_0x2d2483)['display'])return[];const _0x48ae50=[];for(const _0x3b20f0 of _0x2d2483['getClientRects']())if(_0x3b20f0['left']>=_0x26610f){for(const _0x3820c0 of _0x48ae50)_0x3820c0['height']+=_0x3b20f0['height'];_0x48ae50['push']({'height':_0x3b20f0['height']}),_0x26610f+=_0x445dfb;}for(const _0x210ee0 of _0x48ae50)_0x1de847||_0x2e0af3['push']({'type':'element','offset':_0x210ee0['height'],'textOffset':0x0,'path':[_0x1861b3]}),_0x1de847=!0x1;return _0x2e0af3;}(_0x5b63e7,_0x3c1d90,_0x4a9d59,_0x5498e0,_0x317730)),_0x2e42b8;}function S(_0x332d3f,_0x395aad,_0x5a2a80,_0x37ebd2,_0x1506d3){const _0x23ce3a=L(_0x332d3f),_0x568e47=[];let _0x331d9f=0x0;for(const _0x48d20b of _0x23ce3a['getClientRects']())if(_0x48d20b['left']>=_0x5a2a80){const _0x51ec40=R(_0x332d3f,_0x331d9f,_0x5a2a80,_0x37ebd2);_0x1506d3||_0x568e47['push']({'type':'text','path':[_0x395aad],'textOffset':_0x51ec40}),_0x331d9f=_0x51ec40,_0x5a2a80+=_0x37ebd2,_0x1506d3=!0x1;}return _0x568e47;}function R(_0x1958ad,_0x4d6870,_0xc1a385,_0x294fb8){let _0x11d717=_0x4d6870,_0x2f03e8=_0x1958ad['length'];for(;_0x2f03e8-_0x11d717>0x1;){const _0x1e6063=Math['ceil']((_0x11d717+_0x2f03e8)/0x2);I(x(_0x1958ad,_0x11d717,_0x1e6063),_0xc1a385,_0x294fb8)?_0x2f03e8=_0x1e6063:_0x11d717=_0x1e6063;}return _0x11d717;}function I(_0x56f762,_0x3dd74e,_0x13853f){for(const _0x3a80ce of _0x56f762['getClientRects']())if(_0x3a80ce['left']>=_0x3dd74e&&_0x3a80ce['left']<_0x3dd74e+_0x13853f)return!0x0;return!0x1;}function K(_0x476859){return _0x476859['nodeType']==Node['ELEMENT_NODE'];}function O(_0x940db3){return _0x940db3['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x4ec2bf('px');var U=class extends _0x1e7982{constructor(){super();const _0x1b0177=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1b0177['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1b0177['if']('isVisible','ck-hidden',_0x4ea47a=>!_0x4ea47a)],'style':{'left':_0x1b0177['to']('left',_0x6f9af4=>A(_0x6f9af4)),'top':_0x1b0177['to']('top',_0x5ec485=>A(_0x5ec485)),'width':_0x1b0177['to']('width',_0xdab58=>A(_0xdab58))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x48efd5){this['_viewCollection']=_0x48efd5['ui']['view']['body'];}destroy(){for(const _0x1cbf84 of this['_hiddenLines'])_0x1cbf84['destroy']();}['cleanLines'](){for(const _0x26412f of this['_visibleLines'])_0x26412f['isVisible']=!0x1,this['_hiddenLines']['add'](_0x26412f);this['_visibleLines']['clear']();}['showLine'](_0x370f59,_0x48f8d1,_0x3c7a00,_0x2c589b){let _0x2300d5;this['_hiddenLines']['size']?(_0x2300d5=_0x31c97d(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2300d5)):_0x2300d5=new U(),_0x2300d5['set']({'pageNumber':_0x2c589b,'left':_0x370f59,'top':_0x48f8d1,'width':_0x3c7a00}),_0x2300d5['isVisible']=!0x0,this['_viewCollection']['has'](_0x2300d5)||this['_viewCollection']['add'](_0x2300d5),this['_visibleLines']['add'](_0x2300d5);}setViewCollection(_0x551eba){for(const _0x19e8f of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x19e8f)&&this['_viewCollection']['remove'](_0x19e8f);this['_viewCollection']=_0x551eba;}};const D='ck-pagination_enabled';var B=class extends _0x43a69e{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',(_0x1caca2,_0x36557c,_0x4db3de)=>{_0x4db3de||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x4db3de);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x17b3bc){if(!this['isEnabled'])return;const _0x23b148=_0x17b3bc>0x1?this['_getPageBreakLineOffset'](_0x17b3bc-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x23b148-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x43055e['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x2cc984=this['editor'],_0x493af1=this['_getAttachedDomRoot']();_0x493af1?(this['_scrollableEditingRootDomAncestor']&&_0x2cc984['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5546f7){let _0x44956a=_0x5546f7;do{_0x44956a=_0x44956a['parentElement'];const _0x119890=_0x259b5b['window']['getComputedStyle'](_0x44956a)['overflowY'];if('auto'==_0x119890||'scroll'==_0x119890)break;}while('BODY'!=_0x44956a['tagName']);return _0x44956a;}(_0x493af1),_0x2cc984['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x50f744(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2cc984['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x1849ca=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x1849ca['ui']['view']['listenTo'](_0x259b5b['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x1849ca['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x54a858 of this['editor']['editing']['view']['domRoots']['values']())if(_0x54a858['ownerDocument']['body']['contains'](_0x54a858))return _0x54a858;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x3c048b=this['_getAttachedDomRoot'](),_0x223928=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3c048b||0x1==_0x223928['length'])return void(this['pageNumber']=0x1);const _0x3da1d1=new _0x2a4ec3(_0x3c048b)['excludeScrollbarsAndBorders'](),_0x493b54=new _0x2a4ec3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1f236c=_0x493b54['top']+_0x493b54['height']/0x3;let _0x38793c=!0x1;const _0x3c5420=[];for(let _0x5a5ef8=0x1;_0x5a5ef8<_0x223928['length'];_0x5a5ef8++){const _0x2bc6d0=this['_getPageBreakLineOffset'](_0x5a5ef8,_0x493b54);if(!_0x2bc6d0)continue;const _0x5692b5=_0x493b54['top']+_0x2bc6d0-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x3c5420['push']({'pageOffsetTop':_0x5692b5,'domRootRect':_0x3da1d1,'domScrollableRect':_0x493b54,'pageNumber':_0x5a5ef8}),_0x5692b5>_0x1f236c&&!_0x38793c&&(this['pageNumber']=_0x5a5ef8,_0x38793c=!0x0);}this['_renderPageBreakLines'](_0x3c5420),_0x38793c||(this['pageNumber']=_0x223928['length']);}['_renderPageBreakLines'](_0x2f3307){const {scrollX:_0x3ac991,scrollY:_0x3e95bb}=_0x259b5b['window'];if(_0x2f3307['length']){for(const {domScrollableRect:_0x1e18c5,pageOffsetTop:_0x12ecca,domRootRect:_0x54c8fa,pageNumber:_0x11b869}of _0x2f3307)_0x1e18c5['top']<_0x12ecca&&_0x12ecca<_0x1e18c5['bottom']&&this['linesRepository']['showLine'](_0x54c8fa['left']+_0x3ac991,_0x12ecca+_0x3e95bb,_0x54c8fa['width'],_0x11b869+0x1);}}_getPageBreakLineOffset(_0x55cb0c,_0xffba51=null){const _0x49ff3c=this['_paginationLookupPlugin']['pageBreaks'][_0x55cb0c]['offset'];return _0x49ff3c?(_0xffba51||(_0xffba51=new _0x2a4ec3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x49ff3c-_0xffba51['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x46d36d,_0x316771=!0x0){const _0x33e459=this['editor']['editing']['view'];_0x33e459['change'](_0x18f9b7=>{for(const _0x3b0b88 of _0x33e459['document']['roots'])_0x316771?_0x18f9b7['addClass'](_0x46d36d,_0x3b0b88):_0x18f9b7['removeClass'](_0x46d36d,_0x3b0b88);});}};function T(_0x2dfd67,_0x4ef30a,..._0x598d97){const t=_0x2dfd67['t'];switch(_0x4ef30a){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)',..._0x598d97);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 _0x4ef30a;}}var G=class extends _0x43a69e{['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 _0x1ae1d9=this['editor']['plugins']['get']('Pagination'),_0x4d4af4=this['editor']['plugins']['get'](w),_0x3595d4=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x1ae1d9),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3595d4),this['listenTo'](_0x4d4af4,'change:pageBreaks',(_0x5b43ad,_0x424934,_0x363afe,_0x127a6b)=>{this['totalPages']=_0x363afe['length'],this['_updatePageBreakMarkers'](_0x363afe,_0x127a6b);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x658e3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf5a25b;for(const _0x589644 in _0x658e3){const _0x1983c6=_0x589644,_0x30c945=_0x658e3[_0x1983c6];if('paginationLicenseKeyValid'==_0x30c945||'paginationLicenseKeyInvalid'==_0x30c945||'paginationLicenseKeyExpired'==_0x30c945||'paginationLicenseKeyDomainLimit'==_0x30c945||'paginationLicenseKeyNotAllowed'==_0x30c945||'paginationLicenseKeyEvaluationLimit'==_0x30c945||'paginationLicenseKeyUsageLimit'==_0x30c945){delete _0x658e3[_0x1983c6],_0xf5a25b=_0x30c945,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0xf5a25b&&_0x658e3['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0xf5a25b&&_0x658e3['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0xf5a25b&&_0x658e3['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0xf5a25b&&_0x658e3['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0xf5a25b&&_0x658e3['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0xf5a25b&&_0x658e3['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x33c3c4){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x33c3c4));}moveSelectionToPage(_0x2f6b0e){if(!this['isEnabled'])return;const _0x593155=this['editor'],_0xb2d399=this['editor']['plugins']['get'](w)['pageBreaks'][_0x2f6b0e-0x1];_0xb2d399&&_0x593155['model']['change'](_0x10d2ab=>{switch(_0xb2d399['type']){case'manual':{const _0x3d65ce=_0x593155['model']['schema']['getNearestSelectionRange'](_0xb2d399['modelRange']['end'],'forward');_0x10d2ab['setSelection'](_0x3d65ce);break;}case'element':{const _0x43ff3e=_0x593155['model']['schema']['getNearestSelectionRange'](_0xb2d399['modelRange']['start'],'forward');_0x10d2ab['setSelection'](_0x43ff3e);break;}case'text':{const _0x269518=_0xb2d399['modelRange']['start'];if(_0x269518['textNode']&&'\x20'===_0x269518['textNode']['data'][_0x269518['offset']]){const _0x1cb0aa=_0x10d2ab['createPositionAt'](_0x269518['parent'],_0x269518['offset']+0x1);_0x10d2ab['setSelection'](_0x1cb0aa);}else _0x10d2ab['setSelection'](_0xb2d399['modelRange']);}}_0x593155['editing']['view']['focus']();});}goToNextPage(){const _0x50700a=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x50700a),this['scrollToPage'](_0x50700a);}['goToPreviousPage'](){const _0x1808a6=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x1808a6),this['scrollToPage'](_0x1808a6);}_updatePageBreakMarkers(_0x394f0e,_0x33d90d){const _0x126b82=this['editor']['model'];this['isEnabled']&&_0x126b82['change'](_0x216d72=>{for(let _0x57dbd7=0x1;_0x57dbd7<_0x394f0e['length'];_0x57dbd7++){const _0xfe3db8=_0x394f0e[_0x57dbd7]['modelRange'],_0x121cd3='pagination:'+(_0x57dbd7+0x1);_0x126b82['markers']['has'](_0x121cd3)?_0x216d72['updateMarker'](_0x121cd3,{'range':_0xfe3db8}):_0x216d72['addMarker'](_0x121cd3,{'range':_0xfe3db8,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x47969d=_0x394f0e['length'];_0x47969d<_0x33d90d['length'];_0x47969d++){const _0x4bf6f6='pagination:'+(_0x47969d+0x1);_0x126b82['markers']['has'](_0x4bf6f6)&&_0x216d72['removeMarker'](_0x4bf6f6);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x4b5a5e=>{_0x4b5a5e['on']('addMarker:pagination',(_0x1af5fb,{markerRange:_0x5aa59f,markerName:_0x425e22},_0x1102be)=>{if(!_0x1102be['options']['pagination'])return;if(!_0x1102be['consumable']['consume'](_0x5aa59f,_0x1af5fb['name']))return;const _0x15e796=_0x5aa59f['getContainedElement']();let _0x56a6ef=_0x15e796?_0x1102be['mapper']['toViewElement'](_0x15e796):null;if(!_0x56a6ef){const _0x53d1a2=_0x5aa59f['start'];if(_0x1102be['schema']['checkChild'](_0x53d1a2,'$text')){const _0x5b30c0=_0x1102be['mapper']['toViewPosition'](_0x53d1a2);_0x56a6ef=_0x1102be['writer']['createContainerElement']('span'),_0x56a6ef['getFillerOffset']=()=>null,_0x1102be['writer']['insert'](_0x5b30c0,_0x56a6ef);}else{const _0x3f7b26=_0x53d1a2['nodeAfter'];_0x56a6ef=_0x1102be['mapper']['toViewElement'](_0x3f7b26);}}for(;_0x56a6ef['parent']!==_0x56a6ef['root']&&0x0===_0x56a6ef['index'];)_0x56a6ef=_0x56a6ef['parent'];const _0xe9c08=_0x425e22['substring'](0xb);_0x56a6ef['hasClass']('page-break')||(_0x1102be['writer']['setStyle']('page-break-before','always',_0x56a6ef),_0x1102be['writer']['setAttribute']('data-pagination-page',_0xe9c08,_0x56a6ef),_0x1102be['mapper']['bindElementToMarker'](_0x56a6ef,_0x425e22)),_0x1af5fb['stop']();});});}_setupKeystrokes(){const _0x4904fd=this['editor'];_0x4904fd['keystrokes']['set']('Shift+Pageup',(_0x477e69,_0x57398a)=>{this['goToPreviousPage'](),_0x57398a();}),_0x4904fd['keystrokes']['set']('Shift+Pagedown',(_0x327b53,_0x5c697e)=>{this['goToNextPage'](),_0x5c697e();}),_0x4904fd['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x4904fd['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x4904fd['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x4904fd['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x2ff323){return _0x2ff323<0x1&&(_0x2ff323=0x1),_0x2ff323>this['totalPages']&&(_0x2ff323=this['totalPages']),_0x2ff323;}},V=class extends _0x1e7982{['pageNumberView'];constructor(_0x37b1eb){super(_0x37b1eb);const _0x4d13dd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x39b22a(_0x37b1eb,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2e34d0=>T(_0x37b1eb,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2e34d0)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xb4288=>!_0xb4288),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x4d13dd['if']('isEnabled','ck-disabled',_0x831e67=>!_0x831e67)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x4d13dd['to']('totalPages')}]}]});}['render'](){super['render']();const _0x19afc9=this['pageNumberView']['element'],_0x44ba0a=_0x3f2eb7=>{this['pageNumberView']['element']['value']=String(_0x3f2eb7);};_0x44ba0a(this['pageNumber']),this['on']('change:pageNumber',(_0x143746,_0x2abcc9,_0x1b02b7)=>{_0x44ba0a(_0x1b02b7);}),this['listenTo'](_0x19afc9,'keydown',(_0x266da8,_0x59d749)=>{if('ArrowUp'===_0x59d749['key']||'ArrowDown'===_0x59d749['key'])return void _0x59d749['stopPropagation']();if(_0x59d749['keyCode']!==_0xa2bb81['enter'])return;_0x59d749['preventDefault']();const _0xc1bcd7=_0x19afc9['valueAsNumber'];Number['isNaN'](_0xc1bcd7)?_0x19afc9['value']=String(this['pageNumber']):(_0x19afc9['checkValidity']()?this['pageNumber']=_0xc1bcd7:_0xc1bcd7>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x19afc9['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x19afc9['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x19afc9,'blur',()=>{_0x19afc9['value']=String(this['pageNumber']);}),this['listenTo'](_0x19afc9,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x43a69e{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x47cf13=this['editor'],_0x29543e=_0x47cf13['plugins']['get']('PaginationEditing');_0x47cf13['ui']['componentFactory']['add']('pageNavigation',_0x3a4e19=>{const _0xc2cbed=new V(_0x3a4e19);return _0xc2cbed['bind']('pageNumber')['to'](_0x29543e),_0xc2cbed['bind']('totalPages')['to'](_0x29543e),_0xc2cbed['bind']('isEnabled')['to'](_0x29543e),_0xc2cbed['on']('navigation',(_0x41c399,_0x5a5f30)=>{_0x29543e['moveSelectionToPage'](_0x5a5f30),_0x29543e['scrollToPage'](_0x5a5f30);}),_0xc2cbed;}),_0x47cf13['ui']['componentFactory']['add']('nextPage',_0x220572=>{const _0x1c591b=new _0x5138eb(_0x220572);return _0x1c591b['isEnabled']=!0x0,_0x1c591b['label']=T(_0x47cf13['locale'],'Go\x20to\x20next\x20page'),_0x1c591b['icon']=_0x425198,_0x1c591b['tooltip']=!0x0,_0x1c591b['keystroke']='Shift+PageDown',_0x1c591b['bind']('isEnabled')['to'](_0x29543e),this['listenTo'](_0x1c591b,'execute',()=>{_0x29543e['goToNextPage']();}),_0x1c591b;}),_0x47cf13['ui']['componentFactory']['add']('previousPage',_0x1c0d61=>{const _0x4d07a0=new _0x5138eb(_0x1c0d61);return _0x4d07a0['isEnabled']=!0x0,_0x4d07a0['label']=T(_0x47cf13['locale'],'Go\x20to\x20previous\x20page'),_0x4d07a0['icon']=_0x524117,_0x4d07a0['tooltip']=!0x0,_0x4d07a0['keystroke']='Shift+PageUp',_0x4d07a0['bind']('isEnabled')['to'](_0x29543e),this['listenTo'](_0x4d07a0,'execute',()=>{_0x29543e['goToPreviousPage']();}),_0x4d07a0;});}},$=class extends _0x43a69e{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x16f627){super(_0x16f627),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1877b3=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x1877b3),this['bind']('totalPages')['to'](_0x1877b3),_0x43055e['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x12805c){this['editor']['plugins']['get'](G)['scrollToPage'](_0x12805c);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x1d110d}from'@ckeditor/ckeditor5-core';import{ButtonView as _0xa70220,InputNumberView as _0x419233,View as _0x3c5ee7}from'@ckeditor/ckeditor5-ui';import{Rect as _0xb453a0,ResizeObserver as _0x2b1c1e,env as _0x564e00,first as _0x4bea60,global as _0x161004,keyCodes as _0x364e31,logWarning as _0x6e5cad,toUnit as _0x3a6c6a,uid as _0x2a9249}from'@ckeditor/ckeditor5-utils';import{debounce as _0xbd7c49}from'es-toolkit/compat';import{IconArrowDown as _0x3b5f,IconArrowUp as _0x5096f0}from'@ckeditor/ckeditor5-icons';var w=class extends _0x1d110d{_recalculatePageBreaksDebounced=_0xbd7c49(()=>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 _0x6e5cad('pagination-config-not-found',this['editor']['config']);const _0xd7e764=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0xd7e764),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0xb1ee12,_0x4ffa14,_0x4660df)=>{_0x4660df&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x175f40){const _0x19621a='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x294eb7=0x791b8,_0x42a5eb=window['Date']['now'](),_0x98c996=_0x175f40['editor'],_0xd30792=new window['Promise'](_0x3af212=>{_0x98c996['once']('ready',_0x3af212);}),_0x31a4e2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1b0ce8=_0x98c996['config']['get']('licenseKey');async function _0x452ce1(){let _0x39b68d,_0x4bea70=null,_0x5a8f33=null;try{return'GPL'==_0x1b0ce8?'NotAllowed':(_0x39b68d=_0x40befb(),_0x39b68d?(_0x39b68d['usageEndpoint']&&(_0x5a8f33=_0x30826d(_0x39b68d['usageEndpoint'],_0x39b68d['jti'])),await _0x1924af()?_0xe32422()?_0xa8c2de()?'Expired':_0x418fc1()?('evaluation'==_0x39b68d['licenseType']&&(_0x4bea70=_0x5549e2('EvaluationLimit')),await _0x517363()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xa8c2de(){const _0x3536c9=['evaluation','trial']['includes'](_0x39b68d['licenseType'])?_0x42a5eb/0x3e8:0xe10*_0x294eb7;return _0x39b68d['exp']<_0x3536c9;}function _0xe32422(){const _0x117616=_0x39b68d['features'];return!!_0x117616&&(!!_0x117616['includes']('*')||!!_0x117616['includes']('PAG'));}function _0x418fc1(){const _0x171768=_0x39b68d['licensedHosts'];if(!_0x171768||0x0==_0x171768['length'])return!0x0;const {hostname:_0x2570cc}=new URL(window['location']['href']);if(_0x171768['includes'](_0x2570cc))return!0x0;const _0x25d792=_0x2570cc['split']('.');return _0x171768['filter'](_0x598772=>_0x598772['includes']('*'))['map'](_0x425043=>_0x425043['split']('.'))['filter'](_0x524436=>_0x524436['length']<=_0x25d792['length'])['map'](_0x5625e3=>Array(_0x25d792['length']-_0x5625e3['length'])['fill']('*'===_0x5625e3[0x0]?'*':'')['concat'](_0x5625e3))['some'](_0x240af0=>_0x25d792['every']((_0xb24e08,_0x107bfa)=>_0x240af0[_0x107bfa]===_0xb24e08||'*'===_0x240af0[_0x107bfa]));}function _0x517363(){return _0x4bea70&&_0x5a8f33?new window['Promise']((_0x4dbd41,_0x321d63)=>{_0x4bea70['then'](_0x4dbd41,_0x321d63),_0x5a8f33['then'](_0xb54433=>{'Valid'!=_0xb54433&&_0x4dbd41(_0xb54433);},_0x321d63);}):_0x4bea70||_0x5a8f33||'Valid';}}function _0x30826d(_0x328e52,_0x1b3f39){return new window['Promise'](_0x58cb80=>{if(_0xd2e007())return _0x58cb80('Valid');_0x20e5bc(),_0x98c996['decorate']('_sendUsageRequest');let _0x6d0ef0=!0x1;const _0x396323=_0x2a9249();function _0x2691cd(_0xb66bd7){return!!_0xb66bd7&&('object'==typeof _0xb66bd7||'function'==typeof _0xb66bd7)&&'function'==typeof _0xb66bd7['then']&&'function'==typeof _0xb66bd7['catch'];}function _0x17dfb2(_0x44bc43){_0x39663f(_0x44bc43)['then'](_0x1eaee1=>_0x1eaee1&&'ok'==_0x1eaee1['status']?_0xf42833(_0x5a1721(_0x396323+_0x1b3f39))!=_0x1eaee1['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x468539=>(_0x3da12d(),_0x468539),()=>{const _0x5388de=_0x26ea61();return null==_0x5388de?(_0x3da12d(),'Valid'):_0x42a5eb-_0x5388de>0x240c8400?'UsageLimit':'Valid';})['then'](_0x58cb80)['catch'](()=>{_0x58cb80('UsageLimit');});const _0x215e4e=0x36ee80;function _0x3da12d(){const _0x474745='llct-'+_0xf42833(_0x5a1721(_0x328e52)),_0x4a1f0e=_0x2b72c3(_0xf42833(window['Math']['ceil'](_0x42a5eb/_0x215e4e)));window['localStorage']['setItem'](_0x474745,_0x4a1f0e);}function _0x26ea61(){const _0x440824='llct-'+_0xf42833(_0x5a1721(_0x328e52)),_0x33d7ba=window['localStorage']['getItem'](_0x440824);return _0x33d7ba?window['parseInt'](_0x2b72c3(_0x33d7ba),0x10)*_0x215e4e:null;}function _0x39663f(_0x535d22){return new window['Promise']((_0x2d6fe1,_0x48207e)=>{_0x535d22['then'](_0x2d6fe1,_0x48207e),window['setTimeout'](_0x48207e,0x1d4c0);});}}_0x98c996['on']('_sendUsageRequest',(_0x1cfdc0,_0x5806e7)=>{if(_0x5806e7[0x0]!=_0x328e52)return _0x58cb80('UsageLimit');_0x5806e7[0x1]={..._0x5806e7[0x1],'requestId':_0x396323};},{'priority':'high'}),_0x98c996['on']('_sendUsageRequest',_0x59ec12=>{_0x2691cd(_0x59ec12['return'])&&(_0x6d0ef0=!0x0,_0x17dfb2(_0x59ec12['return']));},{'priority':'low'}),_0xd30792['then'](()=>{_0x6d0ef0||_0x58cb80('UsageLimit');});});function _0xd2e007(){return'auto'==_0x98c996['editing']['view']['_overlayModeHint'];}function _0x20e5bc(){_0x98c996['editing']['view']['_overlayModeHint']='auto';}}function _0x5549e2(_0x2d66b7){const _0x249ab0=[new window['Promise'](_0x14fb76=>setTimeout(_0x14fb76,0x93ecc)),_0xd30792['then'](()=>new window['Promise'](_0x460cea=>{let _0x1ef356=0x0;_0x98c996['model']['on']('applyOperation',(_0x4d9c68,_0x7e244e)=>{_0x7e244e[0x0]['isDocumentOperation']&&_0x1ef356++,0x5e8==_0x1ef356&&(_0x460cea(),_0x4d9c68['off']());});}))];return window['Promise']['race'](_0x249ab0)['then'](()=>_0x2d66b7);}async function _0x6de49c(){await _0xd30792,_0x98c996['model']['change']=_0x128797,_0x98c996['model']['enqueueChange']=_0x128797,_0x98c996['enableReadOnlyMode']('model');}function _0x4ee0fe(_0x187264){const _0x56c2dd=_0x29f3b0();_0x98c996[_0x56c2dd]='paginationLicenseKey'+_0x187264,'Valid'!=_0x187264&&_0x6de49c();}function _0x29f3b0(){const _0xed204b=window['String'](window['performance']['now']())['replace']('.','');let _0x47aab6='I';for(let _0x79ff2c=0x0;_0x79ff2c<_0xed204b['length'];_0x79ff2c+=0x2){let _0x4e2fad=window['parseInt'](_0xed204b['substring'](_0x79ff2c,_0x79ff2c+0x2));_0x4e2fad>=0x3e&&(_0x4e2fad-=0x3e),_0x47aab6+=_0x19621a[_0x4e2fad];}return _0x47aab6;}function _0x40befb(){const _0x4fa04d=_0x1b0ce8['split']('.');if(0x3!=_0x4fa04d['length'])return null;return _0x2252d7(_0x4fa04d[0x1]);function _0x2252d7(_0x2d923e){const _0x89db5d=_0x4811d1(_0x2d923e);return _0x89db5d&&_0x589247()?_0x89db5d:null;function _0x589247(){const _0x27ff88=_0x89db5d['jti'],_0x142b2a=window['parseInt'](_0x27ff88['substring'](_0x27ff88['length']-0x8),0x10),_0x33e8f5={..._0x89db5d,'jti':_0x27ff88['substring'](0x0,_0x27ff88['length']-0x8)};return delete _0x33e8f5['vc'],_0x5a1721(_0x33e8f5)==_0x142b2a;}}}async function _0x1924af(){let _0x34649e=!0x0;try{const [_0x2169b0,_0x4df058,_0x232a7e]=_0x1b0ce8['split']('.');return _0x3ea44f(_0x2169b0),await _0x592d66(_0x2169b0,_0x4df058,_0x232a7e),_0x34649e;}catch{return!0x1;}function _0x3ea44f(_0x155eab){const _0x1ae22c=_0x4811d1(_0x155eab);_0x1ae22c&&'ES256'==_0x1ae22c['alg']||(_0x34649e=!0x1);}async function _0x592d66(_0x4c775f,_0x741507,_0xf190c9){const _0x367c0a=window['Uint8Array']['from'](_0x199701(_0xf190c9),_0x23003c=>_0x23003c['charCodeAt'](0x0)),_0x1d250d=new window['TextEncoder']()['encode'](_0x4c775f+'.'+_0x741507),_0x2e1717=window['crypto']['subtle'];if(!_0x2e1717)return;const _0x4639c9=await _0x2e1717['importKey']('jwk',_0x31a4e2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2e1717['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4639c9,_0x367c0a,_0x1d250d)||(_0x34649e=!0x1);}}function _0x4811d1(_0x202d9c){return _0x202d9c['startsWith']('ey')?JSON['parse'](_0x199701(_0x202d9c)):null;}function _0x199701(_0x49f5b8){return window['atob'](_0x49f5b8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5a1721(_0x2c5849){let _0x135e29=0x1505;function _0x19bf49(_0x34b323){for(let _0x95b4c9=0x0;_0x95b4c9<_0x34b323['length'];_0x95b4c9++){const _0x5cba33=_0x34b323['charCodeAt'](_0x95b4c9);_0x135e29=(_0x135e29<<0x5)+_0x135e29+_0x5cba33,_0x135e29&=_0x135e29;}}function _0x5bb522(_0x47d7b0){Array['isArray'](_0x47d7b0)?_0x47d7b0['forEach'](_0x5bb522):_0x47d7b0&&'object'==typeof _0x47d7b0?Object['entries'](_0x47d7b0)['sort']()['forEach'](([_0x48b7b9,_0x324f2d])=>{_0x19bf49(_0x48b7b9),_0x5bb522(_0x324f2d);}):_0x19bf49(window['String'](_0x47d7b0));}return _0x5bb522(_0x2c5849),_0x135e29>>>0x0;}function _0xf42833(_0x473b99){return _0x473b99['toString'](0x10)['padStart'](0x8,'0');}function _0x2b72c3(_0xba5938){return _0xba5938['split']('')['reverse']()['join']('');}function _0x128797(){}_0x4ee0fe(await _0x452ce1());}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x121921=this['editor'],_0x2ae548=_0x121921['editing']['view'],_0x53ecf1=this['_getAttachedDomRoot']();if(!_0x53ecf1||!_0x53ecf1['hasChildNodes']())return void _0x121921['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x2da148,pageHeight:_0x150b60}=_0x121921['config']['get']('pagination'),{top:_0x31543e,left:_0x37ff3f,bottom:_0x3abac5,right:_0x471c7b}=this['_configuredPaddings'];this['_pagesContainer']=new _0x3c5ee7(_0x121921['locale']);const _0x454c60=this['_pagesContainer'];_0x454c60['set']('class',''),_0x454c60['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x2da148,'width':_0x2da148,'height':'calc(\x20'+_0x150b60+'\x20-\x20'+_0x31543e+'\x20-\x20'+_0x3abac5+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x471c7b+'\x200\x20'+_0x37ff3f,'columnGap':'calc('+_0x37ff3f+'\x20+\x20'+_0x471c7b+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x454c60['bindTemplate']['to']('class')}}),_0x454c60['render'](),_0x53ecf1['parentNode']['insertBefore'](_0x454c60['element'],_0x53ecf1['nextSibling']),this['listenTo'](_0x2ae548,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x1b8554 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1b8554['ownerDocument']['body']['contains'](_0x1b8554))return _0x1b8554;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x56041e=this['editor']['editing']['view'],_0x489868=this['_pagesContainer'],_0x4080b7=this['_getAttachedDomRoot']();if(!_0x4080b7||!_0x489868)return Promise['resolve']();for(_0x489868['class']=['ck-reset','ck-pagination-view',..._0x4080b7['classList']]['join']('\x20');_0x489868['element']['firstChild'];)_0x489868['element']['firstChild']['remove']();const _0x1080ed=Array['from'](_0x56041e['domRoots']);_0x1080ed['sort'](([,_0x173549],[,_0x491314])=>_0x173549['compareDocumentPosition'](_0x491314)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x2bc1bc,_0x391567]of _0x1080ed){const _0x1d5dcf=_0x391567['cloneNode'](!0x0);'attributeStyleMap'in _0x1d5dcf&&_0x1d5dcf['attributeStyleMap']['clear'](),_0x1d5dcf['dataset']['rootName']=_0x2bc1bc,_0x1d5dcf['className']='ck-content\x20ck-pagination_enabled',_0x1d5dcf['removeAttribute']('id'),_0x1d5dcf['tabIndex']=-0x1,_0x489868['element']['append'](_0x1d5dcf);}const _0x444e49=Array['from'](_0x489868['element']['querySelectorAll']('img'));return function(_0x3841b7){return Promise['all'](_0x3841b7['map'](_0x498ad=>Promise['race']([k(_0x498ad),v(0x3e8)])));}(_0x444e49)['then'](()=>{for(const _0x28ac6f of _0x444e49['filter'](_0x2e8a6c=>!_0x2e8a6c['closest']('table')))if(_0x28ac6f['offsetParent']){const _0x2e9c6b=_0x161004['window']['getComputedStyle'](_0x28ac6f),_0x5105ba=_0x161004['document']['createElement']('span');for(const _0x532965 of _0x2e9c6b)_0x5105ba['style']['setProperty'](_0x532965,_0x2e9c6b[_0x532965]);_0x5105ba['style']['backgroundImage']='url(\x20'+_0x28ac6f['src']+'\x20)',_0x5105ba['style']['breakInside']='avoid','PICTURE'==_0x28ac6f['parentElement']?.['tagName']?_0x28ac6f['parentElement']['replaceWith'](_0x5105ba):_0x28ac6f['replaceWith'](_0x5105ba);}return new Promise(_0x4040c1=>_0x161004['window']['requestAnimationFrame'](()=>_0x4040c1()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x4595c1=this['_pagesContainer']['element'];if(!_0x4595c1['ownerDocument']['body']['contains'](_0x4595c1))return;const _0x3ad29c=new _0xb453a0(_0x4595c1)['excludeScrollbarsAndBorders'](),_0x32b9ab=Math['floor'](_0x3ad29c['width']+0x64),_0x2a7efe=_(_0x4595c1,Math['floor'](_0x3ad29c['left']-_0x4595c1['scrollLeft']),_0x32b9ab,_0x3ad29c['height'])['map'](_0x518805=>this['_mapPageStarterInfoToPageBreakInfo'](_0x518805))['filter'](_0xaa4d4c=>!0x1!==_0xaa4d4c);_0x2a7efe['every'](_0x44d64b=>!!_0x44d64b)&&(this['pageBreaks']=_0x2a7efe);}_mapPageStarterInfoToPageBreakInfo(_0x113ba8){const _0x33ffc2=this['editor']['editing']['view'],_0x281300=this['editor']['editing']['mapper'],_0x3b2a58=_0x33ffc2['domConverter'],_0x218275=_0x113ba8['path']['shift'](),_0x1bd0b3=this['_pagesContainer']['element']['childNodes'][_0x218275]['dataset']['rootName'],_0x3d131d=_0x33ffc2['getDomRoot'](_0x1bd0b3);if(!_0x3d131d)return null;const _0x182c69=function(_0x16be1b,_0xb30dcb){let _0x5ccc80=_0x16be1b;for(const _0x1763a8 of _0xb30dcb['path']){if(!_0x5ccc80)return null;_0x5ccc80=_0x5ccc80['childNodes'][_0x1763a8];}return _0x5ccc80;}(_0x3d131d,_0x113ba8);if(!_0x182c69)return null;const _0x4936c5=_0x3b2a58['domPositionToView'](_0x182c69,_0x113ba8['textOffset']||0x0);return _0x4936c5?'manual'==_0x113ba8['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4936c5,_0x182c69):'text'==_0x113ba8['type']&&_0x281300['toModelPosition'](_0x4936c5)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4936c5,_0x182c69,_0x113ba8['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4936c5,_0x182c69,_0x113ba8['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x825ceb,_0x2f3a4a){const _0xe6870b=this['editor']['model'],_0x217998=this['editor']['editing']['mapper']['toModelElement'](_0x825ceb['parent']),_0x1772a0=_0xe6870b['createRangeOn'](_0x217998);return new P({'type':'manual','modelRange':_0x1772a0,'domNode':_0x2f3a4a,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x3c1457,_0xd00a4a,_0x297246){const _0x5ed954=this['editor']['model'],_0x185c2d=this['editor']['editing']['mapper'],_0x434d6b=this['editor']['editing']['view']['domConverter'];if(_0x297246>=_0xd00a4a['length'])return null;const _0x5528ea=_0x185c2d['toModelPosition'](_0x3c1457),_0x46d8ed=_0x5ed954['createRange'](_0x5528ea),_0xf1d12b=_0x185c2d['findMappedViewAncestor'](_0x3c1457),_0x59b35a=_0x434d6b['mapViewToDom'](_0xf1d12b);return new P({'type':'text','modelRange':_0x46d8ed,'domNode':_0xd00a4a,'offset':y(_0xd00a4a,_0x297246,_0x59b35a)});}_mapElementPageStarterInfoToPageBreakInfo(_0x4e586d,_0x4c9db8,_0x315fbc){const _0x127be7=this['editor']['model'],_0x18e5b9=this['editor']['editing'],_0x2b3c10=_0x18e5b9['mapper'],_0x4b4c5a=_0x18e5b9['view']['domConverter'],_0x37e9e9=_0x2b3c10['findMappedViewAncestor'](_0x4e586d),_0x5969cc=_0x2b3c10['toModelElement'](_0x37e9e9);if(!_0x5969cc||_0x5969cc['is']('rootElement'))return!0x1;const _0x1cdc6e=function(_0x4180d7){const _0x3a9b56=_0x4180d7['parent'],_0x4557f1=_0x3a9b56['root']['document']['model'],_0x557a52=_0x3a9b56['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x2d2433=null;for(const _0x4a1aa8 of _0x557a52){if(_0x4a1aa8['is']('rootElement'))return _0x2d2433;if(!_0x4557f1['createPositionBefore'](_0x4a1aa8)['isTouching'](_0x4180d7))return _0x2d2433;_0x2d2433=_0x4a1aa8;}}(_0x127be7['createPositionBefore'](_0x5969cc))||_0x5969cc;let _0xfb8567=_0x2b3c10['toViewElement'](_0x1cdc6e),_0x70e3e4=_0x127be7['createRangeOn'](_0x1cdc6e);const _0x31eee6=_0x127be7['createPositionBefore'](_0x1cdc6e)['nodeBefore'];if(_0x31eee6&&_0x31eee6['is']('element','imageBlock')){const _0x55aef5=_0x2b3c10['toViewElement'](_0x31eee6),_0x4531ef=_0x4b4c5a['mapViewToDom'](_0x55aef5),_0x4c2847=_0x161004['window']['getComputedStyle'](_0x4531ef)['float'];'left'!=_0x4c2847&&'right'!=_0x4c2847||(_0x70e3e4=_0x127be7['createRangeOn'](_0x31eee6));}for(;_0xfb8567['parent']!==_0xfb8567['root']&&0x0===_0xfb8567['index'];)_0xfb8567=_0xfb8567['parent'];const _0x50e983=new _0xb453a0(K(_0x4c9db8)?_0x4c9db8:L(_0x4c9db8)),_0x80fe85=_0x315fbc?_0x50e983['height']-_0x315fbc:0x0,_0x268b62=_0x4b4c5a['mapViewToDom'](_0xfb8567),_0x1598a1=new _0xb453a0(_0x268b62);return new P({'type':'element','modelRange':_0x70e3e4,'domNode':_0x268b62,'offset':Math['round'](_0x80fe85)||_0x37e9e9!=b(_0x4e586d)?_0x80fe85+_0x50e983['top']-_0x1598a1['top']:0x0});}get['_configuredPaddings'](){const _0xe88d76=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xe88d76);}static _findPageStarterInfos(_0x4bbb07,_0x3f76e7,_0x234c4a,_0x3735eb,_0x4fb219){return _(_0x4bbb07,_0x3f76e7,_0x234c4a,_0x3735eb,_0x4fb219);}},P=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x2cdcab,modelRange:_0x27b239,domNode:_0xa8e567,offset:_0x1561db}){this['type']=_0x2cdcab,this['modelRange']=_0x27b239,this['_domNode']=_0xa8e567,this['_offset']=_0x1561db;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x4c862d=new _0xb453a0(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x4c862d['top']+_0x4c862d['height']/0x2:_0x4c862d['top']+this['_offset'];}};function y(_0x474ab7,_0x37fc2e,_0xff1378){const _0x20a813=L(_0x474ab7),_0x3571b5=function(_0x224064){const _0x1288e0=_0x161004['document']['createRange']();return _0x1288e0['selectNodeContents'](_0x224064),_0x1288e0;}(_0xff1378);let _0x4f43e2;_0x4f43e2=0x0==_0x37fc2e?N(_0x3571b5['startContainer'],_0x3571b5['startOffset'],_0x474ab7['parentNode'],Array['from'](_0x474ab7['parentNode']['childNodes'])['indexOf'](_0x474ab7)):N(_0x3571b5['startContainer'],_0x3571b5['startOffset'],_0x474ab7,_0x37fc2e);const _0x3f3bde=N(_0x474ab7,_0x37fc2e,_0x3571b5['endContainer'],_0x3571b5['endOffset']),_0x47100a=new _0xb453a0(_0x4f43e2)['bottom'];return(new _0xb453a0(_0x3f3bde)['top']+_0x47100a)/0x2-new _0xb453a0(_0x20a813)['top'];}function b(_0x194936){let _0x1748ea=_0x194936['parent'];for(;_0x1748ea['is']('$text')||_0x1748ea['is']('attributeElement');)_0x1748ea=_0x1748ea['parent'];return _0x1748ea;}function k(_0x44f553){return _0x44f553['hasAttribute']('width')&&_0x44f553['hasAttribute']('height')?Promise['resolve']():new Promise(_0x54f0e0=>{function _0x359c51(){_0x44f553['removeEventListener']('load',_0x359c51),_0x44f553['removeEventListener']('error',_0x359c51),_0x54f0e0();}_0x44f553['complete']?_0x54f0e0():(_0x44f553['addEventListener']('load',_0x359c51),_0x44f553['addEventListener']('error',_0x359c51));});}function v(_0x35203d){return new Promise(_0x4a79c3=>setTimeout(_0x4a79c3,_0x35203d));}function L(_0x3fad96){const _0x8f6590=_0x161004['document']['createRange']();return _0x8f6590['selectNode'](_0x3fad96),_0x8f6590;}function x(_0x5979ff,_0x4adb39,_0x9e5975){const _0x3844ad=_0x161004['document']['createRange']();return _0x3844ad['setStart'](_0x5979ff,_0x4adb39),_0x3844ad['setEnd'](_0x5979ff,_0x9e5975),_0x3844ad;}function N(_0x11ec29,_0x23d370,_0x4e84bb,_0x30b042){const _0x371b21=_0x161004['document']['createRange']();return _0x371b21['setStart'](_0x11ec29,_0x23d370),_0x371b21['setEnd'](_0x4e84bb,_0x30b042),_0x371b21;}function _(_0x4d6e78,_0x608853,_0x47baa0,_0x244e9d,_0x11e833){const _0x430d29=[];for(const [_0x2302e2,_0x2ae67f]of _0x4d6e78['childNodes']['entries']()){let _0x54fa8b=[];K(_0x2ae67f)&&_0x2ae67f['offsetParent']&&['static','relative']['includes'](_0x161004['window']['getComputedStyle'](_0x2ae67f)['position'])?_0x54fa8b=E(_0x2ae67f,_0x2302e2,_0x608853,_0x47baa0,_0x244e9d,_0x11e833):O(_0x2ae67f)&&(_0x54fa8b=S(_0x2ae67f,_0x2302e2,_0x608853,_0x47baa0,_0x11e833)),_0x54fa8b['length']&&(_0x430d29['push'](..._0x54fa8b),_0x608853+=_0x54fa8b['length']*_0x47baa0,_0x11e833=!0x1);}return _0x430d29;}function E(_0x15d51d,_0x104106,_0x1b85c6,_0x5d78fc,_0x197c11,_0x245edd){const _0x16efcb=[];var _0x3d7559;if((_0x3d7559=_0x15d51d['previousSibling'])&&K(_0x3d7559)&&Boolean(_0x3d7559['classList']['contains']('page-break')||_0x3d7559['closest']('.page-break'))&&(_0x16efcb['push']({'type':'manual','offset':0x0,'path':[_0x104106-0x1]}),_0x245edd=!0x0),'table-row'==_0x161004['window']['getComputedStyle'](_0x15d51d)['display']){let _0x53b8a6=0x0,_0x35d591=!0x1;for(const _0x2413ea of _0x15d51d['getClientRects']())_0x53b8a6+=_0x2413ea['height'],_0x2413ea['left']>=_0x1b85c6&&(_0x35d591=!0x0);if(_0x53b8a6<_0x197c11&&_0x35d591)return _0x245edd||_0x16efcb['push']({'type':'element','offset':0x0,'path':[_0x104106]}),_0x16efcb;}const _0x2c78b0=_0x15d51d['closest']('figure.image');if(_0x2c78b0&&function(_0x284234){let _0x1d4b15=!0x1;const _0xd82e63=_0x284234['parentElement']['dataset']['rootName'],_0x23b945=_0x284234['nextElementSibling'],_0x1ec8f5=_0x284234['previousElementSibling'],_0x360d18=_0x23b945&&_0x161004['window']['getComputedStyle'](_0x23b945)['float'],_0x42b048=_0x23b945&&'ck-fake-selection-container'===_0x23b945['className'];return!_0xd82e63||_0x23b945||_0x1ec8f5||(_0x1d4b15=!0x0),_0xd82e63&&!_0x1ec8f5&&_0x42b048&&(_0x1d4b15=!0x0),_0xd82e63&&!_0x1ec8f5&&'none'!==_0x360d18&&(_0x1d4b15=!0x0),!_0x1d4b15;}(_0x2c78b0)){const _0x49cb80=_0x161004['window']['getComputedStyle'](_0x2c78b0)['float'];if('left'==_0x49cb80||'right'==_0x49cb80)return _0x16efcb;}const _0xf97d09=_(_0x15d51d,_0x1b85c6,_0x5d78fc,_0x197c11,_0x245edd);if(_0xf97d09['length']){for(const _0x57a4bc of _0xf97d09)_0x16efcb['push']({'type':_0x57a4bc['type'],'offset':_0x57a4bc['offset'],'textOffset':_0x57a4bc['textOffset'],'path':[_0x104106,..._0x57a4bc['path']]}),_0x1b85c6+=_0x5d78fc;return _0x16efcb;}return _0x16efcb['push'](...function(_0x5698e3,_0x44fafd,_0x5d8834,_0x2e505b,_0x3fe0c4){const _0x15c9e3=[];if('table-cell'==_0x161004['window']['getComputedStyle'](_0x5698e3)['display'])return[];const _0xf0971f=[];for(const _0x380248 of _0x5698e3['getClientRects']())if(_0x380248['left']>=_0x5d8834){for(const _0x170155 of _0xf0971f)_0x170155['height']+=_0x380248['height'];_0xf0971f['push']({'height':_0x380248['height']}),_0x5d8834+=_0x2e505b;}for(const _0x5ee50c of _0xf0971f)_0x3fe0c4||_0x15c9e3['push']({'type':'element','offset':_0x5ee50c['height'],'textOffset':0x0,'path':[_0x44fafd]}),_0x3fe0c4=!0x1;return _0x15c9e3;}(_0x15d51d,_0x104106,_0x1b85c6,_0x5d78fc,_0x245edd)),_0x16efcb;}function S(_0x58e1aa,_0x32f77a,_0x13b106,_0x13c31e,_0x2775b2){const _0x9a3730=L(_0x58e1aa),_0x427ab3=[];let _0x435be7=0x0;for(const _0x5f0c96 of _0x9a3730['getClientRects']())if(_0x5f0c96['left']>=_0x13b106){const _0x4b52f6=R(_0x58e1aa,_0x435be7,_0x13b106,_0x13c31e);_0x2775b2||_0x427ab3['push']({'type':'text','path':[_0x32f77a],'textOffset':_0x4b52f6}),_0x435be7=_0x4b52f6,_0x13b106+=_0x13c31e,_0x2775b2=!0x1;}return _0x427ab3;}function R(_0x3b3aad,_0x59b7d1,_0x54914e,_0x460f74){let _0x5a990c=_0x59b7d1,_0x35f93a=_0x3b3aad['length'];for(;_0x35f93a-_0x5a990c>0x1;){const _0x58017a=Math['ceil']((_0x5a990c+_0x35f93a)/0x2);I(x(_0x3b3aad,_0x5a990c,_0x58017a),_0x54914e,_0x460f74)?_0x35f93a=_0x58017a:_0x5a990c=_0x58017a;}return _0x5a990c;}function I(_0x4a434b,_0x5b3ccc,_0x31ebb2){for(const _0x536524 of _0x4a434b['getClientRects']())if(_0x536524['left']>=_0x5b3ccc&&_0x536524['left']<_0x5b3ccc+_0x31ebb2)return!0x0;return!0x1;}function K(_0x4c102b){return _0x4c102b['nodeType']==Node['ELEMENT_NODE'];}function O(_0x55ded8){return _0x55ded8['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a6c6a('px');var U=class extends _0x3c5ee7{constructor(){super();const _0x8acfae=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x8acfae['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x8acfae['if']('isVisible','ck-hidden',_0x53139c=>!_0x53139c)],'style':{'left':_0x8acfae['to']('left',_0x382963=>A(_0x382963)),'top':_0x8acfae['to']('top',_0x1beb32=>A(_0x1beb32)),'width':_0x8acfae['to']('width',_0x3330b5=>A(_0x3330b5))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x3ae5b7){this['_viewCollection']=_0x3ae5b7['ui']['view']['body'];}destroy(){for(const _0x258c2f of this['_hiddenLines'])_0x258c2f['destroy']();}['cleanLines'](){for(const _0x40f9fb of this['_visibleLines'])_0x40f9fb['isVisible']=!0x1,this['_hiddenLines']['add'](_0x40f9fb);this['_visibleLines']['clear']();}['showLine'](_0x4fb9d5,_0xd11d55,_0x2889b9,_0x13af93){let _0x493533;this['_hiddenLines']['size']?(_0x493533=_0x4bea60(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x493533)):_0x493533=new U(),_0x493533['set']({'pageNumber':_0x13af93,'left':_0x4fb9d5,'top':_0xd11d55,'width':_0x2889b9}),_0x493533['isVisible']=!0x0,this['_viewCollection']['has'](_0x493533)||this['_viewCollection']['add'](_0x493533),this['_visibleLines']['add'](_0x493533);}setViewCollection(_0x259c97){for(const _0x14be7e of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x14be7e)&&this['_viewCollection']['remove'](_0x14be7e);this['_viewCollection']=_0x259c97;}};const D='ck-pagination_enabled';var B=class extends _0x1d110d{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',(_0xf1ba5e,_0x31ee74,_0x243318)=>{_0x243318||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x243318);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x40ccf2){if(!this['isEnabled'])return;const _0x318064=_0x40ccf2>0x1?this['_getPageBreakLineOffset'](_0x40ccf2-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x318064-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x564e00['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x3e0451=this['editor'],_0x2a0ec8=this['_getAttachedDomRoot']();_0x2a0ec8?(this['_scrollableEditingRootDomAncestor']&&_0x3e0451['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x16756d){let _0x42687f=_0x16756d;do{_0x42687f=_0x42687f['parentElement'];const _0x1b1693=_0x161004['window']['getComputedStyle'](_0x42687f)['overflowY'];if('auto'==_0x1b1693||'scroll'==_0x1b1693)break;}while('BODY'!=_0x42687f['tagName']);return _0x42687f;}(_0x2a0ec8),_0x3e0451['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2b1c1e(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x3e0451['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x19b2d1=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x19b2d1['ui']['view']['listenTo'](_0x161004['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x19b2d1['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x3c7281 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3c7281['ownerDocument']['body']['contains'](_0x3c7281))return _0x3c7281;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x5040e1=this['_getAttachedDomRoot'](),_0x420822=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5040e1||0x1==_0x420822['length'])return void(this['pageNumber']=0x1);const _0x102d47=new _0xb453a0(_0x5040e1)['excludeScrollbarsAndBorders'](),_0x420b1b=new _0xb453a0(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x505b6b=_0x420b1b['top']+_0x420b1b['height']/0x3;let _0x23e840=!0x1;const _0x51bf4c=[];for(let _0x2b052c=0x1;_0x2b052c<_0x420822['length'];_0x2b052c++){const _0x5793ad=this['_getPageBreakLineOffset'](_0x2b052c,_0x420b1b);if(!_0x5793ad)continue;const _0x1ef835=_0x420b1b['top']+_0x5793ad-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x51bf4c['push']({'pageOffsetTop':_0x1ef835,'domRootRect':_0x102d47,'domScrollableRect':_0x420b1b,'pageNumber':_0x2b052c}),_0x1ef835>_0x505b6b&&!_0x23e840&&(this['pageNumber']=_0x2b052c,_0x23e840=!0x0);}this['_renderPageBreakLines'](_0x51bf4c),_0x23e840||(this['pageNumber']=_0x420822['length']);}['_renderPageBreakLines'](_0x46ed47){const {scrollX:_0x5578e6,scrollY:_0x18d5cf}=_0x161004['window'];if(_0x46ed47['length']){for(const {domScrollableRect:_0x3e32f6,pageOffsetTop:_0x4034d9,domRootRect:_0x5e519a,pageNumber:_0x40ea60}of _0x46ed47)_0x3e32f6['top']<_0x4034d9&&_0x4034d9<_0x3e32f6['bottom']&&this['linesRepository']['showLine'](_0x5e519a['left']+_0x5578e6,_0x4034d9+_0x18d5cf,_0x5e519a['width'],_0x40ea60+0x1);}}_getPageBreakLineOffset(_0x45b6d3,_0x203066=null){const _0x44c464=this['_paginationLookupPlugin']['pageBreaks'][_0x45b6d3]['offset'];return _0x44c464?(_0x203066||(_0x203066=new _0xb453a0(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x44c464-_0x203066['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x580c35,_0x5b0c04=!0x0){const _0x32b108=this['editor']['editing']['view'];_0x32b108['change'](_0x1a5df8=>{for(const _0x48115d of _0x32b108['document']['roots'])_0x5b0c04?_0x1a5df8['addClass'](_0x580c35,_0x48115d):_0x1a5df8['removeClass'](_0x580c35,_0x48115d);});}};function T(_0x390fb3,_0x2534e5,..._0x5c1d40){const t=_0x390fb3['t'];switch(_0x2534e5){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)',..._0x5c1d40);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 _0x2534e5;}}var G=class extends _0x1d110d{['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 _0x172c14=this['editor']['plugins']['get']('Pagination'),_0xccd56e=this['editor']['plugins']['get'](w),_0xfac5d0=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x172c14),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0xfac5d0),this['listenTo'](_0xccd56e,'change:pageBreaks',(_0x60778b,_0x43931a,_0xc08f25,_0x5e0518)=>{this['totalPages']=_0xc08f25['length'],this['_updatePageBreakMarkers'](_0xc08f25,_0x5e0518);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7b3597=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x389df3;for(const _0xb3c00 in _0x7b3597){const _0xa3c446=_0xb3c00,_0x123f13=_0x7b3597[_0xa3c446];if('paginationLicenseKeyValid'==_0x123f13||'paginationLicenseKeyInvalid'==_0x123f13||'paginationLicenseKeyExpired'==_0x123f13||'paginationLicenseKeyDomainLimit'==_0x123f13||'paginationLicenseKeyNotAllowed'==_0x123f13||'paginationLicenseKeyEvaluationLimit'==_0x123f13||'paginationLicenseKeyUsageLimit'==_0x123f13){delete _0x7b3597[_0xa3c446],_0x389df3=_0x123f13,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x389df3&&_0x7b3597['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x389df3&&_0x7b3597['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x389df3&&_0x7b3597['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x389df3&&_0x7b3597['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x389df3&&_0x7b3597['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x389df3&&_0x7b3597['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3c3301){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x3c3301));}moveSelectionToPage(_0x5cf1d9){if(!this['isEnabled'])return;const _0x170c24=this['editor'],_0x446628=this['editor']['plugins']['get'](w)['pageBreaks'][_0x5cf1d9-0x1];_0x446628&&_0x170c24['model']['change'](_0x5baa9f=>{switch(_0x446628['type']){case'manual':{const _0x59d615=_0x170c24['model']['schema']['getNearestSelectionRange'](_0x446628['modelRange']['end'],'forward');_0x5baa9f['setSelection'](_0x59d615);break;}case'element':{const _0x373fc7=_0x170c24['model']['schema']['getNearestSelectionRange'](_0x446628['modelRange']['start'],'forward');_0x5baa9f['setSelection'](_0x373fc7);break;}case'text':{const _0x143cc9=_0x446628['modelRange']['start'];if(_0x143cc9['textNode']&&'\x20'===_0x143cc9['textNode']['data'][_0x143cc9['offset']]){const _0x41c568=_0x5baa9f['createPositionAt'](_0x143cc9['parent'],_0x143cc9['offset']+0x1);_0x5baa9f['setSelection'](_0x41c568);}else _0x5baa9f['setSelection'](_0x446628['modelRange']);}}_0x170c24['editing']['view']['focus']();});}goToNextPage(){const _0x23ddbe=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x23ddbe),this['scrollToPage'](_0x23ddbe);}['goToPreviousPage'](){const _0x4942b7=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4942b7),this['scrollToPage'](_0x4942b7);}_updatePageBreakMarkers(_0x10f357,_0x185b70){const _0x256a75=this['editor']['model'];this['isEnabled']&&_0x256a75['change'](_0x5add42=>{for(let _0x252b04=0x1;_0x252b04<_0x10f357['length'];_0x252b04++){const _0x53bfb8=_0x10f357[_0x252b04]['modelRange'],_0x1feafb='pagination:'+(_0x252b04+0x1);_0x256a75['markers']['has'](_0x1feafb)?_0x5add42['updateMarker'](_0x1feafb,{'range':_0x53bfb8}):_0x5add42['addMarker'](_0x1feafb,{'range':_0x53bfb8,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4f0433=_0x10f357['length'];_0x4f0433<_0x185b70['length'];_0x4f0433++){const _0x129197='pagination:'+(_0x4f0433+0x1);_0x256a75['markers']['has'](_0x129197)&&_0x5add42['removeMarker'](_0x129197);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x238d6f=>{_0x238d6f['on']('addMarker:pagination',(_0x5206c1,{markerRange:_0x204133,markerName:_0x53bbe8},_0x582886)=>{if(!_0x582886['options']['pagination'])return;if(!_0x582886['consumable']['consume'](_0x204133,_0x5206c1['name']))return;const _0x3fd00a=_0x204133['getContainedElement']();let _0x3da1ea=_0x3fd00a?_0x582886['mapper']['toViewElement'](_0x3fd00a):null;if(!_0x3da1ea){const _0x169727=_0x204133['start'];if(_0x582886['schema']['checkChild'](_0x169727,'$text')){const _0x1b5510=_0x582886['mapper']['toViewPosition'](_0x169727);_0x3da1ea=_0x582886['writer']['createContainerElement']('span'),_0x3da1ea['getFillerOffset']=()=>null,_0x582886['writer']['insert'](_0x1b5510,_0x3da1ea);}else{const _0x420094=_0x169727['nodeAfter'];_0x3da1ea=_0x582886['mapper']['toViewElement'](_0x420094);}}for(;_0x3da1ea['parent']!==_0x3da1ea['root']&&0x0===_0x3da1ea['index'];)_0x3da1ea=_0x3da1ea['parent'];const _0x4a4d48=_0x53bbe8['substring'](0xb);_0x3da1ea['hasClass']('page-break')||(_0x582886['writer']['setStyle']('page-break-before','always',_0x3da1ea),_0x582886['writer']['setAttribute']('data-pagination-page',_0x4a4d48,_0x3da1ea),_0x582886['mapper']['bindElementToMarker'](_0x3da1ea,_0x53bbe8)),_0x5206c1['stop']();});});}_setupKeystrokes(){const _0x2bc9e4=this['editor'];_0x2bc9e4['keystrokes']['set']('Shift+Pageup',(_0x159be7,_0x191cdc)=>{this['goToPreviousPage'](),_0x191cdc();}),_0x2bc9e4['keystrokes']['set']('Shift+Pagedown',(_0x37ee36,_0x58950a)=>{this['goToNextPage'](),_0x58950a();}),_0x2bc9e4['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x2bc9e4['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x2bc9e4['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x2bc9e4['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x443ab5){return _0x443ab5<0x1&&(_0x443ab5=0x1),_0x443ab5>this['totalPages']&&(_0x443ab5=this['totalPages']),_0x443ab5;}},V=class extends _0x3c5ee7{['pageNumberView'];constructor(_0x37d4cb){super(_0x37d4cb);const _0x15b6c4=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x419233(_0x37d4cb,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3d2b33=>T(_0x37d4cb,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3d2b33)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1d1d54=>!_0x1d1d54),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x15b6c4['if']('isEnabled','ck-disabled',_0x51460f=>!_0x51460f)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x15b6c4['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2666da=this['pageNumberView']['element'],_0x214fb3=_0x20c4b8=>{this['pageNumberView']['element']['value']=String(_0x20c4b8);};_0x214fb3(this['pageNumber']),this['on']('change:pageNumber',(_0x52939e,_0x15acb7,_0x19f192)=>{_0x214fb3(_0x19f192);}),this['listenTo'](_0x2666da,'keydown',(_0x3c2b91,_0x2feb63)=>{if('ArrowUp'===_0x2feb63['key']||'ArrowDown'===_0x2feb63['key'])return void _0x2feb63['stopPropagation']();if(_0x2feb63['keyCode']!==_0x364e31['enter'])return;_0x2feb63['preventDefault']();const _0xaa5f12=_0x2666da['valueAsNumber'];Number['isNaN'](_0xaa5f12)?_0x2666da['value']=String(this['pageNumber']):(_0x2666da['checkValidity']()?this['pageNumber']=_0xaa5f12:_0xaa5f12>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2666da['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2666da['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2666da,'blur',()=>{_0x2666da['value']=String(this['pageNumber']);}),this['listenTo'](_0x2666da,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x1d110d{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x52b8e1=this['editor'],_0x5da680=_0x52b8e1['plugins']['get']('PaginationEditing');_0x52b8e1['ui']['componentFactory']['add']('pageNavigation',_0x8fae53=>{const _0x2cdc2b=new V(_0x8fae53);return _0x2cdc2b['bind']('pageNumber')['to'](_0x5da680),_0x2cdc2b['bind']('totalPages')['to'](_0x5da680),_0x2cdc2b['bind']('isEnabled')['to'](_0x5da680),_0x2cdc2b['on']('navigation',(_0x22db6e,_0x307ab6)=>{_0x5da680['moveSelectionToPage'](_0x307ab6),_0x5da680['scrollToPage'](_0x307ab6);}),_0x2cdc2b;}),_0x52b8e1['ui']['componentFactory']['add']('nextPage',_0x18ddf1=>{const _0x496431=new _0xa70220(_0x18ddf1);return _0x496431['isEnabled']=!0x0,_0x496431['label']=T(_0x52b8e1['locale'],'Go\x20to\x20next\x20page'),_0x496431['icon']=_0x3b5f,_0x496431['tooltip']=!0x0,_0x496431['keystroke']='Shift+PageDown',_0x496431['bind']('isEnabled')['to'](_0x5da680),this['listenTo'](_0x496431,'execute',()=>{_0x5da680['goToNextPage']();}),_0x496431;}),_0x52b8e1['ui']['componentFactory']['add']('previousPage',_0x141a68=>{const _0x17d33b=new _0xa70220(_0x141a68);return _0x17d33b['isEnabled']=!0x0,_0x17d33b['label']=T(_0x52b8e1['locale'],'Go\x20to\x20previous\x20page'),_0x17d33b['icon']=_0x5096f0,_0x17d33b['tooltip']=!0x0,_0x17d33b['keystroke']='Shift+PageUp',_0x17d33b['bind']('isEnabled')['to'](_0x5da680),this['listenTo'](_0x17d33b,'execute',()=>{_0x5da680['goToPreviousPage']();}),_0x17d33b;});}},$=class extends _0x1d110d{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x14a721){super(_0x14a721),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x46832b=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x46832b),this['bind']('totalPages')['to'](_0x46832b),_0x564e00['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x5b11c3){this['editor']['plugins']['get'](G)['scrollToPage'](_0x5b11c3);}};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':_0x57395b=>0x1!=_0x57395b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xea5809=>{const {af:{dictionary:_0xde31f4,getPluralForm:_0x9987ae}}={'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':_0x46f623=>0x1!=_0x46f623}};_0xea5809['af']||={'dictionary':{},'getPluralForm':null},_0xea5809['af']['dictionary']=Object['assign'](_0xea5809['af']['dictionary'],_0xde31f4),_0xea5809['af']['getPluralForm']=_0x9987ae;})(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':_0x232a30=>0x0==_0x232a30?0x0:0x1==_0x232a30?0x1:0x2==_0x232a30?0x2:_0x232a30%0x64>=0x3&&_0x232a30%0x64<=0xa?0x3:_0x232a30%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x396302=>{const {ar:{dictionary:_0x3253e7,getPluralForm:_0x25a894}}={'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':_0x50d263=>0x0==_0x50d263?0x0:0x1==_0x50d263?0x1:0x2==_0x50d263?0x2:_0x50d263%0x64>=0x3&&_0x50d263%0x64<=0xa?0x3:_0x50d263%0x64>=0xb?0x4:0x5}};_0x396302['ar']||={'dictionary':{},'getPluralForm':null},_0x396302['ar']['dictionary']=Object['assign'](_0x396302['ar']['dictionary'],_0x3253e7),_0x396302['ar']['getPluralForm']=_0x25a894;})(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':_0xaf5328=>0x1!=_0xaf5328}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12c539=>{const {ast:{dictionary:_0x35ec4d,getPluralForm:_0x3ff2ae}}={'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':_0x12f27f=>0x1!=_0x12f27f}};_0x12c539['ast']||={'dictionary':{},'getPluralForm':null},_0x12c539['ast']['dictionary']=Object['assign'](_0x12c539['ast']['dictionary'],_0x35ec4d),_0x12c539['ast']['getPluralForm']=_0x3ff2ae;})(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':_0x8c2af8=>0x1!=_0x8c2af8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xdc8b09=>{const {az:{dictionary:_0x4a3703,getPluralForm:_0x1ebab5}}={'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':_0x784284=>0x1!=_0x784284}};_0xdc8b09['az']||={'dictionary':{},'getPluralForm':null},_0xdc8b09['az']['dictionary']=Object['assign'](_0xdc8b09['az']['dictionary'],_0x4a3703),_0xdc8b09['az']['getPluralForm']=_0x1ebab5;})(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':_0x40976f=>_0x40976f%0xa==0x1&&_0x40976f%0x64!=0xb?0x0:_0x40976f%0xa>=0x2&&_0x40976f%0xa<=0x4&&(_0x40976f%0x64<0xa||_0x40976f%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c2191=>{const {be:{dictionary:_0xa09f60,getPluralForm:_0x533705}}={'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':_0x2b68f7=>_0x2b68f7%0xa==0x1&&_0x2b68f7%0x64!=0xb?0x0:_0x2b68f7%0xa>=0x2&&_0x2b68f7%0xa<=0x4&&(_0x2b68f7%0x64<0xa||_0x2b68f7%0x64>=0x14)?0x1:0x2}};_0x5c2191['be']||={'dictionary':{},'getPluralForm':null},_0x5c2191['be']['dictionary']=Object['assign'](_0x5c2191['be']['dictionary'],_0xa09f60),_0x5c2191['be']['getPluralForm']=_0x533705;})(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':_0x3b0fac=>0x1!=_0x3b0fac}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b278b=>{const {bg:{dictionary:_0x2a33a7,getPluralForm:_0x3f8c2c}}={'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':_0x4db600=>0x1!=_0x4db600}};_0x2b278b['bg']||={'dictionary':{},'getPluralForm':null},_0x2b278b['bg']['dictionary']=Object['assign'](_0x2b278b['bg']['dictionary'],_0x2a33a7),_0x2b278b['bg']['getPluralForm']=_0x3f8c2c;})(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':_0x1c5437=>0x1!=_0x1c5437}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x343d1f=>{const {bn:{dictionary:_0xf38f5c,getPluralForm:_0x11f0c7}}={'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':_0x6a7a6e=>0x1!=_0x6a7a6e}};_0x343d1f['bn']||={'dictionary':{},'getPluralForm':null},_0x343d1f['bn']['dictionary']=Object['assign'](_0x343d1f['bn']['dictionary'],_0xf38f5c),_0x343d1f['bn']['getPluralForm']=_0x11f0c7;})(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':_0x959e1b=>_0x959e1b%0xa==0x1&&_0x959e1b%0x64!=0xb?0x0:_0x959e1b%0xa>=0x2&&_0x959e1b%0xa<=0x4&&(_0x959e1b%0x64<0xa||_0x959e1b%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32eef8=>{const {bs:{dictionary:_0x323ac0,getPluralForm:_0x25847e}}={'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':_0x485252=>_0x485252%0xa==0x1&&_0x485252%0x64!=0xb?0x0:_0x485252%0xa>=0x2&&_0x485252%0xa<=0x4&&(_0x485252%0x64<0xa||_0x485252%0x64>=0x14)?0x1:0x2}};_0x32eef8['bs']||={'dictionary':{},'getPluralForm':null},_0x32eef8['bs']['dictionary']=Object['assign'](_0x32eef8['bs']['dictionary'],_0x323ac0),_0x32eef8['bs']['getPluralForm']=_0x25847e;})(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':_0x219cbb=>0x1!=_0x219cbb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26ee06=>{const {ca:{dictionary:_0x451698,getPluralForm:_0x3a07b1}}={'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':_0x234431=>0x1!=_0x234431}};_0x26ee06['ca']||={'dictionary':{},'getPluralForm':null},_0x26ee06['ca']['dictionary']=Object['assign'](_0x26ee06['ca']['dictionary'],_0x451698),_0x26ee06['ca']['getPluralForm']=_0x3a07b1;})(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':_0x30e503=>0x1==_0x30e503?0x0:_0x30e503>=0x2&&_0x30e503<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c132c=>{const {cs:{dictionary:_0x4f67ba,getPluralForm:_0x2788f7}}={'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':_0x4633cf=>0x1==_0x4633cf?0x0:_0x4633cf>=0x2&&_0x4633cf<=0x4?0x1:0x2}};_0x5c132c['cs']||={'dictionary':{},'getPluralForm':null},_0x5c132c['cs']['dictionary']=Object['assign'](_0x5c132c['cs']['dictionary'],_0x4f67ba),_0x5c132c['cs']['getPluralForm']=_0x2788f7;})(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':_0xf8229b=>0x1!=_0xf8229b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19dbff=>{const {da:{dictionary:_0x3d7826,getPluralForm:_0x57be89}}={'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':_0x54746e=>0x1!=_0x54746e}};_0x19dbff['da']||={'dictionary':{},'getPluralForm':null},_0x19dbff['da']['dictionary']=Object['assign'](_0x19dbff['da']['dictionary'],_0x3d7826),_0x19dbff['da']['getPluralForm']=_0x57be89;})(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':_0x8eeae3=>0x1!=_0x8eeae3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f1875=>{const {'de-ch':{dictionary:_0xc87cb,getPluralForm:_0x5ef9a9}}={'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':_0xf84291=>0x1!=_0xf84291}};_0x1f1875['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1f1875['de-ch']['dictionary']=Object['assign'](_0x1f1875['de-ch']['dictionary'],_0xc87cb),_0x1f1875['de-ch']['getPluralForm']=_0x5ef9a9;})(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':_0x423c8c=>0x1!=_0x423c8c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47027f=>{const {de:{dictionary:_0x361835,getPluralForm:_0x249829}}={'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':_0x11bd01=>0x1!=_0x11bd01}};_0x47027f['de']||={'dictionary':{},'getPluralForm':null},_0x47027f['de']['dictionary']=Object['assign'](_0x47027f['de']['dictionary'],_0x361835),_0x47027f['de']['getPluralForm']=_0x249829;})(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':_0x5178b8=>0x1!=_0x5178b8}};
|