@ckeditor/ckeditor5-pagination 48.3.0 → 48.3.1-alpha.1
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 _0x194ea8}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x2e492d,InputNumberView as _0x374a2f,View as _0x784d16}from'@ckeditor/ckeditor5-ui';import{Rect as _0x13a4be,ResizeObserver as _0x21e201,env as _0x3dd8e3,first as _0x3fb61e,global as _0x1247a3,keyCodes as _0x1d3b2c,logWarning as _0x3e355a,toUnit as _0x6d4b7b,uid as _0xab99fe}from'@ckeditor/ckeditor5-utils';import{debounce as _0x585e95}from'es-toolkit/compat';import{IconArrowDown as _0x55f90c,IconArrowUp as _0x44b531}from'@ckeditor/ckeditor5-icons';var w=class extends _0x194ea8{['_recalculatePageBreaksDebounced']=_0x585e95(()=>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 _0x3e355a('pagination-config-not-found',this['editor']['config']);const _0x562375=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x562375),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x48111b,_0x41c5c2,_0x15a5a9)=>{_0x15a5a9&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x32c500){const _0x3952d8='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x285ed0=0x78e88,_0x2a1736=window['Date']['now'](),_0x5972dd=_0x32c500['editor'],_0x1695f4=new window['Promise'](_0xe0a9e1=>{_0x5972dd['once']('ready',_0xe0a9e1);}),_0x5de7c5={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x444aee=_0x5972dd['config']['get']('licenseKey');async function _0x52cab4(){let _0x4b61b5,_0x570753=null,_0x502c88=null;try{return'GPL'==_0x444aee?'NotAllowed':(_0x4b61b5=_0x256399(),_0x4b61b5?(_0x4b61b5['usageEndpoint']&&(_0x502c88=_0x46b17a(_0x4b61b5['usageEndpoint'],_0x4b61b5['jti'])),await _0x42ffa1()?_0x5f1705()?_0x517962()?'Expired':_0x4aa659()?('evaluation'==_0x4b61b5['licenseType']&&(_0x570753=_0x26712a('EvaluationLimit')),await _0x235cdb()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x517962(){const _0x21c879=['evaluation','trial']['includes'](_0x4b61b5['licenseType'])?_0x2a1736/0x3e8:0xe10*_0x285ed0;return _0x4b61b5['exp']<_0x21c879;}function _0x5f1705(){const _0x306c21=_0x4b61b5['features'];return!!_0x306c21&&(!!_0x306c21['includes']('*')||!!_0x306c21['includes']('PAG'));}function _0x4aa659(){const _0x203e43=_0x4b61b5['licensedHosts'];if(!_0x203e43||0x0==_0x203e43['length'])return!0x0;const {hostname:_0x3c359f}=new URL(window['location']['href']);if(_0x203e43['includes'](_0x3c359f))return!0x0;const _0x26f0ae=_0x3c359f['split']('.');return _0x203e43['filter'](_0x1d4489=>_0x1d4489['includes']('*'))['map'](_0x203504=>_0x203504['split']('.'))['filter'](_0x3093bc=>_0x3093bc['length']<=_0x26f0ae['length'])['map'](_0x164829=>Array(_0x26f0ae['length']-_0x164829['length'])['fill']('*'===_0x164829[0x0]?'*':'')['concat'](_0x164829))['some'](_0x2b5133=>_0x26f0ae['every']((_0x5c8e90,_0x50910d)=>_0x2b5133[_0x50910d]===_0x5c8e90||'*'===_0x2b5133[_0x50910d]));}function _0x235cdb(){return _0x570753&&_0x502c88?new window['Promise']((_0x1a9f51,_0x2a1bca)=>{_0x570753['then'](_0x1a9f51,_0x2a1bca),_0x502c88['then'](_0x5d8b3c=>{'Valid'!=_0x5d8b3c&&_0x1a9f51(_0x5d8b3c);},_0x2a1bca);}):_0x570753||_0x502c88||'Valid';}}function _0x46b17a(_0x3f4bde,_0x8122e2){return new window['Promise'](_0x4ac0b2=>{if(_0x5ad3f1())return _0x4ac0b2('Valid');_0x1f0b98(),_0x5972dd['decorate']('_sendUsageRequest');let _0x824cdf=!0x1;const _0x370863=_0xab99fe();function _0x9ca205(_0x434ed6){return!!_0x434ed6&&('object'==typeof _0x434ed6||'function'==typeof _0x434ed6)&&'function'==typeof _0x434ed6['then']&&'function'==typeof _0x434ed6['catch'];}function _0x4abb9a(_0x445d9b){_0x41d60e(_0x445d9b)['then'](_0x3aa0ac=>_0x3aa0ac&&'ok'==_0x3aa0ac['status']?_0x3996f9(_0x332a3b(_0x370863+_0x8122e2))!=_0x3aa0ac['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5cfad6=>(_0xe3ad78(),_0x5cfad6),()=>{const _0x2bad90=_0x20af50();return null==_0x2bad90?(_0xe3ad78(),'Valid'):_0x2a1736-_0x2bad90>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4ac0b2)['catch'](()=>{_0x4ac0b2('UsageLimit');});const _0x383c6c=0x36ee80;function _0xe3ad78(){const _0x4cc513='llct-'+_0x3996f9(_0x332a3b(_0x3f4bde)),_0x15e68b=_0x3d7ab9(_0x3996f9(window['Math']['ceil'](_0x2a1736/_0x383c6c)));window['localStorage']['setItem'](_0x4cc513,_0x15e68b);}function _0x20af50(){const _0xc3c128='llct-'+_0x3996f9(_0x332a3b(_0x3f4bde)),_0x58c099=window['localStorage']['getItem'](_0xc3c128);return _0x58c099?window['parseInt'](_0x3d7ab9(_0x58c099),0x10)*_0x383c6c:null;}function _0x41d60e(_0x36477f){return new window['Promise']((_0x477362,_0x125c73)=>{_0x36477f['then'](_0x477362,_0x125c73),window['setTimeout'](_0x125c73,0x1d4c0);});}}_0x5972dd['on']('_sendUsageRequest',(_0x2f2de1,_0x25f320)=>{if(_0x25f320[0x0]!=_0x3f4bde)return _0x4ac0b2('UsageLimit');_0x25f320[0x1]={..._0x25f320[0x1],'requestId':_0x370863};},{'priority':'high'}),_0x5972dd['on']('_sendUsageRequest',_0x19ccf5=>{_0x9ca205(_0x19ccf5['return'])&&(_0x824cdf=!0x0,_0x4abb9a(_0x19ccf5['return']));},{'priority':'low'}),_0x1695f4['then'](()=>{_0x824cdf||_0x4ac0b2('UsageLimit');});});function _0x5ad3f1(){return'auto'==_0x5972dd['editing']['view']['_overlayModeHint'];}function _0x1f0b98(){_0x5972dd['editing']['view']['_overlayModeHint']='auto';}}function _0x26712a(_0x412ec4){const _0x2118aa=[new window['Promise'](_0x48a4e4=>setTimeout(_0x48a4e4,0x93ecc)),_0x1695f4['then'](()=>new window['Promise'](_0x9ba569=>{let _0x2034d2=0x0;_0x5972dd['model']['on']('applyOperation',(_0x47bb58,_0x293eb9)=>{_0x293eb9[0x0]['isDocumentOperation']&&_0x2034d2++,0x5e8==_0x2034d2&&(_0x9ba569(),_0x47bb58['off']());});}))];return window['Promise']['race'](_0x2118aa)['then'](()=>_0x412ec4);}async function _0x4bd4f8(){await _0x1695f4,_0x5972dd['model']['change']=_0x22ce56,_0x5972dd['model']['enqueueChange']=_0x22ce56,_0x5972dd['enableReadOnlyMode']('model');}function _0x231d81(_0x4dae70){const _0x2398df=_0x5c123e();_0x5972dd[_0x2398df]='paginationLicenseKey'+_0x4dae70,'Valid'!=_0x4dae70&&_0x4bd4f8();}function _0x5c123e(){const _0x52b336=window['String'](window['performance']['now']())['replace']('.','');let _0x2d8ff6='I';for(let _0x6cd4f6=0x0;_0x6cd4f6<_0x52b336['length'];_0x6cd4f6+=0x2){let _0xb89a14=window['parseInt'](_0x52b336['substring'](_0x6cd4f6,_0x6cd4f6+0x2));_0xb89a14>=0x3e&&(_0xb89a14-=0x3e),_0x2d8ff6+=_0x3952d8[_0xb89a14];}return _0x2d8ff6;}function _0x256399(){const _0x27fe5e=_0x444aee['split']('.');if(0x3!=_0x27fe5e['length'])return null;return _0x46f13f(_0x27fe5e[0x1]);function _0x46f13f(_0x3e2e5e){const _0x5ef62a=_0x14a6c1(_0x3e2e5e);return _0x5ef62a&&_0x363ce1()?_0x5ef62a:null;function _0x363ce1(){const _0x3c2902=_0x5ef62a['jti'],_0x11caff=window['parseInt'](_0x3c2902['substring'](_0x3c2902['length']-0x8),0x10),_0x188707={..._0x5ef62a,'jti':_0x3c2902['substring'](0x0,_0x3c2902['length']-0x8)};return delete _0x188707['vc'],_0x332a3b(_0x188707)==_0x11caff;}}}async function _0x42ffa1(){let _0x504a2c=!0x0;try{const [_0x8558e3,_0x93745a,_0x535268]=_0x444aee['split']('.');return _0x94c5b4(_0x8558e3),await _0x4c87e0(_0x8558e3,_0x93745a,_0x535268),_0x504a2c;}catch{return!0x1;}function _0x94c5b4(_0x377195){const _0x5d74ee=_0x14a6c1(_0x377195);_0x5d74ee&&'ES256'==_0x5d74ee['alg']||(_0x504a2c=!0x1);}async function _0x4c87e0(_0x251327,_0x5971de,_0x372b98){const _0x2f1453=window['Uint8Array']['from'](_0x34dc94(_0x372b98),_0x4f183d=>_0x4f183d['charCodeAt'](0x0)),_0x1b28dc=new window['TextEncoder']()['encode'](_0x251327+'.'+_0x5971de),_0x3af9cd=window['crypto']['subtle'];if(!_0x3af9cd)return;const _0x286abc=await _0x3af9cd['importKey']('jwk',_0x5de7c5,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3af9cd['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x286abc,_0x2f1453,_0x1b28dc)||(_0x504a2c=!0x1);}}function _0x14a6c1(_0x2b47cd){return _0x2b47cd['startsWith']('ey')?JSON['parse'](_0x34dc94(_0x2b47cd)):null;}function _0x34dc94(_0x4ca8d8){return window['atob'](_0x4ca8d8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x332a3b(_0x3b7cb4){let _0x5b16ad=0x1505;function _0x88b296(_0x7efe46){for(let _0x1db987=0x0;_0x1db987<_0x7efe46['length'];_0x1db987++){const _0x72a52c=_0x7efe46['charCodeAt'](_0x1db987);_0x5b16ad=(_0x5b16ad<<0x5)+_0x5b16ad+_0x72a52c,_0x5b16ad&=_0x5b16ad;}}function _0xa60e0d(_0x488610){Array['isArray'](_0x488610)?_0x488610['forEach'](_0xa60e0d):_0x488610&&'object'==typeof _0x488610?Object['entries'](_0x488610)['sort']()['forEach'](([_0x39f787,_0x5088e9])=>{_0x88b296(_0x39f787),_0xa60e0d(_0x5088e9);}):_0x88b296(window['String'](_0x488610));}return _0xa60e0d(_0x3b7cb4),_0x5b16ad>>>0x0;}function _0x3996f9(_0x1f7655){return _0x1f7655['toString'](0x10)['padStart'](0x8,'0');}function _0x3d7ab9(_0x3f06b5){return _0x3f06b5['split']('')['reverse']()['join']('');}function _0x22ce56(){}_0x231d81(await _0x52cab4());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x2f9679=this['editor'],_0x49f908=_0x2f9679['editing']['view'],_0x118f8e=this['_getAttachedDomRoot']();if(!_0x118f8e||!_0x118f8e['hasChildNodes']())return void _0x2f9679['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5efbcd,pageHeight:_0x3d06ed}=_0x2f9679['config']['get']('pagination'),{top:_0x23d43f,left:_0x14c285,bottom:_0x47328e,right:_0x37dfbe}=this['_configuredPaddings'];this['_pagesContainer']=new _0x784d16(_0x2f9679['locale']);const _0x204c84=this['_pagesContainer'];_0x204c84['set']('class',''),_0x204c84['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x5efbcd,'width':_0x5efbcd,'height':'calc(\x20'+_0x3d06ed+'\x20-\x20'+_0x23d43f+'\x20-\x20'+_0x47328e+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x37dfbe+'\x200\x20'+_0x14c285,'columnGap':'calc('+_0x14c285+'\x20+\x20'+_0x37dfbe+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x204c84['bindTemplate']['to']('class')}}),_0x204c84['render'](),_0x118f8e['parentNode']['insertBefore'](_0x204c84['element'],_0x118f8e['nextSibling']),this['listenTo'](_0x49f908,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x45bc98 of this['editor']['editing']['view']['domRoots']['values']())if(_0x45bc98['ownerDocument']['body']['contains'](_0x45bc98))return _0x45bc98;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x1555d5=this['editor']['editing']['view'],_0x373b07=this['_pagesContainer'],_0x15cb0a=this['_getAttachedDomRoot']();if(!_0x15cb0a||!_0x373b07)return Promise['resolve']();for(_0x373b07['class']=['ck-reset','ck-pagination-view',..._0x15cb0a['classList']]['join']('\x20');_0x373b07['element']['firstChild'];)_0x373b07['element']['firstChild']['remove']();const _0x488474=Array['from'](_0x1555d5['domRoots']);_0x488474['sort'](([,_0x39c59c],[,_0x40a79e])=>_0x39c59c['compareDocumentPosition'](_0x40a79e)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x46618b,_0xc1ecc4]of _0x488474){const _0x527b58=_0xc1ecc4['cloneNode'](!0x0);'attributeStyleMap'in _0x527b58&&_0x527b58['attributeStyleMap']['clear'](),_0x527b58['dataset']['rootName']=_0x46618b,_0x527b58['className']='ck-content\x20ck-pagination_enabled',_0x527b58['removeAttribute']('id'),_0x527b58['tabIndex']=-0x1,_0x373b07['element']['append'](_0x527b58);}const _0x34dd1a=Array['from'](_0x373b07['element']['querySelectorAll']('img'));return function(_0x5f146e){return Promise['all'](_0x5f146e['map'](_0x143b3a=>Promise['race']([k(_0x143b3a),v(0x3e8)])));}(_0x34dd1a)['then'](()=>{for(const _0x3c2af5 of _0x34dd1a['filter'](_0x359cd5=>!_0x359cd5['closest']('table')))if(_0x3c2af5['offsetParent']){const _0x552b87=_0x1247a3['window']['getComputedStyle'](_0x3c2af5),_0x5e840e=_0x1247a3['document']['createElement']('span');for(const _0x1ef385 of _0x552b87)_0x5e840e['style']['setProperty'](_0x1ef385,_0x552b87[_0x1ef385]);_0x5e840e['style']['backgroundImage']='url(\x20'+_0x3c2af5['src']+'\x20)',_0x5e840e['style']['breakInside']='avoid','PICTURE'==_0x3c2af5['parentElement']?.['tagName']?_0x3c2af5['parentElement']['replaceWith'](_0x5e840e):_0x3c2af5['replaceWith'](_0x5e840e);}return new Promise(_0x2eb0e2=>_0x1247a3['window']['requestAnimationFrame'](()=>_0x2eb0e2()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x56a9bd=this['_pagesContainer']['element'];if(!_0x56a9bd['ownerDocument']['body']['contains'](_0x56a9bd))return;const _0x3f23e3=new _0x13a4be(_0x56a9bd)['excludeScrollbarsAndBorders'](),_0x56cc9e=Math['floor'](_0x3f23e3['width']+0x64),_0x1e0fcc=_(_0x56a9bd,Math['floor'](_0x3f23e3['left']-_0x56a9bd['scrollLeft']),_0x56cc9e,_0x3f23e3['height'])['map'](_0x31bfee=>this['_mapPageStarterInfoToPageBreakInfo'](_0x31bfee))['filter'](_0x14ac26=>!0x1!==_0x14ac26);_0x1e0fcc['every'](_0x5a115f=>!!_0x5a115f)&&(this['pageBreaks']=_0x1e0fcc);}['_mapPageStarterInfoToPageBreakInfo'](_0x269b1b){const _0x26a9c8=this['editor']['editing']['view'],_0x49791f=this['editor']['editing']['mapper'],_0x3beb9f=_0x26a9c8['domConverter'],_0x4f2079=_0x269b1b['path']['shift'](),_0x219fcc=this['_pagesContainer']['element']['childNodes'][_0x4f2079]['dataset']['rootName'],_0x42adb8=_0x26a9c8['getDomRoot'](_0x219fcc);if(!_0x42adb8)return null;const _0x3fd8c5=function(_0x2edd8c,_0x16e00e){let _0x7aa687=_0x2edd8c;for(const _0x323917 of _0x16e00e['path']){if(!_0x7aa687)return null;_0x7aa687=_0x7aa687['childNodes'][_0x323917];}return _0x7aa687;}(_0x42adb8,_0x269b1b);if(!_0x3fd8c5)return null;const _0x108560=_0x3beb9f['domPositionToView'](_0x3fd8c5,_0x269b1b['textOffset']||0x0);return _0x108560?'manual'==_0x269b1b['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x108560,_0x3fd8c5):'text'==_0x269b1b['type']&&_0x49791f['toModelPosition'](_0x108560)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x108560,_0x3fd8c5,_0x269b1b['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x108560,_0x3fd8c5,_0x269b1b['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x42dc74,_0x11f9bf){const _0x5765bf=this['editor']['model'],_0xa0fab6=this['editor']['editing']['mapper']['toModelElement'](_0x42dc74['parent']);return new P({'type':'manual','modelRange':_0x5765bf['createRangeOn'](_0xa0fab6),'domNode':_0x11f9bf,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x488ab1,_0x43187b,_0x579c9a){const _0x4bb5b5=this['editor']['model'],_0x2f0aac=this['editor']['editing']['mapper'],_0x154c5e=this['editor']['editing']['view']['domConverter'];if(_0x579c9a>=_0x43187b['length'])return null;const _0x47bdf0=_0x2f0aac['toModelPosition'](_0x488ab1),_0x346062=_0x4bb5b5['createRange'](_0x47bdf0),_0x580b8c=_0x2f0aac['findMappedViewAncestor'](_0x488ab1);return new P({'type':'text','modelRange':_0x346062,'domNode':_0x43187b,'offset':y(_0x43187b,_0x579c9a,_0x154c5e['mapViewToDom'](_0x580b8c))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x59e208,_0x1e29fe,_0x54121c){const _0x58d2a0=this['editor']['model'],_0x27ee1c=this['editor']['editing'],_0x4e3a45=_0x27ee1c['mapper'],_0x3b57e5=_0x27ee1c['view']['domConverter'],_0x32a937=_0x4e3a45['findMappedViewAncestor'](_0x59e208),_0x102fb1=_0x4e3a45['toModelElement'](_0x32a937);if(!_0x102fb1||_0x102fb1['is']('rootElement'))return!0x1;const _0x275091=function(_0x3c0f47){const _0x49b4ef=_0x3c0f47['parent'],_0x2b3759=_0x49b4ef['root']['document']['model'],_0x1eb51f=_0x49b4ef['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5aad47=null;for(const _0x1b2ea5 of _0x1eb51f){if(_0x1b2ea5['is']('rootElement'))return _0x5aad47;if(!_0x2b3759['createPositionBefore'](_0x1b2ea5)['isTouching'](_0x3c0f47))return _0x5aad47;_0x5aad47=_0x1b2ea5;}}(_0x58d2a0['createPositionBefore'](_0x102fb1))||_0x102fb1;let _0x286444=_0x4e3a45['toViewElement'](_0x275091),_0x5b70cb=_0x58d2a0['createRangeOn'](_0x275091);const _0x20fe0d=_0x58d2a0['createPositionBefore'](_0x275091)['nodeBefore'];if(_0x20fe0d&&_0x20fe0d['is']('element','imageBlock')){const _0xd5a652=_0x4e3a45['toViewElement'](_0x20fe0d),_0x2217fd=_0x3b57e5['mapViewToDom'](_0xd5a652),_0x50d8bd=_0x1247a3['window']['getComputedStyle'](_0x2217fd)['float'];'left'!=_0x50d8bd&&'right'!=_0x50d8bd||(_0x5b70cb=_0x58d2a0['createRangeOn'](_0x20fe0d));}for(;_0x286444['parent']!==_0x286444['root']&&0x0===_0x286444['index'];)_0x286444=_0x286444['parent'];const _0x562769=new _0x13a4be(K(_0x1e29fe)?_0x1e29fe:L(_0x1e29fe)),_0x185b47=_0x54121c?_0x562769['height']-_0x54121c:0x0,_0x24f62a=_0x3b57e5['mapViewToDom'](_0x286444),_0x4badca=new _0x13a4be(_0x24f62a);return new P({'type':'element','modelRange':_0x5b70cb,'domNode':_0x24f62a,'offset':Math['round'](_0x185b47)||_0x32a937!=b(_0x59e208)?_0x185b47+_0x562769['top']-_0x4badca['top']:0x0});}get['_configuredPaddings'](){const _0x1e7a8c=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1e7a8c);}static['_findPageStarterInfos'](_0x401f5d,_0x29716f,_0x4bfe1d,_0x4d19f8,_0x3ff1a3){return _(_0x401f5d,_0x29716f,_0x4bfe1d,_0x4d19f8,_0x3ff1a3);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x2e8d90,modelRange:_0x3c2bc0,domNode:_0x3f349c,offset:_0x237ed8}){this['type']=_0x2e8d90,this['modelRange']=_0x3c2bc0,this['_domNode']=_0x3f349c,this['_offset']=_0x237ed8;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x175746=new _0x13a4be(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x175746['top']+_0x175746['height']/0x2:_0x175746['top']+this['_offset'];}};function y(_0x4996cf,_0x43ed1d,_0x32b4af){const _0xcc6b90=L(_0x4996cf),_0x56f7c9=function(_0x2954a4){const _0x33c45b=_0x1247a3['document']['createRange']();return _0x33c45b['selectNodeContents'](_0x2954a4),_0x33c45b;}(_0x32b4af);let _0x260da8;_0x260da8=0x0==_0x43ed1d?N(_0x56f7c9['startContainer'],_0x56f7c9['startOffset'],_0x4996cf['parentNode'],Array['from'](_0x4996cf['parentNode']['childNodes'])['indexOf'](_0x4996cf)):N(_0x56f7c9['startContainer'],_0x56f7c9['startOffset'],_0x4996cf,_0x43ed1d);const _0x1eafdb=N(_0x4996cf,_0x43ed1d,_0x56f7c9['endContainer'],_0x56f7c9['endOffset']),_0x12438e=new _0x13a4be(_0x260da8)['bottom'];return(new _0x13a4be(_0x1eafdb)['top']+_0x12438e)/0x2-new _0x13a4be(_0xcc6b90)['top'];}function b(_0x596672){let _0x281c70=_0x596672['parent'];for(;_0x281c70['is']('$text')||_0x281c70['is']('attributeElement');)_0x281c70=_0x281c70['parent'];return _0x281c70;}function k(_0x131590){return _0x131590['hasAttribute']('width')&&_0x131590['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4ccfad=>{function _0x14dadf(){_0x131590['removeEventListener']('load',_0x14dadf),_0x131590['removeEventListener']('error',_0x14dadf),_0x4ccfad();}_0x131590['complete']?_0x4ccfad():(_0x131590['addEventListener']('load',_0x14dadf),_0x131590['addEventListener']('error',_0x14dadf));});}function v(_0x391e25){return new Promise(_0x563622=>setTimeout(_0x563622,_0x391e25));}function L(_0x4b09de){const _0x4813d5=_0x1247a3['document']['createRange']();return _0x4813d5['selectNode'](_0x4b09de),_0x4813d5;}function x(_0x47c80e,_0x3a1aa7,_0x2a4c6a){const _0xeb4a8b=_0x1247a3['document']['createRange']();return _0xeb4a8b['setStart'](_0x47c80e,_0x3a1aa7),_0xeb4a8b['setEnd'](_0x47c80e,_0x2a4c6a),_0xeb4a8b;}function N(_0x52b3cd,_0x55949c,_0x5bf6dd,_0x965f00){const _0x5ca57b=_0x1247a3['document']['createRange']();return _0x5ca57b['setStart'](_0x52b3cd,_0x55949c),_0x5ca57b['setEnd'](_0x5bf6dd,_0x965f00),_0x5ca57b;}function _(_0x4dc984,_0x22f0aa,_0x573a6b,_0x54713f,_0x5c909e){const _0x416fd4=[];for(const [_0x4dc17c,_0x716b1c]of _0x4dc984['childNodes']['entries']()){let _0x39d158=[];K(_0x716b1c)&&_0x716b1c['offsetParent']&&['static','relative']['includes'](_0x1247a3['window']['getComputedStyle'](_0x716b1c)['position'])?_0x39d158=E(_0x716b1c,_0x4dc17c,_0x22f0aa,_0x573a6b,_0x54713f,_0x5c909e):O(_0x716b1c)&&(_0x39d158=S(_0x716b1c,_0x4dc17c,_0x22f0aa,_0x573a6b,_0x5c909e)),_0x39d158['length']&&(_0x416fd4['push'](..._0x39d158),_0x22f0aa+=_0x39d158['length']*_0x573a6b,_0x5c909e=!0x1);}return _0x416fd4;}function E(_0x4b689a,_0x460d7c,_0x4f955d,_0x3b548c,_0x2d02a6,_0x194041){const _0x2fd508=[];var _0x35cd4c;if((_0x35cd4c=_0x4b689a['previousSibling'])&&K(_0x35cd4c)&&Boolean(_0x35cd4c['classList']['contains']('page-break')||_0x35cd4c['closest']('.page-break'))&&(_0x2fd508['push']({'type':'manual','offset':0x0,'path':[_0x460d7c-0x1]}),_0x194041=!0x0),'table-row'==_0x1247a3['window']['getComputedStyle'](_0x4b689a)['display']){let _0x563a10=0x0,_0x28805d=!0x1;for(const _0x2630e4 of _0x4b689a['getClientRects']())_0x563a10+=_0x2630e4['height'],_0x2630e4['left']>=_0x4f955d&&(_0x28805d=!0x0);if(_0x563a10<_0x2d02a6&&_0x28805d)return _0x194041||_0x2fd508['push']({'type':'element','offset':0x0,'path':[_0x460d7c]}),_0x2fd508;}const _0x2aedee=_0x4b689a['closest']('figure.image');if(_0x2aedee&&function(_0x51544e){let _0x3a3fbc=!0x1;const _0x1e84d5=_0x51544e['parentElement']['dataset']['rootName'],_0x5d4743=_0x51544e['nextElementSibling'],_0x3b0eff=_0x51544e['previousElementSibling'],_0x2d8fa4=_0x5d4743&&_0x1247a3['window']['getComputedStyle'](_0x5d4743)['float'],_0x218eb5=_0x5d4743&&'ck-fake-selection-container'===_0x5d4743['className'];return!_0x1e84d5||_0x5d4743||_0x3b0eff||(_0x3a3fbc=!0x0),_0x1e84d5&&!_0x3b0eff&&_0x218eb5&&(_0x3a3fbc=!0x0),_0x1e84d5&&!_0x3b0eff&&'none'!==_0x2d8fa4&&(_0x3a3fbc=!0x0),!_0x3a3fbc;}(_0x2aedee)){const _0x5a767b=_0x1247a3['window']['getComputedStyle'](_0x2aedee)['float'];if('left'==_0x5a767b||'right'==_0x5a767b)return _0x2fd508;}const _0x592121=_(_0x4b689a,_0x4f955d,_0x3b548c,_0x2d02a6,_0x194041);if(_0x592121['length']){for(const _0x3550d3 of _0x592121)_0x2fd508['push']({'type':_0x3550d3['type'],'offset':_0x3550d3['offset'],'textOffset':_0x3550d3['textOffset'],'path':[_0x460d7c,..._0x3550d3['path']]}),_0x4f955d+=_0x3b548c,_0x194041=!0x1;return _0x2fd508;}return _0x2fd508['push'](...function(_0x5408bd,_0x58f1c2,_0x2ccea1,_0xcd43,_0x276b9f){const _0x195901=[];if('table-cell'==_0x1247a3['window']['getComputedStyle'](_0x5408bd)['display'])return[];const _0x4b93aa=[];for(const _0x414c11 of _0x5408bd['getClientRects']())if(_0x414c11['left']>=_0x2ccea1){for(const _0x3bad22 of _0x4b93aa)_0x3bad22['height']+=_0x414c11['height'];_0x4b93aa['push']({'height':_0x414c11['height']}),_0x2ccea1+=_0xcd43;}for(const _0x5069fa of _0x4b93aa)_0x276b9f||_0x195901['push']({'type':'element','offset':_0x5069fa['height'],'textOffset':0x0,'path':[_0x58f1c2]}),_0x276b9f=!0x1;return _0x195901;}(_0x4b689a,_0x460d7c,_0x4f955d,_0x3b548c,_0x194041)),_0x2fd508;}function S(_0x2a34f7,_0x20ac69,_0x1f78f7,_0x2c6877,_0x2ed1a2){const _0x2c5fbb=L(_0x2a34f7),_0x16cb8e=[];let _0x29adad=0x0;for(const _0x4fde9e of _0x2c5fbb['getClientRects']())if(_0x4fde9e['left']>=_0x1f78f7){const _0x1cd863=R(_0x2a34f7,_0x29adad,_0x1f78f7,_0x2c6877);_0x2ed1a2||_0x16cb8e['push']({'type':'text','path':[_0x20ac69],'textOffset':_0x1cd863}),_0x29adad=_0x1cd863,_0x1f78f7+=_0x2c6877,_0x2ed1a2=!0x1;}return _0x16cb8e;}function R(_0x1b984f,_0x3215ed,_0x947fd3,_0x266e1a){let _0x5286ac=_0x3215ed,_0x4d5c17=_0x1b984f['length'];for(;_0x4d5c17-_0x5286ac>0x1;){const _0x13e776=Math['ceil']((_0x5286ac+_0x4d5c17)/0x2);I(x(_0x1b984f,_0x5286ac,_0x13e776),_0x947fd3,_0x266e1a)?_0x4d5c17=_0x13e776:_0x5286ac=_0x13e776;}return _0x5286ac;}function I(_0x245f91,_0x22d57,_0x5cdf38){for(const _0x247dad of _0x245f91['getClientRects']())if(_0x247dad['left']>=_0x22d57&&_0x247dad['left']<_0x22d57+_0x5cdf38)return!0x0;return!0x1;}function K(_0x39d03d){return _0x39d03d['nodeType']==Node['ELEMENT_NODE'];}function O(_0x3f24ea){return _0x3f24ea['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x6d4b7b('px');var U=class extends _0x784d16{constructor(){super();const _0x5ba394=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x5ba394['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x5ba394['if']('isVisible','ck-hidden',_0x3407a9=>!_0x3407a9)],'style':{'left':_0x5ba394['to']('left',_0x186a63=>A(_0x186a63)),'top':_0x5ba394['to']('top',_0x10a2c1=>A(_0x10a2c1)),'width':_0x5ba394['to']('width',_0x21a4cc=>A(_0x21a4cc))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2100b4){this['_viewCollection']=_0x2100b4['ui']['view']['body'];}['destroy'](){for(const _0x48530e of this['_hiddenLines'])_0x48530e['destroy']();}['cleanLines'](){for(const _0x306099 of this['_visibleLines'])_0x306099['isVisible']=!0x1,this['_hiddenLines']['add'](_0x306099);this['_visibleLines']['clear']();}['showLine'](_0x3baff6,_0x519c47,_0x2375cc,_0x17f7c9){let _0x52e11f;this['_hiddenLines']['size']?(_0x52e11f=_0x3fb61e(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x52e11f)):_0x52e11f=new U(),_0x52e11f['set']({'pageNumber':_0x17f7c9,'left':_0x3baff6,'top':_0x519c47,'width':_0x2375cc}),_0x52e11f['isVisible']=!0x0,this['_viewCollection']['has'](_0x52e11f)||this['_viewCollection']['add'](_0x52e11f),this['_visibleLines']['add'](_0x52e11f);}['setViewCollection'](_0x13ffdc){for(const _0x3a463d of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3a463d)&&this['_viewCollection']['remove'](_0x3a463d);this['_viewCollection']=_0x13ffdc;}};const D='ck-pagination_enabled';var B=class extends _0x194ea8{['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',(_0xe12a2a,_0x484165,_0x2ae51b)=>{_0x2ae51b||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x2ae51b);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3953d3){if(!this['isEnabled'])return;const _0x3fe741=_0x3953d3>0x1?this['_getPageBreakLineOffset'](_0x3953d3-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3fe741-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3dd8e3['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x17c0e2=this['editor'],_0x7060a6=this['_getAttachedDomRoot']();_0x7060a6?(this['_scrollableEditingRootDomAncestor']&&_0x17c0e2['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x46e00c){let _0x459311=_0x46e00c;do{_0x459311=_0x459311['parentElement'];const _0x6b985d=_0x1247a3['window']['getComputedStyle'](_0x459311)['overflowY'];if('auto'==_0x6b985d||'scroll'==_0x6b985d)break;}while('BODY'!=_0x459311['tagName']);return _0x459311;}(_0x7060a6),_0x17c0e2['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x21e201(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x17c0e2['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3e1f3d=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3e1f3d['ui']['view']['listenTo'](_0x1247a3['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3e1f3d['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x75a29 of this['editor']['editing']['view']['domRoots']['values']())if(_0x75a29['ownerDocument']['body']['contains'](_0x75a29))return _0x75a29;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x3aa1ce=this['_getAttachedDomRoot'](),_0x394a1c=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3aa1ce||0x1==_0x394a1c['length'])return void(this['pageNumber']=0x1);const _0x5af44a=new _0x13a4be(_0x3aa1ce)['excludeScrollbarsAndBorders'](),_0x3875f5=new _0x13a4be(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x428497=_0x3875f5['top']+_0x3875f5['height']/0x3;let _0x20ccba=!0x1;const _0x58afd3=[];for(let _0x6e4149=0x1;_0x6e4149<_0x394a1c['length'];_0x6e4149++){const _0x1995ee=this['_getPageBreakLineOffset'](_0x6e4149,_0x3875f5);if(!_0x1995ee)continue;const _0x1559f2=_0x3875f5['top']+_0x1995ee-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x58afd3['push']({'pageOffsetTop':_0x1559f2,'domRootRect':_0x5af44a,'domScrollableRect':_0x3875f5,'pageNumber':_0x6e4149}),_0x1559f2>_0x428497&&!_0x20ccba&&(this['pageNumber']=_0x6e4149,_0x20ccba=!0x0);}this['_renderPageBreakLines'](_0x58afd3),_0x20ccba||(this['pageNumber']=_0x394a1c['length']);}['_renderPageBreakLines'](_0x517e37){const {scrollX:_0x2c4758,scrollY:_0x2c2558}=_0x1247a3['window'];if(_0x517e37['length']){for(const {domScrollableRect:_0x3753f0,pageOffsetTop:_0x128005,domRootRect:_0x228de0,pageNumber:_0x3c7d8b}of _0x517e37)_0x3753f0['top']<_0x128005&&_0x128005<_0x3753f0['bottom']&&this['linesRepository']['showLine'](_0x228de0['left']+_0x2c4758,_0x128005+_0x2c2558,_0x228de0['width'],_0x3c7d8b+0x1);}}['_getPageBreakLineOffset'](_0x51b3d9,_0x4f7400=null){const _0x59fb05=this['_paginationLookupPlugin']['pageBreaks'][_0x51b3d9]['offset'];return _0x59fb05?(_0x4f7400||(_0x4f7400=new _0x13a4be(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x59fb05-_0x4f7400['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0xf5043f,_0x1e4b09=!0x0){const _0x1b7783=this['editor']['editing']['view'];_0x1b7783['change'](_0x310356=>{for(const _0x48ba6b of _0x1b7783['document']['roots'])_0x1e4b09?_0x310356['addClass'](_0xf5043f,_0x48ba6b):_0x310356['removeClass'](_0xf5043f,_0x48ba6b);});}};function T(_0x371728,_0xb9d508,..._0x4d7385){const t=_0x371728['t'];switch(_0xb9d508){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)',..._0x4d7385);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 _0xb9d508;}}var G=class extends _0x194ea8{['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 _0xeb4fc0=this['editor']['plugins']['get']('Pagination'),_0x3cacfc=this['editor']['plugins']['get'](w),_0x316289=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0xeb4fc0),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x316289),this['listenTo'](_0x3cacfc,'change:pageBreaks',(_0x1bcbd7,_0x21fa19,_0x26d0e1,_0xe47b9e)=>{this['totalPages']=_0x26d0e1['length'],this['_updatePageBreakMarkers'](_0x26d0e1,_0xe47b9e);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x468c52=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1c7bb0;for(const _0x1c19d4 in _0x468c52){const _0x9bc400=_0x1c19d4,_0x569c3e=_0x468c52[_0x9bc400];if('paginationLicenseKeyValid'==_0x569c3e||'paginationLicenseKeyInvalid'==_0x569c3e||'paginationLicenseKeyExpired'==_0x569c3e||'paginationLicenseKeyDomainLimit'==_0x569c3e||'paginationLicenseKeyNotAllowed'==_0x569c3e||'paginationLicenseKeyEvaluationLimit'==_0x569c3e||'paginationLicenseKeyUsageLimit'==_0x569c3e){delete _0x468c52[_0x9bc400],_0x1c7bb0=_0x569c3e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1c7bb0&&_0x468c52['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1c7bb0&&_0x468c52['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1c7bb0&&_0x468c52['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1c7bb0&&_0x468c52['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1c7bb0&&_0x468c52['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x1c7bb0&&_0x468c52['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x353d72){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x353d72));}['moveSelectionToPage'](_0x2e422f){if(!this['isEnabled'])return;const _0xebc59b=this['editor'],_0x18e3f5=this['editor']['plugins']['get'](w)['pageBreaks'][_0x2e422f-0x1];_0x18e3f5&&_0xebc59b['model']['change'](_0x5a8421=>{switch(_0x18e3f5['type']){case'manual':{const _0x17d971=_0xebc59b['model']['schema']['getNearestSelectionRange'](_0x18e3f5['modelRange']['end'],'forward');_0x5a8421['setSelection'](_0x17d971);break;}case'element':{const _0x1f8c26=_0xebc59b['model']['schema']['getNearestSelectionRange'](_0x18e3f5['modelRange']['start'],'forward');_0x5a8421['setSelection'](_0x1f8c26);break;}case'text':{const _0x582fe2=_0x18e3f5['modelRange']['start'];if(_0x582fe2['textNode']&&'\x20'===_0x582fe2['textNode']['data'][_0x582fe2['offset']]){const _0x37c93a=_0x5a8421['createPositionAt'](_0x582fe2['parent'],_0x582fe2['offset']+0x1);_0x5a8421['setSelection'](_0x37c93a);}else _0x5a8421['setSelection'](_0x18e3f5['modelRange']);}}_0xebc59b['editing']['view']['focus']();});}['goToNextPage'](){const _0x2c21ca=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2c21ca),this['scrollToPage'](_0x2c21ca);}['goToPreviousPage'](){const _0x258a14=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x258a14),this['scrollToPage'](_0x258a14);}['_updatePageBreakMarkers'](_0x2d23d5,_0x35fa1c){const _0x4f93d1=this['editor']['model'];this['isEnabled']&&_0x4f93d1['change'](_0xaa2c50=>{for(let _0x4777d3=0x1;_0x4777d3<_0x2d23d5['length'];_0x4777d3++){const _0x1f496b=_0x2d23d5[_0x4777d3]['modelRange'],_0x4e0511='pagination:'+(_0x4777d3+0x1);_0x4f93d1['markers']['has'](_0x4e0511)?_0xaa2c50['updateMarker'](_0x4e0511,{'range':_0x1f496b}):_0xaa2c50['addMarker'](_0x4e0511,{'range':_0x1f496b,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4c5504=_0x2d23d5['length'];_0x4c5504<_0x35fa1c['length'];_0x4c5504++){const _0x25883f='pagination:'+(_0x4c5504+0x1);_0x4f93d1['markers']['has'](_0x25883f)&&_0xaa2c50['removeMarker'](_0x25883f);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x406e3e=>{_0x406e3e['on']('addMarker:pagination',(_0x3b2c2f,{markerRange:_0x5f25ec,markerName:_0x145764},_0x214b12)=>{if(!_0x214b12['options']['pagination'])return;if(!_0x214b12['consumable']['consume'](_0x5f25ec,_0x3b2c2f['name']))return;const _0x5d01c9=_0x5f25ec['getContainedElement']();let _0x16c7ea=_0x5d01c9?_0x214b12['mapper']['toViewElement'](_0x5d01c9):null;if(!_0x16c7ea){const _0x27c51e=_0x5f25ec['start'];if(_0x214b12['schema']['checkChild'](_0x27c51e,'$text')){const _0x7e299f=_0x214b12['mapper']['toViewPosition'](_0x27c51e);_0x16c7ea=_0x214b12['writer']['createContainerElement']('span'),_0x16c7ea['getFillerOffset']=()=>null,_0x214b12['writer']['insert'](_0x7e299f,_0x16c7ea);}else{const _0x5242ce=_0x27c51e['nodeAfter'];_0x16c7ea=_0x214b12['mapper']['toViewElement'](_0x5242ce);}}for(;_0x16c7ea['parent']!==_0x16c7ea['root']&&0x0===_0x16c7ea['index'];)_0x16c7ea=_0x16c7ea['parent'];const _0xb0d403=_0x145764['substring'](0xb);_0x16c7ea['hasClass']('page-break')||(_0x214b12['writer']['setStyle']('page-break-before','always',_0x16c7ea),_0x214b12['writer']['setAttribute']('data-pagination-page',_0xb0d403,_0x16c7ea),_0x214b12['mapper']['bindElementToMarker'](_0x16c7ea,_0x145764)),_0x3b2c2f['stop']();});});}['_setupKeystrokes'](){const _0x329849=this['editor'];_0x329849['keystrokes']['set']('Shift+Pageup',(_0x3b7797,_0x29853b)=>{this['goToPreviousPage'](),_0x29853b();}),_0x329849['keystrokes']['set']('Shift+Pagedown',(_0x361c13,_0x282d51)=>{this['goToNextPage'](),_0x282d51();}),_0x329849['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x329849['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x329849['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x329849['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x47462a){return _0x47462a<0x1&&(_0x47462a=0x1),_0x47462a>this['totalPages']&&(_0x47462a=this['totalPages']),_0x47462a;}},V=class extends _0x784d16{['pageNumberView'];constructor(_0x9d6b1f){super(_0x9d6b1f);const _0x355a8e=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x374a2f(_0x9d6b1f,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x48b6c3=>T(_0x9d6b1f,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x48b6c3)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x5bc150=>!_0x5bc150),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x355a8e['if']('isEnabled','ck-disabled',_0x40207e=>!_0x40207e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x355a8e['to']('totalPages')}]}]});}['render'](){super['render']();const _0x278a7b=this['pageNumberView']['element'],_0x5a9e2a=_0x1d4ee1=>{this['pageNumberView']['element']['value']=String(_0x1d4ee1);};_0x5a9e2a(this['pageNumber']),this['on']('change:pageNumber',(_0x2de8b1,_0x44666c,_0xfebdd2)=>{_0x5a9e2a(_0xfebdd2);}),this['listenTo'](_0x278a7b,'keydown',(_0x231f6b,_0x2db33d)=>{if('ArrowUp'===_0x2db33d['key']||'ArrowDown'===_0x2db33d['key'])return void _0x2db33d['stopPropagation']();if(_0x2db33d['keyCode']!==_0x1d3b2c['enter'])return;_0x2db33d['preventDefault']();const _0x46d17b=_0x278a7b['valueAsNumber'];Number['isNaN'](_0x46d17b)?_0x278a7b['value']=String(this['pageNumber']):(_0x278a7b['checkValidity']()?this['pageNumber']=_0x46d17b:_0x46d17b>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x278a7b['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x278a7b['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x278a7b,'blur',()=>{_0x278a7b['value']=String(this['pageNumber']);}),this['listenTo'](_0x278a7b,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x194ea8{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4494a2=this['editor'],_0x2827fe=_0x4494a2['plugins']['get']('PaginationEditing');_0x4494a2['ui']['componentFactory']['add']('pageNavigation',_0x5cf2e8=>{const _0x1157e6=new V(_0x5cf2e8);return _0x1157e6['bind']('pageNumber')['to'](_0x2827fe),_0x1157e6['bind']('totalPages')['to'](_0x2827fe),_0x1157e6['bind']('isEnabled')['to'](_0x2827fe),_0x1157e6['on']('navigation',(_0x4afde4,_0x135bd3)=>{_0x2827fe['moveSelectionToPage'](_0x135bd3),_0x2827fe['scrollToPage'](_0x135bd3);}),_0x1157e6;}),_0x4494a2['ui']['componentFactory']['add']('nextPage',_0xa9d587=>{const _0x1f3013=new _0x2e492d(_0xa9d587);return _0x1f3013['isEnabled']=!0x0,_0x1f3013['label']=T(_0x4494a2['locale'],'Go\x20to\x20next\x20page'),_0x1f3013['icon']=_0x55f90c,_0x1f3013['tooltip']=!0x0,_0x1f3013['keystroke']='Shift+PageDown',_0x1f3013['bind']('isEnabled')['to'](_0x2827fe),this['listenTo'](_0x1f3013,'execute',()=>{_0x2827fe['goToNextPage']();}),_0x1f3013;}),_0x4494a2['ui']['componentFactory']['add']('previousPage',_0x28c9a5=>{const _0x3aa0e7=new _0x2e492d(_0x28c9a5);return _0x3aa0e7['isEnabled']=!0x0,_0x3aa0e7['label']=T(_0x4494a2['locale'],'Go\x20to\x20previous\x20page'),_0x3aa0e7['icon']=_0x44b531,_0x3aa0e7['tooltip']=!0x0,_0x3aa0e7['keystroke']='Shift+PageUp',_0x3aa0e7['bind']('isEnabled')['to'](_0x2827fe),this['listenTo'](_0x3aa0e7,'execute',()=>{_0x2827fe['goToPreviousPage']();}),_0x3aa0e7;});}},$=class extends _0x194ea8{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x5ce38a){super(_0x5ce38a),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x52e8d8=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x52e8d8),this['bind']('totalPages')['to'](_0x52e8d8),_0x3dd8e3['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3d541b){this['editor']['plugins']['get'](G)['scrollToPage'](_0x3d541b);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x34bff7}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x29c03f,InputNumberView as _0x58e9d5,View as _0x4c0557}from'@ckeditor/ckeditor5-ui';import{Rect as _0x23c07e,ResizeObserver as _0x472e22,env as _0x2c2632,first as _0x4cb9db,global as _0x271011,keyCodes as _0x4a42d1,logWarning as _0x2b64fe,toUnit as _0xcae897,uid as _0x1da3f8}from'@ckeditor/ckeditor5-utils';import{debounce as _0x137e8a}from'es-toolkit/compat';import{IconArrowDown as _0x4d9514,IconArrowUp as _0x45e428}from'@ckeditor/ckeditor5-icons';var w=class extends _0x34bff7{['_recalculatePageBreaksDebounced']=_0x137e8a(()=>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 _0x2b64fe('pagination-config-not-found',this['editor']['config']);const _0x1caf1a=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1caf1a),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x2dd499,_0x40291d,_0x1f0e5e)=>{_0x1f0e5e&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x132329){const _0x508529='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x1b844e=0x78fc0,_0x45b2a9=window['Date']['now'](),_0x4418c4=_0x132329['editor'],_0x1690bd=new window['Promise'](_0x57aa2e=>{_0x4418c4['once']('ready',_0x57aa2e);}),_0x12ebe0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x19868e=_0x4418c4['config']['get']('licenseKey');async function _0x3c21d9(){let _0xdf1ff4,_0x27136b=null,_0x233f37=null;try{return'GPL'==_0x19868e?'NotAllowed':(_0xdf1ff4=_0x1d9c55(),_0xdf1ff4?(_0xdf1ff4['usageEndpoint']&&(_0x233f37=_0x269a1d(_0xdf1ff4['usageEndpoint'],_0xdf1ff4['jti'])),await _0x214037()?_0x1ffe53()?_0x3f3562()?'Expired':_0x22292b()?('evaluation'==_0xdf1ff4['licenseType']&&(_0x27136b=_0x4fd2e0('EvaluationLimit')),await _0x57ae70()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3f3562(){const _0x1670d0=['evaluation','trial']['includes'](_0xdf1ff4['licenseType'])?_0x45b2a9/0x3e8:0xe10*_0x1b844e;return _0xdf1ff4['exp']<_0x1670d0;}function _0x1ffe53(){const _0x2fae67=_0xdf1ff4['features'];return!!_0x2fae67&&(!!_0x2fae67['includes']('*')||!!_0x2fae67['includes']('PAG'));}function _0x22292b(){const _0x17c1cd=_0xdf1ff4['licensedHosts'];if(!_0x17c1cd||0x0==_0x17c1cd['length'])return!0x0;const {hostname:_0x3da6f3}=new URL(window['location']['href']);if(_0x17c1cd['includes'](_0x3da6f3))return!0x0;const _0x1d8575=_0x3da6f3['split']('.');return _0x17c1cd['filter'](_0x1bb241=>_0x1bb241['includes']('*'))['map'](_0x100f21=>_0x100f21['split']('.'))['filter'](_0x2687b3=>_0x2687b3['length']<=_0x1d8575['length'])['map'](_0x3b9067=>Array(_0x1d8575['length']-_0x3b9067['length'])['fill']('*'===_0x3b9067[0x0]?'*':'')['concat'](_0x3b9067))['some'](_0x34b0e5=>_0x1d8575['every']((_0x1db82a,_0x56116b)=>_0x34b0e5[_0x56116b]===_0x1db82a||'*'===_0x34b0e5[_0x56116b]));}function _0x57ae70(){return _0x27136b&&_0x233f37?new window['Promise']((_0x2f7e6c,_0x36a165)=>{_0x27136b['then'](_0x2f7e6c,_0x36a165),_0x233f37['then'](_0x1c8411=>{'Valid'!=_0x1c8411&&_0x2f7e6c(_0x1c8411);},_0x36a165);}):_0x27136b||_0x233f37||'Valid';}}function _0x269a1d(_0x1102c9,_0x3a2173){return new window['Promise'](_0x7b4408=>{if(_0x37acc4())return _0x7b4408('Valid');_0x404984(),_0x4418c4['decorate']('_sendUsageRequest');let _0x5484ec=!0x1;const _0x1474d2=_0x1da3f8();function _0x5a97e0(_0xfe2ccc){return!!_0xfe2ccc&&('object'==typeof _0xfe2ccc||'function'==typeof _0xfe2ccc)&&'function'==typeof _0xfe2ccc['then']&&'function'==typeof _0xfe2ccc['catch'];}function _0x18e344(_0x557d2f){_0x26f907(_0x557d2f)['then'](_0x18711e=>_0x18711e&&'ok'==_0x18711e['status']?_0x3c303c(_0x266bb0(_0x1474d2+_0x3a2173))!=_0x18711e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x44e96c=>(_0x300d87(),_0x44e96c),()=>{const _0x4f42d1=_0x499d7c();return null==_0x4f42d1?(_0x300d87(),'Valid'):_0x45b2a9-_0x4f42d1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x7b4408)['catch'](()=>{_0x7b4408('UsageLimit');});const _0x3998cc=0x36ee80;function _0x300d87(){const _0x5de839='llct-'+_0x3c303c(_0x266bb0(_0x1102c9)),_0x209d69=_0x10e1ce(_0x3c303c(window['Math']['ceil'](_0x45b2a9/_0x3998cc)));window['localStorage']['setItem'](_0x5de839,_0x209d69);}function _0x499d7c(){const _0x4b301f='llct-'+_0x3c303c(_0x266bb0(_0x1102c9)),_0x3c01a7=window['localStorage']['getItem'](_0x4b301f);return _0x3c01a7?window['parseInt'](_0x10e1ce(_0x3c01a7),0x10)*_0x3998cc:null;}function _0x26f907(_0x58e680){return new window['Promise']((_0x1a46eb,_0x4dbe7a)=>{_0x58e680['then'](_0x1a46eb,_0x4dbe7a),window['setTimeout'](_0x4dbe7a,0x1d4c0);});}}_0x4418c4['on']('_sendUsageRequest',(_0xde9a8e,_0x58a234)=>{if(_0x58a234[0x0]!=_0x1102c9)return _0x7b4408('UsageLimit');_0x58a234[0x1]={..._0x58a234[0x1],'requestId':_0x1474d2};},{'priority':'high'}),_0x4418c4['on']('_sendUsageRequest',_0x316744=>{_0x5a97e0(_0x316744['return'])&&(_0x5484ec=!0x0,_0x18e344(_0x316744['return']));},{'priority':'low'}),_0x1690bd['then'](()=>{_0x5484ec||_0x7b4408('UsageLimit');});});function _0x37acc4(){return'auto'==_0x4418c4['editing']['view']['_overlayModeHint'];}function _0x404984(){_0x4418c4['editing']['view']['_overlayModeHint']='auto';}}function _0x4fd2e0(_0x5603){const _0x254a74=[new window['Promise'](_0x4505bb=>setTimeout(_0x4505bb,0x93ecc)),_0x1690bd['then'](()=>new window['Promise'](_0x56d2e9=>{let _0x5eb622=0x0;_0x4418c4['model']['on']('applyOperation',(_0x49a13c,_0xcdbcd4)=>{_0xcdbcd4[0x0]['isDocumentOperation']&&_0x5eb622++,0x5e8==_0x5eb622&&(_0x56d2e9(),_0x49a13c['off']());});}))];return window['Promise']['race'](_0x254a74)['then'](()=>_0x5603);}async function _0x56e701(){await _0x1690bd,_0x4418c4['model']['change']=_0x59a681,_0x4418c4['model']['enqueueChange']=_0x59a681,_0x4418c4['enableReadOnlyMode']('model');}function _0x35cc58(_0x2a7a13){const _0x34c5c9=_0x412c00();_0x4418c4[_0x34c5c9]='paginationLicenseKey'+_0x2a7a13,'Valid'!=_0x2a7a13&&_0x56e701();}function _0x412c00(){const _0x24b992=window['String'](window['performance']['now']())['replace']('.','');let _0xbf5cb8='I';for(let _0x37450e=0x0;_0x37450e<_0x24b992['length'];_0x37450e+=0x2){let _0x50babf=window['parseInt'](_0x24b992['substring'](_0x37450e,_0x37450e+0x2));_0x50babf>=0x3e&&(_0x50babf-=0x3e),_0xbf5cb8+=_0x508529[_0x50babf];}return _0xbf5cb8;}function _0x1d9c55(){const _0x4fdd52=_0x19868e['split']('.');if(0x3!=_0x4fdd52['length'])return null;return _0x888b7f(_0x4fdd52[0x1]);function _0x888b7f(_0x5deff2){const _0x450da3=_0x517e66(_0x5deff2);return _0x450da3&&_0x56f67b()?_0x450da3:null;function _0x56f67b(){const _0x4afd32=_0x450da3['jti'],_0xf1e2f3=window['parseInt'](_0x4afd32['substring'](_0x4afd32['length']-0x8),0x10),_0xc3dd44={..._0x450da3,'jti':_0x4afd32['substring'](0x0,_0x4afd32['length']-0x8)};return delete _0xc3dd44['vc'],_0x266bb0(_0xc3dd44)==_0xf1e2f3;}}}async function _0x214037(){let _0x342074=!0x0;try{const [_0x49b9cf,_0x26c1fd,_0x2a2310]=_0x19868e['split']('.');return _0x3fc169(_0x49b9cf),await _0x4f45a5(_0x49b9cf,_0x26c1fd,_0x2a2310),_0x342074;}catch{return!0x1;}function _0x3fc169(_0x6f4e7b){const _0x2aba4b=_0x517e66(_0x6f4e7b);_0x2aba4b&&'ES256'==_0x2aba4b['alg']||(_0x342074=!0x1);}async function _0x4f45a5(_0x37f5c2,_0x20f868,_0x46d940){const _0x2de38c=window['Uint8Array']['from'](_0x45e5b6(_0x46d940),_0x2af334=>_0x2af334['charCodeAt'](0x0)),_0x1bc24f=new window['TextEncoder']()['encode'](_0x37f5c2+'.'+_0x20f868),_0x10244f=window['crypto']['subtle'];if(!_0x10244f)return;const _0x2dba87=await _0x10244f['importKey']('jwk',_0x12ebe0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x10244f['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2dba87,_0x2de38c,_0x1bc24f)||(_0x342074=!0x1);}}function _0x517e66(_0x19ffe2){return _0x19ffe2['startsWith']('ey')?JSON['parse'](_0x45e5b6(_0x19ffe2)):null;}function _0x45e5b6(_0x595cba){return window['atob'](_0x595cba['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x266bb0(_0x10b11d){let _0x2f11bf=0x1505;function _0x34f853(_0x12d6b0){for(let _0x2f8ab9=0x0;_0x2f8ab9<_0x12d6b0['length'];_0x2f8ab9++){const _0x3d94ea=_0x12d6b0['charCodeAt'](_0x2f8ab9);_0x2f11bf=(_0x2f11bf<<0x5)+_0x2f11bf+_0x3d94ea,_0x2f11bf&=_0x2f11bf;}}function _0x13cd24(_0x43a472){Array['isArray'](_0x43a472)?_0x43a472['forEach'](_0x13cd24):_0x43a472&&'object'==typeof _0x43a472?Object['entries'](_0x43a472)['sort']()['forEach'](([_0x3d0c47,_0x2400e1])=>{_0x34f853(_0x3d0c47),_0x13cd24(_0x2400e1);}):_0x34f853(window['String'](_0x43a472));}return _0x13cd24(_0x10b11d),_0x2f11bf>>>0x0;}function _0x3c303c(_0x54af41){return _0x54af41['toString'](0x10)['padStart'](0x8,'0');}function _0x10e1ce(_0x1a6640){return _0x1a6640['split']('')['reverse']()['join']('');}function _0x59a681(){}_0x35cc58(await _0x3c21d9());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x48df70=this['editor'],_0xe91935=_0x48df70['editing']['view'],_0x302aa4=this['_getAttachedDomRoot']();if(!_0x302aa4||!_0x302aa4['hasChildNodes']())return void _0x48df70['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4a0439,pageHeight:_0x4c3d44}=_0x48df70['config']['get']('pagination'),{top:_0x27eeb4,left:_0xa40920,bottom:_0x5a6edf,right:_0xf9500}=this['_configuredPaddings'];this['_pagesContainer']=new _0x4c0557(_0x48df70['locale']);const _0xe74342=this['_pagesContainer'];_0xe74342['set']('class',''),_0xe74342['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x4a0439,'width':_0x4a0439,'height':'calc(\x20'+_0x4c3d44+'\x20-\x20'+_0x27eeb4+'\x20-\x20'+_0x5a6edf+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0xf9500+'\x200\x20'+_0xa40920,'columnGap':'calc('+_0xa40920+'\x20+\x20'+_0xf9500+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0xe74342['bindTemplate']['to']('class')}}),_0xe74342['render'](),_0x302aa4['parentNode']['insertBefore'](_0xe74342['element'],_0x302aa4['nextSibling']),this['listenTo'](_0xe91935,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x4dec24 of this['editor']['editing']['view']['domRoots']['values']())if(_0x4dec24['ownerDocument']['body']['contains'](_0x4dec24))return _0x4dec24;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x1e664a=this['editor']['editing']['view'],_0x5f009c=this['_pagesContainer'],_0x33ab5d=this['_getAttachedDomRoot']();if(!_0x33ab5d||!_0x5f009c)return Promise['resolve']();for(_0x5f009c['class']=['ck-reset','ck-pagination-view',..._0x33ab5d['classList']]['join']('\x20');_0x5f009c['element']['firstChild'];)_0x5f009c['element']['firstChild']['remove']();const _0x236a2c=Array['from'](_0x1e664a['domRoots']);_0x236a2c['sort'](([,_0x3bebc2],[,_0x2a6fbd])=>_0x3bebc2['compareDocumentPosition'](_0x2a6fbd)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3cb8f3,_0x18c589]of _0x236a2c){const _0x4954e4=_0x18c589['cloneNode'](!0x0);'attributeStyleMap'in _0x4954e4&&_0x4954e4['attributeStyleMap']['clear'](),_0x4954e4['dataset']['rootName']=_0x3cb8f3,_0x4954e4['className']='ck-content\x20ck-pagination_enabled',_0x4954e4['removeAttribute']('id'),_0x4954e4['tabIndex']=-0x1,_0x5f009c['element']['append'](_0x4954e4);}const _0xbb9a52=Array['from'](_0x5f009c['element']['querySelectorAll']('img'));return function(_0x521e59){return Promise['all'](_0x521e59['map'](_0x515cb6=>Promise['race']([k(_0x515cb6),v(0x3e8)])));}(_0xbb9a52)['then'](()=>{for(const _0x1c70ac of _0xbb9a52['filter'](_0x44d0e4=>!_0x44d0e4['closest']('table')))if(_0x1c70ac['offsetParent']){const _0x5da33e=_0x271011['window']['getComputedStyle'](_0x1c70ac),_0x9a812b=_0x271011['document']['createElement']('span');for(const _0x353d83 of _0x5da33e)_0x9a812b['style']['setProperty'](_0x353d83,_0x5da33e[_0x353d83]);_0x9a812b['style']['backgroundImage']='url(\x20'+_0x1c70ac['src']+'\x20)',_0x9a812b['style']['breakInside']='avoid','PICTURE'==_0x1c70ac['parentElement']?.['tagName']?_0x1c70ac['parentElement']['replaceWith'](_0x9a812b):_0x1c70ac['replaceWith'](_0x9a812b);}return new Promise(_0x5b1f33=>_0x271011['window']['requestAnimationFrame'](()=>_0x5b1f33()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x3453c3=this['_pagesContainer']['element'];if(!_0x3453c3['ownerDocument']['body']['contains'](_0x3453c3))return;const _0x98bb74=new _0x23c07e(_0x3453c3)['excludeScrollbarsAndBorders'](),_0x5787c7=Math['floor'](_0x98bb74['width']+0x64),_0x4f4952=_(_0x3453c3,Math['floor'](_0x98bb74['left']-_0x3453c3['scrollLeft']),_0x5787c7,_0x98bb74['height'])['map'](_0x508345=>this['_mapPageStarterInfoToPageBreakInfo'](_0x508345))['filter'](_0x1a65dc=>!0x1!==_0x1a65dc);_0x4f4952['every'](_0x465ac1=>!!_0x465ac1)&&(this['pageBreaks']=_0x4f4952);}['_mapPageStarterInfoToPageBreakInfo'](_0x5a707c){const _0x577f33=this['editor']['editing']['view'],_0x3030b6=this['editor']['editing']['mapper'],_0x3df8da=_0x577f33['domConverter'],_0x56a78a=_0x5a707c['path']['shift'](),_0x22b24f=this['_pagesContainer']['element']['childNodes'][_0x56a78a]['dataset']['rootName'],_0x4b1e65=_0x577f33['getDomRoot'](_0x22b24f);if(!_0x4b1e65)return null;const _0x5cb710=function(_0x51dcf4,_0x25ad26){let _0x45b68b=_0x51dcf4;for(const _0xbb5da8 of _0x25ad26['path']){if(!_0x45b68b)return null;_0x45b68b=_0x45b68b['childNodes'][_0xbb5da8];}return _0x45b68b;}(_0x4b1e65,_0x5a707c);if(!_0x5cb710)return null;const _0x52b7cb=_0x3df8da['domPositionToView'](_0x5cb710,_0x5a707c['textOffset']||0x0);return _0x52b7cb?'manual'==_0x5a707c['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x52b7cb,_0x5cb710):'text'==_0x5a707c['type']&&_0x3030b6['toModelPosition'](_0x52b7cb)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x52b7cb,_0x5cb710,_0x5a707c['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x52b7cb,_0x5cb710,_0x5a707c['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3cab39,_0x2adc5d){const _0x1bba0=this['editor']['model'],_0x479f1e=this['editor']['editing']['mapper']['toModelElement'](_0x3cab39['parent']);return new P({'type':'manual','modelRange':_0x1bba0['createRangeOn'](_0x479f1e),'domNode':_0x2adc5d,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x2a5ef5,_0x36bc71,_0x45102d){const _0x324da6=this['editor']['model'],_0x4e8436=this['editor']['editing']['mapper'],_0xd6e17f=this['editor']['editing']['view']['domConverter'];if(_0x45102d>=_0x36bc71['length'])return null;const _0x370be0=_0x4e8436['toModelPosition'](_0x2a5ef5),_0x371bb8=_0x324da6['createRange'](_0x370be0),_0x1bd0fc=_0x4e8436['findMappedViewAncestor'](_0x2a5ef5);return new P({'type':'text','modelRange':_0x371bb8,'domNode':_0x36bc71,'offset':y(_0x36bc71,_0x45102d,_0xd6e17f['mapViewToDom'](_0x1bd0fc))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x3de9c7,_0x27db10,_0x620c51){const _0x5a68f7=this['editor']['model'],_0x147ea6=this['editor']['editing'],_0x75fe60=_0x147ea6['mapper'],_0x41ecb1=_0x147ea6['view']['domConverter'],_0x3695f8=_0x75fe60['findMappedViewAncestor'](_0x3de9c7),_0x4151a0=_0x75fe60['toModelElement'](_0x3695f8);if(!_0x4151a0||_0x4151a0['is']('rootElement'))return!0x1;const _0x498e78=function(_0xb4e2fc){const _0xfdcdc3=_0xb4e2fc['parent'],_0x437113=_0xfdcdc3['root']['document']['model'],_0x5485e6=_0xfdcdc3['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x4a3fca=null;for(const _0x36b5a7 of _0x5485e6){if(_0x36b5a7['is']('rootElement'))return _0x4a3fca;if(!_0x437113['createPositionBefore'](_0x36b5a7)['isTouching'](_0xb4e2fc))return _0x4a3fca;_0x4a3fca=_0x36b5a7;}}(_0x5a68f7['createPositionBefore'](_0x4151a0))||_0x4151a0;let _0xcdbf=_0x75fe60['toViewElement'](_0x498e78),_0x24ccee=_0x5a68f7['createRangeOn'](_0x498e78);const _0x557a81=_0x5a68f7['createPositionBefore'](_0x498e78)['nodeBefore'];if(_0x557a81&&_0x557a81['is']('element','imageBlock')){const _0x3cf337=_0x75fe60['toViewElement'](_0x557a81),_0x55d36e=_0x41ecb1['mapViewToDom'](_0x3cf337),_0x394d11=_0x271011['window']['getComputedStyle'](_0x55d36e)['float'];'left'!=_0x394d11&&'right'!=_0x394d11||(_0x24ccee=_0x5a68f7['createRangeOn'](_0x557a81));}for(;_0xcdbf['parent']!==_0xcdbf['root']&&0x0===_0xcdbf['index'];)_0xcdbf=_0xcdbf['parent'];const _0x3eccbe=new _0x23c07e(K(_0x27db10)?_0x27db10:L(_0x27db10)),_0x12c364=_0x620c51?_0x3eccbe['height']-_0x620c51:0x0,_0x3035de=_0x41ecb1['mapViewToDom'](_0xcdbf),_0x2436e7=new _0x23c07e(_0x3035de);return new P({'type':'element','modelRange':_0x24ccee,'domNode':_0x3035de,'offset':Math['round'](_0x12c364)||_0x3695f8!=b(_0x3de9c7)?_0x12c364+_0x3eccbe['top']-_0x2436e7['top']:0x0});}get['_configuredPaddings'](){const _0x3fc7e3=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x3fc7e3);}static['_findPageStarterInfos'](_0x509317,_0x3c8ddf,_0x32cad9,_0x7c1fbd,_0x195d61){return _(_0x509317,_0x3c8ddf,_0x32cad9,_0x7c1fbd,_0x195d61);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x56c284,modelRange:_0xccf2b1,domNode:_0x4a3fee,offset:_0x4564e6}){this['type']=_0x56c284,this['modelRange']=_0xccf2b1,this['_domNode']=_0x4a3fee,this['_offset']=_0x4564e6;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x13c54e=new _0x23c07e(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x13c54e['top']+_0x13c54e['height']/0x2:_0x13c54e['top']+this['_offset'];}};function y(_0x32978f,_0xf5bbde,_0x50f541){const _0x2c9de8=L(_0x32978f),_0x8e450c=function(_0x3e6900){const _0x428bf4=_0x271011['document']['createRange']();return _0x428bf4['selectNodeContents'](_0x3e6900),_0x428bf4;}(_0x50f541);let _0x281ec6;_0x281ec6=0x0==_0xf5bbde?N(_0x8e450c['startContainer'],_0x8e450c['startOffset'],_0x32978f['parentNode'],Array['from'](_0x32978f['parentNode']['childNodes'])['indexOf'](_0x32978f)):N(_0x8e450c['startContainer'],_0x8e450c['startOffset'],_0x32978f,_0xf5bbde);const _0x2a84ff=N(_0x32978f,_0xf5bbde,_0x8e450c['endContainer'],_0x8e450c['endOffset']),_0x49cb6b=new _0x23c07e(_0x281ec6)['bottom'];return(new _0x23c07e(_0x2a84ff)['top']+_0x49cb6b)/0x2-new _0x23c07e(_0x2c9de8)['top'];}function b(_0x31d0b0){let _0x2ba565=_0x31d0b0['parent'];for(;_0x2ba565['is']('$text')||_0x2ba565['is']('attributeElement');)_0x2ba565=_0x2ba565['parent'];return _0x2ba565;}function k(_0x27710d){return _0x27710d['hasAttribute']('width')&&_0x27710d['hasAttribute']('height')?Promise['resolve']():new Promise(_0x3c46e4=>{function _0x2ef870(){_0x27710d['removeEventListener']('load',_0x2ef870),_0x27710d['removeEventListener']('error',_0x2ef870),_0x3c46e4();}_0x27710d['complete']?_0x3c46e4():(_0x27710d['addEventListener']('load',_0x2ef870),_0x27710d['addEventListener']('error',_0x2ef870));});}function v(_0x373986){return new Promise(_0x5f0e74=>setTimeout(_0x5f0e74,_0x373986));}function L(_0x1ef34d){const _0x139ab2=_0x271011['document']['createRange']();return _0x139ab2['selectNode'](_0x1ef34d),_0x139ab2;}function x(_0x545d97,_0x5db729,_0x2149b9){const _0x22ba60=_0x271011['document']['createRange']();return _0x22ba60['setStart'](_0x545d97,_0x5db729),_0x22ba60['setEnd'](_0x545d97,_0x2149b9),_0x22ba60;}function N(_0x1df9db,_0x27105c,_0x39b56b,_0x327235){const _0x5bade1=_0x271011['document']['createRange']();return _0x5bade1['setStart'](_0x1df9db,_0x27105c),_0x5bade1['setEnd'](_0x39b56b,_0x327235),_0x5bade1;}function _(_0x32f00e,_0x3f90f8,_0x1685df,_0xfc6a5b,_0x5211c8){const _0x745d91=[];for(const [_0x49b564,_0x34f0c0]of _0x32f00e['childNodes']['entries']()){let _0x2a99ff=[];K(_0x34f0c0)&&_0x34f0c0['offsetParent']&&['static','relative']['includes'](_0x271011['window']['getComputedStyle'](_0x34f0c0)['position'])?_0x2a99ff=E(_0x34f0c0,_0x49b564,_0x3f90f8,_0x1685df,_0xfc6a5b,_0x5211c8):O(_0x34f0c0)&&(_0x2a99ff=S(_0x34f0c0,_0x49b564,_0x3f90f8,_0x1685df,_0x5211c8)),_0x2a99ff['length']&&(_0x745d91['push'](..._0x2a99ff),_0x3f90f8+=_0x2a99ff['length']*_0x1685df,_0x5211c8=!0x1);}return _0x745d91;}function E(_0x329235,_0x5c434d,_0x35b32a,_0x4cae60,_0x36260c,_0x4d7955){const _0x39c66c=[];var _0x45cda4;if((_0x45cda4=_0x329235['previousSibling'])&&K(_0x45cda4)&&Boolean(_0x45cda4['classList']['contains']('page-break')||_0x45cda4['closest']('.page-break'))&&(_0x39c66c['push']({'type':'manual','offset':0x0,'path':[_0x5c434d-0x1]}),_0x4d7955=!0x0),'table-row'==_0x271011['window']['getComputedStyle'](_0x329235)['display']){let _0x24d23b=0x0,_0x2ae2db=!0x1;for(const _0x59152d of _0x329235['getClientRects']())_0x24d23b+=_0x59152d['height'],_0x59152d['left']>=_0x35b32a&&(_0x2ae2db=!0x0);if(_0x24d23b<_0x36260c&&_0x2ae2db)return _0x4d7955||_0x39c66c['push']({'type':'element','offset':0x0,'path':[_0x5c434d]}),_0x39c66c;}const _0x5f244f=_0x329235['closest']('figure.image');if(_0x5f244f&&function(_0x13b7d7){let _0xa7dd35=!0x1;const _0x2fb99f=_0x13b7d7['parentElement']['dataset']['rootName'],_0x1dbb6c=_0x13b7d7['nextElementSibling'],_0x27a2df=_0x13b7d7['previousElementSibling'],_0x49452c=_0x1dbb6c&&_0x271011['window']['getComputedStyle'](_0x1dbb6c)['float'],_0x2c42f5=_0x1dbb6c&&'ck-fake-selection-container'===_0x1dbb6c['className'];return!_0x2fb99f||_0x1dbb6c||_0x27a2df||(_0xa7dd35=!0x0),_0x2fb99f&&!_0x27a2df&&_0x2c42f5&&(_0xa7dd35=!0x0),_0x2fb99f&&!_0x27a2df&&'none'!==_0x49452c&&(_0xa7dd35=!0x0),!_0xa7dd35;}(_0x5f244f)){const _0x315904=_0x271011['window']['getComputedStyle'](_0x5f244f)['float'];if('left'==_0x315904||'right'==_0x315904)return _0x39c66c;}const _0x2810df=_(_0x329235,_0x35b32a,_0x4cae60,_0x36260c,_0x4d7955);if(_0x2810df['length']){for(const _0x4c4c3d of _0x2810df)_0x39c66c['push']({'type':_0x4c4c3d['type'],'offset':_0x4c4c3d['offset'],'textOffset':_0x4c4c3d['textOffset'],'path':[_0x5c434d,..._0x4c4c3d['path']]}),_0x35b32a+=_0x4cae60,_0x4d7955=!0x1;return _0x39c66c;}return _0x39c66c['push'](...function(_0x3718f7,_0x2d6bfe,_0x2dda5a,_0x5de435,_0x350df2){const _0x239bbf=[];if('table-cell'==_0x271011['window']['getComputedStyle'](_0x3718f7)['display'])return[];const _0x2d835e=[];for(const _0x184e9e of _0x3718f7['getClientRects']())if(_0x184e9e['left']>=_0x2dda5a){for(const _0x28e44e of _0x2d835e)_0x28e44e['height']+=_0x184e9e['height'];_0x2d835e['push']({'height':_0x184e9e['height']}),_0x2dda5a+=_0x5de435;}for(const _0x36f71a of _0x2d835e)_0x350df2||_0x239bbf['push']({'type':'element','offset':_0x36f71a['height'],'textOffset':0x0,'path':[_0x2d6bfe]}),_0x350df2=!0x1;return _0x239bbf;}(_0x329235,_0x5c434d,_0x35b32a,_0x4cae60,_0x4d7955)),_0x39c66c;}function S(_0x126d77,_0x420a51,_0x52ec8c,_0x526ac6,_0x1cc478){const _0x267325=L(_0x126d77),_0x23a1cd=[];let _0x85b6b5=0x0;for(const _0x2372e3 of _0x267325['getClientRects']())if(_0x2372e3['left']>=_0x52ec8c){const _0x1b3bd3=R(_0x126d77,_0x85b6b5,_0x52ec8c,_0x526ac6);_0x1cc478||_0x23a1cd['push']({'type':'text','path':[_0x420a51],'textOffset':_0x1b3bd3}),_0x85b6b5=_0x1b3bd3,_0x52ec8c+=_0x526ac6,_0x1cc478=!0x1;}return _0x23a1cd;}function R(_0x383930,_0x309eb5,_0x44293,_0x327863){let _0xcd893=_0x309eb5,_0x4394b0=_0x383930['length'];for(;_0x4394b0-_0xcd893>0x1;){const _0x1ecb00=Math['ceil']((_0xcd893+_0x4394b0)/0x2);I(x(_0x383930,_0xcd893,_0x1ecb00),_0x44293,_0x327863)?_0x4394b0=_0x1ecb00:_0xcd893=_0x1ecb00;}return _0xcd893;}function I(_0x55ff62,_0x3d44ee,_0xb7eb0a){for(const _0xa5dd2f of _0x55ff62['getClientRects']())if(_0xa5dd2f['left']>=_0x3d44ee&&_0xa5dd2f['left']<_0x3d44ee+_0xb7eb0a)return!0x0;return!0x1;}function K(_0x34e3fc){return _0x34e3fc['nodeType']==Node['ELEMENT_NODE'];}function O(_0xdb0169){return _0xdb0169['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xcae897('px');var U=class extends _0x4c0557{constructor(){super();const _0x1bb9de=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1bb9de['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1bb9de['if']('isVisible','ck-hidden',_0x59be33=>!_0x59be33)],'style':{'left':_0x1bb9de['to']('left',_0x5c22f4=>A(_0x5c22f4)),'top':_0x1bb9de['to']('top',_0x30844a=>A(_0x30844a)),'width':_0x1bb9de['to']('width',_0x45165b=>A(_0x45165b))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x1a1e0f){this['_viewCollection']=_0x1a1e0f['ui']['view']['body'];}['destroy'](){for(const _0x19e216 of this['_hiddenLines'])_0x19e216['destroy']();}['cleanLines'](){for(const _0x4c49b0 of this['_visibleLines'])_0x4c49b0['isVisible']=!0x1,this['_hiddenLines']['add'](_0x4c49b0);this['_visibleLines']['clear']();}['showLine'](_0x2cf333,_0x5c4867,_0x345762,_0x207031){let _0x4d7086;this['_hiddenLines']['size']?(_0x4d7086=_0x4cb9db(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4d7086)):_0x4d7086=new U(),_0x4d7086['set']({'pageNumber':_0x207031,'left':_0x2cf333,'top':_0x5c4867,'width':_0x345762}),_0x4d7086['isVisible']=!0x0,this['_viewCollection']['has'](_0x4d7086)||this['_viewCollection']['add'](_0x4d7086),this['_visibleLines']['add'](_0x4d7086);}['setViewCollection'](_0x2d3b00){for(const _0x427c03 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x427c03)&&this['_viewCollection']['remove'](_0x427c03);this['_viewCollection']=_0x2d3b00;}};const D='ck-pagination_enabled';var B=class extends _0x34bff7{['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',(_0x451e88,_0x94e143,_0x4ff952)=>{_0x4ff952||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x4ff952);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x553b0d){if(!this['isEnabled'])return;const _0xf5ae76=_0x553b0d>0x1?this['_getPageBreakLineOffset'](_0x553b0d-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xf5ae76-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2c2632['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x12c8e6=this['editor'],_0x1e6c76=this['_getAttachedDomRoot']();_0x1e6c76?(this['_scrollableEditingRootDomAncestor']&&_0x12c8e6['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x30aba3){let _0x2efa99=_0x30aba3;do{_0x2efa99=_0x2efa99['parentElement'];const _0x27a443=_0x271011['window']['getComputedStyle'](_0x2efa99)['overflowY'];if('auto'==_0x27a443||'scroll'==_0x27a443)break;}while('BODY'!=_0x2efa99['tagName']);return _0x2efa99;}(_0x1e6c76),_0x12c8e6['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x472e22(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x12c8e6['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x2d4475=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x2d4475['ui']['view']['listenTo'](_0x271011['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x2d4475['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x22a92a of this['editor']['editing']['view']['domRoots']['values']())if(_0x22a92a['ownerDocument']['body']['contains'](_0x22a92a))return _0x22a92a;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x483ddd=this['_getAttachedDomRoot'](),_0x23a7e3=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x483ddd||0x1==_0x23a7e3['length'])return void(this['pageNumber']=0x1);const _0x505a1c=new _0x23c07e(_0x483ddd)['excludeScrollbarsAndBorders'](),_0x3b3fbb=new _0x23c07e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1fe030=_0x3b3fbb['top']+_0x3b3fbb['height']/0x3;let _0x40ff15=!0x1;const _0xdd1e2d=[];for(let _0x202372=0x1;_0x202372<_0x23a7e3['length'];_0x202372++){const _0x5689cd=this['_getPageBreakLineOffset'](_0x202372,_0x3b3fbb);if(!_0x5689cd)continue;const _0x27faa4=_0x3b3fbb['top']+_0x5689cd-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0xdd1e2d['push']({'pageOffsetTop':_0x27faa4,'domRootRect':_0x505a1c,'domScrollableRect':_0x3b3fbb,'pageNumber':_0x202372}),_0x27faa4>_0x1fe030&&!_0x40ff15&&(this['pageNumber']=_0x202372,_0x40ff15=!0x0);}this['_renderPageBreakLines'](_0xdd1e2d),_0x40ff15||(this['pageNumber']=_0x23a7e3['length']);}['_renderPageBreakLines'](_0x2ada27){const {scrollX:_0x1c7a83,scrollY:_0xcdf08d}=_0x271011['window'];if(_0x2ada27['length']){for(const {domScrollableRect:_0x4db74d,pageOffsetTop:_0x2e5896,domRootRect:_0x537ec5,pageNumber:_0x1a6b5d}of _0x2ada27)_0x4db74d['top']<_0x2e5896&&_0x2e5896<_0x4db74d['bottom']&&this['linesRepository']['showLine'](_0x537ec5['left']+_0x1c7a83,_0x2e5896+_0xcdf08d,_0x537ec5['width'],_0x1a6b5d+0x1);}}['_getPageBreakLineOffset'](_0x511e27,_0x57f43a=null){const _0x9e3650=this['_paginationLookupPlugin']['pageBreaks'][_0x511e27]['offset'];return _0x9e3650?(_0x57f43a||(_0x57f43a=new _0x23c07e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x9e3650-_0x57f43a['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x37c667,_0x3315ff=!0x0){const _0xa86848=this['editor']['editing']['view'];_0xa86848['change'](_0x57ff00=>{for(const _0x53a0a8 of _0xa86848['document']['roots'])_0x3315ff?_0x57ff00['addClass'](_0x37c667,_0x53a0a8):_0x57ff00['removeClass'](_0x37c667,_0x53a0a8);});}};function T(_0x12768f,_0xd949e3,..._0x377852){const t=_0x12768f['t'];switch(_0xd949e3){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)',..._0x377852);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 _0xd949e3;}}var G=class extends _0x34bff7{['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 _0x158470=this['editor']['plugins']['get']('Pagination'),_0x27dba9=this['editor']['plugins']['get'](w),_0x4aa395=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x158470),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4aa395),this['listenTo'](_0x27dba9,'change:pageBreaks',(_0x7a64fe,_0x4148e4,_0x48bf6c,_0x3635ad)=>{this['totalPages']=_0x48bf6c['length'],this['_updatePageBreakMarkers'](_0x48bf6c,_0x3635ad);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2635ac=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1c842b;for(const _0x376bb1 in _0x2635ac){const _0x26bed1=_0x376bb1,_0x1e0db4=_0x2635ac[_0x26bed1];if('paginationLicenseKeyValid'==_0x1e0db4||'paginationLicenseKeyInvalid'==_0x1e0db4||'paginationLicenseKeyExpired'==_0x1e0db4||'paginationLicenseKeyDomainLimit'==_0x1e0db4||'paginationLicenseKeyNotAllowed'==_0x1e0db4||'paginationLicenseKeyEvaluationLimit'==_0x1e0db4||'paginationLicenseKeyUsageLimit'==_0x1e0db4){delete _0x2635ac[_0x26bed1],_0x1c842b=_0x1e0db4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1c842b&&_0x2635ac['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1c842b&&_0x2635ac['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1c842b&&_0x2635ac['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1c842b&&_0x2635ac['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1c842b&&_0x2635ac['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x1c842b&&_0x2635ac['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x2a8a8c){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x2a8a8c));}['moveSelectionToPage'](_0x2faaea){if(!this['isEnabled'])return;const _0x4b5f9e=this['editor'],_0x5b59c2=this['editor']['plugins']['get'](w)['pageBreaks'][_0x2faaea-0x1];_0x5b59c2&&_0x4b5f9e['model']['change'](_0x2c3d61=>{switch(_0x5b59c2['type']){case'manual':{const _0x5e4bed=_0x4b5f9e['model']['schema']['getNearestSelectionRange'](_0x5b59c2['modelRange']['end'],'forward');_0x2c3d61['setSelection'](_0x5e4bed);break;}case'element':{const _0x4c515c=_0x4b5f9e['model']['schema']['getNearestSelectionRange'](_0x5b59c2['modelRange']['start'],'forward');_0x2c3d61['setSelection'](_0x4c515c);break;}case'text':{const _0x9675bd=_0x5b59c2['modelRange']['start'];if(_0x9675bd['textNode']&&'\x20'===_0x9675bd['textNode']['data'][_0x9675bd['offset']]){const _0x1a4e30=_0x2c3d61['createPositionAt'](_0x9675bd['parent'],_0x9675bd['offset']+0x1);_0x2c3d61['setSelection'](_0x1a4e30);}else _0x2c3d61['setSelection'](_0x5b59c2['modelRange']);}}_0x4b5f9e['editing']['view']['focus']();});}['goToNextPage'](){const _0x70b452=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x70b452),this['scrollToPage'](_0x70b452);}['goToPreviousPage'](){const _0x2ac8bf=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x2ac8bf),this['scrollToPage'](_0x2ac8bf);}['_updatePageBreakMarkers'](_0x237a32,_0x376350){const _0x37d422=this['editor']['model'];this['isEnabled']&&_0x37d422['change'](_0x1cf50d=>{for(let _0x4724a3=0x1;_0x4724a3<_0x237a32['length'];_0x4724a3++){const _0x455010=_0x237a32[_0x4724a3]['modelRange'],_0x2eb01a='pagination:'+(_0x4724a3+0x1);_0x37d422['markers']['has'](_0x2eb01a)?_0x1cf50d['updateMarker'](_0x2eb01a,{'range':_0x455010}):_0x1cf50d['addMarker'](_0x2eb01a,{'range':_0x455010,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4f8881=_0x237a32['length'];_0x4f8881<_0x376350['length'];_0x4f8881++){const _0x167c2b='pagination:'+(_0x4f8881+0x1);_0x37d422['markers']['has'](_0x167c2b)&&_0x1cf50d['removeMarker'](_0x167c2b);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x5c42e2=>{_0x5c42e2['on']('addMarker:pagination',(_0x53f7c3,{markerRange:_0x3d0e17,markerName:_0x495a8e},_0xa3bd5d)=>{if(!_0xa3bd5d['options']['pagination'])return;if(!_0xa3bd5d['consumable']['consume'](_0x3d0e17,_0x53f7c3['name']))return;const _0x4762b4=_0x3d0e17['getContainedElement']();let _0x25382b=_0x4762b4?_0xa3bd5d['mapper']['toViewElement'](_0x4762b4):null;if(!_0x25382b){const _0xd55de7=_0x3d0e17['start'];if(_0xa3bd5d['schema']['checkChild'](_0xd55de7,'$text')){const _0x2d05bc=_0xa3bd5d['mapper']['toViewPosition'](_0xd55de7);_0x25382b=_0xa3bd5d['writer']['createContainerElement']('span'),_0x25382b['getFillerOffset']=()=>null,_0xa3bd5d['writer']['insert'](_0x2d05bc,_0x25382b);}else{const _0x44d00e=_0xd55de7['nodeAfter'];_0x25382b=_0xa3bd5d['mapper']['toViewElement'](_0x44d00e);}}for(;_0x25382b['parent']!==_0x25382b['root']&&0x0===_0x25382b['index'];)_0x25382b=_0x25382b['parent'];const _0x714828=_0x495a8e['substring'](0xb);_0x25382b['hasClass']('page-break')||(_0xa3bd5d['writer']['setStyle']('page-break-before','always',_0x25382b),_0xa3bd5d['writer']['setAttribute']('data-pagination-page',_0x714828,_0x25382b),_0xa3bd5d['mapper']['bindElementToMarker'](_0x25382b,_0x495a8e)),_0x53f7c3['stop']();});});}['_setupKeystrokes'](){const _0x349ef4=this['editor'];_0x349ef4['keystrokes']['set']('Shift+Pageup',(_0x486b1b,_0x33deff)=>{this['goToPreviousPage'](),_0x33deff();}),_0x349ef4['keystrokes']['set']('Shift+Pagedown',(_0x234fad,_0x5831bd)=>{this['goToNextPage'](),_0x5831bd();}),_0x349ef4['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x349ef4['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x349ef4['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x349ef4['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x5b89d0){return _0x5b89d0<0x1&&(_0x5b89d0=0x1),_0x5b89d0>this['totalPages']&&(_0x5b89d0=this['totalPages']),_0x5b89d0;}},V=class extends _0x4c0557{['pageNumberView'];constructor(_0x300318){super(_0x300318);const _0x19e404=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x58e9d5(_0x300318,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x58e319=>T(_0x300318,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x58e319)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x26512f=>!_0x26512f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x19e404['if']('isEnabled','ck-disabled',_0x13b68b=>!_0x13b68b)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x19e404['to']('totalPages')}]}]});}['render'](){super['render']();const _0x3c4ee8=this['pageNumberView']['element'],_0x53e507=_0x30ef63=>{this['pageNumberView']['element']['value']=String(_0x30ef63);};_0x53e507(this['pageNumber']),this['on']('change:pageNumber',(_0x19f779,_0x348ebf,_0x23a4b1)=>{_0x53e507(_0x23a4b1);}),this['listenTo'](_0x3c4ee8,'keydown',(_0x5bc872,_0x423650)=>{if('ArrowUp'===_0x423650['key']||'ArrowDown'===_0x423650['key'])return void _0x423650['stopPropagation']();if(_0x423650['keyCode']!==_0x4a42d1['enter'])return;_0x423650['preventDefault']();const _0x11b05a=_0x3c4ee8['valueAsNumber'];Number['isNaN'](_0x11b05a)?_0x3c4ee8['value']=String(this['pageNumber']):(_0x3c4ee8['checkValidity']()?this['pageNumber']=_0x11b05a:_0x11b05a>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x3c4ee8['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x3c4ee8['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x3c4ee8,'blur',()=>{_0x3c4ee8['value']=String(this['pageNumber']);}),this['listenTo'](_0x3c4ee8,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x34bff7{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1749ec=this['editor'],_0x423d9d=_0x1749ec['plugins']['get']('PaginationEditing');_0x1749ec['ui']['componentFactory']['add']('pageNavigation',_0x55fd62=>{const _0x16d8b9=new V(_0x55fd62);return _0x16d8b9['bind']('pageNumber')['to'](_0x423d9d),_0x16d8b9['bind']('totalPages')['to'](_0x423d9d),_0x16d8b9['bind']('isEnabled')['to'](_0x423d9d),_0x16d8b9['on']('navigation',(_0x59783e,_0x2f70dd)=>{_0x423d9d['moveSelectionToPage'](_0x2f70dd),_0x423d9d['scrollToPage'](_0x2f70dd);}),_0x16d8b9;}),_0x1749ec['ui']['componentFactory']['add']('nextPage',_0x3c5875=>{const _0x329400=new _0x29c03f(_0x3c5875);return _0x329400['isEnabled']=!0x0,_0x329400['label']=T(_0x1749ec['locale'],'Go\x20to\x20next\x20page'),_0x329400['icon']=_0x4d9514,_0x329400['tooltip']=!0x0,_0x329400['keystroke']='Shift+PageDown',_0x329400['bind']('isEnabled')['to'](_0x423d9d),this['listenTo'](_0x329400,'execute',()=>{_0x423d9d['goToNextPage']();}),_0x329400;}),_0x1749ec['ui']['componentFactory']['add']('previousPage',_0x52270=>{const _0x3ee55c=new _0x29c03f(_0x52270);return _0x3ee55c['isEnabled']=!0x0,_0x3ee55c['label']=T(_0x1749ec['locale'],'Go\x20to\x20previous\x20page'),_0x3ee55c['icon']=_0x45e428,_0x3ee55c['tooltip']=!0x0,_0x3ee55c['keystroke']='Shift+PageUp',_0x3ee55c['bind']('isEnabled')['to'](_0x423d9d),this['listenTo'](_0x3ee55c,'execute',()=>{_0x423d9d['goToPreviousPage']();}),_0x3ee55c;});}},$=class extends _0x34bff7{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x510c32){super(_0x510c32),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4024bc=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x4024bc),this['bind']('totalPages')['to'](_0x4024bc),_0x2c2632['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x469c0e){this['editor']['plugins']['get'](G)['scrollToPage'](_0x469c0e);}};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':_0x361998=>0x1!=_0x361998}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x527938=>{const {af:{dictionary:_0x4dffbc,getPluralForm:_0x2f888f}}={'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':_0x4dbff1=>0x1!=_0x4dbff1}};_0x527938['af']||={'dictionary':{},'getPluralForm':null},_0x527938['af']['dictionary']=Object['assign'](_0x527938['af']['dictionary'],_0x4dffbc),_0x527938['af']['getPluralForm']=_0x2f888f;})(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':_0x34097a=>0x0==_0x34097a?0x0:0x1==_0x34097a?0x1:0x2==_0x34097a?0x2:_0x34097a%0x64>=0x3&&_0x34097a%0x64<=0xa?0x3:_0x34097a%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x558f7f=>{const {ar:{dictionary:_0x2169c3,getPluralForm:_0x7480c1}}={'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':_0x101a66=>0x0==_0x101a66?0x0:0x1==_0x101a66?0x1:0x2==_0x101a66?0x2:_0x101a66%0x64>=0x3&&_0x101a66%0x64<=0xa?0x3:_0x101a66%0x64>=0xb?0x4:0x5}};_0x558f7f['ar']||={'dictionary':{},'getPluralForm':null},_0x558f7f['ar']['dictionary']=Object['assign'](_0x558f7f['ar']['dictionary'],_0x2169c3),_0x558f7f['ar']['getPluralForm']=_0x7480c1;})(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':_0x529a97=>0x1!=_0x529a97}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x102428=>{const {ast:{dictionary:_0x1dd48f,getPluralForm:_0x558a45}}={'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':_0x2b7198=>0x1!=_0x2b7198}};_0x102428['ast']||={'dictionary':{},'getPluralForm':null},_0x102428['ast']['dictionary']=Object['assign'](_0x102428['ast']['dictionary'],_0x1dd48f),_0x102428['ast']['getPluralForm']=_0x558a45;})(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':_0xf95422=>0x1!=_0xf95422}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34299d=>{const {az:{dictionary:_0x498537,getPluralForm:_0x4f58cc}}={'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':_0x504dfd=>0x1!=_0x504dfd}};_0x34299d['az']||={'dictionary':{},'getPluralForm':null},_0x34299d['az']['dictionary']=Object['assign'](_0x34299d['az']['dictionary'],_0x498537),_0x34299d['az']['getPluralForm']=_0x4f58cc;})(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':_0x53c9bf=>_0x53c9bf%0xa==0x1&&_0x53c9bf%0x64!=0xb?0x0:_0x53c9bf%0xa>=0x2&&_0x53c9bf%0xa<=0x4&&(_0x53c9bf%0x64<0xa||_0x53c9bf%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x267bc8=>{const {be:{dictionary:_0x16c904,getPluralForm:_0x52d410}}={'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':_0x2eb2a6=>_0x2eb2a6%0xa==0x1&&_0x2eb2a6%0x64!=0xb?0x0:_0x2eb2a6%0xa>=0x2&&_0x2eb2a6%0xa<=0x4&&(_0x2eb2a6%0x64<0xa||_0x2eb2a6%0x64>=0x14)?0x1:0x2}};_0x267bc8['be']||={'dictionary':{},'getPluralForm':null},_0x267bc8['be']['dictionary']=Object['assign'](_0x267bc8['be']['dictionary'],_0x16c904),_0x267bc8['be']['getPluralForm']=_0x52d410;})(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':_0x1da488=>0x1!=_0x1da488}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3b4752=>{const {bg:{dictionary:_0x102027,getPluralForm:_0xc02e59}}={'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':_0x294195=>0x1!=_0x294195}};_0x3b4752['bg']||={'dictionary':{},'getPluralForm':null},_0x3b4752['bg']['dictionary']=Object['assign'](_0x3b4752['bg']['dictionary'],_0x102027),_0x3b4752['bg']['getPluralForm']=_0xc02e59;})(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':_0x589c54=>0x1!=_0x589c54}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x414ac6=>{const {bn:{dictionary:_0x4db4f6,getPluralForm:_0x41998f}}={'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':_0x1b9c20=>0x1!=_0x1b9c20}};_0x414ac6['bn']||={'dictionary':{},'getPluralForm':null},_0x414ac6['bn']['dictionary']=Object['assign'](_0x414ac6['bn']['dictionary'],_0x4db4f6),_0x414ac6['bn']['getPluralForm']=_0x41998f;})(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':_0x44b8f4=>_0x44b8f4%0xa==0x1&&_0x44b8f4%0x64!=0xb?0x0:_0x44b8f4%0xa>=0x2&&_0x44b8f4%0xa<=0x4&&(_0x44b8f4%0x64<0xa||_0x44b8f4%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x500291=>{const {bs:{dictionary:_0x31104b,getPluralForm:_0x3d432e}}={'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':_0x1d20d4=>_0x1d20d4%0xa==0x1&&_0x1d20d4%0x64!=0xb?0x0:_0x1d20d4%0xa>=0x2&&_0x1d20d4%0xa<=0x4&&(_0x1d20d4%0x64<0xa||_0x1d20d4%0x64>=0x14)?0x1:0x2}};_0x500291['bs']||={'dictionary':{},'getPluralForm':null},_0x500291['bs']['dictionary']=Object['assign'](_0x500291['bs']['dictionary'],_0x31104b),_0x500291['bs']['getPluralForm']=_0x3d432e;})(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':_0x490e99=>0x1!=_0x490e99}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6d507=>{const {ca:{dictionary:_0x1b5785,getPluralForm:_0x437a54}}={'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':_0x59cdc2=>0x1!=_0x59cdc2}};_0x6d507['ca']||={'dictionary':{},'getPluralForm':null},_0x6d507['ca']['dictionary']=Object['assign'](_0x6d507['ca']['dictionary'],_0x1b5785),_0x6d507['ca']['getPluralForm']=_0x437a54;})(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':_0x20ee64=>0x1==_0x20ee64?0x0:_0x20ee64>=0x2&&_0x20ee64<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x562bb8=>{const {cs:{dictionary:_0x5f3ee6,getPluralForm:_0x578f62}}={'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':_0x5a8366=>0x1==_0x5a8366?0x0:_0x5a8366>=0x2&&_0x5a8366<=0x4?0x1:0x2}};_0x562bb8['cs']||={'dictionary':{},'getPluralForm':null},_0x562bb8['cs']['dictionary']=Object['assign'](_0x562bb8['cs']['dictionary'],_0x5f3ee6),_0x562bb8['cs']['getPluralForm']=_0x578f62;})(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':_0x44f7c0=>0x1!=_0x44f7c0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3400af=>{const {da:{dictionary:_0x28b9a9,getPluralForm:_0x4c278d}}={'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':_0x10e773=>0x1!=_0x10e773}};_0x3400af['da']||={'dictionary':{},'getPluralForm':null},_0x3400af['da']['dictionary']=Object['assign'](_0x3400af['da']['dictionary'],_0x28b9a9),_0x3400af['da']['getPluralForm']=_0x4c278d;})(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':_0x13ec72=>0x1!=_0x13ec72}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x520031=>{const {'de-ch':{dictionary:_0x42afbd,getPluralForm:_0x9c85b9}}={'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':_0x2821ce=>0x1!=_0x2821ce}};_0x520031['de-ch']||={'dictionary':{},'getPluralForm':null},_0x520031['de-ch']['dictionary']=Object['assign'](_0x520031['de-ch']['dictionary'],_0x42afbd),_0x520031['de-ch']['getPluralForm']=_0x9c85b9;})(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':_0x43ea8a=>0x1!=_0x43ea8a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2129b8=>{const {de:{dictionary:_0xa6b561,getPluralForm:_0x5114ab}}={'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':_0x429631=>0x1!=_0x429631}};_0x2129b8['de']||={'dictionary':{},'getPluralForm':null},_0x2129b8['de']['dictionary']=Object['assign'](_0x2129b8['de']['dictionary'],_0xa6b561),_0x2129b8['de']['getPluralForm']=_0x5114ab;})(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':_0x18020c=>0x1!=_0x18020c}};
|