@ckeditor/ckeditor5-pagination 45.1.0-alpha.1 → 45.1.0-alpha.3
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/build/pagination.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/pagination.js +1 -1
- package/src/paginationediting.js +1 -1
- package/src/paginationlookup.js +1 -1
- package/src/paginationrenderer.js +1 -1
- package/src/paginationui.js +1 -1
- package/src/ui/linesrepository.js +1 -1
- package/src/ui/lineview.js +1 -1
- package/src/ui/pagenavigatorview.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/pagination.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>J});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=c;function a(){const t=["plugins","set","remove","ceil","parent","display","77376IAeDTW","startContainer","root","endContainer","_domNode","values","createRangeOn","round","error","pagination.pageMargins","height","87043LNALCg","cloneNode","afterInit","startOffset","domRoots","closest","paddingLeft","187024nUMvOb","ck-reset","hasAttribute","classList","href","scrollLeft",".page-break","querySelectorAll","createRange"," - ","destroy","all","isTouching","findMappedViewAncestor","ownerDocument","page-break","float","_recalculatePageBreaks","setStart","_mapTextPageStarterInfoToPageBreakInfo","rootName","parentElement","low","DOCUMENT_POSITION_PRECEDING","rootElement","document","_recalculatePageBreaksDebounced","push","domConverter","2038746BQLKev","join","paddingRight","bind","childElementCount","init","compareDocumentPosition","text","append","toModelPosition","-99999px","none","TEXT_NODE","div","setTemplate","toModelElement","previousSibling","_offset","bottom","isEnabled","left","every","createPositionBefore","removeAttribute","editing","complete","getComputedStyle","previousElementSibling","getDomRoot","figure.image","mapper","element"," 0 ","type","selectNodeContents","359030IMIFuh","_configuredPaddings","isPremiumPlugin","ck-fake-selection-container","pagination","model","pagination-config-not-found","from","path","position","childNodes","right","2CZwJDE","indexOf","15cRJzjz","_updatePageBreaksData","race","resolve","domPositionToView","then","getAncestors","manual","mapViewToDom","calc( ","view","assign","getClientRects","table-cell","once","27drvFNJ","contains","firstChild","floor","_pagesContainer","excludeScrollbarsAndBorders","class","_mapManualPageStarterInfoToPageBreakInfo","attributeStyleMap","toViewElement","listenTo","nextElementSibling","map","endOffset","49392VvBIzJ","_onUiReady","entries","change:isEnabled","pageBreaks","modelRange","imageBlock","top","update","clear","ck-pagination-view","style","bindTemplate","border-box","hidden","dataset","length","window","shift","10mm","insertBefore","nodeType","setEnd","PaginationEditing","offset","img","pluginName","isOfficialPlugin","cancel","_findPageStarterInfos","ready","_mapPageStarterInfoToPageBreakInfo","offsetParent","sort","body","absolute","width","editor","render","textOffset","_mapElementPageStarterInfoToPageBreakInfo","ELEMENT_NODE","490JHzJsu","100px","locale","_getAttachedDomRoot","nextSibling","index","get","selectNode","parentNode","className","addEventListener","fromCharCode","279352EVUHUc","auto","nodeBefore","PaginationLookup","config","load","removeEventListener","table-row"];return(a=function(){return t})()}function c(t,e){const n=a();return(c=function(t,e){return n[t-=260]})(t,e)}!function(t){const e=c,n=t();for(;;)try{if(170251===parseInt(e(397))/1*(parseInt(e(280))/2)+parseInt(e(379))/3+parseInt(e(311))/4*(-parseInt(e(282))/5)+-parseInt(e(426))/6+parseInt(e(268))/7+-parseInt(e(365))/8*(parseInt(e(297))/9)+-parseInt(e(353))/10*(-parseInt(e(390))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[r(423)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(414)]()),200);[r(301)]=null;static get[r(337)](){return r(368)}static get[r(338)](){return!0}static get[r(270)](){return!0}[r(431)](){const t=r;if(this[t(374)]({pageBreaks:[]}),!this[t(348)][t(369)][t(359)](t(272)))return void(0,o.logWarning)(t(274),this[t(348)][t(369)]);const e=this[t(348)][t(373)][t(359)](t(334));this[t(429)](t(445)).to(e),this[t(348)].ui[t(296)](t(341),(()=>this[t(312)]())),this.on(t(314),((e,n,i)=>{i&&this[t(423)]()}))}[r(392)](){!async function(t){const e=m([99,112,106,67,55,114,72,111,110,120,50,54,100,117,74,90,98,102,113,48,81,103,57,83,108,89,85,105,71,84,121,88,56,87,122,107,79,104,97,119,82,69,53,68,116,118,49,65,101,86,73,66,70,77,78,109,75,115,80,51,76,52]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=c;return t[e(309)]((t=>String[e(364)](t)))[e(427)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([99]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])((c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])]((t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116])))[m([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[m([116,104,101,110])](c)[m([99,97,116,99,104])]((()=>{c(m([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),i=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])(((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}}),{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),(t=>t[m([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1746662400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=c,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(401)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])]((t=>t[m([105,110,99,108,117,100,101,115])](m([42]))))[m([109,97,112])]((t=>t[m([115,112,108,105,116])](m([46]))))[m([115,111,109,101])]((t=>o[m([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===m([42])))))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])(((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])]((e=>{e!=m([86,97,108,105,100])&&t(e)}),n)})):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch(t){return m([73,110,118,97,108,105,100])}}())}(this)}[r(407)](){const t=r;super[t(407)](),this[t(301)]&&(this[t(423)][t(339)](),this[t(301)][t(407)](),this[t(301)][t(264)][t(375)]())}[r(312)](){const t=r,n=this[t(348)],i=n[t(450)][t(292)],o=this[t(356)]();if(!o||0===o[t(430)])return void n.ui[t(296)](t(319),(()=>this[t(312)]()));const{pageWidth:s,pageHeight:a}=n[t(369)][t(359)](t(272)),{top:c,left:u,bottom:l,right:p}=this[t(269)];this[t(301)]=new e.View(n[t(355)]);const f=this[t(301)];f[t(374)](t(303),""),f[t(440)]({tag:t(439),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(291)+a+t(406)+c+t(406)+l+" )",minWidth:t(366),minHeight:t(366),padding:"0 "+p+t(265)+u,columnGap:t(354),border:0,boxSizing:t(324),columnCount:t(366),columnFill:t(366),overflow:t(325),position:t(346),top:t(436),left:t(436)},tabindex:"-1",class:f[t(323)].to(t(303))}}),f[t(349)](),o[t(361)][t(331)](f[t(264)],o[t(357)]),this[t(307)](i,t(349),(()=>this[t(423)]()),{priority:t(419)}),this[t(423)]()}[r(356)](){const t=r;for(const e of this[t(348)][t(450)][t(292)][t(394)][t(384)]())if(e[t(411)][t(345)][t(298)](e))return e;return null}[r(414)](){const t=r;if(!this[t(445)])return Promise[t(285)]();const e=this[t(348)][t(450)][t(292)],n=this[t(301)],i=this[t(356)]();if(!i)return Promise[t(285)]();for(n[t(303)]=[t(398),t(321),...i[t(400)]][t(427)](" ");n[t(264)][t(299)];)n[t(264)][t(299)][t(375)]();const o=Array[t(275)](e[t(394)]);o[t(344)]((([,e],[,n])=>e[t(432)](n)==Node[t(420)]?1:-1));for(const[e,i]of o){const o=i[t(391)](!0);t(305)in o&&o[t(305)][t(320)](),o[t(362)]="",o[t(449)]("id"),o[t(326)][t(417)]=e,n[t(264)][t(434)](o)}return function(e){const n=t;return Promise[n(408)](e[n(309)]((t=>{return Promise[n(284)]([f(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(275)](n[t(264)][t(404)](t(336))))[t(287)]((()=>this[t(283)]()))}[r(283)](){const t=r,e=this[t(301)][t(264)];if(!e[t(411)][t(345)][t(298)](e))return;const n=new o.Rect(e)[t(302)](),i=o.global[t(328)][t(452)](e),s=parseFloat(i[t(396)])+parseFloat(i[t(428)]),a=Math[t(300)](n[t(347)]+100-s),c=m(e,Math[t(300)](n[t(446)]-e[t(402)]),a,n[t(389)])[t(309)]((e=>this[t(342)](e)));c[t(447)]((t=>!!t))&&(this[t(315)]=c)}[r(342)](t){const e=r,n=this[e(348)][e(450)][e(292)],i=this[e(348)][e(450)][e(263)],o=n[e(425)],s=t[e(276)][e(329)](),a=this[e(301)][e(264)][e(278)][s][e(326)][e(417)],c=n[e(261)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(276)]){if(!o)return null;o=o[i(278)][t]}return o}(c,t);if(!u)return null;const l=o[e(286)](u,t[e(350)]||0);return l?e(289)==t[e(266)]?this[e(304)](l,u):e(433)==t[e(266)]&&i[e(435)](l)[e(335)]?this[e(416)](l,u,t[e(350)]):this[e(351)](l,u,t[e(335)]):null}[r(304)](t,e){const n=r,i=this[n(348)][n(273)],o=this[n(348)][n(450)][n(263)][n(441)](t[n(377)]),s=i[n(385)](o);return new l({type:n(289),modelRange:s,domNode:e,offset:0})}[r(416)](t,e,n){const i=r,o=this[i(348)][i(273)],s=this[i(348)][i(450)][i(263)],a=this[i(348)][i(450)][i(292)][i(425)];if(n>=e[i(327)])return null;const c=s[i(435)](t),u=o[i(405)](c),f=s[i(410)](t),h=a[i(290)](f);return new l({type:i(433),modelRange:u,domNode:e,offset:p(e,n,h)})}[r(351)](t,e,n){const i=r,s=this[i(348)][i(273)],a=this[i(348)][i(450)],c=a[i(263)],u=a[i(292)][i(425)],p=c[i(410)](t),f=c[i(441)](p),d=function(t){const e=i,n=t[e(377)],o=n[e(381)][e(422)][e(273)],s=n[e(288)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(421)))return r;if(!o[e(448)](n)[e(409)](t))return r;r=n}}(s[i(448)](f))||f;let g=c[i(306)](d),m=s[i(385)](d);const b=s[i(448)](d)[i(367)];if(b&&b.is(i(264),i(317))){const t=c[i(306)](b),e=u[i(290)](t),n=o.global[i(328)][i(452)](e)[i(413)];i(446)!=n&&i(279)!=n||(m=s[i(385)](b))}for(;g[i(377)]!==g[i(381)]&&0===g[i(358)];)g=g[i(377)];const w=new o.Rect(y(e)?e:h(e)),v=n?w[i(389)]-n:0,k=u[i(290)](g),I=new o.Rect(k);return new l({type:i(264),modelRange:m,domNode:k,offset:Math[i(386)](v)?v+w[i(318)]-I[i(318)]:0})}get[r(269)](){const t=r,e=this[t(348)][t(369)][t(359)](t(388));return Object[t(293)]({top:t(330),bottom:t(330),left:t(330),right:t(330)},e)}static[r(340)](t,e,n,i,o){return m(t,e,n,i,o)}}class l{[r(266)];[r(316)];[r(383)];[r(443)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(266)]=t,this[o(316)]=e,this[o(383)]=n,this[o(443)]=i}get[r(335)](){const t=r;if(!this[t(383)][t(411)][t(345)][t(298)](this[t(383)]))return 0;const e=new o.Rect(y(this[t(383)])?this[t(383)]:h(this[t(383)]));return t(289)==this[t(266)]?e[t(318)]+e[t(389)]/2:e[t(318)]+this[t(443)]}}function p(t,e,n){const i=r,s=h(t),a=function(t){const e=c,n=o.global[e(422)][e(405)]();return n[e(267)](t),n}(n);let u;u=0==e?g(a[i(380)],a[i(393)],t[i(361)],Array[i(275)](t[i(361)][i(278)])[i(281)](t)):g(a[i(380)],a[i(393)],t,e);const l=g(t,e,a[i(382)],a[i(310)]),p=new o.Rect(u)[i(444)];return(new o.Rect(l)[i(318)]+p)/2-new o.Rect(s)[i(318)]}function f(t){const e=r;return t[e(399)](e(347))&&t[e(399)](e(389))?Promise[e(285)]():new Promise((n=>{const i=e;function o(){const e=c;t[e(371)](e(370),o),t[e(371)](e(387),o),n()}t[i(451)]?n():(t[i(363)](i(370),o),t[i(363)](i(387),o))}))}function h(t){const e=r,n=o.global[e(422)][e(405)]();return n[e(360)](t),n}function d(t,e,n){const i=r,s=o.global[i(422)][i(405)]();return s[i(415)](t,e),s[i(333)](t,n),s}function g(t,e,n,i){const s=r,a=o.global[s(422)][s(405)]();return a[s(415)](t,e),a[s(333)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(278)][s(313)]()){let t=[];y(c)&&c[s(343)]&&!c[s(322)][s(277)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(327)]&&(a[s(424)](...t),e+=t[s(327)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(442)])&&y(l)&&Boolean(l[c(400)][c(298)](c(412))||l[c(395)](c(403)))&&(u[c(424)]({type:c(289),offset:0,path:[e-1]}),a=!0),c(372)==o.global[c(328)][c(452)](t)[c(378)]){let i=0,o=!1;for(const e of t[c(294)]())i+=e[c(389)],e[c(446)]>=n&&(o=!0);if(i<s&&o)return u[c(424)]({type:c(264),offset:0,path:[e]}),u}const p=t[c(395)](c(262));if(p&&function(t){const e=c;let n=!1;const i=t[e(418)][e(326)][e(417)],s=t[e(308)],r=t[e(260)],a=s&&o.global[e(328)][e(452)](s)[e(413)],u=s&&e(271)===s[e(362)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(437)!==a&&(n=!0),!n}(p)){const t=o.global[c(328)][c(452)](p)[c(413)];if(c(446)==t||c(279)==t)return u}const f=m(t,n,i,s,a);if(f[c(327)]){for(const t of f)u[c(424)]({type:t[c(266)],offset:t[c(335)],textOffset:t[c(350)],path:[e,...t[c(276)]]}),n+=i,a=!1;return u}return u[c(424)](...function(t,e,n,i,s){const r=c,a=[];if(r(295)==o.global[r(328)][r(452)](t)[r(378)])return[];const u=[];for(const e of t[r(294)]())if(e[r(446)]>=n){for(const t of u)t[r(389)]+=e[r(389)];u[r(424)]({height:e[r(389)]}),n+=i}for(const t of u)s||a[r(424)]({type:r(264),offset:t[r(389)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=h(t),c=[];let u=0;for(const r of a[s(294)]())if(r[s(446)]>=n){const r=v(t,u,n,i);o||c[s(424)]({type:s(433),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(327)];for(;a-s>1;){const e=Math[o(376)]((s+a)/2);k(d(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(294)]())if(o[i(446)]>=e&&o[i(446)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(332)]==Node[e(352)]}function I(t){const e=r;return t[e(332)]==Node[e(438)]}var P=n(673),x=n.n(P),N=n(545),_=n.n(N),E=n(262),A=n.n(E),T=n(667),S=n.n(T),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=A().bind(null,"head"),O.domAPI=_(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function B(t,e){const n=M();return(B=function(t,e){return n[t-=287]})(t,e)}function M(){const t=["setTemplate","26arAbDN","124725jBtwtO","width","220550yBetsy","left","1810971HVvwFF","ck-hidden","pageNumber","594564dGKfoS","455264ZWkfSW","set","47088rrYEjW","ck-pagination-view-line","top","bindTemplate","1790aUQJwM","div","7ihXguE","isVisible"];return(M=function(){return t})()}!function(t){const e=B,n=t();for(;;)try{if(205828===parseInt(e(304))/1*(-parseInt(e(289))/2)+parseInt(e(290))/3+-parseInt(e(300))/4+-parseInt(e(292))/5+parseInt(e(297))/6+-parseInt(e(306))/7*(parseInt(e(298))/8)+parseInt(e(294))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);const D=(0,o.toUnit)("px");class K extends e.View{constructor(){const t=B;super();const e=this[t(303)];this[t(299)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(288)]({tag:t(305),attributes:{"data-page-number":e.to(t(296)),class:["ck",t(301),e.if(t(287),t(295),(t=>!t))],style:{left:e.to(t(293),(t=>D(t))),top:e.to(t(302),(t=>D(t))),width:e.to(t(291),(t=>D(t)))}}})}}const G=j;function V(){const t=["3064455rdNxQn","remove","_hiddenLines","has","body","5484560NsrKKU","setViewCollection","17390896erlPYs","cleanLines","75414BTYJxq","301KTqlew","_visibleLines","showLine","isVisible","view","set","2131906KUklrT","destroy","_viewCollection","981762GRLAmA","clear","values","size","add","delete","994869YIhTwu"];return(V=function(){return t})()}function j(t,e){const n=V();return(j=function(t,e){return n[t-=482]})(t,e)}!function(t){const e=j,n=t();for(;;)try{if(748974===-parseInt(e(505))/1+parseInt(e(496))/2+parseInt(e(499))/3+parseInt(e(485))/4+parseInt(e(506))/5+parseInt(e(489))/6*(parseInt(e(490))/7)+-parseInt(e(487))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class F{[G(498)];[G(491)]=new Set;[G(482)]=new Set;constructor(t){const e=G;this[e(498)]=t.ui[e(494)][e(484)]}[G(497)](){const t=G;for(const e of this[t(482)])e[t(497)]()}[G(488)](){const t=G;for(const e of this[t(491)])e[t(493)]=!1,this[t(482)][t(503)](e);this[t(491)][t(500)]()}[G(492)](t,e,n,i){const s=G;let r;this[s(482)][s(502)]?(r=(0,o.first)(this[s(482)][s(501)]()),this[s(482)][s(504)](r)):r=new K,r[s(495)]({pageNumber:i,left:t,top:e,width:n}),r[s(493)]=!0,this[s(498)][s(483)](r)||this[s(498)][s(503)](r),this[s(491)][s(503)](r)}[G(486)](t){const e=G;for(const t of[...this[e(491)],...this[e(482)]])this[e(498)][e(483)](t)&&this[e(498)][e(507)](t);this[e(498)]=t}}const U=z;function z(t,e){const n=q();return(z=function(t,e){return n[t-=238]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(862535===parseInt(e(273))/1*(-parseInt(e(257))/2)+-parseInt(e(315))/3*(-parseInt(e(274))/4)+parseInt(e(289))/5+parseInt(e(299))/6*(-parseInt(e(316))/7)+parseInt(e(249))/8+-parseInt(e(253))/9+-parseInt(e(245))/10*(-parseInt(e(244))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const Y=U(259);class J extends t.Plugin{[U(255)];[U(261)]=null;[U(288)]=null;[U(241)];static get[U(263)](){return U(254)}static get[U(302)](){return!0}static get[U(303)](){return!0}[U(269)](){const t=U;this[t(242)]({pageNumber:1}),this[t(255)]=new F(this[t(307)]),this[t(261)]=null,this[t(288)]=null,this[t(241)]=this[t(307)][t(265)][t(247)](t(260)),this[t(246)](t(286)).to(this[t(307)][t(265)][t(247)](t(281))),this[t(307)].ui[t(321)](t(276),(()=>this[t(306)]())),this[t(258)](Y),this.on(t(292),((e,n,i)=>{const o=t;i||this[o(255)][o(317)](),this[o(258)](Y,i)}))}[U(272)](){const t=U;this[t(258)](Y,!1),this[t(255)][t(272)](),this[t(261)]=null,this[t(288)]&&this[t(288)][t(272)]()}[U(309)](t){const e=U;if(!this[e(286)])return;const n=t>1?this[e(284)](t-1):0;this[e(261)][e(319)]({top:n-10,left:this[e(261)][e(277)],behavior:o.env[e(285)]?e(298):e(279)})}[U(294)](){const t=U,e=this[t(307)],n=this[t(295)]();n?(this[t(261)]&&e.ui[t(243)][t(300)](this[t(261)],t(318)),this[t(261)]=function(e){const n=t;let i=e;do{i=i[n(313)];const t=o.global[n(320)][n(252)](i)[n(270)];if(n(304)==t||n(318)==t)break}while(n(240)!=i[n(282)]);return i}(n),e.ui[t(243)][t(293)](this[t(261)],t(318),(()=>{this[t(291)]()}),{usePassive:!0}),this[t(288)]&&this[t(288)][t(272)](),this[t(288)]=new o.ResizeObserver(this[t(261)],(()=>{this[t(291)]()}))):e.ui[t(321)](t(239),(()=>this[t(294)]()))}[U(306)](){const t=U,e=this[t(307)];this[t(295)]()?(this[t(294)](),e.ui[t(243)][t(293)](o.global[t(320)],t(311),(()=>this[t(291)]())),this[t(293)](this[t(241)],t(297),(()=>this[t(291)]()))):e.ui[t(321)](t(239),(()=>this[t(306)]()))}[U(295)](){const t=U;for(const e of this[t(307)][t(308)][t(243)][t(251)][t(268)]())if(e[t(301)][t(280)][t(256)](e))return e;return null}[U(291)](){const t=U;if(!this[t(286)])return;const e=this[t(295)](),n=this[t(241)][t(296)];if(this[t(255)][t(317)](),!e||1==n[t(275)])return void(this[t(287)]=1);const i=new o.Rect(e)[t(248)](),s=new o.Rect(this[t(261)])[t(248)](),r=s[t(238)]+s[t(267)]/3;let a=!1;const c=[];for(let e=1;e<n[t(275)];e++){const n=this[t(284)](e,s);if(!n)continue;const o=s[t(238)]+n-this[t(261)][t(305)];c[t(312)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(287)]=e,a=!0)}this[t(310)](c),a||(this[t(287)]=n[t(275)])}[U(310)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(320)];if(t[e(275)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(238)]<s&&s<o[e(262)]&&this[e(255)][e(250)](r[e(271)]+n,s+i,r[e(278)],a+1)}[U(284)](t,e=null){const n=U,i=this[n(241)][n(296)][t][n(283)];return i?(e||(e=new o.Rect(this[n(261)])[n(248)]()),i-e[n(238)]+this[n(261)][n(305)]):0}[U(258)](t,e=!0){const n=U,i=this[n(307)][n(308)][n(243)];i[n(322)]((o=>{const s=n;for(const n of i[s(266)][s(264)])e?o[s(314)](t,n):o[s(290)](t,n)}))}}function q(){const t=["length","ready","scrollLeft","width","smooth","body","PaginationEditing","tagName","offset","_getPageBreakLineOffset","isMotionReduced","isEnabled","pageNumber","_resizeObserver","1846865sQnrSg","removeClass","_updatePageBreakLines","change:isEnabled","listenTo","setupScrollableAncestor","_getAttachedDomRoot","pageBreaks","change:pageBreaks","instant","6YUGROw","stopListening","ownerDocument","isOfficialPlugin","isPremiumPlugin","auto","scrollTop","_onUiReady","editor","editing","scrollToPage","_renderPageBreakLines","resize","push","parentElement","addClass","12651piKyvs","7576366kCBWeV","cleanLines","scroll","scrollTo","window","once","change","top","update","BODY","_paginationLookupPlugin","set","view","4015ysfcuk","66910yqWBEA","bind","get","excludeScrollbarsAndBorders","1515960VnDAFx","showLine","domRoots","getComputedStyle","7620354Shymhc","PaginationRenderer","linesRepository","contains","2ZZSVwt","_toggleEditingRootsClass","ck-pagination_enabled","PaginationLookup","_scrollableEditingRootDomAncestor","bottom","pluginName","roots","plugins","document","height","values","init","overflowY","left","destroy","1335443seiqAj","1068KawGqs"];return(q=function(){return t})()}function W(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var H=n(761),Z={attributes:{"data-cke":!0}};Z.setAttributes=S(),Z.insert=A().bind(null,"head"),Z.domAPI=_(),Z.insertStyleElement=C();x()(H.A,Z);H.A&&H.A.locals&&H.A.locals;const X=Q;function Q(t,e){const n=$();return(Q=function(t,e){return n[t-=297]})(t,e)}function $(){const t=["isOfficialPlugin","offset","editing","for","bindElementToMarker","paginationLicenseKeyNotAllowed","config","index","$text","expired","span","featureNotAllowed","paginationLicenseKeyTrialLimit","accessibility","consume","conversion","isEnabled","paginationLicenseKeyUsageLimit","getNearestSelectionRange","nodeAfter","Shift+Pagedown","_updatePageBreakMarkers","440163LYMhJy","Go to the next page (also move selection)","start","goToNextPage","view","consumable","Shift+Pageup","keystrokes","domainLimit","always","9aEtXTh","_validatePageNumber","scrollToPage","name","951506xvMVjo","editor","type","locale","paginationLicenseKeyDomainLimit","createContainerElement","destroy","paginationLicenseKeyInvalid","Keystrokes for navigating through documents","writer","invalid","156YfFuhd","setAttribute","data-pagination-page","goToPreviousPage","usageLimit","bind","page-break-before","parent","add","root","change","setSelection","pageNumber","pagination","3008930cEDnjH","focus","dataDowncast","paginationLicenseKeyEvaluationLimit","getFillerOffset","substring","init","138GHKkuw","PaginationEditing","createPositionAt","addKeystrokeInfoGroup","model","toViewPosition","4YauJwx","get","Pagination","hasClass","end","modelRange","paginationLicenseKeyExpired","totalPages","listenTo","trialLimit","moveSelectionToPage","text","1kncNCJ","1415235IrINvd","54229sFXTcB","_licenseKeyCheckInterval","_setupKeystrokes","textNode","data","options","pluginName","_showLicenseError","set","mapper","getContainedElement","addMarker","isPremiumPlugin","pagination:","pageBreaks","checkChild","forward","schema","plugins","_setUpDataDowncastConversion","page-break","addMarker:","requires","removeMarker","change:pageBreaks","97955ZVnvmw","has","insert","manual","Go to the previous page (also move selection)","markers","4930624RXSDWa","toViewElement","element","setStyle","length","licenseKey","stop","evaluationLimit","paginationLicenseKeyValid","updateMarker"];return($=function(){return t})()}!function(t){const e=Q,n=t();for(;;)try{if(331866===parseInt(e(415))/1*(-parseInt(e(365))/2)+-parseInt(e(351))/3*(-parseInt(e(403))/4)+parseInt(e(416))/5+-parseInt(e(397))/6*(-parseInt(e(417))/7)+parseInt(e(319))/8+-parseInt(e(361))/9*(parseInt(e(390))/10)+parseInt(e(313))/11*(-parseInt(e(376))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[X(324)];[X(418)];static get[X(423)](){return X(398)}static get[X(329)](){return!0}static get[X(300)](){return!0}static get[X(310)](){return[u,J]}[X(396)](){const t=X;this[t(425)]({pageNumber:1,totalPages:1});const e=this[t(366)][t(306)][t(404)](t(405)),n=this[t(366)][t(306)][t(404)](u),i=this[t(366)][t(306)][t(404)](J);this[t(381)](t(345)).to(e),this[t(307)](),this[t(381)](t(388)).to(i),this[t(411)](n,t(312),((e,n,i,o)=>{const s=t;this[s(410)]=i[s(323)],this[s(350)](i,o)})),this[t(419)](),this[t(324)]=this[t(366)][t(335)][t(404)](t(324));const o=this[t(366)];this[t(418)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(327)==s||e(372)==s||e(409)==s||e(369)==s||e(334)==s||e(393)==s||e(341)==s||e(346)==s){delete o[i],n=s,clearInterval(this[e(418)]),this[e(418)]=void 0;break}}e(372)==n&&o[e(424)](e(375)),e(409)==n&&o[e(424)](e(338)),e(369)==n&&o[e(424)](e(359)),e(334)==n&&o[e(424)](e(340),e(405)),e(393)==n&&o[e(424)](e(326)),e(341)==n&&o[e(424)](e(412)),e(346)==n&&o[e(424)](e(380))}),1e3)}[X(371)](){const t=X;super[t(371)](),this[t(418)]&&clearInterval(this[t(418)])}[X(363)](t){const e=X;this[e(345)]&&this[e(366)][e(306)][e(404)](J)[e(363)](this[e(362)](t))}[X(413)](t){const e=X;if(!this[e(345)])return;const n=this[e(366)],i=this[e(366)][e(306)][e(404)](u)[e(302)][t-1];i&&n[e(401)][e(386)]((t=>{const o=e;switch(i[o(367)]){case o(316):{const e=n[o(401)][o(305)][o(347)](i[o(408)][o(407)],o(304));t[o(387)](e);break}case o(321):{const e=n[o(401)][o(305)][o(347)](i[o(408)][o(353)],o(304));t[o(387)](e);break}case o(414):{const e=i[o(408)][o(353)];if(e[o(420)]&&" "===e[o(420)][o(421)][e[o(330)]]){const n=t[o(399)](e[o(383)],e[o(330)]+1);t[o(387)](n)}else t[o(387)](i[o(408)])}}n[o(331)][o(355)][o(391)]()}))}[X(354)](){const t=X,e=this[t(362)](this[t(388)]+1);this[t(413)](e),this[t(363)](e)}[X(379)](){const t=X,e=this[t(362)](this[t(388)]-1);this[t(413)](e),this[t(363)](e)}[X(350)](t,e){const n=X,i=this[n(366)][n(401)];this[n(345)]&&i[n(386)]((o=>{const s=n;for(let e=1;e<t[s(323)];e++){const n=t[e][s(408)],r=s(301)+(e+1);i[s(318)][s(314)](r)?o[s(328)](r,{range:n}):o[s(299)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(323)];n<e[s(323)];n++){const t=s(301)+(n+1);i[s(318)][s(314)](t)&&o[s(311)](t)}}))}[X(307)](){const t=X,e=t(389);this[t(366)][t(344)][t(332)](t(392))[t(384)]((n=>{const i=t;n.on(i(309)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(422)][s(389)])return;if(!o[s(356)][s(343)](e,t[s(364)]))return;const r=e[s(298)]();let a=r?o[s(297)][s(320)](r):null;if(!a){const t=e[s(353)];if(o[s(305)][s(303)](t,s(337))){const e=o[s(297)][s(402)](t);a=o[s(374)][s(370)](s(339)),a[s(394)]=()=>null,o[s(374)][s(315)](e,a)}else{const e=t[s(348)];a=o[s(297)][s(320)](e)}}for(;a[s(383)]!==a[s(385)]&&0===a[s(336)];)a=a[s(383)];const c=n[s(395)](11);a[s(406)](s(308))||(o[s(374)][s(322)](s(382),s(360),a),o[s(374)][s(377)](s(378),c,a),o[s(297)][s(333)](a,n)),t[s(325)]()}))}))}[X(419)](){const t=X,e=this[t(366)];e[t(358)][t(425)](t(357),((e,n)=>{this[t(379)](),n()})),e[t(358)][t(425)](t(349),((e,n)=>{this[t(354)](),n()})),e[t(342)][t(400)]({id:t(389),label:W(e[t(368)],t(373)),keystrokes:[{label:W(e[t(368)],t(317)),keystroke:t(357),mayRequireFn:!0},{label:W(e[t(368)],t(352)),keystroke:t(349),mayRequireFn:!0}]})}[X(362)](t){const e=X;return t<1&&(t=1),t>this[e(410)]&&(t=this[e(410)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=A().bind(null,"head"),it.domAPI=_(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=181]})(t,e)}function rt(){const t=["navigation","fire","ArrowDown","value","ariaLabel","keydown","42Fkcisz","div","isNaN","bindTemplate","1736120siEcJH","keyCode","totalPages","1518tAgSBJ","248823tursuA","key","listenTo","max","40dQdSnC","121838cCilzf","select","pageNumberView","blur","2PXYNxf","150316wIcEPp","span","ck-page-navigator","ck-disabled","set","isEnabled","8028VvloMF","30waFuWz","pageNumber","1017980EbGZGa","numeric","bind","render","isReadOnly","valueAsNumber","element","stopPropagation","Current page number (from 1 to %0)","firstChild","321209fNBhyI","setTemplate","focus","preventDefault","checkValidity","ArrowUp","enter","change:pageNumber"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(193284===-parseInt(e(228))/1*(parseInt(e(224))/2)+-parseInt(e(185))/3*(-parseInt(e(229))/4)+parseInt(e(187))/5+parseInt(e(211))/6*(-parseInt(e(197))/7)+parseInt(e(223))/8*(parseInt(e(219))/9)+-parseInt(e(215))/10+-parseInt(e(218))/11*(-parseInt(e(184))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(226)];constructor(t){const n=ot;super(t);const i=this[n(214)];this[n(182)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(226)]=new e.InputNumberView(t,{min:1,step:1}),this[n(226)][n(182)]({inputMode:n(188),tabIndex:-1}),this[n(226)][n(189)](n(209)).to(this,n(217),(e=>W(t,n(195),e))),this[n(226)][n(189)](n(222)).to(this,n(217)),this[n(226)][n(189)](n(191)).to(this,n(183),(t=>!t)),this[n(198)]({tag:n(212),attributes:{class:["ck",n(231),i.if(n(183),n(181),(t=>!t))]},children:[this[n(226)],{tag:n(230),children:[{text:i.to(n(217))}]}]})}[ot(190)](){const t=ot;super[t(190)]();const e=this[t(226)][t(193)],n=e=>{const n=t;this[n(226)][n(193)][n(208)]=String(e)};n(this[t(186)]),this.on(t(204),((t,e,i)=>{n(i)})),this[t(221)](e,t(210),((n,i)=>{const s=t;if(s(202)===i[s(220)]||s(207)===i[s(220)])return void i[s(194)]();if(i[s(216)]!==o.keyCodes[s(203)])return;i[s(200)]();const r=e[s(192)];Number[s(213)](r)?e[s(208)]=String(this[s(186)]):(e[s(201)]()?this[s(186)]=r:r>this[s(217)]?(this[s(186)]=this[s(217)],e[s(208)]=String(this[s(217)])):(this[s(186)]=1,e[s(208)]="1"),this[s(206)](s(205),this[s(186)]))})),this[t(221)](e,t(227),(()=>{const n=t;e[n(208)]=String(this[n(186)])})),this[t(221)](e,t(199),(()=>{const e=t;this[e(226)][e(225)]()}))}[ot(199)](){const t=ot;this[t(193)][t(196)][t(199)]()}}const ct=lt;function ut(){const t=["isEnabled","3399iSvYgM","pageNavigation","101670OdxYkm","30fjyoMI","isPremiumPlugin","PaginationUI","Shift+PageDown","12paxjlz","navigation","execute","add","previousPage","icon","Go to previous page","Go to next page","moveSelectionToPage","8768880dlbNdu","goToNextPage","locale","bind","8UBqKup","nextPage","tooltip","4065228DUyzJp","totalPages","3048745VKLtqx","Shift+PageUp","label","3448230myEhuX","editor","pageNumber","PaginationEditing","init","17747kKMPxb","listenTo","1669134FPnqHO","componentFactory","get","pluginName","goToPreviousPage","isOfficialPlugin","scrollToPage","keystroke","plugins"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=279]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(696603===parseInt(e(315))/1*(parseInt(e(285))/2)+-parseInt(e(317))/3*(-parseInt(e(302))/4)+parseInt(e(310))/5*(parseInt(e(289))/6)+parseInt(e(307))/7+parseInt(e(298))/8+-parseInt(e(305))/9+-parseInt(e(284))/10*(parseInt(e(282))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(320)](){return ct(287)}static get[ct(322)](){return!0}static get[ct(286)](){return!0}[ct(314)](){const t=ct,n=this[t(311)],i=n[t(280)][t(319)](t(313));n.ui[t(318)][t(292)](t(283),(e=>{const n=t,o=new at(e);return o[n(301)](n(312)).to(i),o[n(301)](n(306)).to(i),o[n(301)](n(281)).to(i),o.on(n(290),((t,e)=>{const o=n;i[o(297)](e),i[o(323)](e)})),o})),n.ui[t(318)][t(292)](t(303),(o=>{const s=t,r=new e.ButtonView(o);return r[s(281)]=!0,r[s(309)]=W(n[s(300)],s(296)),r[s(294)]=et.IconArrowDown,r[s(304)]=!0,r[s(279)]=s(288),r[s(301)](s(281)).to(i),this[s(316)](r,s(291),(()=>{i[s(299)]()})),r})),n.ui[t(318)][t(292)](t(293),(o=>{const s=t,r=new e.ButtonView(o);return r[s(281)]=!0,r[s(309)]=W(n[s(300)],s(295)),r[s(294)]=et.IconArrowUp,r[s(304)]=!0,r[s(279)]=s(308),r[s(301)](s(281)).to(i),this[s(316)](r,s(291),(()=>{i[s(321)]()})),r}))}}const ft=ht;function ht(t,e){const n=dt();return(ht=function(t,e){return n[t-=348]})(t,e)}function dt(){const t=["1299LkQoYE","requires","118auyjnx","4619216tWrwKj","editor","browserCheck","6TdxlAq","6647679NeCGED","plugins","1718EMfNlL","config","set","isEnabled","pagination.enableOnUnsupportedBrowsers","get","Pagination","init","1375724vVZIOa","1364RIEchn","2795060gKIcIU","totalPages","forceDisabled","scrollToPage","isBlink","isOfficialPlugin","ready","pageNumber","3451555BCpAmq","pluginName","bind","isPremiumPlugin"];return(dt=function(){return t})()}!function(t){const e=ht,n=t();for(;;)try{if(399817===-parseInt(e(378))/1*(-parseInt(e(354))/2)+-parseInt(e(376))/3*(parseInt(e(363))/4)+parseInt(e(372))/5+-parseInt(e(351))/6*(-parseInt(e(362))/7)+parseInt(e(348))/8+-parseInt(e(352))/9+-parseInt(e(364))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ft(373)](){return ft(360)}static get[ft(369)](){return!0}static get[ft(375)](){return!0}static get[ft(377)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(357)]=!1}[ft(361)](){const t=ft;this[t(356)]({pageNumber:1,totalPages:1});const e=this[t(349)][t(353)][t(359)](tt);this[t(374)](t(371)).to(e),this[t(374)](t(365)).to(e),o.env[t(368)]||this[t(349)][t(355)][t(359)](t(358))?this[t(349)].on(t(370),(()=>{this[t(357)]=!0})):this[t(366)](t(350))}[ft(367)](t){const e=ft;this[e(349)][e(353)][e(359)](tt)[e(367)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=282]})(t,e)}function bt(){var t=["9406824FEZXCT","7770435gKJZgr","16MWwBoQ","394409GbtRGs","4OAQYyJ","13361247AZpatc","1026009PvNTVV","174bZMAzx","349832YNBYka","69590530hdEpzH"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(861604===-parseInt(e(283))/1*(-parseInt(e(284))/2)+-parseInt(e(286))/3*(-parseInt(e(282))/4)+parseInt(e(291))/5+-parseInt(e(287))/6*(-parseInt(e(288))/7)+parseInt(e(290))/8+parseInt(e(285))/9+-parseInt(e(289))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=w;!function(t){const e=w,n=t();for(;;)try{if(184979===parseInt(e(357))/1*(parseInt(e(518))/2)+-parseInt(e(506))/3*(parseInt(e(390))/4)+parseInt(e(498))/5*(parseInt(e(445))/6)+parseInt(e(432))/7*(parseInt(e(353))/8)+-parseInt(e(430))/9+parseInt(e(363))/10+-parseInt(e(360))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(d);class a extends t.Plugin{[r(414)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(367)]()),200);[r(511)]=null;static get[r(431)](){return r(496)}static get[r(507)](){return!0}static get[r(457)](){return!0}[r(467)](){const t=r;if(this[t(411)]({pageBreaks:[]}),!this[t(494)][t(397)][t(375)](t(466)))return void(0,o.logWarning)(t(440),this[t(494)][t(397)]);const e=this[t(494)][t(420)][t(375)](t(452));this[t(421)](t(371)).to(e),this[t(494)].ui[t(484)](t(385),(()=>this[t(382)]())),this.on(t(509),((e,n,i)=>{i&&this[t(414)]()}))}[r(347)](){!async function(t){const e=g([117,67,115,107,70,90,122,108,80,114,73,75,65,119,101,49,110,102,89,57,56,54,78,79,100,98,52,106,120,72,111,83,69,55,99,84,97,109,74,87,112,82,88,103,51,86,50,77,76,85,105,71,53,113,81,118,116,121,104,66,48,68]),n=window[g([68,97,116,101])][g([110,111,119])](),i=t[g([101,100,105,116,111,114])],s=new(window[g([80,114,111,109,105,115,101])])((t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)})),r={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[g([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((t=>{let e=0;i[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])]((()=>t))}function u(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(t)):null}function l(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function d(){}function g(t){const e=w;return t[e(409)]((t=>String[e(517)](t)))[e(410)]("")}!function(t){const n=function(){const t=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let n=g([117]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])]((t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])(((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])]((()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),(t=>t[g([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1746835200;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=w,n=t[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(418)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((t=>t[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((t=>t[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((t=>o[g([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===g([42])))))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(t){return g([73,110,118,97,108,105,100])}}())}(this)}[r(468)](){const t=r;super[t(468)](),this[t(511)]&&(this[t(414)][t(449)](),this[t(511)][t(468)](),this[t(511)][t(379)][t(528)]())}[r(382)](){const t=r,n=this[t(494)],i=n[t(501)][t(487)],o=this[t(471)]();if(!o||0===o[t(492)])return void n.ui[t(484)](t(341),(()=>this[t(382)]()));const{pageWidth:s,pageHeight:a}=n[t(397)][t(375)](t(466)),{top:c,left:u,bottom:l,right:p}=this[t(349)];this[t(511)]=new e.View(n[t(355)]);const f=this[t(511)];f[t(411)](t(364),""),f[t(352)]({tag:t(373),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(372)+a+t(401)+c+t(401)+l+" )",minWidth:t(384),minHeight:t(384),padding:"0 "+p+t(380)+u,columnGap:t(474),border:0,boxSizing:t(519),columnCount:t(384),columnFill:t(384),overflow:t(362),position:t(387),top:t(515),left:t(515)},tabindex:"-1",class:f[t(398)].to(t(364))}}),f[t(514)](),o[t(488)][t(374)](f[t(379)],o[t(342)]),this[t(461)](i,t(514),(()=>this[t(414)]()),{priority:t(486)}),this[t(414)]()}[r(471)](){const t=r;for(const e of this[t(494)][t(501)][t(487)][t(442)][t(473)]())if(e[t(439)][t(383)][t(377)](e))return e;return null}[r(367)](){const t=r;if(!this[t(371)])return Promise[t(436)]();const e=this[t(494)][t(501)][t(487)],n=this[t(511)],i=this[t(471)]();if(!i)return Promise[t(436)]();for(n[t(364)]=[t(455),t(444),...i[t(368)]][t(410)](" ");n[t(379)][t(491)];)n[t(379)][t(491)][t(528)]();const o=Array[t(351)](e[t(442)]);o[t(343)]((([,e],[,n])=>e[t(533)](n)==Node[t(402)]?1:-1));for(const[e,i]of o){const o=i[t(531)](!0);t(365)in o&&o[t(365)][t(441)](),o[t(527)]="",o[t(399)]("id"),o[t(521)][t(435)]=e,n[t(379)][t(478)](o)}return function(e){const n=t;return Promise[n(464)](e[n(409)]((t=>{return Promise[n(381)]([l(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(351)](n[t(379)][t(475)](t(386))))[t(451)]((()=>this[t(423)]()))}[r(423)](){const t=r,e=this[t(511)][t(379)];if(!e[t(439)][t(383)][t(377)](e))return;const n=new o.Rect(e)[t(428)](),i=o.global[t(424)][t(453)](e),s=parseFloat(i[t(395)])+parseFloat(i[t(416)]),a=Math[t(443)](n[t(437)]+100-s),c=g(e,Math[t(443)](n[t(480)]-e[t(490)]),a,n[t(400)])[t(409)]((e=>this[t(460)](e)));c[t(503)]((t=>!!t))&&(this[t(448)]=c)}[r(460)](t){const e=r,n=this[e(494)][e(501)][e(487)],i=this[e(494)][e(501)][e(406)],o=n[e(358)],s=t[e(516)][e(500)](),a=this[e(511)][e(379)][e(419)][s][e(521)][e(435)],c=n[e(344)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(516)]){if(!o)return null;o=o[i(419)][t]}return o}(c,t);if(!u)return null;const l=o[e(520)](u,t[e(489)]||0);return l?e(403)==t[e(417)]?this[e(462)](l,u):e(469)==t[e(417)]&&i[e(454)](l)[e(408)]?this[e(530)](l,u,t[e(489)]):this[e(429)](l,u,t[e(408)]):null}[r(462)](t,e){const n=r,i=this[n(494)][n(446)],o=this[n(494)][n(501)][n(406)][n(366)](t[n(407)]),s=i[n(348)](o);return new c({type:n(403),modelRange:s,domNode:e,offset:0})}[r(530)](t,e,n){const i=r,o=this[i(494)][i(446)],s=this[i(494)][i(501)][i(406)],a=this[i(494)][i(501)][i(487)][i(358)];if(n>=e[i(465)])return null;const l=s[i(454)](t),p=o[i(497)](l),f=s[i(499)](t),h=a[i(508)](f);return new c({type:i(469),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(429)](t,e,n){const i=r,s=this[i(494)][i(446)],a=this[i(494)][i(501)],u=a[i(406)],l=a[i(487)][i(358)],f=u[i(499)](t),h=u[i(366)](f),d=function(t){const e=i,n=t[e(407)],o=n[e(477)][e(505)][e(446)],s=n[e(389)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(526)))return r;if(!o[e(422)](n)[e(479)](t))return r;r=n}}(s[i(422)](h))||h;let g=u[i(370)](d),m=s[i(348)](d);const b=s[i(422)](d)[i(378)];if(b&&b.is(i(379),i(450))){const t=u[i(370)](b),e=l[i(508)](t),n=o.global[i(424)][i(453)](e)[i(493)];i(480)!=n&&i(532)!=n||(m=s[i(348)](b))}for(;g[i(407)]!==g[i(477)]&&0===g[i(522)];)g=g[i(407)];const v=new o.Rect(y(e)?e:p(e)),w=n?v[i(400)]-n:0,k=l[i(508)](g),I=new o.Rect(k);return new c({type:i(379),modelRange:m,domNode:k,offset:Math[i(504)](w)?w+v[i(513)]-I[i(513)]:0})}get[r(349)](){const t=r,e=this[t(494)][t(397)][t(375)](t(524));return Object[t(502)]({top:t(426),bottom:t(426),left:t(426),right:t(426)},e)}static[r(396)](t,e,n,i,o){return g(t,e,n,i,o)}}class c{[r(417)];[r(359)];[r(425)];[r(476)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(417)]=t,this[o(359)]=e,this[o(425)]=n,this[o(476)]=i}get[r(408)](){const t=r;if(!this[t(425)][t(439)][t(383)][t(377)](this[t(425)]))return 0;const e=new o.Rect(y(this[t(425)])?this[t(425)]:p(this[t(425)]));return t(403)==this[t(417)]?e[t(513)]+e[t(400)]/2:e[t(513)]+this[t(476)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=w,n=o.global[e(505)][e(497)]();return n[e(427)](t),n}(n);let c;c=0==e?h(a[i(438)],a[i(463)],t[i(488)],Array[i(351)](t[i(488)][i(419)])[i(405)](t)):h(a[i(438)],a[i(463)],t,e);const u=h(t,e,a[i(376)],a[i(369)]),l=new o.Rect(c)[i(354)];return(new o.Rect(u)[i(513)]+l)/2-new o.Rect(s)[i(513)]}function l(t){const e=r;return t[e(391)](e(437))&&t[e(391)](e(400))?Promise[e(436)]():new Promise((n=>{const i=e;function o(){const e=w;t[e(345)](e(393),o),t[e(345)](e(415),o),n()}t[i(350)]?n():(t[i(482)](i(393),o),t[i(482)](i(415),o))}))}function p(t){const e=r,n=o.global[e(505)][e(497)]();return n[e(392)](t),n}function f(t,e,n){const i=r,s=o.global[i(505)][i(497)]();return s[i(434)](t,e),s[i(529)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(505)][s(497)]();return a[s(434)](t,e),a[s(529)](n,i),a}function d(){const t=["text","previousSibling","_getAttachedDomRoot","offsetParent","values","100px","querySelectorAll","_offset","root","append","isTouching","left",".page-break","addEventListener","display","once","previousElementSibling","low","view","parentNode","textOffset","scrollLeft","firstChild","childElementCount","float","editor","getClientRects","PaginationLookup","createRange","265EpaeuD","findMappedViewAncestor","shift","editing","assign","every","round","document","900537LexlWz","isOfficialPlugin","mapViewToDom","change:isEnabled","table-cell","_pagesContainer","TEXT_NODE","top","render","-99999px","path","fromCharCode","10utPhbD","border-box","domPositionToView","dataset","index","style","pagination.pageMargins","nodeType","rootElement","className","remove","setEnd","_mapTextPageStarterInfoToPageBreakInfo","cloneNode","right","compareDocumentPosition","update","nextSibling","sort","getDomRoot","removeEventListener","none","afterInit","createRangeOn","_configuredPaddings","complete","from","setTemplate","400oiICAv","bottom","locale","ELEMENT_NODE","35307NxslAT","domConverter","modelRange","3842740PpeNNT","push","hidden","3340740LpPAMA","class","attributeStyleMap","toModelElement","_recalculatePageBreaks","classList","endOffset","toViewElement","isEnabled","calc( ","div","insertBefore","get","endContainer","contains","nodeBefore","element"," 0 ","race","_onUiReady","body","auto","ready","img","absolute","ceil","getAncestors","4PGJcEE","hasAttribute","selectNode","load","position","paddingLeft","_findPageStarterInfos","config","bindTemplate","removeAttribute","height"," - ","DOCUMENT_POSITION_PRECEDING","manual","figure.image","indexOf","mapper","parent","offset","map","join","set","nextElementSibling","entries","_recalculatePageBreaksDebounced","error","paddingRight","type","href","childNodes","plugins","bind","createPositionBefore","_updatePageBreaksData","window","_domNode","10mm","selectNodeContents","excludeScrollbarsAndBorders","_mapElementPageStarterInfoToPageBreakInfo","671472fiolyE","pluginName","46522hIaeEU","parentElement","setStart","rootName","resolve","width","startContainer","ownerDocument","pagination-config-not-found","clear","domRoots","floor","ck-pagination-view","7494JViONW","model","closest","pageBreaks","cancel","imageBlock","then","PaginationEditing","getComputedStyle","toModelPosition","ck-reset","page-break","isPremiumPlugin","ck-fake-selection-container","table-row","_mapPageStarterInfoToPageBreakInfo","listenTo","_mapManualPageStarterInfoToPageBreakInfo","startOffset","all","length","pagination","init","destroy"];return(d=function(){return t})()}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(419)][s(413)]()){let t=[];y(c)&&c[s(472)]&&!c[s(523)][s(394)]?t=m(c,r,e,n,i,o):I(c)&&(t=b(c,r,e,n,o)),t[s(465)]&&(a[s(361)](...t),e+=t[s(465)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(470)])&&y(l)&&Boolean(l[c(368)][c(377)](c(456))||l[c(447)](c(481)))&&(u[c(361)]({type:c(403),offset:0,path:[e-1]}),a=!0),c(459)==o.global[c(424)][c(453)](t)[c(483)]){let i=0,o=!1;for(const e of t[c(495)]())i+=e[c(400)],e[c(480)]>=n&&(o=!0);if(i<s&&o)return u[c(361)]({type:c(379),offset:0,path:[e]}),u}const p=t[c(447)](c(404));if(p&&function(t){const e=c;let n=!1;const i=t[e(433)][e(521)][e(435)],s=t[e(412)],r=t[e(485)],a=s&&o.global[e(424)][e(453)](s)[e(493)],u=s&&e(458)===s[e(527)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(346)!==a&&(n=!0),!n}(p)){const t=o.global[c(424)][c(453)](p)[c(493)];if(c(480)==t||c(532)==t)return u}const f=g(t,n,i,s,a);if(f[c(465)]){for(const t of f)u[c(361)]({type:t[c(417)],offset:t[c(408)],textOffset:t[c(489)],path:[e,...t[c(516)]]}),n+=i,a=!1;return u}return u[c(361)](...function(t,e,n,i,s){const r=c,a=[];if(r(510)==o.global[r(424)][r(453)](t)[r(483)])return[];const u=[];for(const e of t[r(495)]())if(e[r(480)]>=n){for(const t of u)t[r(400)]+=e[r(400)];u[r(361)]({height:e[r(400)]}),n+=i}for(const t of u)s||a[r(361)]({type:r(379),offset:t[r(400)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e,n,i,o){const s=r,a=p(t),c=[];let u=0;for(const r of a[s(495)]())if(r[s(480)]>=n){const r=v(t,u,n,i);o||c[s(361)]({type:s(469),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(465)];for(;a-s>1;){const e=Math[o(388)]((s+a)/2);k(f(t,s,e),n,i)?a=e:s=e}return s}function w(t,e){const n=d();return(w=function(t,e){return n[t-=341]})(t,e)}function k(t,e,n){const i=r;for(const o of t[i(495)]())if(o[i(480)]>=e&&o[i(480)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(525)]==Node[e(356)]}function I(t){const e=r;return t[e(525)]==Node[e(512)]}var P=n(673),x=n.n(P),N=n(545),_=n.n(N),E=n(262),T=n.n(E),A=n(667),S=n.n(A),R=n(357),O=n.n(R),L=n(371),C={attributes:{"data-cke":!0}};C.setAttributes=S(),C.insert=T().bind(null,"head"),C.domAPI=_(),C.insertStyleElement=O();x()(L.A,C);L.A&&L.A.locals&&L.A.locals;function D(){const t=["left","set","div","8394972yZNQzl","top","pageNumber","ck-pagination-view-line","1081612VUoaEn","482066pDTBFv","7523845eYkUeW","70aKoOQX","bindTemplate","width","1261118YFRJaN","ck-hidden","1606128PdBRrE","4117434kGUZxH","setTemplate","isVisible"];return(D=function(){return t})()}function B(t,e){const n=D();return(B=function(t,e){return n[t-=145]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(885721===-parseInt(e(152))/1+-parseInt(e(157))/2+parseInt(e(160))/3+-parseInt(e(151))/4+parseInt(e(153))/5+parseInt(e(147))/6+parseInt(e(154))/7*(-parseInt(e(159))/8))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M=(0,o.toUnit)("px");class K extends e.View{constructor(){const t=B;super();const e=this[t(155)];this[t(145)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(161)]({tag:t(146),attributes:{"data-page-number":e.to(t(149)),class:["ck",t(150),e.if(t(162),t(158),(t=>!t))],style:{left:e.to(t(163),(t=>M(t))),top:e.to(t(148),(t=>M(t))),width:e.to(t(156),(t=>M(t)))}}})}}const G=V;function V(t,e){const n=j();return(V=function(t,e){return n[t-=275]})(t,e)}function j(){const t=["2KgOCRD","180mKxffy","destroy","clear","1693202WeTOGN","body","1624685mdrzDQ","_hiddenLines","2022273HXtcTj","setViewCollection","has","1576332pQxdSE","set","80201SAHicI","4QAZhYj","1174052Qdcrmd","cleanLines","add","12daeZaU","size","remove","958048DMyVxa","showLine","values","delete","_viewCollection","_visibleLines","view","isVisible"];return(j=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(322771===parseInt(e(297))/1*(parseInt(e(284))/2)+-parseInt(e(295))/3+parseInt(e(298))/4*(-parseInt(e(290))/5)+-parseInt(e(302))/6*(parseInt(e(288))/7)+-parseInt(e(276))/8+-parseInt(e(292))/9+-parseInt(e(285))/10*(-parseInt(e(299))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class U{[G(280)];[G(281)]=new Set;[G(291)]=new Set;constructor(t){const e=G;this[e(280)]=t.ui[e(282)][e(289)]}[G(286)](){const t=G;for(const e of this[t(291)])e[t(286)]()}[G(300)](){const t=G;for(const e of this[t(281)])e[t(283)]=!1,this[t(291)][t(301)](e);this[t(281)][t(287)]()}[G(277)](t,e,n,i){const s=G;let r;this[s(291)][s(303)]?(r=(0,o.first)(this[s(291)][s(278)]()),this[s(291)][s(279)](r)):r=new K,r[s(296)]({pageNumber:i,left:t,top:e,width:n}),r[s(283)]=!0,this[s(280)][s(294)](r)||this[s(280)][s(301)](r),this[s(281)][s(301)](r)}[G(293)](t){const e=G;for(const t of[...this[e(281)],...this[e(291)]])this[e(280)][e(294)](t)&&this[e(280)][e(275)](t);this[e(280)]=t}}function W(){const t=["scrollTop","BODY","bind","view","change","left","auto","instant","pageBreaks","10155294rZlHwJ","body","ready","once","stopListening","editing","top","_getAttachedDomRoot","_scrollableEditingRootDomAncestor","isEnabled","294393ySQMqp","listenTo","_paginationLookupPlugin","parentElement","4558810YAYWmT","change:pageBreaks","domRoots","destroy","change:isEnabled","_renderPageBreakLines","window","bottom","getComputedStyle","overflowY","showLine","_updatePageBreakLines","510504OGkGEX","pluginName","isMotionReduced","PaginationEditing","scrollTo","91yeSNWK","setupScrollableAncestor","ownerDocument","get","excludeScrollbarsAndBorders","height","PaginationRenderer","4866306MxMGlD","_toggleEditingRootsClass","editor","set","document","width","scrollLeft","cleanLines","offset","pageNumber","push","750210qOrRqd","_resizeObserver","_onUiReady","linesRepository","resize","ck-pagination_enabled","init","smooth","isOfficialPlugin","1730Rckrcg","removeClass","addClass","contains","tagName","update","4xucgHx","PaginationLookup","scrollToPage","_getPageBreakLineOffset","length","scroll","values","roots","isPremiumPlugin","769fjBeRu","plugins"];return(W=function(){return t})()}const F=H;function H(t,e){const n=W();return(H=function(t,e){return n[t-=176]})(t,e)}!function(t){const e=H,n=t();for(;;)try{if(856985===-parseInt(e(238))/1*(-parseInt(e(223))/2)+parseInt(e(259))/3*(parseInt(e(229))/4)+parseInt(e(214))/5+-parseInt(e(203))/6+parseInt(e(196))/7*(-parseInt(e(191))/8)+parseInt(e(249))/9+parseInt(e(179))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(W);const X=F(219);class q extends t.Plugin{[F(217)];[F(257)]=null;[F(215)]=null;[F(177)];static get[F(192)](){return F(202)}static get[F(222)](){return!0}static get[F(237)](){return!0}[F(220)](){const t=F;this[t(206)]({pageNumber:1}),this[t(217)]=new U(this[t(205)]),this[t(257)]=null,this[t(215)]=null,this[t(177)]=this[t(205)][t(239)][t(199)](t(230)),this[t(242)](t(258)).to(this[t(205)][t(239)][t(199)](t(194))),this[t(205)].ui[t(252)](t(251),(()=>this[t(216)]())),this[t(204)](X),this.on(t(183),((e,n,i)=>{const o=t;i||this[o(217)][o(210)](),this[o(204)](X,i)}))}[F(182)](){const t=F;this[t(204)](X,!1),this[t(217)][t(182)](),this[t(257)]=null,this[t(215)]&&this[t(215)][t(182)]()}[F(231)](t){const e=F;if(!this[e(258)])return;const n=t>1?this[e(232)](t-1):0;this[e(257)][e(195)]({top:n-10,left:this[e(257)][e(209)],behavior:o.env[e(193)]?e(247):e(221)})}[F(197)](){const t=F,e=this[t(205)],n=this[t(256)]();n?(this[t(257)]&&e.ui[t(243)][t(253)](this[t(257)],t(234)),this[t(257)]=function(e){const n=t;let i=e;do{i=i[n(178)];const t=o.global[n(185)][n(187)](i)[n(188)];if(n(246)==t||n(234)==t)break}while(n(241)!=i[n(227)]);return i}(n),e.ui[t(243)][t(176)](this[t(257)],t(234),(()=>{this[t(190)]()}),{usePassive:!0}),this[t(215)]&&this[t(215)][t(182)](),this[t(215)]=new o.ResizeObserver(this[t(257)],(()=>{this[t(190)]()}))):e.ui[t(252)](t(228),(()=>this[t(197)]()))}[F(216)](){const t=F,e=this[t(205)];this[t(256)]()?(this[t(197)](),e.ui[t(243)][t(176)](o.global[t(185)],t(218),(()=>this[t(190)]())),this[t(176)](this[t(177)],t(180),(()=>this[t(190)]()))):e.ui[t(252)](t(228),(()=>this[t(216)]()))}[F(256)](){const t=F;for(const e of this[t(205)][t(254)][t(243)][t(181)][t(235)]())if(e[t(198)][t(250)][t(226)](e))return e;return null}[F(190)](){const t=F;if(!this[t(258)])return;const e=this[t(256)](),n=this[t(177)][t(248)];if(this[t(217)][t(210)](),!e||1==n[t(233)])return void(this[t(212)]=1);const i=new o.Rect(e)[t(200)](),s=new o.Rect(this[t(257)])[t(200)](),r=s[t(255)]+s[t(201)]/3;let a=!1;const c=[];for(let e=1;e<n[t(233)];e++){const n=this[t(232)](e,s);if(!n)continue;const o=s[t(255)]+n-this[t(257)][t(240)];c[t(213)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(212)]=e,a=!0)}this[t(184)](c),a||(this[t(212)]=n[t(233)])}[F(184)](t){const e=F,{scrollX:n,scrollY:i}=o.global[e(185)];if(t[e(233)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(255)]<s&&s<o[e(186)]&&this[e(217)][e(189)](r[e(245)]+n,s+i,r[e(208)],a+1)}[F(232)](t,e=null){const n=F,i=this[n(177)][n(248)][t][n(211)];return i?(e||(e=new o.Rect(this[n(257)])[n(200)]()),i-e[n(255)]+this[n(257)][n(240)]):0}[F(204)](t,e=!0){const n=F,i=this[n(205)][n(254)][n(243)];i[n(244)]((o=>{const s=n;for(const n of i[s(207)][s(236)])e?o[s(225)](t,n):o[s(224)](t,n)}))}}function z(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var Q=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=S(),Y.insert=T().bind(null,"head"),Y.domAPI=_(),Y.insertStyleElement=O();x()(Q.A,Y);Q.A&&Q.A.locals&&Q.A.locals;const Z=J;function J(t,e){const n=$();return(J=function(t,e){return n[t-=420]})(t,e)}function $(){const t=["locale","Pagination","getFillerOffset","model","config","$text","addKeystrokeInfoGroup","for","pagination","focus","markers","_updatePageBreakMarkers","set","keystrokes","schema","addMarker","element","bindElementToMarker","data-pagination-page","Shift+Pagedown","checkChild","get","_setUpDataDowncastConversion","2062179ezWiwz","paginationLicenseKeyExpired","end","init","requires","has","editing","_licenseKeyCheckInterval","always","toViewPosition","licenseKey","paginationLicenseKeyInvalid","getContainedElement","accessibility","toViewElement","writer","pageNumber","span","Shift+Pageup","evaluationLimit","paginationLicenseKeyEvaluationLimit","offset","moveSelectionToPage","consumable","goToNextPage","PaginationEditing","bind","destroy","modelRange","name","goToPreviousPage","6ekUDXE","createPositionAt","totalPages","Go to the next page (also move selection)","isPremiumPlugin","paginationLicenseKeyUsageLimit","paginationLicenseKeyTrialLimit","120922ccDuvm","_setupKeystrokes","listenTo","pagination:","Keystrokes for navigating through documents","index","invalid","textNode","pageBreaks","consume","scrollToPage","isOfficialPlugin","14339030PiTWbQ","getNearestSelectionRange","Go to the previous page (also move selection)","editor","86212OKedUk","change","substring","createContainerElement","nodeAfter","manual","paginationLicenseKeyValid","text","domainLimit","11AFJazs","10HKwajv","updateMarker","paginationLicenseKeyDomainLimit","type","usageLimit","conversion","trialLimit","6028744KSCwhW","expired","isEnabled","plugins","hasClass","addMarker:","6515334ZckOQm","dataDowncast","length","7213086LbBTaI","view","featureNotAllowed","options","_validatePageNumber","change:pageBreaks","removeMarker","setAttribute","parent","forward","data","pluginName","root","insert","page-break-before","setStyle","paginationLicenseKeyNotAllowed","mapper","_showLicenseError","195aDdOFR","setSelection","add","page-break","stop","start"];return($=function(){return t})()}!function(t){const e=J,n=t();for(;;)try{if(600470===-parseInt(e(521))/1*(parseInt(e(495))/2)+-parseInt(e(457))/3+parseInt(e(511))/4*(parseInt(e(428))/5)+parseInt(e(488))/6*(parseInt(e(534))/7)+parseInt(e(528))/8+parseInt(e(537))/9+parseInt(e(507))/10*(-parseInt(e(520))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Z(467)];[Z(464)];static get[Z(420)](){return Z(482)}static get[Z(506)](){return!0}static get[Z(492)](){return!0}static get[Z(461)](){return[a,q]}[Z(460)](){const t=Z;this[t(446)]({pageNumber:1,totalPages:1});const e=this[t(510)][t(531)][t(455)](t(435)),n=this[t(510)][t(531)][t(455)](a),i=this[t(510)][t(531)][t(455)](q);this[t(483)](t(530)).to(e),this[t(456)](),this[t(483)](t(473)).to(i),this[t(497)](n,t(542),((e,n,i,o)=>{const s=t;this[s(490)]=i[s(536)],this[s(445)](i,o)})),this[t(496)](),this[t(467)]=this[t(510)][t(438)][t(455)](t(467));const o=this[t(510)];this[t(464)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(517)==s||e(468)==s||e(458)==s||e(523)==s||e(425)==s||e(477)==s||e(494)==s||e(493)==s){delete o[i],n=s,clearInterval(this[e(464)]),this[e(464)]=void 0;break}}e(468)==n&&o[e(427)](e(501)),e(458)==n&&o[e(427)](e(529)),e(523)==n&&o[e(427)](e(519)),e(425)==n&&o[e(427)](e(539),e(435)),e(477)==n&&o[e(427)](e(476)),e(494)==n&&o[e(427)](e(527)),e(493)==n&&o[e(427)](e(525))}),1e3)}[Z(484)](){const t=Z;super[t(484)](),this[t(464)]&&clearInterval(this[t(464)])}[Z(505)](t){const e=Z;this[e(530)]&&this[e(510)][e(531)][e(455)](q)[e(505)](this[e(541)](t))}[Z(479)](t){const e=Z;if(!this[e(530)])return;const n=this[e(510)],i=this[e(510)][e(531)][e(455)](a)[e(503)][t-1];i&&n[e(437)][e(512)]((t=>{const o=e;switch(i[o(524)]){case o(516):{const e=n[o(437)][o(448)][o(508)](i[o(485)][o(459)],o(546));t[o(429)](e);break}case o(450):{const e=n[o(437)][o(448)][o(508)](i[o(485)][o(433)],o(546));t[o(429)](e);break}case o(518):{const e=i[o(485)][o(433)];if(e[o(502)]&&" "===e[o(502)][o(547)][e[o(478)]]){const n=t[o(489)](e[o(545)],e[o(478)]+1);t[o(429)](n)}else t[o(429)](i[o(485)])}}n[o(463)][o(538)][o(443)]()}))}[Z(481)](){const t=Z,e=this[t(541)](this[t(473)]+1);this[t(479)](e),this[t(505)](e)}[Z(487)](){const t=Z,e=this[t(541)](this[t(473)]-1);this[t(479)](e),this[t(505)](e)}[Z(445)](t,e){const n=Z,i=this[n(510)][n(437)];this[n(530)]&&i[n(512)]((o=>{const s=n;for(let e=1;e<t[s(536)];e++){const n=t[e][s(485)],r=s(498)+(e+1);i[s(444)][s(462)](r)?o[s(522)](r,{range:n}):o[s(449)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(536)];n<e[s(536)];n++){const t=s(498)+(n+1);i[s(444)][s(462)](t)&&o[s(543)](t)}}))}[Z(456)](){const t=Z,e=t(442);this[t(510)][t(526)][t(441)](t(535))[t(430)]((n=>{const i=t;n.on(i(533)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(540)][s(442)])return;if(!o[s(480)][s(504)](e,t[s(486)]))return;const r=e[s(469)]();let a=r?o[s(426)][s(471)](r):null;if(!a){const t=e[s(433)];if(o[s(448)][s(454)](t,s(439))){const e=o[s(426)][s(466)](t);a=o[s(472)][s(514)](s(474)),a[s(436)]=()=>null,o[s(472)][s(422)](e,a)}else{const e=t[s(515)];a=o[s(426)][s(471)](e)}}for(;a[s(545)]!==a[s(421)]&&0===a[s(500)];)a=a[s(545)];const c=n[s(513)](11);a[s(532)](s(431))||(o[s(472)][s(424)](s(423),s(465),a),o[s(472)][s(544)](s(452),c,a),o[s(426)][s(451)](a,n)),t[s(432)]()}))}))}[Z(496)](){const t=Z,e=this[t(510)];e[t(447)][t(446)](t(475),((e,n)=>{this[t(487)](),n()})),e[t(447)][t(446)](t(453),((e,n)=>{this[t(481)](),n()})),e[t(470)][t(440)]({id:t(442),label:z(e[t(434)],t(499)),keystrokes:[{label:z(e[t(434)],t(509)),keystroke:t(475),mayRequireFn:!0},{label:z(e[t(434)],t(491)),keystroke:t(453),mayRequireFn:!0}]})}[Z(541)](t){const e=Z;return t<1&&(t=1),t>this[e(490)]&&(t=this[e(490)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=T().bind(null,"head"),it.domAPI=_(),it.insertStyleElement=O();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;function ot(){const t=["isNaN","render","valueAsNumber","ariaLabel","pageNumberView","513366oBrTUn","ArrowDown","isReadOnly","ck-page-navigator","119722HvmQVs","blur","checkValidity","totalPages","value","Current page number (from 1 to %0)","key","2628460LQaBLx","preventDefault","keydown","3580848BhKZEg","set","setTemplate","firstChild","element","892901UOdNVp","pageNumber","fire","ArrowUp","bindTemplate","focus","stopPropagation","enter","17345286xoRLif","change:pageNumber","3FaqUaR","select","keyCode","div","120fSovvP","3432365BrZmDu","ck-disabled","span","max","listenTo","isEnabled","navigation","bind","numeric"];return(ot=function(){return t})()}const st=rt;function rt(t,e){const n=ot();return(rt=function(t,e){return n[t-=164]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(751744===parseInt(e(209))/1+parseInt(e(194))/2*(parseInt(e(171))/3)+-parseInt(e(201))/4+parseInt(e(176))/5+parseInt(e(204))/6+parseInt(e(190))/7*(parseInt(e(175))/8)+-parseInt(e(169))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ot);class at extends e.View{[st(189)];constructor(t){const n=st;super(t);const i=this[n(165)];this[n(205)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(189)]=new e.InputNumberView(t,{min:1,step:1}),this[n(189)][n(205)]({inputMode:n(184),tabIndex:-1}),this[n(189)][n(183)](n(188)).to(this,n(197),(e=>z(t,n(199),e))),this[n(189)][n(183)](n(179)).to(this,n(197)),this[n(189)][n(183)](n(192)).to(this,n(181),(t=>!t)),this[n(206)]({tag:n(174),attributes:{class:["ck",n(193),i.if(n(181),n(177),(t=>!t))]},children:[this[n(189)],{tag:n(178),children:[{text:i.to(n(197))}]}]})}[st(186)](){const t=st;super[t(186)]();const e=this[t(189)][t(208)],n=e=>{const n=t;this[n(189)][n(208)][n(198)]=String(e)};n(this[t(210)]),this.on(t(170),((t,e,i)=>{n(i)})),this[t(180)](e,t(203),((n,i)=>{const s=t;if(s(164)===i[s(200)]||s(191)===i[s(200)])return void i[s(167)]();if(i[s(173)]!==o.keyCodes[s(168)])return;i[s(202)]();const r=e[s(187)];Number[s(185)](r)?e[s(198)]=String(this[s(210)]):(e[s(196)]()?this[s(210)]=r:r>this[s(197)]?(this[s(210)]=this[s(197)],e[s(198)]=String(this[s(197)])):(this[s(210)]=1,e[s(198)]="1"),this[s(211)](s(182),this[s(210)]))})),this[t(180)](e,t(195),(()=>{const n=t;e[n(198)]=String(this[n(210)])})),this[t(180)](e,t(166),(()=>{const e=t;this[e(189)][e(172)]()}))}[st(166)](){const t=st;this[t(208)][t(207)][t(166)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=322]})(t,e)}function lt(){const t=["nextPage","scrollToPage","51MiLKFD","goToNextPage","3587388bMAxst","componentFactory","listenTo","init","Shift+PageDown","tooltip","moveSelectionToPage","editor","PaginationEditing","navigation","plugins","Go to previous page","get","pageNavigation","77vlWDnk","label","Shift+PageUp","icon","keystroke","pluginName","previousPage","1755927XAiBTK","8886uqwuXH","bind","isEnabled","Go to next page","totalPages","execute","16XNNTOP","PaginationUI","locale","isOfficialPlugin","10618rgJtIk","add","925TUAfze","1547104xQMHQS","1597760CXHXeV","pageNumber","isPremiumPlugin","313578oKpiQi","goToPreviousPage"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(279577===parseInt(e(351))/1*(-parseInt(e(340))/2)+-parseInt(e(347))/3*(parseInt(e(336))/4)+parseInt(e(342))/5*(-parseInt(e(330))/6)+parseInt(e(353))/7+-parseInt(e(343))/8+-parseInt(e(329))/9+parseInt(e(344))/10*(parseInt(e(322))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(327)](){return ct(337)}static get[ct(339)](){return!0}static get[ct(346)](){return!0}[ct(356)](){const t=ct,n=this[t(360)],i=n[t(363)][t(365)](t(361));n.ui[t(354)][t(341)](t(366),(e=>{const n=t,o=new at(e);return o[n(331)](n(345)).to(i),o[n(331)](n(334)).to(i),o[n(331)](n(332)).to(i),o.on(n(362),((t,e)=>{const o=n;i[o(359)](e),i[o(350)](e)})),o})),n.ui[t(354)][t(341)](t(349),(o=>{const s=t,r=new e.ButtonView(o);return r[s(332)]=!0,r[s(323)]=z(n[s(338)],s(333)),r[s(325)]=et.IconArrowDown,r[s(358)]=!0,r[s(326)]=s(357),r[s(331)](s(332)).to(i),this[s(355)](r,s(335),(()=>{i[s(352)]()})),r})),n.ui[t(354)][t(341)](t(328),(o=>{const s=t,r=new e.ButtonView(o);return r[s(332)]=!0,r[s(323)]=z(n[s(338)],s(364)),r[s(325)]=et.IconArrowUp,r[s(358)]=!0,r[s(326)]=s(324),r[s(331)](s(332)).to(i),this[s(355)](r,s(335),(()=>{i[s(348)]()})),r}))}}const ft=dt;function ht(){const t=["requires","isEnabled","6588416PWvpIf","pluginName","browserCheck","plugins","42305626RAnEqs","get","forceDisabled","editor","totalPages","ready","25jpDOnM","config","365596LeVUbw","pageNumber","isPremiumPlugin","scrollToPage","bind","init","set","4704165IvwJwl","126282XxxWjB","isBlink","1569hWdcdt","pagination.enableOnUnsupportedBrowsers","330UtKgUC","387qqBjwn","16jpWhXj","isOfficialPlugin","292770wASehT","Pagination"];return(ht=function(){return t})()}function dt(t,e){const n=ht();return(dt=function(t,e){return n[t-=336]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(886210===parseInt(e(350))/1*(parseInt(e(352))/2)+parseInt(e(347))/3+parseInt(e(360))/4+-parseInt(e(338))/5*(parseInt(e(348))/6)+parseInt(e(340))/7*(parseInt(e(354))/8)+-parseInt(e(353))/9*(-parseInt(e(356))/10)+-parseInt(e(364))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[ft(361)](){return ft(357)}static get[ft(355)](){return!0}static get[ft(342)](){return!0}static get[ft(358)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(359)]=!1}[ft(345)](){const t=ft;this[t(346)]({pageNumber:1,totalPages:1});const e=this[t(367)][t(363)][t(365)](tt);this[t(344)](t(341)).to(e),this[t(344)](t(336)).to(e),o.env[t(349)]||this[t(367)][t(339)][t(365)](t(351))?this[t(367)].on(t(337),(()=>{this[t(359)]=!0})):this[t(366)](t(362))}[ft(343)](t){const e=ft;this[e(367)][e(363)][e(365)](tt)[e(343)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=395]})(t,e)}function bt(){var t=["1861520jCANkZ","470096doIyXH","13198BEtGOX","1837094fyBVqn","57exYdkE","736803ucnfhv","2769888QWLHmu","1481940DsvPky"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(312308===-parseInt(e(397))/1*(-parseInt(e(395))/2)+parseInt(e(398))/3+-parseInt(e(401))/4+parseInt(e(400))/5+-parseInt(e(399))/6+parseInt(e(396))/7+parseInt(e(402))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x3f5ba0}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x24eb69,InputNumberView as _0x4f5e1f,ButtonView as _0x502d74}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x2b8f29,Rect as _0x336f93,global as _0x58e437,uid as _0x214835,toUnit as _0x4bfea4,first as _0x32ed4b,env as _0x288504,ResizeObserver as _0x2b6ce2,keyCodes as _0x2a2a38}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0xa804ae}from'es-toolkit/compat';import{IconArrowDown as _0x3225ef,IconArrowUp as _0xf07fd7}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3f5ba0{['_recalculatePageBreaksDebounced']=_0xa804ae(()=>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 _0x2b8f29('pagination-config-not-found',this['editor']['config']);const _0x588337=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x588337),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x39ac7b,_0x1f3a86,_0x112f14)=>{_0x112f14&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x531951){const _0x228103=_0x4068e8([0x63,0x70,0x6a,0x43,0x37,0x72,0x48,0x6f,0x6e,0x78,0x32,0x36,0x64,0x75,0x4a,0x5a,0x62,0x66,0x71,0x30,0x51,0x67,0x39,0x53,0x6c,0x59,0x55,0x69,0x47,0x54,0x79,0x58,0x38,0x57,0x7a,0x6b,0x4f,0x68,0x61,0x77,0x52,0x45,0x35,0x44,0x74,0x76,0x31,0x41,0x65,0x56,0x49,0x42,0x46,0x4d,0x4e,0x6d,0x4b,0x73,0x50,0x33,0x4c,0x34]),_0x4f03bd=0x459733a0,_0x264f03=0x459054e0^_0x4f03bd,_0x4251a8=window[_0x4068e8([0x44,0x61,0x74,0x65])][_0x4068e8([0x6e,0x6f,0x77])](),_0x4a4ab6=_0x531951[_0x4068e8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27ade2=new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dc601=>{_0x4a4ab6[_0x4068e8([0x6f,0x6e,0x63,0x65])](_0x4068e8([0x72,0x65,0x61,0x64,0x79]),_0x2dc601);}),_0x5eebfa={[_0x4068e8([0x6b,0x74,0x79])]:_0x4068e8([0x45,0x43]),[_0x4068e8([0x75,0x73,0x65])]:_0x4068e8([0x73,0x69,0x67]),[_0x4068e8([0x63,0x72,0x76])]:_0x4068e8([0x50,0x2d,0x32,0x35,0x36]),[_0x4068e8([0x78])]:_0x4068e8([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4068e8([0x79])]:_0x4068e8([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4068e8([0x61,0x6c,0x67])]:_0x4068e8([0x45,0x53,0x32,0x35,0x36])},_0x570bd2=_0x4a4ab6[_0x4068e8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4068e8([0x67,0x65,0x74])](_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe28712(){let _0x51a6a2,_0x462d1a=null,_0x46f83c=null;try{if(_0x570bd2==_0x4068e8([0x47,0x50,0x4c]))return _0x4068e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51a6a2=_0xb08992(),!_0x51a6a2)return _0x4068e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51a6a2[_0x4068e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46f83c=_0x4ed063(_0x51a6a2[_0x4068e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51a6a2[_0x4068e8([0x6a,0x74,0x69])])),await _0x4e8175()?_0xd4758()?_0x43ba2b()?_0x4068e8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x845d59()?(_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4068e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x462d1a=_0x3fdd57(_0x4068e8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4068e8([0x74,0x72,0x69,0x61,0x6c])&&(_0x462d1a=_0x3fdd57(_0x4068e8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x264ced()):_0x4068e8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4068e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4068e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x28820d){return _0x4068e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43ba2b(){const _0x37551f=[_0x4068e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4068e8([0x74,0x72,0x69,0x61,0x6c])][_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4251a8/0x3e8:0xe10*_0x264f03;return _0x51a6a2[_0x4068e8([0x65,0x78,0x70])]<_0x37551f;}function _0xd4758(){const _0x1f6ec0=_0x51a6a2[_0x4068e8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f6ec0&&(!!_0x1f6ec0[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4068e8([0x2a]))||!!_0x1f6ec0[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4068e8([0x50,0x41,0x47])));}function _0x845d59(){const _0x3713e4=_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3713e4||0x0==_0x3713e4[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c7b19}=new URL(window[_0x4068e8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3713e4[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c7b19))return!0x0;const _0x2f59d3=_0x1c7b19[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e]));return _0x3713e4[_0x4068e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x139616=>_0x139616[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4068e8([0x2a])))[_0x4068e8([0x6d,0x61,0x70])](_0x9741a7=>_0x9741a7[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e])))[_0x4068e8([0x73,0x6f,0x6d,0x65])](_0x571c76=>_0x2f59d3[_0x4068e8([0x65,0x76,0x65,0x72,0x79])]((_0x4f2fb5,_0x49b42b)=>_0x571c76[_0x49b42b]===_0x4f2fb5||_0x571c76[_0x49b42b]===_0x4068e8([0x2a])));}function _0x264ced(){return _0x462d1a&&_0x46f83c?new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd9cb89,_0x3f538e)=>{_0x462d1a[_0x4068e8([0x74,0x68,0x65,0x6e])](_0xd9cb89,_0x3f538e),_0x46f83c[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x50d77e=>{_0x50d77e!=_0x4068e8([0x56,0x61,0x6c,0x69,0x64])&&_0xd9cb89(_0x50d77e);},_0x3f538e);}):_0x462d1a||_0x46f83c||_0x4068e8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ed063(_0x2d9b45,_0x38171c){return new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x273247=>{if(_0x36a4ca())return _0x273247(_0x4068e8([0x56,0x61,0x6c,0x69,0x64]));_0x1c8cda(),_0x4a4ab6[_0x4068e8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4068e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29cfa9=!0x1;const _0x43bfbb=_0x214835();function _0x4ea82b(_0x40c82e){return!!_0x40c82e&&(typeof _0x40c82e===_0x4068e8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40c82e===_0x4068e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40c82e[_0x4068e8([0x74,0x68,0x65,0x6e])]===_0x4068e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40c82e[_0x4068e8([0x63,0x61,0x74,0x63,0x68])]===_0x4068e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24307b(_0x27f1ed){_0x324ac3(_0x27f1ed)[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x34dfe1=>{if(!_0x34dfe1||_0x34dfe1[_0x4068e8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4068e8([0x6f,0x6b]))return _0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57ae84(_0x307cbf(_0x43bfbb+_0x38171c))!=_0x34dfe1[_0x4068e8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4068e8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x37a4d0=>(_0x1eed04(),_0x37a4d0),()=>{const _0x4d3aa1=_0x2571cf();return null==_0x4d3aa1?(_0x1eed04(),_0x4068e8([0x56,0x61,0x6c,0x69,0x64])):_0x4068e8(_0x4251a8-_0x4d3aa1>(0x619bb7a0^_0x4f03bd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x273247)[_0x4068e8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x273247(_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a14fd=0x45a1dd20^_0x4f03bd;function _0x1eed04(){const _0x3883d5=_0x4068e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x57ae84(_0x307cbf(_0x2d9b45)),_0x136c75=_0xf39517(_0x57ae84(window[_0x4068e8([0x4d,0x61,0x74,0x68])][_0x4068e8([0x63,0x65,0x69,0x6c])](_0x4251a8/_0x4a14fd)));window[_0x4068e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4068e8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3883d5,_0x136c75);}function _0x2571cf(){const _0x267c5b=_0x4068e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x57ae84(_0x307cbf(_0x2d9b45)),_0x48413b=window[_0x4068e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4068e8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x267c5b);return _0x48413b?window[_0x4068e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf39517(_0x48413b),0x10)*_0x4a14fd:null;}function _0x324ac3(_0x3107aa){return new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab176,_0x171df1)=>{_0x3107aa[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x5ab176,_0x171df1),window[_0x4068e8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x171df1,0x4596e760^_0x4f03bd);});}}_0x4a4ab6[_0x4068e8([0x6f,0x6e])](_0x4068e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x82d1f5,_0x125819)=>{if(_0x125819[0x0]!=_0x2d9b45)return _0x273247(_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x125819[0x1]={..._0x125819[0x1],[_0x4068e8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43bfbb};},{[_0x4068e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4068e8([0x68,0x69,0x67,0x68])}),_0x4a4ab6[_0x4068e8([0x6f,0x6e])](_0x4068e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x548bbe=>{_0x4ea82b(_0x548bbe[_0x4068e8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29cfa9=!0x0,_0x24307b(_0x548bbe[_0x4068e8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4068e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4068e8([0x6c,0x6f,0x77])}),_0x27ade2[_0x4068e8([0x74,0x68,0x65,0x6e])](()=>{_0x29cfa9||_0x273247(_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36a4ca(){return _0x4a4ab6[_0x4068e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4068e8([0x76,0x69,0x65,0x77])][_0x4068e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4068e8([0x61,0x75,0x74,0x6f]);}function _0x1c8cda(){_0x4a4ab6[_0x4068e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4068e8([0x76,0x69,0x65,0x77])][_0x4068e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4068e8([0x61,0x75,0x74,0x6f]);}}function _0x3fdd57(_0xd4dc2b){const _0x4938e4=[new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c9a94=>setTimeout(_0x3c9a94,0x459e0d6c^_0x4f03bd)),_0x27ade2[_0x4068e8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3166f6=>{let _0x49d943=0x0;_0x4a4ab6[_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4068e8([0x6f,0x6e])](_0x4068e8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22c334,_0x376f41)=>{_0x376f41[0x0][_0x4068e8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49d943++,_0x49d943==(0x45973258^_0x4f03bd)&&(_0x3166f6(),_0x22c334[_0x4068e8([0x6f,0x66,0x66])]());});}))];return window[_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4068e8([0x72,0x61,0x63,0x65])](_0x4938e4)[_0x4068e8([0x74,0x68,0x65,0x6e])](()=>_0xd4dc2b);}async function _0x4636e1(){await _0x27ade2,_0x4a4ab6[_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4068e8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbb06c3,_0x4a4ab6[_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4068e8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbb06c3,_0x4a4ab6[_0x4068e8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x376688(_0x5d4a38){const _0xb1318c=_0xb520b6();_0x4a4ab6[_0xb1318c]=_0x4068e8([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d4a38,_0x5d4a38!=_0x4068e8([0x56,0x61,0x6c,0x69,0x64])&&_0x4636e1();}function _0xb520b6(){const _0x1650b3=window[_0x4068e8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4068e8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4068e8([0x6e,0x6f,0x77])]())[_0x4068e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4068e8([0x2e]),'');let _0x393ad0=_0x4068e8([0x63]);for(let _0x29d2e6=0x0;_0x29d2e6<_0x1650b3[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29d2e6+=0x2){let _0x21ade0=window[_0x4068e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1650b3[_0x4068e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29d2e6,_0x29d2e6+0x2));_0x21ade0>=_0x228103[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21ade0-=_0x228103[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x393ad0+=_0x228103[_0x21ade0];}return _0x393ad0;}function _0xb08992(){const _0x1ad005=_0x570bd2[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e]));if(0x3!=_0x1ad005[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20b780(_0x1ad005[0x1]);function _0x20b780(_0x1b329a){const _0x210cec=_0x42cede(_0x1b329a);return _0x210cec&&_0x24fecc()?_0x210cec:null;function _0x24fecc(){const _0x3f8f5e=_0x210cec[_0x4068e8([0x6a,0x74,0x69])],_0x40d6a2=window[_0x4068e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f8f5e[_0x4068e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f8f5e[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d024a={..._0x210cec,[_0x4068e8([0x6a,0x74,0x69])]:_0x3f8f5e[_0x4068e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f8f5e[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d024a[_0x4068e8([0x76,0x63])],_0x307cbf(_0x2d024a)==_0x40d6a2;}}}async function _0x4e8175(){let _0x2345f1=!0x0;try{const _0x3bd634=_0x570bd2[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e])),[_0x17713a,_0x159169,_0x30c480]=_0x3bd634;return _0x2f6ce0(_0x17713a),await _0x4ed8e5(_0x17713a,_0x159169,_0x30c480),_0x2345f1;}catch(_0x16fd73){return!0x1;}function _0x2f6ce0(_0x26c532){const _0x5f1373=_0x42cede(_0x26c532);_0x5f1373&&_0x5f1373[_0x4068e8([0x61,0x6c,0x67])]==_0x4068e8([0x45,0x53,0x32,0x35,0x36])||(_0x2345f1=!0x1);}async function _0x4ed8e5(_0x9705ac,_0x318828,_0x5443cc){const _0x522fef=window[_0x4068e8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4068e8([0x66,0x72,0x6f,0x6d])](_0x37d26f(_0x5443cc),_0x4d30a9=>_0x4d30a9[_0x4068e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d5b92=new window[(_0x4068e8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4068e8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9705ac+_0x4068e8([0x2e])+_0x318828),_0x3e65c5=window[_0x4068e8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4068e8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e65c5)return;const _0x214b4c=await _0x3e65c5[_0x4068e8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4068e8([0x6a,0x77,0x6b]),_0x5eebfa,{[_0x4068e8([0x6e,0x61,0x6d,0x65])]:_0x4068e8([0x45,0x43,0x44,0x53,0x41]),[_0x4068e8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4068e8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4068e8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e65c5[_0x4068e8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4068e8([0x6e,0x61,0x6d,0x65])]:_0x4068e8([0x45,0x43,0x44,0x53,0x41]),[_0x4068e8([0x68,0x61,0x73,0x68])]:{[_0x4068e8([0x6e,0x61,0x6d,0x65])]:_0x4068e8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x214b4c,_0x522fef,_0x3d5b92)||(_0x2345f1=!0x1);}}function _0x42cede(_0x419756){return _0x419756[_0x4068e8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4068e8([0x65,0x79]))?JSON[_0x4068e8([0x70,0x61,0x72,0x73,0x65])](_0x37d26f(_0x419756)):null;}function _0x37d26f(_0x587d49){return window[_0x4068e8([0x61,0x74,0x6f,0x62])](_0x587d49[_0x4068e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4068e8([0x2b]))[_0x4068e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4068e8([0x2f])));}function _0x307cbf(_0x32ed58){let _0x33fd27=0x1505;function _0x80594b(_0x239850){for(let _0x1d8f04=0x0;_0x1d8f04<_0x239850[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d8f04++){const _0x3aa3e4=_0x239850[_0x4068e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d8f04);_0x33fd27=(_0x33fd27<<0x5)+_0x33fd27+_0x3aa3e4,_0x33fd27&=_0x33fd27;}}function _0x1c8340(_0x47d2aa){Array[_0x4068e8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47d2aa)?_0x47d2aa[_0x4068e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c8340):_0x47d2aa&&typeof _0x47d2aa==_0x4068e8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4068e8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47d2aa)[_0x4068e8([0x73,0x6f,0x72,0x74])]()[_0x4068e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30bec1,_0x55bd4a])=>{_0x80594b(_0x30bec1),_0x1c8340(_0x55bd4a);}):_0x80594b(window[_0x4068e8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47d2aa));}return _0x1c8340(_0x32ed58),_0x33fd27>>>0x0;}function _0x57ae84(_0x356f74){return _0x356f74[_0x4068e8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4068e8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4068e8([0x30]));}function _0xf39517(_0x5f1acb){return _0x5f1acb[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4068e8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4068e8([0x6a,0x6f,0x69,0x6e])]('');}function _0xbb06c3(){}function _0x4068e8(_0x214644){return _0x214644['map'](_0x537a82=>String['fromCharCode'](_0x537a82))['join']('');}_0x376688(await _0xe28712());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xe21fc0=this['editor'],_0x2b72d1=_0xe21fc0['editing']['view'],_0x266730=this['_getAttachedDomRoot']();if(!_0x266730||0x0===_0x266730['childElementCount'])return void _0xe21fc0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3be8b6,pageHeight:_0x65741d}=_0xe21fc0['config']['get']('pagination'),{top:_0x357c84,left:_0x183638,bottom:_0x4a050c,right:_0x597cae}=this['_configuredPaddings'];this['_pagesContainer']=new _0x24eb69(_0xe21fc0['locale']);const _0x14ffc0=this['_pagesContainer'];_0x14ffc0['set']('class',''),_0x14ffc0['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x3be8b6,'width':_0x3be8b6,'height':'calc(\x20'+_0x65741d+'\x20-\x20'+_0x357c84+'\x20-\x20'+_0x4a050c+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x597cae+'\x200\x20'+_0x183638,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x14ffc0['bindTemplate']['to']('class')}}),_0x14ffc0['render'](),_0x266730['parentNode']['insertBefore'](_0x14ffc0['element'],_0x266730['nextSibling']),this['listenTo'](_0x2b72d1,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x9e06cb of this['editor']['editing']['view']['domRoots']['values']())if(_0x9e06cb['ownerDocument']['body']['contains'](_0x9e06cb))return _0x9e06cb;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x492f92=this['editor']['editing']['view'],_0x2231cd=this['_pagesContainer'],_0x43d1a9=this['_getAttachedDomRoot']();if(!_0x43d1a9)return Promise['resolve']();for(_0x2231cd['class']=['ck-reset','ck-pagination-view',..._0x43d1a9['classList']]['join']('\x20');_0x2231cd['element']['firstChild'];)_0x2231cd['element']['firstChild']['remove']();const _0x56b6e6=Array['from'](_0x492f92['domRoots']);_0x56b6e6['sort'](([,_0xf8ef74],[,_0x491f6a])=>_0xf8ef74['compareDocumentPosition'](_0x491f6a)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3f70d9,_0x5d0c09]of _0x56b6e6){const _0x6f6d1a=_0x5d0c09['cloneNode'](!0x0);'attributeStyleMap'in _0x6f6d1a&&_0x6f6d1a['attributeStyleMap']['clear'](),_0x6f6d1a['className']='',_0x6f6d1a['removeAttribute']('id'),_0x6f6d1a['dataset']['rootName']=_0x3f70d9,_0x2231cd['element']['append'](_0x6f6d1a);}return function(_0x2af240){return Promise['all'](_0x2af240['map'](_0x5cbf74=>Promise['race']([p(_0x5cbf74),y(0x3e8)])));}(Array['from'](_0x2231cd['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x25a5a5=this['_pagesContainer']['element'];if(!_0x25a5a5['ownerDocument']['body']['contains'](_0x25a5a5))return;const _0x4f2a0e=new _0x336f93(_0x25a5a5)['excludeScrollbarsAndBorders'](),_0x2b69d4=_0x58e437['window']['getComputedStyle'](_0x25a5a5),_0x4aacfa=parseFloat(_0x2b69d4['paddingLeft'])+parseFloat(_0x2b69d4['paddingRight']),_0x149db2=Math['floor'](_0x4f2a0e['width']+0x64-_0x4aacfa),_0x15304e=x(_0x25a5a5,Math['floor'](_0x4f2a0e['left']-_0x25a5a5['scrollLeft']),_0x149db2,_0x4f2a0e['height'])['map'](_0x49a392=>this['_mapPageStarterInfoToPageBreakInfo'](_0x49a392));_0x15304e['every'](_0x222f13=>!!_0x222f13)&&(this['pageBreaks']=_0x15304e);}['_mapPageStarterInfoToPageBreakInfo'](_0x59b900){const _0x201d11=this['editor']['editing']['view'],_0x12c13a=this['editor']['editing']['mapper'],_0x55e34a=_0x201d11['domConverter'],_0x84ff6f=_0x59b900['path']['shift'](),_0x13f292=this['_pagesContainer']['element']['childNodes'][_0x84ff6f]['dataset']['rootName'],_0xfa66e1=_0x201d11['getDomRoot'](_0x13f292);if(!_0xfa66e1)return null;const _0x4bd9a9=function(_0x205fea,_0x3a8266){let _0x14dce2=_0x205fea;for(const _0x599ed2 of _0x3a8266['path']){if(!_0x14dce2)return null;_0x14dce2=_0x14dce2['childNodes'][_0x599ed2];}return _0x14dce2;}(_0xfa66e1,_0x59b900);if(!_0x4bd9a9)return null;const _0xb7ffb5=_0x55e34a['domPositionToView'](_0x4bd9a9,_0x59b900['textOffset']||0x0);return _0xb7ffb5?'manual'==_0x59b900['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xb7ffb5,_0x4bd9a9):'text'==_0x59b900['type']&&_0x12c13a['toModelPosition'](_0xb7ffb5)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xb7ffb5,_0x4bd9a9,_0x59b900['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xb7ffb5,_0x4bd9a9,_0x59b900['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x56f969,_0x32c2ac){const _0x26a3c1=this['editor']['model'],_0x17b54a=this['editor']['editing']['mapper']['toModelElement'](_0x56f969['parent']),_0x54c37a=_0x26a3c1['createRangeOn'](_0x17b54a);return new K({'type':'manual','modelRange':_0x54c37a,'domNode':_0x32c2ac,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x7886aa,_0x1b86fb,_0x7b8e3e){const _0x231056=this['editor']['model'],_0x4b04b3=this['editor']['editing']['mapper'],_0x4f4c0c=this['editor']['editing']['view']['domConverter'];if(_0x7b8e3e>=_0x1b86fb['length'])return null;const _0x56e89e=_0x4b04b3['toModelPosition'](_0x7886aa),_0x1110d8=_0x231056['createRange'](_0x56e89e),_0x584e29=_0x4b04b3['findMappedViewAncestor'](_0x7886aa),_0x4583ff=_0x4f4c0c['mapViewToDom'](_0x584e29);return new K({'type':'text','modelRange':_0x1110d8,'domNode':_0x1b86fb,'offset':m(_0x1b86fb,_0x7b8e3e,_0x4583ff)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4dd22b,_0x24650a,_0x63d4f2){const _0x2f64b1=this['editor']['model'],_0x54ebfd=this['editor']['editing'],_0x43271d=_0x54ebfd['mapper'],_0x5bd94f=_0x54ebfd['view']['domConverter'],_0x519e95=_0x43271d['findMappedViewAncestor'](_0x4dd22b),_0x487383=_0x43271d['toModelElement'](_0x519e95),_0x514f09=function(_0x1c894f){const _0x176d8a=_0x1c894f['parent'],_0x340759=_0x176d8a['root']['document']['model'],_0xbbb7b=_0x176d8a['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x21b762=null;for(const _0x3db002 of _0xbbb7b){if(_0x3db002['is']('rootElement'))return _0x21b762;if(!_0x340759['createPositionBefore'](_0x3db002)['isTouching'](_0x1c894f))return _0x21b762;_0x21b762=_0x3db002;}}(_0x2f64b1['createPositionBefore'](_0x487383)),_0x5ac6ba=_0x514f09||_0x487383;let _0x47fcea=_0x43271d['toViewElement'](_0x5ac6ba),_0x3c52cd=_0x2f64b1['createRangeOn'](_0x5ac6ba);const _0x40ef31=_0x2f64b1['createPositionBefore'](_0x5ac6ba)['nodeBefore'];if(_0x40ef31&&_0x40ef31['is']('element','imageBlock')){const _0x271ab0=_0x43271d['toViewElement'](_0x40ef31),_0x27cfce=_0x5bd94f['mapViewToDom'](_0x271ab0),_0x26399d=_0x58e437['window']['getComputedStyle'](_0x27cfce)['float'];'left'!=_0x26399d&&'right'!=_0x26399d||(_0x3c52cd=_0x2f64b1['createRangeOn'](_0x40ef31));}for(;_0x47fcea['parent']!==_0x47fcea['root']&&0x0===_0x47fcea['index'];)_0x47fcea=_0x47fcea['parent'];const _0x2cfa17=new _0x336f93(S(_0x24650a)?_0x24650a:P(_0x24650a)),_0x322b78=_0x63d4f2?_0x2cfa17['height']-_0x63d4f2:0x0,_0x256c62=_0x5bd94f['mapViewToDom'](_0x47fcea),_0x2444d2=new _0x336f93(_0x256c62);return new K({'type':'element','modelRange':_0x3c52cd,'domNode':_0x256c62,'offset':Math['round'](_0x322b78)?_0x322b78+_0x2cfa17['top']-_0x2444d2['top']:0x0});}get['_configuredPaddings'](){const _0x223524=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x223524);}static['_findPageStarterInfos'](_0x5e428c,_0x236d3c,_0x2e0958,_0x55cc5c,_0xc9b411){return x(_0x5e428c,_0x236d3c,_0x2e0958,_0x55cc5c,_0xc9b411);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xd65388,modelRange:_0x577741,domNode:_0xef3954,offset:_0x4134f9}){this['type']=_0xd65388,this['modelRange']=_0x577741,this['_domNode']=_0xef3954,this['_offset']=_0x4134f9;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x4da953=new _0x336f93(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x4da953['top']+_0x4da953['height']/0x2:_0x4da953['top']+this['_offset'];}}function m(_0x349603,_0x27453a,_0x4d9e07){const _0x19f69b=P(_0x349603),_0x4de646=function(_0x320eb7){const _0xb65da7=_0x58e437['document']['createRange']();return _0xb65da7['selectNodeContents'](_0x320eb7),_0xb65da7;}(_0x4d9e07);let _0x247102;_0x247102=0x0==_0x27453a?b(_0x4de646['startContainer'],_0x4de646['startOffset'],_0x349603['parentNode'],Array['from'](_0x349603['parentNode']['childNodes'])['indexOf'](_0x349603)):b(_0x4de646['startContainer'],_0x4de646['startOffset'],_0x349603,_0x27453a);const _0x6aa297=b(_0x349603,_0x27453a,_0x4de646['endContainer'],_0x4de646['endOffset']),_0x118886=new _0x336f93(_0x247102)['bottom'];return(new _0x336f93(_0x6aa297)['top']+_0x118886)/0x2-new _0x336f93(_0x19f69b)['top'];}function p(_0x510370){return _0x510370['hasAttribute']('width')&&_0x510370['hasAttribute']('height')?Promise['resolve']():new Promise(_0x25d1d6=>{function _0x540e27(){_0x510370['removeEventListener']('load',_0x540e27),_0x510370['removeEventListener']('error',_0x540e27),_0x25d1d6();}_0x510370['complete']?_0x25d1d6():(_0x510370['addEventListener']('load',_0x540e27),_0x510370['addEventListener']('error',_0x540e27));});}function y(_0x588802){return new Promise(_0xffe90b=>setTimeout(_0xffe90b,_0x588802));}function P(_0x204e64){const _0x313d8c=_0x58e437['document']['createRange']();return _0x313d8c['selectNode'](_0x204e64),_0x313d8c;}function k(_0x4a3b77,_0x31fe4d,_0x5a5963){const _0x14c109=_0x58e437['document']['createRange']();return _0x14c109['setStart'](_0x4a3b77,_0x31fe4d),_0x14c109['setEnd'](_0x4a3b77,_0x5a5963),_0x14c109;}function b(_0x13bfda,_0x4cf3a9,_0x18ed1e,_0xf721c8){const _0x53e39e=_0x58e437['document']['createRange']();return _0x53e39e['setStart'](_0x13bfda,_0x4cf3a9),_0x53e39e['setEnd'](_0x18ed1e,_0xf721c8),_0x53e39e;}function x(_0x1b2a2c,_0x29e5a7,_0x1f03d8,_0x1c4a33,_0x36dbba){const _0x526cbd=[];for(const [_0x2ab1d5,_0x227e66]of _0x1b2a2c['childNodes']['entries']()){let _0x445f69=[];S(_0x227e66)&&_0x227e66['offsetParent']&&!_0x227e66['style']['position']?_0x445f69=_(_0x227e66,_0x2ab1d5,_0x29e5a7,_0x1f03d8,_0x1c4a33,_0x36dbba):R(_0x227e66)&&(_0x445f69=B(_0x227e66,_0x2ab1d5,_0x29e5a7,_0x1f03d8,_0x36dbba)),_0x445f69['length']&&(_0x526cbd['push'](..._0x445f69),_0x29e5a7+=_0x445f69['length']*_0x1f03d8,_0x36dbba=!0x1);}return _0x526cbd;}function _(_0x324eb1,_0x2526d3,_0x23dcfc,_0x1e2bb6,_0x3f2be0,_0x535e29){const _0x1c2a22=[];var _0x2b5197;if((_0x2b5197=_0x324eb1['previousSibling'])&&S(_0x2b5197)&&Boolean(_0x2b5197['classList']['contains']('page-break')||_0x2b5197['closest']('.page-break'))&&(_0x1c2a22['push']({'type':'manual','offset':0x0,'path':[_0x2526d3-0x1]}),_0x535e29=!0x0),'table-row'==_0x58e437['window']['getComputedStyle'](_0x324eb1)['display']){let _0x433825=0x0,_0x5047e9=!0x1;for(const _0x5cccca of _0x324eb1['getClientRects']())_0x433825+=_0x5cccca['height'],_0x5cccca['left']>=_0x23dcfc&&(_0x5047e9=!0x0);if(_0x433825<_0x3f2be0&&_0x5047e9)return _0x1c2a22['push']({'type':'element','offset':0x0,'path':[_0x2526d3]}),_0x1c2a22;}const _0x242c29=_0x324eb1['closest']('figure.image');if(_0x242c29&&function(_0x122761){let _0x4a8d4b=!0x1;const _0x5cc14f=_0x122761['parentElement'],_0x2278a8=_0x5cc14f['dataset']['rootName'],_0x226ea8=_0x122761['nextElementSibling'],_0x28a91e=_0x122761['previousElementSibling'],_0x49e48a=_0x226ea8&&_0x58e437['window']['getComputedStyle'](_0x226ea8)['float'],_0x33d0bb=_0x226ea8&&'ck-fake-selection-container'===_0x226ea8['className'];!_0x2278a8||_0x226ea8||_0x28a91e||(_0x4a8d4b=!0x0),_0x2278a8&&!_0x28a91e&&_0x33d0bb&&(_0x4a8d4b=!0x0),_0x2278a8&&!_0x28a91e&&'none'!==_0x49e48a&&(_0x4a8d4b=!0x0);if(_0x4a8d4b)return!0x1;return!0x0;}(_0x242c29)){const _0x56fcbc=_0x58e437['window']['getComputedStyle'](_0x242c29)['float'];if('left'==_0x56fcbc||'right'==_0x56fcbc)return _0x1c2a22;}const _0x111dd3=x(_0x324eb1,_0x23dcfc,_0x1e2bb6,_0x3f2be0,_0x535e29);if(_0x111dd3['length']){for(const _0x52ebee of _0x111dd3)_0x1c2a22['push']({'type':_0x52ebee['type'],'offset':_0x52ebee['offset'],'textOffset':_0x52ebee['textOffset'],'path':[_0x2526d3,..._0x52ebee['path']]}),_0x23dcfc+=_0x1e2bb6,_0x535e29=!0x1;return _0x1c2a22;}return _0x1c2a22['push'](...function(_0x35d2e7,_0x522f71,_0x37bc6a,_0x49c940,_0x7d84e7){const _0x2b3635=[];if('table-cell'==_0x58e437['window']['getComputedStyle'](_0x35d2e7)['display'])return[];const _0x210f64=[];for(const _0x4c5fab of _0x35d2e7['getClientRects']())if(_0x4c5fab['left']>=_0x37bc6a){for(const _0xc8793f of _0x210f64)_0xc8793f['height']+=_0x4c5fab['height'];_0x210f64['push']({'height':_0x4c5fab['height']}),_0x37bc6a+=_0x49c940;}for(const _0x318e28 of _0x210f64)_0x7d84e7||_0x2b3635['push']({'type':'element','offset':_0x318e28['height'],'textOffset':0x0,'path':[_0x522f71]}),_0x7d84e7=!0x1;return _0x2b3635;}(_0x324eb1,_0x2526d3,_0x23dcfc,_0x1e2bb6,_0x535e29)),_0x1c2a22;}function B(_0x40709d,_0x3a93fe,_0x59ef4e,_0x2866a4,_0x3ec9b5){const _0x53bc1a=P(_0x40709d),_0x1d1026=[];let _0x2cbe50=0x0;for(const _0x147165 of _0x53bc1a['getClientRects']())if(_0x147165['left']>=_0x59ef4e){const _0x5ed775=I(_0x40709d,_0x2cbe50,_0x59ef4e,_0x2866a4);_0x3ec9b5||_0x1d1026['push']({'type':'text','path':[_0x3a93fe],'textOffset':_0x5ed775}),_0x2cbe50=_0x5ed775,_0x59ef4e+=_0x2866a4,_0x3ec9b5=!0x1;}return _0x1d1026;}function I(_0x224855,_0xb97e9d,_0xf885d,_0x2b38ff){let _0x118ba4=_0xb97e9d,_0x180526=_0x224855['length'];for(;_0x180526-_0x118ba4>0x1;){const _0x15ada6=Math['ceil']((_0x118ba4+_0x180526)/0x2);N(k(_0x224855,_0x118ba4,_0x15ada6),_0xf885d,_0x2b38ff)?_0x180526=_0x15ada6:_0x118ba4=_0x15ada6;}return _0x118ba4;}function N(_0x1e3da3,_0x18e9d2,_0x311b20){for(const _0x545c1d of _0x1e3da3['getClientRects']())if(_0x545c1d['left']>=_0x18e9d2&&_0x545c1d['left']<_0x18e9d2+_0x311b20)return!0x0;return!0x1;}function S(_0x2e7ebe){return _0x2e7ebe['nodeType']==Node['ELEMENT_NODE'];}function R(_0x27701e){return _0x27701e['nodeType']==Node['TEXT_NODE'];}const z=_0x4bfea4('px');class V extends _0x24eb69{constructor(){super();const _0x1cd094=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1cd094['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1cd094['if']('isVisible','ck-hidden',_0xc05097=>!_0xc05097)],'style':{'left':_0x1cd094['to']('left',_0x4a647e=>z(_0x4a647e)),'top':_0x1cd094['to']('top',_0x3309c4=>z(_0x3309c4)),'width':_0x1cd094['to']('width',_0x328f54=>z(_0x328f54))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x33b86f){this['_viewCollection']=_0x33b86f['ui']['view']['body'];}['destroy'](){for(const _0x1cd80e of this['_hiddenLines'])_0x1cd80e['destroy']();}['cleanLines'](){for(const _0x354658 of this['_visibleLines'])_0x354658['isVisible']=!0x1,this['_hiddenLines']['add'](_0x354658);this['_visibleLines']['clear']();}['showLine'](_0x443bbd,_0x4b2fe9,_0x21e3f0,_0x2a9391){let _0x524adb;this['_hiddenLines']['size']?(_0x524adb=_0x32ed4b(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x524adb)):_0x524adb=new V(),_0x524adb['set']({'pageNumber':_0x2a9391,'left':_0x443bbd,'top':_0x4b2fe9,'width':_0x21e3f0}),_0x524adb['isVisible']=!0x0,this['_viewCollection']['has'](_0x524adb)||this['_viewCollection']['add'](_0x524adb),this['_visibleLines']['add'](_0x524adb);}['setViewCollection'](_0x4502bf){for(const _0x21c69b of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x21c69b)&&this['_viewCollection']['remove'](_0x21c69b);this['_viewCollection']=_0x4502bf;}}const L='ck-pagination_enabled';class c extends _0x3f5ba0{['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 E(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'](L),this['on']('change:isEnabled',(_0x426ece,_0x5c6359,_0x3534e4)=>{_0x3534e4||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x3534e4);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5506f8){if(!this['isEnabled'])return;const _0x4c0833=_0x5506f8>0x1?this['_getPageBreakLineOffset'](_0x5506f8-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x4c0833-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x288504['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0xe1e33a=this['editor'],_0x32922f=this['_getAttachedDomRoot']();_0x32922f?(this['_scrollableEditingRootDomAncestor']&&_0xe1e33a['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x200989){let _0x4b59e0=_0x200989;do{_0x4b59e0=_0x4b59e0['parentElement'];const _0x50cdc7=_0x58e437['window']['getComputedStyle'](_0x4b59e0)['overflowY'];if('auto'==_0x50cdc7||'scroll'==_0x50cdc7)break;}while('BODY'!=_0x4b59e0['tagName']);return _0x4b59e0;}(_0x32922f),_0xe1e33a['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2b6ce2(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xe1e33a['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3c244b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3c244b['ui']['view']['listenTo'](_0x58e437['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3c244b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x28f1ad of this['editor']['editing']['view']['domRoots']['values']())if(_0x28f1ad['ownerDocument']['body']['contains'](_0x28f1ad))return _0x28f1ad;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5d89fe=this['_getAttachedDomRoot'](),_0x2cf68e=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5d89fe||0x1==_0x2cf68e['length'])return void(this['pageNumber']=0x1);const _0x1a2ac6=new _0x336f93(_0x5d89fe)['excludeScrollbarsAndBorders'](),_0x2b90d1=new _0x336f93(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x185c4f=_0x2b90d1['top']+_0x2b90d1['height']/0x3;let _0x4c43b0=!0x1;const _0x1f5b2a=[];for(let _0x2d0bfc=0x1;_0x2d0bfc<_0x2cf68e['length'];_0x2d0bfc++){const _0x195577=this['_getPageBreakLineOffset'](_0x2d0bfc,_0x2b90d1);if(!_0x195577)continue;const _0x1d7d1f=_0x2b90d1['top']+_0x195577-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x1f5b2a['push']({'pageOffsetTop':_0x1d7d1f,'domRootRect':_0x1a2ac6,'domScrollableRect':_0x2b90d1,'pageNumber':_0x2d0bfc}),_0x1d7d1f>_0x185c4f&&!_0x4c43b0&&(this['pageNumber']=_0x2d0bfc,_0x4c43b0=!0x0);}this['_renderPageBreakLines'](_0x1f5b2a),_0x4c43b0||(this['pageNumber']=_0x2cf68e['length']);}['_renderPageBreakLines'](_0x3de2d4){const {scrollX:_0x24ed7b,scrollY:_0x5661c6}=_0x58e437['window'];if(_0x3de2d4['length']){for(const {domScrollableRect:_0x587b6e,pageOffsetTop:_0x5b527f,domRootRect:_0x1f6b2d,pageNumber:_0x281deb}of _0x3de2d4)_0x587b6e['top']<_0x5b527f&&_0x5b527f<_0x587b6e['bottom']&&this['linesRepository']['showLine'](_0x1f6b2d['left']+_0x24ed7b,_0x5b527f+_0x5661c6,_0x1f6b2d['width'],_0x281deb+0x1);}}['_getPageBreakLineOffset'](_0x25e573,_0x12f10d=null){const _0x3ef2a7=this['_paginationLookupPlugin']['pageBreaks'][_0x25e573]['offset'];return _0x3ef2a7?(_0x12f10d||(_0x12f10d=new _0x336f93(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3ef2a7-_0x12f10d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x377e73,_0x413dd2=!0x0){const _0x159a10=this['editor']['editing']['view'];_0x159a10['change'](_0x36a933=>{for(const _0x45a7f5 of _0x159a10['document']['roots'])_0x413dd2?_0x36a933['addClass'](_0x377e73,_0x45a7f5):_0x36a933['removeClass'](_0x377e73,_0x45a7f5);});}}function g(_0x2b19ab,_0x3cfdcc,..._0x39f30){const t=_0x2b19ab['t'];switch(_0x3cfdcc){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)',..._0x39f30);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 _0x3cfdcc;}}class s extends _0x3f5ba0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1a37ab=this['editor']['plugins']['get']('Pagination'),_0x4abac4=this['editor']['plugins']['get'](n),_0x17d3c3=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x1a37ab),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x17d3c3),this['listenTo'](_0x4abac4,'change:pageBreaks',(_0x2b31e4,_0x186954,_0x3028ba,_0x5bd6b7)=>{this['totalPages']=_0x3028ba['length'],this['_updatePageBreakMarkers'](_0x3028ba,_0x5bd6b7);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x836f6e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ec3aa;for(const _0x18802f in _0x836f6e){const _0x37bbac=_0x18802f,_0x3c9f3d=_0x836f6e[_0x37bbac];if('paginationLicenseKeyValid'==_0x3c9f3d||'paginationLicenseKeyInvalid'==_0x3c9f3d||'paginationLicenseKeyExpired'==_0x3c9f3d||'paginationLicenseKeyDomainLimit'==_0x3c9f3d||'paginationLicenseKeyNotAllowed'==_0x3c9f3d||'paginationLicenseKeyEvaluationLimit'==_0x3c9f3d||'paginationLicenseKeyTrialLimit'==_0x3c9f3d||'paginationLicenseKeyUsageLimit'==_0x3c9f3d){delete _0x836f6e[_0x37bbac],_0x1ec3aa=_0x3c9f3d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x43f222){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x43f222));}['moveSelectionToPage'](_0x57331a){if(!this['isEnabled'])return;const _0x1606c9=this['editor'],_0x17f6d2=this['editor']['plugins']['get'](n)['pageBreaks'][_0x57331a-0x1];_0x17f6d2&&_0x1606c9['model']['change'](_0x4257d1=>{switch(_0x17f6d2['type']){case'manual':{const _0x1a5f6b=_0x1606c9['model']['schema']['getNearestSelectionRange'](_0x17f6d2['modelRange']['end'],'forward');_0x4257d1['setSelection'](_0x1a5f6b);break;}case'element':{const _0x324b1a=_0x1606c9['model']['schema']['getNearestSelectionRange'](_0x17f6d2['modelRange']['start'],'forward');_0x4257d1['setSelection'](_0x324b1a);break;}case'text':{const _0x7b7ce7=_0x17f6d2['modelRange']['start'];if(_0x7b7ce7['textNode']&&'\x20'===_0x7b7ce7['textNode']['data'][_0x7b7ce7['offset']]){const _0x62add9=_0x4257d1['createPositionAt'](_0x7b7ce7['parent'],_0x7b7ce7['offset']+0x1);_0x4257d1['setSelection'](_0x62add9);}else _0x4257d1['setSelection'](_0x17f6d2['modelRange']);}}_0x1606c9['editing']['view']['focus']();});}['goToNextPage'](){const _0x5ea083=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x5ea083),this['scrollToPage'](_0x5ea083);}['goToPreviousPage'](){const _0x364ef2=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x364ef2),this['scrollToPage'](_0x364ef2);}['_updatePageBreakMarkers'](_0x3281b8,_0x15a33e){const _0x3db4b2=this['editor']['model'];this['isEnabled']&&_0x3db4b2['change'](_0x2238d6=>{for(let _0x8cd6e0=0x1;_0x8cd6e0<_0x3281b8['length'];_0x8cd6e0++){const _0x58d9be=_0x3281b8[_0x8cd6e0]['modelRange'],_0xa7f8d7='pagination:'+(_0x8cd6e0+0x1);_0x3db4b2['markers']['has'](_0xa7f8d7)?_0x2238d6['updateMarker'](_0xa7f8d7,{'range':_0x58d9be}):_0x2238d6['addMarker'](_0xa7f8d7,{'range':_0x58d9be,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xfd36a1=_0x3281b8['length'];_0xfd36a1<_0x15a33e['length'];_0xfd36a1++){const _0x121621='pagination:'+(_0xfd36a1+0x1);_0x3db4b2['markers']['has'](_0x121621)&&_0x2238d6['removeMarker'](_0x121621);}});}['_setUpDataDowncastConversion'](){const _0xdb0131='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2a8f45=>{_0x2a8f45['on']('addMarker:'+_0xdb0131,(_0x4c8349,{markerRange:_0x2a78f2,markerName:_0x5b1ae5},_0x3b956a)=>{if(!_0x3b956a['options']['pagination'])return;if(!_0x3b956a['consumable']['consume'](_0x2a78f2,_0x4c8349['name']))return;const _0x289faa=_0x2a78f2['getContainedElement']();let _0xa14d81=_0x289faa?_0x3b956a['mapper']['toViewElement'](_0x289faa):null;if(!_0xa14d81){const _0x3f8e8b=_0x2a78f2['start'];if(_0x3b956a['schema']['checkChild'](_0x3f8e8b,'$text')){const _0x1f2b78=_0x3b956a['mapper']['toViewPosition'](_0x3f8e8b);_0xa14d81=_0x3b956a['writer']['createContainerElement']('span'),_0xa14d81['getFillerOffset']=()=>null,_0x3b956a['writer']['insert'](_0x1f2b78,_0xa14d81);}else{const _0x254fae=_0x3f8e8b['nodeAfter'];_0xa14d81=_0x3b956a['mapper']['toViewElement'](_0x254fae);}}for(;_0xa14d81['parent']!==_0xa14d81['root']&&0x0===_0xa14d81['index'];)_0xa14d81=_0xa14d81['parent'];const _0x537505=_0x5b1ae5['substring'](0xb);_0xa14d81['hasClass']('page-break')||(_0x3b956a['writer']['setStyle']('page-break-before','always',_0xa14d81),_0x3b956a['writer']['setAttribute']('data-pagination-page',_0x537505,_0xa14d81),_0x3b956a['mapper']['bindElementToMarker'](_0xa14d81,_0x5b1ae5)),_0x4c8349['stop']();});});}['_setupKeystrokes'](){const _0x29ac28=this['editor'];_0x29ac28['keystrokes']['set']('Shift+Pageup',(_0x2754d3,_0x4aa171)=>{this['goToPreviousPage'](),_0x4aa171();}),_0x29ac28['keystrokes']['set']('Shift+Pagedown',(_0x5d48c1,_0x556607)=>{this['goToNextPage'](),_0x556607();}),_0x29ac28['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x29ac28['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x29ac28['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x29ac28['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x3e7fbb){return _0x3e7fbb<0x1&&(_0x3e7fbb=0x1),_0x3e7fbb>this['totalPages']&&(_0x3e7fbb=this['totalPages']),_0x3e7fbb;}}class U extends _0x24eb69{['pageNumberView'];constructor(_0x3c535c){super(_0x3c535c);const _0x5799df=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4f5e1f(_0x3c535c,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xf9558a=>g(_0x3c535c,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xf9558a)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x14d4a9=>!_0x14d4a9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5799df['if']('isEnabled','ck-disabled',_0x53e18e=>!_0x53e18e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5799df['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4a8169=this['pageNumberView']['element'],_0x26514b=_0x5f1236=>{this['pageNumberView']['element']['value']=String(_0x5f1236);};_0x26514b(this['pageNumber']),this['on']('change:pageNumber',(_0x1066be,_0x24e415,_0x545570)=>{_0x26514b(_0x545570);}),this['listenTo'](_0x4a8169,'keydown',(_0x30cac5,_0x4a2ea3)=>{if('ArrowUp'===_0x4a2ea3['key']||'ArrowDown'===_0x4a2ea3['key'])return void _0x4a2ea3['stopPropagation']();if(_0x4a2ea3['keyCode']!==_0x2a2a38['enter'])return;_0x4a2ea3['preventDefault']();const _0x61699=_0x4a8169['valueAsNumber'];Number['isNaN'](_0x61699)?_0x4a8169['value']=String(this['pageNumber']):(_0x4a8169['checkValidity']()?this['pageNumber']=_0x61699:_0x61699>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4a8169['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4a8169['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4a8169,'blur',()=>{_0x4a8169['value']=String(this['pageNumber']);}),this['listenTo'](_0x4a8169,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x3f5ba0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4e2581=this['editor'],_0x293881=_0x4e2581['plugins']['get']('PaginationEditing');_0x4e2581['ui']['componentFactory']['add']('pageNavigation',_0x423a69=>{const _0x1c75b0=new U(_0x423a69);return _0x1c75b0['bind']('pageNumber')['to'](_0x293881),_0x1c75b0['bind']('totalPages')['to'](_0x293881),_0x1c75b0['bind']('isEnabled')['to'](_0x293881),_0x1c75b0['on']('navigation',(_0x3e7db3,_0x4bda84)=>{_0x293881['moveSelectionToPage'](_0x4bda84),_0x293881['scrollToPage'](_0x4bda84);}),_0x1c75b0;}),_0x4e2581['ui']['componentFactory']['add']('nextPage',_0x4652c4=>{const _0x26d91a=new _0x502d74(_0x4652c4);return _0x26d91a['isEnabled']=!0x0,_0x26d91a['label']=g(_0x4e2581['locale'],'Go\x20to\x20next\x20page'),_0x26d91a['icon']=_0x3225ef,_0x26d91a['tooltip']=!0x0,_0x26d91a['keystroke']='Shift+PageDown',_0x26d91a['bind']('isEnabled')['to'](_0x293881),this['listenTo'](_0x26d91a,'execute',()=>{_0x293881['goToNextPage']();}),_0x26d91a;}),_0x4e2581['ui']['componentFactory']['add']('previousPage',_0x8353e0=>{const _0x428276=new _0x502d74(_0x8353e0);return _0x428276['isEnabled']=!0x0,_0x428276['label']=g(_0x4e2581['locale'],'Go\x20to\x20previous\x20page'),_0x428276['icon']=_0xf07fd7,_0x428276['tooltip']=!0x0,_0x428276['keystroke']='Shift+PageUp',_0x428276['bind']('isEnabled')['to'](_0x293881),this['listenTo'](_0x428276,'execute',()=>{_0x293881['goToPreviousPage']();}),_0x428276;});}}class a extends _0x3f5ba0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x39e1f7){super(_0x39e1f7),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x30403c=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x30403c),this['bind']('totalPages')['to'](_0x30403c),_0x288504['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x922344){this['editor']['plugins']['get'](s)['scrollToPage'](_0x922344);}}export{a as Pagination,c as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x39aa24}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x28a433,InputNumberView as _0x5d98fe,ButtonView as _0x470fdc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0xa4d24c,Rect as _0x103a60,global as _0x2d3234,uid as _0x5a3a22,toUnit as _0x10eea7,first as _0x4f7ac9,env as _0x584938,ResizeObserver as _0x53a701,keyCodes as _0x2f1a44}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x5db9f7}from'es-toolkit/compat';import{IconArrowDown as _0x26ed34,IconArrowUp as _0x1ce1f8}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x39aa24{['_recalculatePageBreaksDebounced']=_0x5db9f7(()=>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 _0xa4d24c('pagination-config-not-found',this['editor']['config']);const _0x339ea7=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x339ea7),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x2e1621,_0x5f148c,_0x98bcc3)=>{_0x98bcc3&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x43480f){const _0x55009d=_0x3a6998([0x75,0x43,0x73,0x6b,0x46,0x5a,0x7a,0x6c,0x50,0x72,0x49,0x4b,0x41,0x77,0x65,0x31,0x6e,0x66,0x59,0x39,0x38,0x36,0x4e,0x4f,0x64,0x62,0x34,0x6a,0x78,0x48,0x6f,0x53,0x45,0x37,0x63,0x54,0x61,0x6d,0x4a,0x57,0x70,0x52,0x58,0x67,0x33,0x56,0x32,0x4d,0x4c,0x55,0x69,0x47,0x35,0x71,0x51,0x76,0x74,0x79,0x68,0x42,0x30,0x44]),_0x3f852b=0x1858561c,_0x3b5d95=0x185f316c^_0x3f852b,_0x38366d=window[_0x3a6998([0x44,0x61,0x74,0x65])][_0x3a6998([0x6e,0x6f,0x77])](),_0x545609=_0x43480f[_0x3a6998([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ac4d9=new window[(_0x3a6998([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe0903c=>{_0x545609[_0x3a6998([0x6f,0x6e,0x63,0x65])](_0x3a6998([0x72,0x65,0x61,0x64,0x79]),_0xe0903c);}),_0x407d35={[_0x3a6998([0x6b,0x74,0x79])]:_0x3a6998([0x45,0x43]),[_0x3a6998([0x75,0x73,0x65])]:_0x3a6998([0x73,0x69,0x67]),[_0x3a6998([0x63,0x72,0x76])]:_0x3a6998([0x50,0x2d,0x32,0x35,0x36]),[_0x3a6998([0x78])]:_0x3a6998([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3a6998([0x79])]:_0x3a6998([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3a6998([0x61,0x6c,0x67])]:_0x3a6998([0x45,0x53,0x32,0x35,0x36])},_0x2a480a=_0x545609[_0x3a6998([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a6998([0x67,0x65,0x74])](_0x3a6998([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ad07c(){let _0x2857ad,_0x16290c=null,_0x5c2fb2=null;try{if(_0x2a480a==_0x3a6998([0x47,0x50,0x4c]))return _0x3a6998([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2857ad=_0x5f331d(),!_0x2857ad)return _0x3a6998([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2857ad[_0x3a6998([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c2fb2=_0x58f2c2(_0x2857ad[_0x3a6998([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2857ad[_0x3a6998([0x6a,0x74,0x69])])),await _0x1e02d1()?_0x9bcf25()?_0x58477a()?_0x3a6998([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x398675()?(_0x2857ad[_0x3a6998([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a6998([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16290c=_0x237b38(_0x3a6998([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2857ad[_0x3a6998([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a6998([0x74,0x72,0x69,0x61,0x6c])&&(_0x16290c=_0x237b38(_0x3a6998([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e66c8()):_0x3a6998([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a6998([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a6998([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xab10e1){return _0x3a6998([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58477a(){const _0x4e76ce=[_0x3a6998([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a6998([0x74,0x72,0x69,0x61,0x6c])][_0x3a6998([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2857ad[_0x3a6998([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38366d/0x3e8:0xe10*_0x3b5d95;return _0x2857ad[_0x3a6998([0x65,0x78,0x70])]<_0x4e76ce;}function _0x9bcf25(){const _0x2cc92d=_0x2857ad[_0x3a6998([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2cc92d&&(!!_0x2cc92d[_0x3a6998([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a6998([0x2a]))||!!_0x2cc92d[_0x3a6998([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a6998([0x50,0x41,0x47])));}function _0x398675(){const _0xb21a9b=_0x2857ad[_0x3a6998([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb21a9b||0x0==_0xb21a9b[_0x3a6998([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x7b1a08}=new URL(window[_0x3a6998([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb21a9b[_0x3a6998([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7b1a08))return!0x0;const _0x34fee6=_0x7b1a08[_0x3a6998([0x73,0x70,0x6c,0x69,0x74])](_0x3a6998([0x2e]));return _0xb21a9b[_0x3a6998([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29f17d=>_0x29f17d[_0x3a6998([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a6998([0x2a])))[_0x3a6998([0x6d,0x61,0x70])](_0x3f6724=>_0x3f6724[_0x3a6998([0x73,0x70,0x6c,0x69,0x74])](_0x3a6998([0x2e])))[_0x3a6998([0x73,0x6f,0x6d,0x65])](_0x463b6e=>_0x34fee6[_0x3a6998([0x65,0x76,0x65,0x72,0x79])]((_0x1cdace,_0x4e9bf3)=>_0x463b6e[_0x4e9bf3]===_0x1cdace||_0x463b6e[_0x4e9bf3]===_0x3a6998([0x2a])));}function _0x2e66c8(){return _0x16290c&&_0x5c2fb2?new window[(_0x3a6998([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a940e,_0x65b3d0)=>{_0x16290c[_0x3a6998([0x74,0x68,0x65,0x6e])](_0x5a940e,_0x65b3d0),_0x5c2fb2[_0x3a6998([0x74,0x68,0x65,0x6e])](_0x153cc9=>{_0x153cc9!=_0x3a6998([0x56,0x61,0x6c,0x69,0x64])&&_0x5a940e(_0x153cc9);},_0x65b3d0);}):_0x16290c||_0x5c2fb2||_0x3a6998([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58f2c2(_0x1819df,_0x4d2a5f){return new window[(_0x3a6998([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319b3b=>{if(_0x261e65())return _0x319b3b(_0x3a6998([0x56,0x61,0x6c,0x69,0x64]));_0x42336b(),_0x545609[_0x3a6998([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a6998([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c4e96=!0x1;const _0x4713d5=_0x5a3a22();function _0xfa3bcf(_0x25aa7f){return!!_0x25aa7f&&(typeof _0x25aa7f===_0x3a6998([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25aa7f===_0x3a6998([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25aa7f[_0x3a6998([0x74,0x68,0x65,0x6e])]===_0x3a6998([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25aa7f[_0x3a6998([0x63,0x61,0x74,0x63,0x68])]===_0x3a6998([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xeb1701(_0x240954){_0x29e413(_0x240954)[_0x3a6998([0x74,0x68,0x65,0x6e])](_0x2f05bc=>{if(!_0x2f05bc||_0x2f05bc[_0x3a6998([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a6998([0x6f,0x6b]))return _0x3a6998([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x100f3d(_0x8f4fa2(_0x4713d5+_0x4d2a5f))!=_0x2f05bc[_0x3a6998([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a6998([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a6998([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a6998([0x74,0x68,0x65,0x6e])](_0x2399cf=>(_0x219274(),_0x2399cf),()=>{const _0x601ae=_0x58d1be();return null==_0x601ae?(_0x219274(),_0x3a6998([0x56,0x61,0x6c,0x69,0x64])):_0x3a6998(_0x38366d-_0x601ae>(0x3c54d21c^_0x3f852b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a6998([0x74,0x68,0x65,0x6e])](_0x319b3b)[_0x3a6998([0x63,0x61,0x74,0x63,0x68])](()=>{_0x319b3b(_0x3a6998([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x451e92=0x186eb89c^_0x3f852b;function _0x219274(){const _0x3e6407=_0x3a6998([0x6c,0x6c,0x63,0x74,0x2d])+_0x100f3d(_0x8f4fa2(_0x1819df)),_0x2953b8=_0x24a4a9(_0x100f3d(window[_0x3a6998([0x4d,0x61,0x74,0x68])][_0x3a6998([0x63,0x65,0x69,0x6c])](_0x38366d/_0x451e92)));window[_0x3a6998([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a6998([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e6407,_0x2953b8);}function _0x58d1be(){const _0x21063f=_0x3a6998([0x6c,0x6c,0x63,0x74,0x2d])+_0x100f3d(_0x8f4fa2(_0x1819df)),_0x1ea254=window[_0x3a6998([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a6998([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21063f);return _0x1ea254?window[_0x3a6998([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24a4a9(_0x1ea254),0x10)*_0x451e92:null;}function _0x29e413(_0x1cb235){return new window[(_0x3a6998([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10eb00,_0x308723)=>{_0x1cb235[_0x3a6998([0x74,0x68,0x65,0x6e])](_0x10eb00,_0x308723),window[_0x3a6998([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x308723,0x185982dc^_0x3f852b);});}}_0x545609[_0x3a6998([0x6f,0x6e])](_0x3a6998([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18b222,_0x2453ab)=>{if(_0x2453ab[0x0]!=_0x1819df)return _0x319b3b(_0x3a6998([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2453ab[0x1]={..._0x2453ab[0x1],[_0x3a6998([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4713d5};},{[_0x3a6998([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a6998([0x68,0x69,0x67,0x68])}),_0x545609[_0x3a6998([0x6f,0x6e])](_0x3a6998([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2d0f42=>{_0xfa3bcf(_0x2d0f42[_0x3a6998([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c4e96=!0x0,_0xeb1701(_0x2d0f42[_0x3a6998([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a6998([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a6998([0x6c,0x6f,0x77])}),_0x1ac4d9[_0x3a6998([0x74,0x68,0x65,0x6e])](()=>{_0x2c4e96||_0x319b3b(_0x3a6998([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x261e65(){return _0x545609[_0x3a6998([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a6998([0x76,0x69,0x65,0x77])][_0x3a6998([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a6998([0x61,0x75,0x74,0x6f]);}function _0x42336b(){_0x545609[_0x3a6998([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a6998([0x76,0x69,0x65,0x77])][_0x3a6998([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a6998([0x61,0x75,0x74,0x6f]);}}function _0x237b38(_0x494fe5){const _0x52caa6=[new window[(_0x3a6998([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50a265=>setTimeout(_0x50a265,0x185168d0^_0x3f852b)),_0x1ac4d9[_0x3a6998([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a6998([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50c386=>{let _0x237458=0x0;_0x545609[_0x3a6998([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a6998([0x6f,0x6e])](_0x3a6998([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x342270,_0xe47eaf)=>{_0xe47eaf[0x0][_0x3a6998([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x237458++,_0x237458==(0x185857e4^_0x3f852b)&&(_0x50c386(),_0x342270[_0x3a6998([0x6f,0x66,0x66])]());});}))];return window[_0x3a6998([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a6998([0x72,0x61,0x63,0x65])](_0x52caa6)[_0x3a6998([0x74,0x68,0x65,0x6e])](()=>_0x494fe5);}async function _0x5a7748(){await _0x1ac4d9,_0x545609[_0x3a6998([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a6998([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40238e,_0x545609[_0x3a6998([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a6998([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40238e,_0x545609[_0x3a6998([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a6998([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28aa16(_0x5a894c){const _0x23c16e=_0x3521fa();_0x545609[_0x23c16e]=_0x3a6998([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a894c,_0x5a894c!=_0x3a6998([0x56,0x61,0x6c,0x69,0x64])&&_0x5a7748();}function _0x3521fa(){const _0x5ab72d=window[_0x3a6998([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a6998([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a6998([0x6e,0x6f,0x77])]())[_0x3a6998([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a6998([0x2e]),'');let _0x38c3bb=_0x3a6998([0x75]);for(let _0x2b38bb=0x0;_0x2b38bb<_0x5ab72d[_0x3a6998([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b38bb+=0x2){let _0x577aea=window[_0x3a6998([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ab72d[_0x3a6998([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b38bb,_0x2b38bb+0x2));_0x577aea>=_0x55009d[_0x3a6998([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x577aea-=_0x55009d[_0x3a6998([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38c3bb+=_0x55009d[_0x577aea];}return _0x38c3bb;}function _0x5f331d(){const _0x49a6e6=_0x2a480a[_0x3a6998([0x73,0x70,0x6c,0x69,0x74])](_0x3a6998([0x2e]));if(0x3!=_0x49a6e6[_0x3a6998([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb21c4c(_0x49a6e6[0x1]);function _0xb21c4c(_0x1f2ed4){const _0x33a0fc=_0x3f53ac(_0x1f2ed4);return _0x33a0fc&&_0x5dbc27()?_0x33a0fc:null;function _0x5dbc27(){const _0x3273e2=_0x33a0fc[_0x3a6998([0x6a,0x74,0x69])],_0x4efb65=window[_0x3a6998([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3273e2[_0x3a6998([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3273e2[_0x3a6998([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x224833={..._0x33a0fc,[_0x3a6998([0x6a,0x74,0x69])]:_0x3273e2[_0x3a6998([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3273e2[_0x3a6998([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x224833[_0x3a6998([0x76,0x63])],_0x8f4fa2(_0x224833)==_0x4efb65;}}}async function _0x1e02d1(){let _0x165514=!0x0;try{const _0xa8cbd4=_0x2a480a[_0x3a6998([0x73,0x70,0x6c,0x69,0x74])](_0x3a6998([0x2e])),[_0x1fb8de,_0x5f2dd5,_0x3f5d8c]=_0xa8cbd4;return _0x3b8e3d(_0x1fb8de),await _0x578e61(_0x1fb8de,_0x5f2dd5,_0x3f5d8c),_0x165514;}catch(_0x2c359d){return!0x1;}function _0x3b8e3d(_0x3acbb6){const _0x2639e0=_0x3f53ac(_0x3acbb6);_0x2639e0&&_0x2639e0[_0x3a6998([0x61,0x6c,0x67])]==_0x3a6998([0x45,0x53,0x32,0x35,0x36])||(_0x165514=!0x1);}async function _0x578e61(_0xbd5e54,_0x501484,_0x2454d9){const _0x168929=window[_0x3a6998([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a6998([0x66,0x72,0x6f,0x6d])](_0x36dc03(_0x2454d9),_0x48276a=>_0x48276a[_0x3a6998([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e698b=new window[(_0x3a6998([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a6998([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xbd5e54+_0x3a6998([0x2e])+_0x501484),_0x3ecf92=window[_0x3a6998([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a6998([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ecf92)return;const _0x30073b=await _0x3ecf92[_0x3a6998([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a6998([0x6a,0x77,0x6b]),_0x407d35,{[_0x3a6998([0x6e,0x61,0x6d,0x65])]:_0x3a6998([0x45,0x43,0x44,0x53,0x41]),[_0x3a6998([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a6998([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a6998([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ecf92[_0x3a6998([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a6998([0x6e,0x61,0x6d,0x65])]:_0x3a6998([0x45,0x43,0x44,0x53,0x41]),[_0x3a6998([0x68,0x61,0x73,0x68])]:{[_0x3a6998([0x6e,0x61,0x6d,0x65])]:_0x3a6998([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30073b,_0x168929,_0x3e698b)||(_0x165514=!0x1);}}function _0x3f53ac(_0x2e6a11){return _0x2e6a11[_0x3a6998([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a6998([0x65,0x79]))?JSON[_0x3a6998([0x70,0x61,0x72,0x73,0x65])](_0x36dc03(_0x2e6a11)):null;}function _0x36dc03(_0x4bee52){return window[_0x3a6998([0x61,0x74,0x6f,0x62])](_0x4bee52[_0x3a6998([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a6998([0x2b]))[_0x3a6998([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a6998([0x2f])));}function _0x8f4fa2(_0x254a52){let _0x1038b5=0x1505;function _0x4ff28b(_0x348fa7){for(let _0x268500=0x0;_0x268500<_0x348fa7[_0x3a6998([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x268500++){const _0x3f8397=_0x348fa7[_0x3a6998([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x268500);_0x1038b5=(_0x1038b5<<0x5)+_0x1038b5+_0x3f8397,_0x1038b5&=_0x1038b5;}}function _0x2124d0(_0x5f4216){Array[_0x3a6998([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f4216)?_0x5f4216[_0x3a6998([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2124d0):_0x5f4216&&typeof _0x5f4216==_0x3a6998([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a6998([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f4216)[_0x3a6998([0x73,0x6f,0x72,0x74])]()[_0x3a6998([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x11ea1a,_0x447966])=>{_0x4ff28b(_0x11ea1a),_0x2124d0(_0x447966);}):_0x4ff28b(window[_0x3a6998([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f4216));}return _0x2124d0(_0x254a52),_0x1038b5>>>0x0;}function _0x100f3d(_0x2440a8){return _0x2440a8[_0x3a6998([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a6998([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a6998([0x30]));}function _0x24a4a9(_0x557b07){return _0x557b07[_0x3a6998([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a6998([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a6998([0x6a,0x6f,0x69,0x6e])]('');}function _0x40238e(){}function _0x3a6998(_0x856f66){return _0x856f66['map'](_0x3c6dbe=>String['fromCharCode'](_0x3c6dbe))['join']('');}_0x28aa16(await _0x2ad07c());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x7a50d=this['editor'],_0x290954=_0x7a50d['editing']['view'],_0x1fba9e=this['_getAttachedDomRoot']();if(!_0x1fba9e||0x0===_0x1fba9e['childElementCount'])return void _0x7a50d['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x54f6e7,pageHeight:_0x5d930b}=_0x7a50d['config']['get']('pagination'),{top:_0x47a536,left:_0x17678a,bottom:_0x22013e,right:_0x18e581}=this['_configuredPaddings'];this['_pagesContainer']=new _0x28a433(_0x7a50d['locale']);const _0x1bd95d=this['_pagesContainer'];_0x1bd95d['set']('class',''),_0x1bd95d['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x54f6e7,'width':_0x54f6e7,'height':'calc(\x20'+_0x5d930b+'\x20-\x20'+_0x47a536+'\x20-\x20'+_0x22013e+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x18e581+'\x200\x20'+_0x17678a,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x1bd95d['bindTemplate']['to']('class')}}),_0x1bd95d['render'](),_0x1fba9e['parentNode']['insertBefore'](_0x1bd95d['element'],_0x1fba9e['nextSibling']),this['listenTo'](_0x290954,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x226ecd of this['editor']['editing']['view']['domRoots']['values']())if(_0x226ecd['ownerDocument']['body']['contains'](_0x226ecd))return _0x226ecd;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x8d1293=this['editor']['editing']['view'],_0xd92ab0=this['_pagesContainer'],_0x11c821=this['_getAttachedDomRoot']();if(!_0x11c821)return Promise['resolve']();for(_0xd92ab0['class']=['ck-reset','ck-pagination-view',..._0x11c821['classList']]['join']('\x20');_0xd92ab0['element']['firstChild'];)_0xd92ab0['element']['firstChild']['remove']();const _0x2899d4=Array['from'](_0x8d1293['domRoots']);_0x2899d4['sort'](([,_0x358abf],[,_0xad787a])=>_0x358abf['compareDocumentPosition'](_0xad787a)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x2dfdfd,_0x40e8e8]of _0x2899d4){const _0x4084b9=_0x40e8e8['cloneNode'](!0x0);'attributeStyleMap'in _0x4084b9&&_0x4084b9['attributeStyleMap']['clear'](),_0x4084b9['className']='',_0x4084b9['removeAttribute']('id'),_0x4084b9['dataset']['rootName']=_0x2dfdfd,_0xd92ab0['element']['append'](_0x4084b9);}return function(_0x5d682d){return Promise['all'](_0x5d682d['map'](_0x3e0854=>Promise['race']([p(_0x3e0854),y(0x3e8)])));}(Array['from'](_0xd92ab0['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0xdb7ed9=this['_pagesContainer']['element'];if(!_0xdb7ed9['ownerDocument']['body']['contains'](_0xdb7ed9))return;const _0x292221=new _0x103a60(_0xdb7ed9)['excludeScrollbarsAndBorders'](),_0x1ce5e4=_0x2d3234['window']['getComputedStyle'](_0xdb7ed9),_0xe96e8b=parseFloat(_0x1ce5e4['paddingLeft'])+parseFloat(_0x1ce5e4['paddingRight']),_0x2d657a=Math['floor'](_0x292221['width']+0x64-_0xe96e8b),_0x2b2166=x(_0xdb7ed9,Math['floor'](_0x292221['left']-_0xdb7ed9['scrollLeft']),_0x2d657a,_0x292221['height'])['map'](_0x3a0010=>this['_mapPageStarterInfoToPageBreakInfo'](_0x3a0010));_0x2b2166['every'](_0x51f159=>!!_0x51f159)&&(this['pageBreaks']=_0x2b2166);}['_mapPageStarterInfoToPageBreakInfo'](_0xe7d5a0){const _0x2bfb22=this['editor']['editing']['view'],_0x88dc65=this['editor']['editing']['mapper'],_0x223b11=_0x2bfb22['domConverter'],_0xdefdf7=_0xe7d5a0['path']['shift'](),_0x51fd50=this['_pagesContainer']['element']['childNodes'][_0xdefdf7]['dataset']['rootName'],_0x187996=_0x2bfb22['getDomRoot'](_0x51fd50);if(!_0x187996)return null;const _0x11b550=function(_0xc4d7a3,_0x1a4511){let _0x7e5f82=_0xc4d7a3;for(const _0x5a81da of _0x1a4511['path']){if(!_0x7e5f82)return null;_0x7e5f82=_0x7e5f82['childNodes'][_0x5a81da];}return _0x7e5f82;}(_0x187996,_0xe7d5a0);if(!_0x11b550)return null;const _0x288590=_0x223b11['domPositionToView'](_0x11b550,_0xe7d5a0['textOffset']||0x0);return _0x288590?'manual'==_0xe7d5a0['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x288590,_0x11b550):'text'==_0xe7d5a0['type']&&_0x88dc65['toModelPosition'](_0x288590)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x288590,_0x11b550,_0xe7d5a0['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x288590,_0x11b550,_0xe7d5a0['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x23b0e3,_0x362361){const _0xff8ba7=this['editor']['model'],_0x1813c3=this['editor']['editing']['mapper']['toModelElement'](_0x23b0e3['parent']),_0x2b82b0=_0xff8ba7['createRangeOn'](_0x1813c3);return new K({'type':'manual','modelRange':_0x2b82b0,'domNode':_0x362361,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x9fe79a,_0x1bac74,_0x16d3ea){const _0x502d91=this['editor']['model'],_0x5238e1=this['editor']['editing']['mapper'],_0x44a331=this['editor']['editing']['view']['domConverter'];if(_0x16d3ea>=_0x1bac74['length'])return null;const _0x4fb1f0=_0x5238e1['toModelPosition'](_0x9fe79a),_0x7f9048=_0x502d91['createRange'](_0x4fb1f0),_0x23001b=_0x5238e1['findMappedViewAncestor'](_0x9fe79a),_0x46af06=_0x44a331['mapViewToDom'](_0x23001b);return new K({'type':'text','modelRange':_0x7f9048,'domNode':_0x1bac74,'offset':m(_0x1bac74,_0x16d3ea,_0x46af06)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x31f80a,_0x2de1d7,_0x1edd5a){const _0x41ea5d=this['editor']['model'],_0x3d7a56=this['editor']['editing'],_0x25a5f1=_0x3d7a56['mapper'],_0x4ed253=_0x3d7a56['view']['domConverter'],_0x4175dd=_0x25a5f1['findMappedViewAncestor'](_0x31f80a),_0x36df88=_0x25a5f1['toModelElement'](_0x4175dd),_0x156a5a=function(_0x16b3f2){const _0x5815a1=_0x16b3f2['parent'],_0x437186=_0x5815a1['root']['document']['model'],_0x165fcf=_0x5815a1['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x2b9a1f=null;for(const _0x392915 of _0x165fcf){if(_0x392915['is']('rootElement'))return _0x2b9a1f;if(!_0x437186['createPositionBefore'](_0x392915)['isTouching'](_0x16b3f2))return _0x2b9a1f;_0x2b9a1f=_0x392915;}}(_0x41ea5d['createPositionBefore'](_0x36df88)),_0x2b57ad=_0x156a5a||_0x36df88;let _0x11626f=_0x25a5f1['toViewElement'](_0x2b57ad),_0x31575a=_0x41ea5d['createRangeOn'](_0x2b57ad);const _0x442991=_0x41ea5d['createPositionBefore'](_0x2b57ad)['nodeBefore'];if(_0x442991&&_0x442991['is']('element','imageBlock')){const _0x4dc776=_0x25a5f1['toViewElement'](_0x442991),_0x2628ac=_0x4ed253['mapViewToDom'](_0x4dc776),_0x11db8e=_0x2d3234['window']['getComputedStyle'](_0x2628ac)['float'];'left'!=_0x11db8e&&'right'!=_0x11db8e||(_0x31575a=_0x41ea5d['createRangeOn'](_0x442991));}for(;_0x11626f['parent']!==_0x11626f['root']&&0x0===_0x11626f['index'];)_0x11626f=_0x11626f['parent'];const _0x182ebd=new _0x103a60(S(_0x2de1d7)?_0x2de1d7:P(_0x2de1d7)),_0x5b61de=_0x1edd5a?_0x182ebd['height']-_0x1edd5a:0x0,_0x5592a7=_0x4ed253['mapViewToDom'](_0x11626f),_0x4d9507=new _0x103a60(_0x5592a7);return new K({'type':'element','modelRange':_0x31575a,'domNode':_0x5592a7,'offset':Math['round'](_0x5b61de)?_0x5b61de+_0x182ebd['top']-_0x4d9507['top']:0x0});}get['_configuredPaddings'](){const _0x594951=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x594951);}static['_findPageStarterInfos'](_0x5240,_0x44c897,_0x4c44ac,_0x18c9ed,_0x540aff){return x(_0x5240,_0x44c897,_0x4c44ac,_0x18c9ed,_0x540aff);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x256861,modelRange:_0x1c5faa,domNode:_0x49d1e8,offset:_0x423b25}){this['type']=_0x256861,this['modelRange']=_0x1c5faa,this['_domNode']=_0x49d1e8,this['_offset']=_0x423b25;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0xe6053f=new _0x103a60(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0xe6053f['top']+_0xe6053f['height']/0x2:_0xe6053f['top']+this['_offset'];}}function m(_0x1a9d25,_0x3ae11d,_0x595a06){const _0x5f491d=P(_0x1a9d25),_0x183622=function(_0x5218d9){const _0x1de33d=_0x2d3234['document']['createRange']();return _0x1de33d['selectNodeContents'](_0x5218d9),_0x1de33d;}(_0x595a06);let _0x42856e;_0x42856e=0x0==_0x3ae11d?b(_0x183622['startContainer'],_0x183622['startOffset'],_0x1a9d25['parentNode'],Array['from'](_0x1a9d25['parentNode']['childNodes'])['indexOf'](_0x1a9d25)):b(_0x183622['startContainer'],_0x183622['startOffset'],_0x1a9d25,_0x3ae11d);const _0x2ded8c=b(_0x1a9d25,_0x3ae11d,_0x183622['endContainer'],_0x183622['endOffset']),_0x530442=new _0x103a60(_0x42856e)['bottom'];return(new _0x103a60(_0x2ded8c)['top']+_0x530442)/0x2-new _0x103a60(_0x5f491d)['top'];}function p(_0x1f1e9a){return _0x1f1e9a['hasAttribute']('width')&&_0x1f1e9a['hasAttribute']('height')?Promise['resolve']():new Promise(_0x2754e1=>{function _0x42c57c(){_0x1f1e9a['removeEventListener']('load',_0x42c57c),_0x1f1e9a['removeEventListener']('error',_0x42c57c),_0x2754e1();}_0x1f1e9a['complete']?_0x2754e1():(_0x1f1e9a['addEventListener']('load',_0x42c57c),_0x1f1e9a['addEventListener']('error',_0x42c57c));});}function y(_0x2fb561){return new Promise(_0x1dee97=>setTimeout(_0x1dee97,_0x2fb561));}function P(_0x39bd74){const _0x142407=_0x2d3234['document']['createRange']();return _0x142407['selectNode'](_0x39bd74),_0x142407;}function k(_0x570d9a,_0x4953aa,_0x4b666d){const _0xb8d272=_0x2d3234['document']['createRange']();return _0xb8d272['setStart'](_0x570d9a,_0x4953aa),_0xb8d272['setEnd'](_0x570d9a,_0x4b666d),_0xb8d272;}function b(_0x52a15a,_0x18482b,_0x133aa0,_0x4eecf6){const _0x9f3259=_0x2d3234['document']['createRange']();return _0x9f3259['setStart'](_0x52a15a,_0x18482b),_0x9f3259['setEnd'](_0x133aa0,_0x4eecf6),_0x9f3259;}function x(_0x5a4ac2,_0x3855d8,_0x16b297,_0x503bf9,_0xade2f0){const _0x1eeaa8=[];for(const [_0xce04b0,_0x3285ed]of _0x5a4ac2['childNodes']['entries']()){let _0x5a0dc8=[];S(_0x3285ed)&&_0x3285ed['offsetParent']&&!_0x3285ed['style']['position']?_0x5a0dc8=_(_0x3285ed,_0xce04b0,_0x3855d8,_0x16b297,_0x503bf9,_0xade2f0):R(_0x3285ed)&&(_0x5a0dc8=B(_0x3285ed,_0xce04b0,_0x3855d8,_0x16b297,_0xade2f0)),_0x5a0dc8['length']&&(_0x1eeaa8['push'](..._0x5a0dc8),_0x3855d8+=_0x5a0dc8['length']*_0x16b297,_0xade2f0=!0x1);}return _0x1eeaa8;}function _(_0x53dd8b,_0x56547b,_0x2f385a,_0x3a9bd4,_0x49b6f9,_0x1df456){const _0x4d1d99=[];var _0xd52e96;if((_0xd52e96=_0x53dd8b['previousSibling'])&&S(_0xd52e96)&&Boolean(_0xd52e96['classList']['contains']('page-break')||_0xd52e96['closest']('.page-break'))&&(_0x4d1d99['push']({'type':'manual','offset':0x0,'path':[_0x56547b-0x1]}),_0x1df456=!0x0),'table-row'==_0x2d3234['window']['getComputedStyle'](_0x53dd8b)['display']){let _0x5f0d09=0x0,_0x23ec8b=!0x1;for(const _0x1c78d6 of _0x53dd8b['getClientRects']())_0x5f0d09+=_0x1c78d6['height'],_0x1c78d6['left']>=_0x2f385a&&(_0x23ec8b=!0x0);if(_0x5f0d09<_0x49b6f9&&_0x23ec8b)return _0x4d1d99['push']({'type':'element','offset':0x0,'path':[_0x56547b]}),_0x4d1d99;}const _0x4f10dd=_0x53dd8b['closest']('figure.image');if(_0x4f10dd&&function(_0x3c9c36){let _0x4c68db=!0x1;const _0x484b6b=_0x3c9c36['parentElement'],_0x5b39ee=_0x484b6b['dataset']['rootName'],_0x1244e2=_0x3c9c36['nextElementSibling'],_0x165cbb=_0x3c9c36['previousElementSibling'],_0x1cd2b9=_0x1244e2&&_0x2d3234['window']['getComputedStyle'](_0x1244e2)['float'],_0x259edd=_0x1244e2&&'ck-fake-selection-container'===_0x1244e2['className'];!_0x5b39ee||_0x1244e2||_0x165cbb||(_0x4c68db=!0x0),_0x5b39ee&&!_0x165cbb&&_0x259edd&&(_0x4c68db=!0x0),_0x5b39ee&&!_0x165cbb&&'none'!==_0x1cd2b9&&(_0x4c68db=!0x0);if(_0x4c68db)return!0x1;return!0x0;}(_0x4f10dd)){const _0x452151=_0x2d3234['window']['getComputedStyle'](_0x4f10dd)['float'];if('left'==_0x452151||'right'==_0x452151)return _0x4d1d99;}const _0x12c623=x(_0x53dd8b,_0x2f385a,_0x3a9bd4,_0x49b6f9,_0x1df456);if(_0x12c623['length']){for(const _0x3a8ce4 of _0x12c623)_0x4d1d99['push']({'type':_0x3a8ce4['type'],'offset':_0x3a8ce4['offset'],'textOffset':_0x3a8ce4['textOffset'],'path':[_0x56547b,..._0x3a8ce4['path']]}),_0x2f385a+=_0x3a9bd4,_0x1df456=!0x1;return _0x4d1d99;}return _0x4d1d99['push'](...function(_0x54ac70,_0x57b43e,_0x553d52,_0x1300f1,_0x3ed19a){const _0x35b84f=[];if('table-cell'==_0x2d3234['window']['getComputedStyle'](_0x54ac70)['display'])return[];const _0x2db151=[];for(const _0x4e4420 of _0x54ac70['getClientRects']())if(_0x4e4420['left']>=_0x553d52){for(const _0x419ece of _0x2db151)_0x419ece['height']+=_0x4e4420['height'];_0x2db151['push']({'height':_0x4e4420['height']}),_0x553d52+=_0x1300f1;}for(const _0x2643ab of _0x2db151)_0x3ed19a||_0x35b84f['push']({'type':'element','offset':_0x2643ab['height'],'textOffset':0x0,'path':[_0x57b43e]}),_0x3ed19a=!0x1;return _0x35b84f;}(_0x53dd8b,_0x56547b,_0x2f385a,_0x3a9bd4,_0x1df456)),_0x4d1d99;}function B(_0x779125,_0x49db41,_0x2bc153,_0x4de3aa,_0x545773){const _0x2af59a=P(_0x779125),_0x1c188a=[];let _0x179052=0x0;for(const _0x50c7da of _0x2af59a['getClientRects']())if(_0x50c7da['left']>=_0x2bc153){const _0x421f6e=I(_0x779125,_0x179052,_0x2bc153,_0x4de3aa);_0x545773||_0x1c188a['push']({'type':'text','path':[_0x49db41],'textOffset':_0x421f6e}),_0x179052=_0x421f6e,_0x2bc153+=_0x4de3aa,_0x545773=!0x1;}return _0x1c188a;}function I(_0x4221d4,_0x49c8e9,_0x40f649,_0x36b2c1){let _0x1b0a4b=_0x49c8e9,_0x242819=_0x4221d4['length'];for(;_0x242819-_0x1b0a4b>0x1;){const _0x4dd749=Math['ceil']((_0x1b0a4b+_0x242819)/0x2);N(k(_0x4221d4,_0x1b0a4b,_0x4dd749),_0x40f649,_0x36b2c1)?_0x242819=_0x4dd749:_0x1b0a4b=_0x4dd749;}return _0x1b0a4b;}function N(_0x28a88d,_0x26c5f8,_0x3729c5){for(const _0x139cff of _0x28a88d['getClientRects']())if(_0x139cff['left']>=_0x26c5f8&&_0x139cff['left']<_0x26c5f8+_0x3729c5)return!0x0;return!0x1;}function S(_0x423090){return _0x423090['nodeType']==Node['ELEMENT_NODE'];}function R(_0x5a7a58){return _0x5a7a58['nodeType']==Node['TEXT_NODE'];}const z=_0x10eea7('px');class V extends _0x28a433{constructor(){super();const _0x277c13=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x277c13['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x277c13['if']('isVisible','ck-hidden',_0x10776d=>!_0x10776d)],'style':{'left':_0x277c13['to']('left',_0x5f4c59=>z(_0x5f4c59)),'top':_0x277c13['to']('top',_0x180347=>z(_0x180347)),'width':_0x277c13['to']('width',_0x9ce36f=>z(_0x9ce36f))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x10cb91){this['_viewCollection']=_0x10cb91['ui']['view']['body'];}['destroy'](){for(const _0x2032a0 of this['_hiddenLines'])_0x2032a0['destroy']();}['cleanLines'](){for(const _0x1672ae of this['_visibleLines'])_0x1672ae['isVisible']=!0x1,this['_hiddenLines']['add'](_0x1672ae);this['_visibleLines']['clear']();}['showLine'](_0x3b37a7,_0xc7d6f0,_0x48b1f4,_0x4ce47d){let _0x4aee1f;this['_hiddenLines']['size']?(_0x4aee1f=_0x4f7ac9(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4aee1f)):_0x4aee1f=new V(),_0x4aee1f['set']({'pageNumber':_0x4ce47d,'left':_0x3b37a7,'top':_0xc7d6f0,'width':_0x48b1f4}),_0x4aee1f['isVisible']=!0x0,this['_viewCollection']['has'](_0x4aee1f)||this['_viewCollection']['add'](_0x4aee1f),this['_visibleLines']['add'](_0x4aee1f);}['setViewCollection'](_0x482027){for(const _0x273cf9 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x273cf9)&&this['_viewCollection']['remove'](_0x273cf9);this['_viewCollection']=_0x482027;}}const L='ck-pagination_enabled';class c extends _0x39aa24{['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 E(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'](L),this['on']('change:isEnabled',(_0x12c61d,_0x332e1f,_0x48e880)=>{_0x48e880||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x48e880);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x45d18c){if(!this['isEnabled'])return;const _0x2522a0=_0x45d18c>0x1?this['_getPageBreakLineOffset'](_0x45d18c-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x2522a0-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x584938['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x58e010=this['editor'],_0x3510b1=this['_getAttachedDomRoot']();_0x3510b1?(this['_scrollableEditingRootDomAncestor']&&_0x58e010['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x4f383c){let _0x4edb4c=_0x4f383c;do{_0x4edb4c=_0x4edb4c['parentElement'];const _0x13a287=_0x2d3234['window']['getComputedStyle'](_0x4edb4c)['overflowY'];if('auto'==_0x13a287||'scroll'==_0x13a287)break;}while('BODY'!=_0x4edb4c['tagName']);return _0x4edb4c;}(_0x3510b1),_0x58e010['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x53a701(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x58e010['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x1aca87=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x1aca87['ui']['view']['listenTo'](_0x2d3234['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x1aca87['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x333a97 of this['editor']['editing']['view']['domRoots']['values']())if(_0x333a97['ownerDocument']['body']['contains'](_0x333a97))return _0x333a97;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x56e144=this['_getAttachedDomRoot'](),_0x25a567=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x56e144||0x1==_0x25a567['length'])return void(this['pageNumber']=0x1);const _0x317d17=new _0x103a60(_0x56e144)['excludeScrollbarsAndBorders'](),_0xda050b=new _0x103a60(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0xebf106=_0xda050b['top']+_0xda050b['height']/0x3;let _0x3ed5e0=!0x1;const _0x96dd69=[];for(let _0x4fac0c=0x1;_0x4fac0c<_0x25a567['length'];_0x4fac0c++){const _0x594ba1=this['_getPageBreakLineOffset'](_0x4fac0c,_0xda050b);if(!_0x594ba1)continue;const _0x3807c1=_0xda050b['top']+_0x594ba1-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x96dd69['push']({'pageOffsetTop':_0x3807c1,'domRootRect':_0x317d17,'domScrollableRect':_0xda050b,'pageNumber':_0x4fac0c}),_0x3807c1>_0xebf106&&!_0x3ed5e0&&(this['pageNumber']=_0x4fac0c,_0x3ed5e0=!0x0);}this['_renderPageBreakLines'](_0x96dd69),_0x3ed5e0||(this['pageNumber']=_0x25a567['length']);}['_renderPageBreakLines'](_0x20abe6){const {scrollX:_0x3937cf,scrollY:_0x2d89c1}=_0x2d3234['window'];if(_0x20abe6['length']){for(const {domScrollableRect:_0x22ed85,pageOffsetTop:_0x177aef,domRootRect:_0x4b2d60,pageNumber:_0x2565f8}of _0x20abe6)_0x22ed85['top']<_0x177aef&&_0x177aef<_0x22ed85['bottom']&&this['linesRepository']['showLine'](_0x4b2d60['left']+_0x3937cf,_0x177aef+_0x2d89c1,_0x4b2d60['width'],_0x2565f8+0x1);}}['_getPageBreakLineOffset'](_0x1575fc,_0x269395=null){const _0x1a2633=this['_paginationLookupPlugin']['pageBreaks'][_0x1575fc]['offset'];return _0x1a2633?(_0x269395||(_0x269395=new _0x103a60(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x1a2633-_0x269395['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4e5d00,_0x38fc45=!0x0){const _0x2d467a=this['editor']['editing']['view'];_0x2d467a['change'](_0x397505=>{for(const _0x434697 of _0x2d467a['document']['roots'])_0x38fc45?_0x397505['addClass'](_0x4e5d00,_0x434697):_0x397505['removeClass'](_0x4e5d00,_0x434697);});}}function g(_0x24801f,_0xae69df,..._0x4013bb){const t=_0x24801f['t'];switch(_0xae69df){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)',..._0x4013bb);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 _0xae69df;}}class s extends _0x39aa24{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x384348=this['editor']['plugins']['get']('Pagination'),_0x2c2f00=this['editor']['plugins']['get'](n),_0x115e33=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x384348),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x115e33),this['listenTo'](_0x2c2f00,'change:pageBreaks',(_0x351300,_0x3d1947,_0x52cdc5,_0x3ef42d)=>{this['totalPages']=_0x52cdc5['length'],this['_updatePageBreakMarkers'](_0x52cdc5,_0x3ef42d);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b636f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4fd2e5;for(const _0xca5ac4 in _0x4b636f){const _0x438911=_0xca5ac4,_0x57fc31=_0x4b636f[_0x438911];if('paginationLicenseKeyValid'==_0x57fc31||'paginationLicenseKeyInvalid'==_0x57fc31||'paginationLicenseKeyExpired'==_0x57fc31||'paginationLicenseKeyDomainLimit'==_0x57fc31||'paginationLicenseKeyNotAllowed'==_0x57fc31||'paginationLicenseKeyEvaluationLimit'==_0x57fc31||'paginationLicenseKeyTrialLimit'==_0x57fc31||'paginationLicenseKeyUsageLimit'==_0x57fc31){delete _0x4b636f[_0x438911],_0x4fd2e5=_0x57fc31,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x4fd2e5&&_0x4b636f['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x4fd2e5&&_0x4b636f['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x4fd2e5&&_0x4b636f['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x4fd2e5&&_0x4b636f['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x4fd2e5&&_0x4b636f['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x4fd2e5&&_0x4b636f['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x4fd2e5&&_0x4b636f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x2494d0){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x2494d0));}['moveSelectionToPage'](_0x28fa23){if(!this['isEnabled'])return;const _0x450f56=this['editor'],_0x416235=this['editor']['plugins']['get'](n)['pageBreaks'][_0x28fa23-0x1];_0x416235&&_0x450f56['model']['change'](_0x95f109=>{switch(_0x416235['type']){case'manual':{const _0x4dc0dc=_0x450f56['model']['schema']['getNearestSelectionRange'](_0x416235['modelRange']['end'],'forward');_0x95f109['setSelection'](_0x4dc0dc);break;}case'element':{const _0x3017d5=_0x450f56['model']['schema']['getNearestSelectionRange'](_0x416235['modelRange']['start'],'forward');_0x95f109['setSelection'](_0x3017d5);break;}case'text':{const _0x3803d2=_0x416235['modelRange']['start'];if(_0x3803d2['textNode']&&'\x20'===_0x3803d2['textNode']['data'][_0x3803d2['offset']]){const _0x1071a0=_0x95f109['createPositionAt'](_0x3803d2['parent'],_0x3803d2['offset']+0x1);_0x95f109['setSelection'](_0x1071a0);}else _0x95f109['setSelection'](_0x416235['modelRange']);}}_0x450f56['editing']['view']['focus']();});}['goToNextPage'](){const _0x1f63ec=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x1f63ec),this['scrollToPage'](_0x1f63ec);}['goToPreviousPage'](){const _0x34634a=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x34634a),this['scrollToPage'](_0x34634a);}['_updatePageBreakMarkers'](_0x53c44f,_0x103be7){const _0x26f591=this['editor']['model'];this['isEnabled']&&_0x26f591['change'](_0x42c945=>{for(let _0x44f265=0x1;_0x44f265<_0x53c44f['length'];_0x44f265++){const _0x15d236=_0x53c44f[_0x44f265]['modelRange'],_0x569d8e='pagination:'+(_0x44f265+0x1);_0x26f591['markers']['has'](_0x569d8e)?_0x42c945['updateMarker'](_0x569d8e,{'range':_0x15d236}):_0x42c945['addMarker'](_0x569d8e,{'range':_0x15d236,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x128779=_0x53c44f['length'];_0x128779<_0x103be7['length'];_0x128779++){const _0x4ddb75='pagination:'+(_0x128779+0x1);_0x26f591['markers']['has'](_0x4ddb75)&&_0x42c945['removeMarker'](_0x4ddb75);}});}['_setUpDataDowncastConversion'](){const _0x3c73dd='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x232f80=>{_0x232f80['on']('addMarker:'+_0x3c73dd,(_0x2f5e34,{markerRange:_0x516e5f,markerName:_0x4e2dd6},_0xf2cdc3)=>{if(!_0xf2cdc3['options']['pagination'])return;if(!_0xf2cdc3['consumable']['consume'](_0x516e5f,_0x2f5e34['name']))return;const _0x3c470a=_0x516e5f['getContainedElement']();let _0xf5df53=_0x3c470a?_0xf2cdc3['mapper']['toViewElement'](_0x3c470a):null;if(!_0xf5df53){const _0xe0929a=_0x516e5f['start'];if(_0xf2cdc3['schema']['checkChild'](_0xe0929a,'$text')){const _0x1176f1=_0xf2cdc3['mapper']['toViewPosition'](_0xe0929a);_0xf5df53=_0xf2cdc3['writer']['createContainerElement']('span'),_0xf5df53['getFillerOffset']=()=>null,_0xf2cdc3['writer']['insert'](_0x1176f1,_0xf5df53);}else{const _0x1d08aa=_0xe0929a['nodeAfter'];_0xf5df53=_0xf2cdc3['mapper']['toViewElement'](_0x1d08aa);}}for(;_0xf5df53['parent']!==_0xf5df53['root']&&0x0===_0xf5df53['index'];)_0xf5df53=_0xf5df53['parent'];const _0x3bdda9=_0x4e2dd6['substring'](0xb);_0xf5df53['hasClass']('page-break')||(_0xf2cdc3['writer']['setStyle']('page-break-before','always',_0xf5df53),_0xf2cdc3['writer']['setAttribute']('data-pagination-page',_0x3bdda9,_0xf5df53),_0xf2cdc3['mapper']['bindElementToMarker'](_0xf5df53,_0x4e2dd6)),_0x2f5e34['stop']();});});}['_setupKeystrokes'](){const _0x3e05c0=this['editor'];_0x3e05c0['keystrokes']['set']('Shift+Pageup',(_0x3031a3,_0xd48c1e)=>{this['goToPreviousPage'](),_0xd48c1e();}),_0x3e05c0['keystrokes']['set']('Shift+Pagedown',(_0x49a489,_0x4fcb27)=>{this['goToNextPage'](),_0x4fcb27();}),_0x3e05c0['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x3e05c0['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x3e05c0['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x3e05c0['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x15a1ca){return _0x15a1ca<0x1&&(_0x15a1ca=0x1),_0x15a1ca>this['totalPages']&&(_0x15a1ca=this['totalPages']),_0x15a1ca;}}class U extends _0x28a433{['pageNumberView'];constructor(_0x3d8e6f){super(_0x3d8e6f);const _0x272e9b=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x5d98fe(_0x3d8e6f,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x508973=>g(_0x3d8e6f,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x508973)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x499b0a=>!_0x499b0a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x272e9b['if']('isEnabled','ck-disabled',_0xaba7a6=>!_0xaba7a6)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x272e9b['to']('totalPages')}]}]});}['render'](){super['render']();const _0x34cfd3=this['pageNumberView']['element'],_0x2d6895=_0x32125f=>{this['pageNumberView']['element']['value']=String(_0x32125f);};_0x2d6895(this['pageNumber']),this['on']('change:pageNumber',(_0x13bdf2,_0x159951,_0x510676)=>{_0x2d6895(_0x510676);}),this['listenTo'](_0x34cfd3,'keydown',(_0x1d158a,_0x31767a)=>{if('ArrowUp'===_0x31767a['key']||'ArrowDown'===_0x31767a['key'])return void _0x31767a['stopPropagation']();if(_0x31767a['keyCode']!==_0x2f1a44['enter'])return;_0x31767a['preventDefault']();const _0x5e4532=_0x34cfd3['valueAsNumber'];Number['isNaN'](_0x5e4532)?_0x34cfd3['value']=String(this['pageNumber']):(_0x34cfd3['checkValidity']()?this['pageNumber']=_0x5e4532:_0x5e4532>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x34cfd3['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x34cfd3['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x34cfd3,'blur',()=>{_0x34cfd3['value']=String(this['pageNumber']);}),this['listenTo'](_0x34cfd3,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x39aa24{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5dfd89=this['editor'],_0x26235a=_0x5dfd89['plugins']['get']('PaginationEditing');_0x5dfd89['ui']['componentFactory']['add']('pageNavigation',_0x3721ae=>{const _0x163a3c=new U(_0x3721ae);return _0x163a3c['bind']('pageNumber')['to'](_0x26235a),_0x163a3c['bind']('totalPages')['to'](_0x26235a),_0x163a3c['bind']('isEnabled')['to'](_0x26235a),_0x163a3c['on']('navigation',(_0x292bf4,_0x5c391c)=>{_0x26235a['moveSelectionToPage'](_0x5c391c),_0x26235a['scrollToPage'](_0x5c391c);}),_0x163a3c;}),_0x5dfd89['ui']['componentFactory']['add']('nextPage',_0x3d4ade=>{const _0x230f3a=new _0x470fdc(_0x3d4ade);return _0x230f3a['isEnabled']=!0x0,_0x230f3a['label']=g(_0x5dfd89['locale'],'Go\x20to\x20next\x20page'),_0x230f3a['icon']=_0x26ed34,_0x230f3a['tooltip']=!0x0,_0x230f3a['keystroke']='Shift+PageDown',_0x230f3a['bind']('isEnabled')['to'](_0x26235a),this['listenTo'](_0x230f3a,'execute',()=>{_0x26235a['goToNextPage']();}),_0x230f3a;}),_0x5dfd89['ui']['componentFactory']['add']('previousPage',_0x34840e=>{const _0x32a6d2=new _0x470fdc(_0x34840e);return _0x32a6d2['isEnabled']=!0x0,_0x32a6d2['label']=g(_0x5dfd89['locale'],'Go\x20to\x20previous\x20page'),_0x32a6d2['icon']=_0x1ce1f8,_0x32a6d2['tooltip']=!0x0,_0x32a6d2['keystroke']='Shift+PageUp',_0x32a6d2['bind']('isEnabled')['to'](_0x26235a),this['listenTo'](_0x32a6d2,'execute',()=>{_0x26235a['goToPreviousPage']();}),_0x32a6d2;});}}class a extends _0x39aa24{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x445940){super(_0x445940),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1c0065=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x1c0065),this['bind']('totalPages')['to'](_0x1c0065),_0x584938['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2680a2){this['editor']['plugins']['get'](s)['scrollToPage'](_0x2680a2);}}export{a as Pagination,c as PaginationRenderer};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0xd6af4c=>0x1!=_0xd6af4c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x535e8d=>{const {af:{dictionary:_0x3e5c30,getPluralForm:_0x120a2c}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x569901=>0x1!=_0x569901}};_0x535e8d['af']||={'dictionary':{},'getPluralForm':null},_0x535e8d['af']['dictionary']=Object['assign'](_0x535e8d['af']['dictionary'],_0x3e5c30),_0x535e8d['af']['getPluralForm']=_0x120a2c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0xdb1b7c=>0x0==_0xdb1b7c?0x0:0x1==_0xdb1b7c?0x1:0x2==_0xdb1b7c?0x2:_0xdb1b7c%0x64>=0x3&&_0xdb1b7c%0x64<=0xa?0x3:_0xdb1b7c%0x64>=0xb?0x4:0x5}};
|