@ckeditor/ckeditor5-pagination 49.0.0-alpha.7 → 49.0.0-alpha.8
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.umd.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.umd.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 _0x465d44}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x44d701,InputNumberView as _0x30c727,View as _0x297e8b}from'@ckeditor/ckeditor5-ui';import{Rect as _0x470b3e,ResizeObserver as _0x2c93df,env as _0x39a8d0,findClosestScrollableAncestor as _0x1e323a,first as _0x476260,getParentElement as _0x1c2e05,getParentNode as _0xc686b9,getPositionedAncestor as _0x47738c,global as _0xaf6589,keyCodes as _0x493113,logWarning as _0x563e05,toUnit as _0x5373f6,uid as _0xb2807f}from'@ckeditor/ckeditor5-utils';import{debounce as _0x3f99f4}from'es-toolkit/compat';import{IconArrowDown as _0x13d5f0,IconArrowUp as _0x201772}from'@ckeditor/ckeditor5-icons';var v=class extends _0x465d44{_recalculatePageBreaksDebounced=_0x3f99f4(()=>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 _0x563e05('pagination-config-not-found',this['editor']['config']);const _0xbe1ae4=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0xbe1ae4),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x179d32,_0x44a4e2,_0x443910)=>{_0x443910&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x12bb91){const _0x269510='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x5cce5d=0x797a0,_0x5389d0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x26b18d(_0x18ae66){const _0x404f7e=new window['Promise'](_0x5745ad=>{_0x18ae66['once']('ready',_0x5745ad);}),_0x3e0687=window['Date']['now'](),_0x1d1e50=_0x18ae66['config']['get']('licenseKey');async function _0x15b95c(){let _0x4f47a4,_0x9c7283=null,_0x37ee78=null;try{return'GPL'==_0x1d1e50?'NotAllowed':(_0x4f47a4=_0x299e6e(),_0x4f47a4?(_0x4f47a4['usageEndpoint']&&(_0x37ee78=_0x253ffc(_0x4f47a4['usageEndpoint'],_0x4f47a4['jti'])),await _0x502309()?_0x3aef0d()?_0xcfbfb0()?'Expired':_0x4e8b40()?('evaluation'==_0x4f47a4['licenseType']&&(_0x9c7283=_0x26b270('EvaluationLimit')),await _0x20fd32()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xcfbfb0(){const _0xbb999b=['evaluation','trial']['includes'](_0x4f47a4['licenseType'])?_0x3e0687/0x3e8:0xe10*_0x5cce5d;return _0x4f47a4['exp']<_0xbb999b;}function _0x3aef0d(){const _0x4f663a=_0x4f47a4['features'];return!!_0x4f663a&&(!!_0x4f663a['includes']('*')||!!_0x4f663a['includes']('PAG'));}function _0x4e8b40(){const _0x2bb8f0=_0x4f47a4['licensedHosts'];if(!_0x2bb8f0||0x0==_0x2bb8f0['length'])return!0x0;const {hostname:_0x4c8879}=new URL(window['location']['href']);if(_0x2bb8f0['includes'](_0x4c8879))return!0x0;const _0x559d16=_0x4c8879['split']('.');return _0x2bb8f0['filter'](_0x157b30=>_0x157b30['includes']('*'))['map'](_0x4c820b=>_0x4c820b['split']('.'))['filter'](_0x3ea4ca=>_0x3ea4ca['length']<=_0x559d16['length'])['map'](_0x219461=>Array(_0x559d16['length']-_0x219461['length'])['fill']('*'===_0x219461[0x0]?'*':'')['concat'](_0x219461))['some'](_0x339f82=>_0x559d16['every']((_0x142c7b,_0x5d2142)=>_0x339f82[_0x5d2142]===_0x142c7b||'*'===_0x339f82[_0x5d2142]));}function _0x20fd32(){return _0x9c7283&&_0x37ee78?new window['Promise']((_0x4b87cd,_0x36ab46)=>{_0x9c7283['then'](_0x4b87cd,_0x36ab46),_0x37ee78['then'](_0x1ce89e=>{'Valid'!=_0x1ce89e&&_0x4b87cd(_0x1ce89e);},_0x36ab46);}):_0x9c7283||_0x37ee78||'Valid';}}function _0x253ffc(_0x4da49e,_0x5d52cc){return new window['Promise'](_0x10b029=>{if(_0x1c5856())return _0x10b029('Valid');_0x5b5656(),_0x18ae66['decorate']('_sendUsageRequest');let _0x34ec86=!0x1;const _0x2eb7ca=_0xb2807f();function _0x3e2ddb(_0x1c4235){return!!_0x1c4235&&('object'==typeof _0x1c4235||'function'==typeof _0x1c4235)&&'function'==typeof _0x1c4235['then']&&'function'==typeof _0x1c4235['catch'];}function _0x307fb3(_0x560764){_0x2dceea(_0x560764)['then'](_0x5af7f9=>_0x5af7f9&&'ok'==_0x5af7f9['status']?_0x1d19e9(_0x1286b6(_0x2eb7ca+_0x5d52cc))!=_0x5af7f9['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x477cd1=>(_0x18a2c2(),_0x477cd1),()=>{const _0x464b94=_0x3e977c();return null==_0x464b94?(_0x18a2c2(),'Valid'):_0x3e0687-_0x464b94>0x240c8400?'UsageLimit':'Valid';})['then'](_0x10b029)['catch'](()=>{_0x10b029('UsageLimit');});const _0x4ee287=0x36ee80;function _0x18a2c2(){const _0x5a9b4a='llct-'+_0x1d19e9(_0x1286b6(_0x4da49e)),_0x43029d=_0x1fc254(_0x1d19e9(window['Math']['ceil'](_0x3e0687/_0x4ee287)));window['localStorage']['setItem'](_0x5a9b4a,_0x43029d);}function _0x3e977c(){const _0x15643c='llct-'+_0x1d19e9(_0x1286b6(_0x4da49e)),_0x1a8852=window['localStorage']['getItem'](_0x15643c);return _0x1a8852?window['parseInt'](_0x1fc254(_0x1a8852),0x10)*_0x4ee287:null;}function _0x2dceea(_0x542c46){return new window['Promise']((_0xfef899,_0x5e39e2)=>{_0x542c46['then'](_0xfef899,_0x5e39e2),window['setTimeout'](_0x5e39e2,0x1d4c0);});}}_0x18ae66['on']('_sendUsageRequest',(_0x43a869,_0x5c4374)=>{if(_0x5c4374[0x0]!=_0x4da49e)return _0x10b029('UsageLimit');_0x5c4374[0x1]={..._0x5c4374[0x1],'requestId':_0x2eb7ca};},{'priority':'high'}),_0x18ae66['on']('_sendUsageRequest',_0x39448d=>{_0x3e2ddb(_0x39448d['return'])&&(_0x34ec86=!0x0,_0x307fb3(_0x39448d['return']));},{'priority':'low'}),_0x404f7e['then'](()=>{_0x34ec86||_0x10b029('UsageLimit');});});function _0x1c5856(){return'auto'==_0x18ae66['editing']['view']['_overlayModeHint'];}function _0x5b5656(){_0x18ae66['editing']['view']['_overlayModeHint']='auto';}}function _0x26b270(_0x59965a){const _0x132fa3=[new window['Promise'](_0x260b71=>setTimeout(_0x260b71,0x93ecc)),_0x404f7e['then'](()=>new window['Promise'](_0x1e0580=>{let _0x5d0487=0x0;_0x18ae66['model']['on']('applyOperation',(_0x432483,_0x24ca70)=>{_0x24ca70[0x0]['isDocumentOperation']&&_0x5d0487++,0x5e8==_0x5d0487&&(_0x1e0580(),_0x432483['off']());});}))];return window['Promise']['race'](_0x132fa3)['then'](()=>_0x59965a);}async function _0x45a8a2(){await _0x404f7e,_0x18ae66['model']['change']=_0x50a4a6,_0x18ae66['model']['enqueueChange']=_0x50a4a6,_0x18ae66['enableReadOnlyMode']('model');}function _0x2527b6(_0x320d3a){const _0x388542=_0x2b94e4();_0x18ae66[_0x388542]='paginationLicenseKey'+_0x320d3a,'Valid'!=_0x320d3a&&_0x45a8a2();}function _0x2b94e4(){const _0x59ea03=window['String'](window['performance']['now']())['replace']('.','');let _0x1a3b68='v';for(let _0x29aaf9=0x0;_0x29aaf9<_0x59ea03['length'];_0x29aaf9+=0x2){let _0x2f82d9=window['parseInt'](_0x59ea03['substring'](_0x29aaf9,_0x29aaf9+0x2));_0x2f82d9>=0x3e&&(_0x2f82d9-=0x3e),_0x1a3b68+=_0x269510[_0x2f82d9];}return _0x1a3b68;}function _0x299e6e(){const _0x1d19f2=_0x1d1e50['split']('.');if(0x3!=_0x1d19f2['length'])return null;return _0x35c2ec(_0x1d19f2[0x1]);function _0x35c2ec(_0x209815){const _0x6eccea=_0x2ced9f(_0x209815);return _0x6eccea&&_0x36c840()?_0x6eccea:null;function _0x36c840(){const _0x57a23b=_0x6eccea['jti'],_0x5e2f5a=window['parseInt'](_0x57a23b['substring'](_0x57a23b['length']-0x8),0x10),_0x5a39b9={..._0x6eccea,'jti':_0x57a23b['substring'](0x0,_0x57a23b['length']-0x8)};return delete _0x5a39b9['vc'],_0x1286b6(_0x5a39b9)==_0x5e2f5a;}}}async function _0x502309(){let _0x81f3ba=!0x0;try{const [_0x34e46a,_0x3f3650,_0x5436d9]=_0x1d1e50['split']('.');return _0x2b16fa(_0x34e46a),await _0x3a24f3(_0x34e46a,_0x3f3650,_0x5436d9),_0x81f3ba;}catch{return!0x1;}function _0x2b16fa(_0x3b093d){const _0x104396=_0x2ced9f(_0x3b093d);_0x104396&&'ES256'==_0x104396['alg']||(_0x81f3ba=!0x1);}async function _0x3a24f3(_0x44eb5e,_0x24de1,_0x100511){const _0x43e82c=window['Uint8Array']['from'](_0x421fec(_0x100511),_0x121aa7=>_0x121aa7['charCodeAt'](0x0)),_0x56be89=new window['TextEncoder']()['encode'](_0x44eb5e+'.'+_0x24de1),_0x5cdddc=window['crypto']['subtle'];if(!_0x5cdddc)return;const _0x4fc96e=await _0x5cdddc['importKey']('jwk',_0x5389d0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5cdddc['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4fc96e,_0x43e82c,_0x56be89)||(_0x81f3ba=!0x1);}}function _0x2ced9f(_0x156c8f){return _0x156c8f['startsWith']('ey')?JSON['parse'](_0x421fec(_0x156c8f)):null;}function _0x421fec(_0x29f56b){return window['atob'](_0x29f56b['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1286b6(_0x130218){let _0x38e97e=0x1505;function _0x3ab02e(_0x3db0f8){for(let _0x4d228b=0x0;_0x4d228b<_0x3db0f8['length'];_0x4d228b++){const _0x2003e3=_0x3db0f8['charCodeAt'](_0x4d228b);_0x38e97e=(_0x38e97e<<0x5)+_0x38e97e+_0x2003e3,_0x38e97e&=_0x38e97e;}}function _0x373259(_0x5c676f){Array['isArray'](_0x5c676f)?_0x5c676f['forEach'](_0x373259):_0x5c676f&&'object'==typeof _0x5c676f?Object['entries'](_0x5c676f)['sort']()['forEach'](([_0x1ef70e,_0x2b21e3])=>{_0x3ab02e(_0x1ef70e),_0x373259(_0x2b21e3);}):_0x3ab02e(window['String'](_0x5c676f));}return _0x373259(_0x130218),_0x38e97e>>>0x0;}function _0x1d19e9(_0x134d11){return _0x134d11['toString'](0x10)['padStart'](0x8,'0');}function _0x1fc254(_0x30fd3b){return _0x30fd3b['split']('')['reverse']()['join']('');}function _0x50a4a6(){}_0x2527b6(await _0x15b95c());}_0x26b18d(_0x12bb91['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x58e98b=this['editor'],_0x371781=_0x58e98b['editing']['view'],_0x2f1434=this['_getAttachedDomRoot']();if(!_0x2f1434||!_0x2f1434['hasChildNodes']())return void _0x58e98b['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x34361b,pageHeight:_0x345865}=_0x58e98b['config']['get']('pagination'),{top:_0x1a16cb,left:_0x58a8ff,bottom:_0x4affed,right:_0x4ebe31}=this['_configuredPaddings'];this['_pagesContainer']=new _0x297e8b(_0x58e98b['locale']);const _0x42631b=this['_pagesContainer'];_0x42631b['set']('class',''),_0x42631b['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x34361b,'width':_0x34361b,'height':'calc(\x20'+_0x345865+'\x20-\x20'+_0x1a16cb+'\x20-\x20'+_0x4affed+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4ebe31+'\x200\x20'+_0x58a8ff,'columnGap':'calc('+_0x58a8ff+'\x20+\x20'+_0x4ebe31+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x42631b['bindTemplate']['to']('class')}}),_0x42631b['render'](),_0xc686b9(_0x2f1434)['insertBefore'](_0x42631b['element'],_0x2f1434['nextSibling']),this['listenTo'](_0x371781,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0xeead00 of this['editor']['editing']['view']['domRoots']['values']())if(_0xeead00['isConnected'])return _0xeead00;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x5627f8=this['editor']['editing']['view'],_0x2cb8de=this['_pagesContainer'],_0x1b02b9=this['_getAttachedDomRoot']();if(!_0x1b02b9||!_0x2cb8de)return Promise['resolve']();for(_0x2cb8de['class']=['ck-reset','ck-pagination-view',..._0x1b02b9['classList']]['join']('\x20');_0x2cb8de['element']['firstChild'];)_0x2cb8de['element']['firstChild']['remove']();const _0x1ddc7f=Array['from'](_0x5627f8['domRoots']);_0x1ddc7f['sort'](([,_0x326876],[,_0x2d620d])=>_0x326876['compareDocumentPosition'](_0x2d620d)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x6a912d,_0x21289b]of _0x1ddc7f){const _0x22ea23=_0x21289b['cloneNode'](!0x0);'attributeStyleMap'in _0x22ea23&&_0x22ea23['attributeStyleMap']['clear'](),_0x22ea23['dataset']['rootName']=_0x6a912d,_0x22ea23['className']='ck-content\x20ck-pagination_enabled',_0x22ea23['removeAttribute']('id'),_0x22ea23['tabIndex']=-0x1,_0x2cb8de['element']['append'](_0x22ea23);}const _0x578358=Array['from'](_0x2cb8de['element']['querySelectorAll']('img'));return function(_0x352bf1){return Promise['all'](_0x352bf1['map'](_0x36f26a=>Promise['race']([N(_0x36f26a),_(0x3e8)])));}(_0x578358)['then'](()=>{for(const _0x5b4c5d of _0x578358['filter'](_0x49ca9d=>!_0x49ca9d['closest']('table')))if(_0x5b4c5d['offsetParent']){const _0x1ad037=_0xaf6589['window']['getComputedStyle'](_0x5b4c5d),_0xe5989e=_0xaf6589['document']['createElement']('span');for(const _0x324b75 of _0x1ad037)_0xe5989e['style']['setProperty'](_0x324b75,_0x1ad037[_0x324b75]);_0xe5989e['style']['backgroundImage']='url(\x20'+_0x5b4c5d['src']+'\x20)',_0xe5989e['style']['breakInside']='avoid','PICTURE'==_0x5b4c5d['parentElement']?.['tagName']?_0x5b4c5d['parentElement']['replaceWith'](_0xe5989e):_0x5b4c5d['replaceWith'](_0xe5989e);}return new Promise(_0xfc54ec=>_0xaf6589['window']['requestAnimationFrame'](()=>_0xfc54ec()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x555b5e=this['_pagesContainer']['element'];if(!_0x555b5e['isConnected'])return;const _0x463333=new _0x470b3e(_0x555b5e)['excludeScrollbarsAndBorders'](),_0x26cfcf=Math['floor'](_0x463333['width']+0x64),_0x4fddbe=I(_0x555b5e,Math['floor'](_0x463333['left']-_0x555b5e['scrollLeft']),_0x26cfcf,_0x463333['height'])['map'](_0x17c649=>this['_mapPageStarterInfoToPageBreakInfo'](_0x17c649))['filter'](_0x4aba94=>!0x1!==_0x4aba94);_0x4fddbe['every'](_0x1e2fa2=>!!_0x1e2fa2)&&(this['pageBreaks']=_0x4fddbe);}_mapPageStarterInfoToPageBreakInfo(_0x24d74e){const _0x1b057a=this['editor']['editing']['view'],_0x5dde84=this['editor']['editing']['mapper'],_0x31527b=_0x1b057a['domConverter'],_0x49d265=_0x24d74e['path']['shift'](),_0x9c7296=this['_pagesContainer']['element']['childNodes'][_0x49d265]['dataset']['rootName'],_0x40d1e2=_0x1b057a['getDomRoot'](_0x9c7296);if(!_0x40d1e2)return null;const _0x47e7cb=function(_0x5a11f1,_0x5d522d){let _0x3d1be5=_0x5a11f1;for(const _0x554a72 of _0x5d522d['path']){if(!_0x3d1be5)return null;_0x3d1be5=_0x3d1be5['childNodes'][_0x554a72];}return _0x3d1be5;}(_0x40d1e2,_0x24d74e);if(!_0x47e7cb)return null;const _0xaa3971=_0x31527b['domPositionToView'](_0x47e7cb,_0x24d74e['textOffset']||0x0);return _0xaa3971?'manual'==_0x24d74e['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xaa3971,_0x47e7cb):'text'==_0x24d74e['type']&&_0x5dde84['toModelPosition'](_0xaa3971)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xaa3971,_0x47e7cb,_0x24d74e['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xaa3971,_0x47e7cb,_0x24d74e['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0xb76d96,_0x228ed0){const _0x19704b=this['editor']['model'],_0x18114f=this['editor']['editing']['mapper']['toModelElement'](_0xb76d96['parent']),_0x2ebca1=_0x19704b['createRangeOn'](_0x18114f);return new k({'type':'manual','modelRange':_0x2ebca1,'domNode':_0x228ed0,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x3c5cb7,_0x2e23c6,_0x470a08){const _0x5eccdd=this['editor']['model'],_0x153fe2=this['editor']['editing']['mapper'],_0x23344f=this['editor']['editing']['view']['domConverter'];if(_0x470a08>=_0x2e23c6['length'])return null;const _0x4f1b06=_0x153fe2['toModelPosition'](_0x3c5cb7),_0x88adf1=_0x5eccdd['createRange'](_0x4f1b06),_0x31f17e=_0x153fe2['findMappedViewAncestor'](_0x3c5cb7),_0x27e5e7=_0x23344f['mapViewToDom'](_0x31f17e);return new k({'type':'text','modelRange':_0x88adf1,'domNode':_0x2e23c6,'offset':L(_0x2e23c6,_0x470a08,_0x27e5e7)});}_mapElementPageStarterInfoToPageBreakInfo(_0x3fbb6e,_0x19e7f2,_0x2ec35f){const _0x55bd9d=this['editor']['model'],_0x3d4b14=this['editor']['editing'],_0x4d4c45=_0x3d4b14['mapper'],_0x5396f7=_0x3d4b14['view']['domConverter'],_0x15b981=_0x4d4c45['findMappedViewAncestor'](_0x3fbb6e),_0x451d23=_0x4d4c45['toModelElement'](_0x15b981);if(!_0x451d23||_0x451d23['is']('rootElement'))return!0x1;const _0x344be1=function(_0x492dce){const _0x593673=_0x492dce['parent'],_0x1c30cb=_0x593673['root']['document']['model'],_0x5535ae=_0x593673['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x441c2e=null;for(const _0x1015a3 of _0x5535ae){if(_0x1015a3['is']('rootElement'))return _0x441c2e;if(!_0x1c30cb['createPositionBefore'](_0x1015a3)['isTouching'](_0x492dce))return _0x441c2e;_0x441c2e=_0x1015a3;}}(_0x55bd9d['createPositionBefore'](_0x451d23))||_0x451d23;let _0xccba62=_0x4d4c45['toViewElement'](_0x344be1),_0x4db147=_0x55bd9d['createRangeOn'](_0x344be1);const _0x2e5344=_0x55bd9d['createPositionBefore'](_0x344be1)['nodeBefore'];if(_0x2e5344&&_0x2e5344['is']('element','imageBlock')){const _0x384802=_0x4d4c45['toViewElement'](_0x2e5344),_0x7e4de5=_0x5396f7['mapViewToDom'](_0x384802),_0x202bbf=_0xaf6589['window']['getComputedStyle'](_0x7e4de5)['float'];'left'!=_0x202bbf&&'right'!=_0x202bbf||(_0x4db147=_0x55bd9d['createRangeOn'](_0x2e5344));}for(;_0xccba62['parent']!==_0xccba62['root']&&0x0===_0xccba62['index'];)_0xccba62=_0xccba62['parent'];const _0x207a64=new _0x470b3e(C(_0x19e7f2)?_0x19e7f2:E(_0x19e7f2)),_0x29ed03=_0x2ec35f?_0x207a64['height']-_0x2ec35f:0x0,_0x4a367b=_0x5396f7['mapViewToDom'](_0xccba62),_0xd1003c=new _0x470b3e(_0x4a367b);return new k({'type':'element','modelRange':_0x4db147,'domNode':_0x4a367b,'offset':Math['round'](_0x29ed03)||_0x15b981!=x(_0x3fbb6e)?_0x29ed03+_0x207a64['top']-_0xd1003c['top']:0x0});}get['_configuredPaddings'](){const _0x4edb59=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4edb59);}static _findPageStarterInfos(_0x1a806f,_0x4fc238,_0x338a68,_0x338bee,_0x2aeb03){return I(_0x1a806f,_0x4fc238,_0x338a68,_0x338bee,_0x2aeb03);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x446517,modelRange:_0x3b943d,domNode:_0x595ddd,offset:_0x2e37a5}){this['type']=_0x446517,this['modelRange']=_0x3b943d,this['_domNode']=_0x595ddd,this['_offset']=_0x2e37a5;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x2e154e=new _0x470b3e(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x2e154e['top']+_0x2e154e['height']/0x2:_0x2e154e['top']+this['_offset'];}};function L(_0x167e12,_0x353c5e,_0x4bb557){const _0x36f7b6=E(_0x167e12),_0x9d8354=function(_0x360ceb){const _0x49bbe7=_0xaf6589['document']['createRange']();return _0x49bbe7['selectNodeContents'](_0x360ceb),_0x49bbe7;}(_0x4bb557);let _0x29a84c;if(0x0==_0x353c5e){const _0x476367=_0xc686b9(_0x167e12);_0x29a84c=R(_0x9d8354['startContainer'],_0x9d8354['startOffset'],_0x476367,Array['from'](_0x476367['childNodes'])['indexOf'](_0x167e12));}else _0x29a84c=R(_0x9d8354['startContainer'],_0x9d8354['startOffset'],_0x167e12,_0x353c5e);const _0x73689=R(_0x167e12,_0x353c5e,_0x9d8354['endContainer'],_0x9d8354['endOffset']),_0x3f8ba0=new _0x470b3e(_0x29a84c)['bottom'];return(new _0x470b3e(_0x73689)['top']+_0x3f8ba0)/0x2-new _0x470b3e(_0x36f7b6)['top'];}function x(_0x1625f1){let _0x1fb11b=_0x1625f1['parent'];for(;_0x1fb11b['is']('$text')||_0x1fb11b['is']('attributeElement');)_0x1fb11b=_0x1fb11b['parent'];return _0x1fb11b;}function N(_0x333a70){return _0x333a70['hasAttribute']('width')&&_0x333a70['hasAttribute']('height')?Promise['resolve']():new Promise(_0x9d76db=>{function _0x7af270(){_0x333a70['removeEventListener']('load',_0x7af270),_0x333a70['removeEventListener']('error',_0x7af270),_0x9d76db();}_0x333a70['complete']?_0x9d76db():(_0x333a70['addEventListener']('load',_0x7af270),_0x333a70['addEventListener']('error',_0x7af270));});}function _(_0x152d40){return new Promise(_0x181192=>setTimeout(_0x181192,_0x152d40));}function E(_0x361e93){const _0x1e9ab4=_0xaf6589['document']['createRange']();return _0x1e9ab4['selectNode'](_0x361e93),_0x1e9ab4;}function S(_0x390b48,_0x1be13d,_0x3225ca){const _0x2192b1=_0xaf6589['document']['createRange']();return _0x2192b1['setStart'](_0x390b48,_0x1be13d),_0x2192b1['setEnd'](_0x390b48,_0x3225ca),_0x2192b1;}function R(_0xe91eba,_0x2fdc71,_0x3f40a4,_0x1e9343){const _0x3c3fd1=_0xaf6589['document']['createRange']();return _0x3c3fd1['setStart'](_0xe91eba,_0x2fdc71),_0x3c3fd1['setEnd'](_0x3f40a4,_0x1e9343),_0x3c3fd1;}function I(_0x84934c,_0x2da540,_0x416d5a,_0x49636f,_0x1c8661){const _0x5bc7fc=[];for(const [_0x31df25,_0x57b0ac]of _0x84934c['childNodes']['entries']()){let _0x5aa28a=[];C(_0x57b0ac)&&_0x57b0ac['offsetParent']&&['static','relative']['includes'](_0xaf6589['window']['getComputedStyle'](_0x57b0ac)['position'])?_0x5aa28a=K(_0x57b0ac,_0x31df25,_0x2da540,_0x416d5a,_0x49636f,_0x1c8661):D(_0x57b0ac)&&(_0x5aa28a=A(_0x57b0ac,_0x31df25,_0x2da540,_0x416d5a,_0x1c8661)),_0x5aa28a['length']&&(_0x5bc7fc['push'](..._0x5aa28a),_0x2da540+=_0x5aa28a['length']*_0x416d5a,_0x1c8661=!0x1);}return _0x5bc7fc;}function K(_0x30860e,_0x50635f,_0x49e66f,_0x53931b,_0x325687,_0x281857){const _0x2722b2=[];var _0x427f6e;if((_0x427f6e=_0x30860e['previousSibling'])&&C(_0x427f6e)&&Boolean(_0x427f6e['classList']['contains']('page-break')||_0x427f6e['closest']('.page-break'))&&(_0x2722b2['push']({'type':'manual','offset':0x0,'path':[_0x50635f-0x1]}),_0x281857=!0x0),'table-row'==_0xaf6589['window']['getComputedStyle'](_0x30860e)['display']){let _0x351761=0x0,_0x3e0b1c=!0x1;for(const _0x26baa7 of _0x30860e['getClientRects']())_0x351761+=_0x26baa7['height'],_0x26baa7['left']>=_0x49e66f&&(_0x3e0b1c=!0x0);if(_0x351761<_0x325687&&_0x3e0b1c)return _0x281857||_0x2722b2['push']({'type':'element','offset':0x0,'path':[_0x50635f]}),_0x2722b2;}const _0x567406=_0x30860e['closest']('figure.image');if(_0x567406&&function(_0x469d2c){let _0x1b00a1=!0x1;const _0x25e3d1=_0x1c2e05(_0x469d2c)['dataset']['rootName'],_0x351fe2=_0x469d2c['nextElementSibling'],_0x8a5a97=_0x469d2c['previousElementSibling'],_0x2a92a2=_0x351fe2&&_0xaf6589['window']['getComputedStyle'](_0x351fe2)['float'],_0x3fb0f1=_0x351fe2&&'ck-fake-selection-container'===_0x351fe2['className'];return!_0x25e3d1||_0x351fe2||_0x8a5a97||(_0x1b00a1=!0x0),_0x25e3d1&&!_0x8a5a97&&_0x3fb0f1&&(_0x1b00a1=!0x0),_0x25e3d1&&!_0x8a5a97&&'none'!==_0x2a92a2&&(_0x1b00a1=!0x0),!_0x1b00a1;}(_0x567406)){const _0x37c4fc=_0xaf6589['window']['getComputedStyle'](_0x567406)['float'];if('left'==_0x37c4fc||'right'==_0x37c4fc)return _0x2722b2;}const _0x4772f8=I(_0x30860e,_0x49e66f,_0x53931b,_0x325687,_0x281857);if(_0x4772f8['length']){for(const _0x345eea of _0x4772f8)_0x2722b2['push']({'type':_0x345eea['type'],'offset':_0x345eea['offset'],'textOffset':_0x345eea['textOffset'],'path':[_0x50635f,..._0x345eea['path']]}),_0x49e66f+=_0x53931b;return _0x2722b2;}return _0x2722b2['push'](...function(_0x493f15,_0x3e6586,_0x23d399,_0x243d31,_0xa88d1){const _0x213106=[];if('table-cell'==_0xaf6589['window']['getComputedStyle'](_0x493f15)['display'])return[];const _0x2fca08=[];for(const _0x119f33 of _0x493f15['getClientRects']())if(_0x119f33['left']>=_0x23d399){for(const _0x1e031d of _0x2fca08)_0x1e031d['height']+=_0x119f33['height'];_0x2fca08['push']({'height':_0x119f33['height']}),_0x23d399+=_0x243d31;}for(const _0x33278b of _0x2fca08)_0xa88d1||_0x213106['push']({'type':'element','offset':_0x33278b['height'],'textOffset':0x0,'path':[_0x3e6586]}),_0xa88d1=!0x1;return _0x213106;}(_0x30860e,_0x50635f,_0x49e66f,_0x53931b,_0x281857)),_0x2722b2;}function A(_0x12211b,_0x57fc6c,_0x400a9b,_0x244874,_0x3177af){const _0x235f12=E(_0x12211b),_0x1fdeb3=[];let _0x141ab9=0x0;for(const _0x37c478 of _0x235f12['getClientRects']())if(_0x37c478['left']>=_0x400a9b){const _0x2cbd69=O(_0x12211b,_0x141ab9,_0x400a9b,_0x244874);_0x3177af||_0x1fdeb3['push']({'type':'text','path':[_0x57fc6c],'textOffset':_0x2cbd69}),_0x141ab9=_0x2cbd69,_0x400a9b+=_0x244874,_0x3177af=!0x1;}return _0x1fdeb3;}function O(_0x5bd2ce,_0x54da92,_0x107ea5,_0x1d92eb){let _0x248fc9=_0x54da92,_0x7abb3e=_0x5bd2ce['length'];for(;_0x7abb3e-_0x248fc9>0x1;){const _0x36dec7=Math['ceil']((_0x248fc9+_0x7abb3e)/0x2);U(S(_0x5bd2ce,_0x248fc9,_0x36dec7),_0x107ea5,_0x1d92eb)?_0x7abb3e=_0x36dec7:_0x248fc9=_0x36dec7;}return _0x248fc9;}function U(_0x5143c1,_0x3a4627,_0x24b945){for(const _0x5c8191 of _0x5143c1['getClientRects']())if(_0x5c8191['left']>=_0x3a4627&&_0x5c8191['left']<_0x3a4627+_0x24b945)return!0x0;return!0x1;}function C(_0x334960){return _0x334960['nodeType']==Node['ELEMENT_NODE'];}function D(_0x4679ee){return _0x4679ee['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x5373f6('px');var B=class extends _0x297e8b{constructor(){super();const _0x5d6c71=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x5d6c71['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x5d6c71['if']('isVisible','ck-hidden',_0x4ab255=>!_0x4ab255)],'style':{'left':_0x5d6c71['to']('left',_0x4f4860=>T(_0x4f4860)),'top':_0x5d6c71['to']('top',_0x29e50a=>T(_0x29e50a)),'width':_0x5d6c71['to']('width',_0x466529=>T(_0x466529))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x267e95){this['_viewCollection']=_0x267e95['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x54527f of this['_hiddenLines'])_0x54527f['destroy']();}['cleanLines'](){for(const _0x57b3cd of this['_visibleLines'])_0x57b3cd['isVisible']=!0x1,this['_hiddenLines']['add'](_0x57b3cd);this['_visibleLines']['clear']();}['showLine'](_0x164aae,_0x5ac66d,_0x46e8bb,_0x3ded2f){let _0x573029;this['_hiddenLines']['size']?(_0x573029=_0x476260(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x573029)):_0x573029=new B(),_0x573029['set']({'pageNumber':_0x3ded2f,'left':_0x164aae,'top':_0x5ac66d,'width':_0x46e8bb}),_0x573029['isVisible']=!0x0,this['_viewCollection']['has'](_0x573029)||this['_viewCollection']['add'](_0x573029),this['_visibleLines']['add'](_0x573029);}setViewCollection(_0x5f3dd7){for(const _0x3b0968 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3b0968)&&this['_viewCollection']['remove'](_0x3b0968);this['_viewCollection']=_0x5f3dd7;}};const V='ck-pagination_enabled';var M=class extends _0x465d44{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 G(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'](V),this['on']('change:isEnabled',(_0x416874,_0x16b17b,_0x1a8f85)=>{_0x1a8f85||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x1a8f85);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x51a99a){if(!this['isEnabled'])return;const _0x31f4ee=_0x51a99a>0x1?this['_getPageBreakLineOffset'](_0x51a99a-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x31f4ee-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x39a8d0['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x50b5da=this['editor'],_0x4c289a=this['_getAttachedDomRoot']();_0x4c289a?(this['_scrollableEditingRootDomAncestor']&&_0x50b5da['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x1e323a(_0x4c289a),_0x50b5da['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2c93df(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x50b5da['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x36ce9e=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x36ce9e['ui']['view']['listenTo'](_0xaf6589['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x36ce9e['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x2a72de of this['editor']['editing']['view']['domRoots']['values']())if(_0x2a72de['isConnected'])return _0x2a72de;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x54dd6a=this['_getAttachedDomRoot'](),_0x24bfc1=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x54dd6a||0x1==_0x24bfc1['length'])return void(this['pageNumber']=0x1);const _0x423c3d=new _0x470b3e(_0x54dd6a)['excludeScrollbarsAndBorders'](),_0xbbccdf=new _0x470b3e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1069fc=_0xbbccdf['top']+_0xbbccdf['height']/0x3;let _0x27ca85=!0x1;const _0x316949=[];for(let _0x54d6a7=0x1;_0x54d6a7<_0x24bfc1['length'];_0x54d6a7++){const _0x40de37=this['_getPageBreakLineOffset'](_0x54d6a7,_0xbbccdf);if(!_0x40de37)continue;const _0x1cb5e3=_0xbbccdf['top']+_0x40de37-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x316949['push']({'pageOffsetTop':_0x1cb5e3,'domRootRect':_0x423c3d,'domScrollableRect':_0xbbccdf,'pageNumber':_0x54d6a7}),_0x1cb5e3>_0x1069fc&&!_0x27ca85&&(this['pageNumber']=_0x54d6a7,_0x27ca85=!0x0);}this['_renderPageBreakLines'](_0x316949),_0x27ca85||(this['pageNumber']=_0x24bfc1['length']);}['_renderPageBreakLines'](_0x5bc364){if(!_0x5bc364['length'])return;const {scrollX:_0x344a77,scrollY:_0x4f013b}=_0xaf6589['window'],_0x51c67c=_0x47738c(this['linesRepository']['containerElement']);let _0x1c83fe,_0x27c0fa;if(_0x51c67c){const _0x1c0b2e=new _0x470b3e(_0x51c67c);_0x1c83fe=_0x1c0b2e['top']+_0x51c67c['clientTop']-_0x51c67c['scrollTop'],_0x27c0fa=_0x1c0b2e['left']+_0x51c67c['clientLeft']-_0x51c67c['scrollLeft'];}else _0x1c83fe=-_0x4f013b,_0x27c0fa=-_0x344a77;for(const {domScrollableRect:_0x46ec12,pageOffsetTop:_0x17869c,domRootRect:_0x1927d5,pageNumber:_0x2cdbfb}of _0x5bc364)_0x46ec12['top']<_0x17869c&&_0x17869c<_0x46ec12['bottom']&&this['linesRepository']['showLine'](_0x1927d5['left']-_0x27c0fa,_0x17869c-_0x1c83fe,_0x1927d5['width'],_0x2cdbfb+0x1);}_getPageBreakLineOffset(_0x4927a0,_0x55ec01=null){const _0x429129=this['_paginationLookupPlugin']['pageBreaks'][_0x4927a0]['offset'];return _0x429129?(_0x55ec01||(_0x55ec01=new _0x470b3e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x429129-_0x55ec01['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x48f4cc,_0x5141f9=!0x0){const _0xa4e951=this['editor']['editing']['view'];_0xa4e951['change'](_0x159550=>{for(const _0x45cabe of _0xa4e951['document']['roots'])_0x5141f9?_0x159550['addClass'](_0x48f4cc,_0x45cabe):_0x159550['removeClass'](_0x48f4cc,_0x45cabe);});}};function $(_0x170093,_0x65f87d,..._0x4a5d2a){const t=_0x170093['t'];switch(_0x65f87d){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)',..._0x4a5d2a);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 _0x65f87d;}}var j=class extends _0x465d44{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[v,M];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x45b5c5=this['editor']['plugins']['get']('Pagination'),_0x167e0e=this['editor']['plugins']['get'](v),_0x3ee7fa=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x45b5c5),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3ee7fa),this['listenTo'](_0x167e0e,'change:pageBreaks',(_0x27e33a,_0x4242de,_0x2a5784,_0x3fcae8)=>{this['totalPages']=_0x2a5784['length'],this['_updatePageBreakMarkers'](_0x2a5784,_0x3fcae8);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x43fe93=[this['editor']];for(const _0x2c5774 of _0x43fe93){let _0x159c6b;for(const _0x2d438d in _0x2c5774){const _0x5631c3=_0x2d438d,_0x124ac8=_0x2c5774[_0x5631c3];if('paginationLicenseKeyValid'==_0x124ac8||'paginationLicenseKeyInvalid'==_0x124ac8||'paginationLicenseKeyExpired'==_0x124ac8||'paginationLicenseKeyDomainLimit'==_0x124ac8||'paginationLicenseKeyNotAllowed'==_0x124ac8||'paginationLicenseKeyEvaluationLimit'==_0x124ac8||'paginationLicenseKeyUsageLimit'==_0x124ac8){delete _0x2c5774[_0x5631c3],_0x159c6b=_0x124ac8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x159c6b&&_0x2c5774['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x159c6b&&_0x2c5774['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x159c6b&&_0x2c5774['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x159c6b&&_0x2c5774['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x159c6b&&_0x2c5774['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x159c6b&&_0x2c5774['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x30d9d1){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x30d9d1));}moveSelectionToPage(_0x135971){if(!this['isEnabled'])return;const _0x3af4ac=this['editor'],_0xd07d7e=this['editor']['plugins']['get'](v)['pageBreaks'][_0x135971-0x1];_0xd07d7e&&_0x3af4ac['model']['change'](_0x4715e6=>{switch(_0xd07d7e['type']){case'manual':{const _0x46ba77=_0x3af4ac['model']['schema']['getNearestSelectionRange'](_0xd07d7e['modelRange']['end'],'forward');_0x4715e6['setSelection'](_0x46ba77);break;}case'element':{const _0x48cde4=_0x3af4ac['model']['schema']['getNearestSelectionRange'](_0xd07d7e['modelRange']['start'],'forward');_0x4715e6['setSelection'](_0x48cde4);break;}case'text':{const _0x3840c8=_0xd07d7e['modelRange']['start'];if(_0x3840c8['textNode']&&'\x20'===_0x3840c8['textNode']['data'][_0x3840c8['offset']]){const _0x41e9de=_0x4715e6['createPositionAt'](_0x3840c8['parent'],_0x3840c8['offset']+0x1);_0x4715e6['setSelection'](_0x41e9de);}else _0x4715e6['setSelection'](_0xd07d7e['modelRange']);}}_0x3af4ac['editing']['view']['focus']();});}goToNextPage(){const _0x48e8f1=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x48e8f1),this['scrollToPage'](_0x48e8f1);}['goToPreviousPage'](){const _0x1dc665=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x1dc665),this['scrollToPage'](_0x1dc665);}_updatePageBreakMarkers(_0x3e6c67,_0x501a8f){const _0x124b43=this['editor']['model'];this['isEnabled']&&_0x124b43['change'](_0x2e75a1=>{for(let _0x5ae46f=0x1;_0x5ae46f<_0x3e6c67['length'];_0x5ae46f++){const _0x3050ff=_0x3e6c67[_0x5ae46f]['modelRange'],_0x5b37e3='pagination:'+(_0x5ae46f+0x1);_0x124b43['markers']['has'](_0x5b37e3)?_0x2e75a1['updateMarker'](_0x5b37e3,{'range':_0x3050ff}):_0x2e75a1['addMarker'](_0x5b37e3,{'range':_0x3050ff,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5e22e4=_0x3e6c67['length'];_0x5e22e4<_0x501a8f['length'];_0x5e22e4++){const _0x3c3aea='pagination:'+(_0x5e22e4+0x1);_0x124b43['markers']['has'](_0x3c3aea)&&_0x2e75a1['removeMarker'](_0x3c3aea);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x438686=>{_0x438686['on']('addMarker:pagination',(_0xdc9e59,{markerRange:_0xd5abaf,markerName:_0x94c9e6},_0xac97b9)=>{if(!_0xac97b9['options']['pagination'])return;if(!_0xac97b9['consumable']['consume'](_0xd5abaf,_0xdc9e59['name']))return;const _0x4cba76=_0xd5abaf['getContainedElement']();let _0x14d4e5=_0x4cba76?_0xac97b9['mapper']['toViewElement'](_0x4cba76):null;if(!_0x14d4e5){const _0x4fead7=_0xd5abaf['start'];if(_0xac97b9['schema']['checkChild'](_0x4fead7,'$text')){const _0xe798f0=_0xac97b9['mapper']['toViewPosition'](_0x4fead7);_0x14d4e5=_0xac97b9['writer']['createContainerElement']('span'),_0x14d4e5['getFillerOffset']=()=>null,_0xac97b9['writer']['insert'](_0xe798f0,_0x14d4e5);}else{const _0x40e8fc=_0x4fead7['nodeAfter'];_0x14d4e5=_0xac97b9['mapper']['toViewElement'](_0x40e8fc);}}for(;_0x14d4e5['parent']!==_0x14d4e5['root']&&0x0===_0x14d4e5['index'];)_0x14d4e5=_0x14d4e5['parent'];const _0x5219b4=_0x94c9e6['substring'](0xb);_0x14d4e5['hasClass']('page-break')||(_0xac97b9['writer']['setStyle']('page-break-before','always',_0x14d4e5),_0xac97b9['writer']['setAttribute']('data-pagination-page',_0x5219b4,_0x14d4e5),_0xac97b9['mapper']['bindElementToMarker'](_0x14d4e5,_0x94c9e6)),_0xdc9e59['stop']();});});}_setupKeystrokes(){const _0xf8857b=this['editor'];_0xf8857b['keystrokes']['set']('Shift+Pageup',(_0x264b6e,_0x4b3cbb)=>{this['goToPreviousPage'](),_0x4b3cbb();}),_0xf8857b['keystrokes']['set']('Shift+Pagedown',(_0x4d90d6,_0x18cf3b)=>{this['goToNextPage'](),_0x18cf3b();}),_0xf8857b['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0xf8857b['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0xf8857b['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0xf8857b['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x18abf7){return _0x18abf7<0x1&&(_0x18abf7=0x1),_0x18abf7>this['totalPages']&&(_0x18abf7=this['totalPages']),_0x18abf7;}},q=class extends _0x297e8b{['pageNumberView'];constructor(_0xb852fe){super(_0xb852fe);const _0x180242=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x30c727(_0xb852fe,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x4859fe=>$(_0xb852fe,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x4859fe)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xf5ecba=>!_0xf5ecba),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x180242['if']('isEnabled','ck-disabled',_0x45d3c8=>!_0x45d3c8)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x180242['to']('totalPages')}]}]});}['render'](){super['render']();const _0xcb333a=this['pageNumberView']['element'],_0x5d4723=_0x1c095b=>{this['pageNumberView']['element']['value']=String(_0x1c095b);};_0x5d4723(this['pageNumber']),this['on']('change:pageNumber',(_0x2e9c02,_0x5862ac,_0x240d69)=>{_0x5d4723(_0x240d69);}),this['listenTo'](_0xcb333a,'keydown',(_0x4217cf,_0x51d92e)=>{if('ArrowUp'===_0x51d92e['key']||'ArrowDown'===_0x51d92e['key'])return void _0x51d92e['stopPropagation']();if(_0x51d92e['keyCode']!==_0x493113['enter'])return;_0x51d92e['preventDefault']();const _0x43ef8d=_0xcb333a['valueAsNumber'];Number['isNaN'](_0x43ef8d)?_0xcb333a['value']=String(this['pageNumber']):(_0xcb333a['checkValidity']()?this['pageNumber']=_0x43ef8d:_0x43ef8d>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xcb333a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xcb333a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xcb333a,'blur',()=>{_0xcb333a['value']=String(this['pageNumber']);}),this['listenTo'](_0xcb333a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x465d44{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x491137=this['editor'],_0x19bd37=_0x491137['plugins']['get']('PaginationEditing');_0x491137['ui']['componentFactory']['add']('pageNavigation',_0x2aaec9=>{const _0x2eaf86=new q(_0x2aaec9);return _0x2eaf86['bind']('pageNumber')['to'](_0x19bd37),_0x2eaf86['bind']('totalPages')['to'](_0x19bd37),_0x2eaf86['bind']('isEnabled')['to'](_0x19bd37),_0x2eaf86['on']('navigation',(_0x523098,_0x5e3b07)=>{_0x19bd37['moveSelectionToPage'](_0x5e3b07),_0x19bd37['scrollToPage'](_0x5e3b07);}),_0x2eaf86;}),_0x491137['ui']['componentFactory']['add']('nextPage',_0x19f4d0=>{const _0x476013=new _0x44d701(_0x19f4d0);return _0x476013['isEnabled']=!0x0,_0x476013['label']=$(_0x491137['locale'],'Go\x20to\x20next\x20page'),_0x476013['icon']=_0x13d5f0,_0x476013['tooltip']=!0x0,_0x476013['keystroke']='Shift+PageDown',_0x476013['bind']('isEnabled')['to'](_0x19bd37),this['listenTo'](_0x476013,'execute',()=>{_0x19bd37['goToNextPage']();}),_0x476013;}),_0x491137['ui']['componentFactory']['add']('previousPage',_0x3e0d99=>{const _0xf259c2=new _0x44d701(_0x3e0d99);return _0xf259c2['isEnabled']=!0x0,_0xf259c2['label']=$(_0x491137['locale'],'Go\x20to\x20previous\x20page'),_0xf259c2['icon']=_0x201772,_0xf259c2['tooltip']=!0x0,_0xf259c2['keystroke']='Shift+PageUp',_0xf259c2['bind']('isEnabled')['to'](_0x19bd37),this['listenTo'](_0xf259c2,'execute',()=>{_0x19bd37['goToPreviousPage']();}),_0xf259c2;});}},H=class extends _0x465d44{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x39b417){super(_0x39b417),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2816b2=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x2816b2),this['bind']('totalPages')['to'](_0x2816b2),_0x39a8d0['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x49d755){this['editor']['plugins']['get'](j)['scrollToPage'](_0x49d755);}};export{H as Pagination,M as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x1558a0}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x2d53ce,InputNumberView as _0x1687d4,View as _0x5f6445}from'@ckeditor/ckeditor5-ui';import{Rect as _0x4c22bd,ResizeObserver as _0x42aa79,env as _0x3048c9,findClosestScrollableAncestor as _0x12cc90,first as _0x256669,getParentElement as _0x5a7ca1,getParentNode as _0x35db90,getPositionedAncestor as _0x43d32e,global as _0x579a1a,keyCodes as _0x237375,logWarning as _0x446e00,toUnit as _0x4d0886,uid as _0x5d3d1f}from'@ckeditor/ckeditor5-utils';import{debounce as _0xd0d68d}from'es-toolkit/compat';import{IconArrowDown as _0x38c35e,IconArrowUp as _0x45ad66}from'@ckeditor/ckeditor5-icons';var v=class extends _0x1558a0{_recalculatePageBreaksDebounced=_0xd0d68d(()=>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 _0x446e00('pagination-config-not-found',this['editor']['config']);const _0x290eb2=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x290eb2),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x57d9b9,_0x5885db,_0xc347d1)=>{_0xc347d1&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x3333c0){const _0x404bcd='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x34ce31=0x797b8,_0x5ce2cb={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x32fbb2(_0x55820f){const _0x3410a1=new window['Promise'](_0x469068=>{_0x55820f['once']('ready',_0x469068);}),_0x44f090=window['Date']['now'](),_0x4d68f7=_0x55820f['config']['get']('licenseKey');async function _0x2c6cd6(){let _0x3b4f57,_0x8abc25=null,_0x1397a4=null;try{return'GPL'==_0x4d68f7?'NotAllowed':(_0x3b4f57=_0x417437(),_0x3b4f57?(_0x3b4f57['usageEndpoint']&&(_0x1397a4=_0x1450f5(_0x3b4f57['usageEndpoint'],_0x3b4f57['jti'])),await _0x40fe78()?_0x100d1a()?_0x5586f1()?'Expired':_0x1d8b39()?('evaluation'==_0x3b4f57['licenseType']&&(_0x8abc25=_0x24e0ca('EvaluationLimit')),await _0x59b72e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5586f1(){const _0x438b57=['evaluation','trial']['includes'](_0x3b4f57['licenseType'])?_0x44f090/0x3e8:0xe10*_0x34ce31;return _0x3b4f57['exp']<_0x438b57;}function _0x100d1a(){const _0x29d0dd=_0x3b4f57['features'];return!!_0x29d0dd&&(!!_0x29d0dd['includes']('*')||!!_0x29d0dd['includes']('PAG'));}function _0x1d8b39(){const _0x483fe0=_0x3b4f57['licensedHosts'];if(!_0x483fe0||0x0==_0x483fe0['length'])return!0x0;const {hostname:_0x3a5417}=new URL(window['location']['href']);if(_0x483fe0['includes'](_0x3a5417))return!0x0;const _0x332235=_0x3a5417['split']('.');return _0x483fe0['filter'](_0x31d6ec=>_0x31d6ec['includes']('*'))['map'](_0x2a8444=>_0x2a8444['split']('.'))['filter'](_0x5130bb=>_0x5130bb['length']<=_0x332235['length'])['map'](_0x426c22=>Array(_0x332235['length']-_0x426c22['length'])['fill']('*'===_0x426c22[0x0]?'*':'')['concat'](_0x426c22))['some'](_0x30d3c9=>_0x332235['every']((_0x1fabd3,_0x1a6dcf)=>_0x30d3c9[_0x1a6dcf]===_0x1fabd3||'*'===_0x30d3c9[_0x1a6dcf]));}function _0x59b72e(){return _0x8abc25&&_0x1397a4?new window['Promise']((_0x10620c,_0x3563a2)=>{_0x8abc25['then'](_0x10620c,_0x3563a2),_0x1397a4['then'](_0x283e47=>{'Valid'!=_0x283e47&&_0x10620c(_0x283e47);},_0x3563a2);}):_0x8abc25||_0x1397a4||'Valid';}}function _0x1450f5(_0x509769,_0x50b5e9){return new window['Promise'](_0x5a5e3b=>{if(_0x10afdc())return _0x5a5e3b('Valid');_0x395399(),_0x55820f['decorate']('_sendUsageRequest');let _0x1fc096=!0x1;const _0x6212b3=_0x5d3d1f();function _0x3ab8df(_0x4dc26d){return!!_0x4dc26d&&('object'==typeof _0x4dc26d||'function'==typeof _0x4dc26d)&&'function'==typeof _0x4dc26d['then']&&'function'==typeof _0x4dc26d['catch'];}function _0x1b151a(_0x424677){_0x538c78(_0x424677)['then'](_0x29f5cc=>_0x29f5cc&&'ok'==_0x29f5cc['status']?_0x41da36(_0x31a487(_0x6212b3+_0x50b5e9))!=_0x29f5cc['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2c29e5=>(_0x9b868f(),_0x2c29e5),()=>{const _0x1ec455=_0x3f0871();return null==_0x1ec455?(_0x9b868f(),'Valid'):_0x44f090-_0x1ec455>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5a5e3b)['catch'](()=>{_0x5a5e3b('UsageLimit');});const _0x2684be=0x36ee80;function _0x9b868f(){const _0x241b19='llct-'+_0x41da36(_0x31a487(_0x509769)),_0x581348=_0x51fe61(_0x41da36(window['Math']['ceil'](_0x44f090/_0x2684be)));window['localStorage']['setItem'](_0x241b19,_0x581348);}function _0x3f0871(){const _0x356647='llct-'+_0x41da36(_0x31a487(_0x509769)),_0x4611b5=window['localStorage']['getItem'](_0x356647);return _0x4611b5?window['parseInt'](_0x51fe61(_0x4611b5),0x10)*_0x2684be:null;}function _0x538c78(_0x13ddb1){return new window['Promise']((_0x35d622,_0x5734e4)=>{_0x13ddb1['then'](_0x35d622,_0x5734e4),window['setTimeout'](_0x5734e4,0x1d4c0);});}}_0x55820f['on']('_sendUsageRequest',(_0x29caa1,_0x15d002)=>{if(_0x15d002[0x0]!=_0x509769)return _0x5a5e3b('UsageLimit');_0x15d002[0x1]={..._0x15d002[0x1],'requestId':_0x6212b3};},{'priority':'high'}),_0x55820f['on']('_sendUsageRequest',_0x359ceb=>{_0x3ab8df(_0x359ceb['return'])&&(_0x1fc096=!0x0,_0x1b151a(_0x359ceb['return']));},{'priority':'low'}),_0x3410a1['then'](()=>{_0x1fc096||_0x5a5e3b('UsageLimit');});});function _0x10afdc(){return'auto'==_0x55820f['editing']['view']['_overlayModeHint'];}function _0x395399(){_0x55820f['editing']['view']['_overlayModeHint']='auto';}}function _0x24e0ca(_0x40771d){const _0x5d96c1=[new window['Promise'](_0x54a5d3=>setTimeout(_0x54a5d3,0x93ecc)),_0x3410a1['then'](()=>new window['Promise'](_0x2a9bd0=>{let _0x1c3243=0x0;_0x55820f['model']['on']('applyOperation',(_0x2e108e,_0x4c448f)=>{_0x4c448f[0x0]['isDocumentOperation']&&_0x1c3243++,0x5e8==_0x1c3243&&(_0x2a9bd0(),_0x2e108e['off']());});}))];return window['Promise']['race'](_0x5d96c1)['then'](()=>_0x40771d);}async function _0xdb5ab8(){await _0x3410a1,_0x55820f['model']['change']=_0x43fb24,_0x55820f['model']['enqueueChange']=_0x43fb24,_0x55820f['enableReadOnlyMode']('model');}function _0x1611ca(_0x57e654){const _0x3b0b68=_0x1eb67f();_0x55820f[_0x3b0b68]='paginationLicenseKey'+_0x57e654,'Valid'!=_0x57e654&&_0xdb5ab8();}function _0x1eb67f(){const _0x1d6f88=window['String'](window['performance']['now']())['replace']('.','');let _0x10b1f7='v';for(let _0xf22099=0x0;_0xf22099<_0x1d6f88['length'];_0xf22099+=0x2){let _0x1e1b41=window['parseInt'](_0x1d6f88['substring'](_0xf22099,_0xf22099+0x2));_0x1e1b41>=0x3e&&(_0x1e1b41-=0x3e),_0x10b1f7+=_0x404bcd[_0x1e1b41];}return _0x10b1f7;}function _0x417437(){const _0x5f2009=_0x4d68f7['split']('.');if(0x3!=_0x5f2009['length'])return null;return _0x124cc8(_0x5f2009[0x1]);function _0x124cc8(_0x1109c4){const _0x25785d=_0x8c7bf2(_0x1109c4);return _0x25785d&&_0x2faca0()?_0x25785d:null;function _0x2faca0(){const _0x4d82eb=_0x25785d['jti'],_0x4d507c=window['parseInt'](_0x4d82eb['substring'](_0x4d82eb['length']-0x8),0x10),_0x1be5ab={..._0x25785d,'jti':_0x4d82eb['substring'](0x0,_0x4d82eb['length']-0x8)};return delete _0x1be5ab['vc'],_0x31a487(_0x1be5ab)==_0x4d507c;}}}async function _0x40fe78(){let _0x3e8e40=!0x0;try{const [_0x16b3a3,_0x3dd6cb,_0x9d0e12]=_0x4d68f7['split']('.');return _0x7ec48e(_0x16b3a3),await _0x39d630(_0x16b3a3,_0x3dd6cb,_0x9d0e12),_0x3e8e40;}catch{return!0x1;}function _0x7ec48e(_0x9f9980){const _0x393ee2=_0x8c7bf2(_0x9f9980);_0x393ee2&&'ES256'==_0x393ee2['alg']||(_0x3e8e40=!0x1);}async function _0x39d630(_0x3d3bb0,_0x326b62,_0x1751c0){const _0x4a61db=window['Uint8Array']['from'](_0x16886f(_0x1751c0),_0x42bf02=>_0x42bf02['charCodeAt'](0x0)),_0x5deacd=new window['TextEncoder']()['encode'](_0x3d3bb0+'.'+_0x326b62),_0x251c71=window['crypto']['subtle'];if(!_0x251c71)return;const _0x5de3fe=await _0x251c71['importKey']('jwk',_0x5ce2cb,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x251c71['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5de3fe,_0x4a61db,_0x5deacd)||(_0x3e8e40=!0x1);}}function _0x8c7bf2(_0x24ba2f){return _0x24ba2f['startsWith']('ey')?JSON['parse'](_0x16886f(_0x24ba2f)):null;}function _0x16886f(_0x74ae45){return window['atob'](_0x74ae45['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x31a487(_0x5cc7d6){let _0xc7d1d6=0x1505;function _0x4ed6f4(_0x46350f){for(let _0x184de5=0x0;_0x184de5<_0x46350f['length'];_0x184de5++){const _0xa8e4cc=_0x46350f['charCodeAt'](_0x184de5);_0xc7d1d6=(_0xc7d1d6<<0x5)+_0xc7d1d6+_0xa8e4cc,_0xc7d1d6&=_0xc7d1d6;}}function _0x5473d9(_0x35f29a){Array['isArray'](_0x35f29a)?_0x35f29a['forEach'](_0x5473d9):_0x35f29a&&'object'==typeof _0x35f29a?Object['entries'](_0x35f29a)['sort']()['forEach'](([_0x5c0a0b,_0x3e4b1a])=>{_0x4ed6f4(_0x5c0a0b),_0x5473d9(_0x3e4b1a);}):_0x4ed6f4(window['String'](_0x35f29a));}return _0x5473d9(_0x5cc7d6),_0xc7d1d6>>>0x0;}function _0x41da36(_0xc421b7){return _0xc421b7['toString'](0x10)['padStart'](0x8,'0');}function _0x51fe61(_0x19b8fd){return _0x19b8fd['split']('')['reverse']()['join']('');}function _0x43fb24(){}_0x1611ca(await _0x2c6cd6());}_0x32fbb2(_0x3333c0['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x5d70ea=this['editor'],_0x53f47b=_0x5d70ea['editing']['view'],_0x428a8b=this['_getAttachedDomRoot']();if(!_0x428a8b||!_0x428a8b['hasChildNodes']())return void _0x5d70ea['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x380c06,pageHeight:_0x5aa8c2}=_0x5d70ea['config']['get']('pagination'),{top:_0x115d8d,left:_0x4d0d5b,bottom:_0x426bf6,right:_0x6d6c67}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5f6445(_0x5d70ea['locale']);const _0x17508b=this['_pagesContainer'];_0x17508b['set']('class',''),_0x17508b['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x380c06,'width':_0x380c06,'height':'calc(\x20'+_0x5aa8c2+'\x20-\x20'+_0x115d8d+'\x20-\x20'+_0x426bf6+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x6d6c67+'\x200\x20'+_0x4d0d5b,'columnGap':'calc('+_0x4d0d5b+'\x20+\x20'+_0x6d6c67+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x17508b['bindTemplate']['to']('class')}}),_0x17508b['render'](),_0x35db90(_0x428a8b)['insertBefore'](_0x17508b['element'],_0x428a8b['nextSibling']),this['listenTo'](_0x53f47b,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x1516e2 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1516e2['isConnected'])return _0x1516e2;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x5dc412=this['editor']['editing']['view'],_0x3de05e=this['_pagesContainer'],_0x38874b=this['_getAttachedDomRoot']();if(!_0x38874b||!_0x3de05e)return Promise['resolve']();for(_0x3de05e['class']=['ck-reset','ck-pagination-view',..._0x38874b['classList']]['join']('\x20');_0x3de05e['element']['firstChild'];)_0x3de05e['element']['firstChild']['remove']();const _0x357bc7=Array['from'](_0x5dc412['domRoots']);_0x357bc7['sort'](([,_0x3cab77],[,_0x588200])=>_0x3cab77['compareDocumentPosition'](_0x588200)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3a78a3,_0x317c2f]of _0x357bc7){const _0x1aecab=_0x317c2f['cloneNode'](!0x0);'attributeStyleMap'in _0x1aecab&&_0x1aecab['attributeStyleMap']['clear'](),_0x1aecab['dataset']['rootName']=_0x3a78a3,_0x1aecab['className']='ck-content\x20ck-pagination_enabled',_0x1aecab['removeAttribute']('id'),_0x1aecab['tabIndex']=-0x1,_0x3de05e['element']['append'](_0x1aecab);}const _0x1cf32f=Array['from'](_0x3de05e['element']['querySelectorAll']('img'));return function(_0x106f41){return Promise['all'](_0x106f41['map'](_0x4e1ad6=>Promise['race']([N(_0x4e1ad6),_(0x3e8)])));}(_0x1cf32f)['then'](()=>{for(const _0x22b975 of _0x1cf32f['filter'](_0x5d0dd3=>!_0x5d0dd3['closest']('table')))if(_0x22b975['offsetParent']){const _0x4efaf=_0x579a1a['window']['getComputedStyle'](_0x22b975),_0x4b99c1=_0x579a1a['document']['createElement']('span');for(const _0x330c0a of _0x4efaf)_0x4b99c1['style']['setProperty'](_0x330c0a,_0x4efaf[_0x330c0a]);_0x4b99c1['style']['backgroundImage']='url(\x20'+_0x22b975['src']+'\x20)',_0x4b99c1['style']['breakInside']='avoid','PICTURE'==_0x22b975['parentElement']?.['tagName']?_0x22b975['parentElement']['replaceWith'](_0x4b99c1):_0x22b975['replaceWith'](_0x4b99c1);}return new Promise(_0x44b59a=>_0x579a1a['window']['requestAnimationFrame'](()=>_0x44b59a()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x1a916a=this['_pagesContainer']['element'];if(!_0x1a916a['isConnected'])return;const _0xd0b905=new _0x4c22bd(_0x1a916a)['excludeScrollbarsAndBorders'](),_0x434872=Math['floor'](_0xd0b905['width']+0x64),_0x2e194d=I(_0x1a916a,Math['floor'](_0xd0b905['left']-_0x1a916a['scrollLeft']),_0x434872,_0xd0b905['height'])['map'](_0x13a07c=>this['_mapPageStarterInfoToPageBreakInfo'](_0x13a07c))['filter'](_0x3cc62f=>!0x1!==_0x3cc62f);_0x2e194d['every'](_0x1819e1=>!!_0x1819e1)&&(this['pageBreaks']=_0x2e194d);}_mapPageStarterInfoToPageBreakInfo(_0x13afa0){const _0x3743f2=this['editor']['editing']['view'],_0x4a5228=this['editor']['editing']['mapper'],_0x2f3003=_0x3743f2['domConverter'],_0x4c7002=_0x13afa0['path']['shift'](),_0x4ded6a=this['_pagesContainer']['element']['childNodes'][_0x4c7002]['dataset']['rootName'],_0x36c079=_0x3743f2['getDomRoot'](_0x4ded6a);if(!_0x36c079)return null;const _0xb7cb29=function(_0x1cf288,_0x46eb5d){let _0x2a7738=_0x1cf288;for(const _0x4350b1 of _0x46eb5d['path']){if(!_0x2a7738)return null;_0x2a7738=_0x2a7738['childNodes'][_0x4350b1];}return _0x2a7738;}(_0x36c079,_0x13afa0);if(!_0xb7cb29)return null;const _0x4b463b=_0x2f3003['domPositionToView'](_0xb7cb29,_0x13afa0['textOffset']||0x0);return _0x4b463b?'manual'==_0x13afa0['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4b463b,_0xb7cb29):'text'==_0x13afa0['type']&&_0x4a5228['toModelPosition'](_0x4b463b)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4b463b,_0xb7cb29,_0x13afa0['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4b463b,_0xb7cb29,_0x13afa0['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x2a5e41,_0x22fb77){const _0x171d34=this['editor']['model'],_0x39c73e=this['editor']['editing']['mapper']['toModelElement'](_0x2a5e41['parent']),_0x252150=_0x171d34['createRangeOn'](_0x39c73e);return new k({'type':'manual','modelRange':_0x252150,'domNode':_0x22fb77,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x29705d,_0x21bbc9,_0x2fece7){const _0x3a3811=this['editor']['model'],_0x2fe0f3=this['editor']['editing']['mapper'],_0x3819ef=this['editor']['editing']['view']['domConverter'];if(_0x2fece7>=_0x21bbc9['length'])return null;const _0x1cf3d4=_0x2fe0f3['toModelPosition'](_0x29705d),_0x5bfff4=_0x3a3811['createRange'](_0x1cf3d4),_0x4b3b85=_0x2fe0f3['findMappedViewAncestor'](_0x29705d),_0x393173=_0x3819ef['mapViewToDom'](_0x4b3b85);return new k({'type':'text','modelRange':_0x5bfff4,'domNode':_0x21bbc9,'offset':L(_0x21bbc9,_0x2fece7,_0x393173)});}_mapElementPageStarterInfoToPageBreakInfo(_0x29016d,_0x42b538,_0x132ae9){const _0x41d46f=this['editor']['model'],_0x36914e=this['editor']['editing'],_0x236755=_0x36914e['mapper'],_0x21e8fd=_0x36914e['view']['domConverter'],_0x7b0aae=_0x236755['findMappedViewAncestor'](_0x29016d),_0x3e7646=_0x236755['toModelElement'](_0x7b0aae);if(!_0x3e7646||_0x3e7646['is']('rootElement'))return!0x1;const _0x82e7b1=function(_0x3fd487){const _0x3b0eea=_0x3fd487['parent'],_0x2d4e7c=_0x3b0eea['root']['document']['model'],_0x2fe15a=_0x3b0eea['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x58ea2a=null;for(const _0x42d525 of _0x2fe15a){if(_0x42d525['is']('rootElement'))return _0x58ea2a;if(!_0x2d4e7c['createPositionBefore'](_0x42d525)['isTouching'](_0x3fd487))return _0x58ea2a;_0x58ea2a=_0x42d525;}}(_0x41d46f['createPositionBefore'](_0x3e7646))||_0x3e7646;let _0xb4846c=_0x236755['toViewElement'](_0x82e7b1),_0x165cb1=_0x41d46f['createRangeOn'](_0x82e7b1);const _0x53dbb7=_0x41d46f['createPositionBefore'](_0x82e7b1)['nodeBefore'];if(_0x53dbb7&&_0x53dbb7['is']('element','imageBlock')){const _0x55d9c6=_0x236755['toViewElement'](_0x53dbb7),_0x13dd78=_0x21e8fd['mapViewToDom'](_0x55d9c6),_0x4e5f1c=_0x579a1a['window']['getComputedStyle'](_0x13dd78)['float'];'left'!=_0x4e5f1c&&'right'!=_0x4e5f1c||(_0x165cb1=_0x41d46f['createRangeOn'](_0x53dbb7));}for(;_0xb4846c['parent']!==_0xb4846c['root']&&0x0===_0xb4846c['index'];)_0xb4846c=_0xb4846c['parent'];const _0x511ee0=new _0x4c22bd(C(_0x42b538)?_0x42b538:E(_0x42b538)),_0x33fa53=_0x132ae9?_0x511ee0['height']-_0x132ae9:0x0,_0x4d799b=_0x21e8fd['mapViewToDom'](_0xb4846c),_0x2db319=new _0x4c22bd(_0x4d799b);return new k({'type':'element','modelRange':_0x165cb1,'domNode':_0x4d799b,'offset':Math['round'](_0x33fa53)||_0x7b0aae!=x(_0x29016d)?_0x33fa53+_0x511ee0['top']-_0x2db319['top']:0x0});}get['_configuredPaddings'](){const _0x35636d=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x35636d);}static _findPageStarterInfos(_0x360b01,_0x2f2902,_0x36b494,_0x55601b,_0x32714b){return I(_0x360b01,_0x2f2902,_0x36b494,_0x55601b,_0x32714b);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x1a3cc2,modelRange:_0x3959f7,domNode:_0x5d09c5,offset:_0x6c8b7d}){this['type']=_0x1a3cc2,this['modelRange']=_0x3959f7,this['_domNode']=_0x5d09c5,this['_offset']=_0x6c8b7d;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x321029=new _0x4c22bd(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x321029['top']+_0x321029['height']/0x2:_0x321029['top']+this['_offset'];}};function L(_0xc8ffae,_0x4565f9,_0x31ccad){const _0xbc1a14=E(_0xc8ffae),_0x488c85=function(_0x1eb622){const _0x41b3af=_0x579a1a['document']['createRange']();return _0x41b3af['selectNodeContents'](_0x1eb622),_0x41b3af;}(_0x31ccad);let _0x5dce34;if(0x0==_0x4565f9){const _0x4fb78d=_0x35db90(_0xc8ffae);_0x5dce34=R(_0x488c85['startContainer'],_0x488c85['startOffset'],_0x4fb78d,Array['from'](_0x4fb78d['childNodes'])['indexOf'](_0xc8ffae));}else _0x5dce34=R(_0x488c85['startContainer'],_0x488c85['startOffset'],_0xc8ffae,_0x4565f9);const _0x159ace=R(_0xc8ffae,_0x4565f9,_0x488c85['endContainer'],_0x488c85['endOffset']),_0x3daf24=new _0x4c22bd(_0x5dce34)['bottom'];return(new _0x4c22bd(_0x159ace)['top']+_0x3daf24)/0x2-new _0x4c22bd(_0xbc1a14)['top'];}function x(_0x328d2c){let _0x2735a0=_0x328d2c['parent'];for(;_0x2735a0['is']('$text')||_0x2735a0['is']('attributeElement');)_0x2735a0=_0x2735a0['parent'];return _0x2735a0;}function N(_0x5346b8){return _0x5346b8['hasAttribute']('width')&&_0x5346b8['hasAttribute']('height')?Promise['resolve']():new Promise(_0x1f31ec=>{function _0x2ba64f(){_0x5346b8['removeEventListener']('load',_0x2ba64f),_0x5346b8['removeEventListener']('error',_0x2ba64f),_0x1f31ec();}_0x5346b8['complete']?_0x1f31ec():(_0x5346b8['addEventListener']('load',_0x2ba64f),_0x5346b8['addEventListener']('error',_0x2ba64f));});}function _(_0x267527){return new Promise(_0x2957d2=>setTimeout(_0x2957d2,_0x267527));}function E(_0x1e3a29){const _0x6f2bb7=_0x579a1a['document']['createRange']();return _0x6f2bb7['selectNode'](_0x1e3a29),_0x6f2bb7;}function S(_0x34de9f,_0x591ab9,_0x3590ea){const _0x4e42ee=_0x579a1a['document']['createRange']();return _0x4e42ee['setStart'](_0x34de9f,_0x591ab9),_0x4e42ee['setEnd'](_0x34de9f,_0x3590ea),_0x4e42ee;}function R(_0x8bc84a,_0xa95288,_0x1b0e07,_0x19869f){const _0x3baa9c=_0x579a1a['document']['createRange']();return _0x3baa9c['setStart'](_0x8bc84a,_0xa95288),_0x3baa9c['setEnd'](_0x1b0e07,_0x19869f),_0x3baa9c;}function I(_0x1446d8,_0x49fd2b,_0x33e4ac,_0x173760,_0x1e6f80){const _0x547589=[];for(const [_0x52c165,_0x5b9307]of _0x1446d8['childNodes']['entries']()){let _0x556a43=[];C(_0x5b9307)&&_0x5b9307['offsetParent']&&['static','relative']['includes'](_0x579a1a['window']['getComputedStyle'](_0x5b9307)['position'])?_0x556a43=K(_0x5b9307,_0x52c165,_0x49fd2b,_0x33e4ac,_0x173760,_0x1e6f80):D(_0x5b9307)&&(_0x556a43=A(_0x5b9307,_0x52c165,_0x49fd2b,_0x33e4ac,_0x1e6f80)),_0x556a43['length']&&(_0x547589['push'](..._0x556a43),_0x49fd2b+=_0x556a43['length']*_0x33e4ac,_0x1e6f80=!0x1);}return _0x547589;}function K(_0x375f40,_0x3c6620,_0x29fa51,_0x16c5a2,_0xd2096b,_0x2ff02d){const _0x101f64=[];var _0x499231;if((_0x499231=_0x375f40['previousSibling'])&&C(_0x499231)&&Boolean(_0x499231['classList']['contains']('page-break')||_0x499231['closest']('.page-break'))&&(_0x101f64['push']({'type':'manual','offset':0x0,'path':[_0x3c6620-0x1]}),_0x2ff02d=!0x0),'table-row'==_0x579a1a['window']['getComputedStyle'](_0x375f40)['display']){let _0x14170f=0x0,_0x3df2ae=!0x1;for(const _0xa0c948 of _0x375f40['getClientRects']())_0x14170f+=_0xa0c948['height'],_0xa0c948['left']>=_0x29fa51&&(_0x3df2ae=!0x0);if(_0x14170f<_0xd2096b&&_0x3df2ae)return _0x2ff02d||_0x101f64['push']({'type':'element','offset':0x0,'path':[_0x3c6620]}),_0x101f64;}const _0x164dfc=_0x375f40['closest']('figure.image');if(_0x164dfc&&function(_0xbb3dc0){let _0x142009=!0x1;const _0x2ce82e=_0x5a7ca1(_0xbb3dc0)['dataset']['rootName'],_0x2c03f6=_0xbb3dc0['nextElementSibling'],_0x1b45c6=_0xbb3dc0['previousElementSibling'],_0x248028=_0x2c03f6&&_0x579a1a['window']['getComputedStyle'](_0x2c03f6)['float'],_0xce03f9=_0x2c03f6&&'ck-fake-selection-container'===_0x2c03f6['className'];return!_0x2ce82e||_0x2c03f6||_0x1b45c6||(_0x142009=!0x0),_0x2ce82e&&!_0x1b45c6&&_0xce03f9&&(_0x142009=!0x0),_0x2ce82e&&!_0x1b45c6&&'none'!==_0x248028&&(_0x142009=!0x0),!_0x142009;}(_0x164dfc)){const _0x1f2db4=_0x579a1a['window']['getComputedStyle'](_0x164dfc)['float'];if('left'==_0x1f2db4||'right'==_0x1f2db4)return _0x101f64;}const _0xc47625=I(_0x375f40,_0x29fa51,_0x16c5a2,_0xd2096b,_0x2ff02d);if(_0xc47625['length']){for(const _0xf82fb2 of _0xc47625)_0x101f64['push']({'type':_0xf82fb2['type'],'offset':_0xf82fb2['offset'],'textOffset':_0xf82fb2['textOffset'],'path':[_0x3c6620,..._0xf82fb2['path']]}),_0x29fa51+=_0x16c5a2;return _0x101f64;}return _0x101f64['push'](...function(_0x18a276,_0x4f61dc,_0x1c58a7,_0x48b124,_0x5a0dcd){const _0x51de20=[];if('table-cell'==_0x579a1a['window']['getComputedStyle'](_0x18a276)['display'])return[];const _0x4029da=[];for(const _0x481666 of _0x18a276['getClientRects']())if(_0x481666['left']>=_0x1c58a7){for(const _0x10e365 of _0x4029da)_0x10e365['height']+=_0x481666['height'];_0x4029da['push']({'height':_0x481666['height']}),_0x1c58a7+=_0x48b124;}for(const _0x37df6c of _0x4029da)_0x5a0dcd||_0x51de20['push']({'type':'element','offset':_0x37df6c['height'],'textOffset':0x0,'path':[_0x4f61dc]}),_0x5a0dcd=!0x1;return _0x51de20;}(_0x375f40,_0x3c6620,_0x29fa51,_0x16c5a2,_0x2ff02d)),_0x101f64;}function A(_0x56a6e8,_0x377de4,_0x402107,_0x8b7c27,_0x3aa77c){const _0x3fbbee=E(_0x56a6e8),_0x3160d6=[];let _0x4928f5=0x0;for(const _0x3de83d of _0x3fbbee['getClientRects']())if(_0x3de83d['left']>=_0x402107){const _0x5792b8=O(_0x56a6e8,_0x4928f5,_0x402107,_0x8b7c27);_0x3aa77c||_0x3160d6['push']({'type':'text','path':[_0x377de4],'textOffset':_0x5792b8}),_0x4928f5=_0x5792b8,_0x402107+=_0x8b7c27,_0x3aa77c=!0x1;}return _0x3160d6;}function O(_0x3ce80f,_0x2329c0,_0x1815c6,_0x14b0cc){let _0x23f68f=_0x2329c0,_0x160577=_0x3ce80f['length'];for(;_0x160577-_0x23f68f>0x1;){const _0x1174a7=Math['ceil']((_0x23f68f+_0x160577)/0x2);U(S(_0x3ce80f,_0x23f68f,_0x1174a7),_0x1815c6,_0x14b0cc)?_0x160577=_0x1174a7:_0x23f68f=_0x1174a7;}return _0x23f68f;}function U(_0x30171d,_0x28b095,_0x4440d0){for(const _0x20f24c of _0x30171d['getClientRects']())if(_0x20f24c['left']>=_0x28b095&&_0x20f24c['left']<_0x28b095+_0x4440d0)return!0x0;return!0x1;}function C(_0x3aa51d){return _0x3aa51d['nodeType']==Node['ELEMENT_NODE'];}function D(_0x39f981){return _0x39f981['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4d0886('px');var B=class extends _0x5f6445{constructor(){super();const _0x39724d=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x39724d['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x39724d['if']('isVisible','ck-hidden',_0x4b5d20=>!_0x4b5d20)],'style':{'left':_0x39724d['to']('left',_0x3df2ea=>T(_0x3df2ea)),'top':_0x39724d['to']('top',_0x4ea923=>T(_0x4ea923)),'width':_0x39724d['to']('width',_0x901017=>T(_0x901017))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x8c6b){this['_viewCollection']=_0x8c6b['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x23f6ff of this['_hiddenLines'])_0x23f6ff['destroy']();}['cleanLines'](){for(const _0x5bee50 of this['_visibleLines'])_0x5bee50['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5bee50);this['_visibleLines']['clear']();}['showLine'](_0x1ef0bb,_0xdb978a,_0x542592,_0x543c50){let _0x49cf5a;this['_hiddenLines']['size']?(_0x49cf5a=_0x256669(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x49cf5a)):_0x49cf5a=new B(),_0x49cf5a['set']({'pageNumber':_0x543c50,'left':_0x1ef0bb,'top':_0xdb978a,'width':_0x542592}),_0x49cf5a['isVisible']=!0x0,this['_viewCollection']['has'](_0x49cf5a)||this['_viewCollection']['add'](_0x49cf5a),this['_visibleLines']['add'](_0x49cf5a);}setViewCollection(_0x52bceb){for(const _0x4fd26f of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x4fd26f)&&this['_viewCollection']['remove'](_0x4fd26f);this['_viewCollection']=_0x52bceb;}};const V='ck-pagination_enabled';var M=class extends _0x1558a0{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 G(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'](V),this['on']('change:isEnabled',(_0xe9be51,_0x2e0160,_0x386a4c)=>{_0x386a4c||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x386a4c);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x4a5b67){if(!this['isEnabled'])return;const _0xf2b2d9=_0x4a5b67>0x1?this['_getPageBreakLineOffset'](_0x4a5b67-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xf2b2d9-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3048c9['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x24b933=this['editor'],_0x22d7a8=this['_getAttachedDomRoot']();_0x22d7a8?(this['_scrollableEditingRootDomAncestor']&&_0x24b933['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x12cc90(_0x22d7a8),_0x24b933['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x42aa79(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x24b933['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x484342=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x484342['ui']['view']['listenTo'](_0x579a1a['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x484342['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x5300cd of this['editor']['editing']['view']['domRoots']['values']())if(_0x5300cd['isConnected'])return _0x5300cd;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x5d2083=this['_getAttachedDomRoot'](),_0x2b25fb=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5d2083||0x1==_0x2b25fb['length'])return void(this['pageNumber']=0x1);const _0x5cf9b0=new _0x4c22bd(_0x5d2083)['excludeScrollbarsAndBorders'](),_0xd69868=new _0x4c22bd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x52c551=_0xd69868['top']+_0xd69868['height']/0x3;let _0x1c8fc1=!0x1;const _0x470db9=[];for(let _0x1265c3=0x1;_0x1265c3<_0x2b25fb['length'];_0x1265c3++){const _0xaa1be8=this['_getPageBreakLineOffset'](_0x1265c3,_0xd69868);if(!_0xaa1be8)continue;const _0x180706=_0xd69868['top']+_0xaa1be8-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x470db9['push']({'pageOffsetTop':_0x180706,'domRootRect':_0x5cf9b0,'domScrollableRect':_0xd69868,'pageNumber':_0x1265c3}),_0x180706>_0x52c551&&!_0x1c8fc1&&(this['pageNumber']=_0x1265c3,_0x1c8fc1=!0x0);}this['_renderPageBreakLines'](_0x470db9),_0x1c8fc1||(this['pageNumber']=_0x2b25fb['length']);}['_renderPageBreakLines'](_0x369914){if(!_0x369914['length'])return;const {scrollX:_0x1ee8ce,scrollY:_0x2e2f8d}=_0x579a1a['window'],_0x40aaa1=_0x43d32e(this['linesRepository']['containerElement']);let _0x50dfbb,_0x54b8a0;if(_0x40aaa1){const _0x368209=new _0x4c22bd(_0x40aaa1);_0x50dfbb=_0x368209['top']+_0x40aaa1['clientTop']-_0x40aaa1['scrollTop'],_0x54b8a0=_0x368209['left']+_0x40aaa1['clientLeft']-_0x40aaa1['scrollLeft'];}else _0x50dfbb=-_0x2e2f8d,_0x54b8a0=-_0x1ee8ce;for(const {domScrollableRect:_0x22952c,pageOffsetTop:_0xaeaf40,domRootRect:_0x53d826,pageNumber:_0x49a480}of _0x369914)_0x22952c['top']<_0xaeaf40&&_0xaeaf40<_0x22952c['bottom']&&this['linesRepository']['showLine'](_0x53d826['left']-_0x54b8a0,_0xaeaf40-_0x50dfbb,_0x53d826['width'],_0x49a480+0x1);}_getPageBreakLineOffset(_0x3d1232,_0x53ccc9=null){const _0x3da860=this['_paginationLookupPlugin']['pageBreaks'][_0x3d1232]['offset'];return _0x3da860?(_0x53ccc9||(_0x53ccc9=new _0x4c22bd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3da860-_0x53ccc9['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x40f954,_0x3f2a9e=!0x0){const _0x2ef186=this['editor']['editing']['view'];_0x2ef186['change'](_0x36b99f=>{for(const _0x147c1c of _0x2ef186['document']['roots'])_0x3f2a9e?_0x36b99f['addClass'](_0x40f954,_0x147c1c):_0x36b99f['removeClass'](_0x40f954,_0x147c1c);});}};function $(_0x281eff,_0x2c135a,..._0x2e6213){const t=_0x281eff['t'];switch(_0x2c135a){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)',..._0x2e6213);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 _0x2c135a;}}var j=class extends _0x1558a0{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[v,M];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x54d8d8=this['editor']['plugins']['get']('Pagination'),_0x181d26=this['editor']['plugins']['get'](v),_0x52af47=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x54d8d8),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x52af47),this['listenTo'](_0x181d26,'change:pageBreaks',(_0x34beff,_0x5a1b77,_0x5d0191,_0x49103b)=>{this['totalPages']=_0x5d0191['length'],this['_updatePageBreakMarkers'](_0x5d0191,_0x49103b);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x159a4f=[this['editor']];for(const _0x5f0afc of _0x159a4f){let _0x19f47b;for(const _0x8c0d16 in _0x5f0afc){const _0x5f3cbf=_0x8c0d16,_0x103d10=_0x5f0afc[_0x5f3cbf];if('paginationLicenseKeyValid'==_0x103d10||'paginationLicenseKeyInvalid'==_0x103d10||'paginationLicenseKeyExpired'==_0x103d10||'paginationLicenseKeyDomainLimit'==_0x103d10||'paginationLicenseKeyNotAllowed'==_0x103d10||'paginationLicenseKeyEvaluationLimit'==_0x103d10||'paginationLicenseKeyUsageLimit'==_0x103d10){delete _0x5f0afc[_0x5f3cbf],_0x19f47b=_0x103d10,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x19f47b&&_0x5f0afc['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x19f47b&&_0x5f0afc['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x19f47b&&_0x5f0afc['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x19f47b&&_0x5f0afc['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x19f47b&&_0x5f0afc['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x19f47b&&_0x5f0afc['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3ce152){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x3ce152));}moveSelectionToPage(_0x1bdb42){if(!this['isEnabled'])return;const _0x3ba7c6=this['editor'],_0x3ce0c1=this['editor']['plugins']['get'](v)['pageBreaks'][_0x1bdb42-0x1];_0x3ce0c1&&_0x3ba7c6['model']['change'](_0x3e1e45=>{switch(_0x3ce0c1['type']){case'manual':{const _0xbec793=_0x3ba7c6['model']['schema']['getNearestSelectionRange'](_0x3ce0c1['modelRange']['end'],'forward');_0x3e1e45['setSelection'](_0xbec793);break;}case'element':{const _0x17d7c4=_0x3ba7c6['model']['schema']['getNearestSelectionRange'](_0x3ce0c1['modelRange']['start'],'forward');_0x3e1e45['setSelection'](_0x17d7c4);break;}case'text':{const _0x3c6340=_0x3ce0c1['modelRange']['start'];if(_0x3c6340['textNode']&&'\x20'===_0x3c6340['textNode']['data'][_0x3c6340['offset']]){const _0x2e525b=_0x3e1e45['createPositionAt'](_0x3c6340['parent'],_0x3c6340['offset']+0x1);_0x3e1e45['setSelection'](_0x2e525b);}else _0x3e1e45['setSelection'](_0x3ce0c1['modelRange']);}}_0x3ba7c6['editing']['view']['focus']();});}goToNextPage(){const _0x472131=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x472131),this['scrollToPage'](_0x472131);}['goToPreviousPage'](){const _0x293557=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x293557),this['scrollToPage'](_0x293557);}_updatePageBreakMarkers(_0x53f703,_0x2d92c5){const _0x3b317b=this['editor']['model'];this['isEnabled']&&_0x3b317b['change'](_0x3a5efb=>{for(let _0x378358=0x1;_0x378358<_0x53f703['length'];_0x378358++){const _0x4d526b=_0x53f703[_0x378358]['modelRange'],_0x4693c5='pagination:'+(_0x378358+0x1);_0x3b317b['markers']['has'](_0x4693c5)?_0x3a5efb['updateMarker'](_0x4693c5,{'range':_0x4d526b}):_0x3a5efb['addMarker'](_0x4693c5,{'range':_0x4d526b,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3f7d9d=_0x53f703['length'];_0x3f7d9d<_0x2d92c5['length'];_0x3f7d9d++){const _0x3ad269='pagination:'+(_0x3f7d9d+0x1);_0x3b317b['markers']['has'](_0x3ad269)&&_0x3a5efb['removeMarker'](_0x3ad269);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x97dfa7=>{_0x97dfa7['on']('addMarker:pagination',(_0x21b722,{markerRange:_0x318b82,markerName:_0x5939a2},_0x3c5bc8)=>{if(!_0x3c5bc8['options']['pagination'])return;if(!_0x3c5bc8['consumable']['consume'](_0x318b82,_0x21b722['name']))return;const _0x541ae4=_0x318b82['getContainedElement']();let _0x3ecfc6=_0x541ae4?_0x3c5bc8['mapper']['toViewElement'](_0x541ae4):null;if(!_0x3ecfc6){const _0x5e19bd=_0x318b82['start'];if(_0x3c5bc8['schema']['checkChild'](_0x5e19bd,'$text')){const _0x5aefaf=_0x3c5bc8['mapper']['toViewPosition'](_0x5e19bd);_0x3ecfc6=_0x3c5bc8['writer']['createContainerElement']('span'),_0x3ecfc6['getFillerOffset']=()=>null,_0x3c5bc8['writer']['insert'](_0x5aefaf,_0x3ecfc6);}else{const _0x18a57c=_0x5e19bd['nodeAfter'];_0x3ecfc6=_0x3c5bc8['mapper']['toViewElement'](_0x18a57c);}}for(;_0x3ecfc6['parent']!==_0x3ecfc6['root']&&0x0===_0x3ecfc6['index'];)_0x3ecfc6=_0x3ecfc6['parent'];const _0x825719=_0x5939a2['substring'](0xb);_0x3ecfc6['hasClass']('page-break')||(_0x3c5bc8['writer']['setStyle']('page-break-before','always',_0x3ecfc6),_0x3c5bc8['writer']['setAttribute']('data-pagination-page',_0x825719,_0x3ecfc6),_0x3c5bc8['mapper']['bindElementToMarker'](_0x3ecfc6,_0x5939a2)),_0x21b722['stop']();});});}_setupKeystrokes(){const _0x44c07d=this['editor'];_0x44c07d['keystrokes']['set']('Shift+Pageup',(_0x3e9e5a,_0x59106f)=>{this['goToPreviousPage'](),_0x59106f();}),_0x44c07d['keystrokes']['set']('Shift+Pagedown',(_0x542257,_0x4bb5de)=>{this['goToNextPage'](),_0x4bb5de();}),_0x44c07d['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x44c07d['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x44c07d['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x44c07d['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x1847c3){return _0x1847c3<0x1&&(_0x1847c3=0x1),_0x1847c3>this['totalPages']&&(_0x1847c3=this['totalPages']),_0x1847c3;}},q=class extends _0x5f6445{['pageNumberView'];constructor(_0xb8a6e2){super(_0xb8a6e2);const _0x4f47b4=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1687d4(_0xb8a6e2,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2adb1d=>$(_0xb8a6e2,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2adb1d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x43c733=>!_0x43c733),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x4f47b4['if']('isEnabled','ck-disabled',_0x32e721=>!_0x32e721)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x4f47b4['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2308a7=this['pageNumberView']['element'],_0x3f9038=_0x267f27=>{this['pageNumberView']['element']['value']=String(_0x267f27);};_0x3f9038(this['pageNumber']),this['on']('change:pageNumber',(_0x162f21,_0x169ed6,_0x494be8)=>{_0x3f9038(_0x494be8);}),this['listenTo'](_0x2308a7,'keydown',(_0x53d2d1,_0x37c834)=>{if('ArrowUp'===_0x37c834['key']||'ArrowDown'===_0x37c834['key'])return void _0x37c834['stopPropagation']();if(_0x37c834['keyCode']!==_0x237375['enter'])return;_0x37c834['preventDefault']();const _0x49be0c=_0x2308a7['valueAsNumber'];Number['isNaN'](_0x49be0c)?_0x2308a7['value']=String(this['pageNumber']):(_0x2308a7['checkValidity']()?this['pageNumber']=_0x49be0c:_0x49be0c>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2308a7['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2308a7['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2308a7,'blur',()=>{_0x2308a7['value']=String(this['pageNumber']);}),this['listenTo'](_0x2308a7,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x1558a0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0xd88861=this['editor'],_0x11da49=_0xd88861['plugins']['get']('PaginationEditing');_0xd88861['ui']['componentFactory']['add']('pageNavigation',_0x457c0d=>{const _0x476781=new q(_0x457c0d);return _0x476781['bind']('pageNumber')['to'](_0x11da49),_0x476781['bind']('totalPages')['to'](_0x11da49),_0x476781['bind']('isEnabled')['to'](_0x11da49),_0x476781['on']('navigation',(_0x35ffca,_0x33f192)=>{_0x11da49['moveSelectionToPage'](_0x33f192),_0x11da49['scrollToPage'](_0x33f192);}),_0x476781;}),_0xd88861['ui']['componentFactory']['add']('nextPage',_0x437b9f=>{const _0x491a21=new _0x2d53ce(_0x437b9f);return _0x491a21['isEnabled']=!0x0,_0x491a21['label']=$(_0xd88861['locale'],'Go\x20to\x20next\x20page'),_0x491a21['icon']=_0x38c35e,_0x491a21['tooltip']=!0x0,_0x491a21['keystroke']='Shift+PageDown',_0x491a21['bind']('isEnabled')['to'](_0x11da49),this['listenTo'](_0x491a21,'execute',()=>{_0x11da49['goToNextPage']();}),_0x491a21;}),_0xd88861['ui']['componentFactory']['add']('previousPage',_0xd390b1=>{const _0x3e8cf1=new _0x2d53ce(_0xd390b1);return _0x3e8cf1['isEnabled']=!0x0,_0x3e8cf1['label']=$(_0xd88861['locale'],'Go\x20to\x20previous\x20page'),_0x3e8cf1['icon']=_0x45ad66,_0x3e8cf1['tooltip']=!0x0,_0x3e8cf1['keystroke']='Shift+PageUp',_0x3e8cf1['bind']('isEnabled')['to'](_0x11da49),this['listenTo'](_0x3e8cf1,'execute',()=>{_0x11da49['goToPreviousPage']();}),_0x3e8cf1;});}},H=class extends _0x1558a0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x5d9cef){super(_0x5d9cef),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x18637a=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x18637a),this['bind']('totalPages')['to'](_0x18637a),_0x3048c9['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x460599){this['editor']['plugins']['get'](j)['scrollToPage'](_0x460599);}};export{H as Pagination,M as PaginationRenderer};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a5e31=>{const {af:_0xcabac}={'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)':''}}};_0x4a5e31['af']||={'dictionary':{},'getPluralForm':null},_0x4a5e31['af']['dictionary']=Object['assign'](_0x4a5e31['af']['dictionary'],_0xcabac['dictionary']),_0xcabac['getPluralForm']&&(_0x4a5e31['af']['getPluralForm']=_0xcabac['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29d856=>{const {ar:_0x59e551}={'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إلى\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أيضاً)'}}};_0x29d856['ar']||={'dictionary':{},'getPluralForm':null},_0x29d856['ar']['dictionary']=Object['assign'](_0x29d856['ar']['dictionary'],_0x59e551['dictionary']),_0x59e551['getPluralForm']&&(_0x29d856['ar']['getPluralForm']=_0x59e551['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3403fa=>{const {ast:_0x14d8ec}={'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)':''}}};_0x3403fa['ast']||={'dictionary':{},'getPluralForm':null},_0x3403fa['ast']['dictionary']=Object['assign'](_0x3403fa['ast']['dictionary'],_0x14d8ec['dictionary']),_0x14d8ec['getPluralForm']&&(_0x3403fa['ast']['getPluralForm']=_0x14d8ec['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2174af=>{const {az:_0x28e54b}={'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)':''}}};_0x2174af['az']||={'dictionary':{},'getPluralForm':null},_0x2174af['az']['dictionary']=Object['assign'](_0x2174af['az']['dictionary'],_0x28e54b['dictionary']),_0x28e54b['getPluralForm']&&(_0x2174af['az']['getPluralForm']=_0x28e54b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x183543=>{const {be:_0x262052}={'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)':''}}};_0x183543['be']||={'dictionary':{},'getPluralForm':null},_0x183543['be']['dictionary']=Object['assign'](_0x183543['be']['dictionary'],_0x262052['dictionary']),_0x262052['getPluralForm']&&(_0x183543['be']['getPluralForm']=_0x262052['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x488741=>{const {bg:_0x58d807}={'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селекцията)'}}};_0x488741['bg']||={'dictionary':{},'getPluralForm':null},_0x488741['bg']['dictionary']=Object['assign'](_0x488741['bg']['dictionary'],_0x58d807['dictionary']),_0x58d807['getPluralForm']&&(_0x488741['bg']['getPluralForm']=_0x58d807['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b98d4=>{const {bn:_0x32b27d}={'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নিন)'}}};_0x1b98d4['bn']||={'dictionary':{},'getPluralForm':null},_0x1b98d4['bn']['dictionary']=Object['assign'](_0x1b98d4['bn']['dictionary'],_0x32b27d['dictionary']),_0x32b27d['getPluralForm']&&(_0x1b98d4['bn']['getPluralForm']=_0x32b27d['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5187b5=>{const {bs:_0x5729dd}={'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)':''}}};_0x5187b5['bs']||={'dictionary':{},'getPluralForm':null},_0x5187b5['bs']['dictionary']=Object['assign'](_0x5187b5['bs']['dictionary'],_0x5729dd['dictionary']),_0x5729dd['getPluralForm']&&(_0x5187b5['bs']['getPluralForm']=_0x5729dd['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x542da1=>{const {ca:_0x21f73c}={'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ó)'}}};_0x542da1['ca']||={'dictionary':{},'getPluralForm':null},_0x542da1['ca']['dictionary']=Object['assign'](_0x542da1['ca']['dictionary'],_0x21f73c['dictionary']),_0x21f73c['getPluralForm']&&(_0x542da1['ca']['getPluralForm']=_0x21f73c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xda8ee6=>{const {cs:_0x5e8d0c}={'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)'}}};_0xda8ee6['cs']||={'dictionary':{},'getPluralForm':null},_0xda8ee6['cs']['dictionary']=Object['assign'](_0xda8ee6['cs']['dictionary'],_0x5e8d0c['dictionary']),_0x5e8d0c['getPluralForm']&&(_0xda8ee6['cs']['getPluralForm']=_0x5e8d0c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1314a4=>{const {da:_0x2e1fc1}={'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)'}}};_0x1314a4['da']||={'dictionary':{},'getPluralForm':null},_0x1314a4['da']['dictionary']=Object['assign'](_0x1314a4['da']['dictionary'],_0x2e1fc1['dictionary']),_0x2e1fc1['getPluralForm']&&(_0x1314a4['da']['getPluralForm']=_0x2e1fc1['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x466d0b=>{const {'de-ch':_0x49b6b4}={'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)':''}}};_0x466d0b['de-ch']||={'dictionary':{},'getPluralForm':null},_0x466d0b['de-ch']['dictionary']=Object['assign'](_0x466d0b['de-ch']['dictionary'],_0x49b6b4['dictionary']),_0x49b6b4['getPluralForm']&&(_0x466d0b['de-ch']['getPluralForm']=_0x49b6b4['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa76049=>{const {de:_0xd2b2f4}={'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)'}}};_0xa76049['de']||={'dictionary':{},'getPluralForm':null},_0xa76049['de']['dictionary']=Object['assign'](_0xa76049['de']['dictionary'],_0xd2b2f4['dictionary']),_0xd2b2f4['getPluralForm']&&(_0xa76049['de']['getPluralForm']=_0xd2b2f4['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x431267=>{const {el:_0x3f9b8b}={'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μετακίνησης)'}}};_0x431267['el']||={'dictionary':{},'getPluralForm':null},_0x431267['el']['dictionary']=Object['assign'](_0x431267['el']['dictionary'],_0x3f9b8b['dictionary']),_0x3f9b8b['getPluralForm']&&(_0x431267['el']['getPluralForm']=_0x3f9b8b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c0fd7=>{const {'en-au':_0x37a2d3}={'en-au':{'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)':''}}};_0x5c0fd7['en-au']||={'dictionary':{},'getPluralForm':null},_0x5c0fd7['en-au']['dictionary']=Object['assign'](_0x5c0fd7['en-au']['dictionary'],_0x37a2d3['dictionary']),_0x37a2d3['getPluralForm']&&(_0x5c0fd7['en-au']['getPluralForm']=_0x37a2d3['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xad42d5=>{const {'en-gb':_0x139948}={'en-gb':{'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)':''}}};_0xad42d5['en-gb']||={'dictionary':{},'getPluralForm':null},_0xad42d5['en-gb']['dictionary']=Object['assign'](_0xad42d5['en-gb']['dictionary'],_0x139948['dictionary']),_0x139948['getPluralForm']&&(_0xad42d5['en-gb']['getPluralForm']=_0x139948['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x737d45=>{const {en:_0x318f38}={'en':{'dictionary':{'Go\x20to\x20next\x20page':'Go\x20to\x20next\x20page','Go\x20to\x20previous\x20page':'Go\x20to\x20previous\x20page','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Current\x20page\x20number\x20(from\x201\x20to\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Keystrokes\x20for\x20navigating\x20through\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'}}};_0x737d45['en']||={'dictionary':{},'getPluralForm':null},_0x737d45['en']['dictionary']=Object['assign'](_0x737d45['en']['dictionary'],_0x318f38['dictionary']),_0x318f38['getPluralForm']&&(_0x737d45['en']['getPluralForm']=_0x318f38['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48d648=>{const {eo:_0x420796}={'eo':{'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)':''}}};_0x48d648['eo']||={'dictionary':{},'getPluralForm':null},_0x48d648['eo']['dictionary']=Object['assign'](_0x48d648['eo']['dictionary'],_0x420796['dictionary']),_0x420796['getPluralForm']&&(_0x48d648['eo']['getPluralForm']=_0x420796['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e5c3f=>{const {'es-co':_0x349477}={'es-co':{'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)':''}}};_0x2e5c3f['es-co']||={'dictionary':{},'getPluralForm':null},_0x2e5c3f['es-co']['dictionary']=Object['assign'](_0x2e5c3f['es-co']['dictionary'],_0x349477['dictionary']),_0x349477['getPluralForm']&&(_0x2e5c3f['es-co']['getPluralForm']=_0x349477['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50eee9=>{const {es:_0x28f708}={'es':{'dictionary':{'Go\x20to\x20next\x20page':'Ir\x20a\x20la\x20página\x20siguiente','Go\x20to\x20previous\x20page':'Ir\x20a\x20la\x20pagina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Número\x20de\x20página\x20actual\x20(de\x201\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Pulsaciones\x20de\x20teclas\x20para\x20navegar\x20por\x20los\x20documentos','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ir\x20a\x20la\x20página\x20anterior\x20(también\x20mover\x20selección)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ir\x20a\x20la\x20página\x20siguiente\x20(también\x20mover\x20selección)'}}};_0x50eee9['es']||={'dictionary':{},'getPluralForm':null},_0x50eee9['es']['dictionary']=Object['assign'](_0x50eee9['es']['dictionary'],_0x28f708['dictionary']),_0x28f708['getPluralForm']&&(_0x50eee9['es']['getPluralForm']=_0x28f708['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x45b7a4=>{const {et:_0x2d4f78}={'et':{'dictionary':{'Go\x20to\x20next\x20page':'Mine\x20järgmisele\x20lehele','Go\x20to\x20previous\x20page':'Mine\x20eelmisele\x20lehele','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Praeguse\x20lehe\x20number\x20(alates\x201\x20kuni\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Kiirklahvid\x20dokumendis\x20liikumiseks','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Mine\x20eelmisele\x20lehele\x20(lisaks\x20vaheta\x20valikut)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Mine\x20järgmisele\x20lehele\x20(lisaks\x20vaheta\x20valikut)'}}};_0x45b7a4['et']||={'dictionary':{},'getPluralForm':null},_0x45b7a4['et']['dictionary']=Object['assign'](_0x45b7a4['et']['dictionary'],_0x2d4f78['dictionary']),_0x2d4f78['getPluralForm']&&(_0x45b7a4['et']['getPluralForm']=_0x2d4f78['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57b0a1=>{const {eu:_0x3b59e6}={'eu':{'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)':''}}};_0x57b0a1['eu']||={'dictionary':{},'getPluralForm':null},_0x57b0a1['eu']['dictionary']=Object['assign'](_0x57b0a1['eu']['dictionary'],_0x3b59e6['dictionary']),_0x3b59e6['getPluralForm']&&(_0x57b0a1['eu']['getPluralForm']=_0x3b59e6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a1ccc=>{const {fa:_0x54b5b8}={'fa':{'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)':''}}};_0x4a1ccc['fa']||={'dictionary':{},'getPluralForm':null},_0x4a1ccc['fa']['dictionary']=Object['assign'](_0x4a1ccc['fa']['dictionary'],_0x54b5b8['dictionary']),_0x54b5b8['getPluralForm']&&(_0x4a1ccc['fa']['getPluralForm']=_0x54b5b8['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c8950=>{const {fi:_0x3e9420}={'fi':{'dictionary':{'Go\x20to\x20next\x20page':'Siirry\x20seuraavalle\x20sivulle','Go\x20to\x20previous\x20page':'Siirry\x20edelliselle\x20sivulle','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Tämänhetkinen\x20sivunumero\x20(välillä\x201-%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Näppäimet\x20asiakirjasta\x20toiseen\x20siirtymiseen','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Siirry\x20edelliselle\x20sivulle\x20(siirtää\x20myös\x20valinnan)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Siirry\x20seuraavalle\x20sivulle\x20(siirtää\x20myös\x20valinnan)'}}};_0x5c8950['fi']||={'dictionary':{},'getPluralForm':null},_0x5c8950['fi']['dictionary']=Object['assign'](_0x5c8950['fi']['dictionary'],_0x3e9420['dictionary']),_0x3e9420['getPluralForm']&&(_0x5c8950['fi']['getPluralForm']=_0x3e9420['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3453b0=>{const {fr:_0x45133b}={'fr':{'dictionary':{'Go\x20to\x20next\x20page':'Aller\x20à\x20la\x20page\x20suivante','Go\x20to\x20previous\x20page':'Aller\x20à\x20la\x20page\x20précédente','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Numéro\x20de\x20la\x20page\x20actuelle\x20(de\x201\x20à\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Frappes\x20permettant\x20de\x20naviguer\x20à\x20travers\x20les\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Aller\x20à\x20la\x20page\x20précédente\x20(également\x20déplacer\x20la\x20sélection)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Aller\x20à\x20la\x20page\x20suivante\x20(déplacer\x20également\x20la\x20sélection)'}}};_0x3453b0['fr']||={'dictionary':{},'getPluralForm':null},_0x3453b0['fr']['dictionary']=Object['assign'](_0x3453b0['fr']['dictionary'],_0x45133b['dictionary']),_0x45133b['getPluralForm']&&(_0x3453b0['fr']['getPluralForm']=_0x45133b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x782d23=>{const {gl:_0x15ac73}={'gl':{'dictionary':{'Go\x20to\x20next\x20page':'Ir\x20á\x20páxina\x20seguinte','Go\x20to\x20previous\x20page':'Ir\x20á\x20páxina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Número\x20de\x20páxina\x20actual\x20(do\x201\x20ao\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Teclas\x20de\x20atallo\x20para\x20navegar\x20polos\x20documentos','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ir\x20á\x20páxina\x20anterior\x20(tamén\x20mover\x20a\x20selección)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ir\x20á\x20páxina\x20seguinte\x20(tamén\x20mover\x20a\x20selección)'}}};_0x782d23['gl']||={'dictionary':{},'getPluralForm':null},_0x782d23['gl']['dictionary']=Object['assign'](_0x782d23['gl']['dictionary'],_0x15ac73['dictionary']),_0x15ac73['getPluralForm']&&(_0x782d23['gl']['getPluralForm']=_0x15ac73['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|