@ckeditor/ckeditor5-pagination 48.5.0-alpha.6 → 48.5.0
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 _0x2ed189}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x5eb001,InputNumberView as _0x24bcf1,View as _0x3092d0}from'@ckeditor/ckeditor5-ui';import{Rect as _0x20277a,ResizeObserver as _0x111b89,env as _0x5834f7,first as _0x15eb0c,global as _0x51ac5d,keyCodes as _0x52b1a2,logWarning as _0x5cae08,toUnit as _0x1fb76e,uid as _0x5aa38e}from'@ckeditor/ckeditor5-utils';import{debounce as _0x1067ac}from'es-toolkit/compat';import{IconArrowDown as _0x28a8d1,IconArrowUp as _0x2b64e4}from'@ckeditor/ckeditor5-icons';var w=class extends _0x2ed189{_recalculatePageBreaksDebounced=_0x1067ac(()=>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 _0x5cae08('pagination-config-not-found',this['editor']['config']);const _0x4f3613=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x4f3613),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x4062f8,_0x33c311,_0xa4e096)=>{_0xa4e096&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x56d5a1){const _0x4ca580='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x27dd6e=0x79458,_0x531df2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x46c7e0(_0x15ffa8){const _0x53d542=new window['Promise'](_0x3d20bb=>{_0x15ffa8['once']('ready',_0x3d20bb);}),_0x53e948=window['Date']['now'](),_0x582269=_0x15ffa8['config']['get']('licenseKey');async function _0x33318e(){let _0x171aef,_0x1f6477=null,_0x453d6c=null;try{return'GPL'==_0x582269?'NotAllowed':(_0x171aef=_0x18a3aa(),_0x171aef?(_0x171aef['usageEndpoint']&&(_0x453d6c=_0x632141(_0x171aef['usageEndpoint'],_0x171aef['jti'])),await _0x20ea3c()?_0x5d63b0()?_0x217424()?'Expired':_0x110ba1()?('evaluation'==_0x171aef['licenseType']&&(_0x1f6477=_0x236068('EvaluationLimit')),await _0x29faaf()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x217424(){const _0x53dd49=['evaluation','trial']['includes'](_0x171aef['licenseType'])?_0x53e948/0x3e8:0xe10*_0x27dd6e;return _0x171aef['exp']<_0x53dd49;}function _0x5d63b0(){const _0x341fd1=_0x171aef['features'];return!!_0x341fd1&&(!!_0x341fd1['includes']('*')||!!_0x341fd1['includes']('PAG'));}function _0x110ba1(){const _0x2b6316=_0x171aef['licensedHosts'];if(!_0x2b6316||0x0==_0x2b6316['length'])return!0x0;const {hostname:_0x1482d6}=new URL(window['location']['href']);if(_0x2b6316['includes'](_0x1482d6))return!0x0;const _0x51a221=_0x1482d6['split']('.');return _0x2b6316['filter'](_0x18dba4=>_0x18dba4['includes']('*'))['map'](_0xc7ed60=>_0xc7ed60['split']('.'))['filter'](_0x507c28=>_0x507c28['length']<=_0x51a221['length'])['map'](_0x59f8db=>Array(_0x51a221['length']-_0x59f8db['length'])['fill']('*'===_0x59f8db[0x0]?'*':'')['concat'](_0x59f8db))['some'](_0x502fcd=>_0x51a221['every']((_0x285723,_0x32d20d)=>_0x502fcd[_0x32d20d]===_0x285723||'*'===_0x502fcd[_0x32d20d]));}function _0x29faaf(){return _0x1f6477&&_0x453d6c?new window['Promise']((_0x2cdb39,_0x11bf74)=>{_0x1f6477['then'](_0x2cdb39,_0x11bf74),_0x453d6c['then'](_0x1a7eb4=>{'Valid'!=_0x1a7eb4&&_0x2cdb39(_0x1a7eb4);},_0x11bf74);}):_0x1f6477||_0x453d6c||'Valid';}}function _0x632141(_0x411182,_0x325a24){return new window['Promise'](_0x11b8a1=>{if(_0x1086d4())return _0x11b8a1('Valid');_0x30adf6(),_0x15ffa8['decorate']('_sendUsageRequest');let _0x14bf42=!0x1;const _0x5c217c=_0x5aa38e();function _0x59e3c7(_0xfe6de5){return!!_0xfe6de5&&('object'==typeof _0xfe6de5||'function'==typeof _0xfe6de5)&&'function'==typeof _0xfe6de5['then']&&'function'==typeof _0xfe6de5['catch'];}function _0x544b9a(_0x5b6722){_0x319df9(_0x5b6722)['then'](_0x396210=>_0x396210&&'ok'==_0x396210['status']?_0x5ed143(_0x24c9fc(_0x5c217c+_0x325a24))!=_0x396210['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x406f90=>(_0x1996bb(),_0x406f90),()=>{const _0x4de4d8=_0x227356();return null==_0x4de4d8?(_0x1996bb(),'Valid'):_0x53e948-_0x4de4d8>0x240c8400?'UsageLimit':'Valid';})['then'](_0x11b8a1)['catch'](()=>{_0x11b8a1('UsageLimit');});const _0x6def4=0x36ee80;function _0x1996bb(){const _0xed2a56='llct-'+_0x5ed143(_0x24c9fc(_0x411182)),_0x55e984=_0x3a5a98(_0x5ed143(window['Math']['ceil'](_0x53e948/_0x6def4)));window['localStorage']['setItem'](_0xed2a56,_0x55e984);}function _0x227356(){const _0x20bee8='llct-'+_0x5ed143(_0x24c9fc(_0x411182)),_0x32281a=window['localStorage']['getItem'](_0x20bee8);return _0x32281a?window['parseInt'](_0x3a5a98(_0x32281a),0x10)*_0x6def4:null;}function _0x319df9(_0x138ef8){return new window['Promise']((_0x92ffa5,_0x29031d)=>{_0x138ef8['then'](_0x92ffa5,_0x29031d),window['setTimeout'](_0x29031d,0x1d4c0);});}}_0x15ffa8['on']('_sendUsageRequest',(_0x4d7a3a,_0x5cfdb7)=>{if(_0x5cfdb7[0x0]!=_0x411182)return _0x11b8a1('UsageLimit');_0x5cfdb7[0x1]={..._0x5cfdb7[0x1],'requestId':_0x5c217c};},{'priority':'high'}),_0x15ffa8['on']('_sendUsageRequest',_0x8708a1=>{_0x59e3c7(_0x8708a1['return'])&&(_0x14bf42=!0x0,_0x544b9a(_0x8708a1['return']));},{'priority':'low'}),_0x53d542['then'](()=>{_0x14bf42||_0x11b8a1('UsageLimit');});});function _0x1086d4(){return'auto'==_0x15ffa8['editing']['view']['_overlayModeHint'];}function _0x30adf6(){_0x15ffa8['editing']['view']['_overlayModeHint']='auto';}}function _0x236068(_0xe8e89a){const _0x50cb3f=[new window['Promise'](_0x554eaf=>setTimeout(_0x554eaf,0x93ecc)),_0x53d542['then'](()=>new window['Promise'](_0x195897=>{let _0xc4e886=0x0;_0x15ffa8['model']['on']('applyOperation',(_0x5d9687,_0x34e010)=>{_0x34e010[0x0]['isDocumentOperation']&&_0xc4e886++,0x5e8==_0xc4e886&&(_0x195897(),_0x5d9687['off']());});}))];return window['Promise']['race'](_0x50cb3f)['then'](()=>_0xe8e89a);}async function _0x34ae7b(){await _0x53d542,_0x15ffa8['model']['change']=_0xa48a1b,_0x15ffa8['model']['enqueueChange']=_0xa48a1b,_0x15ffa8['enableReadOnlyMode']('model');}function _0x442595(_0x1c7a79){const _0x4bcd61=_0x39f3e9();_0x15ffa8[_0x4bcd61]='paginationLicenseKey'+_0x1c7a79,'Valid'!=_0x1c7a79&&_0x34ae7b();}function _0x39f3e9(){const _0x511191=window['String'](window['performance']['now']())['replace']('.','');let _0x52d6db='v';for(let _0x915a53=0x0;_0x915a53<_0x511191['length'];_0x915a53+=0x2){let _0x2307ee=window['parseInt'](_0x511191['substring'](_0x915a53,_0x915a53+0x2));_0x2307ee>=0x3e&&(_0x2307ee-=0x3e),_0x52d6db+=_0x4ca580[_0x2307ee];}return _0x52d6db;}function _0x18a3aa(){const _0x5a5fe9=_0x582269['split']('.');if(0x3!=_0x5a5fe9['length'])return null;return _0x3d3e67(_0x5a5fe9[0x1]);function _0x3d3e67(_0x7cc39){const _0x253d7d=_0x2f25a9(_0x7cc39);return _0x253d7d&&_0x3244dc()?_0x253d7d:null;function _0x3244dc(){const _0x1e8349=_0x253d7d['jti'],_0x1a5286=window['parseInt'](_0x1e8349['substring'](_0x1e8349['length']-0x8),0x10),_0x3982c8={..._0x253d7d,'jti':_0x1e8349['substring'](0x0,_0x1e8349['length']-0x8)};return delete _0x3982c8['vc'],_0x24c9fc(_0x3982c8)==_0x1a5286;}}}async function _0x20ea3c(){let _0x45c07c=!0x0;try{const [_0x2c18c6,_0x8d4b92,_0x37124e]=_0x582269['split']('.');return _0x41c552(_0x2c18c6),await _0x17e4a4(_0x2c18c6,_0x8d4b92,_0x37124e),_0x45c07c;}catch{return!0x1;}function _0x41c552(_0xfb04cb){const _0xad8118=_0x2f25a9(_0xfb04cb);_0xad8118&&'ES256'==_0xad8118['alg']||(_0x45c07c=!0x1);}async function _0x17e4a4(_0x424aed,_0x4fe2ac,_0x2bda86){const _0x2b1064=window['Uint8Array']['from'](_0x197b3f(_0x2bda86),_0x1a6c4a=>_0x1a6c4a['charCodeAt'](0x0)),_0x43878c=new window['TextEncoder']()['encode'](_0x424aed+'.'+_0x4fe2ac),_0x3c11d3=window['crypto']['subtle'];if(!_0x3c11d3)return;const _0x260cca=await _0x3c11d3['importKey']('jwk',_0x531df2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3c11d3['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x260cca,_0x2b1064,_0x43878c)||(_0x45c07c=!0x1);}}function _0x2f25a9(_0x111725){return _0x111725['startsWith']('ey')?JSON['parse'](_0x197b3f(_0x111725)):null;}function _0x197b3f(_0x5b321d){return window['atob'](_0x5b321d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x24c9fc(_0x26b9a1){let _0x2ebd69=0x1505;function _0x562cf6(_0x14c7f1){for(let _0x200748=0x0;_0x200748<_0x14c7f1['length'];_0x200748++){const _0x55ba8f=_0x14c7f1['charCodeAt'](_0x200748);_0x2ebd69=(_0x2ebd69<<0x5)+_0x2ebd69+_0x55ba8f,_0x2ebd69&=_0x2ebd69;}}function _0x11c8ae(_0x2ccd28){Array['isArray'](_0x2ccd28)?_0x2ccd28['forEach'](_0x11c8ae):_0x2ccd28&&'object'==typeof _0x2ccd28?Object['entries'](_0x2ccd28)['sort']()['forEach'](([_0x20be97,_0x64cd8f])=>{_0x562cf6(_0x20be97),_0x11c8ae(_0x64cd8f);}):_0x562cf6(window['String'](_0x2ccd28));}return _0x11c8ae(_0x26b9a1),_0x2ebd69>>>0x0;}function _0x5ed143(_0x234b24){return _0x234b24['toString'](0x10)['padStart'](0x8,'0');}function _0x3a5a98(_0x4d7277){return _0x4d7277['split']('')['reverse']()['join']('');}function _0xa48a1b(){}_0x442595(await _0x33318e());}_0x46c7e0(_0x56d5a1['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x15aa1f=this['editor'],_0x3670c8=_0x15aa1f['editing']['view'],_0x3fd1be=this['_getAttachedDomRoot']();if(!_0x3fd1be||!_0x3fd1be['hasChildNodes']())return void _0x15aa1f['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x364cc1,pageHeight:_0x323da4}=_0x15aa1f['config']['get']('pagination'),{top:_0x23aa66,left:_0x502a74,bottom:_0x99435,right:_0x1cfe41}=this['_configuredPaddings'];this['_pagesContainer']=new _0x3092d0(_0x15aa1f['locale']);const _0x4b5c7e=this['_pagesContainer'];_0x4b5c7e['set']('class',''),_0x4b5c7e['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x364cc1,'width':_0x364cc1,'height':'calc(\x20'+_0x323da4+'\x20-\x20'+_0x23aa66+'\x20-\x20'+_0x99435+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1cfe41+'\x200\x20'+_0x502a74,'columnGap':'calc('+_0x502a74+'\x20+\x20'+_0x1cfe41+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x4b5c7e['bindTemplate']['to']('class')}}),_0x4b5c7e['render'](),_0x3fd1be['parentNode']['insertBefore'](_0x4b5c7e['element'],_0x3fd1be['nextSibling']),this['listenTo'](_0x3670c8,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x2c4c0b of this['editor']['editing']['view']['domRoots']['values']())if(_0x2c4c0b['ownerDocument']['body']['contains'](_0x2c4c0b))return _0x2c4c0b;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x2fe01b=this['editor']['editing']['view'],_0x5cff20=this['_pagesContainer'],_0x91d6fa=this['_getAttachedDomRoot']();if(!_0x91d6fa||!_0x5cff20)return Promise['resolve']();for(_0x5cff20['class']=['ck-reset','ck-pagination-view',..._0x91d6fa['classList']]['join']('\x20');_0x5cff20['element']['firstChild'];)_0x5cff20['element']['firstChild']['remove']();const _0x3dcb72=Array['from'](_0x2fe01b['domRoots']);_0x3dcb72['sort'](([,_0x1f0eac],[,_0x281ebc])=>_0x1f0eac['compareDocumentPosition'](_0x281ebc)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x2c02af,_0x3a73dc]of _0x3dcb72){const _0x18e2df=_0x3a73dc['cloneNode'](!0x0);'attributeStyleMap'in _0x18e2df&&_0x18e2df['attributeStyleMap']['clear'](),_0x18e2df['dataset']['rootName']=_0x2c02af,_0x18e2df['className']='ck-content\x20ck-pagination_enabled',_0x18e2df['removeAttribute']('id'),_0x18e2df['tabIndex']=-0x1,_0x5cff20['element']['append'](_0x18e2df);}const _0x23fe5e=Array['from'](_0x5cff20['element']['querySelectorAll']('img'));return function(_0x582e67){return Promise['all'](_0x582e67['map'](_0x37aaf9=>Promise['race']([v(_0x37aaf9),k(0x3e8)])));}(_0x23fe5e)['then'](()=>{for(const _0x4f12c6 of _0x23fe5e['filter'](_0x59a1bf=>!_0x59a1bf['closest']('table')))if(_0x4f12c6['offsetParent']){const _0x5d1624=_0x51ac5d['window']['getComputedStyle'](_0x4f12c6),_0xf8c2e9=_0x51ac5d['document']['createElement']('span');for(const _0x331320 of _0x5d1624)_0xf8c2e9['style']['setProperty'](_0x331320,_0x5d1624[_0x331320]);_0xf8c2e9['style']['backgroundImage']='url(\x20'+_0x4f12c6['src']+'\x20)',_0xf8c2e9['style']['breakInside']='avoid','PICTURE'==_0x4f12c6['parentElement']?.['tagName']?_0x4f12c6['parentElement']['replaceWith'](_0xf8c2e9):_0x4f12c6['replaceWith'](_0xf8c2e9);}return new Promise(_0x15dc89=>_0x51ac5d['window']['requestAnimationFrame'](()=>_0x15dc89()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x892b15=this['_pagesContainer']['element'];if(!_0x892b15['ownerDocument']['body']['contains'](_0x892b15))return;const _0x24e7a8=new _0x20277a(_0x892b15)['excludeScrollbarsAndBorders'](),_0x1fd758=Math['floor'](_0x24e7a8['width']+0x64),_0x3fc956=_(_0x892b15,Math['floor'](_0x24e7a8['left']-_0x892b15['scrollLeft']),_0x1fd758,_0x24e7a8['height'])['map'](_0x384e26=>this['_mapPageStarterInfoToPageBreakInfo'](_0x384e26))['filter'](_0x50943b=>!0x1!==_0x50943b);_0x3fc956['every'](_0x2a8e73=>!!_0x2a8e73)&&(this['pageBreaks']=_0x3fc956);}_mapPageStarterInfoToPageBreakInfo(_0x7518f7){const _0x5b7265=this['editor']['editing']['view'],_0x3ce04c=this['editor']['editing']['mapper'],_0x3d68ed=_0x5b7265['domConverter'],_0x32f8b6=_0x7518f7['path']['shift'](),_0x451a01=this['_pagesContainer']['element']['childNodes'][_0x32f8b6]['dataset']['rootName'],_0x38d0e2=_0x5b7265['getDomRoot'](_0x451a01);if(!_0x38d0e2)return null;const _0x590b8e=function(_0x5c3812,_0x2616c0){let _0x552c33=_0x5c3812;for(const _0x137ac9 of _0x2616c0['path']){if(!_0x552c33)return null;_0x552c33=_0x552c33['childNodes'][_0x137ac9];}return _0x552c33;}(_0x38d0e2,_0x7518f7);if(!_0x590b8e)return null;const _0x5357b9=_0x3d68ed['domPositionToView'](_0x590b8e,_0x7518f7['textOffset']||0x0);return _0x5357b9?'manual'==_0x7518f7['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5357b9,_0x590b8e):'text'==_0x7518f7['type']&&_0x3ce04c['toModelPosition'](_0x5357b9)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5357b9,_0x590b8e,_0x7518f7['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5357b9,_0x590b8e,_0x7518f7['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x52369e,_0x259214){const _0x2b0fc1=this['editor']['model'],_0x1efc8e=this['editor']['editing']['mapper']['toModelElement'](_0x52369e['parent']),_0x362bb1=_0x2b0fc1['createRangeOn'](_0x1efc8e);return new y({'type':'manual','modelRange':_0x362bb1,'domNode':_0x259214,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x5f286a,_0x3dcee3,_0x24fd14){const _0x2b7018=this['editor']['model'],_0x1911eb=this['editor']['editing']['mapper'],_0x576725=this['editor']['editing']['view']['domConverter'];if(_0x24fd14>=_0x3dcee3['length'])return null;const _0xbb88f9=_0x1911eb['toModelPosition'](_0x5f286a),_0x5dbe55=_0x2b7018['createRange'](_0xbb88f9),_0x42b4a0=_0x1911eb['findMappedViewAncestor'](_0x5f286a),_0x508cd0=_0x576725['mapViewToDom'](_0x42b4a0);return new y({'type':'text','modelRange':_0x5dbe55,'domNode':_0x3dcee3,'offset':P(_0x3dcee3,_0x24fd14,_0x508cd0)});}_mapElementPageStarterInfoToPageBreakInfo(_0x41a398,_0x2d4222,_0x189671){const _0x371797=this['editor']['model'],_0xcf1c8b=this['editor']['editing'],_0x26ffd5=_0xcf1c8b['mapper'],_0x260859=_0xcf1c8b['view']['domConverter'],_0x20e462=_0x26ffd5['findMappedViewAncestor'](_0x41a398),_0x598957=_0x26ffd5['toModelElement'](_0x20e462);if(!_0x598957||_0x598957['is']('rootElement'))return!0x1;const _0xb3dded=function(_0x8f39ca){const _0x471c28=_0x8f39ca['parent'],_0x4f7190=_0x471c28['root']['document']['model'],_0x281283=_0x471c28['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5b92e2=null;for(const _0x3c403a of _0x281283){if(_0x3c403a['is']('rootElement'))return _0x5b92e2;if(!_0x4f7190['createPositionBefore'](_0x3c403a)['isTouching'](_0x8f39ca))return _0x5b92e2;_0x5b92e2=_0x3c403a;}}(_0x371797['createPositionBefore'](_0x598957))||_0x598957;let _0x34d701=_0x26ffd5['toViewElement'](_0xb3dded),_0x50d3e5=_0x371797['createRangeOn'](_0xb3dded);const _0x28bccc=_0x371797['createPositionBefore'](_0xb3dded)['nodeBefore'];if(_0x28bccc&&_0x28bccc['is']('element','imageBlock')){const _0x27fb02=_0x26ffd5['toViewElement'](_0x28bccc),_0x1f2572=_0x260859['mapViewToDom'](_0x27fb02),_0x1ef501=_0x51ac5d['window']['getComputedStyle'](_0x1f2572)['float'];'left'!=_0x1ef501&&'right'!=_0x1ef501||(_0x50d3e5=_0x371797['createRangeOn'](_0x28bccc));}for(;_0x34d701['parent']!==_0x34d701['root']&&0x0===_0x34d701['index'];)_0x34d701=_0x34d701['parent'];const _0x27bfa0=new _0x20277a(K(_0x2d4222)?_0x2d4222:L(_0x2d4222)),_0x584de3=_0x189671?_0x27bfa0['height']-_0x189671:0x0,_0x310cd9=_0x260859['mapViewToDom'](_0x34d701),_0x44d407=new _0x20277a(_0x310cd9);return new y({'type':'element','modelRange':_0x50d3e5,'domNode':_0x310cd9,'offset':Math['round'](_0x584de3)||_0x20e462!=b(_0x41a398)?_0x584de3+_0x27bfa0['top']-_0x44d407['top']:0x0});}get['_configuredPaddings'](){const _0x1a5225=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1a5225);}static _findPageStarterInfos(_0x6c8791,_0x485f84,_0x291724,_0x767c2,_0x10e1a2){return _(_0x6c8791,_0x485f84,_0x291724,_0x767c2,_0x10e1a2);}},y=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x28f306,modelRange:_0x31dbbd,domNode:_0x46eb8a,offset:_0xb1c359}){this['type']=_0x28f306,this['modelRange']=_0x31dbbd,this['_domNode']=_0x46eb8a,this['_offset']=_0xb1c359;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x28a85b=new _0x20277a(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x28a85b['top']+_0x28a85b['height']/0x2:_0x28a85b['top']+this['_offset'];}};function P(_0x24ff65,_0x5da61b,_0xc8abb4){const _0x3939fc=L(_0x24ff65),_0x4eed04=function(_0x4932e3){const _0x2047f5=_0x51ac5d['document']['createRange']();return _0x2047f5['selectNodeContents'](_0x4932e3),_0x2047f5;}(_0xc8abb4);let _0x3e3c06;_0x3e3c06=0x0==_0x5da61b?N(_0x4eed04['startContainer'],_0x4eed04['startOffset'],_0x24ff65['parentNode'],Array['from'](_0x24ff65['parentNode']['childNodes'])['indexOf'](_0x24ff65)):N(_0x4eed04['startContainer'],_0x4eed04['startOffset'],_0x24ff65,_0x5da61b);const _0x37afc7=N(_0x24ff65,_0x5da61b,_0x4eed04['endContainer'],_0x4eed04['endOffset']),_0x3b5a67=new _0x20277a(_0x3e3c06)['bottom'];return(new _0x20277a(_0x37afc7)['top']+_0x3b5a67)/0x2-new _0x20277a(_0x3939fc)['top'];}function b(_0x3e127e){let _0x3e4ca1=_0x3e127e['parent'];for(;_0x3e4ca1['is']('$text')||_0x3e4ca1['is']('attributeElement');)_0x3e4ca1=_0x3e4ca1['parent'];return _0x3e4ca1;}function v(_0x32f55b){return _0x32f55b['hasAttribute']('width')&&_0x32f55b['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4a5d58=>{function _0xef2a36(){_0x32f55b['removeEventListener']('load',_0xef2a36),_0x32f55b['removeEventListener']('error',_0xef2a36),_0x4a5d58();}_0x32f55b['complete']?_0x4a5d58():(_0x32f55b['addEventListener']('load',_0xef2a36),_0x32f55b['addEventListener']('error',_0xef2a36));});}function k(_0x4a2dbe){return new Promise(_0x3e45e7=>setTimeout(_0x3e45e7,_0x4a2dbe));}function L(_0x2622e1){const _0x4822f3=_0x51ac5d['document']['createRange']();return _0x4822f3['selectNode'](_0x2622e1),_0x4822f3;}function x(_0x224a0b,_0x5985c8,_0x5f16a6){const _0x2d510a=_0x51ac5d['document']['createRange']();return _0x2d510a['setStart'](_0x224a0b,_0x5985c8),_0x2d510a['setEnd'](_0x224a0b,_0x5f16a6),_0x2d510a;}function N(_0x395b91,_0xca62eb,_0x495bad,_0x5401b6){const _0x2fced3=_0x51ac5d['document']['createRange']();return _0x2fced3['setStart'](_0x395b91,_0xca62eb),_0x2fced3['setEnd'](_0x495bad,_0x5401b6),_0x2fced3;}function _(_0x4ebcc6,_0x6fe196,_0x1b46fb,_0x4a70e7,_0x2718b7){const _0x53e696=[];for(const [_0x30465a,_0x4fb452]of _0x4ebcc6['childNodes']['entries']()){let _0xc5e895=[];K(_0x4fb452)&&_0x4fb452['offsetParent']&&['static','relative']['includes'](_0x51ac5d['window']['getComputedStyle'](_0x4fb452)['position'])?_0xc5e895=E(_0x4fb452,_0x30465a,_0x6fe196,_0x1b46fb,_0x4a70e7,_0x2718b7):O(_0x4fb452)&&(_0xc5e895=S(_0x4fb452,_0x30465a,_0x6fe196,_0x1b46fb,_0x2718b7)),_0xc5e895['length']&&(_0x53e696['push'](..._0xc5e895),_0x6fe196+=_0xc5e895['length']*_0x1b46fb,_0x2718b7=!0x1);}return _0x53e696;}function E(_0x42bc67,_0x40b50e,_0x1365dc,_0x4aadff,_0x59ffc5,_0x182579){const _0x3946b6=[];var _0x58011b;if((_0x58011b=_0x42bc67['previousSibling'])&&K(_0x58011b)&&Boolean(_0x58011b['classList']['contains']('page-break')||_0x58011b['closest']('.page-break'))&&(_0x3946b6['push']({'type':'manual','offset':0x0,'path':[_0x40b50e-0x1]}),_0x182579=!0x0),'table-row'==_0x51ac5d['window']['getComputedStyle'](_0x42bc67)['display']){let _0x3b3573=0x0,_0x168282=!0x1;for(const _0x500757 of _0x42bc67['getClientRects']())_0x3b3573+=_0x500757['height'],_0x500757['left']>=_0x1365dc&&(_0x168282=!0x0);if(_0x3b3573<_0x59ffc5&&_0x168282)return _0x182579||_0x3946b6['push']({'type':'element','offset':0x0,'path':[_0x40b50e]}),_0x3946b6;}const _0x2d8088=_0x42bc67['closest']('figure.image');if(_0x2d8088&&function(_0x2af507){let _0x30654f=!0x1;const _0x167a9a=_0x2af507['parentElement']['dataset']['rootName'],_0x4513fa=_0x2af507['nextElementSibling'],_0x3be36e=_0x2af507['previousElementSibling'],_0x52b536=_0x4513fa&&_0x51ac5d['window']['getComputedStyle'](_0x4513fa)['float'],_0xcbb8c4=_0x4513fa&&'ck-fake-selection-container'===_0x4513fa['className'];return!_0x167a9a||_0x4513fa||_0x3be36e||(_0x30654f=!0x0),_0x167a9a&&!_0x3be36e&&_0xcbb8c4&&(_0x30654f=!0x0),_0x167a9a&&!_0x3be36e&&'none'!==_0x52b536&&(_0x30654f=!0x0),!_0x30654f;}(_0x2d8088)){const _0x1abd47=_0x51ac5d['window']['getComputedStyle'](_0x2d8088)['float'];if('left'==_0x1abd47||'right'==_0x1abd47)return _0x3946b6;}const _0x3d83ec=_(_0x42bc67,_0x1365dc,_0x4aadff,_0x59ffc5,_0x182579);if(_0x3d83ec['length']){for(const _0x469d0c of _0x3d83ec)_0x3946b6['push']({'type':_0x469d0c['type'],'offset':_0x469d0c['offset'],'textOffset':_0x469d0c['textOffset'],'path':[_0x40b50e,..._0x469d0c['path']]}),_0x1365dc+=_0x4aadff;return _0x3946b6;}return _0x3946b6['push'](...function(_0x257ab4,_0x4c696e,_0x2298a8,_0x1947cf,_0x5da6bd){const _0x3f929a=[];if('table-cell'==_0x51ac5d['window']['getComputedStyle'](_0x257ab4)['display'])return[];const _0x433a84=[];for(const _0xecc8b9 of _0x257ab4['getClientRects']())if(_0xecc8b9['left']>=_0x2298a8){for(const _0x46f647 of _0x433a84)_0x46f647['height']+=_0xecc8b9['height'];_0x433a84['push']({'height':_0xecc8b9['height']}),_0x2298a8+=_0x1947cf;}for(const _0x5bfc67 of _0x433a84)_0x5da6bd||_0x3f929a['push']({'type':'element','offset':_0x5bfc67['height'],'textOffset':0x0,'path':[_0x4c696e]}),_0x5da6bd=!0x1;return _0x3f929a;}(_0x42bc67,_0x40b50e,_0x1365dc,_0x4aadff,_0x182579)),_0x3946b6;}function S(_0x3f6fcf,_0x540463,_0x38e340,_0x4a5ed3,_0x1af9da){const _0xc6e820=L(_0x3f6fcf),_0x205fdf=[];let _0x5dc72c=0x0;for(const _0x57ed0f of _0xc6e820['getClientRects']())if(_0x57ed0f['left']>=_0x38e340){const _0x6bbb75=R(_0x3f6fcf,_0x5dc72c,_0x38e340,_0x4a5ed3);_0x1af9da||_0x205fdf['push']({'type':'text','path':[_0x540463],'textOffset':_0x6bbb75}),_0x5dc72c=_0x6bbb75,_0x38e340+=_0x4a5ed3,_0x1af9da=!0x1;}return _0x205fdf;}function R(_0x232ca5,_0x489c47,_0x17496d,_0x43b711){let _0x7422f0=_0x489c47,_0xa6317e=_0x232ca5['length'];for(;_0xa6317e-_0x7422f0>0x1;){const _0x34711c=Math['ceil']((_0x7422f0+_0xa6317e)/0x2);I(x(_0x232ca5,_0x7422f0,_0x34711c),_0x17496d,_0x43b711)?_0xa6317e=_0x34711c:_0x7422f0=_0x34711c;}return _0x7422f0;}function I(_0x268baa,_0x3caf5a,_0x24cd65){for(const _0x349df3 of _0x268baa['getClientRects']())if(_0x349df3['left']>=_0x3caf5a&&_0x349df3['left']<_0x3caf5a+_0x24cd65)return!0x0;return!0x1;}function K(_0x32f5e4){return _0x32f5e4['nodeType']==Node['ELEMENT_NODE'];}function O(_0x56c687){return _0x56c687['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x1fb76e('px');var U=class extends _0x3092d0{constructor(){super();const _0x1cd444=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1cd444['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1cd444['if']('isVisible','ck-hidden',_0x43021f=>!_0x43021f)],'style':{'left':_0x1cd444['to']('left',_0x3881d3=>A(_0x3881d3)),'top':_0x1cd444['to']('top',_0x5066f5=>A(_0x5066f5)),'width':_0x1cd444['to']('width',_0x4a16af=>A(_0x4a16af))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0xe7bd47){this['_viewCollection']=_0xe7bd47['ui']['view']['body'];}destroy(){for(const _0x235c81 of this['_hiddenLines'])_0x235c81['destroy']();}['cleanLines'](){for(const _0x282bd6 of this['_visibleLines'])_0x282bd6['isVisible']=!0x1,this['_hiddenLines']['add'](_0x282bd6);this['_visibleLines']['clear']();}['showLine'](_0x2eda10,_0x51b70f,_0xa06e39,_0xdc1347){let _0x4e45cf;this['_hiddenLines']['size']?(_0x4e45cf=_0x15eb0c(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4e45cf)):_0x4e45cf=new U(),_0x4e45cf['set']({'pageNumber':_0xdc1347,'left':_0x2eda10,'top':_0x51b70f,'width':_0xa06e39}),_0x4e45cf['isVisible']=!0x0,this['_viewCollection']['has'](_0x4e45cf)||this['_viewCollection']['add'](_0x4e45cf),this['_visibleLines']['add'](_0x4e45cf);}setViewCollection(_0x3ad048){for(const _0x76db4d of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x76db4d)&&this['_viewCollection']['remove'](_0x76db4d);this['_viewCollection']=_0x3ad048;}};const D='ck-pagination_enabled';var B=class extends _0x2ed189{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',(_0x5bacb9,_0xdd8397,_0x38164e)=>{_0x38164e||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x38164e);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x16c776){if(!this['isEnabled'])return;const _0x1e4ee5=_0x16c776>0x1?this['_getPageBreakLineOffset'](_0x16c776-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x1e4ee5-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x5834f7['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0xd4ecb9=this['editor'],_0x2065fc=this['_getAttachedDomRoot']();_0x2065fc?(this['_scrollableEditingRootDomAncestor']&&_0xd4ecb9['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x561305){let _0x4cfa44=_0x561305;do{_0x4cfa44=_0x4cfa44['parentElement'];const _0x51b2a5=_0x51ac5d['window']['getComputedStyle'](_0x4cfa44)['overflowY'];if('auto'==_0x51b2a5||'scroll'==_0x51b2a5)break;}while('BODY'!=_0x4cfa44['tagName']);return _0x4cfa44;}(_0x2065fc),_0xd4ecb9['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x111b89(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xd4ecb9['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x7c0915=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x7c0915['ui']['view']['listenTo'](_0x51ac5d['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x7c0915['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x344216 of this['editor']['editing']['view']['domRoots']['values']())if(_0x344216['ownerDocument']['body']['contains'](_0x344216))return _0x344216;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x55bc21=this['_getAttachedDomRoot'](),_0x2352ec=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x55bc21||0x1==_0x2352ec['length'])return void(this['pageNumber']=0x1);const _0x3e1c41=new _0x20277a(_0x55bc21)['excludeScrollbarsAndBorders'](),_0x37963e=new _0x20277a(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x5bc586=_0x37963e['top']+_0x37963e['height']/0x3;let _0x52bd77=!0x1;const _0x17ac58=[];for(let _0x4287b3=0x1;_0x4287b3<_0x2352ec['length'];_0x4287b3++){const _0x5167ff=this['_getPageBreakLineOffset'](_0x4287b3,_0x37963e);if(!_0x5167ff)continue;const _0x51814f=_0x37963e['top']+_0x5167ff-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x17ac58['push']({'pageOffsetTop':_0x51814f,'domRootRect':_0x3e1c41,'domScrollableRect':_0x37963e,'pageNumber':_0x4287b3}),_0x51814f>_0x5bc586&&!_0x52bd77&&(this['pageNumber']=_0x4287b3,_0x52bd77=!0x0);}this['_renderPageBreakLines'](_0x17ac58),_0x52bd77||(this['pageNumber']=_0x2352ec['length']);}['_renderPageBreakLines'](_0x41dd97){const {scrollX:_0xda3525,scrollY:_0x2fec1d}=_0x51ac5d['window'];if(_0x41dd97['length']){for(const {domScrollableRect:_0xcaafba,pageOffsetTop:_0x428595,domRootRect:_0x5d7a87,pageNumber:_0x2cb490}of _0x41dd97)_0xcaafba['top']<_0x428595&&_0x428595<_0xcaafba['bottom']&&this['linesRepository']['showLine'](_0x5d7a87['left']+_0xda3525,_0x428595+_0x2fec1d,_0x5d7a87['width'],_0x2cb490+0x1);}}_getPageBreakLineOffset(_0x2a236b,_0x25fe0f=null){const _0x2f33b6=this['_paginationLookupPlugin']['pageBreaks'][_0x2a236b]['offset'];return _0x2f33b6?(_0x25fe0f||(_0x25fe0f=new _0x20277a(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2f33b6-_0x25fe0f['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x3831f4,_0x2b4dbb=!0x0){const _0x4a1f31=this['editor']['editing']['view'];_0x4a1f31['change'](_0x1ae298=>{for(const _0x9538a5 of _0x4a1f31['document']['roots'])_0x2b4dbb?_0x1ae298['addClass'](_0x3831f4,_0x9538a5):_0x1ae298['removeClass'](_0x3831f4,_0x9538a5);});}};function T(_0x3c0c41,_0x3c3e10,..._0x2b6209){const t=_0x3c0c41['t'];switch(_0x3c3e10){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)',..._0x2b6209);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 _0x3c3e10;}}var G=class extends _0x2ed189{['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 _0xc84ab7=this['editor']['plugins']['get']('Pagination'),_0x20eb9c=this['editor']['plugins']['get'](w),_0xe7b68d=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0xc84ab7),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0xe7b68d),this['listenTo'](_0x20eb9c,'change:pageBreaks',(_0x58533c,_0x1c5240,_0x366859,_0x30e455)=>{this['totalPages']=_0x366859['length'],this['_updatePageBreakMarkers'](_0x366859,_0x30e455);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x3ada75=[this['editor']];for(const _0x515dc5 of _0x3ada75){let _0xc28dee;for(const _0x5975a9 in _0x515dc5){const _0x392b5c=_0x5975a9,_0x382714=_0x515dc5[_0x392b5c];if('paginationLicenseKeyValid'==_0x382714||'paginationLicenseKeyInvalid'==_0x382714||'paginationLicenseKeyExpired'==_0x382714||'paginationLicenseKeyDomainLimit'==_0x382714||'paginationLicenseKeyNotAllowed'==_0x382714||'paginationLicenseKeyEvaluationLimit'==_0x382714||'paginationLicenseKeyUsageLimit'==_0x382714){delete _0x515dc5[_0x392b5c],_0xc28dee=_0x382714,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0xc28dee&&_0x515dc5['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0xc28dee&&_0x515dc5['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0xc28dee&&_0x515dc5['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0xc28dee&&_0x515dc5['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0xc28dee&&_0x515dc5['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0xc28dee&&_0x515dc5['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x38d229){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x38d229));}moveSelectionToPage(_0x30bb94){if(!this['isEnabled'])return;const _0x433f8c=this['editor'],_0x383527=this['editor']['plugins']['get'](w)['pageBreaks'][_0x30bb94-0x1];_0x383527&&_0x433f8c['model']['change'](_0x2a8b0a=>{switch(_0x383527['type']){case'manual':{const _0x3d55a0=_0x433f8c['model']['schema']['getNearestSelectionRange'](_0x383527['modelRange']['end'],'forward');_0x2a8b0a['setSelection'](_0x3d55a0);break;}case'element':{const _0x954e2b=_0x433f8c['model']['schema']['getNearestSelectionRange'](_0x383527['modelRange']['start'],'forward');_0x2a8b0a['setSelection'](_0x954e2b);break;}case'text':{const _0x2b730c=_0x383527['modelRange']['start'];if(_0x2b730c['textNode']&&'\x20'===_0x2b730c['textNode']['data'][_0x2b730c['offset']]){const _0x175fdd=_0x2a8b0a['createPositionAt'](_0x2b730c['parent'],_0x2b730c['offset']+0x1);_0x2a8b0a['setSelection'](_0x175fdd);}else _0x2a8b0a['setSelection'](_0x383527['modelRange']);}}_0x433f8c['editing']['view']['focus']();});}goToNextPage(){const _0x340da9=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x340da9),this['scrollToPage'](_0x340da9);}['goToPreviousPage'](){const _0x46215=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x46215),this['scrollToPage'](_0x46215);}_updatePageBreakMarkers(_0x204840,_0x594c68){const _0x103fa5=this['editor']['model'];this['isEnabled']&&_0x103fa5['change'](_0x532e28=>{for(let _0x4accee=0x1;_0x4accee<_0x204840['length'];_0x4accee++){const _0x4e0637=_0x204840[_0x4accee]['modelRange'],_0x54385d='pagination:'+(_0x4accee+0x1);_0x103fa5['markers']['has'](_0x54385d)?_0x532e28['updateMarker'](_0x54385d,{'range':_0x4e0637}):_0x532e28['addMarker'](_0x54385d,{'range':_0x4e0637,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x48f00c=_0x204840['length'];_0x48f00c<_0x594c68['length'];_0x48f00c++){const _0x3f1ce2='pagination:'+(_0x48f00c+0x1);_0x103fa5['markers']['has'](_0x3f1ce2)&&_0x532e28['removeMarker'](_0x3f1ce2);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x2ff17b=>{_0x2ff17b['on']('addMarker:pagination',(_0x5aa0bc,{markerRange:_0xc331c2,markerName:_0x50af68},_0x5f4c0c)=>{if(!_0x5f4c0c['options']['pagination'])return;if(!_0x5f4c0c['consumable']['consume'](_0xc331c2,_0x5aa0bc['name']))return;const _0x5edf6e=_0xc331c2['getContainedElement']();let _0x57faa6=_0x5edf6e?_0x5f4c0c['mapper']['toViewElement'](_0x5edf6e):null;if(!_0x57faa6){const _0x15af73=_0xc331c2['start'];if(_0x5f4c0c['schema']['checkChild'](_0x15af73,'$text')){const _0x436939=_0x5f4c0c['mapper']['toViewPosition'](_0x15af73);_0x57faa6=_0x5f4c0c['writer']['createContainerElement']('span'),_0x57faa6['getFillerOffset']=()=>null,_0x5f4c0c['writer']['insert'](_0x436939,_0x57faa6);}else{const _0x2cfdc3=_0x15af73['nodeAfter'];_0x57faa6=_0x5f4c0c['mapper']['toViewElement'](_0x2cfdc3);}}for(;_0x57faa6['parent']!==_0x57faa6['root']&&0x0===_0x57faa6['index'];)_0x57faa6=_0x57faa6['parent'];const _0x5308cb=_0x50af68['substring'](0xb);_0x57faa6['hasClass']('page-break')||(_0x5f4c0c['writer']['setStyle']('page-break-before','always',_0x57faa6),_0x5f4c0c['writer']['setAttribute']('data-pagination-page',_0x5308cb,_0x57faa6),_0x5f4c0c['mapper']['bindElementToMarker'](_0x57faa6,_0x50af68)),_0x5aa0bc['stop']();});});}_setupKeystrokes(){const _0x233acb=this['editor'];_0x233acb['keystrokes']['set']('Shift+Pageup',(_0x56995c,_0x26043f)=>{this['goToPreviousPage'](),_0x26043f();}),_0x233acb['keystrokes']['set']('Shift+Pagedown',(_0x2819f9,_0x37a9c2)=>{this['goToNextPage'](),_0x37a9c2();}),_0x233acb['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x233acb['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x233acb['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x233acb['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x2c1b49){return _0x2c1b49<0x1&&(_0x2c1b49=0x1),_0x2c1b49>this['totalPages']&&(_0x2c1b49=this['totalPages']),_0x2c1b49;}},V=class extends _0x3092d0{['pageNumberView'];constructor(_0x31203f){super(_0x31203f);const _0x6787a0=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x24bcf1(_0x31203f,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x269742=>T(_0x31203f,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x269742)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x407294=>!_0x407294),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x6787a0['if']('isEnabled','ck-disabled',_0x1d0971=>!_0x1d0971)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x6787a0['to']('totalPages')}]}]});}['render'](){super['render']();const _0x140070=this['pageNumberView']['element'],_0x392803=_0x483d77=>{this['pageNumberView']['element']['value']=String(_0x483d77);};_0x392803(this['pageNumber']),this['on']('change:pageNumber',(_0x3a987d,_0x3a1424,_0x13f922)=>{_0x392803(_0x13f922);}),this['listenTo'](_0x140070,'keydown',(_0x21fc72,_0x37dc61)=>{if('ArrowUp'===_0x37dc61['key']||'ArrowDown'===_0x37dc61['key'])return void _0x37dc61['stopPropagation']();if(_0x37dc61['keyCode']!==_0x52b1a2['enter'])return;_0x37dc61['preventDefault']();const _0x176492=_0x140070['valueAsNumber'];Number['isNaN'](_0x176492)?_0x140070['value']=String(this['pageNumber']):(_0x140070['checkValidity']()?this['pageNumber']=_0x176492:_0x176492>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x140070['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x140070['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x140070,'blur',()=>{_0x140070['value']=String(this['pageNumber']);}),this['listenTo'](_0x140070,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x2ed189{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x1afb32=this['editor'],_0x5c0ca8=_0x1afb32['plugins']['get']('PaginationEditing');_0x1afb32['ui']['componentFactory']['add']('pageNavigation',_0x2e0c18=>{const _0x65ab25=new V(_0x2e0c18);return _0x65ab25['bind']('pageNumber')['to'](_0x5c0ca8),_0x65ab25['bind']('totalPages')['to'](_0x5c0ca8),_0x65ab25['bind']('isEnabled')['to'](_0x5c0ca8),_0x65ab25['on']('navigation',(_0x44ef00,_0x58a905)=>{_0x5c0ca8['moveSelectionToPage'](_0x58a905),_0x5c0ca8['scrollToPage'](_0x58a905);}),_0x65ab25;}),_0x1afb32['ui']['componentFactory']['add']('nextPage',_0x3380c6=>{const _0x317467=new _0x5eb001(_0x3380c6);return _0x317467['isEnabled']=!0x0,_0x317467['label']=T(_0x1afb32['locale'],'Go\x20to\x20next\x20page'),_0x317467['icon']=_0x28a8d1,_0x317467['tooltip']=!0x0,_0x317467['keystroke']='Shift+PageDown',_0x317467['bind']('isEnabled')['to'](_0x5c0ca8),this['listenTo'](_0x317467,'execute',()=>{_0x5c0ca8['goToNextPage']();}),_0x317467;}),_0x1afb32['ui']['componentFactory']['add']('previousPage',_0x407cf7=>{const _0x3d06dd=new _0x5eb001(_0x407cf7);return _0x3d06dd['isEnabled']=!0x0,_0x3d06dd['label']=T(_0x1afb32['locale'],'Go\x20to\x20previous\x20page'),_0x3d06dd['icon']=_0x2b64e4,_0x3d06dd['tooltip']=!0x0,_0x3d06dd['keystroke']='Shift+PageUp',_0x3d06dd['bind']('isEnabled')['to'](_0x5c0ca8),this['listenTo'](_0x3d06dd,'execute',()=>{_0x5c0ca8['goToPreviousPage']();}),_0x3d06dd;});}},$=class extends _0x2ed189{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x7f4296){super(_0x7f4296),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x24b29d=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x24b29d),this['bind']('totalPages')['to'](_0x24b29d),_0x5834f7['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2144fe){this['editor']['plugins']['get'](G)['scrollToPage'](_0x2144fe);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x446a93}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x1726f1,InputNumberView as _0x567c82,View as _0x2f2553}from'@ckeditor/ckeditor5-ui';import{Rect as _0x264572,ResizeObserver as _0x2dd83d,env as _0x24add8,first as _0x22957b,global as _0xf51fb5,keyCodes as _0x599b50,logWarning as _0x352539,toUnit as _0x229e28,uid as _0xb85b1a}from'@ckeditor/ckeditor5-utils';import{debounce as _0x546ad5}from'es-toolkit/compat';import{IconArrowDown as _0x5a2685,IconArrowUp as _0x17bac8}from'@ckeditor/ckeditor5-icons';var w=class extends _0x446a93{_recalculatePageBreaksDebounced=_0x546ad5(()=>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 _0x352539('pagination-config-not-found',this['editor']['config']);const _0xf1ff3e=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0xf1ff3e),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x5674a3,_0x2fde35,_0x54c89c)=>{_0x54c89c&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x255cda){const _0x14b335='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x228c3b=0x79470,_0x3501fd={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x30acd8(_0x16fc86){const _0x1c7540=new window['Promise'](_0x2234b2=>{_0x16fc86['once']('ready',_0x2234b2);}),_0x44a06e=window['Date']['now'](),_0x4bfcad=_0x16fc86['config']['get']('licenseKey');async function _0x215c08(){let _0x3003ab,_0x46664f=null,_0x1ef407=null;try{return'GPL'==_0x4bfcad?'NotAllowed':(_0x3003ab=_0x25ab74(),_0x3003ab?(_0x3003ab['usageEndpoint']&&(_0x1ef407=_0x2f0675(_0x3003ab['usageEndpoint'],_0x3003ab['jti'])),await _0x2ca156()?_0x4bd5fc()?_0x26c10c()?'Expired':_0x2d9a1e()?('evaluation'==_0x3003ab['licenseType']&&(_0x46664f=_0x240a79('EvaluationLimit')),await _0x2ebf57()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x26c10c(){const _0x406cde=['evaluation','trial']['includes'](_0x3003ab['licenseType'])?_0x44a06e/0x3e8:0xe10*_0x228c3b;return _0x3003ab['exp']<_0x406cde;}function _0x4bd5fc(){const _0x2ea3e8=_0x3003ab['features'];return!!_0x2ea3e8&&(!!_0x2ea3e8['includes']('*')||!!_0x2ea3e8['includes']('PAG'));}function _0x2d9a1e(){const _0x1a4be6=_0x3003ab['licensedHosts'];if(!_0x1a4be6||0x0==_0x1a4be6['length'])return!0x0;const {hostname:_0x2f6c17}=new URL(window['location']['href']);if(_0x1a4be6['includes'](_0x2f6c17))return!0x0;const _0x2a0c72=_0x2f6c17['split']('.');return _0x1a4be6['filter'](_0x3a0606=>_0x3a0606['includes']('*'))['map'](_0x526863=>_0x526863['split']('.'))['filter'](_0x26ca40=>_0x26ca40['length']<=_0x2a0c72['length'])['map'](_0x45651b=>Array(_0x2a0c72['length']-_0x45651b['length'])['fill']('*'===_0x45651b[0x0]?'*':'')['concat'](_0x45651b))['some'](_0x571a04=>_0x2a0c72['every']((_0x5b5224,_0x44bb82)=>_0x571a04[_0x44bb82]===_0x5b5224||'*'===_0x571a04[_0x44bb82]));}function _0x2ebf57(){return _0x46664f&&_0x1ef407?new window['Promise']((_0x100957,_0x537295)=>{_0x46664f['then'](_0x100957,_0x537295),_0x1ef407['then'](_0x345605=>{'Valid'!=_0x345605&&_0x100957(_0x345605);},_0x537295);}):_0x46664f||_0x1ef407||'Valid';}}function _0x2f0675(_0x238ed1,_0x3304c2){return new window['Promise'](_0x69fbed=>{if(_0x2ca182())return _0x69fbed('Valid');_0x3107d2(),_0x16fc86['decorate']('_sendUsageRequest');let _0x328ce5=!0x1;const _0x1c30cc=_0xb85b1a();function _0x78a3f2(_0x2e18e5){return!!_0x2e18e5&&('object'==typeof _0x2e18e5||'function'==typeof _0x2e18e5)&&'function'==typeof _0x2e18e5['then']&&'function'==typeof _0x2e18e5['catch'];}function _0x325a9e(_0x1a9ee7){_0x2a30bd(_0x1a9ee7)['then'](_0x4fed99=>_0x4fed99&&'ok'==_0x4fed99['status']?_0x25e718(_0x19d80d(_0x1c30cc+_0x3304c2))!=_0x4fed99['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5097fe=>(_0x1ce8f7(),_0x5097fe),()=>{const _0x1571e8=_0x434245();return null==_0x1571e8?(_0x1ce8f7(),'Valid'):_0x44a06e-_0x1571e8>0x240c8400?'UsageLimit':'Valid';})['then'](_0x69fbed)['catch'](()=>{_0x69fbed('UsageLimit');});const _0x1e4ce4=0x36ee80;function _0x1ce8f7(){const _0x350f01='llct-'+_0x25e718(_0x19d80d(_0x238ed1)),_0x1aaa2f=_0x2d2e32(_0x25e718(window['Math']['ceil'](_0x44a06e/_0x1e4ce4)));window['localStorage']['setItem'](_0x350f01,_0x1aaa2f);}function _0x434245(){const _0x5f49f4='llct-'+_0x25e718(_0x19d80d(_0x238ed1)),_0x29e502=window['localStorage']['getItem'](_0x5f49f4);return _0x29e502?window['parseInt'](_0x2d2e32(_0x29e502),0x10)*_0x1e4ce4:null;}function _0x2a30bd(_0x73ca3c){return new window['Promise']((_0x18caf3,_0x13ccb2)=>{_0x73ca3c['then'](_0x18caf3,_0x13ccb2),window['setTimeout'](_0x13ccb2,0x1d4c0);});}}_0x16fc86['on']('_sendUsageRequest',(_0x2e749d,_0x2d86b3)=>{if(_0x2d86b3[0x0]!=_0x238ed1)return _0x69fbed('UsageLimit');_0x2d86b3[0x1]={..._0x2d86b3[0x1],'requestId':_0x1c30cc};},{'priority':'high'}),_0x16fc86['on']('_sendUsageRequest',_0x3ad6f6=>{_0x78a3f2(_0x3ad6f6['return'])&&(_0x328ce5=!0x0,_0x325a9e(_0x3ad6f6['return']));},{'priority':'low'}),_0x1c7540['then'](()=>{_0x328ce5||_0x69fbed('UsageLimit');});});function _0x2ca182(){return'auto'==_0x16fc86['editing']['view']['_overlayModeHint'];}function _0x3107d2(){_0x16fc86['editing']['view']['_overlayModeHint']='auto';}}function _0x240a79(_0x179743){const _0x537636=[new window['Promise'](_0x444e42=>setTimeout(_0x444e42,0x93ecc)),_0x1c7540['then'](()=>new window['Promise'](_0x3d5ade=>{let _0x5c3a5b=0x0;_0x16fc86['model']['on']('applyOperation',(_0x43aefd,_0x2ab8ce)=>{_0x2ab8ce[0x0]['isDocumentOperation']&&_0x5c3a5b++,0x5e8==_0x5c3a5b&&(_0x3d5ade(),_0x43aefd['off']());});}))];return window['Promise']['race'](_0x537636)['then'](()=>_0x179743);}async function _0x203918(){await _0x1c7540,_0x16fc86['model']['change']=_0x3f9470,_0x16fc86['model']['enqueueChange']=_0x3f9470,_0x16fc86['enableReadOnlyMode']('model');}function _0x3d2340(_0x3b9366){const _0x44ae40=_0x3cb334();_0x16fc86[_0x44ae40]='paginationLicenseKey'+_0x3b9366,'Valid'!=_0x3b9366&&_0x203918();}function _0x3cb334(){const _0x42c0d3=window['String'](window['performance']['now']())['replace']('.','');let _0x57a284='v';for(let _0xce873a=0x0;_0xce873a<_0x42c0d3['length'];_0xce873a+=0x2){let _0x342d83=window['parseInt'](_0x42c0d3['substring'](_0xce873a,_0xce873a+0x2));_0x342d83>=0x3e&&(_0x342d83-=0x3e),_0x57a284+=_0x14b335[_0x342d83];}return _0x57a284;}function _0x25ab74(){const _0x24992a=_0x4bfcad['split']('.');if(0x3!=_0x24992a['length'])return null;return _0x4b0641(_0x24992a[0x1]);function _0x4b0641(_0x1a72c0){const _0x447ea1=_0x37ce21(_0x1a72c0);return _0x447ea1&&_0x1249c3()?_0x447ea1:null;function _0x1249c3(){const _0x46b8cb=_0x447ea1['jti'],_0x34ff70=window['parseInt'](_0x46b8cb['substring'](_0x46b8cb['length']-0x8),0x10),_0x513b42={..._0x447ea1,'jti':_0x46b8cb['substring'](0x0,_0x46b8cb['length']-0x8)};return delete _0x513b42['vc'],_0x19d80d(_0x513b42)==_0x34ff70;}}}async function _0x2ca156(){let _0x45150a=!0x0;try{const [_0x3fe904,_0x31cffc,_0x55d213]=_0x4bfcad['split']('.');return _0x4dc75d(_0x3fe904),await _0x1a2d09(_0x3fe904,_0x31cffc,_0x55d213),_0x45150a;}catch{return!0x1;}function _0x4dc75d(_0x67d02c){const _0x597cb5=_0x37ce21(_0x67d02c);_0x597cb5&&'ES256'==_0x597cb5['alg']||(_0x45150a=!0x1);}async function _0x1a2d09(_0xbdbde4,_0x2df767,_0x4c12ed){const _0x250204=window['Uint8Array']['from'](_0x2c4aac(_0x4c12ed),_0x3e721b=>_0x3e721b['charCodeAt'](0x0)),_0x4e218f=new window['TextEncoder']()['encode'](_0xbdbde4+'.'+_0x2df767),_0x5d55f1=window['crypto']['subtle'];if(!_0x5d55f1)return;const _0x25a99a=await _0x5d55f1['importKey']('jwk',_0x3501fd,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5d55f1['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x25a99a,_0x250204,_0x4e218f)||(_0x45150a=!0x1);}}function _0x37ce21(_0x2760c2){return _0x2760c2['startsWith']('ey')?JSON['parse'](_0x2c4aac(_0x2760c2)):null;}function _0x2c4aac(_0x6b2397){return window['atob'](_0x6b2397['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x19d80d(_0x258395){let _0x51c8c7=0x1505;function _0x427573(_0xeedaee){for(let _0xb17759=0x0;_0xb17759<_0xeedaee['length'];_0xb17759++){const _0x49a6df=_0xeedaee['charCodeAt'](_0xb17759);_0x51c8c7=(_0x51c8c7<<0x5)+_0x51c8c7+_0x49a6df,_0x51c8c7&=_0x51c8c7;}}function _0xab4428(_0x36963e){Array['isArray'](_0x36963e)?_0x36963e['forEach'](_0xab4428):_0x36963e&&'object'==typeof _0x36963e?Object['entries'](_0x36963e)['sort']()['forEach'](([_0x1f5af9,_0x2cca4e])=>{_0x427573(_0x1f5af9),_0xab4428(_0x2cca4e);}):_0x427573(window['String'](_0x36963e));}return _0xab4428(_0x258395),_0x51c8c7>>>0x0;}function _0x25e718(_0x1f4c73){return _0x1f4c73['toString'](0x10)['padStart'](0x8,'0');}function _0x2d2e32(_0x3dd7e9){return _0x3dd7e9['split']('')['reverse']()['join']('');}function _0x3f9470(){}_0x3d2340(await _0x215c08());}_0x30acd8(_0x255cda['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x16abae=this['editor'],_0x5b5a12=_0x16abae['editing']['view'],_0x2a6f25=this['_getAttachedDomRoot']();if(!_0x2a6f25||!_0x2a6f25['hasChildNodes']())return void _0x16abae['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x2abdc5,pageHeight:_0x326ac1}=_0x16abae['config']['get']('pagination'),{top:_0x228d8a,left:_0xef7d16,bottom:_0x4422c2,right:_0x5958a7}=this['_configuredPaddings'];this['_pagesContainer']=new _0x2f2553(_0x16abae['locale']);const _0x19f76d=this['_pagesContainer'];_0x19f76d['set']('class',''),_0x19f76d['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x2abdc5,'width':_0x2abdc5,'height':'calc(\x20'+_0x326ac1+'\x20-\x20'+_0x228d8a+'\x20-\x20'+_0x4422c2+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x5958a7+'\x200\x20'+_0xef7d16,'columnGap':'calc('+_0xef7d16+'\x20+\x20'+_0x5958a7+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x19f76d['bindTemplate']['to']('class')}}),_0x19f76d['render'](),_0x2a6f25['parentNode']['insertBefore'](_0x19f76d['element'],_0x2a6f25['nextSibling']),this['listenTo'](_0x5b5a12,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0xa27578 of this['editor']['editing']['view']['domRoots']['values']())if(_0xa27578['ownerDocument']['body']['contains'](_0xa27578))return _0xa27578;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x25f85b=this['editor']['editing']['view'],_0x4fd0df=this['_pagesContainer'],_0x29bb76=this['_getAttachedDomRoot']();if(!_0x29bb76||!_0x4fd0df)return Promise['resolve']();for(_0x4fd0df['class']=['ck-reset','ck-pagination-view',..._0x29bb76['classList']]['join']('\x20');_0x4fd0df['element']['firstChild'];)_0x4fd0df['element']['firstChild']['remove']();const _0x490852=Array['from'](_0x25f85b['domRoots']);_0x490852['sort'](([,_0x4858fa],[,_0x12a996])=>_0x4858fa['compareDocumentPosition'](_0x12a996)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0xac3da4,_0x1d8ffa]of _0x490852){const _0x578f92=_0x1d8ffa['cloneNode'](!0x0);'attributeStyleMap'in _0x578f92&&_0x578f92['attributeStyleMap']['clear'](),_0x578f92['dataset']['rootName']=_0xac3da4,_0x578f92['className']='ck-content\x20ck-pagination_enabled',_0x578f92['removeAttribute']('id'),_0x578f92['tabIndex']=-0x1,_0x4fd0df['element']['append'](_0x578f92);}const _0x74223c=Array['from'](_0x4fd0df['element']['querySelectorAll']('img'));return function(_0x2d7a7a){return Promise['all'](_0x2d7a7a['map'](_0x1ee237=>Promise['race']([v(_0x1ee237),k(0x3e8)])));}(_0x74223c)['then'](()=>{for(const _0xe7c6a6 of _0x74223c['filter'](_0x97572b=>!_0x97572b['closest']('table')))if(_0xe7c6a6['offsetParent']){const _0x356b5f=_0xf51fb5['window']['getComputedStyle'](_0xe7c6a6),_0x3d29aa=_0xf51fb5['document']['createElement']('span');for(const _0x3d5124 of _0x356b5f)_0x3d29aa['style']['setProperty'](_0x3d5124,_0x356b5f[_0x3d5124]);_0x3d29aa['style']['backgroundImage']='url(\x20'+_0xe7c6a6['src']+'\x20)',_0x3d29aa['style']['breakInside']='avoid','PICTURE'==_0xe7c6a6['parentElement']?.['tagName']?_0xe7c6a6['parentElement']['replaceWith'](_0x3d29aa):_0xe7c6a6['replaceWith'](_0x3d29aa);}return new Promise(_0x21c692=>_0xf51fb5['window']['requestAnimationFrame'](()=>_0x21c692()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x115419=this['_pagesContainer']['element'];if(!_0x115419['ownerDocument']['body']['contains'](_0x115419))return;const _0x3701dc=new _0x264572(_0x115419)['excludeScrollbarsAndBorders'](),_0x10ef13=Math['floor'](_0x3701dc['width']+0x64),_0x356f06=_(_0x115419,Math['floor'](_0x3701dc['left']-_0x115419['scrollLeft']),_0x10ef13,_0x3701dc['height'])['map'](_0x190fe3=>this['_mapPageStarterInfoToPageBreakInfo'](_0x190fe3))['filter'](_0x4049f1=>!0x1!==_0x4049f1);_0x356f06['every'](_0x275802=>!!_0x275802)&&(this['pageBreaks']=_0x356f06);}_mapPageStarterInfoToPageBreakInfo(_0x4aef36){const _0x5b6ffe=this['editor']['editing']['view'],_0x17b3cd=this['editor']['editing']['mapper'],_0x50f225=_0x5b6ffe['domConverter'],_0x304e5a=_0x4aef36['path']['shift'](),_0x457782=this['_pagesContainer']['element']['childNodes'][_0x304e5a]['dataset']['rootName'],_0x3ed927=_0x5b6ffe['getDomRoot'](_0x457782);if(!_0x3ed927)return null;const _0x2a997b=function(_0x1001f5,_0x1bf976){let _0x34deb5=_0x1001f5;for(const _0x207f9b of _0x1bf976['path']){if(!_0x34deb5)return null;_0x34deb5=_0x34deb5['childNodes'][_0x207f9b];}return _0x34deb5;}(_0x3ed927,_0x4aef36);if(!_0x2a997b)return null;const _0x2efd95=_0x50f225['domPositionToView'](_0x2a997b,_0x4aef36['textOffset']||0x0);return _0x2efd95?'manual'==_0x4aef36['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2efd95,_0x2a997b):'text'==_0x4aef36['type']&&_0x17b3cd['toModelPosition'](_0x2efd95)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2efd95,_0x2a997b,_0x4aef36['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2efd95,_0x2a997b,_0x4aef36['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x4e55d3,_0x2ffee7){const _0x461bbb=this['editor']['model'],_0x35d1d3=this['editor']['editing']['mapper']['toModelElement'](_0x4e55d3['parent']),_0x243abe=_0x461bbb['createRangeOn'](_0x35d1d3);return new y({'type':'manual','modelRange':_0x243abe,'domNode':_0x2ffee7,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x55e5b3,_0xf45923,_0x57ca57){const _0x2116fd=this['editor']['model'],_0x17ed3d=this['editor']['editing']['mapper'],_0x1a2f7e=this['editor']['editing']['view']['domConverter'];if(_0x57ca57>=_0xf45923['length'])return null;const _0x105b95=_0x17ed3d['toModelPosition'](_0x55e5b3),_0x9e59cb=_0x2116fd['createRange'](_0x105b95),_0x34b3f2=_0x17ed3d['findMappedViewAncestor'](_0x55e5b3),_0x1da61d=_0x1a2f7e['mapViewToDom'](_0x34b3f2);return new y({'type':'text','modelRange':_0x9e59cb,'domNode':_0xf45923,'offset':P(_0xf45923,_0x57ca57,_0x1da61d)});}_mapElementPageStarterInfoToPageBreakInfo(_0x5612b0,_0x2c9600,_0x498059){const _0x6fd29a=this['editor']['model'],_0xe70dc1=this['editor']['editing'],_0x5cf318=_0xe70dc1['mapper'],_0x3e6dba=_0xe70dc1['view']['domConverter'],_0x5e108c=_0x5cf318['findMappedViewAncestor'](_0x5612b0),_0x2ca68a=_0x5cf318['toModelElement'](_0x5e108c);if(!_0x2ca68a||_0x2ca68a['is']('rootElement'))return!0x1;const _0x3c3b0d=function(_0x34bbac){const _0x4ab330=_0x34bbac['parent'],_0x20295b=_0x4ab330['root']['document']['model'],_0x2635cc=_0x4ab330['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x37f817=null;for(const _0x4e8516 of _0x2635cc){if(_0x4e8516['is']('rootElement'))return _0x37f817;if(!_0x20295b['createPositionBefore'](_0x4e8516)['isTouching'](_0x34bbac))return _0x37f817;_0x37f817=_0x4e8516;}}(_0x6fd29a['createPositionBefore'](_0x2ca68a))||_0x2ca68a;let _0x1c9c75=_0x5cf318['toViewElement'](_0x3c3b0d),_0x595481=_0x6fd29a['createRangeOn'](_0x3c3b0d);const _0x1c31f0=_0x6fd29a['createPositionBefore'](_0x3c3b0d)['nodeBefore'];if(_0x1c31f0&&_0x1c31f0['is']('element','imageBlock')){const _0x5e27d5=_0x5cf318['toViewElement'](_0x1c31f0),_0x243002=_0x3e6dba['mapViewToDom'](_0x5e27d5),_0x29d69c=_0xf51fb5['window']['getComputedStyle'](_0x243002)['float'];'left'!=_0x29d69c&&'right'!=_0x29d69c||(_0x595481=_0x6fd29a['createRangeOn'](_0x1c31f0));}for(;_0x1c9c75['parent']!==_0x1c9c75['root']&&0x0===_0x1c9c75['index'];)_0x1c9c75=_0x1c9c75['parent'];const _0x5db66a=new _0x264572(K(_0x2c9600)?_0x2c9600:L(_0x2c9600)),_0x5cfc3d=_0x498059?_0x5db66a['height']-_0x498059:0x0,_0x230f07=_0x3e6dba['mapViewToDom'](_0x1c9c75),_0x28d867=new _0x264572(_0x230f07);return new y({'type':'element','modelRange':_0x595481,'domNode':_0x230f07,'offset':Math['round'](_0x5cfc3d)||_0x5e108c!=b(_0x5612b0)?_0x5cfc3d+_0x5db66a['top']-_0x28d867['top']:0x0});}get['_configuredPaddings'](){const _0x2ead9f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2ead9f);}static _findPageStarterInfos(_0x2f71cc,_0x297119,_0x5408cb,_0x24b50e,_0x35f7d8){return _(_0x2f71cc,_0x297119,_0x5408cb,_0x24b50e,_0x35f7d8);}},y=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x704c38,modelRange:_0x1be666,domNode:_0x58a41b,offset:_0x4487e8}){this['type']=_0x704c38,this['modelRange']=_0x1be666,this['_domNode']=_0x58a41b,this['_offset']=_0x4487e8;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x2f8410=new _0x264572(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x2f8410['top']+_0x2f8410['height']/0x2:_0x2f8410['top']+this['_offset'];}};function P(_0x1053ba,_0x1fe366,_0xa8b974){const _0x6939cb=L(_0x1053ba),_0x4720f9=function(_0xf311db){const _0x333e51=_0xf51fb5['document']['createRange']();return _0x333e51['selectNodeContents'](_0xf311db),_0x333e51;}(_0xa8b974);let _0x5b603c;_0x5b603c=0x0==_0x1fe366?N(_0x4720f9['startContainer'],_0x4720f9['startOffset'],_0x1053ba['parentNode'],Array['from'](_0x1053ba['parentNode']['childNodes'])['indexOf'](_0x1053ba)):N(_0x4720f9['startContainer'],_0x4720f9['startOffset'],_0x1053ba,_0x1fe366);const _0x4bf62a=N(_0x1053ba,_0x1fe366,_0x4720f9['endContainer'],_0x4720f9['endOffset']),_0x1d72c9=new _0x264572(_0x5b603c)['bottom'];return(new _0x264572(_0x4bf62a)['top']+_0x1d72c9)/0x2-new _0x264572(_0x6939cb)['top'];}function b(_0x221037){let _0x3ce870=_0x221037['parent'];for(;_0x3ce870['is']('$text')||_0x3ce870['is']('attributeElement');)_0x3ce870=_0x3ce870['parent'];return _0x3ce870;}function v(_0x5ea690){return _0x5ea690['hasAttribute']('width')&&_0x5ea690['hasAttribute']('height')?Promise['resolve']():new Promise(_0x55cbdd=>{function _0x1467eb(){_0x5ea690['removeEventListener']('load',_0x1467eb),_0x5ea690['removeEventListener']('error',_0x1467eb),_0x55cbdd();}_0x5ea690['complete']?_0x55cbdd():(_0x5ea690['addEventListener']('load',_0x1467eb),_0x5ea690['addEventListener']('error',_0x1467eb));});}function k(_0x3b7077){return new Promise(_0x62f582=>setTimeout(_0x62f582,_0x3b7077));}function L(_0x2fb28e){const _0x4e65d0=_0xf51fb5['document']['createRange']();return _0x4e65d0['selectNode'](_0x2fb28e),_0x4e65d0;}function x(_0x2d8fa6,_0x299bde,_0x1468a2){const _0x5c5358=_0xf51fb5['document']['createRange']();return _0x5c5358['setStart'](_0x2d8fa6,_0x299bde),_0x5c5358['setEnd'](_0x2d8fa6,_0x1468a2),_0x5c5358;}function N(_0x364361,_0x214f2a,_0x40fee7,_0x57ab10){const _0x312997=_0xf51fb5['document']['createRange']();return _0x312997['setStart'](_0x364361,_0x214f2a),_0x312997['setEnd'](_0x40fee7,_0x57ab10),_0x312997;}function _(_0x1a3fce,_0x1a5e6a,_0x38ae5a,_0x159501,_0x2d1a7d){const _0x388206=[];for(const [_0x41fcc4,_0x2ae9c6]of _0x1a3fce['childNodes']['entries']()){let _0x19b0aa=[];K(_0x2ae9c6)&&_0x2ae9c6['offsetParent']&&['static','relative']['includes'](_0xf51fb5['window']['getComputedStyle'](_0x2ae9c6)['position'])?_0x19b0aa=E(_0x2ae9c6,_0x41fcc4,_0x1a5e6a,_0x38ae5a,_0x159501,_0x2d1a7d):O(_0x2ae9c6)&&(_0x19b0aa=S(_0x2ae9c6,_0x41fcc4,_0x1a5e6a,_0x38ae5a,_0x2d1a7d)),_0x19b0aa['length']&&(_0x388206['push'](..._0x19b0aa),_0x1a5e6a+=_0x19b0aa['length']*_0x38ae5a,_0x2d1a7d=!0x1);}return _0x388206;}function E(_0x3b44ed,_0x574312,_0x51fb19,_0x376aad,_0x3cb24e,_0x571903){const _0x2fe64e=[];var _0x143ec5;if((_0x143ec5=_0x3b44ed['previousSibling'])&&K(_0x143ec5)&&Boolean(_0x143ec5['classList']['contains']('page-break')||_0x143ec5['closest']('.page-break'))&&(_0x2fe64e['push']({'type':'manual','offset':0x0,'path':[_0x574312-0x1]}),_0x571903=!0x0),'table-row'==_0xf51fb5['window']['getComputedStyle'](_0x3b44ed)['display']){let _0x4819ce=0x0,_0x29f8ec=!0x1;for(const _0x1b1cc9 of _0x3b44ed['getClientRects']())_0x4819ce+=_0x1b1cc9['height'],_0x1b1cc9['left']>=_0x51fb19&&(_0x29f8ec=!0x0);if(_0x4819ce<_0x3cb24e&&_0x29f8ec)return _0x571903||_0x2fe64e['push']({'type':'element','offset':0x0,'path':[_0x574312]}),_0x2fe64e;}const _0x2b09be=_0x3b44ed['closest']('figure.image');if(_0x2b09be&&function(_0x30e750){let _0x148dd0=!0x1;const _0x1ded8d=_0x30e750['parentElement']['dataset']['rootName'],_0x3499af=_0x30e750['nextElementSibling'],_0x31d3e0=_0x30e750['previousElementSibling'],_0x12271d=_0x3499af&&_0xf51fb5['window']['getComputedStyle'](_0x3499af)['float'],_0x3e98f4=_0x3499af&&'ck-fake-selection-container'===_0x3499af['className'];return!_0x1ded8d||_0x3499af||_0x31d3e0||(_0x148dd0=!0x0),_0x1ded8d&&!_0x31d3e0&&_0x3e98f4&&(_0x148dd0=!0x0),_0x1ded8d&&!_0x31d3e0&&'none'!==_0x12271d&&(_0x148dd0=!0x0),!_0x148dd0;}(_0x2b09be)){const _0x24ee97=_0xf51fb5['window']['getComputedStyle'](_0x2b09be)['float'];if('left'==_0x24ee97||'right'==_0x24ee97)return _0x2fe64e;}const _0x3ff9e4=_(_0x3b44ed,_0x51fb19,_0x376aad,_0x3cb24e,_0x571903);if(_0x3ff9e4['length']){for(const _0x597a7a of _0x3ff9e4)_0x2fe64e['push']({'type':_0x597a7a['type'],'offset':_0x597a7a['offset'],'textOffset':_0x597a7a['textOffset'],'path':[_0x574312,..._0x597a7a['path']]}),_0x51fb19+=_0x376aad;return _0x2fe64e;}return _0x2fe64e['push'](...function(_0x10829a,_0x205c20,_0x391c89,_0x6c8218,_0x184724){const _0x3098f7=[];if('table-cell'==_0xf51fb5['window']['getComputedStyle'](_0x10829a)['display'])return[];const _0x188aa3=[];for(const _0x2509ae of _0x10829a['getClientRects']())if(_0x2509ae['left']>=_0x391c89){for(const _0x3b9045 of _0x188aa3)_0x3b9045['height']+=_0x2509ae['height'];_0x188aa3['push']({'height':_0x2509ae['height']}),_0x391c89+=_0x6c8218;}for(const _0xd8077b of _0x188aa3)_0x184724||_0x3098f7['push']({'type':'element','offset':_0xd8077b['height'],'textOffset':0x0,'path':[_0x205c20]}),_0x184724=!0x1;return _0x3098f7;}(_0x3b44ed,_0x574312,_0x51fb19,_0x376aad,_0x571903)),_0x2fe64e;}function S(_0x594ac2,_0x5add8e,_0x3f3a3b,_0x2cc75b,_0x4d0125){const _0x4ce1a0=L(_0x594ac2),_0x45da37=[];let _0x472d12=0x0;for(const _0x25ea75 of _0x4ce1a0['getClientRects']())if(_0x25ea75['left']>=_0x3f3a3b){const _0x17cdfb=R(_0x594ac2,_0x472d12,_0x3f3a3b,_0x2cc75b);_0x4d0125||_0x45da37['push']({'type':'text','path':[_0x5add8e],'textOffset':_0x17cdfb}),_0x472d12=_0x17cdfb,_0x3f3a3b+=_0x2cc75b,_0x4d0125=!0x1;}return _0x45da37;}function R(_0x28326a,_0x80422f,_0x182a81,_0x3553f1){let _0x16b46f=_0x80422f,_0x4209ed=_0x28326a['length'];for(;_0x4209ed-_0x16b46f>0x1;){const _0x170fe4=Math['ceil']((_0x16b46f+_0x4209ed)/0x2);I(x(_0x28326a,_0x16b46f,_0x170fe4),_0x182a81,_0x3553f1)?_0x4209ed=_0x170fe4:_0x16b46f=_0x170fe4;}return _0x16b46f;}function I(_0x26f968,_0x1d523f,_0x128117){for(const _0x1f087a of _0x26f968['getClientRects']())if(_0x1f087a['left']>=_0x1d523f&&_0x1f087a['left']<_0x1d523f+_0x128117)return!0x0;return!0x1;}function K(_0x14cfdc){return _0x14cfdc['nodeType']==Node['ELEMENT_NODE'];}function O(_0xe5637f){return _0xe5637f['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x229e28('px');var U=class extends _0x2f2553{constructor(){super();const _0x1dbe9f=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1dbe9f['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1dbe9f['if']('isVisible','ck-hidden',_0x2c02f9=>!_0x2c02f9)],'style':{'left':_0x1dbe9f['to']('left',_0x1dc02e=>A(_0x1dc02e)),'top':_0x1dbe9f['to']('top',_0x5a5eda=>A(_0x5a5eda)),'width':_0x1dbe9f['to']('width',_0x38c4d0=>A(_0x38c4d0))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x44dcab){this['_viewCollection']=_0x44dcab['ui']['view']['body'];}destroy(){for(const _0x3e4149 of this['_hiddenLines'])_0x3e4149['destroy']();}['cleanLines'](){for(const _0x293e81 of this['_visibleLines'])_0x293e81['isVisible']=!0x1,this['_hiddenLines']['add'](_0x293e81);this['_visibleLines']['clear']();}['showLine'](_0x431868,_0x353ab9,_0x3aa0dc,_0x14354b){let _0x2247b7;this['_hiddenLines']['size']?(_0x2247b7=_0x22957b(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2247b7)):_0x2247b7=new U(),_0x2247b7['set']({'pageNumber':_0x14354b,'left':_0x431868,'top':_0x353ab9,'width':_0x3aa0dc}),_0x2247b7['isVisible']=!0x0,this['_viewCollection']['has'](_0x2247b7)||this['_viewCollection']['add'](_0x2247b7),this['_visibleLines']['add'](_0x2247b7);}setViewCollection(_0x1ad824){for(const _0x574620 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x574620)&&this['_viewCollection']['remove'](_0x574620);this['_viewCollection']=_0x1ad824;}};const D='ck-pagination_enabled';var B=class extends _0x446a93{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',(_0x12e4fb,_0x3dc979,_0x99af7c)=>{_0x99af7c||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x99af7c);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5ea907){if(!this['isEnabled'])return;const _0x1b14a2=_0x5ea907>0x1?this['_getPageBreakLineOffset'](_0x5ea907-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x1b14a2-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x24add8['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0xde24c3=this['editor'],_0x543d90=this['_getAttachedDomRoot']();_0x543d90?(this['_scrollableEditingRootDomAncestor']&&_0xde24c3['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0xfe8f9e){let _0x572e7b=_0xfe8f9e;do{_0x572e7b=_0x572e7b['parentElement'];const _0x1c59c4=_0xf51fb5['window']['getComputedStyle'](_0x572e7b)['overflowY'];if('auto'==_0x1c59c4||'scroll'==_0x1c59c4)break;}while('BODY'!=_0x572e7b['tagName']);return _0x572e7b;}(_0x543d90),_0xde24c3['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2dd83d(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xde24c3['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0xa6a289=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0xa6a289['ui']['view']['listenTo'](_0xf51fb5['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0xa6a289['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x2ab5ff of this['editor']['editing']['view']['domRoots']['values']())if(_0x2ab5ff['ownerDocument']['body']['contains'](_0x2ab5ff))return _0x2ab5ff;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x504b13=this['_getAttachedDomRoot'](),_0x48df66=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x504b13||0x1==_0x48df66['length'])return void(this['pageNumber']=0x1);const _0x4aea7e=new _0x264572(_0x504b13)['excludeScrollbarsAndBorders'](),_0x308336=new _0x264572(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x455d7d=_0x308336['top']+_0x308336['height']/0x3;let _0x5b46ea=!0x1;const _0x56cbbe=[];for(let _0x1d831f=0x1;_0x1d831f<_0x48df66['length'];_0x1d831f++){const _0x526051=this['_getPageBreakLineOffset'](_0x1d831f,_0x308336);if(!_0x526051)continue;const _0x5afb89=_0x308336['top']+_0x526051-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x56cbbe['push']({'pageOffsetTop':_0x5afb89,'domRootRect':_0x4aea7e,'domScrollableRect':_0x308336,'pageNumber':_0x1d831f}),_0x5afb89>_0x455d7d&&!_0x5b46ea&&(this['pageNumber']=_0x1d831f,_0x5b46ea=!0x0);}this['_renderPageBreakLines'](_0x56cbbe),_0x5b46ea||(this['pageNumber']=_0x48df66['length']);}['_renderPageBreakLines'](_0x40ffbe){const {scrollX:_0x4fc7a0,scrollY:_0x27b623}=_0xf51fb5['window'];if(_0x40ffbe['length']){for(const {domScrollableRect:_0x23b09a,pageOffsetTop:_0x2e12d6,domRootRect:_0x42cc17,pageNumber:_0x3b3153}of _0x40ffbe)_0x23b09a['top']<_0x2e12d6&&_0x2e12d6<_0x23b09a['bottom']&&this['linesRepository']['showLine'](_0x42cc17['left']+_0x4fc7a0,_0x2e12d6+_0x27b623,_0x42cc17['width'],_0x3b3153+0x1);}}_getPageBreakLineOffset(_0x539ea2,_0x5e0bf5=null){const _0xf46568=this['_paginationLookupPlugin']['pageBreaks'][_0x539ea2]['offset'];return _0xf46568?(_0x5e0bf5||(_0x5e0bf5=new _0x264572(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xf46568-_0x5e0bf5['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x40e11b,_0x69cd63=!0x0){const _0x24a7d7=this['editor']['editing']['view'];_0x24a7d7['change'](_0x1062e2=>{for(const _0x346cf8 of _0x24a7d7['document']['roots'])_0x69cd63?_0x1062e2['addClass'](_0x40e11b,_0x346cf8):_0x1062e2['removeClass'](_0x40e11b,_0x346cf8);});}};function T(_0x7f86a,_0x528255,..._0x5ca552){const t=_0x7f86a['t'];switch(_0x528255){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)',..._0x5ca552);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 _0x528255;}}var G=class extends _0x446a93{['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 _0x295489=this['editor']['plugins']['get']('Pagination'),_0x1028d3=this['editor']['plugins']['get'](w),_0x654c0c=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x295489),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x654c0c),this['listenTo'](_0x1028d3,'change:pageBreaks',(_0x2ce07c,_0x26dd16,_0x1ce04,_0x3b4bb8)=>{this['totalPages']=_0x1ce04['length'],this['_updatePageBreakMarkers'](_0x1ce04,_0x3b4bb8);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x2131ff=[this['editor']];for(const _0x4302cc of _0x2131ff){let _0x340fca;for(const _0x18e2a9 in _0x4302cc){const _0x31b3d2=_0x18e2a9,_0x31a1aa=_0x4302cc[_0x31b3d2];if('paginationLicenseKeyValid'==_0x31a1aa||'paginationLicenseKeyInvalid'==_0x31a1aa||'paginationLicenseKeyExpired'==_0x31a1aa||'paginationLicenseKeyDomainLimit'==_0x31a1aa||'paginationLicenseKeyNotAllowed'==_0x31a1aa||'paginationLicenseKeyEvaluationLimit'==_0x31a1aa||'paginationLicenseKeyUsageLimit'==_0x31a1aa){delete _0x4302cc[_0x31b3d2],_0x340fca=_0x31a1aa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x340fca&&_0x4302cc['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x340fca&&_0x4302cc['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x340fca&&_0x4302cc['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x340fca&&_0x4302cc['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x340fca&&_0x4302cc['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x340fca&&_0x4302cc['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1f1a04){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x1f1a04));}moveSelectionToPage(_0xe2bd09){if(!this['isEnabled'])return;const _0x4ccf06=this['editor'],_0x3b9201=this['editor']['plugins']['get'](w)['pageBreaks'][_0xe2bd09-0x1];_0x3b9201&&_0x4ccf06['model']['change'](_0x1e6fe4=>{switch(_0x3b9201['type']){case'manual':{const _0x5def71=_0x4ccf06['model']['schema']['getNearestSelectionRange'](_0x3b9201['modelRange']['end'],'forward');_0x1e6fe4['setSelection'](_0x5def71);break;}case'element':{const _0x2b3471=_0x4ccf06['model']['schema']['getNearestSelectionRange'](_0x3b9201['modelRange']['start'],'forward');_0x1e6fe4['setSelection'](_0x2b3471);break;}case'text':{const _0x118736=_0x3b9201['modelRange']['start'];if(_0x118736['textNode']&&'\x20'===_0x118736['textNode']['data'][_0x118736['offset']]){const _0x42b5ef=_0x1e6fe4['createPositionAt'](_0x118736['parent'],_0x118736['offset']+0x1);_0x1e6fe4['setSelection'](_0x42b5ef);}else _0x1e6fe4['setSelection'](_0x3b9201['modelRange']);}}_0x4ccf06['editing']['view']['focus']();});}goToNextPage(){const _0x4e923b=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4e923b),this['scrollToPage'](_0x4e923b);}['goToPreviousPage'](){const _0x309eda=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x309eda),this['scrollToPage'](_0x309eda);}_updatePageBreakMarkers(_0x3241f1,_0xb33e85){const _0x2e567e=this['editor']['model'];this['isEnabled']&&_0x2e567e['change'](_0xb7438=>{for(let _0x17b0d7=0x1;_0x17b0d7<_0x3241f1['length'];_0x17b0d7++){const _0x17c996=_0x3241f1[_0x17b0d7]['modelRange'],_0x107c31='pagination:'+(_0x17b0d7+0x1);_0x2e567e['markers']['has'](_0x107c31)?_0xb7438['updateMarker'](_0x107c31,{'range':_0x17c996}):_0xb7438['addMarker'](_0x107c31,{'range':_0x17c996,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x37c8c=_0x3241f1['length'];_0x37c8c<_0xb33e85['length'];_0x37c8c++){const _0x1dfd5d='pagination:'+(_0x37c8c+0x1);_0x2e567e['markers']['has'](_0x1dfd5d)&&_0xb7438['removeMarker'](_0x1dfd5d);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x373c64=>{_0x373c64['on']('addMarker:pagination',(_0x4e3199,{markerRange:_0x488813,markerName:_0x2a2756},_0xcf1c17)=>{if(!_0xcf1c17['options']['pagination'])return;if(!_0xcf1c17['consumable']['consume'](_0x488813,_0x4e3199['name']))return;const _0x3e9b64=_0x488813['getContainedElement']();let _0x1137d6=_0x3e9b64?_0xcf1c17['mapper']['toViewElement'](_0x3e9b64):null;if(!_0x1137d6){const _0x3e5820=_0x488813['start'];if(_0xcf1c17['schema']['checkChild'](_0x3e5820,'$text')){const _0x3a2ad9=_0xcf1c17['mapper']['toViewPosition'](_0x3e5820);_0x1137d6=_0xcf1c17['writer']['createContainerElement']('span'),_0x1137d6['getFillerOffset']=()=>null,_0xcf1c17['writer']['insert'](_0x3a2ad9,_0x1137d6);}else{const _0x3f495f=_0x3e5820['nodeAfter'];_0x1137d6=_0xcf1c17['mapper']['toViewElement'](_0x3f495f);}}for(;_0x1137d6['parent']!==_0x1137d6['root']&&0x0===_0x1137d6['index'];)_0x1137d6=_0x1137d6['parent'];const _0x27c525=_0x2a2756['substring'](0xb);_0x1137d6['hasClass']('page-break')||(_0xcf1c17['writer']['setStyle']('page-break-before','always',_0x1137d6),_0xcf1c17['writer']['setAttribute']('data-pagination-page',_0x27c525,_0x1137d6),_0xcf1c17['mapper']['bindElementToMarker'](_0x1137d6,_0x2a2756)),_0x4e3199['stop']();});});}_setupKeystrokes(){const _0x2b3af5=this['editor'];_0x2b3af5['keystrokes']['set']('Shift+Pageup',(_0x4e8572,_0x4a2bdc)=>{this['goToPreviousPage'](),_0x4a2bdc();}),_0x2b3af5['keystrokes']['set']('Shift+Pagedown',(_0x3ecd87,_0x2e44dd)=>{this['goToNextPage'](),_0x2e44dd();}),_0x2b3af5['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x2b3af5['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x2b3af5['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x2b3af5['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x57496c){return _0x57496c<0x1&&(_0x57496c=0x1),_0x57496c>this['totalPages']&&(_0x57496c=this['totalPages']),_0x57496c;}},V=class extends _0x2f2553{['pageNumberView'];constructor(_0x2ac2b6){super(_0x2ac2b6);const _0x82a110=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x567c82(_0x2ac2b6,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xcce2cf=>T(_0x2ac2b6,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xcce2cf)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x674fbf=>!_0x674fbf),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x82a110['if']('isEnabled','ck-disabled',_0x5a682c=>!_0x5a682c)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x82a110['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1ade2a=this['pageNumberView']['element'],_0x464960=_0x5ae7e8=>{this['pageNumberView']['element']['value']=String(_0x5ae7e8);};_0x464960(this['pageNumber']),this['on']('change:pageNumber',(_0x38d9e5,_0x5f0c47,_0x2d2a0d)=>{_0x464960(_0x2d2a0d);}),this['listenTo'](_0x1ade2a,'keydown',(_0x4f055c,_0x5e2e70)=>{if('ArrowUp'===_0x5e2e70['key']||'ArrowDown'===_0x5e2e70['key'])return void _0x5e2e70['stopPropagation']();if(_0x5e2e70['keyCode']!==_0x599b50['enter'])return;_0x5e2e70['preventDefault']();const _0x5c6227=_0x1ade2a['valueAsNumber'];Number['isNaN'](_0x5c6227)?_0x1ade2a['value']=String(this['pageNumber']):(_0x1ade2a['checkValidity']()?this['pageNumber']=_0x5c6227:_0x5c6227>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1ade2a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1ade2a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1ade2a,'blur',()=>{_0x1ade2a['value']=String(this['pageNumber']);}),this['listenTo'](_0x1ade2a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x446a93{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x53137b=this['editor'],_0xc91a92=_0x53137b['plugins']['get']('PaginationEditing');_0x53137b['ui']['componentFactory']['add']('pageNavigation',_0x225536=>{const _0x2a108f=new V(_0x225536);return _0x2a108f['bind']('pageNumber')['to'](_0xc91a92),_0x2a108f['bind']('totalPages')['to'](_0xc91a92),_0x2a108f['bind']('isEnabled')['to'](_0xc91a92),_0x2a108f['on']('navigation',(_0x5e329d,_0x555be1)=>{_0xc91a92['moveSelectionToPage'](_0x555be1),_0xc91a92['scrollToPage'](_0x555be1);}),_0x2a108f;}),_0x53137b['ui']['componentFactory']['add']('nextPage',_0x199ea8=>{const _0x4440de=new _0x1726f1(_0x199ea8);return _0x4440de['isEnabled']=!0x0,_0x4440de['label']=T(_0x53137b['locale'],'Go\x20to\x20next\x20page'),_0x4440de['icon']=_0x5a2685,_0x4440de['tooltip']=!0x0,_0x4440de['keystroke']='Shift+PageDown',_0x4440de['bind']('isEnabled')['to'](_0xc91a92),this['listenTo'](_0x4440de,'execute',()=>{_0xc91a92['goToNextPage']();}),_0x4440de;}),_0x53137b['ui']['componentFactory']['add']('previousPage',_0x2fb8b9=>{const _0x2c617c=new _0x1726f1(_0x2fb8b9);return _0x2c617c['isEnabled']=!0x0,_0x2c617c['label']=T(_0x53137b['locale'],'Go\x20to\x20previous\x20page'),_0x2c617c['icon']=_0x17bac8,_0x2c617c['tooltip']=!0x0,_0x2c617c['keystroke']='Shift+PageUp',_0x2c617c['bind']('isEnabled')['to'](_0xc91a92),this['listenTo'](_0x2c617c,'execute',()=>{_0xc91a92['goToPreviousPage']();}),_0x2c617c;});}},$=class extends _0x446a93{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x25f41){super(_0x25f41),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x5d93ad=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x5d93ad),this['bind']('totalPages')['to'](_0x5d93ad),_0x24add8['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x189c63){this['editor']['plugins']['get'](G)['scrollToPage'](_0x189c63);}};export{$ as Pagination,B as PaginationRenderer};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3948bb=>{const {af:_0x3ab09b}={'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)':''}}};_0x3948bb['af']||={'dictionary':{},'getPluralForm':null},_0x3948bb['af']['dictionary']=Object['assign'](_0x3948bb['af']['dictionary'],_0x3ab09b['dictionary']),_0x3ab09b['getPluralForm']&&(_0x3948bb['af']['getPluralForm']=_0x3ab09b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ba6f1=>{const {ar:_0x32343c}={'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أيضاً)'}}};_0x2ba6f1['ar']||={'dictionary':{},'getPluralForm':null},_0x2ba6f1['ar']['dictionary']=Object['assign'](_0x2ba6f1['ar']['dictionary'],_0x32343c['dictionary']),_0x32343c['getPluralForm']&&(_0x2ba6f1['ar']['getPluralForm']=_0x32343c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x407a53=>{const {ast:_0x365e0d}={'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)':''}}};_0x407a53['ast']||={'dictionary':{},'getPluralForm':null},_0x407a53['ast']['dictionary']=Object['assign'](_0x407a53['ast']['dictionary'],_0x365e0d['dictionary']),_0x365e0d['getPluralForm']&&(_0x407a53['ast']['getPluralForm']=_0x365e0d['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24d0f9=>{const {az:_0x4f504f}={'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)':''}}};_0x24d0f9['az']||={'dictionary':{},'getPluralForm':null},_0x24d0f9['az']['dictionary']=Object['assign'](_0x24d0f9['az']['dictionary'],_0x4f504f['dictionary']),_0x4f504f['getPluralForm']&&(_0x24d0f9['az']['getPluralForm']=_0x4f504f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x343b88=>{const {be:_0x46aad6}={'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)':''}}};_0x343b88['be']||={'dictionary':{},'getPluralForm':null},_0x343b88['be']['dictionary']=Object['assign'](_0x343b88['be']['dictionary'],_0x46aad6['dictionary']),_0x46aad6['getPluralForm']&&(_0x343b88['be']['getPluralForm']=_0x46aad6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x44429e=>{const {bg:_0x3e3b77}={'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селекцията)'}}};_0x44429e['bg']||={'dictionary':{},'getPluralForm':null},_0x44429e['bg']['dictionary']=Object['assign'](_0x44429e['bg']['dictionary'],_0x3e3b77['dictionary']),_0x3e3b77['getPluralForm']&&(_0x44429e['bg']['getPluralForm']=_0x3e3b77['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc95d69=>{const {bn:_0x169193}={'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নিন)'}}};_0xc95d69['bn']||={'dictionary':{},'getPluralForm':null},_0xc95d69['bn']['dictionary']=Object['assign'](_0xc95d69['bn']['dictionary'],_0x169193['dictionary']),_0x169193['getPluralForm']&&(_0xc95d69['bn']['getPluralForm']=_0x169193['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4834f8=>{const {bs:_0x3ce7b8}={'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)':''}}};_0x4834f8['bs']||={'dictionary':{},'getPluralForm':null},_0x4834f8['bs']['dictionary']=Object['assign'](_0x4834f8['bs']['dictionary'],_0x3ce7b8['dictionary']),_0x3ce7b8['getPluralForm']&&(_0x4834f8['bs']['getPluralForm']=_0x3ce7b8['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x39eee2=>{const {ca:_0x1d3c4d}={'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ó)'}}};_0x39eee2['ca']||={'dictionary':{},'getPluralForm':null},_0x39eee2['ca']['dictionary']=Object['assign'](_0x39eee2['ca']['dictionary'],_0x1d3c4d['dictionary']),_0x1d3c4d['getPluralForm']&&(_0x39eee2['ca']['getPluralForm']=_0x1d3c4d['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd6e04f=>{const {cs:_0x5d3188}={'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)'}}};_0xd6e04f['cs']||={'dictionary':{},'getPluralForm':null},_0xd6e04f['cs']['dictionary']=Object['assign'](_0xd6e04f['cs']['dictionary'],_0x5d3188['dictionary']),_0x5d3188['getPluralForm']&&(_0xd6e04f['cs']['getPluralForm']=_0x5d3188['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x339412=>{const {da:_0x46e4c0}={'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)'}}};_0x339412['da']||={'dictionary':{},'getPluralForm':null},_0x339412['da']['dictionary']=Object['assign'](_0x339412['da']['dictionary'],_0x46e4c0['dictionary']),_0x46e4c0['getPluralForm']&&(_0x339412['da']['getPluralForm']=_0x46e4c0['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x7a1326=>{const {'de-ch':_0x461aba}={'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)':''}}};_0x7a1326['de-ch']||={'dictionary':{},'getPluralForm':null},_0x7a1326['de-ch']['dictionary']=Object['assign'](_0x7a1326['de-ch']['dictionary'],_0x461aba['dictionary']),_0x461aba['getPluralForm']&&(_0x7a1326['de-ch']['getPluralForm']=_0x461aba['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x253474=>{const {de:_0x32d04f}={'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)'}}};_0x253474['de']||={'dictionary':{},'getPluralForm':null},_0x253474['de']['dictionary']=Object['assign'](_0x253474['de']['dictionary'],_0x32d04f['dictionary']),_0x32d04f['getPluralForm']&&(_0x253474['de']['getPluralForm']=_0x32d04f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3395fa=>{const {el:_0x222cc2}={'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μετακίνησης)'}}};_0x3395fa['el']||={'dictionary':{},'getPluralForm':null},_0x3395fa['el']['dictionary']=Object['assign'](_0x3395fa['el']['dictionary'],_0x222cc2['dictionary']),_0x222cc2['getPluralForm']&&(_0x3395fa['el']['getPluralForm']=_0x222cc2['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x73ffe5=>{const {'en-au':_0x131961}={'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)':''}}};_0x73ffe5['en-au']||={'dictionary':{},'getPluralForm':null},_0x73ffe5['en-au']['dictionary']=Object['assign'](_0x73ffe5['en-au']['dictionary'],_0x131961['dictionary']),_0x131961['getPluralForm']&&(_0x73ffe5['en-au']['getPluralForm']=_0x131961['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x658be9=>{const {'en-gb':_0x170199}={'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)':''}}};_0x658be9['en-gb']||={'dictionary':{},'getPluralForm':null},_0x658be9['en-gb']['dictionary']=Object['assign'](_0x658be9['en-gb']['dictionary'],_0x170199['dictionary']),_0x170199['getPluralForm']&&(_0x658be9['en-gb']['getPluralForm']=_0x170199['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32d114=>{const {en:_0x54a5a9}={'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)'}}};_0x32d114['en']||={'dictionary':{},'getPluralForm':null},_0x32d114['en']['dictionary']=Object['assign'](_0x32d114['en']['dictionary'],_0x54a5a9['dictionary']),_0x54a5a9['getPluralForm']&&(_0x32d114['en']['getPluralForm']=_0x54a5a9['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5183d7=>{const {eo:_0x16ea31}={'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)':''}}};_0x5183d7['eo']||={'dictionary':{},'getPluralForm':null},_0x5183d7['eo']['dictionary']=Object['assign'](_0x5183d7['eo']['dictionary'],_0x16ea31['dictionary']),_0x16ea31['getPluralForm']&&(_0x5183d7['eo']['getPluralForm']=_0x16ea31['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x291f6d=>{const {'es-co':_0x2d4012}={'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)':''}}};_0x291f6d['es-co']||={'dictionary':{},'getPluralForm':null},_0x291f6d['es-co']['dictionary']=Object['assign'](_0x291f6d['es-co']['dictionary'],_0x2d4012['dictionary']),_0x2d4012['getPluralForm']&&(_0x291f6d['es-co']['getPluralForm']=_0x2d4012['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x128bcb=>{const {es:_0x3e985e}={'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)'}}};_0x128bcb['es']||={'dictionary':{},'getPluralForm':null},_0x128bcb['es']['dictionary']=Object['assign'](_0x128bcb['es']['dictionary'],_0x3e985e['dictionary']),_0x3e985e['getPluralForm']&&(_0x128bcb['es']['getPluralForm']=_0x3e985e['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3b273e=>{const {et:_0x565dc2}={'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)'}}};_0x3b273e['et']||={'dictionary':{},'getPluralForm':null},_0x3b273e['et']['dictionary']=Object['assign'](_0x3b273e['et']['dictionary'],_0x565dc2['dictionary']),_0x565dc2['getPluralForm']&&(_0x3b273e['et']['getPluralForm']=_0x565dc2['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59b412=>{const {eu:_0x233cbd}={'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)':''}}};_0x59b412['eu']||={'dictionary':{},'getPluralForm':null},_0x59b412['eu']['dictionary']=Object['assign'](_0x59b412['eu']['dictionary'],_0x233cbd['dictionary']),_0x233cbd['getPluralForm']&&(_0x59b412['eu']['getPluralForm']=_0x233cbd['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33ca17=>{const {fa:_0x343b04}={'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)':''}}};_0x33ca17['fa']||={'dictionary':{},'getPluralForm':null},_0x33ca17['fa']['dictionary']=Object['assign'](_0x33ca17['fa']['dictionary'],_0x343b04['dictionary']),_0x343b04['getPluralForm']&&(_0x33ca17['fa']['getPluralForm']=_0x343b04['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x248b21=>{const {fi:_0x50f881}={'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)'}}};_0x248b21['fi']||={'dictionary':{},'getPluralForm':null},_0x248b21['fi']['dictionary']=Object['assign'](_0x248b21['fi']['dictionary'],_0x50f881['dictionary']),_0x50f881['getPluralForm']&&(_0x248b21['fi']['getPluralForm']=_0x50f881['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5bfcdf=>{const {fr:_0x25cdec}={'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)'}}};_0x5bfcdf['fr']||={'dictionary':{},'getPluralForm':null},_0x5bfcdf['fr']['dictionary']=Object['assign'](_0x5bfcdf['fr']['dictionary'],_0x25cdec['dictionary']),_0x25cdec['getPluralForm']&&(_0x5bfcdf['fr']['getPluralForm']=_0x25cdec['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x457740=>{const {gl:_0xf4963}={'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)'}}};_0x457740['gl']||={'dictionary':{},'getPluralForm':null},_0x457740['gl']['dictionary']=Object['assign'](_0x457740['gl']['dictionary'],_0xf4963['dictionary']),_0xf4963['getPluralForm']&&(_0x457740['gl']['getPluralForm']=_0xf4963['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|