@ckeditor/ckeditor5-pagination 45.1.0-alpha.5 → 45.1.0-alpha.6
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),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,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:()=>H});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},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=f;function a(){const t=["isEnabled","entries","12892401YmfrWo","once","config","_findPageStarterInfos","_getAttachedDomRoot","page-break","excludeScrollbarsAndBorders","rootName","race","ownerDocument","calc( ","sort","pageBreaks","_recalculatePageBreaks","parentElement","nodeBefore","ceil","float","listenTo","createPositionBefore","root","isOfficialPlugin","all","figure.image","parent","body","_mapManualPageStarterInfoToPageBreakInfo","join","ck-fake-selection-container"," 0 ","shift","destroy","getAncestors","style","absolute","_offset"," - ","div","remove","clear","border-box","paddingRight","3568892yKQSQx","getComputedStyle","toModelElement","document","offsetParent","createRange","class","update","toViewElement","_mapTextPageStarterInfoToPageBreakInfo","render","nextSibling","pagination","467640eFQDnU","endContainer","editing","bindTemplate","setStart","manual","textOffset","position","plugins","selectNode","load","change:isEnabled","setEnd","values","addEventListener","previousSibling","offset","push","floor","parentNode","144fsLcyE","round",".page-break","ELEMENT_NODE","resolve","hidden","hasAttribute","afterInit","isPremiumPlugin","locale","imageBlock","get","text","bottom","fromCharCode","view","contains","firstChild","querySelectorAll","right","width","_recalculatePageBreaksDebounced","childElementCount","length","10mm","modelRange","TEXT_NODE","table-cell","closest","_mapPageStarterInfoToPageBreakInfo","_updatePageBreaksData","dataset","every","domRoots","none","element","pagination-config-not-found","_domNode","271812VLbPNJ","pluginName","previousElementSibling","table-row","editor","indexOf","createRangeOn","paddingLeft","domPositionToView","mapViewToDom","endOffset","index","_configuredPaddings","getDomRoot","auto","removeAttribute","PaginationEditing","cloneNode","findMappedViewAncestor","then","-99999px","height","top","window","startOffset","set","ck-reset","map","append","scrollLeft","startContainer","low","_onUiReady","display","DOCUMENT_POSITION_PRECEDING","classList","nodeType","init","nextElementSibling","setTemplate","7528ocmmFF","type","pagination.pageMargins","attributeStyleMap","compareDocumentPosition","_mapElementPageStarterInfoToPageBreakInfo","28IATkmq","1968485dsvrkS","cancel","PaginationLookup","ck-pagination-view","href","100px","toModelPosition","mapper","ready","className","complete","childNodes","assign","path","bind","1193271NsOArL","img","insertBefore","getClientRects","from","isTouching","domConverter","left","model","removeEventListener","rootElement","error","selectNodeContents","_pagesContainer"];return(a=function(){return t})()}!function(t){const e=f,n=t();for(;;)try{if(530491===parseInt(e(498))/1*(parseInt(e(576))/2)+-parseInt(e(598))/3+-parseInt(e(465))/4+-parseInt(e(583))/5+parseInt(e(536))/6*(parseInt(e(582))/7)+parseInt(e(478))/8+parseInt(e(614))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class c extends t.Plugin{[r(519)]=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(627)]()),200);[r(611)]=null;static get[r(537)](){return r(585)}static get[r(635)](){return!0}static get[r(506)](){return!0}[r(573)](){const t=r;if(this[t(561)]({pageBreaks:[]}),!this[t(540)][t(616)][t(509)](t(477)))return void(0,o.logWarning)(t(534),this[t(540)][t(616)]);const e=this[t(540)][t(486)][t(509)](t(552));this[t(597)](t(612)).to(e),this[t(540)].ui[t(615)](t(591),(()=>this[t(568)]())),this.on(t(489),((e,n,i)=>{i&&this[t(519)]()}))}[r(505)](){!async function(t){const e=m([111,110,106,77,54,65,78,88,82,56,85,105,76,107,120,102,55,121,83,90,84,103,67,104,70,118,89,101,113,108,119,71,81,122,114,97,75,69,72,79,117,57,116,73,68,49,53,109,98,115,100,99,50,66,51,48,112,74,80,52,86,87]),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 c(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 u(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(t)):null}function l(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 p(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 d(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 h(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=f;return t[e(563)]((t=>String[e(512)](t)))[e(450)]("")}!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([111]);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=u(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])],p(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 f(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])?d(p(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])+d(p(t)),i=h(d(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])+d(p(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])](h(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=>{f(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=u(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])](l(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:1747008e3;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=f,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(587)]);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=c(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=c(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(454)](){const t=r;super[t(454)](),this[t(611)]&&(this[t(519)][t(584)](),this[t(611)][t(454)](),this[t(611)][t(533)][t(461)]())}[r(568)](){const t=r,n=this[t(540)],i=n[t(480)][t(513)],o=this[t(618)]();if(!o||0===o[t(520)])return void n.ui[t(615)](t(472),(()=>this[t(568)]()));const{pageWidth:s,pageHeight:a}=n[t(616)][t(509)](t(477)),{top:c,left:u,bottom:l,right:p}=this[t(548)];this[t(611)]=new e.View(n[t(507)]);const f=this[t(611)];f[t(561)](t(471),""),f[t(575)]({tag:t(460),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(624)+a+t(459)+c+t(459)+l+" )",minWidth:t(550),minHeight:t(550),padding:"0 "+p+t(452)+u,columnGap:t(588),border:0,boxSizing:t(463),columnCount:t(550),columnFill:t(550),overflow:t(503),position:t(457),top:t(556),left:t(556)},tabindex:"-1",class:f[t(481)].to(t(471))}}),f[t(475)](),o[t(497)][t(600)](f[t(533)],o[t(476)]),this[t(632)](i,t(475),(()=>this[t(519)]()),{priority:t(567)}),this[t(519)]()}[r(618)](){const t=r;for(const e of this[t(540)][t(480)][t(513)][t(531)][t(491)]())if(e[t(623)][t(639)][t(514)](e))return e;return null}[r(627)](){const t=r;if(!this[t(612)])return Promise[t(502)]();const e=this[t(540)][t(480)][t(513)],n=this[t(611)],i=this[t(618)]();if(!i)return Promise[t(502)]();for(n[t(471)]=[t(562),t(586),...i[t(571)]][t(450)](" ");n[t(533)][t(515)];)n[t(533)][t(515)][t(461)]();const o=Array[t(602)](e[t(531)]);o[t(625)]((([,e],[,n])=>e[t(580)](n)==Node[t(570)]?1:-1));for(const[e,i]of o){const o=i[t(553)](!0);t(579)in o&&o[t(579)][t(462)](),o[t(592)]="",o[t(551)]("id"),o[t(529)][t(621)]=e,n[t(533)][t(564)](o)}return function(e){const n=t;return Promise[n(636)](e[n(563)]((t=>{return Promise[n(622)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(602)](n[t(533)][t(516)](t(599))))[t(555)]((()=>this[t(528)]()))}[r(528)](){const t=r,e=this[t(611)][t(533)];if(!e[t(623)][t(639)][t(514)](e))return;const n=new o.Rect(e)[t(620)](),i=o.global[t(559)][t(466)](e),s=parseFloat(i[t(543)])+parseFloat(i[t(464)]),a=Math[t(496)](n[t(518)]+100-s),c=m(e,Math[t(496)](n[t(605)]-e[t(565)]),a,n[t(557)])[t(563)]((e=>this[t(527)](e)));c[t(530)]((t=>!!t))&&(this[t(626)]=c)}[r(527)](t){const e=r,n=this[e(540)][e(480)][e(513)],i=this[e(540)][e(480)][e(590)],o=n[e(604)],s=t[e(596)][e(453)](),a=this[e(611)][e(533)][e(594)][s][e(529)][e(621)],c=n[e(549)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(596)]){if(!o)return null;o=o[i(594)][t]}return o}(c,t);if(!u)return null;const l=o[e(544)](u,t[e(484)]||0);return l?e(483)==t[e(577)]?this[e(449)](l,u):e(510)==t[e(577)]&&i[e(589)](l)[e(494)]?this[e(474)](l,u,t[e(484)]):this[e(581)](l,u,t[e(494)]):null}[r(449)](t,e){const n=r,i=this[n(540)][n(606)],o=this[n(540)][n(480)][n(590)][n(467)](t[n(638)]),s=i[n(542)](o);return new u({type:n(483),modelRange:s,domNode:e,offset:0})}[r(474)](t,e,n){const i=r,o=this[i(540)][i(606)],s=this[i(540)][i(480)][i(590)],a=this[i(540)][i(480)][i(513)][i(604)];if(n>=e[i(521)])return null;const c=s[i(589)](t),p=o[i(470)](c),f=s[i(554)](t),d=a[i(545)](f);return new u({type:i(510),modelRange:p,domNode:e,offset:l(e,n,d)})}[r(581)](t,e,n){const i=r,s=this[i(540)][i(606)],a=this[i(540)][i(480)],c=a[i(590)],l=a[i(513)][i(604)],p=c[i(554)](t),f=c[i(467)](p),h=function(t){const e=i,n=t[e(638)],o=n[e(634)][e(468)][e(606)],s=n[e(455)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(608)))return r;if(!o[e(633)](n)[e(603)](t))return r;r=n}}(s[i(633)](f))||f;let g=c[i(473)](h),m=s[i(542)](h);const b=s[i(633)](h)[i(629)];if(b&&b.is(i(533),i(508))){const t=c[i(473)](b),e=l[i(545)](t),n=o.global[i(559)][i(466)](e)[i(631)];i(605)!=n&&i(517)!=n||(m=s[i(542)](b))}for(;g[i(638)]!==g[i(634)]&&0===g[i(547)];)g=g[i(638)];const v=new o.Rect(y(e)?e:d(e)),w=n?v[i(557)]-n:0,k=l[i(545)](g),I=new o.Rect(k);return new u({type:i(533),modelRange:m,domNode:k,offset:Math[i(499)](w)?w+v[i(558)]-I[i(558)]:0})}get[r(548)](){const t=r,e=this[t(540)][t(616)][t(509)](t(578));return Object[t(595)]({top:t(522),bottom:t(522),left:t(522),right:t(522)},e)}static[r(617)](t,e,n,i,o){return m(t,e,n,i,o)}}class u{[r(577)];[r(523)];[r(535)];[r(458)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(577)]=t,this[o(523)]=e,this[o(535)]=n,this[o(458)]=i}get[r(494)](){const t=r;if(!this[t(535)][t(623)][t(639)][t(514)](this[t(535)]))return 0;const e=new o.Rect(y(this[t(535)])?this[t(535)]:d(this[t(535)]));return t(483)==this[t(577)]?e[t(558)]+e[t(557)]/2:e[t(558)]+this[t(458)]}}function l(t,e,n){const i=r,s=d(t),a=function(t){const e=f,n=o.global[e(468)][e(470)]();return n[e(610)](t),n}(n);let c;c=0==e?g(a[i(566)],a[i(560)],t[i(497)],Array[i(602)](t[i(497)][i(594)])[i(541)](t)):g(a[i(566)],a[i(560)],t,e);const u=g(t,e,a[i(479)],a[i(546)]),l=new o.Rect(c)[i(511)];return(new o.Rect(u)[i(558)]+l)/2-new o.Rect(s)[i(558)]}function p(t){const e=r;return t[e(504)](e(518))&&t[e(504)](e(557))?Promise[e(502)]():new Promise((n=>{const i=e;function o(){const e=f;t[e(607)](e(488),o),t[e(607)](e(609),o),n()}t[i(593)]?n():(t[i(492)](i(488),o),t[i(492)](i(609),o))}))}function f(t,e){const n=a();return(f=function(t,e){return n[t-=449]})(t,e)}function d(t){const e=r,n=o.global[e(468)][e(470)]();return n[e(487)](t),n}function h(t,e,n){const i=r,s=o.global[i(468)][i(470)]();return s[i(482)](t,e),s[i(490)](t,n),s}function g(t,e,n,i){const s=r,a=o.global[s(468)][s(470)]();return a[s(482)](t,e),a[s(490)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(594)][s(613)]()){let t=[];y(c)&&c[s(469)]&&!c[s(456)][s(485)]?t=b(c,r,e,n,i,o):I(c)&&(t=v(c,r,e,n,o)),t[s(521)]&&(a[s(495)](...t),e+=t[s(521)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(493)])&&y(l)&&Boolean(l[c(571)][c(514)](c(619))||l[c(526)](c(500)))&&(u[c(495)]({type:c(483),offset:0,path:[e-1]}),a=!0),c(539)==o.global[c(559)][c(466)](t)[c(569)]){let i=0,o=!1;for(const e of t[c(601)]())i+=e[c(557)],e[c(605)]>=n&&(o=!0);if(i<s&&o)return u[c(495)]({type:c(533),offset:0,path:[e]}),u}const p=t[c(526)](c(637));if(p&&function(t){const e=c;let n=!1;const i=t[e(628)][e(529)][e(621)],s=t[e(574)],r=t[e(538)],a=s&&o.global[e(559)][e(466)](s)[e(631)],u=s&&e(451)===s[e(592)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(532)!==a&&(n=!0),!n}(p)){const t=o.global[c(559)][c(466)](p)[c(631)];if(c(605)==t||c(517)==t)return u}const f=m(t,n,i,s,a);if(f[c(521)]){for(const t of f)u[c(495)]({type:t[c(577)],offset:t[c(494)],textOffset:t[c(484)],path:[e,...t[c(596)]]}),n+=i,a=!1;return u}return u[c(495)](...function(t,e,n,i,s){const r=c,a=[];if(r(525)==o.global[r(559)][r(466)](t)[r(569)])return[];const u=[];for(const e of t[r(601)]())if(e[r(605)]>=n){for(const t of u)t[r(557)]+=e[r(557)];u[r(495)]({height:e[r(557)]}),n+=i}for(const t of u)s||a[r(495)]({type:r(533),offset:t[r(557)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function v(t,e,n,i,o){const s=r,a=d(t),c=[];let u=0;for(const r of a[s(601)]())if(r[s(605)]>=n){const r=w(t,u,n,i);o||c[s(495)]({type:s(510),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function w(t,e,n,i){const o=r;let s=e,a=t[o(521)];for(;a-s>1;){const e=Math[o(630)]((s+a)/2);k(h(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(601)]())if(o[i(605)]>=e&&o[i(605)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(572)]==Node[e(501)]}function I(t){const e=r;return t[e(572)]==Node[e(524)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),T=n(262),E=n.n(T),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=E().bind(null,"head"),C.domAPI=N(),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 F(){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(F=function(){return t})()}const W=Q;function Q(t,e){const n=F();return(Q=function(t,e){return n[t-=176]})(t,e)}!function(t){const e=Q,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())}}(F);const q=W(219);class H extends t.Plugin{[W(217)];[W(257)]=null;[W(215)]=null;[W(177)];static get[W(192)](){return W(202)}static get[W(222)](){return!0}static get[W(237)](){return!0}[W(220)](){const t=W;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)](q),this.on(t(183),((e,n,i)=>{const o=t;i||this[o(217)][o(210)](),this[o(204)](q,i)}))}[W(182)](){const t=W;this[t(204)](q,!1),this[t(217)][t(182)](),this[t(257)]=null,this[t(215)]&&this[t(215)][t(182)]()}[W(231)](t){const e=W;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)})}[W(197)](){const t=W,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)]()))}[W(216)](){const t=W,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)]()))}[W(256)](){const t=W;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}[W(190)](){const t=W;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)])}[W(184)](t){const e=W,{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)}[W(232)](t,e=null){const n=W,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}[W(204)](t,e=!0){const n=W,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 X(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 z=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=S(),Y.insert=E().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=O();x()(z.A,Y);z.A&&z.A.locals&&z.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[c,H]}[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)](c),i=this[t(510)][t(531)][t(455)](H);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)](H)[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)](c)[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:X(e[t(434)],t(499)),keystrokes:[{label:X(e[t(434)],t(509)),keystroke:t(475),mayRequireFn:!0},{label:X(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=E().bind(null,"head"),it.domAPI=N(),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=>X(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)]=X(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)]=X(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=ht;function dt(){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(dt=function(){return t})()}function ht(t,e){const n=dt();return(ht=function(t,e){return n[t-=336]})(t,e)}!function(t){const e=ht,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())}}(dt);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})();
|
|
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=h;!function(t){const e=h,n=t();for(;;)try{if(596237===-parseInt(e(504))/1*(-parseInt(e(548))/2)+-parseInt(e(530))/3+-parseInt(e(458))/4*(parseInt(e(556))/5)+-parseInt(e(452))/6+parseInt(e(535))/7+-parseInt(e(483))/8+-parseInt(e(479))/9*(-parseInt(e(415))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class a extends t.Plugin{[r(464)]=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(569)]()),200);[r(560)]=null;static get[r(488)](){return r(570)}static get[r(561)](){return!0}static get[r(431)](){return!0}[r(392)](){const t=r;if(this[t(453)]({pageBreaks:[]}),!this[t(494)][t(579)][t(499)](t(502)))return void(0,o.logWarning)(t(400),this[t(494)][t(579)]);const e=this[t(494)][t(455)][t(499)](t(459));this[t(537)](t(577)).to(e),this[t(494)].ui[t(563)](t(466),(()=>this[t(421)]())),this.on(t(414),((e,n,i)=>{i&&this[t(464)]()}))}[r(574)](){!async function(t){const e=m([98,54,106,49,53,79,105,66,119,56,104,71,86,83,72,103,108,117,68,110,69,48,107,81,100,77,120,50,102,88,114,97,55,76,84,80,101,85,99,122,78,51,67,73,121,89,65,111,116,82,115,75,70,87,57,74,109,118,52,112,90,113]),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 c(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 u(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(t)):null}function l(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 p(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 f(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=h;return t[e(427)]((t=>String[e(460)](t)))[e(496)]("")}!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([98]);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=u(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])],p(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 h(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])?f(p(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])+f(p(t)),i=d(f(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])+f(p(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=>{h(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=u(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])](l(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:1747094400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=h,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(550)]);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=c(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=c(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(403)](){const t=r;super[t(403)](),this[t(560)]&&(this[t(464)][t(430)](),this[t(560)][t(403)](),this[t(560)][t(475)][t(442)]())}[r(421)](){const t=r,n=this[t(494)],i=n[t(468)][t(407)],o=this[t(451)]();if(!o||0===o[t(575)])return void n.ui[t(563)](t(462),(()=>this[t(421)]()));const{pageWidth:s,pageHeight:a}=n[t(579)][t(499)](t(502)),{top:c,left:u,bottom:l,right:p}=this[t(472)];this[t(560)]=new e.View(n[t(549)]);const f=this[t(560)];f[t(453)](t(562),""),f[t(505)]({tag:t(454),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(559)+a+t(441)+c+t(441)+l+" )",minWidth:t(422),minHeight:t(422),padding:"0 "+p+t(573)+u,columnGap:t(463),border:0,boxSizing:t(401),columnCount:t(422),columnFill:t(422),overflow:t(493),position:t(497),top:t(555),left:t(555)},tabindex:"-1",class:f[t(432)].to(t(562))}}),f[t(540)](),o[t(522)][t(509)](f[t(475)],o[t(566)]),this[t(507)](i,t(540),(()=>this[t(464)]()),{priority:t(469)}),this[t(464)]()}[r(451)](){const t=r;for(const e of this[t(494)][t(468)][t(407)][t(411)][t(425)]())if(e[t(447)][t(517)][t(538)](e))return e;return null}[r(569)](){const t=r;if(!this[t(577)])return Promise[t(500)]();const e=this[t(494)][t(468)][t(407)],n=this[t(560)],i=this[t(451)]();if(!i)return Promise[t(500)]();for(n[t(562)]=[t(409),t(429),...i[t(487)]][t(496)](" ");n[t(475)][t(519)];)n[t(475)][t(519)][t(442)]();const o=Array[t(438)](e[t(411)]);o[t(398)]((([,e],[,n])=>e[t(395)](n)==Node[t(413)]?1:-1));for(const[e,i]of o){const o=i[t(572)](!0);t(545)in o&&o[t(545)][t(465)](),o[t(396)]="",o[t(478)]("id"),o[t(521)][t(445)]=e,n[t(475)][t(426)](o)}return function(e){const n=t;return Promise[n(580)](e[n(427)]((t=>{return Promise[n(541)]([l(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(438)](n[t(475)][t(417)](t(408))))[t(467)]((()=>this[t(551)]()))}[r(551)](){const t=r,e=this[t(560)][t(475)];if(!e[t(447)][t(517)][t(538)](e))return;const n=new o.Rect(e)[t(470)](),i=o.global[t(435)][t(526)](e),s=parseFloat(i[t(554)])+parseFloat(i[t(434)]),a=Math[t(511)](n[t(473)]+100-s),c=g(e,Math[t(511)](n[t(492)]-e[t(433)]),a,n[t(476)])[t(427)]((e=>this[t(512)](e)));c[t(558)]((t=>!!t))&&(this[t(533)]=c)}[r(512)](t){const e=r,n=this[e(494)][e(468)][e(407)],i=this[e(494)][e(468)][e(547)],o=n[e(444)],s=t[e(446)][e(532)](),a=this[e(560)][e(475)][e(393)][s][e(521)][e(445)],c=n[e(527)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(446)]){if(!o)return null;o=o[i(393)][t]}return o}(c,t);if(!u)return null;const l=o[e(523)](u,t[e(542)]||0);return l?e(485)==t[e(529)]?this[e(564)](l,u):e(461)==t[e(529)]&&i[e(539)](l)[e(531)]?this[e(423)](l,u,t[e(542)]):this[e(477)](l,u,t[e(531)]):null}[r(564)](t,e){const n=r,i=this[n(494)][n(450)],o=this[n(494)][n(468)][n(547)][n(518)](t[n(481)]),s=i[n(440)](o);return new c({type:n(485),modelRange:s,domNode:e,offset:0})}[r(423)](t,e,n){const i=r,o=this[i(494)][i(450)],s=this[i(494)][i(468)][i(547)],a=this[i(494)][i(468)][i(407)][i(444)];if(n>=e[i(412)])return null;const l=s[i(539)](t),p=o[i(436)](l),f=s[i(571)](t),h=a[i(520)](f);return new c({type:i(461),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(477)](t,e,n){const i=r,s=this[i(494)][i(450)],a=this[i(494)][i(468)],u=a[i(547)],l=a[i(407)][i(444)],f=u[i(571)](t),h=u[i(518)](f),d=function(t){const e=i,n=t[e(481)],o=n[e(457)][e(581)][e(450)],s=n[e(486)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(515)))return r;if(!o[e(513)](n)[e(516)](t))return r;r=n}}(s[i(513)](h))||h;let g=u[i(404)](d),m=s[i(440)](d);const b=s[i(513)](d)[i(489)];if(b&&b.is(i(475),i(528))){const t=u[i(404)](b),e=l[i(520)](t),n=o.global[i(435)][i(526)](e)[i(553)];i(492)!=n&&i(491)!=n||(m=s[i(440)](b))}for(;g[i(481)]!==g[i(457)]&&0===g[i(391)];)g=g[i(481)];const w=new o.Rect(v(e)?e:p(e)),k=n?w[i(476)]-n:0,y=l[i(520)](g),I=new o.Rect(y);return new c({type:i(475),modelRange:m,domNode:y,offset:Math[i(420)](k)?k+w[i(405)]-I[i(405)]:0})}get[r(472)](){const t=r,e=this[t(494)][t(579)][t(499)](t(456));return Object[t(437)]({top:t(557),bottom:t(557),left:t(557),right:t(557)},e)}static[r(508)](t,e,n,i,o){return g(t,e,n,i,o)}}class c{[r(529)];[r(428)];[r(418)];[r(514)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(529)]=t,this[o(428)]=e,this[o(418)]=n,this[o(514)]=i}get[r(531)](){const t=r;if(!this[t(418)][t(447)][t(517)][t(538)](this[t(418)]))return 0;const e=new o.Rect(v(this[t(418)])?this[t(418)]:p(this[t(418)]));return t(485)==this[t(529)]?e[t(405)]+e[t(476)]/2:e[t(405)]+this[t(514)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=h,n=o.global[e(581)][e(436)]();return n[e(567)](t),n}(n);let c;c=0==e?d(a[i(406)],a[i(399)],t[i(522)],Array[i(438)](t[i(522)][i(393)])[i(397)](t)):d(a[i(406)],a[i(399)],t,e);const u=d(t,e,a[i(565)],a[i(443)]),l=new o.Rect(c)[i(534)];return(new o.Rect(u)[i(405)]+l)/2-new o.Rect(s)[i(405)]}function l(t){const e=r;return t[e(543)](e(473))&&t[e(543)](e(476))?Promise[e(500)]():new Promise((n=>{const i=e;function o(){const e=h;t[e(482)](e(390),o),t[e(482)](e(439),o),n()}t[i(410)]?n():(t[i(578)](i(390),o),t[i(578)](i(439),o))}))}function p(t){const e=r,n=o.global[e(581)][e(436)]();return n[e(471)](t),n}function f(t,e,n){const i=r,s=o.global[i(581)][i(436)]();return s[i(484)](t,e),s[i(498)](t,n),s}function h(t,e){const n=I();return(h=function(t,e){return n[t-=390]})(t,e)}function d(t,e,n,i){const s=r,a=o.global[s(581)][s(436)]();return a[s(484)](t,e),a[s(498)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(393)][s(490)]()){let t=[];v(c)&&c[s(544)]&&!c[s(449)][s(506)]?t=m(c,r,e,n,i,o):y(c)&&(t=b(c,r,e,n,o)),t[s(412)]&&(a[s(524)](...t),e+=t[s(412)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(525)])&&v(l)&&Boolean(l[c(487)][c(538)](c(510))||l[c(474)](c(552)))&&(u[c(524)]({type:c(485),offset:0,path:[e-1]}),a=!0),c(503)==o.global[c(435)][c(526)](t)[c(402)]){let i=0,o=!1;for(const e of t[c(480)]())i+=e[c(476)],e[c(492)]>=n&&(o=!0);if(i<s&&o)return u[c(524)]({type:c(475),offset:0,path:[e]}),u}const p=t[c(474)](c(448));if(p&&function(t){const e=c;let n=!1;const i=t[e(536)][e(521)][e(445)],s=t[e(424)],r=t[e(501)],a=s&&o.global[e(435)][e(526)](s)[e(553)],u=s&&e(416)===s[e(396)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(394)!==a&&(n=!0),!n}(p)){const t=o.global[c(435)][c(526)](p)[c(553)];if(c(492)==t||c(491)==t)return u}const f=g(t,n,i,s,a);if(f[c(412)]){for(const t of f)u[c(524)]({type:t[c(529)],offset:t[c(531)],textOffset:t[c(542)],path:[e,...t[c(446)]]}),n+=i,a=!1;return u}return u[c(524)](...function(t,e,n,i,s){const r=c,a=[];if(r(568)==o.global[r(435)][r(526)](t)[r(402)])return[];const u=[];for(const e of t[r(480)]())if(e[r(492)]>=n){for(const t of u)t[r(476)]+=e[r(476)];u[r(524)]({height:e[r(476)]}),n+=i}for(const t of u)s||a[r(524)]({type:r(475),offset:t[r(476)],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(480)]())if(r[s(492)]>=n){const r=w(t,u,n,i);o||c[s(524)]({type:s(461),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function w(t,e,n,i){const o=r;let s=e,a=t[o(412)];for(;a-s>1;){const e=Math[o(546)]((s+a)/2);k(f(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(480)]())if(o[i(492)]>=e&&o[i(492)]<e+n)return!0;return!1}function v(t){const e=r;return t[e(495)]==Node[e(419)]}function y(t){const e=r;return t[e(495)]==Node[e(576)]}function I(){const t=["load","index","init","childNodes","none","compareDocumentPosition","className","indexOf","sort","startOffset","pagination-config-not-found","border-box","display","destroy","toViewElement","top","startContainer","view","img","ck-reset","complete","domRoots","length","DOCUMENT_POSITION_PRECEDING","change:isEnabled","15220acgEJr","ck-fake-selection-container","querySelectorAll","_domNode","ELEMENT_NODE","round","_onUiReady","auto","_mapTextPageStarterInfoToPageBreakInfo","nextElementSibling","values","append","map","modelRange","ck-pagination-view","cancel","isPremiumPlugin","bindTemplate","scrollLeft","paddingRight","window","createRange","assign","from","error","createRangeOn"," - ","remove","endOffset","domConverter","rootName","path","ownerDocument","figure.image","style","model","_getAttachedDomRoot","4077942nrjshN","set","div","plugins","pagination.pageMargins","root","51692jbzPil","PaginationEditing","fromCharCode","text","update","100px","_recalculatePageBreaksDebounced","clear","ready","then","editing","low","excludeScrollbarsAndBorders","selectNode","_configuredPaddings","width","closest","element","height","_mapElementPageStarterInfoToPageBreakInfo","removeAttribute","16191HbtROj","getClientRects","parent","removeEventListener","3966608cqQpDU","setStart","manual","getAncestors","classList","pluginName","nodeBefore","entries","right","left","hidden","editor","nodeType","join","absolute","setEnd","get","resolve","previousElementSibling","pagination","table-row","65121qxZSBQ","setTemplate","position","listenTo","_findPageStarterInfos","insertBefore","page-break","floor","_mapPageStarterInfoToPageBreakInfo","createPositionBefore","_offset","rootElement","isTouching","body","toModelElement","firstChild","mapViewToDom","dataset","parentNode","domPositionToView","push","previousSibling","getComputedStyle","getDomRoot","imageBlock","type","2907282fVyosB","offset","shift","pageBreaks","bottom","4990965wlObqw","parentElement","bind","contains","toModelPosition","render","race","textOffset","hasAttribute","offsetParent","attributeStyleMap","ceil","mapper","2BNOJPc","locale","href","_updatePageBreaksData",".page-break","float","paddingLeft","-99999px","300BkyOzC","10mm","every","calc( ","_pagesContainer","isOfficialPlugin","class","once","_mapManualPageStarterInfoToPageBreakInfo","endContainer","nextSibling","selectNodeContents","table-cell","_recalculatePageBreaks","PaginationLookup","findMappedViewAncestor","cloneNode"," 0 ","afterInit","childElementCount","TEXT_NODE","isEnabled","addEventListener","config","all","document"];return(I=function(){return t})()}var P=n(673),x=n.n(P),N=n(545),_=n.n(N),T=n(262),A=n.n(T),E=n(667),S=n.n(E),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 D(){const t=["4394232rCcGNN","357132TMvfNX","div","top","1308312QzXqsj","isVisible","175815KngaeM","set","ck-hidden","9190992hKDqnW","width","setTemplate","63TFsGCc","bindTemplate","108PDEtdg","777870QnHiEv","ck-pagination-view-line","708472kmnvoM","pageNumber","left"];return(D=function(){return t})()}!function(t){const e=M,n=t();for(;;)try{if(837459===-parseInt(e(263))/1+parseInt(e(276))/2+-parseInt(e(274))/3+parseInt(e(273))/4*(parseInt(e(265))/5)+-parseInt(e(260))/6*(parseInt(e(271))/7)+parseInt(e(268))/8+parseInt(e(259))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const B=(0,o.toUnit)("px");function M(t,e){const n=D();return(M=function(t,e){return n[t-=258]})(t,e)}class G extends e.View{constructor(){const t=M;super();const e=this[t(272)];this[t(266)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(270)]({tag:t(261),attributes:{"data-page-number":e.to(t(277)),class:["ck",t(275),e.if(t(264),t(267),(t=>!t))],style:{left:e.to(t(258),(t=>B(t))),top:e.to(t(262),(t=>B(t))),width:e.to(t(269),(t=>B(t)))}}})}}function V(t,e){const n=K();return(V=function(t,e){return n[t-=296]})(t,e)}const j=V;function K(){const t=["view","610758wxKljD","241018Vsjweq","setViewCollection","set","has","body","delete","456480WhSlrC","size","add","6319MVpAFF","cleanLines","clear","values","isVisible","_hiddenLines","991575yFzePp","1240CLOrwN","_viewCollection","showLine","_visibleLines","3VHCfjT","remove","310604kuxWqB","destroy","12649MSAwhV"];return(K=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(143868===parseInt(e(322))/1+-parseInt(e(313))/2+-parseInt(e(306))/3*(-parseInt(e(308))/4)+-parseInt(e(319))/5+parseInt(e(312))/6+parseInt(e(310))/7*(parseInt(e(302))/8)+-parseInt(e(301))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class U{[j(303)];[j(305)]=new Set;[j(300)]=new Set;constructor(t){const e=j;this[e(303)]=t.ui[e(311)][e(317)]}[j(309)](){const t=j;for(const e of this[t(300)])e[t(309)]()}[j(296)](){const t=j;for(const e of this[t(305)])e[t(299)]=!1,this[t(300)][t(321)](e);this[t(305)][t(297)]()}[j(304)](t,e,n,i){const s=j;let r;this[s(300)][s(320)]?(r=(0,o.first)(this[s(300)][s(298)]()),this[s(300)][s(318)](r)):r=new G,r[s(315)]({pageNumber:i,left:t,top:e,width:n}),r[s(299)]=!0,this[s(303)][s(316)](r)||this[s(303)][s(321)](r),this[s(305)][s(321)](r)}[j(314)](t){const e=j;for(const t of[...this[e(305)],...this[e(300)]])this[e(303)][e(316)](t)&&this[e(303)][e(307)](t);this[e(303)]=t}}const F=z;function z(t,e){const n=X();return(z=function(t,e){return n[t-=370]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(113210===-parseInt(e(446))/1+-parseInt(e(438))/2+-parseInt(e(440))/3*(parseInt(e(384))/4)+parseInt(e(442))/5*(-parseInt(e(413))/6)+-parseInt(e(441))/7+-parseInt(e(421))/8*(parseInt(e(445))/9)+parseInt(e(437))/10*(parseInt(e(428))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);const q=F(372);class Q extends t.Plugin{[F(439)];[F(434)]=null;[F(396)]=null;[F(432)];static get[F(389)](){return F(405)}static get[F(426)](){return!0}static get[F(385)](){return!0}[F(415)](){const t=F;this[t(398)]({pageNumber:1}),this[t(439)]=new U(this[t(392)]),this[t(434)]=null,this[t(396)]=null,this[t(432)]=this[t(392)][t(425)][t(401)](t(418)),this[t(412)](t(381)).to(this[t(392)][t(425)][t(401)](t(397))),this[t(392)].ui[t(411)](t(383),(()=>this[t(371)]())),this[t(406)](q),this.on(t(386),((e,n,i)=>{const o=t;i||this[o(439)][o(454)](),this[o(406)](q,i)}))}[F(380)](){const t=F;this[t(406)](q,!1),this[t(439)][t(380)](),this[t(434)]=null,this[t(396)]&&this[t(396)][t(380)]()}[F(431)](t){const e=F;if(!this[e(381)])return;const n=t>1?this[e(417)](t-1):0;this[e(434)][e(382)]({top:n-10,left:this[e(434)][e(404)],behavior:o.env[e(410)]?e(423):e(449)})}[F(394)](){const t=F,e=this[t(392)],n=this[t(419)]();n?(this[t(434)]&&e.ui[t(427)][t(436)](this[t(434)],t(400)),this[t(434)]=function(e){const n=t;let i=e;do{i=i[n(448)];const t=o.global[n(433)][n(444)](i)[n(429)];if(n(430)==t||n(400)==t)break}while(n(453)!=i[n(402)]);return i}(n),e.ui[t(427)][t(422)](this[t(434)],t(400),(()=>{this[t(403)]()}),{usePassive:!0}),this[t(396)]&&this[t(396)][t(380)](),this[t(396)]=new o.ResizeObserver(this[t(434)],(()=>{this[t(403)]()}))):e.ui[t(411)](t(395),(()=>this[t(394)]()))}[F(371)](){const t=F,e=this[t(392)];this[t(419)]()?(this[t(394)](),e.ui[t(427)][t(422)](o.global[t(433)],t(409),(()=>this[t(403)]())),this[t(422)](this[t(432)],t(379),(()=>this[t(403)]()))):e.ui[t(411)](t(395),(()=>this[t(371)]()))}[F(419)](){const t=F;for(const e of this[t(392)][t(399)][t(427)][t(387)][t(373)]())if(e[t(424)][t(414)][t(451)](e))return e;return null}[F(403)](){const t=F;if(!this[t(381)])return;const e=this[t(419)](),n=this[t(432)][t(370)];if(this[t(439)][t(454)](),!e||1==n[t(393)])return void(this[t(377)]=1);const i=new o.Rect(e)[t(407)](),s=new o.Rect(this[t(434)])[t(407)](),r=s[t(443)]+s[t(435)]/3;let a=!1;const c=[];for(let e=1;e<n[t(393)];e++){const n=this[t(417)](e,s);if(!n)continue;const o=s[t(443)]+n-this[t(434)][t(390)];c[t(388)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(377)]=e,a=!0)}this[t(408)](c),a||(this[t(377)]=n[t(393)])}[F(408)](t){const e=F,{scrollX:n,scrollY:i}=o.global[e(433)];if(t[e(393)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(443)]<s&&s<o[e(452)]&&this[e(439)][e(420)](r[e(391)]+n,s+i,r[e(416)],a+1)}[F(417)](t,e=null){const n=F,i=this[n(432)][n(370)][t][n(450)];return i?(e||(e=new o.Rect(this[n(434)])[n(407)]()),i-e[n(443)]+this[n(434)][n(390)]):0}[F(406)](t,e=!0){const n=F,i=this[n(392)][n(399)][n(427)];i[n(378)]((o=>{const s=n;for(const n of i[s(375)][s(447)])e?o[s(374)](t,n):o[s(376)](t,n)}))}}function X(){const t=["view","242lNPQAw","overflowY","auto","scrollToPage","_paginationLookupPlugin","window","_scrollableEditingRootDomAncestor","height","stopListening","417670JKopXe","417010RmMBzA","linesRepository","195kkAUbs","1351399vyGije","175PRxzxD","top","getComputedStyle","415089FLhrwT","191146rNKxXV","roots","parentElement","smooth","offset","contains","bottom","BODY","cleanLines","pageBreaks","_onUiReady","ck-pagination_enabled","values","addClass","document","removeClass","pageNumber","change","change:pageBreaks","destroy","isEnabled","scrollTo","ready","9892ySivLb","isPremiumPlugin","change:isEnabled","domRoots","push","pluginName","scrollTop","left","editor","length","setupScrollableAncestor","update","_resizeObserver","PaginationEditing","set","editing","scroll","get","tagName","_updatePageBreakLines","scrollLeft","PaginationRenderer","_toggleEditingRootsClass","excludeScrollbarsAndBorders","_renderPageBreakLines","resize","isMotionReduced","once","bind","1044UImAsZ","body","init","width","_getPageBreakLineOffset","PaginationLookup","_getAttachedDomRoot","showLine","8PMaHID","listenTo","instant","ownerDocument","plugins","isOfficialPlugin"];return(X=function(){return t})()}function H(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 J=n(761),W={attributes:{"data-cke":!0}};W.setAttributes=S(),W.insert=A().bind(null,"head"),W.domAPI=_(),W.insertStyleElement=C();x()(J.A,W);J.A&&J.A.locals&&J.A.locals;function Y(){const t=["licenseKey","usageLimit","61935rjeAYc","bind","substring","goToPreviousPage","for","toViewPosition","71286JtShTr","407372LGeccQ","PaginationEditing","set","Shift+Pageup","textNode","parent","paginationLicenseKeyInvalid","createPositionAt","Go to the next page (also move selection)","accessibility","hasClass","markers","checkChild","consumable","keystrokes","has","root","paginationLicenseKeyExpired","view","locale","consume","_showLicenseError","modelRange","_licenseKeyCheckInterval","setStyle","Keystrokes for navigating through documents","_updatePageBreakMarkers","forward","init","name","getContainedElement","setSelection","mapper","paginationLicenseKeyTrialLimit","addKeystrokeInfoGroup","_validatePageNumber","requires","stop","options","_setUpDataDowncastConversion","updateMarker","focus","paginationLicenseKeyNotAllowed","trialLimit","page-break-before","moveSelectionToPage","pageBreaks","length","config","2075flSnzU","2670UXQfqq","Shift+Pagedown","40wHLUVA","element","get","totalPages","54614JBdVQh","isOfficialPlugin","change","type","offset","$text","4NOzlzk","30510XDvrXB","conversion","span","paginationLicenseKeyValid","Go to the previous page (also move selection)","2354uXUVxC","always","writer","add","paginationLicenseKeyEvaluationLimit","editing","paginationLicenseKeyDomainLimit","534159JQnopb","domainLimit","dataDowncast","getFillerOffset","paginationLicenseKeyUsageLimit","isEnabled","listenTo","expired","invalid","addMarker","toViewElement","data","scrollToPage","bindElementToMarker","destroy","end","goToNextPage","editor","page-break","schema","pagination","featureNotAllowed","change:pageBreaks","pagination:","index","removeMarker","Pagination","_setupKeystrokes","text","insert","pageNumber","start","setAttribute","addMarker:","getNearestSelectionRange","evaluationLimit","pluginName","model","plugins","data-pagination-page","nodeAfter","createContainerElement","manual","isPremiumPlugin"];return(Y=function(){return t})()}const Z=$;function $(t,e){const n=Y();return($=function(t,e){return n[t-=270]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(151732===-parseInt(e(368))/1+-parseInt(e(297))/2+-parseInt(e(362))/3*(-parseInt(e(303))/4)+parseInt(e(290))/5*(-parseInt(e(291))/6)+parseInt(e(369))/7+-parseInt(e(293))/8*(parseInt(e(316))/9)+-parseInt(e(304))/10*(-parseInt(e(309))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class tt extends t.Plugin{[Z(360)];[Z(392)];static get[Z(352)](){return Z(370)}static get[Z(298)](){return!0}static get[Z(359)](){return!0}static get[Z(277)](){return[a,Q]}[Z(397)](){const t=Z;this[t(371)]({pageNumber:1,totalPages:1});const e=this[t(333)][t(354)][t(295)](t(342)),n=this[t(333)][t(354)][t(295)](a),i=this[t(333)][t(354)][t(295)](Q);this[t(363)](t(321)).to(e),this[t(280)](),this[t(363)](t(346)).to(i),this[t(322)](n,t(338),((e,n,i,o)=>{const s=t;this[s(296)]=i[s(288)],this[s(395)](i,o)})),this[t(343)](),this[t(360)]=this[t(333)][t(289)][t(295)](t(360));const o=this[t(333)];this[t(392)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(307)==s||e(375)==s||e(386)==s||e(315)==s||e(283)==s||e(313)==s||e(274)==s||e(320)==s){delete o[i],n=s,clearInterval(this[e(392)]),this[e(392)]=void 0;break}}e(375)==n&&o[e(390)](e(324)),e(386)==n&&o[e(390)](e(323)),e(315)==n&&o[e(390)](e(317)),e(283)==n&&o[e(390)](e(337),e(342)),e(313)==n&&o[e(390)](e(351)),e(274)==n&&o[e(390)](e(284)),e(320)==n&&o[e(390)](e(361))}),1e3)}[Z(330)](){const t=Z;super[t(330)](),this[t(392)]&&clearInterval(this[t(392)])}[Z(328)](t){const e=Z;this[e(321)]&&this[e(333)][e(354)][e(295)](Q)[e(328)](this[e(276)](t))}[Z(286)](t){const e=Z;if(!this[e(321)])return;const n=this[e(333)],i=this[e(333)][e(354)][e(295)](a)[e(287)][t-1];i&&n[e(353)][e(299)]((t=>{const o=e;switch(i[o(300)]){case o(358):{const e=n[o(353)][o(335)][o(350)](i[o(391)][o(331)],o(396));t[o(272)](e);break}case o(294):{const e=n[o(353)][o(335)][o(350)](i[o(391)][o(347)],o(396));t[o(272)](e);break}case o(344):{const e=i[o(391)][o(347)];if(e[o(373)]&&" "===e[o(373)][o(327)][e[o(301)]]){const n=t[o(376)](e[o(374)],e[o(301)]+1);t[o(272)](n)}else t[o(272)](i[o(391)])}}n[o(314)][o(387)][o(282)]()}))}[Z(332)](){const t=Z,e=this[t(276)](this[t(346)]+1);this[t(286)](e),this[t(328)](e)}[Z(365)](){const t=Z,e=this[t(276)](this[t(346)]-1);this[t(286)](e),this[t(328)](e)}[Z(395)](t,e){const n=Z,i=this[n(333)][n(353)];this[n(321)]&&i[n(299)]((o=>{const s=n;for(let e=1;e<t[s(288)];e++){const n=t[e][s(391)],r=s(339)+(e+1);i[s(380)][s(384)](r)?o[s(281)](r,{range:n}):o[s(325)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(288)];n<e[s(288)];n++){const t=s(339)+(n+1);i[s(380)][s(384)](t)&&o[s(341)](t)}}))}[Z(280)](){const t=Z,e=t(336);this[t(333)][t(305)][t(366)](t(318))[t(312)]((n=>{const i=t;n.on(i(349)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(279)][s(336)])return;if(!o[s(382)][s(389)](e,t[s(270)]))return;const r=e[s(271)]();let a=r?o[s(273)][s(326)](r):null;if(!a){const t=e[s(347)];if(o[s(335)][s(381)](t,s(302))){const e=o[s(273)][s(367)](t);a=o[s(311)][s(357)](s(306)),a[s(319)]=()=>null,o[s(311)][s(345)](e,a)}else{const e=t[s(356)];a=o[s(273)][s(326)](e)}}for(;a[s(374)]!==a[s(385)]&&0===a[s(340)];)a=a[s(374)];const c=n[s(364)](11);a[s(379)](s(334))||(o[s(311)][s(393)](s(285),s(310),a),o[s(311)][s(348)](s(355),c,a),o[s(273)][s(329)](a,n)),t[s(278)]()}))}))}[Z(343)](){const t=Z,e=this[t(333)];e[t(383)][t(371)](t(372),((e,n)=>{this[t(365)](),n()})),e[t(383)][t(371)](t(292),((e,n)=>{this[t(332)](),n()})),e[t(378)][t(275)]({id:t(336),label:H(e[t(388)],t(394)),keystrokes:[{label:H(e[t(388)],t(308)),keystroke:t(372),mayRequireFn:!0},{label:H(e[t(388)],t(377)),keystroke:t(292),mayRequireFn:!0}]})}[Z(276)](t){const e=Z;return t<1&&(t=1),t>this[e(296)]&&(t=this[e(296)]),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-=194]})(t,e)}function rt(){const t=["isReadOnly","ck-disabled","stopPropagation","keyCode","7150vsueAh","isNaN","listenTo","bindTemplate","fire","select","firstChild","20ukFIDD","navigation","Current page number (from 1 to %0)","setTemplate","pageNumberView","2241jYuFEX","pageNumber","change:pageNumber","checkValidity","ArrowUp","key","2202NbuYHA","ariaLabel","numeric","16490412TEQRHr","3101378OVQAUx","value","ck-page-navigator","bind","element","enter","totalPages","span","2163931FskDof","16EsnJke","14792DEuWtU","keydown","isEnabled","ArrowDown","460392HnEGjs","blur","focus","valueAsNumber","set","div","4egoAOg","preventDefault","5374eTkLPd","max","render"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(337034===-parseInt(e(222))/1*(-parseInt(e(235))/2)+-parseInt(e(227))/3*(parseInt(e(233))/4)+parseInt(e(242))/5*(parseInt(e(209))/6)+parseInt(e(213))/7+-parseInt(e(223))/8*(-parseInt(e(203))/9)+parseInt(e(198))/10*(parseInt(e(221))/11)+-parseInt(e(212))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(202)];constructor(t){const n=ot;super(t);const i=this[n(194)];this[n(231)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(202)]=new e.InputNumberView(t,{min:1,step:1}),this[n(202)][n(231)]({inputMode:n(211),tabIndex:-1}),this[n(202)][n(216)](n(210)).to(this,n(219),(e=>H(t,n(200),e))),this[n(202)][n(216)](n(236)).to(this,n(219)),this[n(202)][n(216)](n(238)).to(this,n(225),(t=>!t)),this[n(201)]({tag:n(232),attributes:{class:["ck",n(215),i.if(n(225),n(239),(t=>!t))]},children:[this[n(202)],{tag:n(220),children:[{text:i.to(n(219))}]}]})}[ot(237)](){const t=ot;super[t(237)]();const e=this[t(202)][t(217)],n=e=>{const n=t;this[n(202)][n(217)][n(214)]=String(e)};n(this[t(204)]),this.on(t(205),((t,e,i)=>{n(i)})),this[t(244)](e,t(224),((n,i)=>{const s=t;if(s(207)===i[s(208)]||s(226)===i[s(208)])return void i[s(240)]();if(i[s(241)]!==o.keyCodes[s(218)])return;i[s(234)]();const r=e[s(230)];Number[s(243)](r)?e[s(214)]=String(this[s(204)]):(e[s(206)]()?this[s(204)]=r:r>this[s(219)]?(this[s(204)]=this[s(219)],e[s(214)]=String(this[s(219)])):(this[s(204)]=1,e[s(214)]="1"),this[s(195)](s(199),this[s(204)]))})),this[t(244)](e,t(228),(()=>{const n=t;e[n(214)]=String(this[n(204)])})),this[t(244)](e,t(229),(()=>{const e=t;this[e(202)][e(196)]()}))}[ot(229)](){const t=ot;this[t(217)][t(197)][t(229)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=173]})(t,e)}function lt(){const t=["nextPage","goToPreviousPage","isEnabled","navigation","componentFactory","9529751PrxFPY","keystroke","listenTo","editor","pageNavigation","isOfficialPlugin","10KOpOkH","6909318AaLVnT","5765NscPky","totalPages","moveSelectionToPage","locale","Go to next page","icon","plugins","568QKeNTY","210198aWKunS","add","previousPage","PaginationUI","3268OIpktn","pageNumber","scrollToPage","9800439JRzqTN","Go to previous page","isPremiumPlugin","PaginationEditing","2910cuihjh","Shift+PageUp","tooltip","goToNextPage","8ZbmxFg","bind","Shift+PageDown","get","1673178jHJAdV","execute","pluginName","label","init"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(728910===-parseInt(e(215))/1*(parseInt(e(182))/2)+-parseInt(e(190))/3+parseInt(e(175))/4*(-parseInt(e(208))/5)+parseInt(e(216))/6+-parseInt(e(200))/7*(-parseInt(e(186))/8)+parseInt(e(207))/9+-parseInt(e(206))/10*(-parseInt(e(178))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(192)](){return ct(174)}static get[ct(205)](){return!0}static get[ct(180)](){return!0}[ct(194)](){const t=ct,n=this[t(203)],i=n[t(214)][t(189)](t(181));n.ui[t(199)][t(217)](t(204),(e=>{const n=t,o=new at(e);return o[n(187)](n(176)).to(i),o[n(187)](n(209)).to(i),o[n(187)](n(197)).to(i),o.on(n(198),((t,e)=>{const o=n;i[o(210)](e),i[o(177)](e)})),o})),n.ui[t(199)][t(217)](t(195),(o=>{const s=t,r=new e.ButtonView(o);return r[s(197)]=!0,r[s(193)]=H(n[s(211)],s(212)),r[s(213)]=et.IconArrowDown,r[s(184)]=!0,r[s(201)]=s(188),r[s(187)](s(197)).to(i),this[s(202)](r,s(191),(()=>{i[s(185)]()})),r})),n.ui[t(199)][t(217)](t(173),(o=>{const s=t,r=new e.ButtonView(o);return r[s(197)]=!0,r[s(193)]=H(n[s(211)],s(179)),r[s(213)]=et.IconArrowUp,r[s(184)]=!0,r[s(201)]=s(183),r[s(187)](s(197)).to(i),this[s(202)](r,s(191),(()=>{i[s(196)]()})),r}))}}function ft(t,e){const n=dt();return(ft=function(t,e){return n[t-=327]})(t,e)}const ht=ft;function dt(){const t=["isEnabled","editor","1179GMTSpt","isBlink","isPremiumPlugin","init","isOfficialPlugin","301824RDehcd","3OwOQLV","bind","752kFNNzP","pluginName","pagination.enableOnUnsupportedBrowsers","set","requires","scrollToPage","1432145fGfegl","Pagination","config","1044736IhnUbN","91NuGkLC","814868wknaqo","60UGUReP","ready","browserCheck","plugins","totalPages","forceDisabled","get","10518JsysQB","pageNumber","237041XGjXbr"];return(dt=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(200942===parseInt(e(336))/1+-parseInt(e(344))/2+-parseInt(e(345))/3*(parseInt(e(358))/4)+-parseInt(e(353))/5+parseInt(e(334))/6*(parseInt(e(357))/7)+-parseInt(e(347))/8*(-parseInt(e(339))/9)+-parseInt(e(327))/10*(-parseInt(e(356))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ht(348)](){return ht(354)}static get[ht(343)](){return!0}static get[ht(341)](){return!0}static get[ht(351)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(337)]=!1}[ht(342)](){const t=ht;this[t(350)]({pageNumber:1,totalPages:1});const e=this[t(338)][t(330)][t(333)](tt);this[t(346)](t(335)).to(e),this[t(346)](t(331)).to(e),o.env[t(340)]||this[t(338)][t(355)][t(333)](t(349))?this[t(338)].on(t(328),(()=>{this[t(337)]=!0})):this[t(332)](t(329))}[ht(352)](t){const e=ht;this[e(338)][e(330)][e(333)](tt)[e(352)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=169]})(t,e)}function bt(){var t=["40iRRJNT","51810wNCXDL","159076wswmFn","1859367GTLoIQ","2590362wEykpl","50113VjwnMf","40epdgRy","127744buoQNn","1363576wokPGM","2WbyaWl"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(552034===-parseInt(e(176))/1+-parseInt(e(178))/2*(parseInt(e(172))/3)+parseInt(e(171))/4+parseInt(e(175))/5*(-parseInt(e(170))/6)+parseInt(e(174))/7+parseInt(e(177))/8+parseInt(e(173))/9*(parseInt(e(169))/10))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 _0x4b57e5}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x1b02f0,InputNumberView as _0x3ba670,ButtonView as _0x109826}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x36679c,Rect as _0x12d7c1,global as _0x224496,uid as _0x5368c9,toUnit as _0x32009f,first as _0x50c8b8,env as _0x55c8c4,ResizeObserver as _0x1b9610,keyCodes as _0x572f24}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x3f8665}from'es-toolkit/compat';import{IconArrowDown as _0x5931c1,IconArrowUp as _0x7561ba}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x4b57e5{['_recalculatePageBreaksDebounced']=_0x3f8665(()=>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 _0x36679c('pagination-config-not-found',this['editor']['config']);const _0x3a793c=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x3a793c),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x5ec4fd,_0x3f5323,_0x19280d)=>{_0x19280d&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x40d042){const _0x5653c6=_0x534206([0x6f,0x6e,0x6a,0x4d,0x36,0x41,0x4e,0x58,0x52,0x38,0x55,0x69,0x4c,0x6b,0x78,0x66,0x37,0x79,0x53,0x5a,0x54,0x67,0x43,0x68,0x46,0x76,0x59,0x65,0x71,0x6c,0x77,0x47,0x51,0x7a,0x72,0x61,0x4b,0x45,0x48,0x4f,0x75,0x39,0x74,0x49,0x44,0x31,0x35,0x6d,0x62,0x73,0x64,0x63,0x32,0x42,0x33,0x30,0x70,0x4a,0x50,0x34,0x56,0x57]),_0x5654d0=0x362d84a0,_0x136cee=0x362ae300^_0x5654d0,_0x339042=window[_0x534206([0x44,0x61,0x74,0x65])][_0x534206([0x6e,0x6f,0x77])](),_0x3981c7=_0x40d042[_0x534206([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e224f=new window[(_0x534206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x318967=>{_0x3981c7[_0x534206([0x6f,0x6e,0x63,0x65])](_0x534206([0x72,0x65,0x61,0x64,0x79]),_0x318967);}),_0x2392e1={[_0x534206([0x6b,0x74,0x79])]:_0x534206([0x45,0x43]),[_0x534206([0x75,0x73,0x65])]:_0x534206([0x73,0x69,0x67]),[_0x534206([0x63,0x72,0x76])]:_0x534206([0x50,0x2d,0x32,0x35,0x36]),[_0x534206([0x78])]:_0x534206([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]),[_0x534206([0x79])]:_0x534206([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]),[_0x534206([0x61,0x6c,0x67])]:_0x534206([0x45,0x53,0x32,0x35,0x36])},_0x10a5bf=_0x3981c7[_0x534206([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x534206([0x67,0x65,0x74])](_0x534206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7e0e05(){let _0x27b416,_0x2686c2=null,_0x352d9a=null;try{if(_0x10a5bf==_0x534206([0x47,0x50,0x4c]))return _0x534206([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27b416=_0x1cb7e7(),!_0x27b416)return _0x534206([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27b416[_0x534206([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x352d9a=_0x4154ff(_0x27b416[_0x534206([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27b416[_0x534206([0x6a,0x74,0x69])])),await _0x5ba12c()?_0x3f955f()?_0x5bfd0f()?_0x534206([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x570ff2()?(_0x27b416[_0x534206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x534206([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2686c2=_0x24a5cc(_0x534206([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27b416[_0x534206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x534206([0x74,0x72,0x69,0x61,0x6c])&&(_0x2686c2=_0x24a5cc(_0x534206([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34fa1a()):_0x534206([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x534206([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x534206([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2dfd3b){return _0x534206([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5bfd0f(){const _0x41da90=[_0x534206([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x534206([0x74,0x72,0x69,0x61,0x6c])][_0x534206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27b416[_0x534206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x339042/0x3e8:0xe10*_0x136cee;return _0x27b416[_0x534206([0x65,0x78,0x70])]<_0x41da90;}function _0x3f955f(){const _0x509708=_0x27b416[_0x534206([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x509708&&(!!_0x509708[_0x534206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534206([0x2a]))||!!_0x509708[_0x534206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534206([0x50,0x41,0x47])));}function _0x570ff2(){const _0x13042b=_0x27b416[_0x534206([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13042b||0x0==_0x13042b[_0x534206([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18cc24}=new URL(window[_0x534206([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x13042b[_0x534206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18cc24))return!0x0;const _0x107d40=_0x18cc24[_0x534206([0x73,0x70,0x6c,0x69,0x74])](_0x534206([0x2e]));return _0x13042b[_0x534206([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a0aba=>_0x4a0aba[_0x534206([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534206([0x2a])))[_0x534206([0x6d,0x61,0x70])](_0x590807=>_0x590807[_0x534206([0x73,0x70,0x6c,0x69,0x74])](_0x534206([0x2e])))[_0x534206([0x73,0x6f,0x6d,0x65])](_0x119e91=>_0x107d40[_0x534206([0x65,0x76,0x65,0x72,0x79])]((_0x1fb054,_0x20a358)=>_0x119e91[_0x20a358]===_0x1fb054||_0x119e91[_0x20a358]===_0x534206([0x2a])));}function _0x34fa1a(){return _0x2686c2&&_0x352d9a?new window[(_0x534206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35c23c,_0x38a2f1)=>{_0x2686c2[_0x534206([0x74,0x68,0x65,0x6e])](_0x35c23c,_0x38a2f1),_0x352d9a[_0x534206([0x74,0x68,0x65,0x6e])](_0x1ecb96=>{_0x1ecb96!=_0x534206([0x56,0x61,0x6c,0x69,0x64])&&_0x35c23c(_0x1ecb96);},_0x38a2f1);}):_0x2686c2||_0x352d9a||_0x534206([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4154ff(_0x2f47b7,_0x4b04d2){return new window[(_0x534206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x576833=>{if(_0x2dfe23())return _0x576833(_0x534206([0x56,0x61,0x6c,0x69,0x64]));_0x50c377(),_0x3981c7[_0x534206([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x534206([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ee8e9=!0x1;const _0x18e1b1=_0x5368c9();function _0x598e4a(_0x6dc7b1){return!!_0x6dc7b1&&(typeof _0x6dc7b1===_0x534206([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6dc7b1===_0x534206([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6dc7b1[_0x534206([0x74,0x68,0x65,0x6e])]===_0x534206([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6dc7b1[_0x534206([0x63,0x61,0x74,0x63,0x68])]===_0x534206([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17c8cc(_0x3c2992){_0x7712b5(_0x3c2992)[_0x534206([0x74,0x68,0x65,0x6e])](_0x1420bc=>{if(!_0x1420bc||_0x1420bc[_0x534206([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x534206([0x6f,0x6b]))return _0x534206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x377035(_0x2331ba(_0x18e1b1+_0x4b04d2))!=_0x1420bc[_0x534206([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x534206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x534206([0x56,0x61,0x6c,0x69,0x64]);})[_0x534206([0x74,0x68,0x65,0x6e])](_0x5524b2=>(_0x3426a0(),_0x5524b2),()=>{const _0x3f98af=_0x51c424();return null==_0x3f98af?(_0x3426a0(),_0x534206([0x56,0x61,0x6c,0x69,0x64])):_0x534206(_0x339042-_0x3f98af>(0x122100a0^_0x5654d0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x534206([0x74,0x68,0x65,0x6e])](_0x576833)[_0x534206([0x63,0x61,0x74,0x63,0x68])](()=>{_0x576833(_0x534206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x27b65b=0x361b6a20^_0x5654d0;function _0x3426a0(){const _0x20db04=_0x534206([0x6c,0x6c,0x63,0x74,0x2d])+_0x377035(_0x2331ba(_0x2f47b7)),_0x41fd5d=_0x7b6949(_0x377035(window[_0x534206([0x4d,0x61,0x74,0x68])][_0x534206([0x63,0x65,0x69,0x6c])](_0x339042/_0x27b65b)));window[_0x534206([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x534206([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20db04,_0x41fd5d);}function _0x51c424(){const _0x388520=_0x534206([0x6c,0x6c,0x63,0x74,0x2d])+_0x377035(_0x2331ba(_0x2f47b7)),_0x190272=window[_0x534206([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x534206([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x388520);return _0x190272?window[_0x534206([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7b6949(_0x190272),0x10)*_0x27b65b:null;}function _0x7712b5(_0x1d36be){return new window[(_0x534206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34d325,_0x1160f0)=>{_0x1d36be[_0x534206([0x74,0x68,0x65,0x6e])](_0x34d325,_0x1160f0),window[_0x534206([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1160f0,0x362c5060^_0x5654d0);});}}_0x3981c7[_0x534206([0x6f,0x6e])](_0x534206([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3fa2d2,_0x5d6aff)=>{if(_0x5d6aff[0x0]!=_0x2f47b7)return _0x576833(_0x534206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d6aff[0x1]={..._0x5d6aff[0x1],[_0x534206([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18e1b1};},{[_0x534206([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x534206([0x68,0x69,0x67,0x68])}),_0x3981c7[_0x534206([0x6f,0x6e])](_0x534206([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d8918=>{_0x598e4a(_0x3d8918[_0x534206([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ee8e9=!0x0,_0x17c8cc(_0x3d8918[_0x534206([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x534206([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x534206([0x6c,0x6f,0x77])}),_0x1e224f[_0x534206([0x74,0x68,0x65,0x6e])](()=>{_0x2ee8e9||_0x576833(_0x534206([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2dfe23(){return _0x3981c7[_0x534206([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x534206([0x76,0x69,0x65,0x77])][_0x534206([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x534206([0x61,0x75,0x74,0x6f]);}function _0x50c377(){_0x3981c7[_0x534206([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x534206([0x76,0x69,0x65,0x77])][_0x534206([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x534206([0x61,0x75,0x74,0x6f]);}}function _0x24a5cc(_0x59b747){const _0x2818a1=[new window[(_0x534206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1adacf=>setTimeout(_0x1adacf,0x3624ba6c^_0x5654d0)),_0x1e224f[_0x534206([0x74,0x68,0x65,0x6e])](()=>new window[(_0x534206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x84cef4=>{let _0xb7b7cf=0x0;_0x3981c7[_0x534206([0x6d,0x6f,0x64,0x65,0x6c])][_0x534206([0x6f,0x6e])](_0x534206([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9ac629,_0x221072)=>{_0x221072[0x0][_0x534206([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb7b7cf++,_0xb7b7cf==(0x362d8558^_0x5654d0)&&(_0x84cef4(),_0x9ac629[_0x534206([0x6f,0x66,0x66])]());});}))];return window[_0x534206([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x534206([0x72,0x61,0x63,0x65])](_0x2818a1)[_0x534206([0x74,0x68,0x65,0x6e])](()=>_0x59b747);}async function _0x34f959(){await _0x1e224f,_0x3981c7[_0x534206([0x6d,0x6f,0x64,0x65,0x6c])][_0x534206([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c2495,_0x3981c7[_0x534206([0x6d,0x6f,0x64,0x65,0x6c])][_0x534206([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c2495,_0x3981c7[_0x534206([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x534206([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x70e81c(_0x30d9d3){const _0x515473=_0xf1db57();_0x3981c7[_0x515473]=_0x534206([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30d9d3,_0x30d9d3!=_0x534206([0x56,0x61,0x6c,0x69,0x64])&&_0x34f959();}function _0xf1db57(){const _0x3a1f06=window[_0x534206([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x534206([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x534206([0x6e,0x6f,0x77])]())[_0x534206([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x534206([0x2e]),'');let _0x5c3627=_0x534206([0x6f]);for(let _0x513001=0x0;_0x513001<_0x3a1f06[_0x534206([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x513001+=0x2){let _0x5d2d2b=window[_0x534206([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a1f06[_0x534206([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x513001,_0x513001+0x2));_0x5d2d2b>=_0x5653c6[_0x534206([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d2d2b-=_0x5653c6[_0x534206([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c3627+=_0x5653c6[_0x5d2d2b];}return _0x5c3627;}function _0x1cb7e7(){const _0x36f8eb=_0x10a5bf[_0x534206([0x73,0x70,0x6c,0x69,0x74])](_0x534206([0x2e]));if(0x3!=_0x36f8eb[_0x534206([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d48ca(_0x36f8eb[0x1]);function _0x4d48ca(_0x4bbeca){const _0x37c919=_0x40dfd3(_0x4bbeca);return _0x37c919&&_0x5476ca()?_0x37c919:null;function _0x5476ca(){const _0x51d3d0=_0x37c919[_0x534206([0x6a,0x74,0x69])],_0x3b4f53=window[_0x534206([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51d3d0[_0x534206([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51d3d0[_0x534206([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x207103={..._0x37c919,[_0x534206([0x6a,0x74,0x69])]:_0x51d3d0[_0x534206([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51d3d0[_0x534206([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x207103[_0x534206([0x76,0x63])],_0x2331ba(_0x207103)==_0x3b4f53;}}}async function _0x5ba12c(){let _0x3a5c5e=!0x0;try{const _0x970472=_0x10a5bf[_0x534206([0x73,0x70,0x6c,0x69,0x74])](_0x534206([0x2e])),[_0x294e9d,_0x259fe2,_0x5b47cd]=_0x970472;return _0x173905(_0x294e9d),await _0x411388(_0x294e9d,_0x259fe2,_0x5b47cd),_0x3a5c5e;}catch(_0x27a68d){return!0x1;}function _0x173905(_0x10adcb){const _0x5e4796=_0x40dfd3(_0x10adcb);_0x5e4796&&_0x5e4796[_0x534206([0x61,0x6c,0x67])]==_0x534206([0x45,0x53,0x32,0x35,0x36])||(_0x3a5c5e=!0x1);}async function _0x411388(_0x3677cf,_0x350246,_0x45d4ce){const _0x19c98c=window[_0x534206([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x534206([0x66,0x72,0x6f,0x6d])](_0x1b885d(_0x45d4ce),_0x20c958=>_0x20c958[_0x534206([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e9d49=new window[(_0x534206([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x534206([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3677cf+_0x534206([0x2e])+_0x350246),_0x32381d=window[_0x534206([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x534206([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32381d)return;const _0x3389ac=await _0x32381d[_0x534206([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x534206([0x6a,0x77,0x6b]),_0x2392e1,{[_0x534206([0x6e,0x61,0x6d,0x65])]:_0x534206([0x45,0x43,0x44,0x53,0x41]),[_0x534206([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x534206([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x534206([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32381d[_0x534206([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x534206([0x6e,0x61,0x6d,0x65])]:_0x534206([0x45,0x43,0x44,0x53,0x41]),[_0x534206([0x68,0x61,0x73,0x68])]:{[_0x534206([0x6e,0x61,0x6d,0x65])]:_0x534206([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3389ac,_0x19c98c,_0x3e9d49)||(_0x3a5c5e=!0x1);}}function _0x40dfd3(_0x44d699){return _0x44d699[_0x534206([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x534206([0x65,0x79]))?JSON[_0x534206([0x70,0x61,0x72,0x73,0x65])](_0x1b885d(_0x44d699)):null;}function _0x1b885d(_0x5c4808){return window[_0x534206([0x61,0x74,0x6f,0x62])](_0x5c4808[_0x534206([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x534206([0x2b]))[_0x534206([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x534206([0x2f])));}function _0x2331ba(_0x3d0f4a){let _0x72a3b=0x1505;function _0x209b6d(_0x20a8bc){for(let _0xda2c17=0x0;_0xda2c17<_0x20a8bc[_0x534206([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xda2c17++){const _0x57489c=_0x20a8bc[_0x534206([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xda2c17);_0x72a3b=(_0x72a3b<<0x5)+_0x72a3b+_0x57489c,_0x72a3b&=_0x72a3b;}}function _0x425f02(_0x41e11b){Array[_0x534206([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41e11b)?_0x41e11b[_0x534206([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x425f02):_0x41e11b&&typeof _0x41e11b==_0x534206([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x534206([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41e11b)[_0x534206([0x73,0x6f,0x72,0x74])]()[_0x534206([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x55ea2b,_0x882b1e])=>{_0x209b6d(_0x55ea2b),_0x425f02(_0x882b1e);}):_0x209b6d(window[_0x534206([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41e11b));}return _0x425f02(_0x3d0f4a),_0x72a3b>>>0x0;}function _0x377035(_0x39649a){return _0x39649a[_0x534206([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x534206([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x534206([0x30]));}function _0x7b6949(_0x3348ce){return _0x3348ce[_0x534206([0x73,0x70,0x6c,0x69,0x74])]('')[_0x534206([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x534206([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c2495(){}function _0x534206(_0x4f22f3){return _0x4f22f3['map'](_0x33c5ef=>String['fromCharCode'](_0x33c5ef))['join']('');}_0x70e81c(await _0x7e0e05());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x28b000=this['editor'],_0x591f67=_0x28b000['editing']['view'],_0x364583=this['_getAttachedDomRoot']();if(!_0x364583||0x0===_0x364583['childElementCount'])return void _0x28b000['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x186abd,pageHeight:_0x359d2f}=_0x28b000['config']['get']('pagination'),{top:_0x17857d,left:_0x4d27ae,bottom:_0x489613,right:_0xce6ae8}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1b02f0(_0x28b000['locale']);const _0x5055ea=this['_pagesContainer'];_0x5055ea['set']('class',''),_0x5055ea['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x186abd,'width':_0x186abd,'height':'calc(\x20'+_0x359d2f+'\x20-\x20'+_0x17857d+'\x20-\x20'+_0x489613+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0xce6ae8+'\x200\x20'+_0x4d27ae,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x5055ea['bindTemplate']['to']('class')}}),_0x5055ea['render'](),_0x364583['parentNode']['insertBefore'](_0x5055ea['element'],_0x364583['nextSibling']),this['listenTo'](_0x591f67,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x1035bf of this['editor']['editing']['view']['domRoots']['values']())if(_0x1035bf['ownerDocument']['body']['contains'](_0x1035bf))return _0x1035bf;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0xeeab8a=this['editor']['editing']['view'],_0x590505=this['_pagesContainer'],_0x5cfea4=this['_getAttachedDomRoot']();if(!_0x5cfea4)return Promise['resolve']();for(_0x590505['class']=['ck-reset','ck-pagination-view',..._0x5cfea4['classList']]['join']('\x20');_0x590505['element']['firstChild'];)_0x590505['element']['firstChild']['remove']();const _0x113be5=Array['from'](_0xeeab8a['domRoots']);_0x113be5['sort'](([,_0x424e63],[,_0x5867d0])=>_0x424e63['compareDocumentPosition'](_0x5867d0)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x5ad4b7,_0x309331]of _0x113be5){const _0x5bb083=_0x309331['cloneNode'](!0x0);'attributeStyleMap'in _0x5bb083&&_0x5bb083['attributeStyleMap']['clear'](),_0x5bb083['className']='',_0x5bb083['removeAttribute']('id'),_0x5bb083['dataset']['rootName']=_0x5ad4b7,_0x590505['element']['append'](_0x5bb083);}return function(_0x3365d1){return Promise['all'](_0x3365d1['map'](_0x5f3789=>Promise['race']([p(_0x5f3789),y(0x3e8)])));}(Array['from'](_0x590505['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x14fce5=this['_pagesContainer']['element'];if(!_0x14fce5['ownerDocument']['body']['contains'](_0x14fce5))return;const _0x2f3c4d=new _0x12d7c1(_0x14fce5)['excludeScrollbarsAndBorders'](),_0x415f81=_0x224496['window']['getComputedStyle'](_0x14fce5),_0x4d0ce7=parseFloat(_0x415f81['paddingLeft'])+parseFloat(_0x415f81['paddingRight']),_0x356b4d=Math['floor'](_0x2f3c4d['width']+0x64-_0x4d0ce7),_0x10fdec=x(_0x14fce5,Math['floor'](_0x2f3c4d['left']-_0x14fce5['scrollLeft']),_0x356b4d,_0x2f3c4d['height'])['map'](_0x33c95f=>this['_mapPageStarterInfoToPageBreakInfo'](_0x33c95f));_0x10fdec['every'](_0x83aed5=>!!_0x83aed5)&&(this['pageBreaks']=_0x10fdec);}['_mapPageStarterInfoToPageBreakInfo'](_0x3fc40b){const _0x41ce61=this['editor']['editing']['view'],_0x13253e=this['editor']['editing']['mapper'],_0x11f33d=_0x41ce61['domConverter'],_0x3ab16c=_0x3fc40b['path']['shift'](),_0xa78c06=this['_pagesContainer']['element']['childNodes'][_0x3ab16c]['dataset']['rootName'],_0x218d0d=_0x41ce61['getDomRoot'](_0xa78c06);if(!_0x218d0d)return null;const _0x5d0659=function(_0x2a732e,_0x303bff){let _0x26954f=_0x2a732e;for(const _0x1f9c55 of _0x303bff['path']){if(!_0x26954f)return null;_0x26954f=_0x26954f['childNodes'][_0x1f9c55];}return _0x26954f;}(_0x218d0d,_0x3fc40b);if(!_0x5d0659)return null;const _0x5b0592=_0x11f33d['domPositionToView'](_0x5d0659,_0x3fc40b['textOffset']||0x0);return _0x5b0592?'manual'==_0x3fc40b['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5b0592,_0x5d0659):'text'==_0x3fc40b['type']&&_0x13253e['toModelPosition'](_0x5b0592)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5b0592,_0x5d0659,_0x3fc40b['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5b0592,_0x5d0659,_0x3fc40b['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3be238,_0x881520){const _0x1e94b8=this['editor']['model'],_0x2cf0e5=this['editor']['editing']['mapper']['toModelElement'](_0x3be238['parent']),_0x10f19d=_0x1e94b8['createRangeOn'](_0x2cf0e5);return new K({'type':'manual','modelRange':_0x10f19d,'domNode':_0x881520,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x401a7e,_0x68ab88,_0x4a7ac6){const _0xf18100=this['editor']['model'],_0x35e553=this['editor']['editing']['mapper'],_0x37a6a7=this['editor']['editing']['view']['domConverter'];if(_0x4a7ac6>=_0x68ab88['length'])return null;const _0xfb84af=_0x35e553['toModelPosition'](_0x401a7e),_0x216003=_0xf18100['createRange'](_0xfb84af),_0x2a3c09=_0x35e553['findMappedViewAncestor'](_0x401a7e),_0xb1436f=_0x37a6a7['mapViewToDom'](_0x2a3c09);return new K({'type':'text','modelRange':_0x216003,'domNode':_0x68ab88,'offset':m(_0x68ab88,_0x4a7ac6,_0xb1436f)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x234c35,_0x5cad53,_0x433d2e){const _0x4325b7=this['editor']['model'],_0x547d54=this['editor']['editing'],_0x483bb2=_0x547d54['mapper'],_0x2e0c98=_0x547d54['view']['domConverter'],_0x2f967c=_0x483bb2['findMappedViewAncestor'](_0x234c35),_0x5111a3=_0x483bb2['toModelElement'](_0x2f967c),_0x594346=function(_0x117b60){const _0x13c49e=_0x117b60['parent'],_0x55ecbe=_0x13c49e['root']['document']['model'],_0x761e9c=_0x13c49e['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x57b11f=null;for(const _0x7adacd of _0x761e9c){if(_0x7adacd['is']('rootElement'))return _0x57b11f;if(!_0x55ecbe['createPositionBefore'](_0x7adacd)['isTouching'](_0x117b60))return _0x57b11f;_0x57b11f=_0x7adacd;}}(_0x4325b7['createPositionBefore'](_0x5111a3)),_0x2087a2=_0x594346||_0x5111a3;let _0x1a24ce=_0x483bb2['toViewElement'](_0x2087a2),_0x16acfb=_0x4325b7['createRangeOn'](_0x2087a2);const _0x37e911=_0x4325b7['createPositionBefore'](_0x2087a2)['nodeBefore'];if(_0x37e911&&_0x37e911['is']('element','imageBlock')){const _0x236df7=_0x483bb2['toViewElement'](_0x37e911),_0x4b1997=_0x2e0c98['mapViewToDom'](_0x236df7),_0x50466c=_0x224496['window']['getComputedStyle'](_0x4b1997)['float'];'left'!=_0x50466c&&'right'!=_0x50466c||(_0x16acfb=_0x4325b7['createRangeOn'](_0x37e911));}for(;_0x1a24ce['parent']!==_0x1a24ce['root']&&0x0===_0x1a24ce['index'];)_0x1a24ce=_0x1a24ce['parent'];const _0x453cfa=new _0x12d7c1(S(_0x5cad53)?_0x5cad53:P(_0x5cad53)),_0x3b56f3=_0x433d2e?_0x453cfa['height']-_0x433d2e:0x0,_0x2102b1=_0x2e0c98['mapViewToDom'](_0x1a24ce),_0x4e113d=new _0x12d7c1(_0x2102b1);return new K({'type':'element','modelRange':_0x16acfb,'domNode':_0x2102b1,'offset':Math['round'](_0x3b56f3)?_0x3b56f3+_0x453cfa['top']-_0x4e113d['top']:0x0});}get['_configuredPaddings'](){const _0x4371f3=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4371f3);}static['_findPageStarterInfos'](_0x4a8c6c,_0xa3853c,_0x31f5dc,_0x326f26,_0x4ca698){return x(_0x4a8c6c,_0xa3853c,_0x31f5dc,_0x326f26,_0x4ca698);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x4322dc,modelRange:_0x771f08,domNode:_0x463dea,offset:_0x4f0cca}){this['type']=_0x4322dc,this['modelRange']=_0x771f08,this['_domNode']=_0x463dea,this['_offset']=_0x4f0cca;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x1e57dd=new _0x12d7c1(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x1e57dd['top']+_0x1e57dd['height']/0x2:_0x1e57dd['top']+this['_offset'];}}function m(_0x30dcdf,_0x3fb15d,_0x452ecd){const _0x5c0250=P(_0x30dcdf),_0x5c2af4=function(_0xba013e){const _0x4b5537=_0x224496['document']['createRange']();return _0x4b5537['selectNodeContents'](_0xba013e),_0x4b5537;}(_0x452ecd);let _0x118586;_0x118586=0x0==_0x3fb15d?b(_0x5c2af4['startContainer'],_0x5c2af4['startOffset'],_0x30dcdf['parentNode'],Array['from'](_0x30dcdf['parentNode']['childNodes'])['indexOf'](_0x30dcdf)):b(_0x5c2af4['startContainer'],_0x5c2af4['startOffset'],_0x30dcdf,_0x3fb15d);const _0x5621c4=b(_0x30dcdf,_0x3fb15d,_0x5c2af4['endContainer'],_0x5c2af4['endOffset']),_0x575bf7=new _0x12d7c1(_0x118586)['bottom'];return(new _0x12d7c1(_0x5621c4)['top']+_0x575bf7)/0x2-new _0x12d7c1(_0x5c0250)['top'];}function p(_0xa20163){return _0xa20163['hasAttribute']('width')&&_0xa20163['hasAttribute']('height')?Promise['resolve']():new Promise(_0x232cae=>{function _0x52f93f(){_0xa20163['removeEventListener']('load',_0x52f93f),_0xa20163['removeEventListener']('error',_0x52f93f),_0x232cae();}_0xa20163['complete']?_0x232cae():(_0xa20163['addEventListener']('load',_0x52f93f),_0xa20163['addEventListener']('error',_0x52f93f));});}function y(_0x4cd555){return new Promise(_0x1c08aa=>setTimeout(_0x1c08aa,_0x4cd555));}function P(_0x490035){const _0xcbcc74=_0x224496['document']['createRange']();return _0xcbcc74['selectNode'](_0x490035),_0xcbcc74;}function k(_0x2bef2b,_0x6519b2,_0x5ba225){const _0x52aecd=_0x224496['document']['createRange']();return _0x52aecd['setStart'](_0x2bef2b,_0x6519b2),_0x52aecd['setEnd'](_0x2bef2b,_0x5ba225),_0x52aecd;}function b(_0x40a979,_0x4185b1,_0x216347,_0x363373){const _0xc21ff3=_0x224496['document']['createRange']();return _0xc21ff3['setStart'](_0x40a979,_0x4185b1),_0xc21ff3['setEnd'](_0x216347,_0x363373),_0xc21ff3;}function x(_0x21aa40,_0x34a8f8,_0x5c7342,_0x413836,_0x287d92){const _0x395939=[];for(const [_0x44fb0b,_0x2ef1e1]of _0x21aa40['childNodes']['entries']()){let _0x363271=[];S(_0x2ef1e1)&&_0x2ef1e1['offsetParent']&&!_0x2ef1e1['style']['position']?_0x363271=_(_0x2ef1e1,_0x44fb0b,_0x34a8f8,_0x5c7342,_0x413836,_0x287d92):R(_0x2ef1e1)&&(_0x363271=B(_0x2ef1e1,_0x44fb0b,_0x34a8f8,_0x5c7342,_0x287d92)),_0x363271['length']&&(_0x395939['push'](..._0x363271),_0x34a8f8+=_0x363271['length']*_0x5c7342,_0x287d92=!0x1);}return _0x395939;}function _(_0xce7aa4,_0x57b3d1,_0x546328,_0x2d87cb,_0x415dba,_0x4b051f){const _0x3a4091=[];var _0x147e09;if((_0x147e09=_0xce7aa4['previousSibling'])&&S(_0x147e09)&&Boolean(_0x147e09['classList']['contains']('page-break')||_0x147e09['closest']('.page-break'))&&(_0x3a4091['push']({'type':'manual','offset':0x0,'path':[_0x57b3d1-0x1]}),_0x4b051f=!0x0),'table-row'==_0x224496['window']['getComputedStyle'](_0xce7aa4)['display']){let _0x5e7c44=0x0,_0x209539=!0x1;for(const _0x2f61e2 of _0xce7aa4['getClientRects']())_0x5e7c44+=_0x2f61e2['height'],_0x2f61e2['left']>=_0x546328&&(_0x209539=!0x0);if(_0x5e7c44<_0x415dba&&_0x209539)return _0x3a4091['push']({'type':'element','offset':0x0,'path':[_0x57b3d1]}),_0x3a4091;}const _0x30d83c=_0xce7aa4['closest']('figure.image');if(_0x30d83c&&function(_0x5e43da){let _0x3f657c=!0x1;const _0x4170a6=_0x5e43da['parentElement'],_0x5265ea=_0x4170a6['dataset']['rootName'],_0x172eee=_0x5e43da['nextElementSibling'],_0x31622a=_0x5e43da['previousElementSibling'],_0x567cb1=_0x172eee&&_0x224496['window']['getComputedStyle'](_0x172eee)['float'],_0x256835=_0x172eee&&'ck-fake-selection-container'===_0x172eee['className'];!_0x5265ea||_0x172eee||_0x31622a||(_0x3f657c=!0x0),_0x5265ea&&!_0x31622a&&_0x256835&&(_0x3f657c=!0x0),_0x5265ea&&!_0x31622a&&'none'!==_0x567cb1&&(_0x3f657c=!0x0);if(_0x3f657c)return!0x1;return!0x0;}(_0x30d83c)){const _0x121baf=_0x224496['window']['getComputedStyle'](_0x30d83c)['float'];if('left'==_0x121baf||'right'==_0x121baf)return _0x3a4091;}const _0xa9c4da=x(_0xce7aa4,_0x546328,_0x2d87cb,_0x415dba,_0x4b051f);if(_0xa9c4da['length']){for(const _0x28747b of _0xa9c4da)_0x3a4091['push']({'type':_0x28747b['type'],'offset':_0x28747b['offset'],'textOffset':_0x28747b['textOffset'],'path':[_0x57b3d1,..._0x28747b['path']]}),_0x546328+=_0x2d87cb,_0x4b051f=!0x1;return _0x3a4091;}return _0x3a4091['push'](...function(_0x2c3ae9,_0x4e90ed,_0x22e811,_0x24a3b9,_0x57fe20){const _0x2096b0=[];if('table-cell'==_0x224496['window']['getComputedStyle'](_0x2c3ae9)['display'])return[];const _0x40e3ab=[];for(const _0x2c0382 of _0x2c3ae9['getClientRects']())if(_0x2c0382['left']>=_0x22e811){for(const _0x223b79 of _0x40e3ab)_0x223b79['height']+=_0x2c0382['height'];_0x40e3ab['push']({'height':_0x2c0382['height']}),_0x22e811+=_0x24a3b9;}for(const _0x5f15cc of _0x40e3ab)_0x57fe20||_0x2096b0['push']({'type':'element','offset':_0x5f15cc['height'],'textOffset':0x0,'path':[_0x4e90ed]}),_0x57fe20=!0x1;return _0x2096b0;}(_0xce7aa4,_0x57b3d1,_0x546328,_0x2d87cb,_0x4b051f)),_0x3a4091;}function B(_0x5edf20,_0x61a17d,_0x635eb5,_0x349554,_0x52adc5){const _0x40f5db=P(_0x5edf20),_0x57aaa8=[];let _0xee772d=0x0;for(const _0x562eda of _0x40f5db['getClientRects']())if(_0x562eda['left']>=_0x635eb5){const _0x293e27=I(_0x5edf20,_0xee772d,_0x635eb5,_0x349554);_0x52adc5||_0x57aaa8['push']({'type':'text','path':[_0x61a17d],'textOffset':_0x293e27}),_0xee772d=_0x293e27,_0x635eb5+=_0x349554,_0x52adc5=!0x1;}return _0x57aaa8;}function I(_0x3b6bc0,_0x182b8d,_0x58606f,_0x5b2124){let _0x503cf8=_0x182b8d,_0x523dad=_0x3b6bc0['length'];for(;_0x523dad-_0x503cf8>0x1;){const _0x176ad8=Math['ceil']((_0x503cf8+_0x523dad)/0x2);N(k(_0x3b6bc0,_0x503cf8,_0x176ad8),_0x58606f,_0x5b2124)?_0x523dad=_0x176ad8:_0x503cf8=_0x176ad8;}return _0x503cf8;}function N(_0x5ce7de,_0x50a672,_0x158070){for(const _0x514c1d of _0x5ce7de['getClientRects']())if(_0x514c1d['left']>=_0x50a672&&_0x514c1d['left']<_0x50a672+_0x158070)return!0x0;return!0x1;}function S(_0x339485){return _0x339485['nodeType']==Node['ELEMENT_NODE'];}function R(_0x1f1b5){return _0x1f1b5['nodeType']==Node['TEXT_NODE'];}const z=_0x32009f('px');class V extends _0x1b02f0{constructor(){super();const _0x47de92=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x47de92['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x47de92['if']('isVisible','ck-hidden',_0x3e6ad3=>!_0x3e6ad3)],'style':{'left':_0x47de92['to']('left',_0x1aeac0=>z(_0x1aeac0)),'top':_0x47de92['to']('top',_0xc69918=>z(_0xc69918)),'width':_0x47de92['to']('width',_0x55b3fd=>z(_0x55b3fd))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x553bb4){this['_viewCollection']=_0x553bb4['ui']['view']['body'];}['destroy'](){for(const _0x5ef6f1 of this['_hiddenLines'])_0x5ef6f1['destroy']();}['cleanLines'](){for(const _0x501d93 of this['_visibleLines'])_0x501d93['isVisible']=!0x1,this['_hiddenLines']['add'](_0x501d93);this['_visibleLines']['clear']();}['showLine'](_0x279c88,_0x169c2a,_0x41cd4a,_0x29f53c){let _0x3920f1;this['_hiddenLines']['size']?(_0x3920f1=_0x50c8b8(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x3920f1)):_0x3920f1=new V(),_0x3920f1['set']({'pageNumber':_0x29f53c,'left':_0x279c88,'top':_0x169c2a,'width':_0x41cd4a}),_0x3920f1['isVisible']=!0x0,this['_viewCollection']['has'](_0x3920f1)||this['_viewCollection']['add'](_0x3920f1),this['_visibleLines']['add'](_0x3920f1);}['setViewCollection'](_0x3f8568){for(const _0x3a8a66 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3a8a66)&&this['_viewCollection']['remove'](_0x3a8a66);this['_viewCollection']=_0x3f8568;}}const L='ck-pagination_enabled';class c extends _0x4b57e5{['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',(_0x846785,_0x99e46,_0xf12830)=>{_0xf12830||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0xf12830);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x448322){if(!this['isEnabled'])return;const _0x248924=_0x448322>0x1?this['_getPageBreakLineOffset'](_0x448322-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x248924-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x55c8c4['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x14517c=this['editor'],_0x3f0269=this['_getAttachedDomRoot']();_0x3f0269?(this['_scrollableEditingRootDomAncestor']&&_0x14517c['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x1e9190){let _0x286780=_0x1e9190;do{_0x286780=_0x286780['parentElement'];const _0x446a1c=_0x224496['window']['getComputedStyle'](_0x286780)['overflowY'];if('auto'==_0x446a1c||'scroll'==_0x446a1c)break;}while('BODY'!=_0x286780['tagName']);return _0x286780;}(_0x3f0269),_0x14517c['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1b9610(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x14517c['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x29d9ed=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x29d9ed['ui']['view']['listenTo'](_0x224496['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x29d9ed['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x5b2d27 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5b2d27['ownerDocument']['body']['contains'](_0x5b2d27))return _0x5b2d27;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x501fe1=this['_getAttachedDomRoot'](),_0xce353d=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x501fe1||0x1==_0xce353d['length'])return void(this['pageNumber']=0x1);const _0x4fa9b5=new _0x12d7c1(_0x501fe1)['excludeScrollbarsAndBorders'](),_0x26174d=new _0x12d7c1(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x480213=_0x26174d['top']+_0x26174d['height']/0x3;let _0x49ad6a=!0x1;const _0x4aeede=[];for(let _0x2f7cd6=0x1;_0x2f7cd6<_0xce353d['length'];_0x2f7cd6++){const _0x3cffee=this['_getPageBreakLineOffset'](_0x2f7cd6,_0x26174d);if(!_0x3cffee)continue;const _0x5967c3=_0x26174d['top']+_0x3cffee-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x4aeede['push']({'pageOffsetTop':_0x5967c3,'domRootRect':_0x4fa9b5,'domScrollableRect':_0x26174d,'pageNumber':_0x2f7cd6}),_0x5967c3>_0x480213&&!_0x49ad6a&&(this['pageNumber']=_0x2f7cd6,_0x49ad6a=!0x0);}this['_renderPageBreakLines'](_0x4aeede),_0x49ad6a||(this['pageNumber']=_0xce353d['length']);}['_renderPageBreakLines'](_0x3bf6f5){const {scrollX:_0x2b00d5,scrollY:_0x288098}=_0x224496['window'];if(_0x3bf6f5['length']){for(const {domScrollableRect:_0x1b8505,pageOffsetTop:_0x72198b,domRootRect:_0x18b045,pageNumber:_0x1107f8}of _0x3bf6f5)_0x1b8505['top']<_0x72198b&&_0x72198b<_0x1b8505['bottom']&&this['linesRepository']['showLine'](_0x18b045['left']+_0x2b00d5,_0x72198b+_0x288098,_0x18b045['width'],_0x1107f8+0x1);}}['_getPageBreakLineOffset'](_0x30f69e,_0x5a308f=null){const _0x3ff7c1=this['_paginationLookupPlugin']['pageBreaks'][_0x30f69e]['offset'];return _0x3ff7c1?(_0x5a308f||(_0x5a308f=new _0x12d7c1(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3ff7c1-_0x5a308f['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x37ebb6,_0x516a12=!0x0){const _0x5874da=this['editor']['editing']['view'];_0x5874da['change'](_0x3d909e=>{for(const _0x1be77c of _0x5874da['document']['roots'])_0x516a12?_0x3d909e['addClass'](_0x37ebb6,_0x1be77c):_0x3d909e['removeClass'](_0x37ebb6,_0x1be77c);});}}function g(_0x2838ee,_0x21f463,..._0x284b33){const t=_0x2838ee['t'];switch(_0x21f463){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)',..._0x284b33);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 _0x21f463;}}class s extends _0x4b57e5{['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 _0x31a1f9=this['editor']['plugins']['get']('Pagination'),_0x19557a=this['editor']['plugins']['get'](n),_0x552220=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x31a1f9),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x552220),this['listenTo'](_0x19557a,'change:pageBreaks',(_0x490bb0,_0x13fa26,_0x5cc244,_0x30b083)=>{this['totalPages']=_0x5cc244['length'],this['_updatePageBreakMarkers'](_0x5cc244,_0x30b083);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x430da0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ae537;for(const _0x48c12a in _0x430da0){const _0x3abb81=_0x48c12a,_0x3b711c=_0x430da0[_0x3abb81];if('paginationLicenseKeyValid'==_0x3b711c||'paginationLicenseKeyInvalid'==_0x3b711c||'paginationLicenseKeyExpired'==_0x3b711c||'paginationLicenseKeyDomainLimit'==_0x3b711c||'paginationLicenseKeyNotAllowed'==_0x3b711c||'paginationLicenseKeyEvaluationLimit'==_0x3b711c||'paginationLicenseKeyTrialLimit'==_0x3b711c||'paginationLicenseKeyUsageLimit'==_0x3b711c){delete _0x430da0[_0x3abb81],_0x1ae537=_0x3b711c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1ae537&&_0x430da0['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1ae537&&_0x430da0['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1ae537&&_0x430da0['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1ae537&&_0x430da0['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1ae537&&_0x430da0['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x1ae537&&_0x430da0['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x1ae537&&_0x430da0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x5add87){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x5add87));}['moveSelectionToPage'](_0xc61eaa){if(!this['isEnabled'])return;const _0x4fc719=this['editor'],_0x1d1fe8=this['editor']['plugins']['get'](n)['pageBreaks'][_0xc61eaa-0x1];_0x1d1fe8&&_0x4fc719['model']['change'](_0x28573f=>{switch(_0x1d1fe8['type']){case'manual':{const _0x6e027f=_0x4fc719['model']['schema']['getNearestSelectionRange'](_0x1d1fe8['modelRange']['end'],'forward');_0x28573f['setSelection'](_0x6e027f);break;}case'element':{const _0xf2adaa=_0x4fc719['model']['schema']['getNearestSelectionRange'](_0x1d1fe8['modelRange']['start'],'forward');_0x28573f['setSelection'](_0xf2adaa);break;}case'text':{const _0x521385=_0x1d1fe8['modelRange']['start'];if(_0x521385['textNode']&&'\x20'===_0x521385['textNode']['data'][_0x521385['offset']]){const _0x54fdbc=_0x28573f['createPositionAt'](_0x521385['parent'],_0x521385['offset']+0x1);_0x28573f['setSelection'](_0x54fdbc);}else _0x28573f['setSelection'](_0x1d1fe8['modelRange']);}}_0x4fc719['editing']['view']['focus']();});}['goToNextPage'](){const _0x522eff=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x522eff),this['scrollToPage'](_0x522eff);}['goToPreviousPage'](){const _0x8984b9=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x8984b9),this['scrollToPage'](_0x8984b9);}['_updatePageBreakMarkers'](_0x2ce146,_0x28e9e6){const _0x4ce522=this['editor']['model'];this['isEnabled']&&_0x4ce522['change'](_0x183383=>{for(let _0x310070=0x1;_0x310070<_0x2ce146['length'];_0x310070++){const _0x5e7f51=_0x2ce146[_0x310070]['modelRange'],_0x2e8476='pagination:'+(_0x310070+0x1);_0x4ce522['markers']['has'](_0x2e8476)?_0x183383['updateMarker'](_0x2e8476,{'range':_0x5e7f51}):_0x183383['addMarker'](_0x2e8476,{'range':_0x5e7f51,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x360b47=_0x2ce146['length'];_0x360b47<_0x28e9e6['length'];_0x360b47++){const _0xfea4d='pagination:'+(_0x360b47+0x1);_0x4ce522['markers']['has'](_0xfea4d)&&_0x183383['removeMarker'](_0xfea4d);}});}['_setUpDataDowncastConversion'](){const _0x3d085a='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x1a109f=>{_0x1a109f['on']('addMarker:'+_0x3d085a,(_0x405a9f,{markerRange:_0x3242ef,markerName:_0x3ec5da},_0x2d0dd1)=>{if(!_0x2d0dd1['options']['pagination'])return;if(!_0x2d0dd1['consumable']['consume'](_0x3242ef,_0x405a9f['name']))return;const _0x3690d8=_0x3242ef['getContainedElement']();let _0x152638=_0x3690d8?_0x2d0dd1['mapper']['toViewElement'](_0x3690d8):null;if(!_0x152638){const _0x121b3e=_0x3242ef['start'];if(_0x2d0dd1['schema']['checkChild'](_0x121b3e,'$text')){const _0x19de6f=_0x2d0dd1['mapper']['toViewPosition'](_0x121b3e);_0x152638=_0x2d0dd1['writer']['createContainerElement']('span'),_0x152638['getFillerOffset']=()=>null,_0x2d0dd1['writer']['insert'](_0x19de6f,_0x152638);}else{const _0x25bfd8=_0x121b3e['nodeAfter'];_0x152638=_0x2d0dd1['mapper']['toViewElement'](_0x25bfd8);}}for(;_0x152638['parent']!==_0x152638['root']&&0x0===_0x152638['index'];)_0x152638=_0x152638['parent'];const _0x53c07d=_0x3ec5da['substring'](0xb);_0x152638['hasClass']('page-break')||(_0x2d0dd1['writer']['setStyle']('page-break-before','always',_0x152638),_0x2d0dd1['writer']['setAttribute']('data-pagination-page',_0x53c07d,_0x152638),_0x2d0dd1['mapper']['bindElementToMarker'](_0x152638,_0x3ec5da)),_0x405a9f['stop']();});});}['_setupKeystrokes'](){const _0x4a8ba6=this['editor'];_0x4a8ba6['keystrokes']['set']('Shift+Pageup',(_0x2a2836,_0x16a6c9)=>{this['goToPreviousPage'](),_0x16a6c9();}),_0x4a8ba6['keystrokes']['set']('Shift+Pagedown',(_0x230dd2,_0x5a45a8)=>{this['goToNextPage'](),_0x5a45a8();}),_0x4a8ba6['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x4a8ba6['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x4a8ba6['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x4a8ba6['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4a3fd8){return _0x4a3fd8<0x1&&(_0x4a3fd8=0x1),_0x4a3fd8>this['totalPages']&&(_0x4a3fd8=this['totalPages']),_0x4a3fd8;}}class U extends _0x1b02f0{['pageNumberView'];constructor(_0x1eac6f){super(_0x1eac6f);const _0xbe6ad=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3ba670(_0x1eac6f,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xd2d04e=>g(_0x1eac6f,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xd2d04e)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x16b944=>!_0x16b944),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0xbe6ad['if']('isEnabled','ck-disabled',_0x260d85=>!_0x260d85)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0xbe6ad['to']('totalPages')}]}]});}['render'](){super['render']();const _0x3cc98a=this['pageNumberView']['element'],_0x145c30=_0x49e60d=>{this['pageNumberView']['element']['value']=String(_0x49e60d);};_0x145c30(this['pageNumber']),this['on']('change:pageNumber',(_0xcc5317,_0x23b1aa,_0x158b3e)=>{_0x145c30(_0x158b3e);}),this['listenTo'](_0x3cc98a,'keydown',(_0x5adc65,_0x694b3f)=>{if('ArrowUp'===_0x694b3f['key']||'ArrowDown'===_0x694b3f['key'])return void _0x694b3f['stopPropagation']();if(_0x694b3f['keyCode']!==_0x572f24['enter'])return;_0x694b3f['preventDefault']();const _0x24c21e=_0x3cc98a['valueAsNumber'];Number['isNaN'](_0x24c21e)?_0x3cc98a['value']=String(this['pageNumber']):(_0x3cc98a['checkValidity']()?this['pageNumber']=_0x24c21e:_0x24c21e>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x3cc98a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x3cc98a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x3cc98a,'blur',()=>{_0x3cc98a['value']=String(this['pageNumber']);}),this['listenTo'](_0x3cc98a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x4b57e5{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3d03d8=this['editor'],_0x4530dd=_0x3d03d8['plugins']['get']('PaginationEditing');_0x3d03d8['ui']['componentFactory']['add']('pageNavigation',_0xdf366=>{const _0x3a323c=new U(_0xdf366);return _0x3a323c['bind']('pageNumber')['to'](_0x4530dd),_0x3a323c['bind']('totalPages')['to'](_0x4530dd),_0x3a323c['bind']('isEnabled')['to'](_0x4530dd),_0x3a323c['on']('navigation',(_0x53beec,_0x2304bf)=>{_0x4530dd['moveSelectionToPage'](_0x2304bf),_0x4530dd['scrollToPage'](_0x2304bf);}),_0x3a323c;}),_0x3d03d8['ui']['componentFactory']['add']('nextPage',_0x2cb39b=>{const _0x141bb9=new _0x109826(_0x2cb39b);return _0x141bb9['isEnabled']=!0x0,_0x141bb9['label']=g(_0x3d03d8['locale'],'Go\x20to\x20next\x20page'),_0x141bb9['icon']=_0x5931c1,_0x141bb9['tooltip']=!0x0,_0x141bb9['keystroke']='Shift+PageDown',_0x141bb9['bind']('isEnabled')['to'](_0x4530dd),this['listenTo'](_0x141bb9,'execute',()=>{_0x4530dd['goToNextPage']();}),_0x141bb9;}),_0x3d03d8['ui']['componentFactory']['add']('previousPage',_0x11541b=>{const _0x5b46e2=new _0x109826(_0x11541b);return _0x5b46e2['isEnabled']=!0x0,_0x5b46e2['label']=g(_0x3d03d8['locale'],'Go\x20to\x20previous\x20page'),_0x5b46e2['icon']=_0x7561ba,_0x5b46e2['tooltip']=!0x0,_0x5b46e2['keystroke']='Shift+PageUp',_0x5b46e2['bind']('isEnabled')['to'](_0x4530dd),this['listenTo'](_0x5b46e2,'execute',()=>{_0x4530dd['goToPreviousPage']();}),_0x5b46e2;});}}class a extends _0x4b57e5{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x527a7c){super(_0x527a7c),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x19e8f0=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x19e8f0),this['bind']('totalPages')['to'](_0x19e8f0),_0x55c8c4['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0xc01b67){this['editor']['plugins']['get'](s)['scrollToPage'](_0xc01b67);}}export{a as Pagination,c as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x45f5b5}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x269a83,InputNumberView as _0xe109e5,ButtonView as _0x109184}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x63faa6,Rect as _0x32dde5,global as _0x19a60f,uid as _0xa08dc8,toUnit as _0xa9bbac,first as _0x483d63,env as _0x654b69,ResizeObserver as _0x314d14,keyCodes as _0x516fec}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x3a3279}from'es-toolkit/compat';import{IconArrowDown as _0xee813e,IconArrowUp as _0x1a3ab1}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x45f5b5{['_recalculatePageBreaksDebounced']=_0x3a3279(()=>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 _0x63faa6('pagination-config-not-found',this['editor']['config']);const _0x1d55fe=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1d55fe),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x416499,_0x466937,_0x128381)=>{_0x128381&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x4410fb){const _0x464129=_0x159092([0x62,0x36,0x6a,0x31,0x35,0x4f,0x69,0x42,0x77,0x38,0x68,0x47,0x56,0x53,0x48,0x67,0x6c,0x75,0x44,0x6e,0x45,0x30,0x6b,0x51,0x64,0x4d,0x78,0x32,0x66,0x58,0x72,0x61,0x37,0x4c,0x54,0x50,0x65,0x55,0x63,0x7a,0x4e,0x33,0x43,0x49,0x79,0x59,0x41,0x6f,0x74,0x52,0x73,0x4b,0x46,0x57,0x39,0x4a,0x6d,0x76,0x34,0x70,0x5a,0x71]),_0x12df60=0x109a5532,_0x31b8f8=0x109d328a^_0x12df60,_0x3b7746=window[_0x159092([0x44,0x61,0x74,0x65])][_0x159092([0x6e,0x6f,0x77])](),_0x53975b=_0x4410fb[_0x159092([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x552535=new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a10d0=>{_0x53975b[_0x159092([0x6f,0x6e,0x63,0x65])](_0x159092([0x72,0x65,0x61,0x64,0x79]),_0x5a10d0);}),_0xed1623={[_0x159092([0x6b,0x74,0x79])]:_0x159092([0x45,0x43]),[_0x159092([0x75,0x73,0x65])]:_0x159092([0x73,0x69,0x67]),[_0x159092([0x63,0x72,0x76])]:_0x159092([0x50,0x2d,0x32,0x35,0x36]),[_0x159092([0x78])]:_0x159092([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]),[_0x159092([0x79])]:_0x159092([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]),[_0x159092([0x61,0x6c,0x67])]:_0x159092([0x45,0x53,0x32,0x35,0x36])},_0x292f1c=_0x53975b[_0x159092([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x159092([0x67,0x65,0x74])](_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38a9c5(){let _0x3fc9a2,_0x40940f=null,_0x1a8aba=null;try{if(_0x292f1c==_0x159092([0x47,0x50,0x4c]))return _0x159092([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fc9a2=_0x204dd4(),!_0x3fc9a2)return _0x159092([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fc9a2[_0x159092([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a8aba=_0x24f6f3(_0x3fc9a2[_0x159092([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fc9a2[_0x159092([0x6a,0x74,0x69])])),await _0x33fa64()?_0x453f05()?_0x420ded()?_0x159092([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c0906()?(_0x3fc9a2[_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x159092([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40940f=_0x21d1b1(_0x159092([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fc9a2[_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x159092([0x74,0x72,0x69,0x61,0x6c])&&(_0x40940f=_0x21d1b1(_0x159092([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13218b()):_0x159092([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x159092([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x159092([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3dc7e6){return _0x159092([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x420ded(){const _0x4f9373=[_0x159092([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x159092([0x74,0x72,0x69,0x61,0x6c])][_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc9a2[_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b7746/0x3e8:0xe10*_0x31b8f8;return _0x3fc9a2[_0x159092([0x65,0x78,0x70])]<_0x4f9373;}function _0x453f05(){const _0x13c6c8=_0x3fc9a2[_0x159092([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13c6c8&&(!!_0x13c6c8[_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x159092([0x2a]))||!!_0x13c6c8[_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x159092([0x50,0x41,0x47])));}function _0x2c0906(){const _0x1a1d99=_0x3fc9a2[_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a1d99||0x0==_0x1a1d99[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x652900}=new URL(window[_0x159092([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a1d99[_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x652900))return!0x0;const _0x1ebf9d=_0x652900[_0x159092([0x73,0x70,0x6c,0x69,0x74])](_0x159092([0x2e]));return _0x1a1d99[_0x159092([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3957d3=>_0x3957d3[_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x159092([0x2a])))[_0x159092([0x6d,0x61,0x70])](_0x585d7b=>_0x585d7b[_0x159092([0x73,0x70,0x6c,0x69,0x74])](_0x159092([0x2e])))[_0x159092([0x73,0x6f,0x6d,0x65])](_0x1acf04=>_0x1ebf9d[_0x159092([0x65,0x76,0x65,0x72,0x79])]((_0x5abb45,_0x2f1f37)=>_0x1acf04[_0x2f1f37]===_0x5abb45||_0x1acf04[_0x2f1f37]===_0x159092([0x2a])));}function _0x13218b(){return _0x40940f&&_0x1a8aba?new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x251a0c,_0x2e888f)=>{_0x40940f[_0x159092([0x74,0x68,0x65,0x6e])](_0x251a0c,_0x2e888f),_0x1a8aba[_0x159092([0x74,0x68,0x65,0x6e])](_0x32c862=>{_0x32c862!=_0x159092([0x56,0x61,0x6c,0x69,0x64])&&_0x251a0c(_0x32c862);},_0x2e888f);}):_0x40940f||_0x1a8aba||_0x159092([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24f6f3(_0x16f5c2,_0x35cec1){return new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c6a64=>{if(_0x16dcc5())return _0x2c6a64(_0x159092([0x56,0x61,0x6c,0x69,0x64]));_0x4a213d(),_0x53975b[_0x159092([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x159092([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x470875=!0x1;const _0x4f22f0=_0xa08dc8();function _0x32c5ca(_0x4ef60b){return!!_0x4ef60b&&(typeof _0x4ef60b===_0x159092([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ef60b===_0x159092([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ef60b[_0x159092([0x74,0x68,0x65,0x6e])]===_0x159092([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ef60b[_0x159092([0x63,0x61,0x74,0x63,0x68])]===_0x159092([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3eb3e6(_0x343a1d){_0x3b0bac(_0x343a1d)[_0x159092([0x74,0x68,0x65,0x6e])](_0x3d553f=>{if(!_0x3d553f||_0x3d553f[_0x159092([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x159092([0x6f,0x6b]))return _0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23d83e(_0x435f53(_0x4f22f0+_0x35cec1))!=_0x3d553f[_0x159092([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x159092([0x56,0x61,0x6c,0x69,0x64]);})[_0x159092([0x74,0x68,0x65,0x6e])](_0x4c4648=>(_0x5ed659(),_0x4c4648),()=>{const _0x3494c0=_0x3a0886();return null==_0x3494c0?(_0x5ed659(),_0x159092([0x56,0x61,0x6c,0x69,0x64])):_0x159092(_0x3b7746-_0x3494c0>(0x3496d132^_0x12df60)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x159092([0x74,0x68,0x65,0x6e])](_0x2c6a64)[_0x159092([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c6a64(_0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x467cf4=0x10acbbb2^_0x12df60;function _0x5ed659(){const _0x2c6e35=_0x159092([0x6c,0x6c,0x63,0x74,0x2d])+_0x23d83e(_0x435f53(_0x16f5c2)),_0x245cd2=_0x358d3d(_0x23d83e(window[_0x159092([0x4d,0x61,0x74,0x68])][_0x159092([0x63,0x65,0x69,0x6c])](_0x3b7746/_0x467cf4)));window[_0x159092([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x159092([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c6e35,_0x245cd2);}function _0x3a0886(){const _0x88ae39=_0x159092([0x6c,0x6c,0x63,0x74,0x2d])+_0x23d83e(_0x435f53(_0x16f5c2)),_0x4f6e53=window[_0x159092([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x159092([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x88ae39);return _0x4f6e53?window[_0x159092([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x358d3d(_0x4f6e53),0x10)*_0x467cf4:null;}function _0x3b0bac(_0x133e69){return new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4225bb,_0x1508f8)=>{_0x133e69[_0x159092([0x74,0x68,0x65,0x6e])](_0x4225bb,_0x1508f8),window[_0x159092([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1508f8,0x109b81f2^_0x12df60);});}}_0x53975b[_0x159092([0x6f,0x6e])](_0x159092([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x182950,_0x6d4e29)=>{if(_0x6d4e29[0x0]!=_0x16f5c2)return _0x2c6a64(_0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x6d4e29[0x1]={..._0x6d4e29[0x1],[_0x159092([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f22f0};},{[_0x159092([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x159092([0x68,0x69,0x67,0x68])}),_0x53975b[_0x159092([0x6f,0x6e])](_0x159092([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1cb414=>{_0x32c5ca(_0x1cb414[_0x159092([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x470875=!0x0,_0x3eb3e6(_0x1cb414[_0x159092([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x159092([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x159092([0x6c,0x6f,0x77])}),_0x552535[_0x159092([0x74,0x68,0x65,0x6e])](()=>{_0x470875||_0x2c6a64(_0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16dcc5(){return _0x53975b[_0x159092([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x159092([0x76,0x69,0x65,0x77])][_0x159092([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x159092([0x61,0x75,0x74,0x6f]);}function _0x4a213d(){_0x53975b[_0x159092([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x159092([0x76,0x69,0x65,0x77])][_0x159092([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x159092([0x61,0x75,0x74,0x6f]);}}function _0x21d1b1(_0x406167){const _0x34b580=[new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3866bc=>setTimeout(_0x3866bc,0x10936bfe^_0x12df60)),_0x552535[_0x159092([0x74,0x68,0x65,0x6e])](()=>new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fb369=>{let _0x72d173=0x0;_0x53975b[_0x159092([0x6d,0x6f,0x64,0x65,0x6c])][_0x159092([0x6f,0x6e])](_0x159092([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52e3ca,_0x2e3671)=>{_0x2e3671[0x0][_0x159092([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x72d173++,_0x72d173==(0x109a54ca^_0x12df60)&&(_0x2fb369(),_0x52e3ca[_0x159092([0x6f,0x66,0x66])]());});}))];return window[_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x159092([0x72,0x61,0x63,0x65])](_0x34b580)[_0x159092([0x74,0x68,0x65,0x6e])](()=>_0x406167);}async function _0x467436(){await _0x552535,_0x53975b[_0x159092([0x6d,0x6f,0x64,0x65,0x6c])][_0x159092([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a4ee0,_0x53975b[_0x159092([0x6d,0x6f,0x64,0x65,0x6c])][_0x159092([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a4ee0,_0x53975b[_0x159092([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x159092([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e8fc7(_0x360a59){const _0x52295c=_0x422c03();_0x53975b[_0x52295c]=_0x159092([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x360a59,_0x360a59!=_0x159092([0x56,0x61,0x6c,0x69,0x64])&&_0x467436();}function _0x422c03(){const _0x4d2dfa=window[_0x159092([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x159092([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x159092([0x6e,0x6f,0x77])]())[_0x159092([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x159092([0x2e]),'');let _0x569828=_0x159092([0x62]);for(let _0x155450=0x0;_0x155450<_0x4d2dfa[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x155450+=0x2){let _0x2ead49=window[_0x159092([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d2dfa[_0x159092([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x155450,_0x155450+0x2));_0x2ead49>=_0x464129[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ead49-=_0x464129[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x569828+=_0x464129[_0x2ead49];}return _0x569828;}function _0x204dd4(){const _0x1fb5c0=_0x292f1c[_0x159092([0x73,0x70,0x6c,0x69,0x74])](_0x159092([0x2e]));if(0x3!=_0x1fb5c0[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2beac6(_0x1fb5c0[0x1]);function _0x2beac6(_0x4ca99e){const _0xdb53b9=_0x12a213(_0x4ca99e);return _0xdb53b9&&_0x570541()?_0xdb53b9:null;function _0x570541(){const _0x37611f=_0xdb53b9[_0x159092([0x6a,0x74,0x69])],_0x13abf7=window[_0x159092([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37611f[_0x159092([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37611f[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f5760={..._0xdb53b9,[_0x159092([0x6a,0x74,0x69])]:_0x37611f[_0x159092([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37611f[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f5760[_0x159092([0x76,0x63])],_0x435f53(_0x2f5760)==_0x13abf7;}}}async function _0x33fa64(){let _0xa492=!0x0;try{const _0x422111=_0x292f1c[_0x159092([0x73,0x70,0x6c,0x69,0x74])](_0x159092([0x2e])),[_0x31b803,_0x35f854,_0xc5f429]=_0x422111;return _0x59287d(_0x31b803),await _0xa6a972(_0x31b803,_0x35f854,_0xc5f429),_0xa492;}catch(_0x1d96bf){return!0x1;}function _0x59287d(_0x325626){const _0x158e54=_0x12a213(_0x325626);_0x158e54&&_0x158e54[_0x159092([0x61,0x6c,0x67])]==_0x159092([0x45,0x53,0x32,0x35,0x36])||(_0xa492=!0x1);}async function _0xa6a972(_0x157e20,_0xc53257,_0xfe0cef){const _0x5c2490=window[_0x159092([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x159092([0x66,0x72,0x6f,0x6d])](_0x237571(_0xfe0cef),_0x240b33=>_0x240b33[_0x159092([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b5264=new window[(_0x159092([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x159092([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x157e20+_0x159092([0x2e])+_0xc53257),_0x40c512=window[_0x159092([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x159092([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40c512)return;const _0x2bafe3=await _0x40c512[_0x159092([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x159092([0x6a,0x77,0x6b]),_0xed1623,{[_0x159092([0x6e,0x61,0x6d,0x65])]:_0x159092([0x45,0x43,0x44,0x53,0x41]),[_0x159092([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x159092([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x159092([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40c512[_0x159092([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x159092([0x6e,0x61,0x6d,0x65])]:_0x159092([0x45,0x43,0x44,0x53,0x41]),[_0x159092([0x68,0x61,0x73,0x68])]:{[_0x159092([0x6e,0x61,0x6d,0x65])]:_0x159092([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2bafe3,_0x5c2490,_0x2b5264)||(_0xa492=!0x1);}}function _0x12a213(_0x4449d3){return _0x4449d3[_0x159092([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x159092([0x65,0x79]))?JSON[_0x159092([0x70,0x61,0x72,0x73,0x65])](_0x237571(_0x4449d3)):null;}function _0x237571(_0x2cedd1){return window[_0x159092([0x61,0x74,0x6f,0x62])](_0x2cedd1[_0x159092([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x159092([0x2b]))[_0x159092([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x159092([0x2f])));}function _0x435f53(_0x1493a4){let _0x3512cd=0x1505;function _0x51af02(_0x49e05b){for(let _0x15d244=0x0;_0x15d244<_0x49e05b[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15d244++){const _0x5cbb81=_0x49e05b[_0x159092([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15d244);_0x3512cd=(_0x3512cd<<0x5)+_0x3512cd+_0x5cbb81,_0x3512cd&=_0x3512cd;}}function _0x1dca0f(_0x3af4a8){Array[_0x159092([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3af4a8)?_0x3af4a8[_0x159092([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dca0f):_0x3af4a8&&typeof _0x3af4a8==_0x159092([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x159092([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3af4a8)[_0x159092([0x73,0x6f,0x72,0x74])]()[_0x159092([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xffb8d5,_0x2223b7])=>{_0x51af02(_0xffb8d5),_0x1dca0f(_0x2223b7);}):_0x51af02(window[_0x159092([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3af4a8));}return _0x1dca0f(_0x1493a4),_0x3512cd>>>0x0;}function _0x23d83e(_0x286d8c){return _0x286d8c[_0x159092([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x159092([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x159092([0x30]));}function _0x358d3d(_0x508107){return _0x508107[_0x159092([0x73,0x70,0x6c,0x69,0x74])]('')[_0x159092([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x159092([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a4ee0(){}function _0x159092(_0x16a5e){return _0x16a5e['map'](_0x2cbd6d=>String['fromCharCode'](_0x2cbd6d))['join']('');}_0x4e8fc7(await _0x38a9c5());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x118db8=this['editor'],_0x53e87d=_0x118db8['editing']['view'],_0x4f959a=this['_getAttachedDomRoot']();if(!_0x4f959a||0x0===_0x4f959a['childElementCount'])return void _0x118db8['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x425e9f,pageHeight:_0x3133f8}=_0x118db8['config']['get']('pagination'),{top:_0x81df5,left:_0x4def1d,bottom:_0x42067d,right:_0x128258}=this['_configuredPaddings'];this['_pagesContainer']=new _0x269a83(_0x118db8['locale']);const _0x4353c2=this['_pagesContainer'];_0x4353c2['set']('class',''),_0x4353c2['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x425e9f,'width':_0x425e9f,'height':'calc(\x20'+_0x3133f8+'\x20-\x20'+_0x81df5+'\x20-\x20'+_0x42067d+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x128258+'\x200\x20'+_0x4def1d,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x4353c2['bindTemplate']['to']('class')}}),_0x4353c2['render'](),_0x4f959a['parentNode']['insertBefore'](_0x4353c2['element'],_0x4f959a['nextSibling']),this['listenTo'](_0x53e87d,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x40932a of this['editor']['editing']['view']['domRoots']['values']())if(_0x40932a['ownerDocument']['body']['contains'](_0x40932a))return _0x40932a;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x245f1e=this['editor']['editing']['view'],_0x2df374=this['_pagesContainer'],_0x418f06=this['_getAttachedDomRoot']();if(!_0x418f06)return Promise['resolve']();for(_0x2df374['class']=['ck-reset','ck-pagination-view',..._0x418f06['classList']]['join']('\x20');_0x2df374['element']['firstChild'];)_0x2df374['element']['firstChild']['remove']();const _0x33cc7e=Array['from'](_0x245f1e['domRoots']);_0x33cc7e['sort'](([,_0xbf95b9],[,_0xe1917d])=>_0xbf95b9['compareDocumentPosition'](_0xe1917d)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x13ad70,_0x38fd41]of _0x33cc7e){const _0x48055d=_0x38fd41['cloneNode'](!0x0);'attributeStyleMap'in _0x48055d&&_0x48055d['attributeStyleMap']['clear'](),_0x48055d['className']='',_0x48055d['removeAttribute']('id'),_0x48055d['dataset']['rootName']=_0x13ad70,_0x2df374['element']['append'](_0x48055d);}return function(_0x9b001f){return Promise['all'](_0x9b001f['map'](_0x433070=>Promise['race']([p(_0x433070),y(0x3e8)])));}(Array['from'](_0x2df374['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x298254=this['_pagesContainer']['element'];if(!_0x298254['ownerDocument']['body']['contains'](_0x298254))return;const _0x7c5717=new _0x32dde5(_0x298254)['excludeScrollbarsAndBorders'](),_0x2f29c6=_0x19a60f['window']['getComputedStyle'](_0x298254),_0x7d32f1=parseFloat(_0x2f29c6['paddingLeft'])+parseFloat(_0x2f29c6['paddingRight']),_0x233145=Math['floor'](_0x7c5717['width']+0x64-_0x7d32f1),_0x10602f=x(_0x298254,Math['floor'](_0x7c5717['left']-_0x298254['scrollLeft']),_0x233145,_0x7c5717['height'])['map'](_0x57ec7c=>this['_mapPageStarterInfoToPageBreakInfo'](_0x57ec7c));_0x10602f['every'](_0x331aca=>!!_0x331aca)&&(this['pageBreaks']=_0x10602f);}['_mapPageStarterInfoToPageBreakInfo'](_0x1ae3fd){const _0xa7ea3e=this['editor']['editing']['view'],_0x52974b=this['editor']['editing']['mapper'],_0x2f2d94=_0xa7ea3e['domConverter'],_0x993262=_0x1ae3fd['path']['shift'](),_0x113db4=this['_pagesContainer']['element']['childNodes'][_0x993262]['dataset']['rootName'],_0x56b642=_0xa7ea3e['getDomRoot'](_0x113db4);if(!_0x56b642)return null;const _0x1fc64a=function(_0x33abd7,_0x5acd07){let _0x2ae534=_0x33abd7;for(const _0x33f32c of _0x5acd07['path']){if(!_0x2ae534)return null;_0x2ae534=_0x2ae534['childNodes'][_0x33f32c];}return _0x2ae534;}(_0x56b642,_0x1ae3fd);if(!_0x1fc64a)return null;const _0x166ab3=_0x2f2d94['domPositionToView'](_0x1fc64a,_0x1ae3fd['textOffset']||0x0);return _0x166ab3?'manual'==_0x1ae3fd['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x166ab3,_0x1fc64a):'text'==_0x1ae3fd['type']&&_0x52974b['toModelPosition'](_0x166ab3)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x166ab3,_0x1fc64a,_0x1ae3fd['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x166ab3,_0x1fc64a,_0x1ae3fd['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x346e97,_0x4c0216){const _0x1a3331=this['editor']['model'],_0x44fe4f=this['editor']['editing']['mapper']['toModelElement'](_0x346e97['parent']),_0x2325cc=_0x1a3331['createRangeOn'](_0x44fe4f);return new K({'type':'manual','modelRange':_0x2325cc,'domNode':_0x4c0216,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x39a3ac,_0x304f49,_0x52e7eb){const _0x13c0e9=this['editor']['model'],_0x2e6748=this['editor']['editing']['mapper'],_0x36e0ae=this['editor']['editing']['view']['domConverter'];if(_0x52e7eb>=_0x304f49['length'])return null;const _0x2ddec0=_0x2e6748['toModelPosition'](_0x39a3ac),_0x475a15=_0x13c0e9['createRange'](_0x2ddec0),_0x3c6e3f=_0x2e6748['findMappedViewAncestor'](_0x39a3ac),_0x362c84=_0x36e0ae['mapViewToDom'](_0x3c6e3f);return new K({'type':'text','modelRange':_0x475a15,'domNode':_0x304f49,'offset':m(_0x304f49,_0x52e7eb,_0x362c84)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4c73ff,_0x5bcb29,_0x2d79cf){const _0x36d984=this['editor']['model'],_0x391057=this['editor']['editing'],_0x4321d9=_0x391057['mapper'],_0x12ddfc=_0x391057['view']['domConverter'],_0x3cf10e=_0x4321d9['findMappedViewAncestor'](_0x4c73ff),_0x4d5d77=_0x4321d9['toModelElement'](_0x3cf10e),_0x5c26da=function(_0x3bf17c){const _0x4673be=_0x3bf17c['parent'],_0x1a22bb=_0x4673be['root']['document']['model'],_0xbb56f=_0x4673be['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x599948=null;for(const _0x1c9d39 of _0xbb56f){if(_0x1c9d39['is']('rootElement'))return _0x599948;if(!_0x1a22bb['createPositionBefore'](_0x1c9d39)['isTouching'](_0x3bf17c))return _0x599948;_0x599948=_0x1c9d39;}}(_0x36d984['createPositionBefore'](_0x4d5d77)),_0x39533f=_0x5c26da||_0x4d5d77;let _0x244726=_0x4321d9['toViewElement'](_0x39533f),_0x1cef6c=_0x36d984['createRangeOn'](_0x39533f);const _0x5a99ec=_0x36d984['createPositionBefore'](_0x39533f)['nodeBefore'];if(_0x5a99ec&&_0x5a99ec['is']('element','imageBlock')){const _0x156467=_0x4321d9['toViewElement'](_0x5a99ec),_0x89a176=_0x12ddfc['mapViewToDom'](_0x156467),_0x36046b=_0x19a60f['window']['getComputedStyle'](_0x89a176)['float'];'left'!=_0x36046b&&'right'!=_0x36046b||(_0x1cef6c=_0x36d984['createRangeOn'](_0x5a99ec));}for(;_0x244726['parent']!==_0x244726['root']&&0x0===_0x244726['index'];)_0x244726=_0x244726['parent'];const _0x409168=new _0x32dde5(S(_0x5bcb29)?_0x5bcb29:P(_0x5bcb29)),_0x3e71de=_0x2d79cf?_0x409168['height']-_0x2d79cf:0x0,_0x4ec643=_0x12ddfc['mapViewToDom'](_0x244726),_0x2b530a=new _0x32dde5(_0x4ec643);return new K({'type':'element','modelRange':_0x1cef6c,'domNode':_0x4ec643,'offset':Math['round'](_0x3e71de)?_0x3e71de+_0x409168['top']-_0x2b530a['top']:0x0});}get['_configuredPaddings'](){const _0x338250=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x338250);}static['_findPageStarterInfos'](_0x17a8dc,_0x1ee8d3,_0x3e7809,_0x3477a1,_0x3c7e9a){return x(_0x17a8dc,_0x1ee8d3,_0x3e7809,_0x3477a1,_0x3c7e9a);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x63731a,modelRange:_0x1e023f,domNode:_0x1b185a,offset:_0x535be5}){this['type']=_0x63731a,this['modelRange']=_0x1e023f,this['_domNode']=_0x1b185a,this['_offset']=_0x535be5;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x1f961f=new _0x32dde5(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x1f961f['top']+_0x1f961f['height']/0x2:_0x1f961f['top']+this['_offset'];}}function m(_0x55da5b,_0x5b8da4,_0x2c50b3){const _0x6fd52=P(_0x55da5b),_0x7462cd=function(_0x39c1fa){const _0x3eafda=_0x19a60f['document']['createRange']();return _0x3eafda['selectNodeContents'](_0x39c1fa),_0x3eafda;}(_0x2c50b3);let _0x11adab;_0x11adab=0x0==_0x5b8da4?b(_0x7462cd['startContainer'],_0x7462cd['startOffset'],_0x55da5b['parentNode'],Array['from'](_0x55da5b['parentNode']['childNodes'])['indexOf'](_0x55da5b)):b(_0x7462cd['startContainer'],_0x7462cd['startOffset'],_0x55da5b,_0x5b8da4);const _0x170309=b(_0x55da5b,_0x5b8da4,_0x7462cd['endContainer'],_0x7462cd['endOffset']),_0x5e9ec5=new _0x32dde5(_0x11adab)['bottom'];return(new _0x32dde5(_0x170309)['top']+_0x5e9ec5)/0x2-new _0x32dde5(_0x6fd52)['top'];}function p(_0x58b4b8){return _0x58b4b8['hasAttribute']('width')&&_0x58b4b8['hasAttribute']('height')?Promise['resolve']():new Promise(_0x49da1e=>{function _0x5596fb(){_0x58b4b8['removeEventListener']('load',_0x5596fb),_0x58b4b8['removeEventListener']('error',_0x5596fb),_0x49da1e();}_0x58b4b8['complete']?_0x49da1e():(_0x58b4b8['addEventListener']('load',_0x5596fb),_0x58b4b8['addEventListener']('error',_0x5596fb));});}function y(_0x2152b9){return new Promise(_0xa7dec8=>setTimeout(_0xa7dec8,_0x2152b9));}function P(_0x6c73cc){const _0x4de333=_0x19a60f['document']['createRange']();return _0x4de333['selectNode'](_0x6c73cc),_0x4de333;}function k(_0x369125,_0x2eea52,_0x4663d9){const _0x3ae474=_0x19a60f['document']['createRange']();return _0x3ae474['setStart'](_0x369125,_0x2eea52),_0x3ae474['setEnd'](_0x369125,_0x4663d9),_0x3ae474;}function b(_0x2adb8e,_0x2112dd,_0x3d6e17,_0x2aac6a){const _0x43877c=_0x19a60f['document']['createRange']();return _0x43877c['setStart'](_0x2adb8e,_0x2112dd),_0x43877c['setEnd'](_0x3d6e17,_0x2aac6a),_0x43877c;}function x(_0x48267b,_0x101b99,_0x1e7c0a,_0x337b14,_0x5ad70e){const _0x10ae22=[];for(const [_0x5abecd,_0x34e78d]of _0x48267b['childNodes']['entries']()){let _0x494263=[];S(_0x34e78d)&&_0x34e78d['offsetParent']&&!_0x34e78d['style']['position']?_0x494263=_(_0x34e78d,_0x5abecd,_0x101b99,_0x1e7c0a,_0x337b14,_0x5ad70e):R(_0x34e78d)&&(_0x494263=B(_0x34e78d,_0x5abecd,_0x101b99,_0x1e7c0a,_0x5ad70e)),_0x494263['length']&&(_0x10ae22['push'](..._0x494263),_0x101b99+=_0x494263['length']*_0x1e7c0a,_0x5ad70e=!0x1);}return _0x10ae22;}function _(_0x5ce05b,_0x2364b2,_0x3ff203,_0x30ccff,_0x5a3b94,_0x28f37f){const _0x260f63=[];var _0x45da51;if((_0x45da51=_0x5ce05b['previousSibling'])&&S(_0x45da51)&&Boolean(_0x45da51['classList']['contains']('page-break')||_0x45da51['closest']('.page-break'))&&(_0x260f63['push']({'type':'manual','offset':0x0,'path':[_0x2364b2-0x1]}),_0x28f37f=!0x0),'table-row'==_0x19a60f['window']['getComputedStyle'](_0x5ce05b)['display']){let _0xb266f8=0x0,_0x49911a=!0x1;for(const _0x319cec of _0x5ce05b['getClientRects']())_0xb266f8+=_0x319cec['height'],_0x319cec['left']>=_0x3ff203&&(_0x49911a=!0x0);if(_0xb266f8<_0x5a3b94&&_0x49911a)return _0x260f63['push']({'type':'element','offset':0x0,'path':[_0x2364b2]}),_0x260f63;}const _0x1bbae4=_0x5ce05b['closest']('figure.image');if(_0x1bbae4&&function(_0x4aacca){let _0x4e9403=!0x1;const _0x372528=_0x4aacca['parentElement'],_0x303f3c=_0x372528['dataset']['rootName'],_0x5821a5=_0x4aacca['nextElementSibling'],_0x5cb0c7=_0x4aacca['previousElementSibling'],_0x37b5f8=_0x5821a5&&_0x19a60f['window']['getComputedStyle'](_0x5821a5)['float'],_0x5eefc6=_0x5821a5&&'ck-fake-selection-container'===_0x5821a5['className'];!_0x303f3c||_0x5821a5||_0x5cb0c7||(_0x4e9403=!0x0),_0x303f3c&&!_0x5cb0c7&&_0x5eefc6&&(_0x4e9403=!0x0),_0x303f3c&&!_0x5cb0c7&&'none'!==_0x37b5f8&&(_0x4e9403=!0x0);if(_0x4e9403)return!0x1;return!0x0;}(_0x1bbae4)){const _0x16dd88=_0x19a60f['window']['getComputedStyle'](_0x1bbae4)['float'];if('left'==_0x16dd88||'right'==_0x16dd88)return _0x260f63;}const _0x39df01=x(_0x5ce05b,_0x3ff203,_0x30ccff,_0x5a3b94,_0x28f37f);if(_0x39df01['length']){for(const _0x469e8d of _0x39df01)_0x260f63['push']({'type':_0x469e8d['type'],'offset':_0x469e8d['offset'],'textOffset':_0x469e8d['textOffset'],'path':[_0x2364b2,..._0x469e8d['path']]}),_0x3ff203+=_0x30ccff,_0x28f37f=!0x1;return _0x260f63;}return _0x260f63['push'](...function(_0x401d01,_0x3930da,_0x28b7dd,_0x7579fe,_0x19937c){const _0x4930a4=[];if('table-cell'==_0x19a60f['window']['getComputedStyle'](_0x401d01)['display'])return[];const _0x4cbdf1=[];for(const _0x236fce of _0x401d01['getClientRects']())if(_0x236fce['left']>=_0x28b7dd){for(const _0x3b8c7e of _0x4cbdf1)_0x3b8c7e['height']+=_0x236fce['height'];_0x4cbdf1['push']({'height':_0x236fce['height']}),_0x28b7dd+=_0x7579fe;}for(const _0x45b876 of _0x4cbdf1)_0x19937c||_0x4930a4['push']({'type':'element','offset':_0x45b876['height'],'textOffset':0x0,'path':[_0x3930da]}),_0x19937c=!0x1;return _0x4930a4;}(_0x5ce05b,_0x2364b2,_0x3ff203,_0x30ccff,_0x28f37f)),_0x260f63;}function B(_0x4018dd,_0x38da21,_0x3ab34e,_0x31864a,_0x2aa103){const _0x52b0ab=P(_0x4018dd),_0x1db3de=[];let _0x11f6b2=0x0;for(const _0x1dd0d7 of _0x52b0ab['getClientRects']())if(_0x1dd0d7['left']>=_0x3ab34e){const _0x1db1ff=I(_0x4018dd,_0x11f6b2,_0x3ab34e,_0x31864a);_0x2aa103||_0x1db3de['push']({'type':'text','path':[_0x38da21],'textOffset':_0x1db1ff}),_0x11f6b2=_0x1db1ff,_0x3ab34e+=_0x31864a,_0x2aa103=!0x1;}return _0x1db3de;}function I(_0x406d5e,_0x8bd623,_0x2a328d,_0x6fc46f){let _0x592bb4=_0x8bd623,_0xe63092=_0x406d5e['length'];for(;_0xe63092-_0x592bb4>0x1;){const _0x2fa830=Math['ceil']((_0x592bb4+_0xe63092)/0x2);N(k(_0x406d5e,_0x592bb4,_0x2fa830),_0x2a328d,_0x6fc46f)?_0xe63092=_0x2fa830:_0x592bb4=_0x2fa830;}return _0x592bb4;}function N(_0x299d4c,_0x531f17,_0x3b6b20){for(const _0x237d04 of _0x299d4c['getClientRects']())if(_0x237d04['left']>=_0x531f17&&_0x237d04['left']<_0x531f17+_0x3b6b20)return!0x0;return!0x1;}function S(_0xe43bbe){return _0xe43bbe['nodeType']==Node['ELEMENT_NODE'];}function R(_0x2b2f04){return _0x2b2f04['nodeType']==Node['TEXT_NODE'];}const z=_0xa9bbac('px');class V extends _0x269a83{constructor(){super();const _0x22720a=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x22720a['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x22720a['if']('isVisible','ck-hidden',_0x5933fe=>!_0x5933fe)],'style':{'left':_0x22720a['to']('left',_0x3da1dc=>z(_0x3da1dc)),'top':_0x22720a['to']('top',_0x447ccf=>z(_0x447ccf)),'width':_0x22720a['to']('width',_0x4eaaf3=>z(_0x4eaaf3))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x304fa3){this['_viewCollection']=_0x304fa3['ui']['view']['body'];}['destroy'](){for(const _0x444dda of this['_hiddenLines'])_0x444dda['destroy']();}['cleanLines'](){for(const _0x57db98 of this['_visibleLines'])_0x57db98['isVisible']=!0x1,this['_hiddenLines']['add'](_0x57db98);this['_visibleLines']['clear']();}['showLine'](_0x3940df,_0x13d89c,_0x33c689,_0x420f7b){let _0x1b1031;this['_hiddenLines']['size']?(_0x1b1031=_0x483d63(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x1b1031)):_0x1b1031=new V(),_0x1b1031['set']({'pageNumber':_0x420f7b,'left':_0x3940df,'top':_0x13d89c,'width':_0x33c689}),_0x1b1031['isVisible']=!0x0,this['_viewCollection']['has'](_0x1b1031)||this['_viewCollection']['add'](_0x1b1031),this['_visibleLines']['add'](_0x1b1031);}['setViewCollection'](_0x346499){for(const _0x278200 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x278200)&&this['_viewCollection']['remove'](_0x278200);this['_viewCollection']=_0x346499;}}const L='ck-pagination_enabled';class c extends _0x45f5b5{['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',(_0xf2d060,_0x320585,_0x3f15dd)=>{_0x3f15dd||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x3f15dd);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x11ce27){if(!this['isEnabled'])return;const _0x2c7b3b=_0x11ce27>0x1?this['_getPageBreakLineOffset'](_0x11ce27-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x2c7b3b-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x654b69['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x6db715=this['editor'],_0x372e0a=this['_getAttachedDomRoot']();_0x372e0a?(this['_scrollableEditingRootDomAncestor']&&_0x6db715['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x1abfd3){let _0x4b29dd=_0x1abfd3;do{_0x4b29dd=_0x4b29dd['parentElement'];const _0x10e792=_0x19a60f['window']['getComputedStyle'](_0x4b29dd)['overflowY'];if('auto'==_0x10e792||'scroll'==_0x10e792)break;}while('BODY'!=_0x4b29dd['tagName']);return _0x4b29dd;}(_0x372e0a),_0x6db715['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x314d14(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x6db715['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x740b1b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x740b1b['ui']['view']['listenTo'](_0x19a60f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x740b1b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x5ce355 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5ce355['ownerDocument']['body']['contains'](_0x5ce355))return _0x5ce355;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5d9b3f=this['_getAttachedDomRoot'](),_0x1860a2=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5d9b3f||0x1==_0x1860a2['length'])return void(this['pageNumber']=0x1);const _0x8aeaaa=new _0x32dde5(_0x5d9b3f)['excludeScrollbarsAndBorders'](),_0x3f0fc7=new _0x32dde5(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4e2d70=_0x3f0fc7['top']+_0x3f0fc7['height']/0x3;let _0x58d198=!0x1;const _0x2a054f=[];for(let _0x1b7434=0x1;_0x1b7434<_0x1860a2['length'];_0x1b7434++){const _0x319074=this['_getPageBreakLineOffset'](_0x1b7434,_0x3f0fc7);if(!_0x319074)continue;const _0x3535ac=_0x3f0fc7['top']+_0x319074-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x2a054f['push']({'pageOffsetTop':_0x3535ac,'domRootRect':_0x8aeaaa,'domScrollableRect':_0x3f0fc7,'pageNumber':_0x1b7434}),_0x3535ac>_0x4e2d70&&!_0x58d198&&(this['pageNumber']=_0x1b7434,_0x58d198=!0x0);}this['_renderPageBreakLines'](_0x2a054f),_0x58d198||(this['pageNumber']=_0x1860a2['length']);}['_renderPageBreakLines'](_0x2f2fd2){const {scrollX:_0xacbf80,scrollY:_0x1ac272}=_0x19a60f['window'];if(_0x2f2fd2['length']){for(const {domScrollableRect:_0x4e3422,pageOffsetTop:_0x2fee53,domRootRect:_0x2c668b,pageNumber:_0x7deee9}of _0x2f2fd2)_0x4e3422['top']<_0x2fee53&&_0x2fee53<_0x4e3422['bottom']&&this['linesRepository']['showLine'](_0x2c668b['left']+_0xacbf80,_0x2fee53+_0x1ac272,_0x2c668b['width'],_0x7deee9+0x1);}}['_getPageBreakLineOffset'](_0x39a334,_0x1904c1=null){const _0x2bb379=this['_paginationLookupPlugin']['pageBreaks'][_0x39a334]['offset'];return _0x2bb379?(_0x1904c1||(_0x1904c1=new _0x32dde5(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2bb379-_0x1904c1['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x5c7e58,_0x3e4e30=!0x0){const _0x1fe3ed=this['editor']['editing']['view'];_0x1fe3ed['change'](_0x50b133=>{for(const _0x58954d of _0x1fe3ed['document']['roots'])_0x3e4e30?_0x50b133['addClass'](_0x5c7e58,_0x58954d):_0x50b133['removeClass'](_0x5c7e58,_0x58954d);});}}function g(_0x5c4f1f,_0x26b422,..._0x425be7){const t=_0x5c4f1f['t'];switch(_0x26b422){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)',..._0x425be7);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 _0x26b422;}}class s extends _0x45f5b5{['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 _0x4d063b=this['editor']['plugins']['get']('Pagination'),_0xaa6a5a=this['editor']['plugins']['get'](n),_0x4d5bd9=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x4d063b),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4d5bd9),this['listenTo'](_0xaa6a5a,'change:pageBreaks',(_0x2e8554,_0x3938fb,_0x4b5a58,_0x4b924a)=>{this['totalPages']=_0x4b5a58['length'],this['_updatePageBreakMarkers'](_0x4b5a58,_0x4b924a);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f201b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x44b873;for(const _0x4276a5 in _0x3f201b){const _0x2d5436=_0x4276a5,_0x1a8bf4=_0x3f201b[_0x2d5436];if('paginationLicenseKeyValid'==_0x1a8bf4||'paginationLicenseKeyInvalid'==_0x1a8bf4||'paginationLicenseKeyExpired'==_0x1a8bf4||'paginationLicenseKeyDomainLimit'==_0x1a8bf4||'paginationLicenseKeyNotAllowed'==_0x1a8bf4||'paginationLicenseKeyEvaluationLimit'==_0x1a8bf4||'paginationLicenseKeyTrialLimit'==_0x1a8bf4||'paginationLicenseKeyUsageLimit'==_0x1a8bf4){delete _0x3f201b[_0x2d5436],_0x44b873=_0x1a8bf4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x44b873&&_0x3f201b['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x44b873&&_0x3f201b['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x44b873&&_0x3f201b['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x44b873&&_0x3f201b['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x44b873&&_0x3f201b['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x44b873&&_0x3f201b['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x44b873&&_0x3f201b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0xc5edfd){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0xc5edfd));}['moveSelectionToPage'](_0x947f7c){if(!this['isEnabled'])return;const _0xebaea7=this['editor'],_0x552c91=this['editor']['plugins']['get'](n)['pageBreaks'][_0x947f7c-0x1];_0x552c91&&_0xebaea7['model']['change'](_0x31fe22=>{switch(_0x552c91['type']){case'manual':{const _0xf232f3=_0xebaea7['model']['schema']['getNearestSelectionRange'](_0x552c91['modelRange']['end'],'forward');_0x31fe22['setSelection'](_0xf232f3);break;}case'element':{const _0x1cd484=_0xebaea7['model']['schema']['getNearestSelectionRange'](_0x552c91['modelRange']['start'],'forward');_0x31fe22['setSelection'](_0x1cd484);break;}case'text':{const _0x2d2826=_0x552c91['modelRange']['start'];if(_0x2d2826['textNode']&&'\x20'===_0x2d2826['textNode']['data'][_0x2d2826['offset']]){const _0x57de28=_0x31fe22['createPositionAt'](_0x2d2826['parent'],_0x2d2826['offset']+0x1);_0x31fe22['setSelection'](_0x57de28);}else _0x31fe22['setSelection'](_0x552c91['modelRange']);}}_0xebaea7['editing']['view']['focus']();});}['goToNextPage'](){const _0x329ddc=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x329ddc),this['scrollToPage'](_0x329ddc);}['goToPreviousPage'](){const _0x593121=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x593121),this['scrollToPage'](_0x593121);}['_updatePageBreakMarkers'](_0x465f6b,_0xbe2697){const _0x4bcdab=this['editor']['model'];this['isEnabled']&&_0x4bcdab['change'](_0x4b8fcd=>{for(let _0x37266e=0x1;_0x37266e<_0x465f6b['length'];_0x37266e++){const _0x17dfa1=_0x465f6b[_0x37266e]['modelRange'],_0x5ca10c='pagination:'+(_0x37266e+0x1);_0x4bcdab['markers']['has'](_0x5ca10c)?_0x4b8fcd['updateMarker'](_0x5ca10c,{'range':_0x17dfa1}):_0x4b8fcd['addMarker'](_0x5ca10c,{'range':_0x17dfa1,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x646cda=_0x465f6b['length'];_0x646cda<_0xbe2697['length'];_0x646cda++){const _0x15eb98='pagination:'+(_0x646cda+0x1);_0x4bcdab['markers']['has'](_0x15eb98)&&_0x4b8fcd['removeMarker'](_0x15eb98);}});}['_setUpDataDowncastConversion'](){const _0x11e6cc='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2170bf=>{_0x2170bf['on']('addMarker:'+_0x11e6cc,(_0x43fae0,{markerRange:_0x17309d,markerName:_0x39aa99},_0x26ebd5)=>{if(!_0x26ebd5['options']['pagination'])return;if(!_0x26ebd5['consumable']['consume'](_0x17309d,_0x43fae0['name']))return;const _0x291970=_0x17309d['getContainedElement']();let _0x1da2b2=_0x291970?_0x26ebd5['mapper']['toViewElement'](_0x291970):null;if(!_0x1da2b2){const _0x238f19=_0x17309d['start'];if(_0x26ebd5['schema']['checkChild'](_0x238f19,'$text')){const _0xc620e=_0x26ebd5['mapper']['toViewPosition'](_0x238f19);_0x1da2b2=_0x26ebd5['writer']['createContainerElement']('span'),_0x1da2b2['getFillerOffset']=()=>null,_0x26ebd5['writer']['insert'](_0xc620e,_0x1da2b2);}else{const _0x243421=_0x238f19['nodeAfter'];_0x1da2b2=_0x26ebd5['mapper']['toViewElement'](_0x243421);}}for(;_0x1da2b2['parent']!==_0x1da2b2['root']&&0x0===_0x1da2b2['index'];)_0x1da2b2=_0x1da2b2['parent'];const _0x2374ea=_0x39aa99['substring'](0xb);_0x1da2b2['hasClass']('page-break')||(_0x26ebd5['writer']['setStyle']('page-break-before','always',_0x1da2b2),_0x26ebd5['writer']['setAttribute']('data-pagination-page',_0x2374ea,_0x1da2b2),_0x26ebd5['mapper']['bindElementToMarker'](_0x1da2b2,_0x39aa99)),_0x43fae0['stop']();});});}['_setupKeystrokes'](){const _0x581ba5=this['editor'];_0x581ba5['keystrokes']['set']('Shift+Pageup',(_0x5184ef,_0x2d1164)=>{this['goToPreviousPage'](),_0x2d1164();}),_0x581ba5['keystrokes']['set']('Shift+Pagedown',(_0x2d6044,_0x14aa5d)=>{this['goToNextPage'](),_0x14aa5d();}),_0x581ba5['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x581ba5['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x581ba5['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x581ba5['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x5bf78d){return _0x5bf78d<0x1&&(_0x5bf78d=0x1),_0x5bf78d>this['totalPages']&&(_0x5bf78d=this['totalPages']),_0x5bf78d;}}class U extends _0x269a83{['pageNumberView'];constructor(_0xb93aa0){super(_0xb93aa0);const _0x45f2cd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0xe109e5(_0xb93aa0,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x4807ad=>g(_0xb93aa0,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x4807ad)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x68ac7e=>!_0x68ac7e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x45f2cd['if']('isEnabled','ck-disabled',_0x724282=>!_0x724282)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x45f2cd['to']('totalPages')}]}]});}['render'](){super['render']();const _0x11fbd3=this['pageNumberView']['element'],_0x2033a7=_0x51f79a=>{this['pageNumberView']['element']['value']=String(_0x51f79a);};_0x2033a7(this['pageNumber']),this['on']('change:pageNumber',(_0x2b0409,_0x4befb8,_0x439f3c)=>{_0x2033a7(_0x439f3c);}),this['listenTo'](_0x11fbd3,'keydown',(_0x298da0,_0x2177f4)=>{if('ArrowUp'===_0x2177f4['key']||'ArrowDown'===_0x2177f4['key'])return void _0x2177f4['stopPropagation']();if(_0x2177f4['keyCode']!==_0x516fec['enter'])return;_0x2177f4['preventDefault']();const _0x2cbc5f=_0x11fbd3['valueAsNumber'];Number['isNaN'](_0x2cbc5f)?_0x11fbd3['value']=String(this['pageNumber']):(_0x11fbd3['checkValidity']()?this['pageNumber']=_0x2cbc5f:_0x2cbc5f>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x11fbd3['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x11fbd3['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x11fbd3,'blur',()=>{_0x11fbd3['value']=String(this['pageNumber']);}),this['listenTo'](_0x11fbd3,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x45f5b5{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x463269=this['editor'],_0x256d3c=_0x463269['plugins']['get']('PaginationEditing');_0x463269['ui']['componentFactory']['add']('pageNavigation',_0x5029ee=>{const _0x269eab=new U(_0x5029ee);return _0x269eab['bind']('pageNumber')['to'](_0x256d3c),_0x269eab['bind']('totalPages')['to'](_0x256d3c),_0x269eab['bind']('isEnabled')['to'](_0x256d3c),_0x269eab['on']('navigation',(_0x157972,_0x3d19c0)=>{_0x256d3c['moveSelectionToPage'](_0x3d19c0),_0x256d3c['scrollToPage'](_0x3d19c0);}),_0x269eab;}),_0x463269['ui']['componentFactory']['add']('nextPage',_0x4e561e=>{const _0x25845a=new _0x109184(_0x4e561e);return _0x25845a['isEnabled']=!0x0,_0x25845a['label']=g(_0x463269['locale'],'Go\x20to\x20next\x20page'),_0x25845a['icon']=_0xee813e,_0x25845a['tooltip']=!0x0,_0x25845a['keystroke']='Shift+PageDown',_0x25845a['bind']('isEnabled')['to'](_0x256d3c),this['listenTo'](_0x25845a,'execute',()=>{_0x256d3c['goToNextPage']();}),_0x25845a;}),_0x463269['ui']['componentFactory']['add']('previousPage',_0x5389cd=>{const _0x3d5d12=new _0x109184(_0x5389cd);return _0x3d5d12['isEnabled']=!0x0,_0x3d5d12['label']=g(_0x463269['locale'],'Go\x20to\x20previous\x20page'),_0x3d5d12['icon']=_0x1a3ab1,_0x3d5d12['tooltip']=!0x0,_0x3d5d12['keystroke']='Shift+PageUp',_0x3d5d12['bind']('isEnabled')['to'](_0x256d3c),this['listenTo'](_0x3d5d12,'execute',()=>{_0x256d3c['goToPreviousPage']();}),_0x3d5d12;});}}class a extends _0x45f5b5{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0xfd75a2){super(_0xfd75a2),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x23a402=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x23a402),this['bind']('totalPages')['to'](_0x23a402),_0x654b69['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x34f199){this['editor']['plugins']['get'](s)['scrollToPage'](_0x34f199);}}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':_0x21e36a=>0x1!=_0x21e36a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x56928c=>{const {af:{dictionary:_0x848e09,getPluralForm:_0x46246c}}={'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':_0x34ebed=>0x1!=_0x34ebed}};_0x56928c['af']||={'dictionary':{},'getPluralForm':null},_0x56928c['af']['dictionary']=Object['assign'](_0x56928c['af']['dictionary'],_0x848e09),_0x56928c['af']['getPluralForm']=_0x46246c;})(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':_0x28aad0=>0x0==_0x28aad0?0x0:0x1==_0x28aad0?0x1:0x2==_0x28aad0?0x2:_0x28aad0%0x64>=0x3&&_0x28aad0%0x64<=0xa?0x3:_0x28aad0%0x64>=0xb?0x4:0x5}};
|