@ckeditor/ckeditor5-pagination 48.5.0-alpha.0 → 48.5.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/translations/af.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 _0x12800a}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x4d2f75,InputNumberView as _0x2c2c90,View as _0x40f2cd}from'@ckeditor/ckeditor5-ui';import{Rect as _0x3aeedf,ResizeObserver as _0x41bab3,env as _0x67b07e,first as _0x1d534a,global as _0x3fa754,keyCodes as _0xc00f91,logWarning as _0x105da5,toUnit as _0x237cbc,uid as _0x288744}from'@ckeditor/ckeditor5-utils';import{debounce as _0x5d35eb}from'es-toolkit/compat';import{IconArrowDown as _0xd4a5ab,IconArrowUp as _0x1891b3}from'@ckeditor/ckeditor5-icons';var w=class extends _0x12800a{_recalculatePageBreaksDebounced=_0x5d35eb(()=>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 _0x105da5('pagination-config-not-found',this['editor']['config']);const _0x30d1c7=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x30d1c7),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0xb2d05f,_0x38e8f2,_0x5bac57)=>{_0x5bac57&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x9c6358){const _0x58edfd='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x10186b=0x793c8,_0x3a159b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x39434b(_0x151cb9){const _0x168498=new window['Promise'](_0x3cfaba=>{_0x151cb9['once']('ready',_0x3cfaba);}),_0xcd84a8=window['Date']['now'](),_0x4045ba=_0x151cb9['config']['get']('licenseKey');async function _0x30a27a(){let _0x4779e2,_0x57a0c8=null,_0x1198f1=null;try{return'GPL'==_0x4045ba?'NotAllowed':(_0x4779e2=_0x3c0063(),_0x4779e2?(_0x4779e2['usageEndpoint']&&(_0x1198f1=_0x80da35(_0x4779e2['usageEndpoint'],_0x4779e2['jti'])),await _0x85273b()?_0x2ae006()?_0x52aa46()?'Expired':_0x4796cf()?('evaluation'==_0x4779e2['licenseType']&&(_0x57a0c8=_0x3015ef('EvaluationLimit')),await _0x57ddcc()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x52aa46(){const _0x25128b=['evaluation','trial']['includes'](_0x4779e2['licenseType'])?_0xcd84a8/0x3e8:0xe10*_0x10186b;return _0x4779e2['exp']<_0x25128b;}function _0x2ae006(){const _0x19b384=_0x4779e2['features'];return!!_0x19b384&&(!!_0x19b384['includes']('*')||!!_0x19b384['includes']('PAG'));}function _0x4796cf(){const _0x5706d2=_0x4779e2['licensedHosts'];if(!_0x5706d2||0x0==_0x5706d2['length'])return!0x0;const {hostname:_0x4aa5b7}=new URL(window['location']['href']);if(_0x5706d2['includes'](_0x4aa5b7))return!0x0;const _0x4e947b=_0x4aa5b7['split']('.');return _0x5706d2['filter'](_0x1d15ce=>_0x1d15ce['includes']('*'))['map'](_0x56227c=>_0x56227c['split']('.'))['filter'](_0x214dd0=>_0x214dd0['length']<=_0x4e947b['length'])['map'](_0x3ca46e=>Array(_0x4e947b['length']-_0x3ca46e['length'])['fill']('*'===_0x3ca46e[0x0]?'*':'')['concat'](_0x3ca46e))['some'](_0x3ca41d=>_0x4e947b['every']((_0x288ae1,_0x132188)=>_0x3ca41d[_0x132188]===_0x288ae1||'*'===_0x3ca41d[_0x132188]));}function _0x57ddcc(){return _0x57a0c8&&_0x1198f1?new window['Promise']((_0x5365b8,_0x2575be)=>{_0x57a0c8['then'](_0x5365b8,_0x2575be),_0x1198f1['then'](_0x24d979=>{'Valid'!=_0x24d979&&_0x5365b8(_0x24d979);},_0x2575be);}):_0x57a0c8||_0x1198f1||'Valid';}}function _0x80da35(_0x443cdb,_0xe40717){return new window['Promise'](_0x7739b=>{if(_0x3398cc())return _0x7739b('Valid');_0xbd89c0(),_0x151cb9['decorate']('_sendUsageRequest');let _0x5bb05d=!0x1;const _0x31e10a=_0x288744();function _0x3aedec(_0x2deb0e){return!!_0x2deb0e&&('object'==typeof _0x2deb0e||'function'==typeof _0x2deb0e)&&'function'==typeof _0x2deb0e['then']&&'function'==typeof _0x2deb0e['catch'];}function _0x112081(_0x32d51c){_0x1db828(_0x32d51c)['then'](_0x380f11=>_0x380f11&&'ok'==_0x380f11['status']?_0x206627(_0x16438b(_0x31e10a+_0xe40717))!=_0x380f11['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x492c12=>(_0x506a24(),_0x492c12),()=>{const _0x3791fd=_0x4ab5f6();return null==_0x3791fd?(_0x506a24(),'Valid'):_0xcd84a8-_0x3791fd>0x240c8400?'UsageLimit':'Valid';})['then'](_0x7739b)['catch'](()=>{_0x7739b('UsageLimit');});const _0x3c748f=0x36ee80;function _0x506a24(){const _0x190cec='llct-'+_0x206627(_0x16438b(_0x443cdb)),_0x1b3a30=_0x7a5ca7(_0x206627(window['Math']['ceil'](_0xcd84a8/_0x3c748f)));window['localStorage']['setItem'](_0x190cec,_0x1b3a30);}function _0x4ab5f6(){const _0x191d2f='llct-'+_0x206627(_0x16438b(_0x443cdb)),_0xa8d150=window['localStorage']['getItem'](_0x191d2f);return _0xa8d150?window['parseInt'](_0x7a5ca7(_0xa8d150),0x10)*_0x3c748f:null;}function _0x1db828(_0xf0d5e6){return new window['Promise']((_0x496aff,_0xcccfff)=>{_0xf0d5e6['then'](_0x496aff,_0xcccfff),window['setTimeout'](_0xcccfff,0x1d4c0);});}}_0x151cb9['on']('_sendUsageRequest',(_0x5a33cb,_0x3b0630)=>{if(_0x3b0630[0x0]!=_0x443cdb)return _0x7739b('UsageLimit');_0x3b0630[0x1]={..._0x3b0630[0x1],'requestId':_0x31e10a};},{'priority':'high'}),_0x151cb9['on']('_sendUsageRequest',_0x3759c1=>{_0x3aedec(_0x3759c1['return'])&&(_0x5bb05d=!0x0,_0x112081(_0x3759c1['return']));},{'priority':'low'}),_0x168498['then'](()=>{_0x5bb05d||_0x7739b('UsageLimit');});});function _0x3398cc(){return'auto'==_0x151cb9['editing']['view']['_overlayModeHint'];}function _0xbd89c0(){_0x151cb9['editing']['view']['_overlayModeHint']='auto';}}function _0x3015ef(_0x8bb2f5){const _0x4c65b8=[new window['Promise'](_0x4b1e59=>setTimeout(_0x4b1e59,0x93ecc)),_0x168498['then'](()=>new window['Promise'](_0x39ef8c=>{let _0x2bb5cd=0x0;_0x151cb9['model']['on']('applyOperation',(_0xab2b3b,_0x1ed2fc)=>{_0x1ed2fc[0x0]['isDocumentOperation']&&_0x2bb5cd++,0x5e8==_0x2bb5cd&&(_0x39ef8c(),_0xab2b3b['off']());});}))];return window['Promise']['race'](_0x4c65b8)['then'](()=>_0x8bb2f5);}async function _0x2f5051(){await _0x168498,_0x151cb9['model']['change']=_0x46833c,_0x151cb9['model']['enqueueChange']=_0x46833c,_0x151cb9['enableReadOnlyMode']('model');}function _0x455bd4(_0x285049){const _0x4c2db1=_0x5ecaad();_0x151cb9[_0x4c2db1]='paginationLicenseKey'+_0x285049,'Valid'!=_0x285049&&_0x2f5051();}function _0x5ecaad(){const _0x56d533=window['String'](window['performance']['now']())['replace']('.','');let _0x317e8f='v';for(let _0x1e12fa=0x0;_0x1e12fa<_0x56d533['length'];_0x1e12fa+=0x2){let _0x116f38=window['parseInt'](_0x56d533['substring'](_0x1e12fa,_0x1e12fa+0x2));_0x116f38>=0x3e&&(_0x116f38-=0x3e),_0x317e8f+=_0x58edfd[_0x116f38];}return _0x317e8f;}function _0x3c0063(){const _0x170ca9=_0x4045ba['split']('.');if(0x3!=_0x170ca9['length'])return null;return _0x10c423(_0x170ca9[0x1]);function _0x10c423(_0x2152a1){const _0x5425a8=_0x1d3c5d(_0x2152a1);return _0x5425a8&&_0x39dd81()?_0x5425a8:null;function _0x39dd81(){const _0x138a26=_0x5425a8['jti'],_0x218616=window['parseInt'](_0x138a26['substring'](_0x138a26['length']-0x8),0x10),_0x33b411={..._0x5425a8,'jti':_0x138a26['substring'](0x0,_0x138a26['length']-0x8)};return delete _0x33b411['vc'],_0x16438b(_0x33b411)==_0x218616;}}}async function _0x85273b(){let _0x168b65=!0x0;try{const [_0x105e5f,_0x17fa70,_0x1e7e7e]=_0x4045ba['split']('.');return _0x1b4701(_0x105e5f),await _0x58feea(_0x105e5f,_0x17fa70,_0x1e7e7e),_0x168b65;}catch{return!0x1;}function _0x1b4701(_0x373b5d){const _0x17b854=_0x1d3c5d(_0x373b5d);_0x17b854&&'ES256'==_0x17b854['alg']||(_0x168b65=!0x1);}async function _0x58feea(_0x4e5fa8,_0x58e2f1,_0x24ec69){const _0x4e40fa=window['Uint8Array']['from'](_0x50a6eb(_0x24ec69),_0xd8e96f=>_0xd8e96f['charCodeAt'](0x0)),_0x42c3e8=new window['TextEncoder']()['encode'](_0x4e5fa8+'.'+_0x58e2f1),_0xb4d1b7=window['crypto']['subtle'];if(!_0xb4d1b7)return;const _0x226ebb=await _0xb4d1b7['importKey']('jwk',_0x3a159b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xb4d1b7['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x226ebb,_0x4e40fa,_0x42c3e8)||(_0x168b65=!0x1);}}function _0x1d3c5d(_0x5bc755){return _0x5bc755['startsWith']('ey')?JSON['parse'](_0x50a6eb(_0x5bc755)):null;}function _0x50a6eb(_0x2fb5f4){return window['atob'](_0x2fb5f4['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x16438b(_0x328d56){let _0x126fba=0x1505;function _0x570215(_0x38c777){for(let _0x5b0596=0x0;_0x5b0596<_0x38c777['length'];_0x5b0596++){const _0x2186eb=_0x38c777['charCodeAt'](_0x5b0596);_0x126fba=(_0x126fba<<0x5)+_0x126fba+_0x2186eb,_0x126fba&=_0x126fba;}}function _0x40231a(_0x3321eb){Array['isArray'](_0x3321eb)?_0x3321eb['forEach'](_0x40231a):_0x3321eb&&'object'==typeof _0x3321eb?Object['entries'](_0x3321eb)['sort']()['forEach'](([_0x1464af,_0x51632])=>{_0x570215(_0x1464af),_0x40231a(_0x51632);}):_0x570215(window['String'](_0x3321eb));}return _0x40231a(_0x328d56),_0x126fba>>>0x0;}function _0x206627(_0x3078c1){return _0x3078c1['toString'](0x10)['padStart'](0x8,'0');}function _0x7a5ca7(_0x1a8644){return _0x1a8644['split']('')['reverse']()['join']('');}function _0x46833c(){}_0x455bd4(await _0x30a27a());}_0x39434b(_0x9c6358['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x215924=this['editor'],_0x1be2fb=_0x215924['editing']['view'],_0x48e244=this['_getAttachedDomRoot']();if(!_0x48e244||!_0x48e244['hasChildNodes']())return void _0x215924['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3aeaad,pageHeight:_0x305502}=_0x215924['config']['get']('pagination'),{top:_0x163d6c,left:_0x25bf08,bottom:_0xcce23b,right:_0x44cb07}=this['_configuredPaddings'];this['_pagesContainer']=new _0x40f2cd(_0x215924['locale']);const _0x1a3837=this['_pagesContainer'];_0x1a3837['set']('class',''),_0x1a3837['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x3aeaad,'width':_0x3aeaad,'height':'calc(\x20'+_0x305502+'\x20-\x20'+_0x163d6c+'\x20-\x20'+_0xcce23b+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x44cb07+'\x200\x20'+_0x25bf08,'columnGap':'calc('+_0x25bf08+'\x20+\x20'+_0x44cb07+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x1a3837['bindTemplate']['to']('class')}}),_0x1a3837['render'](),_0x48e244['parentNode']['insertBefore'](_0x1a3837['element'],_0x48e244['nextSibling']),this['listenTo'](_0x1be2fb,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x4c400f of this['editor']['editing']['view']['domRoots']['values']())if(_0x4c400f['ownerDocument']['body']['contains'](_0x4c400f))return _0x4c400f;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x2c1bbc=this['editor']['editing']['view'],_0x491da1=this['_pagesContainer'],_0x5ac81c=this['_getAttachedDomRoot']();if(!_0x5ac81c||!_0x491da1)return Promise['resolve']();for(_0x491da1['class']=['ck-reset','ck-pagination-view',..._0x5ac81c['classList']]['join']('\x20');_0x491da1['element']['firstChild'];)_0x491da1['element']['firstChild']['remove']();const _0x3013e5=Array['from'](_0x2c1bbc['domRoots']);_0x3013e5['sort'](([,_0x291cc9],[,_0x5021e4])=>_0x291cc9['compareDocumentPosition'](_0x5021e4)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1e877e,_0x5360ba]of _0x3013e5){const _0x292614=_0x5360ba['cloneNode'](!0x0);'attributeStyleMap'in _0x292614&&_0x292614['attributeStyleMap']['clear'](),_0x292614['dataset']['rootName']=_0x1e877e,_0x292614['className']='ck-content\x20ck-pagination_enabled',_0x292614['removeAttribute']('id'),_0x292614['tabIndex']=-0x1,_0x491da1['element']['append'](_0x292614);}const _0x3160d7=Array['from'](_0x491da1['element']['querySelectorAll']('img'));return function(_0x4179c1){return Promise['all'](_0x4179c1['map'](_0x4980ca=>Promise['race']([v(_0x4980ca),k(0x3e8)])));}(_0x3160d7)['then'](()=>{for(const _0x189a7d of _0x3160d7['filter'](_0x23eee9=>!_0x23eee9['closest']('table')))if(_0x189a7d['offsetParent']){const _0x34ba55=_0x3fa754['window']['getComputedStyle'](_0x189a7d),_0x1e4c14=_0x3fa754['document']['createElement']('span');for(const _0x594946 of _0x34ba55)_0x1e4c14['style']['setProperty'](_0x594946,_0x34ba55[_0x594946]);_0x1e4c14['style']['backgroundImage']='url(\x20'+_0x189a7d['src']+'\x20)',_0x1e4c14['style']['breakInside']='avoid','PICTURE'==_0x189a7d['parentElement']?.['tagName']?_0x189a7d['parentElement']['replaceWith'](_0x1e4c14):_0x189a7d['replaceWith'](_0x1e4c14);}return new Promise(_0x4a6508=>_0x3fa754['window']['requestAnimationFrame'](()=>_0x4a6508()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x284fcd=this['_pagesContainer']['element'];if(!_0x284fcd['ownerDocument']['body']['contains'](_0x284fcd))return;const _0x3dc1e9=new _0x3aeedf(_0x284fcd)['excludeScrollbarsAndBorders'](),_0x14d5fe=Math['floor'](_0x3dc1e9['width']+0x64),_0x335e65=_(_0x284fcd,Math['floor'](_0x3dc1e9['left']-_0x284fcd['scrollLeft']),_0x14d5fe,_0x3dc1e9['height'])['map'](_0x371542=>this['_mapPageStarterInfoToPageBreakInfo'](_0x371542))['filter'](_0x5ae61b=>!0x1!==_0x5ae61b);_0x335e65['every'](_0x22ce4b=>!!_0x22ce4b)&&(this['pageBreaks']=_0x335e65);}_mapPageStarterInfoToPageBreakInfo(_0x2a4da7){const _0x526c5b=this['editor']['editing']['view'],_0x3baee4=this['editor']['editing']['mapper'],_0x41936a=_0x526c5b['domConverter'],_0xaf6339=_0x2a4da7['path']['shift'](),_0x447410=this['_pagesContainer']['element']['childNodes'][_0xaf6339]['dataset']['rootName'],_0x401d79=_0x526c5b['getDomRoot'](_0x447410);if(!_0x401d79)return null;const _0x5281a0=function(_0x2eb492,_0x3db9f9){let _0x368093=_0x2eb492;for(const _0xf2c26d of _0x3db9f9['path']){if(!_0x368093)return null;_0x368093=_0x368093['childNodes'][_0xf2c26d];}return _0x368093;}(_0x401d79,_0x2a4da7);if(!_0x5281a0)return null;const _0x5eab79=_0x41936a['domPositionToView'](_0x5281a0,_0x2a4da7['textOffset']||0x0);return _0x5eab79?'manual'==_0x2a4da7['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5eab79,_0x5281a0):'text'==_0x2a4da7['type']&&_0x3baee4['toModelPosition'](_0x5eab79)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5eab79,_0x5281a0,_0x2a4da7['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5eab79,_0x5281a0,_0x2a4da7['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x1ca3e8,_0x2b5138){const _0x3ae3a5=this['editor']['model'],_0x1fd42b=this['editor']['editing']['mapper']['toModelElement'](_0x1ca3e8['parent']),_0x54ec55=_0x3ae3a5['createRangeOn'](_0x1fd42b);return new y({'type':'manual','modelRange':_0x54ec55,'domNode':_0x2b5138,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0xf9a5da,_0xd258f4,_0x69ef73){const _0x506567=this['editor']['model'],_0x39c4f6=this['editor']['editing']['mapper'],_0x7a27f0=this['editor']['editing']['view']['domConverter'];if(_0x69ef73>=_0xd258f4['length'])return null;const _0x51f39b=_0x39c4f6['toModelPosition'](_0xf9a5da),_0x2972a1=_0x506567['createRange'](_0x51f39b),_0xdcd75b=_0x39c4f6['findMappedViewAncestor'](_0xf9a5da),_0x304a5c=_0x7a27f0['mapViewToDom'](_0xdcd75b);return new y({'type':'text','modelRange':_0x2972a1,'domNode':_0xd258f4,'offset':P(_0xd258f4,_0x69ef73,_0x304a5c)});}_mapElementPageStarterInfoToPageBreakInfo(_0x181e88,_0x43d178,_0x50a3c2){const _0xaf1841=this['editor']['model'],_0x50c0d2=this['editor']['editing'],_0x3fe402=_0x50c0d2['mapper'],_0x5381ca=_0x50c0d2['view']['domConverter'],_0x437158=_0x3fe402['findMappedViewAncestor'](_0x181e88),_0x45001e=_0x3fe402['toModelElement'](_0x437158);if(!_0x45001e||_0x45001e['is']('rootElement'))return!0x1;const _0x429a70=function(_0x237563){const _0x43768a=_0x237563['parent'],_0x12ee16=_0x43768a['root']['document']['model'],_0x928fa4=_0x43768a['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1e2a9a=null;for(const _0x5d081c of _0x928fa4){if(_0x5d081c['is']('rootElement'))return _0x1e2a9a;if(!_0x12ee16['createPositionBefore'](_0x5d081c)['isTouching'](_0x237563))return _0x1e2a9a;_0x1e2a9a=_0x5d081c;}}(_0xaf1841['createPositionBefore'](_0x45001e))||_0x45001e;let _0x4e34eb=_0x3fe402['toViewElement'](_0x429a70),_0x5a8615=_0xaf1841['createRangeOn'](_0x429a70);const _0x36051e=_0xaf1841['createPositionBefore'](_0x429a70)['nodeBefore'];if(_0x36051e&&_0x36051e['is']('element','imageBlock')){const _0x4de700=_0x3fe402['toViewElement'](_0x36051e),_0x59ee97=_0x5381ca['mapViewToDom'](_0x4de700),_0x4808da=_0x3fa754['window']['getComputedStyle'](_0x59ee97)['float'];'left'!=_0x4808da&&'right'!=_0x4808da||(_0x5a8615=_0xaf1841['createRangeOn'](_0x36051e));}for(;_0x4e34eb['parent']!==_0x4e34eb['root']&&0x0===_0x4e34eb['index'];)_0x4e34eb=_0x4e34eb['parent'];const _0xb8575d=new _0x3aeedf(K(_0x43d178)?_0x43d178:L(_0x43d178)),_0x161e0b=_0x50a3c2?_0xb8575d['height']-_0x50a3c2:0x0,_0x124045=_0x5381ca['mapViewToDom'](_0x4e34eb),_0x5e8b6d=new _0x3aeedf(_0x124045);return new y({'type':'element','modelRange':_0x5a8615,'domNode':_0x124045,'offset':Math['round'](_0x161e0b)||_0x437158!=b(_0x181e88)?_0x161e0b+_0xb8575d['top']-_0x5e8b6d['top']:0x0});}get['_configuredPaddings'](){const _0x5d29de=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x5d29de);}static _findPageStarterInfos(_0x3051b2,_0x4e67c0,_0x5251e7,_0xc4977d,_0x26887c){return _(_0x3051b2,_0x4e67c0,_0x5251e7,_0xc4977d,_0x26887c);}},y=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0xb0cb81,modelRange:_0x16b91d,domNode:_0x2e3a49,offset:_0x3bc6c9}){this['type']=_0xb0cb81,this['modelRange']=_0x16b91d,this['_domNode']=_0x2e3a49,this['_offset']=_0x3bc6c9;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x5cdf2a=new _0x3aeedf(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x5cdf2a['top']+_0x5cdf2a['height']/0x2:_0x5cdf2a['top']+this['_offset'];}};function P(_0x164033,_0x4d9bdc,_0x5a02ae){const _0x15a7cb=L(_0x164033),_0x89c57=function(_0xf57682){const _0x2b3b15=_0x3fa754['document']['createRange']();return _0x2b3b15['selectNodeContents'](_0xf57682),_0x2b3b15;}(_0x5a02ae);let _0x238298;_0x238298=0x0==_0x4d9bdc?N(_0x89c57['startContainer'],_0x89c57['startOffset'],_0x164033['parentNode'],Array['from'](_0x164033['parentNode']['childNodes'])['indexOf'](_0x164033)):N(_0x89c57['startContainer'],_0x89c57['startOffset'],_0x164033,_0x4d9bdc);const _0x52f9fb=N(_0x164033,_0x4d9bdc,_0x89c57['endContainer'],_0x89c57['endOffset']),_0x561e47=new _0x3aeedf(_0x238298)['bottom'];return(new _0x3aeedf(_0x52f9fb)['top']+_0x561e47)/0x2-new _0x3aeedf(_0x15a7cb)['top'];}function b(_0x1b119e){let _0x33fe7c=_0x1b119e['parent'];for(;_0x33fe7c['is']('$text')||_0x33fe7c['is']('attributeElement');)_0x33fe7c=_0x33fe7c['parent'];return _0x33fe7c;}function v(_0x4918f2){return _0x4918f2['hasAttribute']('width')&&_0x4918f2['hasAttribute']('height')?Promise['resolve']():new Promise(_0x28204b=>{function _0x494f1c(){_0x4918f2['removeEventListener']('load',_0x494f1c),_0x4918f2['removeEventListener']('error',_0x494f1c),_0x28204b();}_0x4918f2['complete']?_0x28204b():(_0x4918f2['addEventListener']('load',_0x494f1c),_0x4918f2['addEventListener']('error',_0x494f1c));});}function k(_0x39628c){return new Promise(_0x17912d=>setTimeout(_0x17912d,_0x39628c));}function L(_0x2e8e40){const _0x31c830=_0x3fa754['document']['createRange']();return _0x31c830['selectNode'](_0x2e8e40),_0x31c830;}function x(_0xbdcdea,_0x4928b5,_0x50b285){const _0x3fa4d5=_0x3fa754['document']['createRange']();return _0x3fa4d5['setStart'](_0xbdcdea,_0x4928b5),_0x3fa4d5['setEnd'](_0xbdcdea,_0x50b285),_0x3fa4d5;}function N(_0x24e0d2,_0x3f84af,_0x769bd9,_0x29d1ec){const _0x28a8f7=_0x3fa754['document']['createRange']();return _0x28a8f7['setStart'](_0x24e0d2,_0x3f84af),_0x28a8f7['setEnd'](_0x769bd9,_0x29d1ec),_0x28a8f7;}function _(_0x57a354,_0x45e716,_0x227b54,_0x16e271,_0x4c5252){const _0x1d8591=[];for(const [_0x20a04c,_0x4b4b7a]of _0x57a354['childNodes']['entries']()){let _0x1a18b0=[];K(_0x4b4b7a)&&_0x4b4b7a['offsetParent']&&['static','relative']['includes'](_0x3fa754['window']['getComputedStyle'](_0x4b4b7a)['position'])?_0x1a18b0=E(_0x4b4b7a,_0x20a04c,_0x45e716,_0x227b54,_0x16e271,_0x4c5252):O(_0x4b4b7a)&&(_0x1a18b0=S(_0x4b4b7a,_0x20a04c,_0x45e716,_0x227b54,_0x4c5252)),_0x1a18b0['length']&&(_0x1d8591['push'](..._0x1a18b0),_0x45e716+=_0x1a18b0['length']*_0x227b54,_0x4c5252=!0x1);}return _0x1d8591;}function E(_0x1fbf6b,_0x51f4f9,_0x5c38c1,_0x290cb6,_0x3db63c,_0x5ea5a9){const _0x523da8=[];var _0x31d112;if((_0x31d112=_0x1fbf6b['previousSibling'])&&K(_0x31d112)&&Boolean(_0x31d112['classList']['contains']('page-break')||_0x31d112['closest']('.page-break'))&&(_0x523da8['push']({'type':'manual','offset':0x0,'path':[_0x51f4f9-0x1]}),_0x5ea5a9=!0x0),'table-row'==_0x3fa754['window']['getComputedStyle'](_0x1fbf6b)['display']){let _0x3fc896=0x0,_0x4ef62b=!0x1;for(const _0x2d98ae of _0x1fbf6b['getClientRects']())_0x3fc896+=_0x2d98ae['height'],_0x2d98ae['left']>=_0x5c38c1&&(_0x4ef62b=!0x0);if(_0x3fc896<_0x3db63c&&_0x4ef62b)return _0x5ea5a9||_0x523da8['push']({'type':'element','offset':0x0,'path':[_0x51f4f9]}),_0x523da8;}const _0x3a915a=_0x1fbf6b['closest']('figure.image');if(_0x3a915a&&function(_0x27dc71){let _0x52f64d=!0x1;const _0x1c0fa=_0x27dc71['parentElement']['dataset']['rootName'],_0x4345af=_0x27dc71['nextElementSibling'],_0x38a29b=_0x27dc71['previousElementSibling'],_0x96c2fe=_0x4345af&&_0x3fa754['window']['getComputedStyle'](_0x4345af)['float'],_0x4b7a8c=_0x4345af&&'ck-fake-selection-container'===_0x4345af['className'];return!_0x1c0fa||_0x4345af||_0x38a29b||(_0x52f64d=!0x0),_0x1c0fa&&!_0x38a29b&&_0x4b7a8c&&(_0x52f64d=!0x0),_0x1c0fa&&!_0x38a29b&&'none'!==_0x96c2fe&&(_0x52f64d=!0x0),!_0x52f64d;}(_0x3a915a)){const _0x5afe9e=_0x3fa754['window']['getComputedStyle'](_0x3a915a)['float'];if('left'==_0x5afe9e||'right'==_0x5afe9e)return _0x523da8;}const _0x1fbb9f=_(_0x1fbf6b,_0x5c38c1,_0x290cb6,_0x3db63c,_0x5ea5a9);if(_0x1fbb9f['length']){for(const _0x575258 of _0x1fbb9f)_0x523da8['push']({'type':_0x575258['type'],'offset':_0x575258['offset'],'textOffset':_0x575258['textOffset'],'path':[_0x51f4f9,..._0x575258['path']]}),_0x5c38c1+=_0x290cb6;return _0x523da8;}return _0x523da8['push'](...function(_0x463b4f,_0x594ac4,_0x2bb365,_0x575dd0,_0x553020){const _0x616940=[];if('table-cell'==_0x3fa754['window']['getComputedStyle'](_0x463b4f)['display'])return[];const _0x4df9a5=[];for(const _0x59a10d of _0x463b4f['getClientRects']())if(_0x59a10d['left']>=_0x2bb365){for(const _0x4261ad of _0x4df9a5)_0x4261ad['height']+=_0x59a10d['height'];_0x4df9a5['push']({'height':_0x59a10d['height']}),_0x2bb365+=_0x575dd0;}for(const _0x4b0777 of _0x4df9a5)_0x553020||_0x616940['push']({'type':'element','offset':_0x4b0777['height'],'textOffset':0x0,'path':[_0x594ac4]}),_0x553020=!0x1;return _0x616940;}(_0x1fbf6b,_0x51f4f9,_0x5c38c1,_0x290cb6,_0x5ea5a9)),_0x523da8;}function S(_0x83925e,_0x5676a4,_0x29f53f,_0x132de8,_0x32db54){const _0x152e7a=L(_0x83925e),_0x1ff537=[];let _0x18a95f=0x0;for(const _0x4ce755 of _0x152e7a['getClientRects']())if(_0x4ce755['left']>=_0x29f53f){const _0xc8d298=R(_0x83925e,_0x18a95f,_0x29f53f,_0x132de8);_0x32db54||_0x1ff537['push']({'type':'text','path':[_0x5676a4],'textOffset':_0xc8d298}),_0x18a95f=_0xc8d298,_0x29f53f+=_0x132de8,_0x32db54=!0x1;}return _0x1ff537;}function R(_0x5e34fa,_0x23a11c,_0x18bdb2,_0x35295c){let _0x1dcd7a=_0x23a11c,_0x5b702c=_0x5e34fa['length'];for(;_0x5b702c-_0x1dcd7a>0x1;){const _0x3cc790=Math['ceil']((_0x1dcd7a+_0x5b702c)/0x2);I(x(_0x5e34fa,_0x1dcd7a,_0x3cc790),_0x18bdb2,_0x35295c)?_0x5b702c=_0x3cc790:_0x1dcd7a=_0x3cc790;}return _0x1dcd7a;}function I(_0x4ce129,_0xd26db7,_0x1c36a9){for(const _0x378fc7 of _0x4ce129['getClientRects']())if(_0x378fc7['left']>=_0xd26db7&&_0x378fc7['left']<_0xd26db7+_0x1c36a9)return!0x0;return!0x1;}function K(_0x258440){return _0x258440['nodeType']==Node['ELEMENT_NODE'];}function O(_0x25dae0){return _0x25dae0['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x237cbc('px');var U=class extends _0x40f2cd{constructor(){super();const _0xe9bc79=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0xe9bc79['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0xe9bc79['if']('isVisible','ck-hidden',_0x5077de=>!_0x5077de)],'style':{'left':_0xe9bc79['to']('left',_0x4d2c0a=>A(_0x4d2c0a)),'top':_0xe9bc79['to']('top',_0xc655ee=>A(_0xc655ee)),'width':_0xe9bc79['to']('width',_0x162241=>A(_0x162241))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x38135c){this['_viewCollection']=_0x38135c['ui']['view']['body'];}destroy(){for(const _0x2ddfd0 of this['_hiddenLines'])_0x2ddfd0['destroy']();}['cleanLines'](){for(const _0x559a7d of this['_visibleLines'])_0x559a7d['isVisible']=!0x1,this['_hiddenLines']['add'](_0x559a7d);this['_visibleLines']['clear']();}['showLine'](_0x4b89c6,_0x36e09f,_0xd0255c,_0x552754){let _0x27af76;this['_hiddenLines']['size']?(_0x27af76=_0x1d534a(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x27af76)):_0x27af76=new U(),_0x27af76['set']({'pageNumber':_0x552754,'left':_0x4b89c6,'top':_0x36e09f,'width':_0xd0255c}),_0x27af76['isVisible']=!0x0,this['_viewCollection']['has'](_0x27af76)||this['_viewCollection']['add'](_0x27af76),this['_visibleLines']['add'](_0x27af76);}setViewCollection(_0x3ee146){for(const _0x23a75e of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x23a75e)&&this['_viewCollection']['remove'](_0x23a75e);this['_viewCollection']=_0x3ee146;}};const D='ck-pagination_enabled';var B=class extends _0x12800a{linesRepository;_scrollableEditingRootDomAncestor=null;['_resizeObserver']=null;_paginationLookupPlugin;static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['set']({'pageNumber':0x1}),this['linesRepository']=new C(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](D),this['on']('change:isEnabled',(_0x1016e2,_0x4e61c3,_0x35aeb0)=>{_0x35aeb0||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x35aeb0);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x329759){if(!this['isEnabled'])return;const _0x31c180=_0x329759>0x1?this['_getPageBreakLineOffset'](_0x329759-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x31c180-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x67b07e['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x39a184=this['editor'],_0xbaf9aa=this['_getAttachedDomRoot']();_0xbaf9aa?(this['_scrollableEditingRootDomAncestor']&&_0x39a184['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x43cdaf){let _0x1a986b=_0x43cdaf;do{_0x1a986b=_0x1a986b['parentElement'];const _0x50b2ef=_0x3fa754['window']['getComputedStyle'](_0x1a986b)['overflowY'];if('auto'==_0x50b2ef||'scroll'==_0x50b2ef)break;}while('BODY'!=_0x1a986b['tagName']);return _0x1a986b;}(_0xbaf9aa),_0x39a184['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x41bab3(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x39a184['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3814e7=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3814e7['ui']['view']['listenTo'](_0x3fa754['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3814e7['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x523031 of this['editor']['editing']['view']['domRoots']['values']())if(_0x523031['ownerDocument']['body']['contains'](_0x523031))return _0x523031;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x35cb06=this['_getAttachedDomRoot'](),_0x384976=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x35cb06||0x1==_0x384976['length'])return void(this['pageNumber']=0x1);const _0x523287=new _0x3aeedf(_0x35cb06)['excludeScrollbarsAndBorders'](),_0x1e2e5f=new _0x3aeedf(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x52ffd5=_0x1e2e5f['top']+_0x1e2e5f['height']/0x3;let _0x5ef765=!0x1;const _0x558007=[];for(let _0x16df41=0x1;_0x16df41<_0x384976['length'];_0x16df41++){const _0x273864=this['_getPageBreakLineOffset'](_0x16df41,_0x1e2e5f);if(!_0x273864)continue;const _0x9d1e81=_0x1e2e5f['top']+_0x273864-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x558007['push']({'pageOffsetTop':_0x9d1e81,'domRootRect':_0x523287,'domScrollableRect':_0x1e2e5f,'pageNumber':_0x16df41}),_0x9d1e81>_0x52ffd5&&!_0x5ef765&&(this['pageNumber']=_0x16df41,_0x5ef765=!0x0);}this['_renderPageBreakLines'](_0x558007),_0x5ef765||(this['pageNumber']=_0x384976['length']);}['_renderPageBreakLines'](_0x26980e){const {scrollX:_0x2033c9,scrollY:_0x9dc422}=_0x3fa754['window'];if(_0x26980e['length']){for(const {domScrollableRect:_0x243479,pageOffsetTop:_0x66fb45,domRootRect:_0x53772f,pageNumber:_0x36406b}of _0x26980e)_0x243479['top']<_0x66fb45&&_0x66fb45<_0x243479['bottom']&&this['linesRepository']['showLine'](_0x53772f['left']+_0x2033c9,_0x66fb45+_0x9dc422,_0x53772f['width'],_0x36406b+0x1);}}_getPageBreakLineOffset(_0x2fa997,_0x12df45=null){const _0x1d93bc=this['_paginationLookupPlugin']['pageBreaks'][_0x2fa997]['offset'];return _0x1d93bc?(_0x12df45||(_0x12df45=new _0x3aeedf(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x1d93bc-_0x12df45['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x27e848,_0x2d5cab=!0x0){const _0x248b3c=this['editor']['editing']['view'];_0x248b3c['change'](_0x186db6=>{for(const _0x505e63 of _0x248b3c['document']['roots'])_0x2d5cab?_0x186db6['addClass'](_0x27e848,_0x505e63):_0x186db6['removeClass'](_0x27e848,_0x505e63);});}};function T(_0x53b97d,_0x1a84bc,..._0x54d669){const t=_0x53b97d['t'];switch(_0x1a84bc){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)',..._0x54d669);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 _0x1a84bc;}}var G=class extends _0x12800a{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[w,B];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4fd04e=this['editor']['plugins']['get']('Pagination'),_0x36c6e6=this['editor']['plugins']['get'](w),_0x4891cd=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x4fd04e),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4891cd),this['listenTo'](_0x36c6e6,'change:pageBreaks',(_0x4ad18a,_0x4af721,_0x3e9660,_0x49c524)=>{this['totalPages']=_0x3e9660['length'],this['_updatePageBreakMarkers'](_0x3e9660,_0x49c524);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x323630=[this['editor']];for(const _0x220a43 of _0x323630){let _0x59a1f4;for(const _0x4007a3 in _0x220a43){const _0xe42dc3=_0x4007a3,_0x32ff7a=_0x220a43[_0xe42dc3];if('paginationLicenseKeyValid'==_0x32ff7a||'paginationLicenseKeyInvalid'==_0x32ff7a||'paginationLicenseKeyExpired'==_0x32ff7a||'paginationLicenseKeyDomainLimit'==_0x32ff7a||'paginationLicenseKeyNotAllowed'==_0x32ff7a||'paginationLicenseKeyEvaluationLimit'==_0x32ff7a||'paginationLicenseKeyUsageLimit'==_0x32ff7a){delete _0x220a43[_0xe42dc3],_0x59a1f4=_0x32ff7a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x59a1f4&&_0x220a43['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x59a1f4&&_0x220a43['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x59a1f4&&_0x220a43['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x59a1f4&&_0x220a43['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x59a1f4&&_0x220a43['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x59a1f4&&_0x220a43['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x4297af){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x4297af));}moveSelectionToPage(_0x34633e){if(!this['isEnabled'])return;const _0x5c8018=this['editor'],_0xe2b9f9=this['editor']['plugins']['get'](w)['pageBreaks'][_0x34633e-0x1];_0xe2b9f9&&_0x5c8018['model']['change'](_0x5b3d5f=>{switch(_0xe2b9f9['type']){case'manual':{const _0x3dae95=_0x5c8018['model']['schema']['getNearestSelectionRange'](_0xe2b9f9['modelRange']['end'],'forward');_0x5b3d5f['setSelection'](_0x3dae95);break;}case'element':{const _0x359fff=_0x5c8018['model']['schema']['getNearestSelectionRange'](_0xe2b9f9['modelRange']['start'],'forward');_0x5b3d5f['setSelection'](_0x359fff);break;}case'text':{const _0xc58ea1=_0xe2b9f9['modelRange']['start'];if(_0xc58ea1['textNode']&&'\x20'===_0xc58ea1['textNode']['data'][_0xc58ea1['offset']]){const _0x2d7323=_0x5b3d5f['createPositionAt'](_0xc58ea1['parent'],_0xc58ea1['offset']+0x1);_0x5b3d5f['setSelection'](_0x2d7323);}else _0x5b3d5f['setSelection'](_0xe2b9f9['modelRange']);}}_0x5c8018['editing']['view']['focus']();});}goToNextPage(){const _0x51a472=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x51a472),this['scrollToPage'](_0x51a472);}['goToPreviousPage'](){const _0x176a77=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x176a77),this['scrollToPage'](_0x176a77);}_updatePageBreakMarkers(_0x20a2ae,_0xdd7d86){const _0x960570=this['editor']['model'];this['isEnabled']&&_0x960570['change'](_0x2f8058=>{for(let _0x124788=0x1;_0x124788<_0x20a2ae['length'];_0x124788++){const _0x15649b=_0x20a2ae[_0x124788]['modelRange'],_0x5f57ca='pagination:'+(_0x124788+0x1);_0x960570['markers']['has'](_0x5f57ca)?_0x2f8058['updateMarker'](_0x5f57ca,{'range':_0x15649b}):_0x2f8058['addMarker'](_0x5f57ca,{'range':_0x15649b,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xa42969=_0x20a2ae['length'];_0xa42969<_0xdd7d86['length'];_0xa42969++){const _0x2aaa83='pagination:'+(_0xa42969+0x1);_0x960570['markers']['has'](_0x2aaa83)&&_0x2f8058['removeMarker'](_0x2aaa83);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x2d3e6f=>{_0x2d3e6f['on']('addMarker:pagination',(_0x56d81e,{markerRange:_0x2f036f,markerName:_0x7747b5},_0x694852)=>{if(!_0x694852['options']['pagination'])return;if(!_0x694852['consumable']['consume'](_0x2f036f,_0x56d81e['name']))return;const _0x28d1e1=_0x2f036f['getContainedElement']();let _0x39fb65=_0x28d1e1?_0x694852['mapper']['toViewElement'](_0x28d1e1):null;if(!_0x39fb65){const _0x151786=_0x2f036f['start'];if(_0x694852['schema']['checkChild'](_0x151786,'$text')){const _0x3e1360=_0x694852['mapper']['toViewPosition'](_0x151786);_0x39fb65=_0x694852['writer']['createContainerElement']('span'),_0x39fb65['getFillerOffset']=()=>null,_0x694852['writer']['insert'](_0x3e1360,_0x39fb65);}else{const _0x3cdc8c=_0x151786['nodeAfter'];_0x39fb65=_0x694852['mapper']['toViewElement'](_0x3cdc8c);}}for(;_0x39fb65['parent']!==_0x39fb65['root']&&0x0===_0x39fb65['index'];)_0x39fb65=_0x39fb65['parent'];const _0x2eb2c4=_0x7747b5['substring'](0xb);_0x39fb65['hasClass']('page-break')||(_0x694852['writer']['setStyle']('page-break-before','always',_0x39fb65),_0x694852['writer']['setAttribute']('data-pagination-page',_0x2eb2c4,_0x39fb65),_0x694852['mapper']['bindElementToMarker'](_0x39fb65,_0x7747b5)),_0x56d81e['stop']();});});}_setupKeystrokes(){const _0x424322=this['editor'];_0x424322['keystrokes']['set']('Shift+Pageup',(_0x5cc674,_0x50cf52)=>{this['goToPreviousPage'](),_0x50cf52();}),_0x424322['keystrokes']['set']('Shift+Pagedown',(_0x108a83,_0x161c59)=>{this['goToNextPage'](),_0x161c59();}),_0x424322['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x424322['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x424322['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x424322['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x24ca83){return _0x24ca83<0x1&&(_0x24ca83=0x1),_0x24ca83>this['totalPages']&&(_0x24ca83=this['totalPages']),_0x24ca83;}},V=class extends _0x40f2cd{['pageNumberView'];constructor(_0x5e2a4b){super(_0x5e2a4b);const _0x443cbe=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x2c2c90(_0x5e2a4b,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xba0fa3=>T(_0x5e2a4b,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xba0fa3)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x135454=>!_0x135454),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x443cbe['if']('isEnabled','ck-disabled',_0x31c50d=>!_0x31c50d)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x443cbe['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4cd18b=this['pageNumberView']['element'],_0x5ec2d5=_0x39674c=>{this['pageNumberView']['element']['value']=String(_0x39674c);};_0x5ec2d5(this['pageNumber']),this['on']('change:pageNumber',(_0x1fc7ad,_0xb77863,_0x5b8ee8)=>{_0x5ec2d5(_0x5b8ee8);}),this['listenTo'](_0x4cd18b,'keydown',(_0x4e9663,_0x2ded02)=>{if('ArrowUp'===_0x2ded02['key']||'ArrowDown'===_0x2ded02['key'])return void _0x2ded02['stopPropagation']();if(_0x2ded02['keyCode']!==_0xc00f91['enter'])return;_0x2ded02['preventDefault']();const _0x47e658=_0x4cd18b['valueAsNumber'];Number['isNaN'](_0x47e658)?_0x4cd18b['value']=String(this['pageNumber']):(_0x4cd18b['checkValidity']()?this['pageNumber']=_0x47e658:_0x47e658>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4cd18b['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4cd18b['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4cd18b,'blur',()=>{_0x4cd18b['value']=String(this['pageNumber']);}),this['listenTo'](_0x4cd18b,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x12800a{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x2c6ebd=this['editor'],_0x54895c=_0x2c6ebd['plugins']['get']('PaginationEditing');_0x2c6ebd['ui']['componentFactory']['add']('pageNavigation',_0x34bb52=>{const _0x13dc37=new V(_0x34bb52);return _0x13dc37['bind']('pageNumber')['to'](_0x54895c),_0x13dc37['bind']('totalPages')['to'](_0x54895c),_0x13dc37['bind']('isEnabled')['to'](_0x54895c),_0x13dc37['on']('navigation',(_0x473853,_0x4ff956)=>{_0x54895c['moveSelectionToPage'](_0x4ff956),_0x54895c['scrollToPage'](_0x4ff956);}),_0x13dc37;}),_0x2c6ebd['ui']['componentFactory']['add']('nextPage',_0x14843b=>{const _0x19d731=new _0x4d2f75(_0x14843b);return _0x19d731['isEnabled']=!0x0,_0x19d731['label']=T(_0x2c6ebd['locale'],'Go\x20to\x20next\x20page'),_0x19d731['icon']=_0xd4a5ab,_0x19d731['tooltip']=!0x0,_0x19d731['keystroke']='Shift+PageDown',_0x19d731['bind']('isEnabled')['to'](_0x54895c),this['listenTo'](_0x19d731,'execute',()=>{_0x54895c['goToNextPage']();}),_0x19d731;}),_0x2c6ebd['ui']['componentFactory']['add']('previousPage',_0x458cef=>{const _0xaff8e8=new _0x4d2f75(_0x458cef);return _0xaff8e8['isEnabled']=!0x0,_0xaff8e8['label']=T(_0x2c6ebd['locale'],'Go\x20to\x20previous\x20page'),_0xaff8e8['icon']=_0x1891b3,_0xaff8e8['tooltip']=!0x0,_0xaff8e8['keystroke']='Shift+PageUp',_0xaff8e8['bind']('isEnabled')['to'](_0x54895c),this['listenTo'](_0xaff8e8,'execute',()=>{_0x54895c['goToPreviousPage']();}),_0xaff8e8;});}},$=class extends _0x12800a{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x905138){super(_0x905138),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x44a576=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x44a576),this['bind']('totalPages')['to'](_0x44a576),_0x67b07e['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x209ea6){this['editor']['plugins']['get'](G)['scrollToPage'](_0x209ea6);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x2ddd28}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x406fb8,InputNumberView as _0x6df213,View as _0x306c08}from'@ckeditor/ckeditor5-ui';import{Rect as _0x3a8741,ResizeObserver as _0x27fa13,env as _0xf7af0d,first as _0x2a5569,global as _0x2c5925,keyCodes as _0x483b87,logWarning as _0x5e6805,toUnit as _0x2d075b,uid as _0x4b9e58}from'@ckeditor/ckeditor5-utils';import{debounce as _0x307242}from'es-toolkit/compat';import{IconArrowDown as _0x31e8dd,IconArrowUp as _0x4f6030}from'@ckeditor/ckeditor5-icons';var w=class extends _0x2ddd28{_recalculatePageBreaksDebounced=_0x307242(()=>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 _0x5e6805('pagination-config-not-found',this['editor']['config']);const _0x3e189b=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x3e189b),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x45454c,_0x237bcd,_0x711589)=>{_0x711589&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x1b4160){const _0x4d17a6='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x3f30dd=0x793f8,_0x5b5e16={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x55db9a(_0x111c15){const _0x43e88e=new window['Promise'](_0x3a12b5=>{_0x111c15['once']('ready',_0x3a12b5);}),_0x574183=window['Date']['now'](),_0x4fe81a=_0x111c15['config']['get']('licenseKey');async function _0x379bcb(){let _0x4b3051,_0x11b57b=null,_0xb9d7c7=null;try{return'GPL'==_0x4fe81a?'NotAllowed':(_0x4b3051=_0x48a2ef(),_0x4b3051?(_0x4b3051['usageEndpoint']&&(_0xb9d7c7=_0x1d07c4(_0x4b3051['usageEndpoint'],_0x4b3051['jti'])),await _0xddc73()?_0x5459c1()?_0x1d5bd7()?'Expired':_0x369d04()?('evaluation'==_0x4b3051['licenseType']&&(_0x11b57b=_0x3953df('EvaluationLimit')),await _0x2c6da0()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1d5bd7(){const _0x5151f4=['evaluation','trial']['includes'](_0x4b3051['licenseType'])?_0x574183/0x3e8:0xe10*_0x3f30dd;return _0x4b3051['exp']<_0x5151f4;}function _0x5459c1(){const _0x11e378=_0x4b3051['features'];return!!_0x11e378&&(!!_0x11e378['includes']('*')||!!_0x11e378['includes']('PAG'));}function _0x369d04(){const _0x13593e=_0x4b3051['licensedHosts'];if(!_0x13593e||0x0==_0x13593e['length'])return!0x0;const {hostname:_0x27b7b5}=new URL(window['location']['href']);if(_0x13593e['includes'](_0x27b7b5))return!0x0;const _0x17d8a3=_0x27b7b5['split']('.');return _0x13593e['filter'](_0x39751d=>_0x39751d['includes']('*'))['map'](_0x208efb=>_0x208efb['split']('.'))['filter'](_0x3bf479=>_0x3bf479['length']<=_0x17d8a3['length'])['map'](_0x8162dd=>Array(_0x17d8a3['length']-_0x8162dd['length'])['fill']('*'===_0x8162dd[0x0]?'*':'')['concat'](_0x8162dd))['some'](_0x1314f0=>_0x17d8a3['every']((_0x4aec7f,_0x3bfb50)=>_0x1314f0[_0x3bfb50]===_0x4aec7f||'*'===_0x1314f0[_0x3bfb50]));}function _0x2c6da0(){return _0x11b57b&&_0xb9d7c7?new window['Promise']((_0x586a75,_0x5c9656)=>{_0x11b57b['then'](_0x586a75,_0x5c9656),_0xb9d7c7['then'](_0x166a63=>{'Valid'!=_0x166a63&&_0x586a75(_0x166a63);},_0x5c9656);}):_0x11b57b||_0xb9d7c7||'Valid';}}function _0x1d07c4(_0x52a986,_0x442b88){return new window['Promise'](_0x32bf6b=>{if(_0x1ccb5f())return _0x32bf6b('Valid');_0x44477f(),_0x111c15['decorate']('_sendUsageRequest');let _0x3c1074=!0x1;const _0x347c89=_0x4b9e58();function _0x451e53(_0x5c7f6c){return!!_0x5c7f6c&&('object'==typeof _0x5c7f6c||'function'==typeof _0x5c7f6c)&&'function'==typeof _0x5c7f6c['then']&&'function'==typeof _0x5c7f6c['catch'];}function _0x47d043(_0x2a9f51){_0x197c5b(_0x2a9f51)['then'](_0x51b482=>_0x51b482&&'ok'==_0x51b482['status']?_0x2b640d(_0xa37d34(_0x347c89+_0x442b88))!=_0x51b482['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x10c2d3=>(_0x36605c(),_0x10c2d3),()=>{const _0x4a17d3=_0xeb466f();return null==_0x4a17d3?(_0x36605c(),'Valid'):_0x574183-_0x4a17d3>0x240c8400?'UsageLimit':'Valid';})['then'](_0x32bf6b)['catch'](()=>{_0x32bf6b('UsageLimit');});const _0x1c8b7f=0x36ee80;function _0x36605c(){const _0x43bd2b='llct-'+_0x2b640d(_0xa37d34(_0x52a986)),_0x493a60=_0x5815ac(_0x2b640d(window['Math']['ceil'](_0x574183/_0x1c8b7f)));window['localStorage']['setItem'](_0x43bd2b,_0x493a60);}function _0xeb466f(){const _0x4ae268='llct-'+_0x2b640d(_0xa37d34(_0x52a986)),_0x106e4c=window['localStorage']['getItem'](_0x4ae268);return _0x106e4c?window['parseInt'](_0x5815ac(_0x106e4c),0x10)*_0x1c8b7f:null;}function _0x197c5b(_0x2623cc){return new window['Promise']((_0x3ed05e,_0x138714)=>{_0x2623cc['then'](_0x3ed05e,_0x138714),window['setTimeout'](_0x138714,0x1d4c0);});}}_0x111c15['on']('_sendUsageRequest',(_0x2c6e12,_0x25861a)=>{if(_0x25861a[0x0]!=_0x52a986)return _0x32bf6b('UsageLimit');_0x25861a[0x1]={..._0x25861a[0x1],'requestId':_0x347c89};},{'priority':'high'}),_0x111c15['on']('_sendUsageRequest',_0x1e521d=>{_0x451e53(_0x1e521d['return'])&&(_0x3c1074=!0x0,_0x47d043(_0x1e521d['return']));},{'priority':'low'}),_0x43e88e['then'](()=>{_0x3c1074||_0x32bf6b('UsageLimit');});});function _0x1ccb5f(){return'auto'==_0x111c15['editing']['view']['_overlayModeHint'];}function _0x44477f(){_0x111c15['editing']['view']['_overlayModeHint']='auto';}}function _0x3953df(_0x30b9fd){const _0x3c2a26=[new window['Promise'](_0x1451fe=>setTimeout(_0x1451fe,0x93ecc)),_0x43e88e['then'](()=>new window['Promise'](_0x216118=>{let _0x3804dd=0x0;_0x111c15['model']['on']('applyOperation',(_0x599751,_0x2afc0d)=>{_0x2afc0d[0x0]['isDocumentOperation']&&_0x3804dd++,0x5e8==_0x3804dd&&(_0x216118(),_0x599751['off']());});}))];return window['Promise']['race'](_0x3c2a26)['then'](()=>_0x30b9fd);}async function _0x138285(){await _0x43e88e,_0x111c15['model']['change']=_0x136deb,_0x111c15['model']['enqueueChange']=_0x136deb,_0x111c15['enableReadOnlyMode']('model');}function _0x4efc53(_0x4b306c){const _0x4cf4fe=_0x5159d2();_0x111c15[_0x4cf4fe]='paginationLicenseKey'+_0x4b306c,'Valid'!=_0x4b306c&&_0x138285();}function _0x5159d2(){const _0x36c694=window['String'](window['performance']['now']())['replace']('.','');let _0x1a8c72='v';for(let _0x47b282=0x0;_0x47b282<_0x36c694['length'];_0x47b282+=0x2){let _0x111370=window['parseInt'](_0x36c694['substring'](_0x47b282,_0x47b282+0x2));_0x111370>=0x3e&&(_0x111370-=0x3e),_0x1a8c72+=_0x4d17a6[_0x111370];}return _0x1a8c72;}function _0x48a2ef(){const _0x1b94a6=_0x4fe81a['split']('.');if(0x3!=_0x1b94a6['length'])return null;return _0x19ddb2(_0x1b94a6[0x1]);function _0x19ddb2(_0x52666f){const _0x33ab56=_0x8a490c(_0x52666f);return _0x33ab56&&_0x1043c7()?_0x33ab56:null;function _0x1043c7(){const _0x28ef13=_0x33ab56['jti'],_0x32a0c4=window['parseInt'](_0x28ef13['substring'](_0x28ef13['length']-0x8),0x10),_0x46a967={..._0x33ab56,'jti':_0x28ef13['substring'](0x0,_0x28ef13['length']-0x8)};return delete _0x46a967['vc'],_0xa37d34(_0x46a967)==_0x32a0c4;}}}async function _0xddc73(){let _0xf509bf=!0x0;try{const [_0x299e2a,_0x344572,_0x5102e9]=_0x4fe81a['split']('.');return _0x297bda(_0x299e2a),await _0x89861f(_0x299e2a,_0x344572,_0x5102e9),_0xf509bf;}catch{return!0x1;}function _0x297bda(_0x5969eb){const _0x3ca4be=_0x8a490c(_0x5969eb);_0x3ca4be&&'ES256'==_0x3ca4be['alg']||(_0xf509bf=!0x1);}async function _0x89861f(_0x390aa1,_0x362c0c,_0x29b2f1){const _0x337c36=window['Uint8Array']['from'](_0x413596(_0x29b2f1),_0x7322cd=>_0x7322cd['charCodeAt'](0x0)),_0x2ba183=new window['TextEncoder']()['encode'](_0x390aa1+'.'+_0x362c0c),_0x290c6a=window['crypto']['subtle'];if(!_0x290c6a)return;const _0x49862b=await _0x290c6a['importKey']('jwk',_0x5b5e16,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x290c6a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x49862b,_0x337c36,_0x2ba183)||(_0xf509bf=!0x1);}}function _0x8a490c(_0x4d317a){return _0x4d317a['startsWith']('ey')?JSON['parse'](_0x413596(_0x4d317a)):null;}function _0x413596(_0x10b8e4){return window['atob'](_0x10b8e4['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xa37d34(_0x5980a0){let _0x53bddd=0x1505;function _0x244874(_0x1da4a9){for(let _0xfc081e=0x0;_0xfc081e<_0x1da4a9['length'];_0xfc081e++){const _0x17e721=_0x1da4a9['charCodeAt'](_0xfc081e);_0x53bddd=(_0x53bddd<<0x5)+_0x53bddd+_0x17e721,_0x53bddd&=_0x53bddd;}}function _0x2f21be(_0x444731){Array['isArray'](_0x444731)?_0x444731['forEach'](_0x2f21be):_0x444731&&'object'==typeof _0x444731?Object['entries'](_0x444731)['sort']()['forEach'](([_0x32b63d,_0x3d79ec])=>{_0x244874(_0x32b63d),_0x2f21be(_0x3d79ec);}):_0x244874(window['String'](_0x444731));}return _0x2f21be(_0x5980a0),_0x53bddd>>>0x0;}function _0x2b640d(_0x21ecce){return _0x21ecce['toString'](0x10)['padStart'](0x8,'0');}function _0x5815ac(_0x1ddd8b){return _0x1ddd8b['split']('')['reverse']()['join']('');}function _0x136deb(){}_0x4efc53(await _0x379bcb());}_0x55db9a(_0x1b4160['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3560a2=this['editor'],_0x4a52d4=_0x3560a2['editing']['view'],_0x11848a=this['_getAttachedDomRoot']();if(!_0x11848a||!_0x11848a['hasChildNodes']())return void _0x3560a2['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x417c4f,pageHeight:_0x1d66d7}=_0x3560a2['config']['get']('pagination'),{top:_0x241361,left:_0x418889,bottom:_0x3c0f80,right:_0x343778}=this['_configuredPaddings'];this['_pagesContainer']=new _0x306c08(_0x3560a2['locale']);const _0x3be3b0=this['_pagesContainer'];_0x3be3b0['set']('class',''),_0x3be3b0['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x417c4f,'width':_0x417c4f,'height':'calc(\x20'+_0x1d66d7+'\x20-\x20'+_0x241361+'\x20-\x20'+_0x3c0f80+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x343778+'\x200\x20'+_0x418889,'columnGap':'calc('+_0x418889+'\x20+\x20'+_0x343778+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x3be3b0['bindTemplate']['to']('class')}}),_0x3be3b0['render'](),_0x11848a['parentNode']['insertBefore'](_0x3be3b0['element'],_0x11848a['nextSibling']),this['listenTo'](_0x4a52d4,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x52a79f of this['editor']['editing']['view']['domRoots']['values']())if(_0x52a79f['ownerDocument']['body']['contains'](_0x52a79f))return _0x52a79f;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x38a5f8=this['editor']['editing']['view'],_0x3ad42d=this['_pagesContainer'],_0x124fc6=this['_getAttachedDomRoot']();if(!_0x124fc6||!_0x3ad42d)return Promise['resolve']();for(_0x3ad42d['class']=['ck-reset','ck-pagination-view',..._0x124fc6['classList']]['join']('\x20');_0x3ad42d['element']['firstChild'];)_0x3ad42d['element']['firstChild']['remove']();const _0x23c349=Array['from'](_0x38a5f8['domRoots']);_0x23c349['sort'](([,_0x76d9dc],[,_0x2df8ed])=>_0x76d9dc['compareDocumentPosition'](_0x2df8ed)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1bac8d,_0x4871b2]of _0x23c349){const _0x4387ef=_0x4871b2['cloneNode'](!0x0);'attributeStyleMap'in _0x4387ef&&_0x4387ef['attributeStyleMap']['clear'](),_0x4387ef['dataset']['rootName']=_0x1bac8d,_0x4387ef['className']='ck-content\x20ck-pagination_enabled',_0x4387ef['removeAttribute']('id'),_0x4387ef['tabIndex']=-0x1,_0x3ad42d['element']['append'](_0x4387ef);}const _0xe88a15=Array['from'](_0x3ad42d['element']['querySelectorAll']('img'));return function(_0x3762d4){return Promise['all'](_0x3762d4['map'](_0x54095d=>Promise['race']([v(_0x54095d),k(0x3e8)])));}(_0xe88a15)['then'](()=>{for(const _0x4cef3d of _0xe88a15['filter'](_0x151470=>!_0x151470['closest']('table')))if(_0x4cef3d['offsetParent']){const _0x52636e=_0x2c5925['window']['getComputedStyle'](_0x4cef3d),_0x17d108=_0x2c5925['document']['createElement']('span');for(const _0x1dd0c2 of _0x52636e)_0x17d108['style']['setProperty'](_0x1dd0c2,_0x52636e[_0x1dd0c2]);_0x17d108['style']['backgroundImage']='url(\x20'+_0x4cef3d['src']+'\x20)',_0x17d108['style']['breakInside']='avoid','PICTURE'==_0x4cef3d['parentElement']?.['tagName']?_0x4cef3d['parentElement']['replaceWith'](_0x17d108):_0x4cef3d['replaceWith'](_0x17d108);}return new Promise(_0x47b8af=>_0x2c5925['window']['requestAnimationFrame'](()=>_0x47b8af()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x3323d0=this['_pagesContainer']['element'];if(!_0x3323d0['ownerDocument']['body']['contains'](_0x3323d0))return;const _0x27f8c5=new _0x3a8741(_0x3323d0)['excludeScrollbarsAndBorders'](),_0x241061=Math['floor'](_0x27f8c5['width']+0x64),_0x58f0b7=_(_0x3323d0,Math['floor'](_0x27f8c5['left']-_0x3323d0['scrollLeft']),_0x241061,_0x27f8c5['height'])['map'](_0x477d85=>this['_mapPageStarterInfoToPageBreakInfo'](_0x477d85))['filter'](_0x31b78c=>!0x1!==_0x31b78c);_0x58f0b7['every'](_0x34dc9a=>!!_0x34dc9a)&&(this['pageBreaks']=_0x58f0b7);}_mapPageStarterInfoToPageBreakInfo(_0x6d7d29){const _0x528e4f=this['editor']['editing']['view'],_0x11dc31=this['editor']['editing']['mapper'],_0x66bad9=_0x528e4f['domConverter'],_0x3d4a9a=_0x6d7d29['path']['shift'](),_0x20d151=this['_pagesContainer']['element']['childNodes'][_0x3d4a9a]['dataset']['rootName'],_0x3e7936=_0x528e4f['getDomRoot'](_0x20d151);if(!_0x3e7936)return null;const _0x4659b3=function(_0x51b7b0,_0x49a160){let _0x775ca=_0x51b7b0;for(const _0xc4323f of _0x49a160['path']){if(!_0x775ca)return null;_0x775ca=_0x775ca['childNodes'][_0xc4323f];}return _0x775ca;}(_0x3e7936,_0x6d7d29);if(!_0x4659b3)return null;const _0x283cb4=_0x66bad9['domPositionToView'](_0x4659b3,_0x6d7d29['textOffset']||0x0);return _0x283cb4?'manual'==_0x6d7d29['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x283cb4,_0x4659b3):'text'==_0x6d7d29['type']&&_0x11dc31['toModelPosition'](_0x283cb4)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x283cb4,_0x4659b3,_0x6d7d29['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x283cb4,_0x4659b3,_0x6d7d29['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x5db2f1,_0x3d54c0){const _0x2411d9=this['editor']['model'],_0x1beb4d=this['editor']['editing']['mapper']['toModelElement'](_0x5db2f1['parent']),_0x418d2c=_0x2411d9['createRangeOn'](_0x1beb4d);return new y({'type':'manual','modelRange':_0x418d2c,'domNode':_0x3d54c0,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x3a8e65,_0xdd3838,_0x103be4){const _0x22f000=this['editor']['model'],_0x4b68d8=this['editor']['editing']['mapper'],_0x4b13f6=this['editor']['editing']['view']['domConverter'];if(_0x103be4>=_0xdd3838['length'])return null;const _0x20dbd7=_0x4b68d8['toModelPosition'](_0x3a8e65),_0x48f88f=_0x22f000['createRange'](_0x20dbd7),_0x2ddf8f=_0x4b68d8['findMappedViewAncestor'](_0x3a8e65),_0x3a4f5b=_0x4b13f6['mapViewToDom'](_0x2ddf8f);return new y({'type':'text','modelRange':_0x48f88f,'domNode':_0xdd3838,'offset':P(_0xdd3838,_0x103be4,_0x3a4f5b)});}_mapElementPageStarterInfoToPageBreakInfo(_0x458795,_0x123433,_0x58697c){const _0x3ced01=this['editor']['model'],_0x300eb4=this['editor']['editing'],_0x243723=_0x300eb4['mapper'],_0x55da09=_0x300eb4['view']['domConverter'],_0x17d78d=_0x243723['findMappedViewAncestor'](_0x458795),_0x371913=_0x243723['toModelElement'](_0x17d78d);if(!_0x371913||_0x371913['is']('rootElement'))return!0x1;const _0x52a637=function(_0x467492){const _0x44f3aa=_0x467492['parent'],_0x43caed=_0x44f3aa['root']['document']['model'],_0x926ba2=_0x44f3aa['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0xd8fc7f=null;for(const _0x2bd72b of _0x926ba2){if(_0x2bd72b['is']('rootElement'))return _0xd8fc7f;if(!_0x43caed['createPositionBefore'](_0x2bd72b)['isTouching'](_0x467492))return _0xd8fc7f;_0xd8fc7f=_0x2bd72b;}}(_0x3ced01['createPositionBefore'](_0x371913))||_0x371913;let _0x55e5d0=_0x243723['toViewElement'](_0x52a637),_0x4f0398=_0x3ced01['createRangeOn'](_0x52a637);const _0x43d836=_0x3ced01['createPositionBefore'](_0x52a637)['nodeBefore'];if(_0x43d836&&_0x43d836['is']('element','imageBlock')){const _0x4e0941=_0x243723['toViewElement'](_0x43d836),_0x1f9993=_0x55da09['mapViewToDom'](_0x4e0941),_0x29756c=_0x2c5925['window']['getComputedStyle'](_0x1f9993)['float'];'left'!=_0x29756c&&'right'!=_0x29756c||(_0x4f0398=_0x3ced01['createRangeOn'](_0x43d836));}for(;_0x55e5d0['parent']!==_0x55e5d0['root']&&0x0===_0x55e5d0['index'];)_0x55e5d0=_0x55e5d0['parent'];const _0x4b9de8=new _0x3a8741(K(_0x123433)?_0x123433:L(_0x123433)),_0xd93efb=_0x58697c?_0x4b9de8['height']-_0x58697c:0x0,_0x4ea165=_0x55da09['mapViewToDom'](_0x55e5d0),_0x34ad11=new _0x3a8741(_0x4ea165);return new y({'type':'element','modelRange':_0x4f0398,'domNode':_0x4ea165,'offset':Math['round'](_0xd93efb)||_0x17d78d!=b(_0x458795)?_0xd93efb+_0x4b9de8['top']-_0x34ad11['top']:0x0});}get['_configuredPaddings'](){const _0x3cf2de=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x3cf2de);}static _findPageStarterInfos(_0x329869,_0x223e95,_0x5793bd,_0x421e50,_0x40a198){return _(_0x329869,_0x223e95,_0x5793bd,_0x421e50,_0x40a198);}},y=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x436e4d,modelRange:_0x4c6dc4,domNode:_0x3e1758,offset:_0x22a2a3}){this['type']=_0x436e4d,this['modelRange']=_0x4c6dc4,this['_domNode']=_0x3e1758,this['_offset']=_0x22a2a3;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x6b8b25=new _0x3a8741(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x6b8b25['top']+_0x6b8b25['height']/0x2:_0x6b8b25['top']+this['_offset'];}};function P(_0x1f7af3,_0x56df3f,_0x598c88){const _0x2eff7d=L(_0x1f7af3),_0x5cd25b=function(_0x59371d){const _0x20014f=_0x2c5925['document']['createRange']();return _0x20014f['selectNodeContents'](_0x59371d),_0x20014f;}(_0x598c88);let _0x4bfd72;_0x4bfd72=0x0==_0x56df3f?N(_0x5cd25b['startContainer'],_0x5cd25b['startOffset'],_0x1f7af3['parentNode'],Array['from'](_0x1f7af3['parentNode']['childNodes'])['indexOf'](_0x1f7af3)):N(_0x5cd25b['startContainer'],_0x5cd25b['startOffset'],_0x1f7af3,_0x56df3f);const _0x394a19=N(_0x1f7af3,_0x56df3f,_0x5cd25b['endContainer'],_0x5cd25b['endOffset']),_0xc95b76=new _0x3a8741(_0x4bfd72)['bottom'];return(new _0x3a8741(_0x394a19)['top']+_0xc95b76)/0x2-new _0x3a8741(_0x2eff7d)['top'];}function b(_0x32915c){let _0x2585e6=_0x32915c['parent'];for(;_0x2585e6['is']('$text')||_0x2585e6['is']('attributeElement');)_0x2585e6=_0x2585e6['parent'];return _0x2585e6;}function v(_0x4eafee){return _0x4eafee['hasAttribute']('width')&&_0x4eafee['hasAttribute']('height')?Promise['resolve']():new Promise(_0x1906bf=>{function _0x58e7b4(){_0x4eafee['removeEventListener']('load',_0x58e7b4),_0x4eafee['removeEventListener']('error',_0x58e7b4),_0x1906bf();}_0x4eafee['complete']?_0x1906bf():(_0x4eafee['addEventListener']('load',_0x58e7b4),_0x4eafee['addEventListener']('error',_0x58e7b4));});}function k(_0x561a80){return new Promise(_0x9c547=>setTimeout(_0x9c547,_0x561a80));}function L(_0x3ad4b6){const _0x362c94=_0x2c5925['document']['createRange']();return _0x362c94['selectNode'](_0x3ad4b6),_0x362c94;}function x(_0xabf4c4,_0x441709,_0x535af2){const _0x2794f9=_0x2c5925['document']['createRange']();return _0x2794f9['setStart'](_0xabf4c4,_0x441709),_0x2794f9['setEnd'](_0xabf4c4,_0x535af2),_0x2794f9;}function N(_0x34edef,_0x36ced9,_0x12a9d9,_0x27f85a){const _0x281d42=_0x2c5925['document']['createRange']();return _0x281d42['setStart'](_0x34edef,_0x36ced9),_0x281d42['setEnd'](_0x12a9d9,_0x27f85a),_0x281d42;}function _(_0x2f2b52,_0x598909,_0x53acfe,_0x2dddbd,_0x191fed){const _0x522153=[];for(const [_0x1881b8,_0x43ee52]of _0x2f2b52['childNodes']['entries']()){let _0x2c6944=[];K(_0x43ee52)&&_0x43ee52['offsetParent']&&['static','relative']['includes'](_0x2c5925['window']['getComputedStyle'](_0x43ee52)['position'])?_0x2c6944=E(_0x43ee52,_0x1881b8,_0x598909,_0x53acfe,_0x2dddbd,_0x191fed):O(_0x43ee52)&&(_0x2c6944=S(_0x43ee52,_0x1881b8,_0x598909,_0x53acfe,_0x191fed)),_0x2c6944['length']&&(_0x522153['push'](..._0x2c6944),_0x598909+=_0x2c6944['length']*_0x53acfe,_0x191fed=!0x1);}return _0x522153;}function E(_0x570e83,_0x1e0e82,_0x856913,_0x9f78cf,_0x57a58f,_0x56265c){const _0x500b9c=[];var _0x1ea407;if((_0x1ea407=_0x570e83['previousSibling'])&&K(_0x1ea407)&&Boolean(_0x1ea407['classList']['contains']('page-break')||_0x1ea407['closest']('.page-break'))&&(_0x500b9c['push']({'type':'manual','offset':0x0,'path':[_0x1e0e82-0x1]}),_0x56265c=!0x0),'table-row'==_0x2c5925['window']['getComputedStyle'](_0x570e83)['display']){let _0x53fb9f=0x0,_0xe8130d=!0x1;for(const _0x1fa47e of _0x570e83['getClientRects']())_0x53fb9f+=_0x1fa47e['height'],_0x1fa47e['left']>=_0x856913&&(_0xe8130d=!0x0);if(_0x53fb9f<_0x57a58f&&_0xe8130d)return _0x56265c||_0x500b9c['push']({'type':'element','offset':0x0,'path':[_0x1e0e82]}),_0x500b9c;}const _0x106208=_0x570e83['closest']('figure.image');if(_0x106208&&function(_0x1b5a9f){let _0x228f02=!0x1;const _0x204376=_0x1b5a9f['parentElement']['dataset']['rootName'],_0xab881e=_0x1b5a9f['nextElementSibling'],_0x446e7f=_0x1b5a9f['previousElementSibling'],_0x29f6f0=_0xab881e&&_0x2c5925['window']['getComputedStyle'](_0xab881e)['float'],_0x5d399f=_0xab881e&&'ck-fake-selection-container'===_0xab881e['className'];return!_0x204376||_0xab881e||_0x446e7f||(_0x228f02=!0x0),_0x204376&&!_0x446e7f&&_0x5d399f&&(_0x228f02=!0x0),_0x204376&&!_0x446e7f&&'none'!==_0x29f6f0&&(_0x228f02=!0x0),!_0x228f02;}(_0x106208)){const _0x75d32f=_0x2c5925['window']['getComputedStyle'](_0x106208)['float'];if('left'==_0x75d32f||'right'==_0x75d32f)return _0x500b9c;}const _0x2a8890=_(_0x570e83,_0x856913,_0x9f78cf,_0x57a58f,_0x56265c);if(_0x2a8890['length']){for(const _0x46d7e6 of _0x2a8890)_0x500b9c['push']({'type':_0x46d7e6['type'],'offset':_0x46d7e6['offset'],'textOffset':_0x46d7e6['textOffset'],'path':[_0x1e0e82,..._0x46d7e6['path']]}),_0x856913+=_0x9f78cf;return _0x500b9c;}return _0x500b9c['push'](...function(_0x31552d,_0x38b286,_0x52010a,_0x22dcaf,_0x55404c){const _0x5414e6=[];if('table-cell'==_0x2c5925['window']['getComputedStyle'](_0x31552d)['display'])return[];const _0x1344ee=[];for(const _0x4d00be of _0x31552d['getClientRects']())if(_0x4d00be['left']>=_0x52010a){for(const _0x5e5d62 of _0x1344ee)_0x5e5d62['height']+=_0x4d00be['height'];_0x1344ee['push']({'height':_0x4d00be['height']}),_0x52010a+=_0x22dcaf;}for(const _0x26eebd of _0x1344ee)_0x55404c||_0x5414e6['push']({'type':'element','offset':_0x26eebd['height'],'textOffset':0x0,'path':[_0x38b286]}),_0x55404c=!0x1;return _0x5414e6;}(_0x570e83,_0x1e0e82,_0x856913,_0x9f78cf,_0x56265c)),_0x500b9c;}function S(_0x5514db,_0x4feb75,_0x751fb0,_0x12ef32,_0x20d579){const _0x5d83c1=L(_0x5514db),_0x2950c6=[];let _0x1c7258=0x0;for(const _0x2b4dfa of _0x5d83c1['getClientRects']())if(_0x2b4dfa['left']>=_0x751fb0){const _0x1d1cee=R(_0x5514db,_0x1c7258,_0x751fb0,_0x12ef32);_0x20d579||_0x2950c6['push']({'type':'text','path':[_0x4feb75],'textOffset':_0x1d1cee}),_0x1c7258=_0x1d1cee,_0x751fb0+=_0x12ef32,_0x20d579=!0x1;}return _0x2950c6;}function R(_0x54ad3d,_0x453ae3,_0xdc57be,_0x3187ac){let _0x2ff00c=_0x453ae3,_0x454740=_0x54ad3d['length'];for(;_0x454740-_0x2ff00c>0x1;){const _0x1b90b3=Math['ceil']((_0x2ff00c+_0x454740)/0x2);I(x(_0x54ad3d,_0x2ff00c,_0x1b90b3),_0xdc57be,_0x3187ac)?_0x454740=_0x1b90b3:_0x2ff00c=_0x1b90b3;}return _0x2ff00c;}function I(_0x589582,_0x3adadc,_0x4a35df){for(const _0xf47487 of _0x589582['getClientRects']())if(_0xf47487['left']>=_0x3adadc&&_0xf47487['left']<_0x3adadc+_0x4a35df)return!0x0;return!0x1;}function K(_0x5deb57){return _0x5deb57['nodeType']==Node['ELEMENT_NODE'];}function O(_0x1452e0){return _0x1452e0['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2d075b('px');var U=class extends _0x306c08{constructor(){super();const _0x32263b=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x32263b['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x32263b['if']('isVisible','ck-hidden',_0xc180a0=>!_0xc180a0)],'style':{'left':_0x32263b['to']('left',_0x59fb82=>A(_0x59fb82)),'top':_0x32263b['to']('top',_0x118ccb=>A(_0x118ccb)),'width':_0x32263b['to']('width',_0x5473ae=>A(_0x5473ae))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2d8246){this['_viewCollection']=_0x2d8246['ui']['view']['body'];}destroy(){for(const _0x1e46ee of this['_hiddenLines'])_0x1e46ee['destroy']();}['cleanLines'](){for(const _0x415fcf of this['_visibleLines'])_0x415fcf['isVisible']=!0x1,this['_hiddenLines']['add'](_0x415fcf);this['_visibleLines']['clear']();}['showLine'](_0x260b66,_0x3bbcb7,_0x2f3f49,_0x5f555e){let _0x3c56ff;this['_hiddenLines']['size']?(_0x3c56ff=_0x2a5569(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x3c56ff)):_0x3c56ff=new U(),_0x3c56ff['set']({'pageNumber':_0x5f555e,'left':_0x260b66,'top':_0x3bbcb7,'width':_0x2f3f49}),_0x3c56ff['isVisible']=!0x0,this['_viewCollection']['has'](_0x3c56ff)||this['_viewCollection']['add'](_0x3c56ff),this['_visibleLines']['add'](_0x3c56ff);}setViewCollection(_0x553bb4){for(const _0x41c750 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x41c750)&&this['_viewCollection']['remove'](_0x41c750);this['_viewCollection']=_0x553bb4;}};const D='ck-pagination_enabled';var B=class extends _0x2ddd28{linesRepository;_scrollableEditingRootDomAncestor=null;['_resizeObserver']=null;_paginationLookupPlugin;static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['set']({'pageNumber':0x1}),this['linesRepository']=new C(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](D),this['on']('change:isEnabled',(_0x13c266,_0x1d6413,_0x582b6e)=>{_0x582b6e||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x582b6e);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x83d724){if(!this['isEnabled'])return;const _0x3402b0=_0x83d724>0x1?this['_getPageBreakLineOffset'](_0x83d724-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3402b0-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0xf7af0d['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x1d9d26=this['editor'],_0x43b853=this['_getAttachedDomRoot']();_0x43b853?(this['_scrollableEditingRootDomAncestor']&&_0x1d9d26['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x2df64a){let _0x33105b=_0x2df64a;do{_0x33105b=_0x33105b['parentElement'];const _0x5c9819=_0x2c5925['window']['getComputedStyle'](_0x33105b)['overflowY'];if('auto'==_0x5c9819||'scroll'==_0x5c9819)break;}while('BODY'!=_0x33105b['tagName']);return _0x33105b;}(_0x43b853),_0x1d9d26['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x27fa13(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x1d9d26['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x331792=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x331792['ui']['view']['listenTo'](_0x2c5925['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x331792['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x4bc747 of this['editor']['editing']['view']['domRoots']['values']())if(_0x4bc747['ownerDocument']['body']['contains'](_0x4bc747))return _0x4bc747;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x17e142=this['_getAttachedDomRoot'](),_0x143c95=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x17e142||0x1==_0x143c95['length'])return void(this['pageNumber']=0x1);const _0xd55229=new _0x3a8741(_0x17e142)['excludeScrollbarsAndBorders'](),_0xcd0c16=new _0x3a8741(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x2b9b36=_0xcd0c16['top']+_0xcd0c16['height']/0x3;let _0x1ba956=!0x1;const _0x366562=[];for(let _0x1f3d62=0x1;_0x1f3d62<_0x143c95['length'];_0x1f3d62++){const _0x3beb15=this['_getPageBreakLineOffset'](_0x1f3d62,_0xcd0c16);if(!_0x3beb15)continue;const _0x2b1487=_0xcd0c16['top']+_0x3beb15-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x366562['push']({'pageOffsetTop':_0x2b1487,'domRootRect':_0xd55229,'domScrollableRect':_0xcd0c16,'pageNumber':_0x1f3d62}),_0x2b1487>_0x2b9b36&&!_0x1ba956&&(this['pageNumber']=_0x1f3d62,_0x1ba956=!0x0);}this['_renderPageBreakLines'](_0x366562),_0x1ba956||(this['pageNumber']=_0x143c95['length']);}['_renderPageBreakLines'](_0xd1aa07){const {scrollX:_0x154d18,scrollY:_0x857cf5}=_0x2c5925['window'];if(_0xd1aa07['length']){for(const {domScrollableRect:_0x5442ce,pageOffsetTop:_0x556909,domRootRect:_0x67fa68,pageNumber:_0x3cc1c8}of _0xd1aa07)_0x5442ce['top']<_0x556909&&_0x556909<_0x5442ce['bottom']&&this['linesRepository']['showLine'](_0x67fa68['left']+_0x154d18,_0x556909+_0x857cf5,_0x67fa68['width'],_0x3cc1c8+0x1);}}_getPageBreakLineOffset(_0xb1d73f,_0x4e5169=null){const _0x227b44=this['_paginationLookupPlugin']['pageBreaks'][_0xb1d73f]['offset'];return _0x227b44?(_0x4e5169||(_0x4e5169=new _0x3a8741(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x227b44-_0x4e5169['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0xfee65c,_0x15831d=!0x0){const _0x433070=this['editor']['editing']['view'];_0x433070['change'](_0x56dfaf=>{for(const _0x15b128 of _0x433070['document']['roots'])_0x15831d?_0x56dfaf['addClass'](_0xfee65c,_0x15b128):_0x56dfaf['removeClass'](_0xfee65c,_0x15b128);});}};function T(_0x47df1b,_0x26581b,..._0x2d3172){const t=_0x47df1b['t'];switch(_0x26581b){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)',..._0x2d3172);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 _0x26581b;}}var G=class extends _0x2ddd28{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[w,B];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0xfe258b=this['editor']['plugins']['get']('Pagination'),_0xb94317=this['editor']['plugins']['get'](w),_0x19fecf=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0xfe258b),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x19fecf),this['listenTo'](_0xb94317,'change:pageBreaks',(_0x36138a,_0x1f0c91,_0x2dad87,_0x403bc9)=>{this['totalPages']=_0x2dad87['length'],this['_updatePageBreakMarkers'](_0x2dad87,_0x403bc9);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x537403=[this['editor']];for(const _0x8a63b8 of _0x537403){let _0x28a7b5;for(const _0x4ea749 in _0x8a63b8){const _0x271e9d=_0x4ea749,_0x2f14c4=_0x8a63b8[_0x271e9d];if('paginationLicenseKeyValid'==_0x2f14c4||'paginationLicenseKeyInvalid'==_0x2f14c4||'paginationLicenseKeyExpired'==_0x2f14c4||'paginationLicenseKeyDomainLimit'==_0x2f14c4||'paginationLicenseKeyNotAllowed'==_0x2f14c4||'paginationLicenseKeyEvaluationLimit'==_0x2f14c4||'paginationLicenseKeyUsageLimit'==_0x2f14c4){delete _0x8a63b8[_0x271e9d],_0x28a7b5=_0x2f14c4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x28a7b5&&_0x8a63b8['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x28a7b5&&_0x8a63b8['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x28a7b5&&_0x8a63b8['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x28a7b5&&_0x8a63b8['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x28a7b5&&_0x8a63b8['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x28a7b5&&_0x8a63b8['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0xd5d98){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0xd5d98));}moveSelectionToPage(_0x46302e){if(!this['isEnabled'])return;const _0x226b18=this['editor'],_0x2f396e=this['editor']['plugins']['get'](w)['pageBreaks'][_0x46302e-0x1];_0x2f396e&&_0x226b18['model']['change'](_0xf7be4=>{switch(_0x2f396e['type']){case'manual':{const _0x35c835=_0x226b18['model']['schema']['getNearestSelectionRange'](_0x2f396e['modelRange']['end'],'forward');_0xf7be4['setSelection'](_0x35c835);break;}case'element':{const _0x10f12c=_0x226b18['model']['schema']['getNearestSelectionRange'](_0x2f396e['modelRange']['start'],'forward');_0xf7be4['setSelection'](_0x10f12c);break;}case'text':{const _0x803012=_0x2f396e['modelRange']['start'];if(_0x803012['textNode']&&'\x20'===_0x803012['textNode']['data'][_0x803012['offset']]){const _0x1102d8=_0xf7be4['createPositionAt'](_0x803012['parent'],_0x803012['offset']+0x1);_0xf7be4['setSelection'](_0x1102d8);}else _0xf7be4['setSelection'](_0x2f396e['modelRange']);}}_0x226b18['editing']['view']['focus']();});}goToNextPage(){const _0x4d335c=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4d335c),this['scrollToPage'](_0x4d335c);}['goToPreviousPage'](){const _0x24e7b6=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x24e7b6),this['scrollToPage'](_0x24e7b6);}_updatePageBreakMarkers(_0x450ad4,_0x17ea45){const _0x523368=this['editor']['model'];this['isEnabled']&&_0x523368['change'](_0x552d37=>{for(let _0x6e4f65=0x1;_0x6e4f65<_0x450ad4['length'];_0x6e4f65++){const _0x51a7e3=_0x450ad4[_0x6e4f65]['modelRange'],_0x5659bb='pagination:'+(_0x6e4f65+0x1);_0x523368['markers']['has'](_0x5659bb)?_0x552d37['updateMarker'](_0x5659bb,{'range':_0x51a7e3}):_0x552d37['addMarker'](_0x5659bb,{'range':_0x51a7e3,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5d99ef=_0x450ad4['length'];_0x5d99ef<_0x17ea45['length'];_0x5d99ef++){const _0x1ae534='pagination:'+(_0x5d99ef+0x1);_0x523368['markers']['has'](_0x1ae534)&&_0x552d37['removeMarker'](_0x1ae534);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x1007c9=>{_0x1007c9['on']('addMarker:pagination',(_0x539c3f,{markerRange:_0x83d4e8,markerName:_0x3ac9a5},_0x1a2f57)=>{if(!_0x1a2f57['options']['pagination'])return;if(!_0x1a2f57['consumable']['consume'](_0x83d4e8,_0x539c3f['name']))return;const _0x226bd5=_0x83d4e8['getContainedElement']();let _0x4d225a=_0x226bd5?_0x1a2f57['mapper']['toViewElement'](_0x226bd5):null;if(!_0x4d225a){const _0x1a7bd3=_0x83d4e8['start'];if(_0x1a2f57['schema']['checkChild'](_0x1a7bd3,'$text')){const _0x4c66b9=_0x1a2f57['mapper']['toViewPosition'](_0x1a7bd3);_0x4d225a=_0x1a2f57['writer']['createContainerElement']('span'),_0x4d225a['getFillerOffset']=()=>null,_0x1a2f57['writer']['insert'](_0x4c66b9,_0x4d225a);}else{const _0x3db429=_0x1a7bd3['nodeAfter'];_0x4d225a=_0x1a2f57['mapper']['toViewElement'](_0x3db429);}}for(;_0x4d225a['parent']!==_0x4d225a['root']&&0x0===_0x4d225a['index'];)_0x4d225a=_0x4d225a['parent'];const _0x387726=_0x3ac9a5['substring'](0xb);_0x4d225a['hasClass']('page-break')||(_0x1a2f57['writer']['setStyle']('page-break-before','always',_0x4d225a),_0x1a2f57['writer']['setAttribute']('data-pagination-page',_0x387726,_0x4d225a),_0x1a2f57['mapper']['bindElementToMarker'](_0x4d225a,_0x3ac9a5)),_0x539c3f['stop']();});});}_setupKeystrokes(){const _0x421020=this['editor'];_0x421020['keystrokes']['set']('Shift+Pageup',(_0x2970f4,_0x1144ab)=>{this['goToPreviousPage'](),_0x1144ab();}),_0x421020['keystrokes']['set']('Shift+Pagedown',(_0x17890a,_0x3b9810)=>{this['goToNextPage'](),_0x3b9810();}),_0x421020['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x421020['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x421020['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x421020['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x6ae668){return _0x6ae668<0x1&&(_0x6ae668=0x1),_0x6ae668>this['totalPages']&&(_0x6ae668=this['totalPages']),_0x6ae668;}},V=class extends _0x306c08{['pageNumberView'];constructor(_0x10ba79){super(_0x10ba79);const _0x5ca2c9=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x6df213(_0x10ba79,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x1fdf2a=>T(_0x10ba79,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x1fdf2a)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x494e3f=>!_0x494e3f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5ca2c9['if']('isEnabled','ck-disabled',_0x42a419=>!_0x42a419)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5ca2c9['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1961d7=this['pageNumberView']['element'],_0x995c72=_0x58c9a4=>{this['pageNumberView']['element']['value']=String(_0x58c9a4);};_0x995c72(this['pageNumber']),this['on']('change:pageNumber',(_0x5226df,_0xf565ce,_0x4704d9)=>{_0x995c72(_0x4704d9);}),this['listenTo'](_0x1961d7,'keydown',(_0x433f2a,_0x44c6c2)=>{if('ArrowUp'===_0x44c6c2['key']||'ArrowDown'===_0x44c6c2['key'])return void _0x44c6c2['stopPropagation']();if(_0x44c6c2['keyCode']!==_0x483b87['enter'])return;_0x44c6c2['preventDefault']();const _0x35dc9a=_0x1961d7['valueAsNumber'];Number['isNaN'](_0x35dc9a)?_0x1961d7['value']=String(this['pageNumber']):(_0x1961d7['checkValidity']()?this['pageNumber']=_0x35dc9a:_0x35dc9a>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1961d7['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1961d7['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1961d7,'blur',()=>{_0x1961d7['value']=String(this['pageNumber']);}),this['listenTo'](_0x1961d7,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x2ddd28{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x138713=this['editor'],_0x21b49c=_0x138713['plugins']['get']('PaginationEditing');_0x138713['ui']['componentFactory']['add']('pageNavigation',_0x2793c9=>{const _0x2853bc=new V(_0x2793c9);return _0x2853bc['bind']('pageNumber')['to'](_0x21b49c),_0x2853bc['bind']('totalPages')['to'](_0x21b49c),_0x2853bc['bind']('isEnabled')['to'](_0x21b49c),_0x2853bc['on']('navigation',(_0x43a576,_0x2a8d1f)=>{_0x21b49c['moveSelectionToPage'](_0x2a8d1f),_0x21b49c['scrollToPage'](_0x2a8d1f);}),_0x2853bc;}),_0x138713['ui']['componentFactory']['add']('nextPage',_0x4cb3e4=>{const _0xe0e37f=new _0x406fb8(_0x4cb3e4);return _0xe0e37f['isEnabled']=!0x0,_0xe0e37f['label']=T(_0x138713['locale'],'Go\x20to\x20next\x20page'),_0xe0e37f['icon']=_0x31e8dd,_0xe0e37f['tooltip']=!0x0,_0xe0e37f['keystroke']='Shift+PageDown',_0xe0e37f['bind']('isEnabled')['to'](_0x21b49c),this['listenTo'](_0xe0e37f,'execute',()=>{_0x21b49c['goToNextPage']();}),_0xe0e37f;}),_0x138713['ui']['componentFactory']['add']('previousPage',_0x48e871=>{const _0x199cb7=new _0x406fb8(_0x48e871);return _0x199cb7['isEnabled']=!0x0,_0x199cb7['label']=T(_0x138713['locale'],'Go\x20to\x20previous\x20page'),_0x199cb7['icon']=_0x4f6030,_0x199cb7['tooltip']=!0x0,_0x199cb7['keystroke']='Shift+PageUp',_0x199cb7['bind']('isEnabled')['to'](_0x21b49c),this['listenTo'](_0x199cb7,'execute',()=>{_0x21b49c['goToPreviousPage']();}),_0x199cb7;});}},$=class extends _0x2ddd28{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x51cacc){super(_0x51cacc),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0xf6166e=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0xf6166e),this['bind']('totalPages')['to'](_0xf6166e),_0xf7af0d['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x328d70){this['editor']['plugins']['get'](G)['scrollToPage'](_0x328d70);}};export{$ as Pagination,B as PaginationRenderer};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b63fd=>{const {af:_0xeaddd3}={'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)':''}}};_0x2b63fd['af']||={'dictionary':{},'getPluralForm':null},_0x2b63fd['af']['dictionary']=Object['assign'](_0x2b63fd['af']['dictionary'],_0xeaddd3['dictionary']),_0xeaddd3['getPluralForm']&&(_0x2b63fd['af']['getPluralForm']=_0xeaddd3['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e5e13=>{const {ar:_0x2b950f}={'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أيضاً)'}}};_0x2e5e13['ar']||={'dictionary':{},'getPluralForm':null},_0x2e5e13['ar']['dictionary']=Object['assign'](_0x2e5e13['ar']['dictionary'],_0x2b950f['dictionary']),_0x2b950f['getPluralForm']&&(_0x2e5e13['ar']['getPluralForm']=_0x2b950f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e3a05=>{const {ast:_0x3021e6}={'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)':''}}};_0x5e3a05['ast']||={'dictionary':{},'getPluralForm':null},_0x5e3a05['ast']['dictionary']=Object['assign'](_0x5e3a05['ast']['dictionary'],_0x3021e6['dictionary']),_0x3021e6['getPluralForm']&&(_0x5e3a05['ast']['getPluralForm']=_0x3021e6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x101410=>{const {az:_0x100153}={'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)':''}}};_0x101410['az']||={'dictionary':{},'getPluralForm':null},_0x101410['az']['dictionary']=Object['assign'](_0x101410['az']['dictionary'],_0x100153['dictionary']),_0x100153['getPluralForm']&&(_0x101410['az']['getPluralForm']=_0x100153['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41ae6e=>{const {be:_0x36a9dc}={'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)':''}}};_0x41ae6e['be']||={'dictionary':{},'getPluralForm':null},_0x41ae6e['be']['dictionary']=Object['assign'](_0x41ae6e['be']['dictionary'],_0x36a9dc['dictionary']),_0x36a9dc['getPluralForm']&&(_0x41ae6e['be']['getPluralForm']=_0x36a9dc['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x8e81bc=>{const {bg:_0x428ad7}={'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селекцията)'}}};_0x8e81bc['bg']||={'dictionary':{},'getPluralForm':null},_0x8e81bc['bg']['dictionary']=Object['assign'](_0x8e81bc['bg']['dictionary'],_0x428ad7['dictionary']),_0x428ad7['getPluralForm']&&(_0x8e81bc['bg']['getPluralForm']=_0x428ad7['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x207f07=>{const {bn:_0x294203}={'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নিন)'}}};_0x207f07['bn']||={'dictionary':{},'getPluralForm':null},_0x207f07['bn']['dictionary']=Object['assign'](_0x207f07['bn']['dictionary'],_0x294203['dictionary']),_0x294203['getPluralForm']&&(_0x207f07['bn']['getPluralForm']=_0x294203['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x73eec9=>{const {bs:_0x5ace79}={'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)':''}}};_0x73eec9['bs']||={'dictionary':{},'getPluralForm':null},_0x73eec9['bs']['dictionary']=Object['assign'](_0x73eec9['bs']['dictionary'],_0x5ace79['dictionary']),_0x5ace79['getPluralForm']&&(_0x73eec9['bs']['getPluralForm']=_0x5ace79['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x466e59=>{const {ca:_0x1a04de}={'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ó)'}}};_0x466e59['ca']||={'dictionary':{},'getPluralForm':null},_0x466e59['ca']['dictionary']=Object['assign'](_0x466e59['ca']['dictionary'],_0x1a04de['dictionary']),_0x1a04de['getPluralForm']&&(_0x466e59['ca']['getPluralForm']=_0x1a04de['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4937b2=>{const {cs:_0x4b0fd2}={'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)'}}};_0x4937b2['cs']||={'dictionary':{},'getPluralForm':null},_0x4937b2['cs']['dictionary']=Object['assign'](_0x4937b2['cs']['dictionary'],_0x4b0fd2['dictionary']),_0x4b0fd2['getPluralForm']&&(_0x4937b2['cs']['getPluralForm']=_0x4b0fd2['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a8a40=>{const {da:_0x4b6ec7}={'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)'}}};_0x5a8a40['da']||={'dictionary':{},'getPluralForm':null},_0x5a8a40['da']['dictionary']=Object['assign'](_0x5a8a40['da']['dictionary'],_0x4b6ec7['dictionary']),_0x4b6ec7['getPluralForm']&&(_0x5a8a40['da']['getPluralForm']=_0x4b6ec7['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ee4ac=>{const {'de-ch':_0x334799}={'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)':''}}};_0x1ee4ac['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1ee4ac['de-ch']['dictionary']=Object['assign'](_0x1ee4ac['de-ch']['dictionary'],_0x334799['dictionary']),_0x334799['getPluralForm']&&(_0x1ee4ac['de-ch']['getPluralForm']=_0x334799['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1befc2=>{const {de:_0x43d929}={'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)'}}};_0x1befc2['de']||={'dictionary':{},'getPluralForm':null},_0x1befc2['de']['dictionary']=Object['assign'](_0x1befc2['de']['dictionary'],_0x43d929['dictionary']),_0x43d929['getPluralForm']&&(_0x1befc2['de']['getPluralForm']=_0x43d929['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x398abd=>{const {el:_0x195b82}={'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μετακίνησης)'}}};_0x398abd['el']||={'dictionary':{},'getPluralForm':null},_0x398abd['el']['dictionary']=Object['assign'](_0x398abd['el']['dictionary'],_0x195b82['dictionary']),_0x195b82['getPluralForm']&&(_0x398abd['el']['getPluralForm']=_0x195b82['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x548975=>{const {'en-au':_0x55c154}={'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)':''}}};_0x548975['en-au']||={'dictionary':{},'getPluralForm':null},_0x548975['en-au']['dictionary']=Object['assign'](_0x548975['en-au']['dictionary'],_0x55c154['dictionary']),_0x55c154['getPluralForm']&&(_0x548975['en-au']['getPluralForm']=_0x55c154['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47da01=>{const {'en-gb':_0x222508}={'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)':''}}};_0x47da01['en-gb']||={'dictionary':{},'getPluralForm':null},_0x47da01['en-gb']['dictionary']=Object['assign'](_0x47da01['en-gb']['dictionary'],_0x222508['dictionary']),_0x222508['getPluralForm']&&(_0x47da01['en-gb']['getPluralForm']=_0x222508['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4bc9ef=>{const {en:_0x3d7291}={'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)'}}};_0x4bc9ef['en']||={'dictionary':{},'getPluralForm':null},_0x4bc9ef['en']['dictionary']=Object['assign'](_0x4bc9ef['en']['dictionary'],_0x3d7291['dictionary']),_0x3d7291['getPluralForm']&&(_0x4bc9ef['en']['getPluralForm']=_0x3d7291['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38bf79=>{const {eo:_0x391030}={'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)':''}}};_0x38bf79['eo']||={'dictionary':{},'getPluralForm':null},_0x38bf79['eo']['dictionary']=Object['assign'](_0x38bf79['eo']['dictionary'],_0x391030['dictionary']),_0x391030['getPluralForm']&&(_0x38bf79['eo']['getPluralForm']=_0x391030['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x177f23=>{const {'es-co':_0x597f5e}={'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)':''}}};_0x177f23['es-co']||={'dictionary':{},'getPluralForm':null},_0x177f23['es-co']['dictionary']=Object['assign'](_0x177f23['es-co']['dictionary'],_0x597f5e['dictionary']),_0x597f5e['getPluralForm']&&(_0x177f23['es-co']['getPluralForm']=_0x597f5e['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57a456=>{const {es:_0x457178}={'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)'}}};_0x57a456['es']||={'dictionary':{},'getPluralForm':null},_0x57a456['es']['dictionary']=Object['assign'](_0x57a456['es']['dictionary'],_0x457178['dictionary']),_0x457178['getPluralForm']&&(_0x57a456['es']['getPluralForm']=_0x457178['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a1717=>{const {et:_0x1ae2f6}={'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)'}}};_0x5a1717['et']||={'dictionary':{},'getPluralForm':null},_0x5a1717['et']['dictionary']=Object['assign'](_0x5a1717['et']['dictionary'],_0x1ae2f6['dictionary']),_0x1ae2f6['getPluralForm']&&(_0x5a1717['et']['getPluralForm']=_0x1ae2f6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x56c333=>{const {eu:_0x383dd2}={'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)':''}}};_0x56c333['eu']||={'dictionary':{},'getPluralForm':null},_0x56c333['eu']['dictionary']=Object['assign'](_0x56c333['eu']['dictionary'],_0x383dd2['dictionary']),_0x383dd2['getPluralForm']&&(_0x56c333['eu']['getPluralForm']=_0x383dd2['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x456071=>{const {fa:_0x363c36}={'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)':''}}};_0x456071['fa']||={'dictionary':{},'getPluralForm':null},_0x456071['fa']['dictionary']=Object['assign'](_0x456071['fa']['dictionary'],_0x363c36['dictionary']),_0x363c36['getPluralForm']&&(_0x456071['fa']['getPluralForm']=_0x363c36['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e7fa0=>{const {fi:_0x323b4f}={'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)'}}};_0x3e7fa0['fi']||={'dictionary':{},'getPluralForm':null},_0x3e7fa0['fi']['dictionary']=Object['assign'](_0x3e7fa0['fi']['dictionary'],_0x323b4f['dictionary']),_0x323b4f['getPluralForm']&&(_0x3e7fa0['fi']['getPluralForm']=_0x323b4f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47f4de=>{const {fr:_0x45b2e8}={'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)'}}};_0x47f4de['fr']||={'dictionary':{},'getPluralForm':null},_0x47f4de['fr']['dictionary']=Object['assign'](_0x47f4de['fr']['dictionary'],_0x45b2e8['dictionary']),_0x45b2e8['getPluralForm']&&(_0x47f4de['fr']['getPluralForm']=_0x45b2e8['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x382448=>{const {gl:_0x4effd1}={'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)'}}};_0x382448['gl']||={'dictionary':{},'getPluralForm':null},_0x382448['gl']['dictionary']=Object['assign'](_0x382448['gl']['dictionary'],_0x4effd1['dictionary']),_0x4effd1['getPluralForm']&&(_0x382448['gl']['getPluralForm']=_0x4effd1['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|