@ckeditor/ckeditor5-pagination 45.1.0-alpha.7 → 45.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/pagination.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/pagination.js +1 -1
- package/src/paginationediting.js +1 -1
- package/src/paginationlookup.js +1 -1
- package/src/paginationrenderer.js +1 -1
- package/src/paginationui.js +1 -1
- package/src/ui/linesrepository.js +1 -1
- package/src/ui/lineview.js +1 -1
- package/src/ui/pagenavigatorview.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/pagination.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>X});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=l;!function(t){const e=l,n=t();for(;;)try{if(169856===-parseInt(e(313))/1+-parseInt(e(398))/2*(-parseInt(e(401))/3)+parseInt(e(338))/4+parseInt(e(312))/5*(-parseInt(e(385))/6)+parseInt(e(329))/7+-parseInt(e(400))/8+parseInt(e(363))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(d);class a extends t.Plugin{[r(450)]=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(319)]()),200);[r(351)]=null;static get[r(483)](){return r(317)}static get[r(330)](){return!0}static get[r(350)](){return!0}[r(387)](){const t=r;if(this[t(487)]({pageBreaks:[]}),!this[t(445)][t(392)][t(344)](t(424)))return void(0,o.logWarning)(t(467),this[t(445)][t(392)]);const e=this[t(445)][t(448)][t(344)](t(337));this[t(433)](t(439)).to(e),this[t(445)].ui[t(352)](t(410),(()=>this[t(442)]())),this.on(t(305),((e,n,i)=>{i&&this[t(450)]()}))}[r(416)](){!async function(t){const e=m([67,106,50,117,115,113,65,103,89,98,104,109,48,70,108,53,76,56,81,55,87,118,100,119,74,49,82,97,102,68,54,88,116,105,57,75,121,66,52,122,114,80,73,101,78,69,77,84,107,86,111,83,120,71,112,90,85,99,110,51,72,79]),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])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=l;return t[e(426)]((t=>String[e(457)](t)))[e(378)]("")}!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([67]);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])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])((c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])]((t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116])))[m([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[m([116,104,101,110])](c)[m([99,97,116,99,104])]((()=>{c(m([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),i=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])(((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}}),{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=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])](p(i),(t=>t[m([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1747180800;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=l,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(432)]);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(420)](){const t=r;super[t(420)](),this[t(351)]&&(this[t(450)][t(473)](),this[t(351)][t(420)](),this[t(351)][t(358)][t(412)]())}[r(442)](){const t=r,n=this[t(445)],i=n[t(455)][t(461)],o=this[t(489)]();if(!o||0===o[t(435)])return void n.ui[t(352)](t(405),(()=>this[t(442)]()));const{pageWidth:s,pageHeight:a}=n[t(392)][t(344)](t(424)),{top:c,left:u,bottom:l,right:p}=this[t(335)];this[t(351)]=new e.View(n[t(482)]);const f=this[t(351)];f[t(487)](t(394),""),f[t(381)]({tag:t(370),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(366)+a+t(486)+c+t(486)+l+" )",minWidth:t(361),minHeight:t(361),padding:"0 "+p+t(323)+u,columnGap:t(379),border:0,boxSizing:t(377),columnCount:t(361),columnFill:t(361),overflow:t(318),position:t(477),top:t(490),left:t(490)},tabindex:"-1",class:f[t(440)].to(t(394))}}),f[t(325)](),o[t(441)][t(481)](f[t(358)],o[t(353)]),this[t(406)](i,t(325),(()=>this[t(450)]()),{priority:t(368)}),this[t(450)]()}[r(489)](){const t=r;for(const e of this[t(445)][t(455)][t(461)][t(341)][t(447)]())if(e[t(360)][t(355)][t(443)](e))return e;return null}[r(319)](){const t=r;if(!this[t(439)])return Promise[t(342)]();const e=this[t(445)][t(455)][t(461)],n=this[t(351)],i=this[t(489)]();if(!i)return Promise[t(342)]();for(n[t(394)]=[t(380),t(458),...i[t(308)]][t(378)](" ");n[t(358)][t(471)];)n[t(358)][t(471)][t(412)]();const o=Array[t(413)](e[t(341)]);o[t(465)]((([,e],[,n])=>e[t(383)](n)==Node[t(421)]?1:-1));for(const[e,i]of o){const o=i[t(357)](!0);t(411)in o&&o[t(411)][t(331)](),o[t(306)]="",o[t(404)]("id"),o[t(430)][t(423)]=e,n[t(358)][t(310)](o)}return function(e){const n=t;return Promise[n(397)](e[n(426)]((t=>{return Promise[n(428)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(413)](n[t(358)][t(333)](t(375))))[t(328)]((()=>this[t(466)]()))}[r(466)](){const t=r,e=this[t(351)][t(358)];if(!e[t(360)][t(355)][t(443)](e))return;const n=new o.Rect(e)[t(425)](),i=o.global[t(372)][t(454)](e),s=parseFloat(i[t(307)])+parseFloat(i[t(324)]),a=Math[t(347)](n[t(417)]+100-s),c=m(e,Math[t(347)](n[t(479)]-e[t(340)]),a,n[t(365)])[t(426)]((e=>this[t(386)](e)));c[t(315)]((t=>!!t))&&(this[t(438)]=c)}[r(386)](t){const e=r,n=this[e(445)][e(455)][e(461)],i=this[e(445)][e(455)][e(478)],o=n[e(304)],s=t[e(356)][e(371)](),a=this[e(351)][e(358)][e(476)][s][e(430)][e(423)],c=n[e(427)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(356)]){if(!o)return null;o=o[i(476)][t]}return o}(c,t);if(!u)return null;const l=o[e(362)](u,t[e(332)]||0);return l?e(480)==t[e(320)]?this[e(402)](l,u):e(436)==t[e(320)]&&i[e(485)](l)[e(396)]?this[e(451)](l,u,t[e(332)]):this[e(475)](l,u,t[e(396)]):null}[r(402)](t,e){const n=r,i=this[n(445)][n(414)],o=this[n(445)][n(455)][n(478)][n(391)](t[n(462)]),s=i[n(348)](o);return new c({type:n(480),modelRange:s,domNode:e,offset:0})}[r(451)](t,e,n){const i=r,o=this[i(445)][i(414)],s=this[i(445)][i(455)][i(478)],a=this[i(445)][i(455)][i(461)][i(304)];if(n>=e[i(434)])return null;const l=s[i(485)](t),p=o[i(349)](l),f=s[i(384)](t),h=a[i(369)](f);return new c({type:i(436),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(475)](t,e,n){const i=r,s=this[i(445)][i(414)],a=this[i(445)][i(455)],u=a[i(478)],l=a[i(461)][i(304)],p=u[i(384)](t),h=u[i(391)](p),d=function(t){const e=i,n=t[e(462)],o=n[e(303)][e(459)][e(414)],s=n[e(336)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(399)))return r;if(!o[e(382)](n)[e(491)](t))return r;r=n}}(s[i(382)](h))||h;let g=u[i(453)](d),m=s[i(348)](d);const b=s[i(382)](d)[i(327)];if(b&&b.is(i(358),i(456))){const t=u[i(453)](b),e=l[i(369)](t),n=o.global[i(372)][i(454)](e)[i(468)];i(479)!=n&&i(364)!=n||(m=s[i(348)](b))}for(;g[i(462)]!==g[i(303)]&&0===g[i(390)];)g=g[i(462)];const w=new o.Rect(y(e)?e:f(e)),k=n?w[i(365)]-n:0,v=l[i(369)](g),I=new o.Rect(v);return new c({type:i(358),modelRange:m,domNode:v,offset:Math[i(464)](k)?k+w[i(395)]-I[i(395)]:0})}get[r(335)](){const t=r,e=this[t(445)][t(392)][t(344)](t(484));return Object[t(376)]({top:t(446),bottom:t(446),left:t(446),right:t(446)},e)}static[r(422)](t,e,n,i,o){return m(t,e,n,i,o)}}class c{[r(320)];[r(316)];[r(493)];[r(418)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(320)]=t,this[o(316)]=e,this[o(493)]=n,this[o(418)]=i}get[r(396)](){const t=r;if(!this[t(493)][t(360)][t(355)][t(443)](this[t(493)]))return 0;const e=new o.Rect(y(this[t(493)])?this[t(493)]:f(this[t(493)]));return t(480)==this[t(320)]?e[t(395)]+e[t(365)]/2:e[t(395)]+this[t(418)]}}function u(t,e,n){const i=r,s=f(t),a=function(t){const e=l,n=o.global[e(459)][e(349)]();return n[e(334)](t),n}(n);let c;c=0==e?g(a[i(388)],a[i(346)],t[i(441)],Array[i(413)](t[i(441)][i(476)])[i(469)](t)):g(a[i(388)],a[i(346)],t,e);const u=g(t,e,a[i(321)],a[i(359)]),p=new o.Rect(c)[i(444)];return(new o.Rect(u)[i(395)]+p)/2-new o.Rect(s)[i(395)]}function l(t,e){const n=d();return(l=function(t,e){return n[t-=303]})(t,e)}function p(t){const e=r;return t[e(474)](e(417))&&t[e(474)](e(365))?Promise[e(342)]():new Promise((n=>{const i=e;function o(){const e=l;t[e(437)](e(419),o),t[e(437)](e(393),o),n()}t[i(431)]?n():(t[i(322)](i(419),o),t[i(322)](i(393),o))}))}function f(t){const e=r,n=o.global[e(459)][e(349)]();return n[e(314)](t),n}function h(t,e,n){const i=r,s=o.global[i(459)][i(349)]();return s[i(409)](t,e),s[i(309)](t,n),s}function d(){const t=["getClientRects","afterInit","width","_offset","load","destroy","DOCUMENT_POSITION_PRECEDING","_findPageStarterInfos","rootName","pagination","excludeScrollbarsAndBorders","map","getDomRoot","race","TEXT_NODE","dataset","complete","href","bind","length","childElementCount","text","removeEventListener","pageBreaks","isEnabled","bindTemplate","parentNode","_onUiReady","contains","bottom","editor","10mm","values","plugins","figure.image","_recalculatePageBreaksDebounced","_mapTextPageStarterInfoToPageBreakInfo","push","toViewElement","getComputedStyle","editing","imageBlock","fromCharCode","ck-pagination-view","document","ELEMENT_NODE","view","parent","table-cell","round","sort","_updatePageBreaksData","pagination-config-not-found","float","indexOf","previousElementSibling","firstChild","table-row","cancel","hasAttribute","_mapElementPageStarterInfoToPageBreakInfo","childNodes","absolute","mapper","left","manual","insertBefore","locale","pluginName","pagination.pageMargins","toModelPosition"," - ","set","previousSibling","_getAttachedDomRoot","-99999px","isTouching","nodeType","_domNode","root","domConverter","change:isEnabled","className","paddingLeft","classList","setEnd","append","position","615245VGIhpc","104195uNiYIb","selectNode","every","modelRange","PaginationLookup","hidden","_recalculatePageBreaks","type","endContainer","addEventListener"," 0 ","paddingRight","render","offsetParent","nodeBefore","then","66437EktgUT","isOfficialPlugin","clear","textOffset","querySelectorAll","selectNodeContents","_configuredPaddings","getAncestors","PaginationEditing","811736pGlZXH","nextElementSibling","scrollLeft","domRoots","resolve",".page-break","get","closest","startOffset","floor","createRangeOn","createRange","isPremiumPlugin","_pagesContainer","once","nextSibling","none","body","path","cloneNode","element","endOffset","ownerDocument","auto","domPositionToView","239175NdApgs","right","height","calc( ","ceil","low","mapViewToDom","div","shift","window","display","entries","img","assign","border-box","join","100px","ck-reset","setTemplate","createPositionBefore","compareDocumentPosition","findMappedViewAncestor","6gdbtPh","_mapPageStarterInfoToPageBreakInfo","init","startContainer","parentElement","index","toModelElement","config","error","class","top","offset","all","1822aYsAHr","rootElement","666520fRRszC","795JHTEDg","_mapManualPageStarterInfoToPageBreakInfo","ck-fake-selection-container","removeAttribute","update","listenTo","page-break","style","setStart","ready","attributeStyleMap","remove","from","model"];return(d=function(){return t})()}function g(t,e,n,i){const s=r,a=o.global[s(459)][s(349)]();return a[s(409)](t,e),a[s(309)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(476)][s(374)]()){let t=[];y(c)&&c[s(326)]&&!c[s(408)][s(311)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(434)]&&(a[s(452)](...t),e+=t[s(434)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(488)])&&y(l)&&Boolean(l[c(308)][c(443)](c(407))||l[c(345)](c(343)))&&(u[c(452)]({type:c(480),offset:0,path:[e-1]}),a=!0),c(472)==o.global[c(372)][c(454)](t)[c(373)]){let i=0,o=!1;for(const e of t[c(415)]())i+=e[c(365)],e[c(479)]>=n&&(o=!0);if(i<s&&o)return u[c(452)]({type:c(358),offset:0,path:[e]}),u}const p=t[c(345)](c(449));if(p&&function(t){const e=c;let n=!1;const i=t[e(389)][e(430)][e(423)],s=t[e(339)],r=t[e(470)],a=s&&o.global[e(372)][e(454)](s)[e(468)],u=s&&e(403)===s[e(306)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(354)!==a&&(n=!0),!n}(p)){const t=o.global[c(372)][c(454)](p)[c(468)];if(c(479)==t||c(364)==t)return u}const f=m(t,n,i,s,a);if(f[c(434)]){for(const t of f)u[c(452)]({type:t[c(320)],offset:t[c(396)],textOffset:t[c(332)],path:[e,...t[c(356)]]}),n+=i,a=!1;return u}return u[c(452)](...function(t,e,n,i,s){const r=c,a=[];if(r(463)==o.global[r(372)][r(454)](t)[r(373)])return[];const u=[];for(const e of t[r(415)]())if(e[r(479)]>=n){for(const t of u)t[r(365)]+=e[r(365)];u[r(452)]({height:e[r(365)]}),n+=i}for(const t of u)s||a[r(452)]({type:r(358),offset:t[r(365)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(415)]())if(r[s(479)]>=n){const r=k(t,u,n,i);o||c[s(452)]({type:s(436),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function k(t,e,n,i){const o=r;let s=e,a=t[o(434)];for(;a-s>1;){const e=Math[o(367)]((s+a)/2);v(h(t,s,e),n,i)?a=e:s=e}return s}function v(t,e,n){const i=r;for(const o of t[i(415)]())if(o[i(479)]>=e&&o[i(479)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(492)]==Node[e(460)]}function I(t){const e=r;return t[e(492)]==Node[e(429)]}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=G,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 M=(0,o.toUnit)("px");function G(t,e){const n=D();return(G=function(t,e){return n[t-=258]})(t,e)}class B extends e.View{constructor(){const t=G;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=>M(t))),top:e.to(t(262),(t=>M(t))),width:e.to(t(269),(t=>M(t)))}}})}}function V(t,e){const n=j();return(V=function(t,e){return n[t-=296]})(t,e)}const K=V;function j(){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(j=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())}}(j);class U{[K(303)];[K(305)]=new Set;[K(300)]=new Set;constructor(t){const e=K;this[e(303)]=t.ui[e(311)][e(317)]}[K(309)](){const t=K;for(const e of this[t(300)])e[t(309)]()}[K(296)](){const t=K;for(const e of this[t(305)])e[t(299)]=!1,this[t(300)][t(321)](e);this[t(305)][t(297)]()}[K(304)](t,e,n,i){const s=K;let r;this[s(300)][s(320)]?(r=(0,o.first)(this[s(300)][s(298)]()),this[s(300)][s(318)](r)):r=new B,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)}[K(314)](t){const e=K;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=q();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())}}(q);const H=F(372);class X 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)](H),this.on(t(386),((e,n,i)=>{const o=t;i||this[o(439)][o(454)](),this[o(406)](H,i)}))}[F(380)](){const t=F;this[t(406)](H,!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 q(){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(q=function(){return t})()}function Q(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 W=n(761),J={attributes:{"data-cke":!0}};J.setAttributes=S(),J.insert=A().bind(null,"head"),J.domAPI=_(),J.insertStyleElement=C();x()(W.A,J);W.A&&W.A.locals&&W.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,X]}[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)](X);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)](X)[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:Q(e[t(388)],t(394)),keystrokes:[{label:Q(e[t(388)],t(308)),keystroke:t(372),mayRequireFn:!0},{label:Q(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=>Q(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)]=Q(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)]=Q(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})();
|
|
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:()=>Y});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=b;function a(){const t=["race","textOffset","518mnfeBp","bottom","classList","imageBlock","bindTemplate","calc( ","_findPageStarterInfos","style","fromCharCode","auto","mapViewToDom","once","isEnabled","firstChild","href","createRangeOn","editor","get","from","nodeType","load","parentNode","path","then","error","floor","plugins","isOfficialPlugin","_mapManualPageStarterInfoToPageBreakInfo","getComputedStyle","position","editing","remove","87726HVCEBy","parentElement","type","_onUiReady","class","selectNodeContents","update","39sJzOID","ready","paddingLeft","_mapPageStarterInfoToPageBreakInfo","11570aBRlbi","setStart","none","dataset","index","locale","bind","text","element","clear","table-cell"," 0 ","display","nextSibling","pagination","hasAttribute","PaginationLookup","className","div","all","body","TEXT_NODE","ELEMENT_NODE","removeEventListener","set","createPositionBefore","compareDocumentPosition","indexOf","closest","every","assign","9774801TkRAyc","toModelPosition","contains","ceil","domConverter","float","4301wzZEnp","PaginationEditing","cancel","afterInit","rootElement","_mapElementPageStarterInfoToPageBreakInfo","complete","_getAttachedDomRoot","isTouching","map","pagination-config-not-found","attributeStyleMap","config","toViewElement","pagination.pageMargins","setEnd","window","domPositionToView","shift","startOffset","destroy","_mapTextPageStarterInfoToPageBreakInfo","length","_pagesContainer","render","53810pJSFWp","addEventListener","createRange","isPremiumPlugin","mapper","view","border-box","removeAttribute","width","insertBefore","offsetParent","absolute","endOffset","document","getDomRoot","left","paddingRight","right","modelRange","domRoots","startContainer","_configuredPaddings","10mm","excludeScrollbarsAndBorders","getClientRects","round","root","cloneNode","setTemplate","values","_recalculatePageBreaksDebounced","offset","-99999px","_domNode","8UuXrVZ","querySelectorAll","100px","entries","push","6789032qCnwJC","parent","childElementCount","init","previousElementSibling",".page-break","previousSibling","hidden","img","model","listenTo","join","pageBreaks","_updatePageBreaksData","append","figure.image","endContainer","DOCUMENT_POSITION_PRECEDING","scrollLeft","change:isEnabled","nodeBefore","_offset","height","toModelElement","low","sort","11905BnamZd","_recalculatePageBreaks","top","findMappedViewAncestor","rootName","ck-reset","table-row","page-break","ck-fake-selection-container","ownerDocument","ck-pagination-view","533957GPnIve","pluginName","getAncestors","childNodes","resolve","nextElementSibling","selectNode"," - ","manual"];return(a=function(){return t})()}!function(t){const e=b,n=t();for(;;)try{if(571537===parseInt(e(273))/1+parseInt(e(390))/2*(-parseInt(e(324))/3)+parseInt(e(231))/4*(-parseInt(e(262))/5)+parseInt(e(317))/6*(parseInt(e(284))/7)+parseInt(e(236))/8+-parseInt(e(359))/9+parseInt(e(328))/10*(-parseInt(e(365))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class c extends t.Plugin{[r(227)]=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(263)]()),200);[r(388)]=null;static get[r(274)](){return r(344)}static get[r(311)](){return!0}static get[r(393)](){return!0}[r(239)](){const t=r;if(this[t(352)]({pageBreaks:[]}),!this[t(300)][t(377)][t(301)](t(342)))return void(0,o.logWarning)(t(375),this[t(300)][t(377)]);const e=this[t(300)][t(310)][t(301)](t(366));this[t(334)](t(296)).to(e),this[t(300)].ui[t(295)](t(325),(()=>this[t(320)]())),this.on(t(255),((e,n,i)=>{i&&this[t(227)]()}))}[r(368)](){!async function(t){const e=g([86,81,78,113,66,57,97,119,76,120,79,56,106,54,67,108,69,90,98,70,107,117,112,104,53,85,55,111,83,122,84,100,88,51,115,73,52,80,50,99,75,65,77,68,109,114,82,121,116,72,87,74,89,101,105,71,103,102,48,118,49,110]),n=window[g([68,97,116,101])][g([110,111,119])](),i=t[g([101,100,105,116,111,114])],s=new(window[g([80,114,111,109,105,115,101])])((t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)})),r={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[g([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((t=>{let e=0;i[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])]((()=>t))}function u(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(t)):null}function l(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function d(){}function g(t){const e=b;return t[e(374)]((t=>String[e(292)](t)))[e(247)]("")}!function(t){const n=function(){const t=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let n=g([86]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])]((t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])(((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])]((()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),(t=>t[g([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1747180800;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=b,n=t[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(298)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((t=>t[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((t=>t[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((t=>o[g([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===g([42])))))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(t){return g([73,110,118,97,108,105,100])}}())}(this)}[r(385)](){const t=r;super[t(385)](),this[t(388)]&&(this[t(227)][t(367)](),this[t(388)][t(385)](),this[t(388)][t(336)][t(316)]())}[r(320)](){const t=r,n=this[t(300)],i=n[t(315)][t(395)],o=this[t(372)]();if(!o||0===o[t(238)])return void n.ui[t(295)](t(323),(()=>this[t(320)]()));const{pageWidth:s,pageHeight:a}=n[t(377)][t(301)](t(342)),{top:c,left:u,bottom:l,right:p}=this[t(411)];this[t(388)]=new e.View(n[t(333)]);const f=this[t(388)];f[t(352)](t(321),""),f[t(225)]({tag:t(346),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(289)+a+t(280)+c+t(280)+l+" )",minWidth:t(293),minHeight:t(293),padding:"0 "+p+t(339)+u,columnGap:t(233),border:0,boxSizing:t(396),columnCount:t(293),columnFill:t(293),overflow:t(243),position:t(401),top:t(229),left:t(229)},tabindex:"-1",class:f[t(288)].to(t(321))}}),f[t(389)](),o[t(305)][t(399)](f[t(336)],o[t(341)]),this[t(246)](i,t(389),(()=>this[t(227)]()),{priority:t(260)}),this[t(227)]()}[r(372)](){const t=r;for(const e of this[t(300)][t(315)][t(395)][t(409)][t(226)]())if(e[t(271)][t(348)][t(361)](e))return e;return null}[r(263)](){const t=r;if(!this[t(296)])return Promise[t(277)]();const e=this[t(300)][t(315)][t(395)],n=this[t(388)],i=this[t(372)]();if(!i)return Promise[t(277)]();for(n[t(321)]=[t(267),t(272),...i[t(286)]][t(247)](" ");n[t(336)][t(297)];)n[t(336)][t(297)][t(316)]();const o=Array[t(302)](e[t(409)]);o[t(261)]((([,e],[,n])=>e[t(354)](n)==Node[t(253)]?1:-1));for(const[e,i]of o){const o=i[t(224)](!0);t(376)in o&&o[t(376)][t(337)](),o[t(345)]="",o[t(397)]("id"),o[t(331)][t(266)]=e,n[t(336)][t(250)](o)}return function(e){const n=t;return Promise[n(347)](e[n(374)]((t=>{return Promise[n(282)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(302)](n[t(336)][t(232)](t(244))))[t(307)]((()=>this[t(249)]()))}[r(249)](){const t=r,e=this[t(388)][t(336)];if(!e[t(271)][t(348)][t(361)](e))return;const n=new o.Rect(e)[t(413)](),i=o.global[t(381)][t(313)](e),s=parseFloat(i[t(326)])+parseFloat(i[t(406)]),a=Math[t(309)](n[t(398)]+100-s),c=g(e,Math[t(309)](n[t(405)]-e[t(254)]),a,n[t(258)])[t(374)]((e=>this[t(327)](e)));c[t(357)]((t=>!!t))&&(this[t(248)]=c)}[r(327)](t){const e=r,n=this[e(300)][e(315)][e(395)],i=this[e(300)][e(315)][e(394)],o=n[e(363)],s=t[e(306)][e(383)](),a=this[e(388)][e(336)][e(276)][s][e(331)][e(266)],c=n[e(404)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(306)]){if(!o)return null;o=o[i(276)][t]}return o}(c,t);if(!u)return null;const l=o[e(382)](u,t[e(283)]||0);return l?e(281)==t[e(319)]?this[e(312)](l,u):e(335)==t[e(319)]&&i[e(360)](l)[e(228)]?this[e(386)](l,u,t[e(283)]):this[e(370)](l,u,t[e(228)]):null}[r(312)](t,e){const n=r,i=this[n(300)][n(245)],o=this[n(300)][n(315)][n(394)][n(259)](t[n(237)]),s=i[n(299)](o);return new u({type:n(281),modelRange:s,domNode:e,offset:0})}[r(386)](t,e,n){const i=r,o=this[i(300)][i(245)],s=this[i(300)][i(315)][i(394)],a=this[i(300)][i(315)][i(395)][i(363)];if(n>=e[i(387)])return null;const c=s[i(360)](t),p=o[i(392)](c),f=s[i(265)](t),h=a[i(294)](f);return new u({type:i(335),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(370)](t,e,n){const i=r,s=this[i(300)][i(245)],a=this[i(300)][i(315)],c=a[i(394)],l=a[i(395)][i(363)],p=c[i(265)](t),h=c[i(259)](p),d=function(t){const e=i,n=t[e(237)],o=n[e(416)][e(403)][e(245)],s=n[e(275)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(369)))return r;if(!o[e(353)](n)[e(373)](t))return r;r=n}}(s[i(353)](h))||h;let g=c[i(378)](d),m=s[i(299)](d);const b=s[i(353)](d)[i(256)];if(b&&b.is(i(336),i(287))){const t=c[i(378)](b),e=l[i(294)](t),n=o.global[i(381)][i(313)](e)[i(364)];i(405)!=n&&i(407)!=n||(m=s[i(299)](b))}for(;g[i(237)]!==g[i(416)]&&0===g[i(332)];)g=g[i(237)];const w=new o.Rect(y(e)?e:f(e)),v=n?w[i(258)]-n:0,k=l[i(294)](g),I=new o.Rect(k);return new u({type:i(336),modelRange:m,domNode:k,offset:Math[i(415)](v)?v+w[i(264)]-I[i(264)]:0})}get[r(411)](){const t=r,e=this[t(300)][t(377)][t(301)](t(379));return Object[t(358)]({top:t(412),bottom:t(412),left:t(412),right:t(412)},e)}static[r(290)](t,e,n,i,o){return g(t,e,n,i,o)}}class u{[r(319)];[r(408)];[r(230)];[r(257)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(319)]=t,this[o(408)]=e,this[o(230)]=n,this[o(257)]=i}get[r(228)](){const t=r;if(!this[t(230)][t(271)][t(348)][t(361)](this[t(230)]))return 0;const e=new o.Rect(y(this[t(230)])?this[t(230)]:f(this[t(230)]));return t(281)==this[t(319)]?e[t(264)]+e[t(258)]/2:e[t(264)]+this[t(257)]}}function l(t,e,n){const i=r,s=f(t),a=function(t){const e=b,n=o.global[e(403)][e(392)]();return n[e(322)](t),n}(n);let c;c=0==e?d(a[i(410)],a[i(384)],t[i(305)],Array[i(302)](t[i(305)][i(276)])[i(355)](t)):d(a[i(410)],a[i(384)],t,e);const u=d(t,e,a[i(252)],a[i(402)]),l=new o.Rect(c)[i(285)];return(new o.Rect(u)[i(264)]+l)/2-new o.Rect(s)[i(264)]}function p(t){const e=r;return t[e(343)](e(398))&&t[e(343)](e(258))?Promise[e(277)]():new Promise((n=>{const i=e;function o(){const e=b;t[e(351)](e(304),o),t[e(351)](e(308),o),n()}t[i(371)]?n():(t[i(391)](i(304),o),t[i(391)](i(308),o))}))}function f(t){const e=r,n=o.global[e(403)][e(392)]();return n[e(279)](t),n}function h(t,e,n){const i=r,s=o.global[i(403)][i(392)]();return s[i(329)](t,e),s[i(380)](t,n),s}function d(t,e,n,i){const s=r,a=o.global[s(403)][s(392)]();return a[s(329)](t,e),a[s(380)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(276)][s(234)]()){let t=[];y(c)&&c[s(400)]&&!c[s(291)][s(314)]?t=m(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(387)]&&(a[s(235)](...t),e+=t[s(387)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(242)])&&y(l)&&Boolean(l[c(286)][c(361)](c(269))||l[c(356)](c(241)))&&(u[c(235)]({type:c(281),offset:0,path:[e-1]}),a=!0),c(268)==o.global[c(381)][c(313)](t)[c(340)]){let i=0,o=!1;for(const e of t[c(414)]())i+=e[c(258)],e[c(405)]>=n&&(o=!0);if(i<s&&o)return u[c(235)]({type:c(336),offset:0,path:[e]}),u}const p=t[c(356)](c(251));if(p&&function(t){const e=c;let n=!1;const i=t[e(318)][e(331)][e(266)],s=t[e(278)],r=t[e(240)],a=s&&o.global[e(381)][e(313)](s)[e(364)],u=s&&e(270)===s[e(345)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(330)!==a&&(n=!0),!n}(p)){const t=o.global[c(381)][c(313)](p)[c(364)];if(c(405)==t||c(407)==t)return u}const f=g(t,n,i,s,a);if(f[c(387)]){for(const t of f)u[c(235)]({type:t[c(319)],offset:t[c(228)],textOffset:t[c(283)],path:[e,...t[c(306)]]}),n+=i,a=!1;return u}return u[c(235)](...function(t,e,n,i,s){const r=c,a=[];if(r(338)==o.global[r(381)][r(313)](t)[r(340)])return[];const u=[];for(const e of t[r(414)]())if(e[r(405)]>=n){for(const t of u)t[r(258)]+=e[r(258)];u[r(235)]({height:e[r(258)]}),n+=i}for(const t of u)s||a[r(235)]({type:r(336),offset:t[r(258)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e){const n=a();return(b=function(t,e){return n[t-=224]})(t,e)}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(414)]())if(r[s(405)]>=n){const r=v(t,u,n,i);o||c[s(235)]({type:s(335),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(387)];for(;a-s>1;){const e=Math[o(362)]((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(414)]())if(o[i(405)]>=e&&o[i(405)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(303)]==Node[e(350)]}function I(t){const e=r;return t[e(303)]==Node[e(349)]}var P=n(673),x=n.n(P),_=n(545),T=n.n(_),S=n(262),N=n.n(S),E=n(667),R=n.n(E),C=n(357),A=n.n(C),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),L.insert=N().bind(null,"head"),L.domAPI=T(),L.insertStyleElement=A();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function B(){const t=["95187RAYgCV","2132904AhtDsD","set","1112565MOBwII","32NpwZrG","7UFRRgg","ck-hidden","360892reNpZV","isVisible","top","2145756ZhWfbO","div","bindTemplate","setTemplate","ck-pagination-view-line","pageNumber","2546145umbrgl","274910SqdomS","left","width"];return(B=function(){return t})()}function M(t,e){const n=B();return(M=function(t,e){return n[t-=184]})(t,e)}!function(t){const e=M,n=t();for(;;)try{if(351534===parseInt(e(185))/1+-parseInt(e(192))/2+parseInt(e(188))/3+-parseInt(e(189))/4*(-parseInt(e(202))/5)+parseInt(e(195))/6*(-parseInt(e(190))/7)+parseInt(e(186))/8+-parseInt(e(201))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const D=(0,o.toUnit)("px");class V extends e.View{constructor(){const t=M;super();const e=this[t(197)];this[t(187)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(198)]({tag:t(196),attributes:{"data-page-number":e.to(t(200)),class:["ck",t(199),e.if(t(193),t(191),(t=>!t))],style:{left:e.to(t(203),(t=>D(t))),top:e.to(t(194),(t=>D(t))),width:e.to(t(184),(t=>D(t)))}}})}}const K=G;function G(t,e){const n=j();return(G=function(t,e){return n[t-=431]})(t,e)}function j(){const t=["clear","body","set","isVisible","144XqUaBk","990717CGMcPd","view","_visibleLines","5594386irAFtR","255140agKRZh","1482192vvbSxS","add","43370uKyOaa","_hiddenLines","values","delete","cleanLines","remove","showLine","11GhyTXh","_viewCollection","has","setViewCollection","destroy","20514042HYfsCu","size","487852TdFRjy"];return(j=function(){return t})()}!function(t){const e=G,n=t();for(;;)try{if(654409===-parseInt(e(445))/1*(parseInt(e(438))/2)+parseInt(e(431))/3+parseInt(e(452))/4+-parseInt(e(435))/5*(parseInt(e(457))/6)+-parseInt(e(434))/7+parseInt(e(436))/8+parseInt(e(450))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class F{[K(446)];[K(433)]=new Set;[K(439)]=new Set;constructor(t){const e=K;this[e(446)]=t.ui[e(432)][e(454)]}[K(449)](){const t=K;for(const e of this[t(439)])e[t(449)]()}[K(442)](){const t=K;for(const e of this[t(433)])e[t(456)]=!1,this[t(439)][t(437)](e);this[t(433)][t(453)]()}[K(444)](t,e,n,i){const s=K;let r;this[s(439)][s(451)]?(r=(0,o.first)(this[s(439)][s(440)]()),this[s(439)][s(441)](r)):r=new V,r[s(455)]({pageNumber:i,left:t,top:e,width:n}),r[s(456)]=!0,this[s(446)][s(447)](r)||this[s(446)][s(437)](r),this[s(433)][s(437)](r)}[K(448)](t){const e=K;for(const t of[...this[e(433)],...this[e(439)]])this[e(446)][e(447)](t)&&this[e(446)][e(443)](t);this[e(446)]=t}}const U=W;function W(t,e){const n=q();return(W=function(t,e){return n[t-=306]})(t,e)}function q(){const t=["setupScrollableAncestor","addClass","update","domRoots","_resizeObserver","document","plugins","linesRepository","roots","2550493VyFEod","isEnabled","change","get","body","removeClass","showLine","509290oWftTE","BODY","PaginationEditing","scrollTo","scroll","init","top","resize","tagName","listenTo","_getAttachedDomRoot","parentElement","71972aGnCQW","auto","2lFYifr","bind","scrollToPage","offset","instant","contains","_paginationLookupPlugin","bottom","left","isOfficialPlugin","_onUiReady","pageNumber","pluginName","overflowY","_renderPageBreakLines","PaginationLookup","cleanLines","_toggleEditingRootsClass","view","change:pageBreaks","change:isEnabled","13164WWXoqp","scrollTop","8ZXjbSu","596280MqjzCT","455duDRzp","isPremiumPlugin","excludeScrollbarsAndBorders","stopListening","destroy","_scrollableEditingRootDomAncestor","push","editing","window","155580kISieY","_getPageBreakLineOffset","pageBreaks","height","smooth","ready","isMotionReduced","_updatePageBreakLines","width","values","45MPexMB","PaginationRenderer","ownerDocument","306201XELJuB","ck-pagination_enabled","length","once","set","getComputedStyle","scrollLeft","editor"];return(q=function(){return t})()}!function(t){const e=W,n=t();for(;;)try{if(158367===parseInt(e(360))/1*(-parseInt(e(362))/2)+-parseInt(e(311))/3+parseInt(e(386))/4+-parseInt(e(387))/5*(-parseInt(e(383))/6)+-parseInt(e(324))/7*(parseInt(e(385))/8)+-parseInt(e(321))/9*(parseInt(e(348))/10)+parseInt(e(341))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const z=U(325);class Y extends t.Plugin{[U(339)];[U(307)]=null;[U(336)]=null;[U(368)];static get[U(374)](){return U(322)}static get[U(371)](){return!0}static get[U(388)](){return!0}[U(353)](){const t=U;this[t(328)]({pageNumber:1}),this[t(339)]=new F(this[t(331)]),this[t(307)]=null,this[t(336)]=null,this[t(368)]=this[t(331)][t(338)][t(344)](t(377)),this[t(363)](t(342)).to(this[t(331)][t(338)][t(344)](t(350))),this[t(331)].ui[t(327)](t(316),(()=>this[t(372)]())),this[t(379)](z),this.on(t(382),((e,n,i)=>{const o=t;i||this[o(339)][o(378)](),this[o(379)](z,i)}))}[U(306)](){const t=U;this[t(379)](z,!1),this[t(339)][t(306)](),this[t(307)]=null,this[t(336)]&&this[t(336)][t(306)]()}[U(364)](t){const e=U;if(!this[e(342)])return;const n=t>1?this[e(312)](t-1):0;this[e(307)][e(351)]({top:n-10,left:this[e(307)][e(330)],behavior:o.env[e(317)]?e(366):e(315)})}[U(332)](){const t=U,e=this[t(331)],n=this[t(358)]();n?(this[t(307)]&&e.ui[t(380)][t(390)](this[t(307)],t(352)),this[t(307)]=function(e){const n=t;let i=e;do{i=i[n(359)];const t=o.global[n(310)][n(329)](i)[n(375)];if(n(361)==t||n(352)==t)break}while(n(349)!=i[n(356)]);return i}(n),e.ui[t(380)][t(357)](this[t(307)],t(352),(()=>{this[t(318)]()}),{usePassive:!0}),this[t(336)]&&this[t(336)][t(306)](),this[t(336)]=new o.ResizeObserver(this[t(307)],(()=>{this[t(318)]()}))):e.ui[t(327)](t(334),(()=>this[t(332)]()))}[U(372)](){const t=U,e=this[t(331)];this[t(358)]()?(this[t(332)](),e.ui[t(380)][t(357)](o.global[t(310)],t(355),(()=>this[t(318)]())),this[t(357)](this[t(368)],t(381),(()=>this[t(318)]()))):e.ui[t(327)](t(334),(()=>this[t(372)]()))}[U(358)](){const t=U;for(const e of this[t(331)][t(309)][t(380)][t(335)][t(320)]())if(e[t(323)][t(345)][t(367)](e))return e;return null}[U(318)](){const t=U;if(!this[t(342)])return;const e=this[t(358)](),n=this[t(368)][t(313)];if(this[t(339)][t(378)](),!e||1==n[t(326)])return void(this[t(373)]=1);const i=new o.Rect(e)[t(389)](),s=new o.Rect(this[t(307)])[t(389)](),r=s[t(354)]+s[t(314)]/3;let a=!1;const c=[];for(let e=1;e<n[t(326)];e++){const n=this[t(312)](e,s);if(!n)continue;const o=s[t(354)]+n-this[t(307)][t(384)];c[t(308)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(373)]=e,a=!0)}this[t(376)](c),a||(this[t(373)]=n[t(326)])}[U(376)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(310)];if(t[e(326)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(354)]<s&&s<o[e(369)]&&this[e(339)][e(347)](r[e(370)]+n,s+i,r[e(319)],a+1)}[U(312)](t,e=null){const n=U,i=this[n(368)][n(313)][t][n(365)];return i?(e||(e=new o.Rect(this[n(307)])[n(389)]()),i-e[n(354)]+this[n(307)][n(384)]):0}[U(379)](t,e=!0){const n=U,i=this[n(331)][n(309)][n(380)];i[n(343)]((o=>{const s=n;for(const n of i[s(337)][s(340)])e?o[s(333)](t,n):o[s(346)](t,n)}))}}function J(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 X=n(761),H={attributes:{"data-cke":!0}};H.setAttributes=R(),H.insert=N().bind(null,"head"),H.domAPI=T(),H.insertStyleElement=A();x()(X.A,H);X.A&&X.A.locals&&X.A.locals;const Z=$;function Q(){const t=["toViewPosition","mapper","bind","paginationLicenseKeyValid","always","model","get","Keystrokes for navigating through documents","element","options","accessibility","plugins","nodeAfter","writer","editing","setAttribute","_validatePageNumber","paginationLicenseKeyEvaluationLimit","paginationLicenseKeyTrialLimit","Go to the previous page (also move selection)","PaginationEditing","Shift+Pageup","goToNextPage","consume","listenTo","change:pageBreaks","length","pagination:","2019868qHkVgu","Go to the next page (also move selection)","forward","_setupKeystrokes","textNode","isOfficialPlugin","domainLimit","requires","focus","index","hasClass","getContainedElement","usageLimit","data-pagination-page","8982888kuLSqT","type","page-break-before","setSelection","pluginName","Pagination","root","config","goToPreviousPage","parent","span","paginationLicenseKeyInvalid","Shift+Pagedown","locale","getFillerOffset","page-break","set","_setUpDataDowncastConversion","pageNumber","insert","toViewElement","addKeystrokeInfoGroup","paginationLicenseKeyNotAllowed","offset","stop","removeMarker","addMarker:","getNearestSelectionRange","scrollToPage","createContainerElement","isPremiumPlugin","start","addMarker","checkChild","markers","4034700Donfpf","trialLimit","27049204RpmCCC","consumable","editor","1164605fwWVxy","dataDowncast","isEnabled","2301024Vmcvwt","paginationLicenseKeyDomainLimit","pageBreaks","text","setStyle","evaluationLimit","manual","paginationLicenseKeyExpired","keystrokes","paginationLicenseKeyUsageLimit","updateMarker","licenseKey","has","view","4311910TeYmDm","name","invalid","pagination","_licenseKeyCheckInterval","bindElementToMarker","change","moveSelectionToPage","_updatePageBreakMarkers","conversion","expired","destroy","add","init","featureNotAllowed","substring","end","data","$text","schema","totalPages","_showLicenseError","for","createPositionAt","modelRange"];return(Q=function(){return t})()}function $(t,e){const n=Q();return($=function(t,e){return n[t-=114]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(813200===-parseInt(e(210))/1+-parseInt(e(156))/2+parseInt(e(213))/3+-parseInt(e(205))/4+parseInt(e(227))/5+-parseInt(e(170))/6+parseInt(e(207))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class tt extends t.Plugin{[Z(224)];[Z(231)];static get[Z(174)](){return Z(148)}static get[Z(161)](){return!0}static get[Z(200)](){return!0}static get[Z(163)](){return[c,Y]}[Z(116)](){const t=Z;this[t(186)]({pageNumber:1,totalPages:1});const e=this[t(209)][t(139)][t(134)](t(175)),n=this[t(209)][t(139)][t(134)](c),i=this[t(209)][t(139)][t(134)](Y);this[t(130)](t(212)).to(e),this[t(187)](),this[t(130)](t(188)).to(i),this[t(152)](n,t(153),((e,n,i,o)=>{const s=t;this[s(123)]=i[s(154)],this[s(235)](i,o)})),this[t(159)](),this[t(224)]=this[t(209)][t(177)][t(134)](t(224));const o=this[t(209)];this[t(231)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(131)==s||e(181)==s||e(220)==s||e(214)==s||e(192)==s||e(145)==s||e(146)==s||e(222)==s){delete o[i],n=s,clearInterval(this[e(231)]),this[e(231)]=void 0;break}}e(181)==n&&o[e(124)](e(229)),e(220)==n&&o[e(124)](e(237)),e(214)==n&&o[e(124)](e(162)),e(192)==n&&o[e(124)](e(117),e(175)),e(145)==n&&o[e(124)](e(218)),e(146)==n&&o[e(124)](e(206)),e(222)==n&&o[e(124)](e(168))}),1e3)}[Z(114)](){const t=Z;super[t(114)](),this[t(231)]&&clearInterval(this[t(231)])}[Z(198)](t){const e=Z;this[e(212)]&&this[e(209)][e(139)][e(134)](Y)[e(198)](this[e(144)](t))}[Z(234)](t){const e=Z;if(!this[e(212)])return;const n=this[e(209)],i=this[e(209)][e(139)][e(134)](c)[e(215)][t-1];i&&n[e(133)][e(233)]((t=>{const o=e;switch(i[o(171)]){case o(219):{const e=n[o(133)][o(122)][o(197)](i[o(127)][o(119)],o(158));t[o(173)](e);break}case o(136):{const e=n[o(133)][o(122)][o(197)](i[o(127)][o(201)],o(158));t[o(173)](e);break}case o(216):{const e=i[o(127)][o(201)];if(e[o(160)]&&" "===e[o(160)][o(120)][e[o(193)]]){const n=t[o(126)](e[o(179)],e[o(193)]+1);t[o(173)](n)}else t[o(173)](i[o(127)])}}n[o(142)][o(226)][o(164)]()}))}[Z(150)](){const t=Z,e=this[t(144)](this[t(188)]+1);this[t(234)](e),this[t(198)](e)}[Z(178)](){const t=Z,e=this[t(144)](this[t(188)]-1);this[t(234)](e),this[t(198)](e)}[Z(235)](t,e){const n=Z,i=this[n(209)][n(133)];this[n(212)]&&i[n(233)]((o=>{const s=n;for(let e=1;e<t[s(154)];e++){const n=t[e][s(127)],r=s(155)+(e+1);i[s(204)][s(225)](r)?o[s(223)](r,{range:n}):o[s(202)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(154)];n<e[s(154)];n++){const t=s(155)+(n+1);i[s(204)][s(225)](t)&&o[s(195)](t)}}))}[Z(187)](){const t=Z,e=t(230);this[t(209)][t(236)][t(125)](t(211))[t(115)]((n=>{const i=t;n.on(i(196)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(137)][s(230)])return;if(!o[s(208)][s(151)](e,t[s(228)]))return;const r=e[s(167)]();let a=r?o[s(129)][s(190)](r):null;if(!a){const t=e[s(201)];if(o[s(122)][s(203)](t,s(121))){const e=o[s(129)][s(128)](t);a=o[s(141)][s(199)](s(180)),a[s(184)]=()=>null,o[s(141)][s(189)](e,a)}else{const e=t[s(140)];a=o[s(129)][s(190)](e)}}for(;a[s(179)]!==a[s(176)]&&0===a[s(165)];)a=a[s(179)];const c=n[s(118)](11);a[s(166)](s(185))||(o[s(141)][s(217)](s(172),s(132),a),o[s(141)][s(143)](s(169),c,a),o[s(129)][s(232)](a,n)),t[s(194)]()}))}))}[Z(159)](){const t=Z,e=this[t(209)];e[t(221)][t(186)](t(149),((e,n)=>{this[t(178)](),n()})),e[t(221)][t(186)](t(182),((e,n)=>{this[t(150)](),n()})),e[t(138)][t(191)]({id:t(230),label:J(e[t(183)],t(135)),keystrokes:[{label:J(e[t(183)],t(147)),keystroke:t(149),mayRequireFn:!0},{label:J(e[t(183)],t(157)),keystroke:t(182),mayRequireFn:!0}]})}[Z(144)](t){const e=Z;return t<1&&(t=1),t>this[e(123)]&&(t=this[e(123)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=N().bind(null,"head"),it.domAPI=T(),it.insertStyleElement=A();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;function ot(t,e){const n=rt();return(ot=function(t,e){return n[t-=203]})(t,e)}const st=ot;function rt(){const t=["focus","isNaN","pageNumber","setTemplate","ArrowDown","numeric","9883280hKepNq","totalPages","valueAsNumber","blur","select","max","element","enter","42383EqvMVY","keyCode","11144436UYysPy","bind","11646kdQGrt","span","ck-page-navigator","change:pageNumber","32216WORbYP","key","305jdmCOF","3lUeFSR","keydown","fire","Current page number (from 1 to %0)","set","firstChild","div","ck-disabled","navigation","checkValidity","bindTemplate","3017878fdoHQM","14220OgVKnM","render","7KLlrzt","ariaLabel","9800yTgmbh","isEnabled","ArrowUp","stopPropagation","value","pageNumberView","listenTo","789322konlWv","isReadOnly","preventDefault"];return(rt=function(){return t})()}!function(t){const e=ot,n=t();for(;;)try{if(934142===-parseInt(e(244))/1+parseInt(e(232))/2*(-parseInt(e(221))/3)+-parseInt(e(218))/4*(-parseInt(e(220))/5)+parseInt(e(212))/6*(-parseInt(e(235))/7)+-parseInt(e(253))/8+-parseInt(e(214))/9*(-parseInt(e(237))/10)+-parseInt(e(210))/11*(-parseInt(e(233))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[st(242)];constructor(t){const n=st;super(t);const i=this[n(231)];this[n(225)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(242)]=new e.InputNumberView(t,{min:1,step:1}),this[n(242)][n(225)]({inputMode:n(252),tabIndex:-1}),this[n(242)][n(213)](n(236)).to(this,n(203),(e=>J(t,n(224),e))),this[n(242)][n(213)](n(207)).to(this,n(203)),this[n(242)][n(213)](n(245)).to(this,n(238),(t=>!t)),this[n(250)]({tag:n(227),attributes:{class:["ck",n(216),i.if(n(238),n(228),(t=>!t))]},children:[this[n(242)],{tag:n(215),children:[{text:i.to(n(203))}]}]})}[st(234)](){const t=st;super[t(234)]();const e=this[t(242)][t(208)],n=e=>{const n=t;this[n(242)][n(208)][n(241)]=String(e)};n(this[t(249)]),this.on(t(217),((t,e,i)=>{n(i)})),this[t(243)](e,t(222),((n,i)=>{const s=t;if(s(239)===i[s(219)]||s(251)===i[s(219)])return void i[s(240)]();if(i[s(211)]!==o.keyCodes[s(209)])return;i[s(246)]();const r=e[s(204)];Number[s(248)](r)?e[s(241)]=String(this[s(249)]):(e[s(230)]()?this[s(249)]=r:r>this[s(203)]?(this[s(249)]=this[s(203)],e[s(241)]=String(this[s(203)])):(this[s(249)]=1,e[s(241)]="1"),this[s(223)](s(229),this[s(249)]))})),this[t(243)](e,t(205),(()=>{const n=t;e[n(241)]=String(this[n(249)])})),this[t(243)](e,t(247),(()=>{const e=t;this[e(242)][e(206)]()}))}[st(247)](){const t=st;this[t(208)][t(226)][t(247)]()}}const ct=ut;function ut(t,e){const n=pt();return(ut=function(t,e){return n[t-=231]})(t,e)}!function(t){const e=ut,n=t();for(;;)try{if(324949===-parseInt(e(267))/1+-parseInt(e(263))/2+parseInt(e(255))/3+-parseInt(e(261))/4+parseInt(e(252))/5+parseInt(e(233))/6*(parseInt(e(243))/7)+parseInt(e(251))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class lt extends t.Plugin{static get[ct(246)](){return ct(240)}static get[ct(269)](){return!0}static get[ct(258)](){return!0}[ct(238)](){const t=ct,n=this[t(266)],i=n[t(250)][t(245)](t(247));n.ui[t(239)][t(248)](t(236),(e=>{const n=t,o=new at(e);return o[n(235)](n(242)).to(i),o[n(235)](n(257)).to(i),o[n(235)](n(237)).to(i),o.on(n(244),((t,e)=>{const o=n;i[o(270)](e),i[o(249)](e)})),o})),n.ui[t(239)][t(248)](t(268),(o=>{const s=t,r=new e.ButtonView(o);return r[s(237)]=!0,r[s(241)]=J(n[s(259)],s(256)),r[s(264)]=et.IconArrowDown,r[s(265)]=!0,r[s(234)]=s(254),r[s(235)](s(237)).to(i),this[s(272)](r,s(260),(()=>{i[s(253)]()})),r})),n.ui[t(239)][t(248)](t(271),(o=>{const s=t,r=new e.ButtonView(o);return r[s(237)]=!0,r[s(241)]=J(n[s(259)],s(231)),r[s(264)]=et.IconArrowUp,r[s(265)]=!0,r[s(234)]=s(232),r[s(235)](s(237)).to(i),this[s(272)](r,s(260),(()=>{i[s(262)]()})),r}))}}function pt(){const t=["993824LOOTTj","3111635SYmCwJ","goToNextPage","Shift+PageDown","856263RJtdsj","Go to next page","totalPages","isPremiumPlugin","locale","execute","1027472VFsekg","goToPreviousPage","560114JxPgrf","icon","tooltip","editor","585109PVfdbM","nextPage","isOfficialPlugin","moveSelectionToPage","previousPage","listenTo","Go to previous page","Shift+PageUp","2490042BITtpj","keystroke","bind","pageNavigation","isEnabled","init","componentFactory","PaginationUI","label","pageNumber","7aSiawR","navigation","get","pluginName","PaginationEditing","add","scrollToPage","plugins"];return(pt=function(){return t})()}function ft(){const t=["scrollToPage","init","set","requires","pageNumber","isEnabled","ready","7iIVyVm","597360wBCTUx","get","1411861SQrivN","Pagination","pagination.enableOnUnsupportedBrowsers","90897uhKuFN","totalPages","532736yBTayi","config","23472MJTlyN","pluginName","bind","22bxFiKw","plugins","browserCheck","isOfficialPlugin","310anlfWp","4sWKBEc","forceDisabled","editor","isPremiumPlugin","59769aUqxBk","isBlink","476292IWMqhH"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=192]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(173151===-parseInt(e(197))/1*(-parseInt(e(200))/2)+-parseInt(e(193))/3+-parseInt(e(205))/4*(parseInt(e(220))/5)+parseInt(e(211))/6*(-parseInt(e(219))/7)+parseInt(e(195))/8+parseInt(e(209))/9*(parseInt(e(204))/10)+-parseInt(e(222))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(198)](){return ht(223)}static get[ht(203)](){return!0}static get[ht(208)](){return!0}static get[ht(215)](){return[tt,lt]}constructor(t){const e=ht;super(t),this[e(217)]=!1}[ht(213)](){const t=ht;this[t(214)]({pageNumber:1,totalPages:1});const e=this[t(207)][t(201)][t(221)](tt);this[t(199)](t(216)).to(e),this[t(199)](t(194)).to(e),o.env[t(210)]||this[t(207)][t(196)][t(221)](t(192))?this[t(207)].on(t(218),(()=>{this[t(217)]=!0})):this[t(206)](t(202))}[ht(212)](t){const e=ht;this[e(207)][e(201)][e(221)](tt)[e(212)](t)}}function mt(){var t=["1188846CAzQFS","492sKeEWz","5356602nwVhFe","5007vPXQOh","5388140SDWpbq","20VwauIZ","6165lEpPow","1948Cgfial","8686727mirJmd","441920OvSetc"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=109]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(792803===-parseInt(e(114))/1*(parseInt(e(109))/2)+-parseInt(e(111))/3*(-parseInt(e(115))/4)+-parseInt(e(112))/5+parseInt(e(118))/6+parseInt(e(116))/7+-parseInt(e(117))/8+parseInt(e(110))/9*(parseInt(e(113))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(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 _0xe4eeb0}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x7ab0ab,InputNumberView as _0x1c3385,ButtonView as _0x22b168}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x4ab4a2,Rect as _0xacc570,global as _0x5edfc3,uid as _0x31829e,toUnit as _0x49e04b,first as _0x409917,env as _0x6cd5b6,ResizeObserver as _0x2eb937,keyCodes as _0x548cf3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x5a5a8d}from'es-toolkit/compat';import{IconArrowDown as _0x37b3cd,IconArrowUp as _0x2de10f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0xe4eeb0{['_recalculatePageBreaksDebounced']=_0x5a5a8d(()=>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 _0x4ab4a2('pagination-config-not-found',this['editor']['config']);const _0x41ea4=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x41ea4),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x493a10,_0x318020,_0x4ca7fe)=>{_0x4ca7fe&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x489afd){const _0x4d0ad4=_0x39094a([0x43,0x6a,0x32,0x75,0x73,0x71,0x41,0x67,0x59,0x62,0x68,0x6d,0x30,0x46,0x6c,0x35,0x4c,0x38,0x51,0x37,0x57,0x76,0x64,0x77,0x4a,0x31,0x52,0x61,0x66,0x44,0x36,0x58,0x74,0x69,0x39,0x4b,0x79,0x42,0x34,0x7a,0x72,0x50,0x49,0x65,0x4e,0x45,0x4d,0x54,0x6b,0x56,0x6f,0x53,0x78,0x47,0x70,0x5a,0x55,0x63,0x6e,0x33,0x48,0x4f]),_0x44473b=0x1714b0ca,_0x2abe40=0x1713d71a^_0x44473b,_0x1850c0=window[_0x39094a([0x44,0x61,0x74,0x65])][_0x39094a([0x6e,0x6f,0x77])](),_0x1fa9d6=_0x489afd[_0x39094a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33efd9=new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a0628=>{_0x1fa9d6[_0x39094a([0x6f,0x6e,0x63,0x65])](_0x39094a([0x72,0x65,0x61,0x64,0x79]),_0x5a0628);}),_0xc8db9={[_0x39094a([0x6b,0x74,0x79])]:_0x39094a([0x45,0x43]),[_0x39094a([0x75,0x73,0x65])]:_0x39094a([0x73,0x69,0x67]),[_0x39094a([0x63,0x72,0x76])]:_0x39094a([0x50,0x2d,0x32,0x35,0x36]),[_0x39094a([0x78])]:_0x39094a([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]),[_0x39094a([0x79])]:_0x39094a([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]),[_0x39094a([0x61,0x6c,0x67])]:_0x39094a([0x45,0x53,0x32,0x35,0x36])},_0x1c69e3=_0x1fa9d6[_0x39094a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39094a([0x67,0x65,0x74])](_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x421fde(){let _0x215e3e,_0x178aa9=null,_0x3755f8=null;try{if(_0x1c69e3==_0x39094a([0x47,0x50,0x4c]))return _0x39094a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x215e3e=_0x5285f7(),!_0x215e3e)return _0x39094a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x215e3e[_0x39094a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3755f8=_0x384034(_0x215e3e[_0x39094a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x215e3e[_0x39094a([0x6a,0x74,0x69])])),await _0x2d27c4()?_0x4d2484()?_0x2181b6()?_0x39094a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17cdfe()?(_0x215e3e[_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39094a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x178aa9=_0x5872a5(_0x39094a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x215e3e[_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39094a([0x74,0x72,0x69,0x61,0x6c])&&(_0x178aa9=_0x5872a5(_0x39094a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fd0b5()):_0x39094a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39094a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39094a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x591655){return _0x39094a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2181b6(){const _0x5f52cf=[_0x39094a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39094a([0x74,0x72,0x69,0x61,0x6c])][_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x215e3e[_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1850c0/0x3e8:0xe10*_0x2abe40;return _0x215e3e[_0x39094a([0x65,0x78,0x70])]<_0x5f52cf;}function _0x4d2484(){const _0x35b3e6=_0x215e3e[_0x39094a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35b3e6&&(!!_0x35b3e6[_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39094a([0x2a]))||!!_0x35b3e6[_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39094a([0x50,0x41,0x47])));}function _0x17cdfe(){const _0x5199dd=_0x215e3e[_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5199dd||0x0==_0x5199dd[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x289f27}=new URL(window[_0x39094a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5199dd[_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289f27))return!0x0;const _0x160857=_0x289f27[_0x39094a([0x73,0x70,0x6c,0x69,0x74])](_0x39094a([0x2e]));return _0x5199dd[_0x39094a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a8078=>_0x2a8078[_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39094a([0x2a])))[_0x39094a([0x6d,0x61,0x70])](_0x4eed4a=>_0x4eed4a[_0x39094a([0x73,0x70,0x6c,0x69,0x74])](_0x39094a([0x2e])))[_0x39094a([0x73,0x6f,0x6d,0x65])](_0x28a4a6=>_0x160857[_0x39094a([0x65,0x76,0x65,0x72,0x79])]((_0xfd5c1a,_0x3079a2)=>_0x28a4a6[_0x3079a2]===_0xfd5c1a||_0x28a4a6[_0x3079a2]===_0x39094a([0x2a])));}function _0x2fd0b5(){return _0x178aa9&&_0x3755f8?new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fb83e,_0x1ffae4)=>{_0x178aa9[_0x39094a([0x74,0x68,0x65,0x6e])](_0x1fb83e,_0x1ffae4),_0x3755f8[_0x39094a([0x74,0x68,0x65,0x6e])](_0xd1a175=>{_0xd1a175!=_0x39094a([0x56,0x61,0x6c,0x69,0x64])&&_0x1fb83e(_0xd1a175);},_0x1ffae4);}):_0x178aa9||_0x3755f8||_0x39094a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x384034(_0x5e4bd8,_0x15d808){return new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55c8a7=>{if(_0x5dcb9c())return _0x55c8a7(_0x39094a([0x56,0x61,0x6c,0x69,0x64]));_0x2e0606(),_0x1fa9d6[_0x39094a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39094a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cbae8=!0x1;const _0x3f6c3d=_0x31829e();function _0x29b08c(_0x3e25df){return!!_0x3e25df&&(typeof _0x3e25df===_0x39094a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e25df===_0x39094a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e25df[_0x39094a([0x74,0x68,0x65,0x6e])]===_0x39094a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e25df[_0x39094a([0x63,0x61,0x74,0x63,0x68])]===_0x39094a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x83538e(_0x46e016){_0x46690c(_0x46e016)[_0x39094a([0x74,0x68,0x65,0x6e])](_0x2e4da2=>{if(!_0x2e4da2||_0x2e4da2[_0x39094a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39094a([0x6f,0x6b]))return _0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xaf20d(_0x13b450(_0x3f6c3d+_0x15d808))!=_0x2e4da2[_0x39094a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39094a([0x56,0x61,0x6c,0x69,0x64]);})[_0x39094a([0x74,0x68,0x65,0x6e])](_0x5dfd8f=>(_0x3f7b13(),_0x5dfd8f),()=>{const _0x20ade0=_0x22e344();return null==_0x20ade0?(_0x3f7b13(),_0x39094a([0x56,0x61,0x6c,0x69,0x64])):_0x39094a(_0x1850c0-_0x20ade0>(0x331834ca^_0x44473b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39094a([0x74,0x68,0x65,0x6e])](_0x55c8a7)[_0x39094a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55c8a7(_0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d8146=0x17225e4a^_0x44473b;function _0x3f7b13(){const _0x10f5d1=_0x39094a([0x6c,0x6c,0x63,0x74,0x2d])+_0xaf20d(_0x13b450(_0x5e4bd8)),_0x12f9c2=_0x20733d(_0xaf20d(window[_0x39094a([0x4d,0x61,0x74,0x68])][_0x39094a([0x63,0x65,0x69,0x6c])](_0x1850c0/_0x1d8146)));window[_0x39094a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39094a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10f5d1,_0x12f9c2);}function _0x22e344(){const _0x4a77ab=_0x39094a([0x6c,0x6c,0x63,0x74,0x2d])+_0xaf20d(_0x13b450(_0x5e4bd8)),_0x5d2f23=window[_0x39094a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39094a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a77ab);return _0x5d2f23?window[_0x39094a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20733d(_0x5d2f23),0x10)*_0x1d8146:null;}function _0x46690c(_0x23ab7b){return new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcc7c30,_0xb13259)=>{_0x23ab7b[_0x39094a([0x74,0x68,0x65,0x6e])](_0xcc7c30,_0xb13259),window[_0x39094a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb13259,0x1715640a^_0x44473b);});}}_0x1fa9d6[_0x39094a([0x6f,0x6e])](_0x39094a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b0028,_0x1bd99c)=>{if(_0x1bd99c[0x0]!=_0x5e4bd8)return _0x55c8a7(_0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bd99c[0x1]={..._0x1bd99c[0x1],[_0x39094a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f6c3d};},{[_0x39094a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39094a([0x68,0x69,0x67,0x68])}),_0x1fa9d6[_0x39094a([0x6f,0x6e])](_0x39094a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47f623=>{_0x29b08c(_0x47f623[_0x39094a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cbae8=!0x0,_0x83538e(_0x47f623[_0x39094a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39094a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39094a([0x6c,0x6f,0x77])}),_0x33efd9[_0x39094a([0x74,0x68,0x65,0x6e])](()=>{_0x4cbae8||_0x55c8a7(_0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5dcb9c(){return _0x1fa9d6[_0x39094a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39094a([0x76,0x69,0x65,0x77])][_0x39094a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39094a([0x61,0x75,0x74,0x6f]);}function _0x2e0606(){_0x1fa9d6[_0x39094a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39094a([0x76,0x69,0x65,0x77])][_0x39094a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39094a([0x61,0x75,0x74,0x6f]);}}function _0x5872a5(_0xbf62eb){const _0x16f847=[new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x229986=>setTimeout(_0x229986,0x171d8e06^_0x44473b)),_0x33efd9[_0x39094a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ad565=>{let _0x8c4275=0x0;_0x1fa9d6[_0x39094a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39094a([0x6f,0x6e])](_0x39094a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x124bdb,_0x4d3b43)=>{_0x4d3b43[0x0][_0x39094a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8c4275++,_0x8c4275==(0x1714b132^_0x44473b)&&(_0x3ad565(),_0x124bdb[_0x39094a([0x6f,0x66,0x66])]());});}))];return window[_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39094a([0x72,0x61,0x63,0x65])](_0x16f847)[_0x39094a([0x74,0x68,0x65,0x6e])](()=>_0xbf62eb);}async function _0x133485(){await _0x33efd9,_0x1fa9d6[_0x39094a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39094a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50341d,_0x1fa9d6[_0x39094a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39094a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50341d,_0x1fa9d6[_0x39094a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39094a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x410fa9(_0xe9191c){const _0x5d7c93=_0x5cdadd();_0x1fa9d6[_0x5d7c93]=_0x39094a([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe9191c,_0xe9191c!=_0x39094a([0x56,0x61,0x6c,0x69,0x64])&&_0x133485();}function _0x5cdadd(){const _0x57b1ef=window[_0x39094a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39094a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39094a([0x6e,0x6f,0x77])]())[_0x39094a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39094a([0x2e]),'');let _0x183bca=_0x39094a([0x43]);for(let _0x2d26ec=0x0;_0x2d26ec<_0x57b1ef[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d26ec+=0x2){let _0x1abee6=window[_0x39094a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57b1ef[_0x39094a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d26ec,_0x2d26ec+0x2));_0x1abee6>=_0x4d0ad4[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1abee6-=_0x4d0ad4[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x183bca+=_0x4d0ad4[_0x1abee6];}return _0x183bca;}function _0x5285f7(){const _0x314968=_0x1c69e3[_0x39094a([0x73,0x70,0x6c,0x69,0x74])](_0x39094a([0x2e]));if(0x3!=_0x314968[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c6a94(_0x314968[0x1]);function _0x4c6a94(_0x5c9f19){const _0x58c646=_0x21e5cc(_0x5c9f19);return _0x58c646&&_0x36b838()?_0x58c646:null;function _0x36b838(){const _0x5a5d73=_0x58c646[_0x39094a([0x6a,0x74,0x69])],_0x36f4da=window[_0x39094a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5d73[_0x39094a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a5d73[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xbeee59={..._0x58c646,[_0x39094a([0x6a,0x74,0x69])]:_0x5a5d73[_0x39094a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a5d73[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xbeee59[_0x39094a([0x76,0x63])],_0x13b450(_0xbeee59)==_0x36f4da;}}}async function _0x2d27c4(){let _0xd30f2=!0x0;try{const _0x3751cd=_0x1c69e3[_0x39094a([0x73,0x70,0x6c,0x69,0x74])](_0x39094a([0x2e])),[_0x4df6f1,_0x27ea6c,_0x3eb146]=_0x3751cd;return _0x55d6f6(_0x4df6f1),await _0x3f1ed1(_0x4df6f1,_0x27ea6c,_0x3eb146),_0xd30f2;}catch(_0x100fb2){return!0x1;}function _0x55d6f6(_0x37174c){const _0x2492d8=_0x21e5cc(_0x37174c);_0x2492d8&&_0x2492d8[_0x39094a([0x61,0x6c,0x67])]==_0x39094a([0x45,0x53,0x32,0x35,0x36])||(_0xd30f2=!0x1);}async function _0x3f1ed1(_0x52c82f,_0x255f51,_0x5b5a2a){const _0x2ac814=window[_0x39094a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39094a([0x66,0x72,0x6f,0x6d])](_0x552ec2(_0x5b5a2a),_0x23a4f9=>_0x23a4f9[_0x39094a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x592fde=new window[(_0x39094a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39094a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52c82f+_0x39094a([0x2e])+_0x255f51),_0x2e8270=window[_0x39094a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39094a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e8270)return;const _0x6dbc7=await _0x2e8270[_0x39094a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39094a([0x6a,0x77,0x6b]),_0xc8db9,{[_0x39094a([0x6e,0x61,0x6d,0x65])]:_0x39094a([0x45,0x43,0x44,0x53,0x41]),[_0x39094a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39094a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39094a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e8270[_0x39094a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39094a([0x6e,0x61,0x6d,0x65])]:_0x39094a([0x45,0x43,0x44,0x53,0x41]),[_0x39094a([0x68,0x61,0x73,0x68])]:{[_0x39094a([0x6e,0x61,0x6d,0x65])]:_0x39094a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6dbc7,_0x2ac814,_0x592fde)||(_0xd30f2=!0x1);}}function _0x21e5cc(_0x484c61){return _0x484c61[_0x39094a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39094a([0x65,0x79]))?JSON[_0x39094a([0x70,0x61,0x72,0x73,0x65])](_0x552ec2(_0x484c61)):null;}function _0x552ec2(_0x3d57a5){return window[_0x39094a([0x61,0x74,0x6f,0x62])](_0x3d57a5[_0x39094a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39094a([0x2b]))[_0x39094a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39094a([0x2f])));}function _0x13b450(_0x1148df){let _0x2c11e3=0x1505;function _0x4cb417(_0xd8b59a){for(let _0x29abfe=0x0;_0x29abfe<_0xd8b59a[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29abfe++){const _0x2ed556=_0xd8b59a[_0x39094a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29abfe);_0x2c11e3=(_0x2c11e3<<0x5)+_0x2c11e3+_0x2ed556,_0x2c11e3&=_0x2c11e3;}}function _0x338bdd(_0x5a52a0){Array[_0x39094a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a52a0)?_0x5a52a0[_0x39094a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x338bdd):_0x5a52a0&&typeof _0x5a52a0==_0x39094a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39094a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a52a0)[_0x39094a([0x73,0x6f,0x72,0x74])]()[_0x39094a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x114f96,_0x5aa282])=>{_0x4cb417(_0x114f96),_0x338bdd(_0x5aa282);}):_0x4cb417(window[_0x39094a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a52a0));}return _0x338bdd(_0x1148df),_0x2c11e3>>>0x0;}function _0xaf20d(_0x540436){return _0x540436[_0x39094a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39094a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39094a([0x30]));}function _0x20733d(_0x356018){return _0x356018[_0x39094a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39094a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39094a([0x6a,0x6f,0x69,0x6e])]('');}function _0x50341d(){}function _0x39094a(_0x965cf5){return _0x965cf5['map'](_0x540a5b=>String['fromCharCode'](_0x540a5b))['join']('');}_0x410fa9(await _0x421fde());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x44c104=this['editor'],_0x1f9977=_0x44c104['editing']['view'],_0x4b3de7=this['_getAttachedDomRoot']();if(!_0x4b3de7||0x0===_0x4b3de7['childElementCount'])return void _0x44c104['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x2cd1ab,pageHeight:_0x2e1b7e}=_0x44c104['config']['get']('pagination'),{top:_0x4b9ae7,left:_0x372ba5,bottom:_0x3fe156,right:_0x4b8d10}=this['_configuredPaddings'];this['_pagesContainer']=new _0x7ab0ab(_0x44c104['locale']);const _0x5b1400=this['_pagesContainer'];_0x5b1400['set']('class',''),_0x5b1400['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x2cd1ab,'width':_0x2cd1ab,'height':'calc(\x20'+_0x2e1b7e+'\x20-\x20'+_0x4b9ae7+'\x20-\x20'+_0x3fe156+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4b8d10+'\x200\x20'+_0x372ba5,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x5b1400['bindTemplate']['to']('class')}}),_0x5b1400['render'](),_0x4b3de7['parentNode']['insertBefore'](_0x5b1400['element'],_0x4b3de7['nextSibling']),this['listenTo'](_0x1f9977,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x46b49a of this['editor']['editing']['view']['domRoots']['values']())if(_0x46b49a['ownerDocument']['body']['contains'](_0x46b49a))return _0x46b49a;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x13b46b=this['editor']['editing']['view'],_0x19cb9d=this['_pagesContainer'],_0x15bdc2=this['_getAttachedDomRoot']();if(!_0x15bdc2)return Promise['resolve']();for(_0x19cb9d['class']=['ck-reset','ck-pagination-view',..._0x15bdc2['classList']]['join']('\x20');_0x19cb9d['element']['firstChild'];)_0x19cb9d['element']['firstChild']['remove']();const _0x8de38a=Array['from'](_0x13b46b['domRoots']);_0x8de38a['sort'](([,_0x54ed4c],[,_0x1ad2ce])=>_0x54ed4c['compareDocumentPosition'](_0x1ad2ce)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x585648,_0x58425e]of _0x8de38a){const _0x3b0844=_0x58425e['cloneNode'](!0x0);'attributeStyleMap'in _0x3b0844&&_0x3b0844['attributeStyleMap']['clear'](),_0x3b0844['className']='',_0x3b0844['removeAttribute']('id'),_0x3b0844['dataset']['rootName']=_0x585648,_0x19cb9d['element']['append'](_0x3b0844);}return function(_0xdfd8a3){return Promise['all'](_0xdfd8a3['map'](_0x5a7765=>Promise['race']([p(_0x5a7765),y(0x3e8)])));}(Array['from'](_0x19cb9d['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x35dec6=this['_pagesContainer']['element'];if(!_0x35dec6['ownerDocument']['body']['contains'](_0x35dec6))return;const _0x11eabb=new _0xacc570(_0x35dec6)['excludeScrollbarsAndBorders'](),_0x2dc93a=_0x5edfc3['window']['getComputedStyle'](_0x35dec6),_0x3364c9=parseFloat(_0x2dc93a['paddingLeft'])+parseFloat(_0x2dc93a['paddingRight']),_0x2fd4c9=Math['floor'](_0x11eabb['width']+0x64-_0x3364c9),_0x42824b=x(_0x35dec6,Math['floor'](_0x11eabb['left']-_0x35dec6['scrollLeft']),_0x2fd4c9,_0x11eabb['height'])['map'](_0x2af09b=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2af09b));_0x42824b['every'](_0x7fca50=>!!_0x7fca50)&&(this['pageBreaks']=_0x42824b);}['_mapPageStarterInfoToPageBreakInfo'](_0x3f6604){const _0x4a6c4f=this['editor']['editing']['view'],_0x8ff58d=this['editor']['editing']['mapper'],_0x3803fc=_0x4a6c4f['domConverter'],_0x31ee0d=_0x3f6604['path']['shift'](),_0x1b86c7=this['_pagesContainer']['element']['childNodes'][_0x31ee0d]['dataset']['rootName'],_0x31747b=_0x4a6c4f['getDomRoot'](_0x1b86c7);if(!_0x31747b)return null;const _0x208504=function(_0x473df7,_0xc0938d){let _0x488731=_0x473df7;for(const _0x2a1819 of _0xc0938d['path']){if(!_0x488731)return null;_0x488731=_0x488731['childNodes'][_0x2a1819];}return _0x488731;}(_0x31747b,_0x3f6604);if(!_0x208504)return null;const _0x61e075=_0x3803fc['domPositionToView'](_0x208504,_0x3f6604['textOffset']||0x0);return _0x61e075?'manual'==_0x3f6604['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x61e075,_0x208504):'text'==_0x3f6604['type']&&_0x8ff58d['toModelPosition'](_0x61e075)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x61e075,_0x208504,_0x3f6604['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x61e075,_0x208504,_0x3f6604['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x1ceb78,_0x49f50d){const _0x2638d0=this['editor']['model'],_0x2ab2e3=this['editor']['editing']['mapper']['toModelElement'](_0x1ceb78['parent']),_0xce5267=_0x2638d0['createRangeOn'](_0x2ab2e3);return new K({'type':'manual','modelRange':_0xce5267,'domNode':_0x49f50d,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1579ad,_0x475d0b,_0x1af585){const _0x3338f8=this['editor']['model'],_0x10bb05=this['editor']['editing']['mapper'],_0x3ece9a=this['editor']['editing']['view']['domConverter'];if(_0x1af585>=_0x475d0b['length'])return null;const _0x59dde2=_0x10bb05['toModelPosition'](_0x1579ad),_0x513872=_0x3338f8['createRange'](_0x59dde2),_0x3bba48=_0x10bb05['findMappedViewAncestor'](_0x1579ad),_0x519afc=_0x3ece9a['mapViewToDom'](_0x3bba48);return new K({'type':'text','modelRange':_0x513872,'domNode':_0x475d0b,'offset':m(_0x475d0b,_0x1af585,_0x519afc)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x38239c,_0x44dab4,_0x44984d){const _0x3bd282=this['editor']['model'],_0x2830c2=this['editor']['editing'],_0x2a8e9b=_0x2830c2['mapper'],_0xac0ac7=_0x2830c2['view']['domConverter'],_0x3133be=_0x2a8e9b['findMappedViewAncestor'](_0x38239c),_0x298b10=_0x2a8e9b['toModelElement'](_0x3133be),_0x240d3f=function(_0x40d370){const _0x60c020=_0x40d370['parent'],_0x11965c=_0x60c020['root']['document']['model'],_0x55a32b=_0x60c020['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x54ce96=null;for(const _0x5377e2 of _0x55a32b){if(_0x5377e2['is']('rootElement'))return _0x54ce96;if(!_0x11965c['createPositionBefore'](_0x5377e2)['isTouching'](_0x40d370))return _0x54ce96;_0x54ce96=_0x5377e2;}}(_0x3bd282['createPositionBefore'](_0x298b10)),_0x34d3c6=_0x240d3f||_0x298b10;let _0x4ec6be=_0x2a8e9b['toViewElement'](_0x34d3c6),_0x26481d=_0x3bd282['createRangeOn'](_0x34d3c6);const _0x418d89=_0x3bd282['createPositionBefore'](_0x34d3c6)['nodeBefore'];if(_0x418d89&&_0x418d89['is']('element','imageBlock')){const _0x1ea50d=_0x2a8e9b['toViewElement'](_0x418d89),_0x138060=_0xac0ac7['mapViewToDom'](_0x1ea50d),_0x1a0cce=_0x5edfc3['window']['getComputedStyle'](_0x138060)['float'];'left'!=_0x1a0cce&&'right'!=_0x1a0cce||(_0x26481d=_0x3bd282['createRangeOn'](_0x418d89));}for(;_0x4ec6be['parent']!==_0x4ec6be['root']&&0x0===_0x4ec6be['index'];)_0x4ec6be=_0x4ec6be['parent'];const _0x381ffd=new _0xacc570(S(_0x44dab4)?_0x44dab4:P(_0x44dab4)),_0x3423ac=_0x44984d?_0x381ffd['height']-_0x44984d:0x0,_0x27787c=_0xac0ac7['mapViewToDom'](_0x4ec6be),_0x4258ad=new _0xacc570(_0x27787c);return new K({'type':'element','modelRange':_0x26481d,'domNode':_0x27787c,'offset':Math['round'](_0x3423ac)?_0x3423ac+_0x381ffd['top']-_0x4258ad['top']:0x0});}get['_configuredPaddings'](){const _0x406528=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x406528);}static['_findPageStarterInfos'](_0x5ce513,_0x405b2b,_0x372fd3,_0x1b3cb0,_0x5bdecd){return x(_0x5ce513,_0x405b2b,_0x372fd3,_0x1b3cb0,_0x5bdecd);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xb2694f,modelRange:_0x1dc41d,domNode:_0x44dadf,offset:_0x40880f}){this['type']=_0xb2694f,this['modelRange']=_0x1dc41d,this['_domNode']=_0x44dadf,this['_offset']=_0x40880f;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x475f2a=new _0xacc570(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x475f2a['top']+_0x475f2a['height']/0x2:_0x475f2a['top']+this['_offset'];}}function m(_0x4ab5e3,_0x483d01,_0x4b45c3){const _0x5b4b5d=P(_0x4ab5e3),_0x4a505a=function(_0x8d9285){const _0xbd4d12=_0x5edfc3['document']['createRange']();return _0xbd4d12['selectNodeContents'](_0x8d9285),_0xbd4d12;}(_0x4b45c3);let _0x12108a;_0x12108a=0x0==_0x483d01?b(_0x4a505a['startContainer'],_0x4a505a['startOffset'],_0x4ab5e3['parentNode'],Array['from'](_0x4ab5e3['parentNode']['childNodes'])['indexOf'](_0x4ab5e3)):b(_0x4a505a['startContainer'],_0x4a505a['startOffset'],_0x4ab5e3,_0x483d01);const _0x33bf69=b(_0x4ab5e3,_0x483d01,_0x4a505a['endContainer'],_0x4a505a['endOffset']),_0x177dce=new _0xacc570(_0x12108a)['bottom'];return(new _0xacc570(_0x33bf69)['top']+_0x177dce)/0x2-new _0xacc570(_0x5b4b5d)['top'];}function p(_0x253f4d){return _0x253f4d['hasAttribute']('width')&&_0x253f4d['hasAttribute']('height')?Promise['resolve']():new Promise(_0x550312=>{function _0x3d7518(){_0x253f4d['removeEventListener']('load',_0x3d7518),_0x253f4d['removeEventListener']('error',_0x3d7518),_0x550312();}_0x253f4d['complete']?_0x550312():(_0x253f4d['addEventListener']('load',_0x3d7518),_0x253f4d['addEventListener']('error',_0x3d7518));});}function y(_0x4b3a96){return new Promise(_0x50664f=>setTimeout(_0x50664f,_0x4b3a96));}function P(_0x38803a){const _0x10bec1=_0x5edfc3['document']['createRange']();return _0x10bec1['selectNode'](_0x38803a),_0x10bec1;}function k(_0x294763,_0x202275,_0x2cd8b8){const _0xafe918=_0x5edfc3['document']['createRange']();return _0xafe918['setStart'](_0x294763,_0x202275),_0xafe918['setEnd'](_0x294763,_0x2cd8b8),_0xafe918;}function b(_0x2579f1,_0x2f1d41,_0x359277,_0x4aa749){const _0x28e5ab=_0x5edfc3['document']['createRange']();return _0x28e5ab['setStart'](_0x2579f1,_0x2f1d41),_0x28e5ab['setEnd'](_0x359277,_0x4aa749),_0x28e5ab;}function x(_0x3db61e,_0x32dce0,_0x4ad217,_0x10e07d,_0x207fef){const _0x178800=[];for(const [_0x3a6c3e,_0x11ed66]of _0x3db61e['childNodes']['entries']()){let _0x51e799=[];S(_0x11ed66)&&_0x11ed66['offsetParent']&&!_0x11ed66['style']['position']?_0x51e799=_(_0x11ed66,_0x3a6c3e,_0x32dce0,_0x4ad217,_0x10e07d,_0x207fef):R(_0x11ed66)&&(_0x51e799=B(_0x11ed66,_0x3a6c3e,_0x32dce0,_0x4ad217,_0x207fef)),_0x51e799['length']&&(_0x178800['push'](..._0x51e799),_0x32dce0+=_0x51e799['length']*_0x4ad217,_0x207fef=!0x1);}return _0x178800;}function _(_0x2fa378,_0xfbdb86,_0xeaea78,_0x159f88,_0x807f66,_0x4831ff){const _0x12063f=[];var _0x2eab1b;if((_0x2eab1b=_0x2fa378['previousSibling'])&&S(_0x2eab1b)&&Boolean(_0x2eab1b['classList']['contains']('page-break')||_0x2eab1b['closest']('.page-break'))&&(_0x12063f['push']({'type':'manual','offset':0x0,'path':[_0xfbdb86-0x1]}),_0x4831ff=!0x0),'table-row'==_0x5edfc3['window']['getComputedStyle'](_0x2fa378)['display']){let _0x206cb8=0x0,_0x528c20=!0x1;for(const _0x5d101a of _0x2fa378['getClientRects']())_0x206cb8+=_0x5d101a['height'],_0x5d101a['left']>=_0xeaea78&&(_0x528c20=!0x0);if(_0x206cb8<_0x807f66&&_0x528c20)return _0x12063f['push']({'type':'element','offset':0x0,'path':[_0xfbdb86]}),_0x12063f;}const _0x22042b=_0x2fa378['closest']('figure.image');if(_0x22042b&&function(_0x77318f){let _0x298e79=!0x1;const _0xc9390b=_0x77318f['parentElement'],_0x480950=_0xc9390b['dataset']['rootName'],_0x58b47b=_0x77318f['nextElementSibling'],_0x24cbd3=_0x77318f['previousElementSibling'],_0x2ab8fe=_0x58b47b&&_0x5edfc3['window']['getComputedStyle'](_0x58b47b)['float'],_0x5e8437=_0x58b47b&&'ck-fake-selection-container'===_0x58b47b['className'];!_0x480950||_0x58b47b||_0x24cbd3||(_0x298e79=!0x0),_0x480950&&!_0x24cbd3&&_0x5e8437&&(_0x298e79=!0x0),_0x480950&&!_0x24cbd3&&'none'!==_0x2ab8fe&&(_0x298e79=!0x0);if(_0x298e79)return!0x1;return!0x0;}(_0x22042b)){const _0xb815fa=_0x5edfc3['window']['getComputedStyle'](_0x22042b)['float'];if('left'==_0xb815fa||'right'==_0xb815fa)return _0x12063f;}const _0x305e8b=x(_0x2fa378,_0xeaea78,_0x159f88,_0x807f66,_0x4831ff);if(_0x305e8b['length']){for(const _0xb2e674 of _0x305e8b)_0x12063f['push']({'type':_0xb2e674['type'],'offset':_0xb2e674['offset'],'textOffset':_0xb2e674['textOffset'],'path':[_0xfbdb86,..._0xb2e674['path']]}),_0xeaea78+=_0x159f88,_0x4831ff=!0x1;return _0x12063f;}return _0x12063f['push'](...function(_0x449610,_0x438221,_0x41a122,_0x63fe4c,_0x198306){const _0x2085b6=[];if('table-cell'==_0x5edfc3['window']['getComputedStyle'](_0x449610)['display'])return[];const _0x20d515=[];for(const _0x3b9233 of _0x449610['getClientRects']())if(_0x3b9233['left']>=_0x41a122){for(const _0x4ac99b of _0x20d515)_0x4ac99b['height']+=_0x3b9233['height'];_0x20d515['push']({'height':_0x3b9233['height']}),_0x41a122+=_0x63fe4c;}for(const _0x39cff0 of _0x20d515)_0x198306||_0x2085b6['push']({'type':'element','offset':_0x39cff0['height'],'textOffset':0x0,'path':[_0x438221]}),_0x198306=!0x1;return _0x2085b6;}(_0x2fa378,_0xfbdb86,_0xeaea78,_0x159f88,_0x4831ff)),_0x12063f;}function B(_0x7df95b,_0x1acdd1,_0x644f0d,_0x2c0b6b,_0x316ea0){const _0x5296b9=P(_0x7df95b),_0x43e2c6=[];let _0x4461b1=0x0;for(const _0x20a76c of _0x5296b9['getClientRects']())if(_0x20a76c['left']>=_0x644f0d){const _0x1730cb=I(_0x7df95b,_0x4461b1,_0x644f0d,_0x2c0b6b);_0x316ea0||_0x43e2c6['push']({'type':'text','path':[_0x1acdd1],'textOffset':_0x1730cb}),_0x4461b1=_0x1730cb,_0x644f0d+=_0x2c0b6b,_0x316ea0=!0x1;}return _0x43e2c6;}function I(_0x4af76b,_0x5301d9,_0x20ab94,_0x63e9eb){let _0x30ca4e=_0x5301d9,_0x25b207=_0x4af76b['length'];for(;_0x25b207-_0x30ca4e>0x1;){const _0x2550d9=Math['ceil']((_0x30ca4e+_0x25b207)/0x2);N(k(_0x4af76b,_0x30ca4e,_0x2550d9),_0x20ab94,_0x63e9eb)?_0x25b207=_0x2550d9:_0x30ca4e=_0x2550d9;}return _0x30ca4e;}function N(_0x5e5c81,_0x2684ee,_0x6ef45b){for(const _0x3e48a9 of _0x5e5c81['getClientRects']())if(_0x3e48a9['left']>=_0x2684ee&&_0x3e48a9['left']<_0x2684ee+_0x6ef45b)return!0x0;return!0x1;}function S(_0x2b4c91){return _0x2b4c91['nodeType']==Node['ELEMENT_NODE'];}function R(_0x2c8cef){return _0x2c8cef['nodeType']==Node['TEXT_NODE'];}const z=_0x49e04b('px');class V extends _0x7ab0ab{constructor(){super();const _0x26893c=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x26893c['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x26893c['if']('isVisible','ck-hidden',_0x1477a6=>!_0x1477a6)],'style':{'left':_0x26893c['to']('left',_0x3d0c49=>z(_0x3d0c49)),'top':_0x26893c['to']('top',_0x4ef8a8=>z(_0x4ef8a8)),'width':_0x26893c['to']('width',_0x2c6236=>z(_0x2c6236))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x155623){this['_viewCollection']=_0x155623['ui']['view']['body'];}['destroy'](){for(const _0x572a36 of this['_hiddenLines'])_0x572a36['destroy']();}['cleanLines'](){for(const _0x3246c9 of this['_visibleLines'])_0x3246c9['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3246c9);this['_visibleLines']['clear']();}['showLine'](_0x5c5f6d,_0x5b601f,_0x25518c,_0x8c588b){let _0x719682;this['_hiddenLines']['size']?(_0x719682=_0x409917(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x719682)):_0x719682=new V(),_0x719682['set']({'pageNumber':_0x8c588b,'left':_0x5c5f6d,'top':_0x5b601f,'width':_0x25518c}),_0x719682['isVisible']=!0x0,this['_viewCollection']['has'](_0x719682)||this['_viewCollection']['add'](_0x719682),this['_visibleLines']['add'](_0x719682);}['setViewCollection'](_0x1970d9){for(const _0x1ec074 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1ec074)&&this['_viewCollection']['remove'](_0x1ec074);this['_viewCollection']=_0x1970d9;}}const L='ck-pagination_enabled';class c extends _0xe4eeb0{['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',(_0xc0ac9b,_0x3b015f,_0x1d2bd2)=>{_0x1d2bd2||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x1d2bd2);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x10d4fe){if(!this['isEnabled'])return;const _0x327cb2=_0x10d4fe>0x1?this['_getPageBreakLineOffset'](_0x10d4fe-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x327cb2-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x6cd5b6['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5ab5e1=this['editor'],_0xbf2206=this['_getAttachedDomRoot']();_0xbf2206?(this['_scrollableEditingRootDomAncestor']&&_0x5ab5e1['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x2630ea){let _0x8214f5=_0x2630ea;do{_0x8214f5=_0x8214f5['parentElement'];const _0xcc5f03=_0x5edfc3['window']['getComputedStyle'](_0x8214f5)['overflowY'];if('auto'==_0xcc5f03||'scroll'==_0xcc5f03)break;}while('BODY'!=_0x8214f5['tagName']);return _0x8214f5;}(_0xbf2206),_0x5ab5e1['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2eb937(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5ab5e1['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0xdc249f=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0xdc249f['ui']['view']['listenTo'](_0x5edfc3['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0xdc249f['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x468039 of this['editor']['editing']['view']['domRoots']['values']())if(_0x468039['ownerDocument']['body']['contains'](_0x468039))return _0x468039;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x4b61b1=this['_getAttachedDomRoot'](),_0x24688f=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x4b61b1||0x1==_0x24688f['length'])return void(this['pageNumber']=0x1);const _0x40b9c6=new _0xacc570(_0x4b61b1)['excludeScrollbarsAndBorders'](),_0x2bb1ad=new _0xacc570(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x2bc83f=_0x2bb1ad['top']+_0x2bb1ad['height']/0x3;let _0x147450=!0x1;const _0x9b1d88=[];for(let _0x105333=0x1;_0x105333<_0x24688f['length'];_0x105333++){const _0x503c3e=this['_getPageBreakLineOffset'](_0x105333,_0x2bb1ad);if(!_0x503c3e)continue;const _0xe00275=_0x2bb1ad['top']+_0x503c3e-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x9b1d88['push']({'pageOffsetTop':_0xe00275,'domRootRect':_0x40b9c6,'domScrollableRect':_0x2bb1ad,'pageNumber':_0x105333}),_0xe00275>_0x2bc83f&&!_0x147450&&(this['pageNumber']=_0x105333,_0x147450=!0x0);}this['_renderPageBreakLines'](_0x9b1d88),_0x147450||(this['pageNumber']=_0x24688f['length']);}['_renderPageBreakLines'](_0x545688){const {scrollX:_0x3eb046,scrollY:_0x5051af}=_0x5edfc3['window'];if(_0x545688['length']){for(const {domScrollableRect:_0x2af44c,pageOffsetTop:_0x239194,domRootRect:_0x2a797f,pageNumber:_0x2df145}of _0x545688)_0x2af44c['top']<_0x239194&&_0x239194<_0x2af44c['bottom']&&this['linesRepository']['showLine'](_0x2a797f['left']+_0x3eb046,_0x239194+_0x5051af,_0x2a797f['width'],_0x2df145+0x1);}}['_getPageBreakLineOffset'](_0x2cd611,_0x5f4b11=null){const _0x434a68=this['_paginationLookupPlugin']['pageBreaks'][_0x2cd611]['offset'];return _0x434a68?(_0x5f4b11||(_0x5f4b11=new _0xacc570(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x434a68-_0x5f4b11['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x49fb62,_0x1367cc=!0x0){const _0x4accea=this['editor']['editing']['view'];_0x4accea['change'](_0x5f08aa=>{for(const _0x1155fa of _0x4accea['document']['roots'])_0x1367cc?_0x5f08aa['addClass'](_0x49fb62,_0x1155fa):_0x5f08aa['removeClass'](_0x49fb62,_0x1155fa);});}}function g(_0x2aa499,_0x19e1b3,..._0x2ea12a){const t=_0x2aa499['t'];switch(_0x19e1b3){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)',..._0x2ea12a);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 _0x19e1b3;}}class s extends _0xe4eeb0{['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 _0x1fcf62=this['editor']['plugins']['get']('Pagination'),_0x52594e=this['editor']['plugins']['get'](n),_0x451037=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x1fcf62),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x451037),this['listenTo'](_0x52594e,'change:pageBreaks',(_0x3c7bc5,_0x1dcdc2,_0x58742b,_0x14bf7d)=>{this['totalPages']=_0x58742b['length'],this['_updatePageBreakMarkers'](_0x58742b,_0x14bf7d);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1c94c2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24ee87;for(const _0x38f3e4 in _0x1c94c2){const _0x109170=_0x38f3e4,_0x43cbb0=_0x1c94c2[_0x109170];if('paginationLicenseKeyValid'==_0x43cbb0||'paginationLicenseKeyInvalid'==_0x43cbb0||'paginationLicenseKeyExpired'==_0x43cbb0||'paginationLicenseKeyDomainLimit'==_0x43cbb0||'paginationLicenseKeyNotAllowed'==_0x43cbb0||'paginationLicenseKeyEvaluationLimit'==_0x43cbb0||'paginationLicenseKeyTrialLimit'==_0x43cbb0||'paginationLicenseKeyUsageLimit'==_0x43cbb0){delete _0x1c94c2[_0x109170],_0x24ee87=_0x43cbb0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x24ee87&&_0x1c94c2['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x24ee87&&_0x1c94c2['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x24ee87&&_0x1c94c2['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x24ee87&&_0x1c94c2['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x24ee87&&_0x1c94c2['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x24ee87&&_0x1c94c2['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x24ee87&&_0x1c94c2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1c946d){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x1c946d));}['moveSelectionToPage'](_0x4fefa6){if(!this['isEnabled'])return;const _0x4c2fa1=this['editor'],_0x5436f1=this['editor']['plugins']['get'](n)['pageBreaks'][_0x4fefa6-0x1];_0x5436f1&&_0x4c2fa1['model']['change'](_0x4d2a5d=>{switch(_0x5436f1['type']){case'manual':{const _0x2b8701=_0x4c2fa1['model']['schema']['getNearestSelectionRange'](_0x5436f1['modelRange']['end'],'forward');_0x4d2a5d['setSelection'](_0x2b8701);break;}case'element':{const _0x4ca9ba=_0x4c2fa1['model']['schema']['getNearestSelectionRange'](_0x5436f1['modelRange']['start'],'forward');_0x4d2a5d['setSelection'](_0x4ca9ba);break;}case'text':{const _0x2f4eed=_0x5436f1['modelRange']['start'];if(_0x2f4eed['textNode']&&'\x20'===_0x2f4eed['textNode']['data'][_0x2f4eed['offset']]){const _0x2cf61b=_0x4d2a5d['createPositionAt'](_0x2f4eed['parent'],_0x2f4eed['offset']+0x1);_0x4d2a5d['setSelection'](_0x2cf61b);}else _0x4d2a5d['setSelection'](_0x5436f1['modelRange']);}}_0x4c2fa1['editing']['view']['focus']();});}['goToNextPage'](){const _0x91af14=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x91af14),this['scrollToPage'](_0x91af14);}['goToPreviousPage'](){const _0x38c85c=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x38c85c),this['scrollToPage'](_0x38c85c);}['_updatePageBreakMarkers'](_0x19ea8b,_0x4ee724){const _0x54327e=this['editor']['model'];this['isEnabled']&&_0x54327e['change'](_0x83f182=>{for(let _0x26d272=0x1;_0x26d272<_0x19ea8b['length'];_0x26d272++){const _0x101897=_0x19ea8b[_0x26d272]['modelRange'],_0xc3e892='pagination:'+(_0x26d272+0x1);_0x54327e['markers']['has'](_0xc3e892)?_0x83f182['updateMarker'](_0xc3e892,{'range':_0x101897}):_0x83f182['addMarker'](_0xc3e892,{'range':_0x101897,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x2682e2=_0x19ea8b['length'];_0x2682e2<_0x4ee724['length'];_0x2682e2++){const _0x37be70='pagination:'+(_0x2682e2+0x1);_0x54327e['markers']['has'](_0x37be70)&&_0x83f182['removeMarker'](_0x37be70);}});}['_setUpDataDowncastConversion'](){const _0x59ee29='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x10d64d=>{_0x10d64d['on']('addMarker:'+_0x59ee29,(_0x374912,{markerRange:_0x21a789,markerName:_0x292b1b},_0x1cc310)=>{if(!_0x1cc310['options']['pagination'])return;if(!_0x1cc310['consumable']['consume'](_0x21a789,_0x374912['name']))return;const _0x1c157a=_0x21a789['getContainedElement']();let _0x10f11b=_0x1c157a?_0x1cc310['mapper']['toViewElement'](_0x1c157a):null;if(!_0x10f11b){const _0x9a5e28=_0x21a789['start'];if(_0x1cc310['schema']['checkChild'](_0x9a5e28,'$text')){const _0x63e049=_0x1cc310['mapper']['toViewPosition'](_0x9a5e28);_0x10f11b=_0x1cc310['writer']['createContainerElement']('span'),_0x10f11b['getFillerOffset']=()=>null,_0x1cc310['writer']['insert'](_0x63e049,_0x10f11b);}else{const _0x1cbda7=_0x9a5e28['nodeAfter'];_0x10f11b=_0x1cc310['mapper']['toViewElement'](_0x1cbda7);}}for(;_0x10f11b['parent']!==_0x10f11b['root']&&0x0===_0x10f11b['index'];)_0x10f11b=_0x10f11b['parent'];const _0x75b5d1=_0x292b1b['substring'](0xb);_0x10f11b['hasClass']('page-break')||(_0x1cc310['writer']['setStyle']('page-break-before','always',_0x10f11b),_0x1cc310['writer']['setAttribute']('data-pagination-page',_0x75b5d1,_0x10f11b),_0x1cc310['mapper']['bindElementToMarker'](_0x10f11b,_0x292b1b)),_0x374912['stop']();});});}['_setupKeystrokes'](){const _0x5444fa=this['editor'];_0x5444fa['keystrokes']['set']('Shift+Pageup',(_0x56285e,_0xe7bb0b)=>{this['goToPreviousPage'](),_0xe7bb0b();}),_0x5444fa['keystrokes']['set']('Shift+Pagedown',(_0x40acab,_0x251e65)=>{this['goToNextPage'](),_0x251e65();}),_0x5444fa['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x5444fa['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x5444fa['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x5444fa['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0xd999b1){return _0xd999b1<0x1&&(_0xd999b1=0x1),_0xd999b1>this['totalPages']&&(_0xd999b1=this['totalPages']),_0xd999b1;}}class U extends _0x7ab0ab{['pageNumberView'];constructor(_0x51ba33){super(_0x51ba33);const _0x13d18b=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1c3385(_0x51ba33,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x100e82=>g(_0x51ba33,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x100e82)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x487937=>!_0x487937),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x13d18b['if']('isEnabled','ck-disabled',_0x10e62c=>!_0x10e62c)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x13d18b['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4efdc2=this['pageNumberView']['element'],_0x4a01da=_0x279b66=>{this['pageNumberView']['element']['value']=String(_0x279b66);};_0x4a01da(this['pageNumber']),this['on']('change:pageNumber',(_0x249e6e,_0x22bee2,_0x1fc1ed)=>{_0x4a01da(_0x1fc1ed);}),this['listenTo'](_0x4efdc2,'keydown',(_0x220612,_0x450198)=>{if('ArrowUp'===_0x450198['key']||'ArrowDown'===_0x450198['key'])return void _0x450198['stopPropagation']();if(_0x450198['keyCode']!==_0x548cf3['enter'])return;_0x450198['preventDefault']();const _0x4e5d71=_0x4efdc2['valueAsNumber'];Number['isNaN'](_0x4e5d71)?_0x4efdc2['value']=String(this['pageNumber']):(_0x4efdc2['checkValidity']()?this['pageNumber']=_0x4e5d71:_0x4e5d71>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4efdc2['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4efdc2['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4efdc2,'blur',()=>{_0x4efdc2['value']=String(this['pageNumber']);}),this['listenTo'](_0x4efdc2,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0xe4eeb0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x506eb2=this['editor'],_0xc3848c=_0x506eb2['plugins']['get']('PaginationEditing');_0x506eb2['ui']['componentFactory']['add']('pageNavigation',_0x48b830=>{const _0x38a0b7=new U(_0x48b830);return _0x38a0b7['bind']('pageNumber')['to'](_0xc3848c),_0x38a0b7['bind']('totalPages')['to'](_0xc3848c),_0x38a0b7['bind']('isEnabled')['to'](_0xc3848c),_0x38a0b7['on']('navigation',(_0x10a44b,_0x2d1c69)=>{_0xc3848c['moveSelectionToPage'](_0x2d1c69),_0xc3848c['scrollToPage'](_0x2d1c69);}),_0x38a0b7;}),_0x506eb2['ui']['componentFactory']['add']('nextPage',_0x35bc70=>{const _0x6abcba=new _0x22b168(_0x35bc70);return _0x6abcba['isEnabled']=!0x0,_0x6abcba['label']=g(_0x506eb2['locale'],'Go\x20to\x20next\x20page'),_0x6abcba['icon']=_0x37b3cd,_0x6abcba['tooltip']=!0x0,_0x6abcba['keystroke']='Shift+PageDown',_0x6abcba['bind']('isEnabled')['to'](_0xc3848c),this['listenTo'](_0x6abcba,'execute',()=>{_0xc3848c['goToNextPage']();}),_0x6abcba;}),_0x506eb2['ui']['componentFactory']['add']('previousPage',_0x42f1=>{const _0x3b9b66=new _0x22b168(_0x42f1);return _0x3b9b66['isEnabled']=!0x0,_0x3b9b66['label']=g(_0x506eb2['locale'],'Go\x20to\x20previous\x20page'),_0x3b9b66['icon']=_0x2de10f,_0x3b9b66['tooltip']=!0x0,_0x3b9b66['keystroke']='Shift+PageUp',_0x3b9b66['bind']('isEnabled')['to'](_0xc3848c),this['listenTo'](_0x3b9b66,'execute',()=>{_0xc3848c['goToPreviousPage']();}),_0x3b9b66;});}}class a extends _0xe4eeb0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x3a96f1){super(_0x3a96f1),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x50257a=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x50257a),this['bind']('totalPages')['to'](_0x50257a),_0x6cd5b6['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4b063c){this['editor']['plugins']['get'](s)['scrollToPage'](_0x4b063c);}}export{a as Pagination,c as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x3f20a8}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x5e612c,InputNumberView as _0x3fb306,ButtonView as _0x3a57a8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x5081a3,Rect as _0x2e4deb,global as _0x3c03db,uid as _0x433903,toUnit as _0x228546,first as _0xc18602,env as _0x421c35,ResizeObserver as _0x1eb20e,keyCodes as _0x1c1c26}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x340b21}from'es-toolkit/compat';import{IconArrowDown as _0x5dab0a,IconArrowUp as _0x2e6857}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3f20a8{['_recalculatePageBreaksDebounced']=_0x340b21(()=>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 _0x5081a3('pagination-config-not-found',this['editor']['config']);const _0x347245=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x347245),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3c0cce,_0x325cf0,_0xdcb1c8)=>{_0xdcb1c8&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x3a86bd){const _0x73a8c3=_0x2c39a3([0x56,0x51,0x4e,0x71,0x42,0x39,0x61,0x77,0x4c,0x78,0x4f,0x38,0x6a,0x36,0x43,0x6c,0x45,0x5a,0x62,0x46,0x6b,0x75,0x70,0x68,0x35,0x55,0x37,0x6f,0x53,0x7a,0x54,0x64,0x58,0x33,0x73,0x49,0x34,0x50,0x32,0x63,0x4b,0x41,0x4d,0x44,0x6d,0x72,0x52,0x79,0x74,0x48,0x57,0x4a,0x59,0x65,0x69,0x47,0x67,0x66,0x30,0x76,0x31,0x6e]),_0x3bdf76=0x68ffe8ff,_0x24966d=0x68f88f2f^_0x3bdf76,_0x212882=window[_0x2c39a3([0x44,0x61,0x74,0x65])][_0x2c39a3([0x6e,0x6f,0x77])](),_0x63bec4=_0x3a86bd[_0x2c39a3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x516934=new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434d58=>{_0x63bec4[_0x2c39a3([0x6f,0x6e,0x63,0x65])](_0x2c39a3([0x72,0x65,0x61,0x64,0x79]),_0x434d58);}),_0x5b30b6={[_0x2c39a3([0x6b,0x74,0x79])]:_0x2c39a3([0x45,0x43]),[_0x2c39a3([0x75,0x73,0x65])]:_0x2c39a3([0x73,0x69,0x67]),[_0x2c39a3([0x63,0x72,0x76])]:_0x2c39a3([0x50,0x2d,0x32,0x35,0x36]),[_0x2c39a3([0x78])]:_0x2c39a3([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]),[_0x2c39a3([0x79])]:_0x2c39a3([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]),[_0x2c39a3([0x61,0x6c,0x67])]:_0x2c39a3([0x45,0x53,0x32,0x35,0x36])},_0x33e69a=_0x63bec4[_0x2c39a3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c39a3([0x67,0x65,0x74])](_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46636c(){let _0x30cede,_0x1fea66=null,_0x5447d8=null;try{if(_0x33e69a==_0x2c39a3([0x47,0x50,0x4c]))return _0x2c39a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30cede=_0x83d39e(),!_0x30cede)return _0x2c39a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30cede[_0x2c39a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5447d8=_0x1bf76d(_0x30cede[_0x2c39a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30cede[_0x2c39a3([0x6a,0x74,0x69])])),await _0xa3c163()?_0x3c8871()?_0x799cb0()?_0x2c39a3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5db134()?(_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c39a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1fea66=_0x3dcb54(_0x2c39a3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c39a3([0x74,0x72,0x69,0x61,0x6c])&&(_0x1fea66=_0x3dcb54(_0x2c39a3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d9760()):_0x2c39a3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c39a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c39a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x23c929){return _0x2c39a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x799cb0(){const _0x528f84=[_0x2c39a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c39a3([0x74,0x72,0x69,0x61,0x6c])][_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x212882/0x3e8:0xe10*_0x24966d;return _0x30cede[_0x2c39a3([0x65,0x78,0x70])]<_0x528f84;}function _0x3c8871(){const _0x5e283f=_0x30cede[_0x2c39a3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e283f&&(!!_0x5e283f[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c39a3([0x2a]))||!!_0x5e283f[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c39a3([0x50,0x41,0x47])));}function _0x5db134(){const _0x4d075a=_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d075a||0x0==_0x4d075a[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xad7e46}=new URL(window[_0x2c39a3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4d075a[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xad7e46))return!0x0;const _0x5de627=_0xad7e46[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e]));return _0x4d075a[_0x2c39a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3055fd=>_0x3055fd[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c39a3([0x2a])))[_0x2c39a3([0x6d,0x61,0x70])](_0x19caf0=>_0x19caf0[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e])))[_0x2c39a3([0x73,0x6f,0x6d,0x65])](_0x19feb8=>_0x5de627[_0x2c39a3([0x65,0x76,0x65,0x72,0x79])]((_0x3320a7,_0x225270)=>_0x19feb8[_0x225270]===_0x3320a7||_0x19feb8[_0x225270]===_0x2c39a3([0x2a])));}function _0x2d9760(){return _0x1fea66&&_0x5447d8?new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x357367,_0x21f911)=>{_0x1fea66[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x357367,_0x21f911),_0x5447d8[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x599ccf=>{_0x599ccf!=_0x2c39a3([0x56,0x61,0x6c,0x69,0x64])&&_0x357367(_0x599ccf);},_0x21f911);}):_0x1fea66||_0x5447d8||_0x2c39a3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1bf76d(_0x5c42d2,_0x4e765e){return new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11aec4=>{if(_0x184507())return _0x11aec4(_0x2c39a3([0x56,0x61,0x6c,0x69,0x64]));_0x46630b(),_0x63bec4[_0x2c39a3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c39a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c5550=!0x1;const _0x2b7985=_0x433903();function _0x14fb8c(_0x79f155){return!!_0x79f155&&(typeof _0x79f155===_0x2c39a3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x79f155===_0x2c39a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x79f155[_0x2c39a3([0x74,0x68,0x65,0x6e])]===_0x2c39a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x79f155[_0x2c39a3([0x63,0x61,0x74,0x63,0x68])]===_0x2c39a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ac523(_0x2a1638){_0x214e05(_0x2a1638)[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x393bd1=>{if(!_0x393bd1||_0x393bd1[_0x2c39a3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c39a3([0x6f,0x6b]))return _0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25bcad(_0x971fa3(_0x2b7985+_0x4e765e))!=_0x393bd1[_0x2c39a3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c39a3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x5a6d09=>(_0x27d641(),_0x5a6d09),()=>{const _0x591395=_0x46d387();return null==_0x591395?(_0x27d641(),_0x2c39a3([0x56,0x61,0x6c,0x69,0x64])):_0x2c39a3(_0x212882-_0x591395>(0x4cf36cff^_0x3bdf76)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x11aec4)[_0x2c39a3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11aec4(_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x959410=0x68c9067f^_0x3bdf76;function _0x27d641(){const _0x174ea0=_0x2c39a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x25bcad(_0x971fa3(_0x5c42d2)),_0x55e4cf=_0x11e2da(_0x25bcad(window[_0x2c39a3([0x4d,0x61,0x74,0x68])][_0x2c39a3([0x63,0x65,0x69,0x6c])](_0x212882/_0x959410)));window[_0x2c39a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c39a3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x174ea0,_0x55e4cf);}function _0x46d387(){const _0x2d9a98=_0x2c39a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x25bcad(_0x971fa3(_0x5c42d2)),_0x2b6ce9=window[_0x2c39a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c39a3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d9a98);return _0x2b6ce9?window[_0x2c39a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11e2da(_0x2b6ce9),0x10)*_0x959410:null;}function _0x214e05(_0x3aa3ce){return new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2db91b,_0x150d50)=>{_0x3aa3ce[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x2db91b,_0x150d50),window[_0x2c39a3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x150d50,0x68fe3c3f^_0x3bdf76);});}}_0x63bec4[_0x2c39a3([0x6f,0x6e])](_0x2c39a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32d21a,_0x5b76f4)=>{if(_0x5b76f4[0x0]!=_0x5c42d2)return _0x11aec4(_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b76f4[0x1]={..._0x5b76f4[0x1],[_0x2c39a3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b7985};},{[_0x2c39a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c39a3([0x68,0x69,0x67,0x68])}),_0x63bec4[_0x2c39a3([0x6f,0x6e])](_0x2c39a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c5ab0=>{_0x14fb8c(_0x4c5ab0[_0x2c39a3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c5550=!0x0,_0x2ac523(_0x4c5ab0[_0x2c39a3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c39a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c39a3([0x6c,0x6f,0x77])}),_0x516934[_0x2c39a3([0x74,0x68,0x65,0x6e])](()=>{_0x1c5550||_0x11aec4(_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x184507(){return _0x63bec4[_0x2c39a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c39a3([0x76,0x69,0x65,0x77])][_0x2c39a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c39a3([0x61,0x75,0x74,0x6f]);}function _0x46630b(){_0x63bec4[_0x2c39a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c39a3([0x76,0x69,0x65,0x77])][_0x2c39a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c39a3([0x61,0x75,0x74,0x6f]);}}function _0x3dcb54(_0x3f6839){const _0x4cd551=[new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20b3ad=>setTimeout(_0x20b3ad,0x68f6d633^_0x3bdf76)),_0x516934[_0x2c39a3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40e850=>{let _0x2b3421=0x0;_0x63bec4[_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c39a3([0x6f,0x6e])](_0x2c39a3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6fec04,_0x359ba2)=>{_0x359ba2[0x0][_0x2c39a3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b3421++,_0x2b3421==(0x68ffe907^_0x3bdf76)&&(_0x40e850(),_0x6fec04[_0x2c39a3([0x6f,0x66,0x66])]());});}))];return window[_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c39a3([0x72,0x61,0x63,0x65])](_0x4cd551)[_0x2c39a3([0x74,0x68,0x65,0x6e])](()=>_0x3f6839);}async function _0x367e93(){await _0x516934,_0x63bec4[_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c39a3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4215a7,_0x63bec4[_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c39a3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4215a7,_0x63bec4[_0x2c39a3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7113eb(_0x598a5){const _0x201f55=_0x2dca94();_0x63bec4[_0x201f55]=_0x2c39a3([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x598a5,_0x598a5!=_0x2c39a3([0x56,0x61,0x6c,0x69,0x64])&&_0x367e93();}function _0x2dca94(){const _0x2982fa=window[_0x2c39a3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c39a3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c39a3([0x6e,0x6f,0x77])]())[_0x2c39a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c39a3([0x2e]),'');let _0x3fd94a=_0x2c39a3([0x56]);for(let _0x289914=0x0;_0x289914<_0x2982fa[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x289914+=0x2){let _0x437136=window[_0x2c39a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2982fa[_0x2c39a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x289914,_0x289914+0x2));_0x437136>=_0x73a8c3[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x437136-=_0x73a8c3[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fd94a+=_0x73a8c3[_0x437136];}return _0x3fd94a;}function _0x83d39e(){const _0x5a5903=_0x33e69a[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e]));if(0x3!=_0x5a5903[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52d5fa(_0x5a5903[0x1]);function _0x52d5fa(_0x4dd292){const _0x323fb7=_0x140364(_0x4dd292);return _0x323fb7&&_0x505c85()?_0x323fb7:null;function _0x505c85(){const _0x1ca15d=_0x323fb7[_0x2c39a3([0x6a,0x74,0x69])],_0x25a10e=window[_0x2c39a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ca15d[_0x2c39a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ca15d[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f2b41={..._0x323fb7,[_0x2c39a3([0x6a,0x74,0x69])]:_0x1ca15d[_0x2c39a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ca15d[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f2b41[_0x2c39a3([0x76,0x63])],_0x971fa3(_0x2f2b41)==_0x25a10e;}}}async function _0xa3c163(){let _0x2ec391=!0x0;try{const _0x59a5b8=_0x33e69a[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e])),[_0x32ea6d,_0x14d712,_0x253415]=_0x59a5b8;return _0x558478(_0x32ea6d),await _0x32a659(_0x32ea6d,_0x14d712,_0x253415),_0x2ec391;}catch(_0x5e320f){return!0x1;}function _0x558478(_0xd04e6a){const _0x3a636e=_0x140364(_0xd04e6a);_0x3a636e&&_0x3a636e[_0x2c39a3([0x61,0x6c,0x67])]==_0x2c39a3([0x45,0x53,0x32,0x35,0x36])||(_0x2ec391=!0x1);}async function _0x32a659(_0x16b00e,_0x3974d6,_0x14b2e8){const _0x1d0e07=window[_0x2c39a3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c39a3([0x66,0x72,0x6f,0x6d])](_0x496a2c(_0x14b2e8),_0x3e7c4e=>_0x3e7c4e[_0x2c39a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x550504=new window[(_0x2c39a3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c39a3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16b00e+_0x2c39a3([0x2e])+_0x3974d6),_0x4e85a3=window[_0x2c39a3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c39a3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e85a3)return;const _0x24fddf=await _0x4e85a3[_0x2c39a3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c39a3([0x6a,0x77,0x6b]),_0x5b30b6,{[_0x2c39a3([0x6e,0x61,0x6d,0x65])]:_0x2c39a3([0x45,0x43,0x44,0x53,0x41]),[_0x2c39a3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c39a3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c39a3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e85a3[_0x2c39a3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c39a3([0x6e,0x61,0x6d,0x65])]:_0x2c39a3([0x45,0x43,0x44,0x53,0x41]),[_0x2c39a3([0x68,0x61,0x73,0x68])]:{[_0x2c39a3([0x6e,0x61,0x6d,0x65])]:_0x2c39a3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24fddf,_0x1d0e07,_0x550504)||(_0x2ec391=!0x1);}}function _0x140364(_0x5506e6){return _0x5506e6[_0x2c39a3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c39a3([0x65,0x79]))?JSON[_0x2c39a3([0x70,0x61,0x72,0x73,0x65])](_0x496a2c(_0x5506e6)):null;}function _0x496a2c(_0x2aad0e){return window[_0x2c39a3([0x61,0x74,0x6f,0x62])](_0x2aad0e[_0x2c39a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c39a3([0x2b]))[_0x2c39a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c39a3([0x2f])));}function _0x971fa3(_0x16847e){let _0x379d99=0x1505;function _0x35f683(_0x5bcabe){for(let _0x892e21=0x0;_0x892e21<_0x5bcabe[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x892e21++){const _0x3eee6d=_0x5bcabe[_0x2c39a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x892e21);_0x379d99=(_0x379d99<<0x5)+_0x379d99+_0x3eee6d,_0x379d99&=_0x379d99;}}function _0x3d1bf5(_0x24001a){Array[_0x2c39a3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24001a)?_0x24001a[_0x2c39a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d1bf5):_0x24001a&&typeof _0x24001a==_0x2c39a3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c39a3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24001a)[_0x2c39a3([0x73,0x6f,0x72,0x74])]()[_0x2c39a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35ef73,_0x3679cc])=>{_0x35f683(_0x35ef73),_0x3d1bf5(_0x3679cc);}):_0x35f683(window[_0x2c39a3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24001a));}return _0x3d1bf5(_0x16847e),_0x379d99>>>0x0;}function _0x25bcad(_0x4edf2d){return _0x4edf2d[_0x2c39a3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c39a3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c39a3([0x30]));}function _0x11e2da(_0x99a8a2){return _0x99a8a2[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c39a3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c39a3([0x6a,0x6f,0x69,0x6e])]('');}function _0x4215a7(){}function _0x2c39a3(_0x16adad){return _0x16adad['map'](_0x153bec=>String['fromCharCode'](_0x153bec))['join']('');}_0x7113eb(await _0x46636c());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xa56a01=this['editor'],_0x256dbc=_0xa56a01['editing']['view'],_0x3485c1=this['_getAttachedDomRoot']();if(!_0x3485c1||0x0===_0x3485c1['childElementCount'])return void _0xa56a01['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x266405,pageHeight:_0x103e95}=_0xa56a01['config']['get']('pagination'),{top:_0x33067c,left:_0x593228,bottom:_0x53bcd5,right:_0x16d337}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5e612c(_0xa56a01['locale']);const _0x45b4ac=this['_pagesContainer'];_0x45b4ac['set']('class',''),_0x45b4ac['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x266405,'width':_0x266405,'height':'calc(\x20'+_0x103e95+'\x20-\x20'+_0x33067c+'\x20-\x20'+_0x53bcd5+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x16d337+'\x200\x20'+_0x593228,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x45b4ac['bindTemplate']['to']('class')}}),_0x45b4ac['render'](),_0x3485c1['parentNode']['insertBefore'](_0x45b4ac['element'],_0x3485c1['nextSibling']),this['listenTo'](_0x256dbc,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0xbc4797 of this['editor']['editing']['view']['domRoots']['values']())if(_0xbc4797['ownerDocument']['body']['contains'](_0xbc4797))return _0xbc4797;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x42f0bf=this['editor']['editing']['view'],_0xb57673=this['_pagesContainer'],_0x4efecb=this['_getAttachedDomRoot']();if(!_0x4efecb)return Promise['resolve']();for(_0xb57673['class']=['ck-reset','ck-pagination-view',..._0x4efecb['classList']]['join']('\x20');_0xb57673['element']['firstChild'];)_0xb57673['element']['firstChild']['remove']();const _0x2af7c3=Array['from'](_0x42f0bf['domRoots']);_0x2af7c3['sort'](([,_0x5e8a78],[,_0x494cfd])=>_0x5e8a78['compareDocumentPosition'](_0x494cfd)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1cddb2,_0x10b2de]of _0x2af7c3){const _0x1baa33=_0x10b2de['cloneNode'](!0x0);'attributeStyleMap'in _0x1baa33&&_0x1baa33['attributeStyleMap']['clear'](),_0x1baa33['className']='',_0x1baa33['removeAttribute']('id'),_0x1baa33['dataset']['rootName']=_0x1cddb2,_0xb57673['element']['append'](_0x1baa33);}return function(_0x1cd89d){return Promise['all'](_0x1cd89d['map'](_0x5f4ba6=>Promise['race']([p(_0x5f4ba6),y(0x3e8)])));}(Array['from'](_0xb57673['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x3bde0c=this['_pagesContainer']['element'];if(!_0x3bde0c['ownerDocument']['body']['contains'](_0x3bde0c))return;const _0x5cdb93=new _0x2e4deb(_0x3bde0c)['excludeScrollbarsAndBorders'](),_0x7dbb78=_0x3c03db['window']['getComputedStyle'](_0x3bde0c),_0x3b6775=parseFloat(_0x7dbb78['paddingLeft'])+parseFloat(_0x7dbb78['paddingRight']),_0x459988=Math['floor'](_0x5cdb93['width']+0x64-_0x3b6775),_0x5aff1f=x(_0x3bde0c,Math['floor'](_0x5cdb93['left']-_0x3bde0c['scrollLeft']),_0x459988,_0x5cdb93['height'])['map'](_0x5603c3=>this['_mapPageStarterInfoToPageBreakInfo'](_0x5603c3));_0x5aff1f['every'](_0x2bf278=>!!_0x2bf278)&&(this['pageBreaks']=_0x5aff1f);}['_mapPageStarterInfoToPageBreakInfo'](_0x20a1dd){const _0x884c07=this['editor']['editing']['view'],_0x1f5bc2=this['editor']['editing']['mapper'],_0x357be1=_0x884c07['domConverter'],_0x59ea33=_0x20a1dd['path']['shift'](),_0x1d08e6=this['_pagesContainer']['element']['childNodes'][_0x59ea33]['dataset']['rootName'],_0x54d03a=_0x884c07['getDomRoot'](_0x1d08e6);if(!_0x54d03a)return null;const _0x54dabf=function(_0x195932,_0x31c0a2){let _0x4cb25c=_0x195932;for(const _0x301549 of _0x31c0a2['path']){if(!_0x4cb25c)return null;_0x4cb25c=_0x4cb25c['childNodes'][_0x301549];}return _0x4cb25c;}(_0x54d03a,_0x20a1dd);if(!_0x54dabf)return null;const _0x33d0c8=_0x357be1['domPositionToView'](_0x54dabf,_0x20a1dd['textOffset']||0x0);return _0x33d0c8?'manual'==_0x20a1dd['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x33d0c8,_0x54dabf):'text'==_0x20a1dd['type']&&_0x1f5bc2['toModelPosition'](_0x33d0c8)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x33d0c8,_0x54dabf,_0x20a1dd['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x33d0c8,_0x54dabf,_0x20a1dd['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x2632f2,_0x30419d){const _0x4e63be=this['editor']['model'],_0x223fe6=this['editor']['editing']['mapper']['toModelElement'](_0x2632f2['parent']),_0x9a6b6f=_0x4e63be['createRangeOn'](_0x223fe6);return new K({'type':'manual','modelRange':_0x9a6b6f,'domNode':_0x30419d,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1d3904,_0x2109d5,_0x337d79){const _0x6ed775=this['editor']['model'],_0x2cad08=this['editor']['editing']['mapper'],_0x2bb227=this['editor']['editing']['view']['domConverter'];if(_0x337d79>=_0x2109d5['length'])return null;const _0x5f15e8=_0x2cad08['toModelPosition'](_0x1d3904),_0x48b24d=_0x6ed775['createRange'](_0x5f15e8),_0x3776b2=_0x2cad08['findMappedViewAncestor'](_0x1d3904),_0x3e6c2d=_0x2bb227['mapViewToDom'](_0x3776b2);return new K({'type':'text','modelRange':_0x48b24d,'domNode':_0x2109d5,'offset':m(_0x2109d5,_0x337d79,_0x3e6c2d)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x6358fc,_0x3a1f3f,_0x3767f8){const _0x3b9727=this['editor']['model'],_0xf312a3=this['editor']['editing'],_0x21cba4=_0xf312a3['mapper'],_0x47ccdf=_0xf312a3['view']['domConverter'],_0x366c77=_0x21cba4['findMappedViewAncestor'](_0x6358fc),_0x5e9691=_0x21cba4['toModelElement'](_0x366c77),_0x85e701=function(_0x57b457){const _0x2a4551=_0x57b457['parent'],_0x24c710=_0x2a4551['root']['document']['model'],_0x30efd0=_0x2a4551['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5c4626=null;for(const _0x2f1a81 of _0x30efd0){if(_0x2f1a81['is']('rootElement'))return _0x5c4626;if(!_0x24c710['createPositionBefore'](_0x2f1a81)['isTouching'](_0x57b457))return _0x5c4626;_0x5c4626=_0x2f1a81;}}(_0x3b9727['createPositionBefore'](_0x5e9691)),_0x19ba52=_0x85e701||_0x5e9691;let _0x10465b=_0x21cba4['toViewElement'](_0x19ba52),_0x2596a9=_0x3b9727['createRangeOn'](_0x19ba52);const _0x29162f=_0x3b9727['createPositionBefore'](_0x19ba52)['nodeBefore'];if(_0x29162f&&_0x29162f['is']('element','imageBlock')){const _0x236db4=_0x21cba4['toViewElement'](_0x29162f),_0x151307=_0x47ccdf['mapViewToDom'](_0x236db4),_0x4cf099=_0x3c03db['window']['getComputedStyle'](_0x151307)['float'];'left'!=_0x4cf099&&'right'!=_0x4cf099||(_0x2596a9=_0x3b9727['createRangeOn'](_0x29162f));}for(;_0x10465b['parent']!==_0x10465b['root']&&0x0===_0x10465b['index'];)_0x10465b=_0x10465b['parent'];const _0x37cf09=new _0x2e4deb(S(_0x3a1f3f)?_0x3a1f3f:P(_0x3a1f3f)),_0x4ec7bc=_0x3767f8?_0x37cf09['height']-_0x3767f8:0x0,_0x2301cb=_0x47ccdf['mapViewToDom'](_0x10465b),_0x26bad1=new _0x2e4deb(_0x2301cb);return new K({'type':'element','modelRange':_0x2596a9,'domNode':_0x2301cb,'offset':Math['round'](_0x4ec7bc)?_0x4ec7bc+_0x37cf09['top']-_0x26bad1['top']:0x0});}get['_configuredPaddings'](){const _0x27b43f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x27b43f);}static['_findPageStarterInfos'](_0x34e610,_0x547f94,_0x33a58c,_0x32a226,_0x5204c4){return x(_0x34e610,_0x547f94,_0x33a58c,_0x32a226,_0x5204c4);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xf572,modelRange:_0x31e2c0,domNode:_0x242bf3,offset:_0x116618}){this['type']=_0xf572,this['modelRange']=_0x31e2c0,this['_domNode']=_0x242bf3,this['_offset']=_0x116618;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x3c60f4=new _0x2e4deb(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x3c60f4['top']+_0x3c60f4['height']/0x2:_0x3c60f4['top']+this['_offset'];}}function m(_0x1eefcf,_0x45be33,_0x57354c){const _0x4c1c04=P(_0x1eefcf),_0x57b33a=function(_0x1d61a3){const _0x1e8eed=_0x3c03db['document']['createRange']();return _0x1e8eed['selectNodeContents'](_0x1d61a3),_0x1e8eed;}(_0x57354c);let _0x58e966;_0x58e966=0x0==_0x45be33?b(_0x57b33a['startContainer'],_0x57b33a['startOffset'],_0x1eefcf['parentNode'],Array['from'](_0x1eefcf['parentNode']['childNodes'])['indexOf'](_0x1eefcf)):b(_0x57b33a['startContainer'],_0x57b33a['startOffset'],_0x1eefcf,_0x45be33);const _0x44c4e0=b(_0x1eefcf,_0x45be33,_0x57b33a['endContainer'],_0x57b33a['endOffset']),_0x5dc2b8=new _0x2e4deb(_0x58e966)['bottom'];return(new _0x2e4deb(_0x44c4e0)['top']+_0x5dc2b8)/0x2-new _0x2e4deb(_0x4c1c04)['top'];}function p(_0x39955e){return _0x39955e['hasAttribute']('width')&&_0x39955e['hasAttribute']('height')?Promise['resolve']():new Promise(_0x54b7e3=>{function _0x5df747(){_0x39955e['removeEventListener']('load',_0x5df747),_0x39955e['removeEventListener']('error',_0x5df747),_0x54b7e3();}_0x39955e['complete']?_0x54b7e3():(_0x39955e['addEventListener']('load',_0x5df747),_0x39955e['addEventListener']('error',_0x5df747));});}function y(_0x36df55){return new Promise(_0x370e4e=>setTimeout(_0x370e4e,_0x36df55));}function P(_0x4902bc){const _0x34a869=_0x3c03db['document']['createRange']();return _0x34a869['selectNode'](_0x4902bc),_0x34a869;}function k(_0x46996e,_0x3e6299,_0x5e94b1){const _0x2724a8=_0x3c03db['document']['createRange']();return _0x2724a8['setStart'](_0x46996e,_0x3e6299),_0x2724a8['setEnd'](_0x46996e,_0x5e94b1),_0x2724a8;}function b(_0xff4953,_0x356d05,_0x4b6561,_0x1ec022){const _0x1fc43c=_0x3c03db['document']['createRange']();return _0x1fc43c['setStart'](_0xff4953,_0x356d05),_0x1fc43c['setEnd'](_0x4b6561,_0x1ec022),_0x1fc43c;}function x(_0x1c01fc,_0x2c0437,_0x4f460e,_0x29175f,_0x4b0e8f){const _0x24fcc9=[];for(const [_0x4c0f2c,_0xc51755]of _0x1c01fc['childNodes']['entries']()){let _0x1fede0=[];S(_0xc51755)&&_0xc51755['offsetParent']&&!_0xc51755['style']['position']?_0x1fede0=_(_0xc51755,_0x4c0f2c,_0x2c0437,_0x4f460e,_0x29175f,_0x4b0e8f):R(_0xc51755)&&(_0x1fede0=B(_0xc51755,_0x4c0f2c,_0x2c0437,_0x4f460e,_0x4b0e8f)),_0x1fede0['length']&&(_0x24fcc9['push'](..._0x1fede0),_0x2c0437+=_0x1fede0['length']*_0x4f460e,_0x4b0e8f=!0x1);}return _0x24fcc9;}function _(_0x27a1f4,_0x12aba4,_0x43e9f5,_0x3269e0,_0x578af5,_0x262004){const _0x369114=[];var _0x14f54a;if((_0x14f54a=_0x27a1f4['previousSibling'])&&S(_0x14f54a)&&Boolean(_0x14f54a['classList']['contains']('page-break')||_0x14f54a['closest']('.page-break'))&&(_0x369114['push']({'type':'manual','offset':0x0,'path':[_0x12aba4-0x1]}),_0x262004=!0x0),'table-row'==_0x3c03db['window']['getComputedStyle'](_0x27a1f4)['display']){let _0x116625=0x0,_0x194e57=!0x1;for(const _0x5e137a of _0x27a1f4['getClientRects']())_0x116625+=_0x5e137a['height'],_0x5e137a['left']>=_0x43e9f5&&(_0x194e57=!0x0);if(_0x116625<_0x578af5&&_0x194e57)return _0x369114['push']({'type':'element','offset':0x0,'path':[_0x12aba4]}),_0x369114;}const _0x532981=_0x27a1f4['closest']('figure.image');if(_0x532981&&function(_0x2c3896){let _0x553d87=!0x1;const _0x7112e5=_0x2c3896['parentElement'],_0x4ddbd4=_0x7112e5['dataset']['rootName'],_0x37ad1d=_0x2c3896['nextElementSibling'],_0x2984e5=_0x2c3896['previousElementSibling'],_0x430b34=_0x37ad1d&&_0x3c03db['window']['getComputedStyle'](_0x37ad1d)['float'],_0x31451e=_0x37ad1d&&'ck-fake-selection-container'===_0x37ad1d['className'];!_0x4ddbd4||_0x37ad1d||_0x2984e5||(_0x553d87=!0x0),_0x4ddbd4&&!_0x2984e5&&_0x31451e&&(_0x553d87=!0x0),_0x4ddbd4&&!_0x2984e5&&'none'!==_0x430b34&&(_0x553d87=!0x0);if(_0x553d87)return!0x1;return!0x0;}(_0x532981)){const _0x4d2865=_0x3c03db['window']['getComputedStyle'](_0x532981)['float'];if('left'==_0x4d2865||'right'==_0x4d2865)return _0x369114;}const _0x56e56a=x(_0x27a1f4,_0x43e9f5,_0x3269e0,_0x578af5,_0x262004);if(_0x56e56a['length']){for(const _0x47312e of _0x56e56a)_0x369114['push']({'type':_0x47312e['type'],'offset':_0x47312e['offset'],'textOffset':_0x47312e['textOffset'],'path':[_0x12aba4,..._0x47312e['path']]}),_0x43e9f5+=_0x3269e0,_0x262004=!0x1;return _0x369114;}return _0x369114['push'](...function(_0x3852e8,_0x18befc,_0x577941,_0x7848aa,_0x5f5a2e){const _0xe22e55=[];if('table-cell'==_0x3c03db['window']['getComputedStyle'](_0x3852e8)['display'])return[];const _0x68c460=[];for(const _0x37724e of _0x3852e8['getClientRects']())if(_0x37724e['left']>=_0x577941){for(const _0x50f867 of _0x68c460)_0x50f867['height']+=_0x37724e['height'];_0x68c460['push']({'height':_0x37724e['height']}),_0x577941+=_0x7848aa;}for(const _0x4f2a23 of _0x68c460)_0x5f5a2e||_0xe22e55['push']({'type':'element','offset':_0x4f2a23['height'],'textOffset':0x0,'path':[_0x18befc]}),_0x5f5a2e=!0x1;return _0xe22e55;}(_0x27a1f4,_0x12aba4,_0x43e9f5,_0x3269e0,_0x262004)),_0x369114;}function B(_0x387cd1,_0x489deb,_0x3c1bd5,_0x24545f,_0x4d4dca){const _0x3976eb=P(_0x387cd1),_0x246089=[];let _0x3d8791=0x0;for(const _0x59d38a of _0x3976eb['getClientRects']())if(_0x59d38a['left']>=_0x3c1bd5){const _0x33bc5e=I(_0x387cd1,_0x3d8791,_0x3c1bd5,_0x24545f);_0x4d4dca||_0x246089['push']({'type':'text','path':[_0x489deb],'textOffset':_0x33bc5e}),_0x3d8791=_0x33bc5e,_0x3c1bd5+=_0x24545f,_0x4d4dca=!0x1;}return _0x246089;}function I(_0x317eb5,_0x48146f,_0x35d39c,_0x411d8d){let _0x54cb7b=_0x48146f,_0x228739=_0x317eb5['length'];for(;_0x228739-_0x54cb7b>0x1;){const _0x2c7b27=Math['ceil']((_0x54cb7b+_0x228739)/0x2);N(k(_0x317eb5,_0x54cb7b,_0x2c7b27),_0x35d39c,_0x411d8d)?_0x228739=_0x2c7b27:_0x54cb7b=_0x2c7b27;}return _0x54cb7b;}function N(_0x210420,_0x265b27,_0x533a8d){for(const _0x147917 of _0x210420['getClientRects']())if(_0x147917['left']>=_0x265b27&&_0x147917['left']<_0x265b27+_0x533a8d)return!0x0;return!0x1;}function S(_0x455bd2){return _0x455bd2['nodeType']==Node['ELEMENT_NODE'];}function R(_0xcc3c3c){return _0xcc3c3c['nodeType']==Node['TEXT_NODE'];}const z=_0x228546('px');class V extends _0x5e612c{constructor(){super();const _0x6e355c=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x6e355c['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x6e355c['if']('isVisible','ck-hidden',_0x580644=>!_0x580644)],'style':{'left':_0x6e355c['to']('left',_0x1cc385=>z(_0x1cc385)),'top':_0x6e355c['to']('top',_0x4ee654=>z(_0x4ee654)),'width':_0x6e355c['to']('width',_0x1205d3=>z(_0x1205d3))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4e2101){this['_viewCollection']=_0x4e2101['ui']['view']['body'];}['destroy'](){for(const _0x12f037 of this['_hiddenLines'])_0x12f037['destroy']();}['cleanLines'](){for(const _0x35570b of this['_visibleLines'])_0x35570b['isVisible']=!0x1,this['_hiddenLines']['add'](_0x35570b);this['_visibleLines']['clear']();}['showLine'](_0xe5a2dc,_0x5c60e4,_0x249494,_0x16d688){let _0x59251a;this['_hiddenLines']['size']?(_0x59251a=_0xc18602(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x59251a)):_0x59251a=new V(),_0x59251a['set']({'pageNumber':_0x16d688,'left':_0xe5a2dc,'top':_0x5c60e4,'width':_0x249494}),_0x59251a['isVisible']=!0x0,this['_viewCollection']['has'](_0x59251a)||this['_viewCollection']['add'](_0x59251a),this['_visibleLines']['add'](_0x59251a);}['setViewCollection'](_0x16f7c5){for(const _0x21c3ef of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x21c3ef)&&this['_viewCollection']['remove'](_0x21c3ef);this['_viewCollection']=_0x16f7c5;}}const L='ck-pagination_enabled';class c extends _0x3f20a8{['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',(_0x24b6c2,_0x4f1af8,_0x80d5a2)=>{_0x80d5a2||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x80d5a2);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1bf3a5){if(!this['isEnabled'])return;const _0x178423=_0x1bf3a5>0x1?this['_getPageBreakLineOffset'](_0x1bf3a5-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x178423-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x421c35['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5925aa=this['editor'],_0x2ce1ff=this['_getAttachedDomRoot']();_0x2ce1ff?(this['_scrollableEditingRootDomAncestor']&&_0x5925aa['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x1e4e86){let _0x512211=_0x1e4e86;do{_0x512211=_0x512211['parentElement'];const _0x25f124=_0x3c03db['window']['getComputedStyle'](_0x512211)['overflowY'];if('auto'==_0x25f124||'scroll'==_0x25f124)break;}while('BODY'!=_0x512211['tagName']);return _0x512211;}(_0x2ce1ff),_0x5925aa['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1eb20e(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5925aa['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x7af633=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x7af633['ui']['view']['listenTo'](_0x3c03db['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x7af633['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4765ae of this['editor']['editing']['view']['domRoots']['values']())if(_0x4765ae['ownerDocument']['body']['contains'](_0x4765ae))return _0x4765ae;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x4b6f85=this['_getAttachedDomRoot'](),_0x533cea=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x4b6f85||0x1==_0x533cea['length'])return void(this['pageNumber']=0x1);const _0x12394f=new _0x2e4deb(_0x4b6f85)['excludeScrollbarsAndBorders'](),_0x8add87=new _0x2e4deb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x20e531=_0x8add87['top']+_0x8add87['height']/0x3;let _0x3136e1=!0x1;const _0x20733b=[];for(let _0x19ebaa=0x1;_0x19ebaa<_0x533cea['length'];_0x19ebaa++){const _0x34e81e=this['_getPageBreakLineOffset'](_0x19ebaa,_0x8add87);if(!_0x34e81e)continue;const _0xc1509a=_0x8add87['top']+_0x34e81e-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x20733b['push']({'pageOffsetTop':_0xc1509a,'domRootRect':_0x12394f,'domScrollableRect':_0x8add87,'pageNumber':_0x19ebaa}),_0xc1509a>_0x20e531&&!_0x3136e1&&(this['pageNumber']=_0x19ebaa,_0x3136e1=!0x0);}this['_renderPageBreakLines'](_0x20733b),_0x3136e1||(this['pageNumber']=_0x533cea['length']);}['_renderPageBreakLines'](_0x392875){const {scrollX:_0x487be2,scrollY:_0x11bf5a}=_0x3c03db['window'];if(_0x392875['length']){for(const {domScrollableRect:_0x1d8d29,pageOffsetTop:_0x152cf0,domRootRect:_0x287e38,pageNumber:_0x382a0e}of _0x392875)_0x1d8d29['top']<_0x152cf0&&_0x152cf0<_0x1d8d29['bottom']&&this['linesRepository']['showLine'](_0x287e38['left']+_0x487be2,_0x152cf0+_0x11bf5a,_0x287e38['width'],_0x382a0e+0x1);}}['_getPageBreakLineOffset'](_0x55fa90,_0x2db96d=null){const _0x436cec=this['_paginationLookupPlugin']['pageBreaks'][_0x55fa90]['offset'];return _0x436cec?(_0x2db96d||(_0x2db96d=new _0x2e4deb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x436cec-_0x2db96d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x259eb6,_0x39a584=!0x0){const _0x37e771=this['editor']['editing']['view'];_0x37e771['change'](_0x4049cc=>{for(const _0x36a651 of _0x37e771['document']['roots'])_0x39a584?_0x4049cc['addClass'](_0x259eb6,_0x36a651):_0x4049cc['removeClass'](_0x259eb6,_0x36a651);});}}function g(_0x5ef18f,_0x2a791d,..._0x509461){const t=_0x5ef18f['t'];switch(_0x2a791d){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)',..._0x509461);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 _0x2a791d;}}class s extends _0x3f20a8{['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 _0x543174=this['editor']['plugins']['get']('Pagination'),_0x1b7e40=this['editor']['plugins']['get'](n),_0x2d73c5=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x543174),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2d73c5),this['listenTo'](_0x1b7e40,'change:pageBreaks',(_0x4a47ed,_0x3d8350,_0x373013,_0x3a01fe)=>{this['totalPages']=_0x373013['length'],this['_updatePageBreakMarkers'](_0x373013,_0x3a01fe);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xbad623=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x309ff6;for(const _0xcb6a3a in _0xbad623){const _0x2bbd8b=_0xcb6a3a,_0x2f1789=_0xbad623[_0x2bbd8b];if('paginationLicenseKeyValid'==_0x2f1789||'paginationLicenseKeyInvalid'==_0x2f1789||'paginationLicenseKeyExpired'==_0x2f1789||'paginationLicenseKeyDomainLimit'==_0x2f1789||'paginationLicenseKeyNotAllowed'==_0x2f1789||'paginationLicenseKeyEvaluationLimit'==_0x2f1789||'paginationLicenseKeyTrialLimit'==_0x2f1789||'paginationLicenseKeyUsageLimit'==_0x2f1789){delete _0xbad623[_0x2bbd8b],_0x309ff6=_0x2f1789,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x309ff6&&_0xbad623['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x309ff6&&_0xbad623['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x309ff6&&_0xbad623['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1c42f6){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x1c42f6));}['moveSelectionToPage'](_0x10c351){if(!this['isEnabled'])return;const _0x1db961=this['editor'],_0x2ed9bd=this['editor']['plugins']['get'](n)['pageBreaks'][_0x10c351-0x1];_0x2ed9bd&&_0x1db961['model']['change'](_0x59c792=>{switch(_0x2ed9bd['type']){case'manual':{const _0x353a37=_0x1db961['model']['schema']['getNearestSelectionRange'](_0x2ed9bd['modelRange']['end'],'forward');_0x59c792['setSelection'](_0x353a37);break;}case'element':{const _0x11bc16=_0x1db961['model']['schema']['getNearestSelectionRange'](_0x2ed9bd['modelRange']['start'],'forward');_0x59c792['setSelection'](_0x11bc16);break;}case'text':{const _0x4ec1d6=_0x2ed9bd['modelRange']['start'];if(_0x4ec1d6['textNode']&&'\x20'===_0x4ec1d6['textNode']['data'][_0x4ec1d6['offset']]){const _0x532009=_0x59c792['createPositionAt'](_0x4ec1d6['parent'],_0x4ec1d6['offset']+0x1);_0x59c792['setSelection'](_0x532009);}else _0x59c792['setSelection'](_0x2ed9bd['modelRange']);}}_0x1db961['editing']['view']['focus']();});}['goToNextPage'](){const _0x3012ba=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x3012ba),this['scrollToPage'](_0x3012ba);}['goToPreviousPage'](){const _0x3edae8=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3edae8),this['scrollToPage'](_0x3edae8);}['_updatePageBreakMarkers'](_0x280796,_0x225865){const _0x558106=this['editor']['model'];this['isEnabled']&&_0x558106['change'](_0x592670=>{for(let _0x1389e5=0x1;_0x1389e5<_0x280796['length'];_0x1389e5++){const _0x53e327=_0x280796[_0x1389e5]['modelRange'],_0x3f4147='pagination:'+(_0x1389e5+0x1);_0x558106['markers']['has'](_0x3f4147)?_0x592670['updateMarker'](_0x3f4147,{'range':_0x53e327}):_0x592670['addMarker'](_0x3f4147,{'range':_0x53e327,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4009f6=_0x280796['length'];_0x4009f6<_0x225865['length'];_0x4009f6++){const _0x31e74d='pagination:'+(_0x4009f6+0x1);_0x558106['markers']['has'](_0x31e74d)&&_0x592670['removeMarker'](_0x31e74d);}});}['_setUpDataDowncastConversion'](){const _0x3e4b4f='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x1493d3=>{_0x1493d3['on']('addMarker:'+_0x3e4b4f,(_0x1f3182,{markerRange:_0xc6be46,markerName:_0x211907},_0xe6571c)=>{if(!_0xe6571c['options']['pagination'])return;if(!_0xe6571c['consumable']['consume'](_0xc6be46,_0x1f3182['name']))return;const _0x2ad3df=_0xc6be46['getContainedElement']();let _0x3ad6e3=_0x2ad3df?_0xe6571c['mapper']['toViewElement'](_0x2ad3df):null;if(!_0x3ad6e3){const _0x39e96e=_0xc6be46['start'];if(_0xe6571c['schema']['checkChild'](_0x39e96e,'$text')){const _0xecac94=_0xe6571c['mapper']['toViewPosition'](_0x39e96e);_0x3ad6e3=_0xe6571c['writer']['createContainerElement']('span'),_0x3ad6e3['getFillerOffset']=()=>null,_0xe6571c['writer']['insert'](_0xecac94,_0x3ad6e3);}else{const _0x5890c4=_0x39e96e['nodeAfter'];_0x3ad6e3=_0xe6571c['mapper']['toViewElement'](_0x5890c4);}}for(;_0x3ad6e3['parent']!==_0x3ad6e3['root']&&0x0===_0x3ad6e3['index'];)_0x3ad6e3=_0x3ad6e3['parent'];const _0x3237a3=_0x211907['substring'](0xb);_0x3ad6e3['hasClass']('page-break')||(_0xe6571c['writer']['setStyle']('page-break-before','always',_0x3ad6e3),_0xe6571c['writer']['setAttribute']('data-pagination-page',_0x3237a3,_0x3ad6e3),_0xe6571c['mapper']['bindElementToMarker'](_0x3ad6e3,_0x211907)),_0x1f3182['stop']();});});}['_setupKeystrokes'](){const _0x2bb119=this['editor'];_0x2bb119['keystrokes']['set']('Shift+Pageup',(_0x5f5dae,_0x28bbd9)=>{this['goToPreviousPage'](),_0x28bbd9();}),_0x2bb119['keystrokes']['set']('Shift+Pagedown',(_0x1b3544,_0x3dcb35)=>{this['goToNextPage'](),_0x3dcb35();}),_0x2bb119['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x2bb119['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x2bb119['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x2bb119['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4c1819){return _0x4c1819<0x1&&(_0x4c1819=0x1),_0x4c1819>this['totalPages']&&(_0x4c1819=this['totalPages']),_0x4c1819;}}class U extends _0x5e612c{['pageNumberView'];constructor(_0x1c96ed){super(_0x1c96ed);const _0x3c54e9=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3fb306(_0x1c96ed,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x1973eb=>g(_0x1c96ed,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x1973eb)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x145e34=>!_0x145e34),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3c54e9['if']('isEnabled','ck-disabled',_0x763b1e=>!_0x763b1e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3c54e9['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1a4a8e=this['pageNumberView']['element'],_0xe625d5=_0x22f71e=>{this['pageNumberView']['element']['value']=String(_0x22f71e);};_0xe625d5(this['pageNumber']),this['on']('change:pageNumber',(_0x29288e,_0x2e0cdc,_0x1ada8e)=>{_0xe625d5(_0x1ada8e);}),this['listenTo'](_0x1a4a8e,'keydown',(_0x455526,_0x52ae06)=>{if('ArrowUp'===_0x52ae06['key']||'ArrowDown'===_0x52ae06['key'])return void _0x52ae06['stopPropagation']();if(_0x52ae06['keyCode']!==_0x1c1c26['enter'])return;_0x52ae06['preventDefault']();const _0x24c544=_0x1a4a8e['valueAsNumber'];Number['isNaN'](_0x24c544)?_0x1a4a8e['value']=String(this['pageNumber']):(_0x1a4a8e['checkValidity']()?this['pageNumber']=_0x24c544:_0x24c544>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1a4a8e['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1a4a8e['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1a4a8e,'blur',()=>{_0x1a4a8e['value']=String(this['pageNumber']);}),this['listenTo'](_0x1a4a8e,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x3f20a8{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25b75b=this['editor'],_0xa6683d=_0x25b75b['plugins']['get']('PaginationEditing');_0x25b75b['ui']['componentFactory']['add']('pageNavigation',_0x275259=>{const _0x2eae38=new U(_0x275259);return _0x2eae38['bind']('pageNumber')['to'](_0xa6683d),_0x2eae38['bind']('totalPages')['to'](_0xa6683d),_0x2eae38['bind']('isEnabled')['to'](_0xa6683d),_0x2eae38['on']('navigation',(_0x2ce544,_0x5740c2)=>{_0xa6683d['moveSelectionToPage'](_0x5740c2),_0xa6683d['scrollToPage'](_0x5740c2);}),_0x2eae38;}),_0x25b75b['ui']['componentFactory']['add']('nextPage',_0x557e8e=>{const _0x351c0f=new _0x3a57a8(_0x557e8e);return _0x351c0f['isEnabled']=!0x0,_0x351c0f['label']=g(_0x25b75b['locale'],'Go\x20to\x20next\x20page'),_0x351c0f['icon']=_0x5dab0a,_0x351c0f['tooltip']=!0x0,_0x351c0f['keystroke']='Shift+PageDown',_0x351c0f['bind']('isEnabled')['to'](_0xa6683d),this['listenTo'](_0x351c0f,'execute',()=>{_0xa6683d['goToNextPage']();}),_0x351c0f;}),_0x25b75b['ui']['componentFactory']['add']('previousPage',_0x5a97c1=>{const _0x3c4bb9=new _0x3a57a8(_0x5a97c1);return _0x3c4bb9['isEnabled']=!0x0,_0x3c4bb9['label']=g(_0x25b75b['locale'],'Go\x20to\x20previous\x20page'),_0x3c4bb9['icon']=_0x2e6857,_0x3c4bb9['tooltip']=!0x0,_0x3c4bb9['keystroke']='Shift+PageUp',_0x3c4bb9['bind']('isEnabled')['to'](_0xa6683d),this['listenTo'](_0x3c4bb9,'execute',()=>{_0xa6683d['goToPreviousPage']();}),_0x3c4bb9;});}}class a extends _0x3f20a8{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x5e12e8){super(_0x5e12e8),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1d8cba=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x1d8cba),this['bind']('totalPages')['to'](_0x1d8cba),_0x421c35['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x275648){this['editor']['plugins']['get'](s)['scrollToPage'](_0x275648);}}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':_0x34dfeb=>0x1!=_0x34dfeb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ff60e=>{const {af:{dictionary:_0x39a150,getPluralForm:_0x32e44f}}={'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':_0x50dbb2=>0x1!=_0x50dbb2}};_0x4ff60e['af']||={'dictionary':{},'getPluralForm':null},_0x4ff60e['af']['dictionary']=Object['assign'](_0x4ff60e['af']['dictionary'],_0x39a150),_0x4ff60e['af']['getPluralForm']=_0x32e44f;})(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':_0x548543=>0x0==_0x548543?0x0:0x1==_0x548543?0x1:0x2==_0x548543?0x2:_0x548543%0x64>=0x3&&_0x548543%0x64<=0xa?0x3:_0x548543%0x64>=0xb?0x4:0x5}};
|