@ckeditor/ckeditor5-pagination 48.4.0-alpha.5 → 48.4.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _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 _0x2a26a9}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x47ae5d,InputNumberView as _0x1b2bd7,View as _0x1bab2c}from'@ckeditor/ckeditor5-ui';import{Rect as _0x2c71dd,ResizeObserver as _0x32e80b,env as _0x596cef,first as _0x231c1f,global as _0x1d9a2f,keyCodes as _0x4e3e1a,logWarning as _0x1602c1,toUnit as _0x5e9380,uid as _0x4eb2f3}from'@ckeditor/ckeditor5-utils';import{debounce as _0x6fb558}from'es-toolkit/compat';import{IconArrowDown as _0xfca57e,IconArrowUp as _0x552a4d}from'@ckeditor/ckeditor5-icons';var w=class extends _0x2a26a9{_recalculatePageBreaksDebounced=_0x6fb558(()=>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 _0x1602c1('pagination-config-not-found',this['editor']['config']);const _0x54ee09=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x54ee09),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x202631,_0x1c6a7a,_0x24c435)=>{_0x24c435&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x17cdc7){const _0x4f5f05='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x2c0e4a=0x791d0,_0x39b30c=window['Date']['now'](),_0x26ef42=_0x17cdc7['editor'],_0x377dc1=new window['Promise'](_0x35a44c=>{_0x26ef42['once']('ready',_0x35a44c);}),_0x491146={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x556659=_0x26ef42['config']['get']('licenseKey');async function _0x43ea1f(){let _0x5dce4f,_0x121412=null,_0x502d1a=null;try{return'GPL'==_0x556659?'NotAllowed':(_0x5dce4f=_0xcf4fba(),_0x5dce4f?(_0x5dce4f['usageEndpoint']&&(_0x502d1a=_0x2de901(_0x5dce4f['usageEndpoint'],_0x5dce4f['jti'])),await _0x43b921()?_0x118696()?_0x47115f()?'Expired':_0x39d2fd()?('evaluation'==_0x5dce4f['licenseType']&&(_0x121412=_0x6fb767('EvaluationLimit')),await _0x24d723()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x47115f(){const _0x27df73=['evaluation','trial']['includes'](_0x5dce4f['licenseType'])?_0x39b30c/0x3e8:0xe10*_0x2c0e4a;return _0x5dce4f['exp']<_0x27df73;}function _0x118696(){const _0x2368f0=_0x5dce4f['features'];return!!_0x2368f0&&(!!_0x2368f0['includes']('*')||!!_0x2368f0['includes']('PAG'));}function _0x39d2fd(){const _0x95054c=_0x5dce4f['licensedHosts'];if(!_0x95054c||0x0==_0x95054c['length'])return!0x0;const {hostname:_0x45aef3}=new URL(window['location']['href']);if(_0x95054c['includes'](_0x45aef3))return!0x0;const _0x24beec=_0x45aef3['split']('.');return _0x95054c['filter'](_0x2b927b=>_0x2b927b['includes']('*'))['map'](_0x1a7c9e=>_0x1a7c9e['split']('.'))['filter'](_0x590c26=>_0x590c26['length']<=_0x24beec['length'])['map'](_0x13c93e=>Array(_0x24beec['length']-_0x13c93e['length'])['fill']('*'===_0x13c93e[0x0]?'*':'')['concat'](_0x13c93e))['some'](_0x112e2c=>_0x24beec['every']((_0xd067ac,_0x41b532)=>_0x112e2c[_0x41b532]===_0xd067ac||'*'===_0x112e2c[_0x41b532]));}function _0x24d723(){return _0x121412&&_0x502d1a?new window['Promise']((_0x33aecd,_0xa07ee0)=>{_0x121412['then'](_0x33aecd,_0xa07ee0),_0x502d1a['then'](_0x14a569=>{'Valid'!=_0x14a569&&_0x33aecd(_0x14a569);},_0xa07ee0);}):_0x121412||_0x502d1a||'Valid';}}function _0x2de901(_0x14de4d,_0x566e41){return new window['Promise'](_0x55ac8a=>{if(_0xb49eda())return _0x55ac8a('Valid');_0x993d34(),_0x26ef42['decorate']('_sendUsageRequest');let _0x573c53=!0x1;const _0x2597f8=_0x4eb2f3();function _0xd52311(_0x4569b2){return!!_0x4569b2&&('object'==typeof _0x4569b2||'function'==typeof _0x4569b2)&&'function'==typeof _0x4569b2['then']&&'function'==typeof _0x4569b2['catch'];}function _0x1f18ba(_0x141792){_0x5745f5(_0x141792)['then'](_0x733fb9=>_0x733fb9&&'ok'==_0x733fb9['status']?_0x258007(_0x5e45d2(_0x2597f8+_0x566e41))!=_0x733fb9['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3aa2d0=>(_0x27965b(),_0x3aa2d0),()=>{const _0x21f2f8=_0x501908();return null==_0x21f2f8?(_0x27965b(),'Valid'):_0x39b30c-_0x21f2f8>0x240c8400?'UsageLimit':'Valid';})['then'](_0x55ac8a)['catch'](()=>{_0x55ac8a('UsageLimit');});const _0x2a6310=0x36ee80;function _0x27965b(){const _0x559f3c='llct-'+_0x258007(_0x5e45d2(_0x14de4d)),_0x3a3ffc=_0x584186(_0x258007(window['Math']['ceil'](_0x39b30c/_0x2a6310)));window['localStorage']['setItem'](_0x559f3c,_0x3a3ffc);}function _0x501908(){const _0x4c9c04='llct-'+_0x258007(_0x5e45d2(_0x14de4d)),_0x5d0470=window['localStorage']['getItem'](_0x4c9c04);return _0x5d0470?window['parseInt'](_0x584186(_0x5d0470),0x10)*_0x2a6310:null;}function _0x5745f5(_0x259e15){return new window['Promise']((_0x9a0df4,_0x63019)=>{_0x259e15['then'](_0x9a0df4,_0x63019),window['setTimeout'](_0x63019,0x1d4c0);});}}_0x26ef42['on']('_sendUsageRequest',(_0x302018,_0x55c3e9)=>{if(_0x55c3e9[0x0]!=_0x14de4d)return _0x55ac8a('UsageLimit');_0x55c3e9[0x1]={..._0x55c3e9[0x1],'requestId':_0x2597f8};},{'priority':'high'}),_0x26ef42['on']('_sendUsageRequest',_0x46b822=>{_0xd52311(_0x46b822['return'])&&(_0x573c53=!0x0,_0x1f18ba(_0x46b822['return']));},{'priority':'low'}),_0x377dc1['then'](()=>{_0x573c53||_0x55ac8a('UsageLimit');});});function _0xb49eda(){return'auto'==_0x26ef42['editing']['view']['_overlayModeHint'];}function _0x993d34(){_0x26ef42['editing']['view']['_overlayModeHint']='auto';}}function _0x6fb767(_0x3d5167){const _0x915ef6=[new window['Promise'](_0x2d3d70=>setTimeout(_0x2d3d70,0x93ecc)),_0x377dc1['then'](()=>new window['Promise'](_0x1e44dd=>{let _0x321d21=0x0;_0x26ef42['model']['on']('applyOperation',(_0xbd25b2,_0x3e7311)=>{_0x3e7311[0x0]['isDocumentOperation']&&_0x321d21++,0x5e8==_0x321d21&&(_0x1e44dd(),_0xbd25b2['off']());});}))];return window['Promise']['race'](_0x915ef6)['then'](()=>_0x3d5167);}async function _0x66d524(){await _0x377dc1,_0x26ef42['model']['change']=_0x4817be,_0x26ef42['model']['enqueueChange']=_0x4817be,_0x26ef42['enableReadOnlyMode']('model');}function _0x57f668(_0x1e69d3){const _0x25f07c=_0x3ab1ed();_0x26ef42[_0x25f07c]='paginationLicenseKey'+_0x1e69d3,'Valid'!=_0x1e69d3&&_0x66d524();}function _0x3ab1ed(){const _0x4cba0b=window['String'](window['performance']['now']())['replace']('.','');let _0x37161f='I';for(let _0x9b07c1=0x0;_0x9b07c1<_0x4cba0b['length'];_0x9b07c1+=0x2){let _0x458b05=window['parseInt'](_0x4cba0b['substring'](_0x9b07c1,_0x9b07c1+0x2));_0x458b05>=0x3e&&(_0x458b05-=0x3e),_0x37161f+=_0x4f5f05[_0x458b05];}return _0x37161f;}function _0xcf4fba(){const _0x3aa3c1=_0x556659['split']('.');if(0x3!=_0x3aa3c1['length'])return null;return _0x208396(_0x3aa3c1[0x1]);function _0x208396(_0x277e06){const _0x415f70=_0x577880(_0x277e06);return _0x415f70&&_0x544bb6()?_0x415f70:null;function _0x544bb6(){const _0x2cb90a=_0x415f70['jti'],_0x103262=window['parseInt'](_0x2cb90a['substring'](_0x2cb90a['length']-0x8),0x10),_0x22be78={..._0x415f70,'jti':_0x2cb90a['substring'](0x0,_0x2cb90a['length']-0x8)};return delete _0x22be78['vc'],_0x5e45d2(_0x22be78)==_0x103262;}}}async function _0x43b921(){let _0x2e9f48=!0x0;try{const [_0x1f387c,_0xac55c2,_0x2e7085]=_0x556659['split']('.');return _0x4deb7e(_0x1f387c),await _0x8f8089(_0x1f387c,_0xac55c2,_0x2e7085),_0x2e9f48;}catch{return!0x1;}function _0x4deb7e(_0x125020){const _0x2bae3d=_0x577880(_0x125020);_0x2bae3d&&'ES256'==_0x2bae3d['alg']||(_0x2e9f48=!0x1);}async function _0x8f8089(_0x294f5b,_0x1f7c10,_0x9cb856){const _0x1eb1c4=window['Uint8Array']['from'](_0x31ff22(_0x9cb856),_0x3dbeb5=>_0x3dbeb5['charCodeAt'](0x0)),_0x2fd502=new window['TextEncoder']()['encode'](_0x294f5b+'.'+_0x1f7c10),_0x4a801a=window['crypto']['subtle'];if(!_0x4a801a)return;const _0x2d2900=await _0x4a801a['importKey']('jwk',_0x491146,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4a801a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2d2900,_0x1eb1c4,_0x2fd502)||(_0x2e9f48=!0x1);}}function _0x577880(_0x7b0eea){return _0x7b0eea['startsWith']('ey')?JSON['parse'](_0x31ff22(_0x7b0eea)):null;}function _0x31ff22(_0x42cf83){return window['atob'](_0x42cf83['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5e45d2(_0x1935dd){let _0x436841=0x1505;function _0x43ed40(_0x3ffc5a){for(let _0x100360=0x0;_0x100360<_0x3ffc5a['length'];_0x100360++){const _0x443d4=_0x3ffc5a['charCodeAt'](_0x100360);_0x436841=(_0x436841<<0x5)+_0x436841+_0x443d4,_0x436841&=_0x436841;}}function _0x4e9bf6(_0xf73378){Array['isArray'](_0xf73378)?_0xf73378['forEach'](_0x4e9bf6):_0xf73378&&'object'==typeof _0xf73378?Object['entries'](_0xf73378)['sort']()['forEach'](([_0x46c954,_0x16d71d])=>{_0x43ed40(_0x46c954),_0x4e9bf6(_0x16d71d);}):_0x43ed40(window['String'](_0xf73378));}return _0x4e9bf6(_0x1935dd),_0x436841>>>0x0;}function _0x258007(_0x5c2bae){return _0x5c2bae['toString'](0x10)['padStart'](0x8,'0');}function _0x584186(_0x5babeb){return _0x5babeb['split']('')['reverse']()['join']('');}function _0x4817be(){}_0x57f668(await _0x43ea1f());}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x47ab7e=this['editor'],_0x50d1bd=_0x47ab7e['editing']['view'],_0x5a5c72=this['_getAttachedDomRoot']();if(!_0x5a5c72||!_0x5a5c72['hasChildNodes']())return void _0x47ab7e['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0xbf994e,pageHeight:_0x19b1c9}=_0x47ab7e['config']['get']('pagination'),{top:_0x4d2f21,left:_0x54bc8d,bottom:_0x1a73b4,right:_0x732165}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1bab2c(_0x47ab7e['locale']);const _0xc8d0d7=this['_pagesContainer'];_0xc8d0d7['set']('class',''),_0xc8d0d7['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0xbf994e,'width':_0xbf994e,'height':'calc(\x20'+_0x19b1c9+'\x20-\x20'+_0x4d2f21+'\x20-\x20'+_0x1a73b4+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x732165+'\x200\x20'+_0x54bc8d,'columnGap':'calc('+_0x54bc8d+'\x20+\x20'+_0x732165+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0xc8d0d7['bindTemplate']['to']('class')}}),_0xc8d0d7['render'](),_0x5a5c72['parentNode']['insertBefore'](_0xc8d0d7['element'],_0x5a5c72['nextSibling']),this['listenTo'](_0x50d1bd,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x40ff15 of this['editor']['editing']['view']['domRoots']['values']())if(_0x40ff15['ownerDocument']['body']['contains'](_0x40ff15))return _0x40ff15;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x47f95c=this['editor']['editing']['view'],_0x1d7989=this['_pagesContainer'],_0x2d49dc=this['_getAttachedDomRoot']();if(!_0x2d49dc||!_0x1d7989)return Promise['resolve']();for(_0x1d7989['class']=['ck-reset','ck-pagination-view',..._0x2d49dc['classList']]['join']('\x20');_0x1d7989['element']['firstChild'];)_0x1d7989['element']['firstChild']['remove']();const _0x52cafc=Array['from'](_0x47f95c['domRoots']);_0x52cafc['sort'](([,_0x23610a],[,_0x54dbeb])=>_0x23610a['compareDocumentPosition'](_0x54dbeb)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x52f379,_0x22742e]of _0x52cafc){const _0x534468=_0x22742e['cloneNode'](!0x0);'attributeStyleMap'in _0x534468&&_0x534468['attributeStyleMap']['clear'](),_0x534468['dataset']['rootName']=_0x52f379,_0x534468['className']='ck-content\x20ck-pagination_enabled',_0x534468['removeAttribute']('id'),_0x534468['tabIndex']=-0x1,_0x1d7989['element']['append'](_0x534468);}const _0x332929=Array['from'](_0x1d7989['element']['querySelectorAll']('img'));return function(_0xbf27e7){return Promise['all'](_0xbf27e7['map'](_0x21acfc=>Promise['race']([k(_0x21acfc),v(0x3e8)])));}(_0x332929)['then'](()=>{for(const _0x2afc2f of _0x332929['filter'](_0x178a90=>!_0x178a90['closest']('table')))if(_0x2afc2f['offsetParent']){const _0x3ebe50=_0x1d9a2f['window']['getComputedStyle'](_0x2afc2f),_0x5deacd=_0x1d9a2f['document']['createElement']('span');for(const _0x531bfa of _0x3ebe50)_0x5deacd['style']['setProperty'](_0x531bfa,_0x3ebe50[_0x531bfa]);_0x5deacd['style']['backgroundImage']='url(\x20'+_0x2afc2f['src']+'\x20)',_0x5deacd['style']['breakInside']='avoid','PICTURE'==_0x2afc2f['parentElement']?.['tagName']?_0x2afc2f['parentElement']['replaceWith'](_0x5deacd):_0x2afc2f['replaceWith'](_0x5deacd);}return new Promise(_0x4cba8d=>_0x1d9a2f['window']['requestAnimationFrame'](()=>_0x4cba8d()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x14162c=this['_pagesContainer']['element'];if(!_0x14162c['ownerDocument']['body']['contains'](_0x14162c))return;const _0x219d88=new _0x2c71dd(_0x14162c)['excludeScrollbarsAndBorders'](),_0x431d6c=Math['floor'](_0x219d88['width']+0x64),_0x48776e=_(_0x14162c,Math['floor'](_0x219d88['left']-_0x14162c['scrollLeft']),_0x431d6c,_0x219d88['height'])['map'](_0x134e51=>this['_mapPageStarterInfoToPageBreakInfo'](_0x134e51))['filter'](_0x4a5c0b=>!0x1!==_0x4a5c0b);_0x48776e['every'](_0x2262d1=>!!_0x2262d1)&&(this['pageBreaks']=_0x48776e);}_mapPageStarterInfoToPageBreakInfo(_0x265983){const _0x5a2a9c=this['editor']['editing']['view'],_0x45e165=this['editor']['editing']['mapper'],_0x30e45c=_0x5a2a9c['domConverter'],_0x1f5538=_0x265983['path']['shift'](),_0x114108=this['_pagesContainer']['element']['childNodes'][_0x1f5538]['dataset']['rootName'],_0x41bd0a=_0x5a2a9c['getDomRoot'](_0x114108);if(!_0x41bd0a)return null;const _0x1c551b=function(_0x3af690,_0xd86b9){let _0xc0f098=_0x3af690;for(const _0x28dcb5 of _0xd86b9['path']){if(!_0xc0f098)return null;_0xc0f098=_0xc0f098['childNodes'][_0x28dcb5];}return _0xc0f098;}(_0x41bd0a,_0x265983);if(!_0x1c551b)return null;const _0x5cb353=_0x30e45c['domPositionToView'](_0x1c551b,_0x265983['textOffset']||0x0);return _0x5cb353?'manual'==_0x265983['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5cb353,_0x1c551b):'text'==_0x265983['type']&&_0x45e165['toModelPosition'](_0x5cb353)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5cb353,_0x1c551b,_0x265983['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5cb353,_0x1c551b,_0x265983['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x4e69c7,_0x362a94){const _0x3c943c=this['editor']['model'],_0x85c229=this['editor']['editing']['mapper']['toModelElement'](_0x4e69c7['parent']),_0x55dbc9=_0x3c943c['createRangeOn'](_0x85c229);return new P({'type':'manual','modelRange':_0x55dbc9,'domNode':_0x362a94,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x1de1e7,_0x111638,_0x119ef4){const _0x241176=this['editor']['model'],_0x4589a5=this['editor']['editing']['mapper'],_0x6cb40=this['editor']['editing']['view']['domConverter'];if(_0x119ef4>=_0x111638['length'])return null;const _0x50b195=_0x4589a5['toModelPosition'](_0x1de1e7),_0x40567b=_0x241176['createRange'](_0x50b195),_0x3073f2=_0x4589a5['findMappedViewAncestor'](_0x1de1e7),_0x2a890d=_0x6cb40['mapViewToDom'](_0x3073f2);return new P({'type':'text','modelRange':_0x40567b,'domNode':_0x111638,'offset':y(_0x111638,_0x119ef4,_0x2a890d)});}_mapElementPageStarterInfoToPageBreakInfo(_0x3ee2ea,_0x56f0db,_0x58e2bc){const _0x1976dc=this['editor']['model'],_0x29ef07=this['editor']['editing'],_0x1ad394=_0x29ef07['mapper'],_0x3d0645=_0x29ef07['view']['domConverter'],_0x773389=_0x1ad394['findMappedViewAncestor'](_0x3ee2ea),_0x56807d=_0x1ad394['toModelElement'](_0x773389);if(!_0x56807d||_0x56807d['is']('rootElement'))return!0x1;const _0x483b81=function(_0x2caa7b){const _0x37523e=_0x2caa7b['parent'],_0x42ea77=_0x37523e['root']['document']['model'],_0x2abfde=_0x37523e['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x347055=null;for(const _0x128e17 of _0x2abfde){if(_0x128e17['is']('rootElement'))return _0x347055;if(!_0x42ea77['createPositionBefore'](_0x128e17)['isTouching'](_0x2caa7b))return _0x347055;_0x347055=_0x128e17;}}(_0x1976dc['createPositionBefore'](_0x56807d))||_0x56807d;let _0x240b5d=_0x1ad394['toViewElement'](_0x483b81),_0x522cd9=_0x1976dc['createRangeOn'](_0x483b81);const _0x120fbb=_0x1976dc['createPositionBefore'](_0x483b81)['nodeBefore'];if(_0x120fbb&&_0x120fbb['is']('element','imageBlock')){const _0x3b5292=_0x1ad394['toViewElement'](_0x120fbb),_0x424425=_0x3d0645['mapViewToDom'](_0x3b5292),_0x12d15d=_0x1d9a2f['window']['getComputedStyle'](_0x424425)['float'];'left'!=_0x12d15d&&'right'!=_0x12d15d||(_0x522cd9=_0x1976dc['createRangeOn'](_0x120fbb));}for(;_0x240b5d['parent']!==_0x240b5d['root']&&0x0===_0x240b5d['index'];)_0x240b5d=_0x240b5d['parent'];const _0x5aa350=new _0x2c71dd(K(_0x56f0db)?_0x56f0db:L(_0x56f0db)),_0x3c62ed=_0x58e2bc?_0x5aa350['height']-_0x58e2bc:0x0,_0x4a6f06=_0x3d0645['mapViewToDom'](_0x240b5d),_0x425749=new _0x2c71dd(_0x4a6f06);return new P({'type':'element','modelRange':_0x522cd9,'domNode':_0x4a6f06,'offset':Math['round'](_0x3c62ed)||_0x773389!=b(_0x3ee2ea)?_0x3c62ed+_0x5aa350['top']-_0x425749['top']:0x0});}get['_configuredPaddings'](){const _0x274f0d=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x274f0d);}static _findPageStarterInfos(_0x3c1a37,_0x41903d,_0x31bc81,_0x171078,_0x424863){return _(_0x3c1a37,_0x41903d,_0x31bc81,_0x171078,_0x424863);}},P=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x5c1435,modelRange:_0x285307,domNode:_0x5005ba,offset:_0x3b94f9}){this['type']=_0x5c1435,this['modelRange']=_0x285307,this['_domNode']=_0x5005ba,this['_offset']=_0x3b94f9;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x49bc2d=new _0x2c71dd(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x49bc2d['top']+_0x49bc2d['height']/0x2:_0x49bc2d['top']+this['_offset'];}};function y(_0x3d543a,_0x201566,_0x42e8f8){const _0xafd217=L(_0x3d543a),_0x328b89=function(_0x12098d){const _0x7bbdf4=_0x1d9a2f['document']['createRange']();return _0x7bbdf4['selectNodeContents'](_0x12098d),_0x7bbdf4;}(_0x42e8f8);let _0x46a270;_0x46a270=0x0==_0x201566?N(_0x328b89['startContainer'],_0x328b89['startOffset'],_0x3d543a['parentNode'],Array['from'](_0x3d543a['parentNode']['childNodes'])['indexOf'](_0x3d543a)):N(_0x328b89['startContainer'],_0x328b89['startOffset'],_0x3d543a,_0x201566);const _0x176476=N(_0x3d543a,_0x201566,_0x328b89['endContainer'],_0x328b89['endOffset']),_0x518a80=new _0x2c71dd(_0x46a270)['bottom'];return(new _0x2c71dd(_0x176476)['top']+_0x518a80)/0x2-new _0x2c71dd(_0xafd217)['top'];}function b(_0x36affc){let _0x1b0421=_0x36affc['parent'];for(;_0x1b0421['is']('$text')||_0x1b0421['is']('attributeElement');)_0x1b0421=_0x1b0421['parent'];return _0x1b0421;}function k(_0x87d820){return _0x87d820['hasAttribute']('width')&&_0x87d820['hasAttribute']('height')?Promise['resolve']():new Promise(_0x5e7bac=>{function _0xbfa1db(){_0x87d820['removeEventListener']('load',_0xbfa1db),_0x87d820['removeEventListener']('error',_0xbfa1db),_0x5e7bac();}_0x87d820['complete']?_0x5e7bac():(_0x87d820['addEventListener']('load',_0xbfa1db),_0x87d820['addEventListener']('error',_0xbfa1db));});}function v(_0x2134b4){return new Promise(_0x234162=>setTimeout(_0x234162,_0x2134b4));}function L(_0x4e29db){const _0x49962b=_0x1d9a2f['document']['createRange']();return _0x49962b['selectNode'](_0x4e29db),_0x49962b;}function x(_0xca874b,_0x193fe5,_0x13c1b9){const _0x20ab34=_0x1d9a2f['document']['createRange']();return _0x20ab34['setStart'](_0xca874b,_0x193fe5),_0x20ab34['setEnd'](_0xca874b,_0x13c1b9),_0x20ab34;}function N(_0x239245,_0x2b4dbe,_0x794768,_0x2a5e4a){const _0x7a2553=_0x1d9a2f['document']['createRange']();return _0x7a2553['setStart'](_0x239245,_0x2b4dbe),_0x7a2553['setEnd'](_0x794768,_0x2a5e4a),_0x7a2553;}function _(_0x24f74a,_0x2bbcf7,_0x242796,_0x4a1ddc,_0x4c6f32){const _0x31091f=[];for(const [_0x305321,_0x393919]of _0x24f74a['childNodes']['entries']()){let _0x1ea91b=[];K(_0x393919)&&_0x393919['offsetParent']&&['static','relative']['includes'](_0x1d9a2f['window']['getComputedStyle'](_0x393919)['position'])?_0x1ea91b=E(_0x393919,_0x305321,_0x2bbcf7,_0x242796,_0x4a1ddc,_0x4c6f32):O(_0x393919)&&(_0x1ea91b=S(_0x393919,_0x305321,_0x2bbcf7,_0x242796,_0x4c6f32)),_0x1ea91b['length']&&(_0x31091f['push'](..._0x1ea91b),_0x2bbcf7+=_0x1ea91b['length']*_0x242796,_0x4c6f32=!0x1);}return _0x31091f;}function E(_0x2fcdee,_0x3e848a,_0x8162d8,_0x4bec85,_0x5d0cfd,_0x41a41c){const _0x10efae=[];var _0x4b55ed;if((_0x4b55ed=_0x2fcdee['previousSibling'])&&K(_0x4b55ed)&&Boolean(_0x4b55ed['classList']['contains']('page-break')||_0x4b55ed['closest']('.page-break'))&&(_0x10efae['push']({'type':'manual','offset':0x0,'path':[_0x3e848a-0x1]}),_0x41a41c=!0x0),'table-row'==_0x1d9a2f['window']['getComputedStyle'](_0x2fcdee)['display']){let _0x1e4956=0x0,_0x2d2229=!0x1;for(const _0x52bb9d of _0x2fcdee['getClientRects']())_0x1e4956+=_0x52bb9d['height'],_0x52bb9d['left']>=_0x8162d8&&(_0x2d2229=!0x0);if(_0x1e4956<_0x5d0cfd&&_0x2d2229)return _0x41a41c||_0x10efae['push']({'type':'element','offset':0x0,'path':[_0x3e848a]}),_0x10efae;}const _0x383d5f=_0x2fcdee['closest']('figure.image');if(_0x383d5f&&function(_0x5f1f29){let _0x182906=!0x1;const _0x309e27=_0x5f1f29['parentElement']['dataset']['rootName'],_0x504252=_0x5f1f29['nextElementSibling'],_0x430b42=_0x5f1f29['previousElementSibling'],_0x2427d2=_0x504252&&_0x1d9a2f['window']['getComputedStyle'](_0x504252)['float'],_0x2b7f34=_0x504252&&'ck-fake-selection-container'===_0x504252['className'];return!_0x309e27||_0x504252||_0x430b42||(_0x182906=!0x0),_0x309e27&&!_0x430b42&&_0x2b7f34&&(_0x182906=!0x0),_0x309e27&&!_0x430b42&&'none'!==_0x2427d2&&(_0x182906=!0x0),!_0x182906;}(_0x383d5f)){const _0x498a89=_0x1d9a2f['window']['getComputedStyle'](_0x383d5f)['float'];if('left'==_0x498a89||'right'==_0x498a89)return _0x10efae;}const _0x425d5e=_(_0x2fcdee,_0x8162d8,_0x4bec85,_0x5d0cfd,_0x41a41c);if(_0x425d5e['length']){for(const _0x26cd36 of _0x425d5e)_0x10efae['push']({'type':_0x26cd36['type'],'offset':_0x26cd36['offset'],'textOffset':_0x26cd36['textOffset'],'path':[_0x3e848a,..._0x26cd36['path']]}),_0x8162d8+=_0x4bec85;return _0x10efae;}return _0x10efae['push'](...function(_0x4add42,_0x5b2767,_0xfad67,_0xe706f1,_0x39a283){const _0x5f3974=[];if('table-cell'==_0x1d9a2f['window']['getComputedStyle'](_0x4add42)['display'])return[];const _0x5197c8=[];for(const _0x56fe48 of _0x4add42['getClientRects']())if(_0x56fe48['left']>=_0xfad67){for(const _0x4e883a of _0x5197c8)_0x4e883a['height']+=_0x56fe48['height'];_0x5197c8['push']({'height':_0x56fe48['height']}),_0xfad67+=_0xe706f1;}for(const _0x28973d of _0x5197c8)_0x39a283||_0x5f3974['push']({'type':'element','offset':_0x28973d['height'],'textOffset':0x0,'path':[_0x5b2767]}),_0x39a283=!0x1;return _0x5f3974;}(_0x2fcdee,_0x3e848a,_0x8162d8,_0x4bec85,_0x41a41c)),_0x10efae;}function S(_0x858e96,_0x242815,_0x184f52,_0xc25495,_0x365110){const _0x1e5196=L(_0x858e96),_0x47b53d=[];let _0x3c465c=0x0;for(const _0x4957dd of _0x1e5196['getClientRects']())if(_0x4957dd['left']>=_0x184f52){const _0x5ad0fe=R(_0x858e96,_0x3c465c,_0x184f52,_0xc25495);_0x365110||_0x47b53d['push']({'type':'text','path':[_0x242815],'textOffset':_0x5ad0fe}),_0x3c465c=_0x5ad0fe,_0x184f52+=_0xc25495,_0x365110=!0x1;}return _0x47b53d;}function R(_0x1dcf20,_0x1c32f1,_0xee8574,_0xb8b69d){let _0x2cbc11=_0x1c32f1,_0x4328e3=_0x1dcf20['length'];for(;_0x4328e3-_0x2cbc11>0x1;){const _0x50dfbf=Math['ceil']((_0x2cbc11+_0x4328e3)/0x2);I(x(_0x1dcf20,_0x2cbc11,_0x50dfbf),_0xee8574,_0xb8b69d)?_0x4328e3=_0x50dfbf:_0x2cbc11=_0x50dfbf;}return _0x2cbc11;}function I(_0x29dc11,_0x81a60b,_0x47057e){for(const _0x2a1026 of _0x29dc11['getClientRects']())if(_0x2a1026['left']>=_0x81a60b&&_0x2a1026['left']<_0x81a60b+_0x47057e)return!0x0;return!0x1;}function K(_0x24e440){return _0x24e440['nodeType']==Node['ELEMENT_NODE'];}function O(_0x55a276){return _0x55a276['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5e9380('px');var U=class extends _0x1bab2c{constructor(){super();const _0x48c3c3=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x48c3c3['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x48c3c3['if']('isVisible','ck-hidden',_0x402c77=>!_0x402c77)],'style':{'left':_0x48c3c3['to']('left',_0x88f2=>A(_0x88f2)),'top':_0x48c3c3['to']('top',_0x382bf9=>A(_0x382bf9)),'width':_0x48c3c3['to']('width',_0x211afa=>A(_0x211afa))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2f4179){this['_viewCollection']=_0x2f4179['ui']['view']['body'];}destroy(){for(const _0x57b9a7 of this['_hiddenLines'])_0x57b9a7['destroy']();}['cleanLines'](){for(const _0x2086f3 of this['_visibleLines'])_0x2086f3['isVisible']=!0x1,this['_hiddenLines']['add'](_0x2086f3);this['_visibleLines']['clear']();}['showLine'](_0x4acfa4,_0x39f052,_0x2a6267,_0x38a324){let _0x5bcee3;this['_hiddenLines']['size']?(_0x5bcee3=_0x231c1f(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x5bcee3)):_0x5bcee3=new U(),_0x5bcee3['set']({'pageNumber':_0x38a324,'left':_0x4acfa4,'top':_0x39f052,'width':_0x2a6267}),_0x5bcee3['isVisible']=!0x0,this['_viewCollection']['has'](_0x5bcee3)||this['_viewCollection']['add'](_0x5bcee3),this['_visibleLines']['add'](_0x5bcee3);}setViewCollection(_0x51bec2){for(const _0x1d00c7 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1d00c7)&&this['_viewCollection']['remove'](_0x1d00c7);this['_viewCollection']=_0x51bec2;}};const D='ck-pagination_enabled';var B=class extends _0x2a26a9{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',(_0x2ddeee,_0x4f18d7,_0x1f12c6)=>{_0x1f12c6||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x1f12c6);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x50dbd7){if(!this['isEnabled'])return;const _0x65bd28=_0x50dbd7>0x1?this['_getPageBreakLineOffset'](_0x50dbd7-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x65bd28-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x596cef['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x1a9b02=this['editor'],_0x277b78=this['_getAttachedDomRoot']();_0x277b78?(this['_scrollableEditingRootDomAncestor']&&_0x1a9b02['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x4744cb){let _0x55ede7=_0x4744cb;do{_0x55ede7=_0x55ede7['parentElement'];const _0x51aee6=_0x1d9a2f['window']['getComputedStyle'](_0x55ede7)['overflowY'];if('auto'==_0x51aee6||'scroll'==_0x51aee6)break;}while('BODY'!=_0x55ede7['tagName']);return _0x55ede7;}(_0x277b78),_0x1a9b02['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x32e80b(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x1a9b02['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x50b405=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x50b405['ui']['view']['listenTo'](_0x1d9a2f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x50b405['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x86b766 of this['editor']['editing']['view']['domRoots']['values']())if(_0x86b766['ownerDocument']['body']['contains'](_0x86b766))return _0x86b766;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x287322=this['_getAttachedDomRoot'](),_0x3d8365=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x287322||0x1==_0x3d8365['length'])return void(this['pageNumber']=0x1);const _0x2a19f0=new _0x2c71dd(_0x287322)['excludeScrollbarsAndBorders'](),_0x4c68ac=new _0x2c71dd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1de36e=_0x4c68ac['top']+_0x4c68ac['height']/0x3;let _0x2c8b2d=!0x1;const _0x4e632c=[];for(let _0x30a7b9=0x1;_0x30a7b9<_0x3d8365['length'];_0x30a7b9++){const _0x31023f=this['_getPageBreakLineOffset'](_0x30a7b9,_0x4c68ac);if(!_0x31023f)continue;const _0x1354a9=_0x4c68ac['top']+_0x31023f-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x4e632c['push']({'pageOffsetTop':_0x1354a9,'domRootRect':_0x2a19f0,'domScrollableRect':_0x4c68ac,'pageNumber':_0x30a7b9}),_0x1354a9>_0x1de36e&&!_0x2c8b2d&&(this['pageNumber']=_0x30a7b9,_0x2c8b2d=!0x0);}this['_renderPageBreakLines'](_0x4e632c),_0x2c8b2d||(this['pageNumber']=_0x3d8365['length']);}['_renderPageBreakLines'](_0x1f2dee){const {scrollX:_0x220c93,scrollY:_0xe481f2}=_0x1d9a2f['window'];if(_0x1f2dee['length']){for(const {domScrollableRect:_0x312e41,pageOffsetTop:_0x2803a5,domRootRect:_0x4f9791,pageNumber:_0x24788a}of _0x1f2dee)_0x312e41['top']<_0x2803a5&&_0x2803a5<_0x312e41['bottom']&&this['linesRepository']['showLine'](_0x4f9791['left']+_0x220c93,_0x2803a5+_0xe481f2,_0x4f9791['width'],_0x24788a+0x1);}}_getPageBreakLineOffset(_0x1232e9,_0x155438=null){const _0x29581a=this['_paginationLookupPlugin']['pageBreaks'][_0x1232e9]['offset'];return _0x29581a?(_0x155438||(_0x155438=new _0x2c71dd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x29581a-_0x155438['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x2c175c,_0x5c433b=!0x0){const _0x493f62=this['editor']['editing']['view'];_0x493f62['change'](_0x594781=>{for(const _0x22d380 of _0x493f62['document']['roots'])_0x5c433b?_0x594781['addClass'](_0x2c175c,_0x22d380):_0x594781['removeClass'](_0x2c175c,_0x22d380);});}};function T(_0x11dc7f,_0x1ead16,..._0x20bfd6){const t=_0x11dc7f['t'];switch(_0x1ead16){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)',..._0x20bfd6);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 _0x1ead16;}}var G=class extends _0x2a26a9{['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 _0x301f3d=this['editor']['plugins']['get']('Pagination'),_0x2d577b=this['editor']['plugins']['get'](w),_0x4a3db9=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x301f3d),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4a3db9),this['listenTo'](_0x2d577b,'change:pageBreaks',(_0x1ea353,_0x2f3913,_0x3eec5d,_0xa1f85b)=>{this['totalPages']=_0x3eec5d['length'],this['_updatePageBreakMarkers'](_0x3eec5d,_0xa1f85b);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x321b76=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e9209;for(const _0x1d852d in _0x321b76){const _0x23f53e=_0x1d852d,_0x4334d7=_0x321b76[_0x23f53e];if('paginationLicenseKeyValid'==_0x4334d7||'paginationLicenseKeyInvalid'==_0x4334d7||'paginationLicenseKeyExpired'==_0x4334d7||'paginationLicenseKeyDomainLimit'==_0x4334d7||'paginationLicenseKeyNotAllowed'==_0x4334d7||'paginationLicenseKeyEvaluationLimit'==_0x4334d7||'paginationLicenseKeyUsageLimit'==_0x4334d7){delete _0x321b76[_0x23f53e],_0x3e9209=_0x4334d7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3e9209&&_0x321b76['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3e9209&&_0x321b76['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3e9209&&_0x321b76['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3e9209&&_0x321b76['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3e9209&&_0x321b76['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x3e9209&&_0x321b76['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x18d580){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x18d580));}moveSelectionToPage(_0x8f8077){if(!this['isEnabled'])return;const _0x1e028c=this['editor'],_0x5e0a3b=this['editor']['plugins']['get'](w)['pageBreaks'][_0x8f8077-0x1];_0x5e0a3b&&_0x1e028c['model']['change'](_0xec91e6=>{switch(_0x5e0a3b['type']){case'manual':{const _0x529016=_0x1e028c['model']['schema']['getNearestSelectionRange'](_0x5e0a3b['modelRange']['end'],'forward');_0xec91e6['setSelection'](_0x529016);break;}case'element':{const _0x2ad18c=_0x1e028c['model']['schema']['getNearestSelectionRange'](_0x5e0a3b['modelRange']['start'],'forward');_0xec91e6['setSelection'](_0x2ad18c);break;}case'text':{const _0x15ad71=_0x5e0a3b['modelRange']['start'];if(_0x15ad71['textNode']&&'\x20'===_0x15ad71['textNode']['data'][_0x15ad71['offset']]){const _0x6eabad=_0xec91e6['createPositionAt'](_0x15ad71['parent'],_0x15ad71['offset']+0x1);_0xec91e6['setSelection'](_0x6eabad);}else _0xec91e6['setSelection'](_0x5e0a3b['modelRange']);}}_0x1e028c['editing']['view']['focus']();});}goToNextPage(){const _0x30ca7e=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x30ca7e),this['scrollToPage'](_0x30ca7e);}['goToPreviousPage'](){const _0x5ac909=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x5ac909),this['scrollToPage'](_0x5ac909);}_updatePageBreakMarkers(_0x1d32b7,_0xbb5328){const _0x4c7a75=this['editor']['model'];this['isEnabled']&&_0x4c7a75['change'](_0x51bfbc=>{for(let _0x8608d4=0x1;_0x8608d4<_0x1d32b7['length'];_0x8608d4++){const _0x2b38aa=_0x1d32b7[_0x8608d4]['modelRange'],_0x2a731a='pagination:'+(_0x8608d4+0x1);_0x4c7a75['markers']['has'](_0x2a731a)?_0x51bfbc['updateMarker'](_0x2a731a,{'range':_0x2b38aa}):_0x51bfbc['addMarker'](_0x2a731a,{'range':_0x2b38aa,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xc85f50=_0x1d32b7['length'];_0xc85f50<_0xbb5328['length'];_0xc85f50++){const _0x2d7a9a='pagination:'+(_0xc85f50+0x1);_0x4c7a75['markers']['has'](_0x2d7a9a)&&_0x51bfbc['removeMarker'](_0x2d7a9a);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x1fa80=>{_0x1fa80['on']('addMarker:pagination',(_0x4155d3,{markerRange:_0x5f05ca,markerName:_0x91dccd},_0x4831e7)=>{if(!_0x4831e7['options']['pagination'])return;if(!_0x4831e7['consumable']['consume'](_0x5f05ca,_0x4155d3['name']))return;const _0x30260f=_0x5f05ca['getContainedElement']();let _0x1b6dc4=_0x30260f?_0x4831e7['mapper']['toViewElement'](_0x30260f):null;if(!_0x1b6dc4){const _0x5082f2=_0x5f05ca['start'];if(_0x4831e7['schema']['checkChild'](_0x5082f2,'$text')){const _0x4ffee6=_0x4831e7['mapper']['toViewPosition'](_0x5082f2);_0x1b6dc4=_0x4831e7['writer']['createContainerElement']('span'),_0x1b6dc4['getFillerOffset']=()=>null,_0x4831e7['writer']['insert'](_0x4ffee6,_0x1b6dc4);}else{const _0x69941a=_0x5082f2['nodeAfter'];_0x1b6dc4=_0x4831e7['mapper']['toViewElement'](_0x69941a);}}for(;_0x1b6dc4['parent']!==_0x1b6dc4['root']&&0x0===_0x1b6dc4['index'];)_0x1b6dc4=_0x1b6dc4['parent'];const _0x472d04=_0x91dccd['substring'](0xb);_0x1b6dc4['hasClass']('page-break')||(_0x4831e7['writer']['setStyle']('page-break-before','always',_0x1b6dc4),_0x4831e7['writer']['setAttribute']('data-pagination-page',_0x472d04,_0x1b6dc4),_0x4831e7['mapper']['bindElementToMarker'](_0x1b6dc4,_0x91dccd)),_0x4155d3['stop']();});});}_setupKeystrokes(){const _0x3d038c=this['editor'];_0x3d038c['keystrokes']['set']('Shift+Pageup',(_0x3a59c4,_0x348d52)=>{this['goToPreviousPage'](),_0x348d52();}),_0x3d038c['keystrokes']['set']('Shift+Pagedown',(_0x302c5f,_0x2faf8e)=>{this['goToNextPage'](),_0x2faf8e();}),_0x3d038c['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x3d038c['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x3d038c['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x3d038c['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x1cd015){return _0x1cd015<0x1&&(_0x1cd015=0x1),_0x1cd015>this['totalPages']&&(_0x1cd015=this['totalPages']),_0x1cd015;}},V=class extends _0x1bab2c{['pageNumberView'];constructor(_0x1de79b){super(_0x1de79b);const _0x3d979c=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1b2bd7(_0x1de79b,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2d6308=>T(_0x1de79b,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2d6308)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1ce579=>!_0x1ce579),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3d979c['if']('isEnabled','ck-disabled',_0x138d43=>!_0x138d43)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3d979c['to']('totalPages')}]}]});}['render'](){super['render']();const _0x37894a=this['pageNumberView']['element'],_0x275b81=_0x57e19a=>{this['pageNumberView']['element']['value']=String(_0x57e19a);};_0x275b81(this['pageNumber']),this['on']('change:pageNumber',(_0x20f6e5,_0xb34eee,_0x44dba6)=>{_0x275b81(_0x44dba6);}),this['listenTo'](_0x37894a,'keydown',(_0x2ae608,_0x25a73d)=>{if('ArrowUp'===_0x25a73d['key']||'ArrowDown'===_0x25a73d['key'])return void _0x25a73d['stopPropagation']();if(_0x25a73d['keyCode']!==_0x4e3e1a['enter'])return;_0x25a73d['preventDefault']();const _0x12c457=_0x37894a['valueAsNumber'];Number['isNaN'](_0x12c457)?_0x37894a['value']=String(this['pageNumber']):(_0x37894a['checkValidity']()?this['pageNumber']=_0x12c457:_0x12c457>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x37894a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x37894a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x37894a,'blur',()=>{_0x37894a['value']=String(this['pageNumber']);}),this['listenTo'](_0x37894a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x2a26a9{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x1ec577=this['editor'],_0x420d7d=_0x1ec577['plugins']['get']('PaginationEditing');_0x1ec577['ui']['componentFactory']['add']('pageNavigation',_0x4e78d6=>{const _0x502ee6=new V(_0x4e78d6);return _0x502ee6['bind']('pageNumber')['to'](_0x420d7d),_0x502ee6['bind']('totalPages')['to'](_0x420d7d),_0x502ee6['bind']('isEnabled')['to'](_0x420d7d),_0x502ee6['on']('navigation',(_0x2b3986,_0x16d7f7)=>{_0x420d7d['moveSelectionToPage'](_0x16d7f7),_0x420d7d['scrollToPage'](_0x16d7f7);}),_0x502ee6;}),_0x1ec577['ui']['componentFactory']['add']('nextPage',_0x404370=>{const _0x3161d1=new _0x47ae5d(_0x404370);return _0x3161d1['isEnabled']=!0x0,_0x3161d1['label']=T(_0x1ec577['locale'],'Go\x20to\x20next\x20page'),_0x3161d1['icon']=_0xfca57e,_0x3161d1['tooltip']=!0x0,_0x3161d1['keystroke']='Shift+PageDown',_0x3161d1['bind']('isEnabled')['to'](_0x420d7d),this['listenTo'](_0x3161d1,'execute',()=>{_0x420d7d['goToNextPage']();}),_0x3161d1;}),_0x1ec577['ui']['componentFactory']['add']('previousPage',_0x457dfd=>{const _0x252e02=new _0x47ae5d(_0x457dfd);return _0x252e02['isEnabled']=!0x0,_0x252e02['label']=T(_0x1ec577['locale'],'Go\x20to\x20previous\x20page'),_0x252e02['icon']=_0x552a4d,_0x252e02['tooltip']=!0x0,_0x252e02['keystroke']='Shift+PageUp',_0x252e02['bind']('isEnabled')['to'](_0x420d7d),this['listenTo'](_0x252e02,'execute',()=>{_0x420d7d['goToPreviousPage']();}),_0x252e02;});}},$=class extends _0x2a26a9{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0xa3bb47){super(_0xa3bb47),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x25dab1=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x25dab1),this['bind']('totalPages')['to'](_0x25dab1),_0x596cef['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3f2a79){this['editor']['plugins']['get'](G)['scrollToPage'](_0x3f2a79);}};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':_0x32c139=>0x1!=_0x32c139}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x42d531=>{const {af:{dictionary:_0x1ece5e,getPluralForm:_0x251f4c}}={'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':_0x5d0da7=>0x1!=_0x5d0da7}};_0x42d531['af']||={'dictionary':{},'getPluralForm':null},_0x42d531['af']['dictionary']=Object['assign'](_0x42d531['af']['dictionary'],_0x1ece5e),_0x42d531['af']['getPluralForm']=_0x251f4c;})(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':_0x9ebc62=>0x0==_0x9ebc62?0x0:0x1==_0x9ebc62?0x1:0x2==_0x9ebc62?0x2:_0x9ebc62%0x64>=0x3&&_0x9ebc62%0x64<=0xa?0x3:_0x9ebc62%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5135f8=>{const {ar:{dictionary:_0x416db5,getPluralForm:_0x3c5c12}}={'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':_0x29502c=>0x0==_0x29502c?0x0:0x1==_0x29502c?0x1:0x2==_0x29502c?0x2:_0x29502c%0x64>=0x3&&_0x29502c%0x64<=0xa?0x3:_0x29502c%0x64>=0xb?0x4:0x5}};_0x5135f8['ar']||={'dictionary':{},'getPluralForm':null},_0x5135f8['ar']['dictionary']=Object['assign'](_0x5135f8['ar']['dictionary'],_0x416db5),_0x5135f8['ar']['getPluralForm']=_0x3c5c12;})(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':_0x290ff5=>0x1!=_0x290ff5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32be11=>{const {ast:{dictionary:_0x2867d2,getPluralForm:_0x4d3293}}={'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':_0x80e2ff=>0x1!=_0x80e2ff}};_0x32be11['ast']||={'dictionary':{},'getPluralForm':null},_0x32be11['ast']['dictionary']=Object['assign'](_0x32be11['ast']['dictionary'],_0x2867d2),_0x32be11['ast']['getPluralForm']=_0x4d3293;})(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':_0x134dbb=>0x1!=_0x134dbb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x138c27=>{const {az:{dictionary:_0x38c297,getPluralForm:_0x543165}}={'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':_0x4813e9=>0x1!=_0x4813e9}};_0x138c27['az']||={'dictionary':{},'getPluralForm':null},_0x138c27['az']['dictionary']=Object['assign'](_0x138c27['az']['dictionary'],_0x38c297),_0x138c27['az']['getPluralForm']=_0x543165;})(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':_0x3ede3a=>_0x3ede3a%0xa==0x1&&_0x3ede3a%0x64!=0xb?0x0:_0x3ede3a%0xa>=0x2&&_0x3ede3a%0xa<=0x4&&(_0x3ede3a%0x64<0xa||_0x3ede3a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5592db=>{const {be:{dictionary:_0x1d75d,getPluralForm:_0x107011}}={'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':_0x27b1fc=>_0x27b1fc%0xa==0x1&&_0x27b1fc%0x64!=0xb?0x0:_0x27b1fc%0xa>=0x2&&_0x27b1fc%0xa<=0x4&&(_0x27b1fc%0x64<0xa||_0x27b1fc%0x64>=0x14)?0x1:0x2}};_0x5592db['be']||={'dictionary':{},'getPluralForm':null},_0x5592db['be']['dictionary']=Object['assign'](_0x5592db['be']['dictionary'],_0x1d75d),_0x5592db['be']['getPluralForm']=_0x107011;})(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':_0x3c9523=>0x1!=_0x3c9523}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f7bf7=>{const {bg:{dictionary:_0x5c46c8,getPluralForm:_0x230710}}={'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':_0x792b04=>0x1!=_0x792b04}};_0x4f7bf7['bg']||={'dictionary':{},'getPluralForm':null},_0x4f7bf7['bg']['dictionary']=Object['assign'](_0x4f7bf7['bg']['dictionary'],_0x5c46c8),_0x4f7bf7['bg']['getPluralForm']=_0x230710;})(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':_0x1225f8=>0x1!=_0x1225f8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38c9a0=>{const {bn:{dictionary:_0x746c51,getPluralForm:_0x2d0548}}={'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':_0x134826=>0x1!=_0x134826}};_0x38c9a0['bn']||={'dictionary':{},'getPluralForm':null},_0x38c9a0['bn']['dictionary']=Object['assign'](_0x38c9a0['bn']['dictionary'],_0x746c51),_0x38c9a0['bn']['getPluralForm']=_0x2d0548;})(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':_0x2d7752=>_0x2d7752%0xa==0x1&&_0x2d7752%0x64!=0xb?0x0:_0x2d7752%0xa>=0x2&&_0x2d7752%0xa<=0x4&&(_0x2d7752%0x64<0xa||_0x2d7752%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x932082=>{const {bs:{dictionary:_0x392e6e,getPluralForm:_0x56c2fe}}={'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':_0x3fb4d8=>_0x3fb4d8%0xa==0x1&&_0x3fb4d8%0x64!=0xb?0x0:_0x3fb4d8%0xa>=0x2&&_0x3fb4d8%0xa<=0x4&&(_0x3fb4d8%0x64<0xa||_0x3fb4d8%0x64>=0x14)?0x1:0x2}};_0x932082['bs']||={'dictionary':{},'getPluralForm':null},_0x932082['bs']['dictionary']=Object['assign'](_0x932082['bs']['dictionary'],_0x392e6e),_0x932082['bs']['getPluralForm']=_0x56c2fe;})(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':_0x189fd2=>0x1!=_0x189fd2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x9d7853=>{const {ca:{dictionary:_0x9b6b45,getPluralForm:_0x5e4c44}}={'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':_0x3e1013=>0x1!=_0x3e1013}};_0x9d7853['ca']||={'dictionary':{},'getPluralForm':null},_0x9d7853['ca']['dictionary']=Object['assign'](_0x9d7853['ca']['dictionary'],_0x9b6b45),_0x9d7853['ca']['getPluralForm']=_0x5e4c44;})(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':_0xae0c28=>0x1==_0xae0c28?0x0:_0xae0c28>=0x2&&_0xae0c28<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24c664=>{const {cs:{dictionary:_0x4c8a68,getPluralForm:_0x4950ea}}={'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':_0x3e758d=>0x1==_0x3e758d?0x0:_0x3e758d>=0x2&&_0x3e758d<=0x4?0x1:0x2}};_0x24c664['cs']||={'dictionary':{},'getPluralForm':null},_0x24c664['cs']['dictionary']=Object['assign'](_0x24c664['cs']['dictionary'],_0x4c8a68),_0x24c664['cs']['getPluralForm']=_0x4950ea;})(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':_0x248448=>0x1!=_0x248448}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x55110f=>{const {da:{dictionary:_0x2bd80d,getPluralForm:_0x513639}}={'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':_0x447e60=>0x1!=_0x447e60}};_0x55110f['da']||={'dictionary':{},'getPluralForm':null},_0x55110f['da']['dictionary']=Object['assign'](_0x55110f['da']['dictionary'],_0x2bd80d),_0x55110f['da']['getPluralForm']=_0x513639;})(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':_0x125793=>0x1!=_0x125793}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28b099=>{const {'de-ch':{dictionary:_0x87e05b,getPluralForm:_0x2f6fb9}}={'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':_0x50d348=>0x1!=_0x50d348}};_0x28b099['de-ch']||={'dictionary':{},'getPluralForm':null},_0x28b099['de-ch']['dictionary']=Object['assign'](_0x28b099['de-ch']['dictionary'],_0x87e05b),_0x28b099['de-ch']['getPluralForm']=_0x2f6fb9;})(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':_0x7e5075=>0x1!=_0x7e5075}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12b369=>{const {de:{dictionary:_0x49f5f5,getPluralForm:_0x20e437}}={'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':_0x55825e=>0x1!=_0x55825e}};_0x12b369['de']||={'dictionary':{},'getPluralForm':null},_0x12b369['de']['dictionary']=Object['assign'](_0x12b369['de']['dictionary'],_0x49f5f5),_0x12b369['de']['getPluralForm']=_0x20e437;})(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':_0x3aeb56=>0x1!=_0x3aeb56}};
|