@ckeditor/ckeditor5-pagination 46.0.0-alpha.0 → 46.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/pagination.js +1 -1
- package/dist/index.js +2 -2
- 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 +2 -2
- 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 o=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(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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="",o=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),o&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),o&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,o,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(o)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]);o&&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),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),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 o(t,e,o,i){var s;if(o)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var r=void 0!==i.layer;r&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,r&&(s+="}"),i.media&&(s+="}"),i.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 i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){o(n,e,!1,t)},remove:function(t){o(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,o=0;o<e.length;o++)if(e[o].identifier===t){n=o;break}return n}function o(t,o){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=o.base?c[0]+o.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=i(h,o);o.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function i(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,i){var s=o(t=t||[],i=i||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=o(t,i),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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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 p:first-child{padding-top:0}.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:not(.layout-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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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(o){var i=e[o];if(void 0!==i)return i.exports;var s=e[o]={id:o,exports:{}};return t[o](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 o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};(()=>{"use strict";n.r(o),n.d(o,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),i=n(584);function s(t,e,{signal:n,edges:o}={}){let i,s=null;const r=null!=o&&o.includes("leading"),a=null==o||o.includes("trailing"),c=()=>{null!==s&&(t.apply(i,s),i=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(),i=void 0,s=null},h=function(...t){if(n?.aborted)return;i=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=c;!function(t){const e=c,n=t();for(;;)try{if(237551===parseInt(e(298))/1+parseInt(e(368))/2*(parseInt(e(416))/3)+-parseInt(e(278))/4+-parseInt(e(346))/5*(parseInt(e(379))/6)+parseInt(e(452))/7*(-parseInt(e(411))/8)+-parseInt(e(312))/9+parseInt(e(315))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class a extends t.Plugin{[r(424)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:o=!1,trailing:i=!0,maxWait:r}=n,a=Array(2);let c;o&&(a[0]="leading"),i&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(400)](),200);[r(364)]=null;static get[r(441)](){return r(410)}static get[r(429)](){return!0}static get[r(294)](){return!0}[r(397)](){const t=r;if(this[t(275)]({pageBreaks:[]}),!this[t(366)][t(412)][t(426)](t(331)))return void(0,i.logWarning)(t(273),this[t(366)][t(412)]);const e=this[t(366)][t(405)][t(426)](t(320));this[t(363)](t(433)).to(e),this[t(366)].ui[t(423)](t(361),()=>this[t(386)]()),this.on(t(374),(e,n,o)=>{o&&this[t(424)]()})}[r(353)](){!async function(t){const e=m([103,115,85,117,86,80,66,104,77,110,114,111,52,55,65,84,97,68,49,57,67,69,82,48,107,98,105,90,120,74,51,108,113,73,89,76,50,99,109,72,87,122,70,79,102,119,116,56,71,88,54,112,83,81,53,75,100,78,118,121,101,106]),n=window[m([68,97,116,101])][m([110,111,119])](),o=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{o[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=o[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;o[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,o)=>{o[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const o=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+o,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,o])=>{n(e),t(o)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=c;return t[e(415)](t=>String[e(454)](t))[e(358)]("")}!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([103]);for(let o=0;o<t[m([108,101,110,103,116,104])];o+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](o,o+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();o[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,o[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,o[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,o[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),o={...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 o[m([118,99])],f(o)==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(),o[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,i.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(o){a(o)[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 i=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),o=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,o)}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)*i: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)})}}o[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])}),o[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 o[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(){o[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 o=a[m([115,112,108,105,116])](m([46])),[i,s,r]=o;return e(i),await n(i,s,r),t}catch{return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,o){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(o),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,i,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:1751328e3;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=c,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:o}=new URL(window[m([108,111,99,97,116,105,111,110])][e(443)]);if(n[m([105,110,99,108,117,100,101,115])](o))return!0;const i=o[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([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(388)](){const t=r;super[t(388)](),this[t(364)]&&(this[t(424)][t(281)](),this[t(364)][t(388)](),this[t(364)][t(422)][t(418)]())}[r(386)](){const t=r,n=this[t(366)],o=n[t(365)][t(349)],i=this[t(342)]();if(!i||0===i[t(337)])return void n.ui[t(423)](t(377),()=>this[t(386)]());const{pageWidth:s,pageHeight:a}=n[t(412)][t(426)](t(331)),{top:c,left:u,bottom:l,right:p}=this[t(449)];this[t(364)]=new e.View(n[t(393)]);const f=this[t(364)];f[t(275)](t(444),""),f[t(430)]({tag:t(301),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(336)+a+t(286)+c+t(286)+l+" )",minWidth:t(402),minHeight:t(402),padding:"0 "+p+t(461)+u,columnGap:t(295),border:0,boxSizing:t(345),columnCount:t(402),columnFill:t(402),overflow:t(354),position:t(360),top:t(328),left:t(328)},tabindex:"-1",class:f[t(421)].to(t(444))}}),f[t(373)](),i[t(390)][t(289)](f[t(422)],i[t(403)]),this[t(314)](o,t(373),()=>this[t(424)](),{priority:t(371)}),this[t(424)]()}[r(342)](){const t=r;for(const e of this[t(366)][t(365)][t(349)][t(318)][t(459)]())if(e[t(334)][t(382)][t(348)](e))return e;return null}[r(400)](){const t=r;if(!this[t(433)])return Promise[t(276)]();const e=this[t(366)][t(365)][t(349)],n=this[t(364)],o=this[t(342)]();if(!o)return Promise[t(276)]();for(n[t(444)]=[t(453),t(330),...o[t(271)]][t(358)](" ");n[t(422)][t(439)];)n[t(422)][t(439)][t(418)]();const i=Array[t(316)](e[t(318)]);i[t(274)](([,e],[,n])=>e[t(357)](n)==Node[t(306)]?1:-1);for(const[e,o]of i){const i=o[t(389)](!0);t(414)in i&&i[t(414)][t(323)](),i[t(351)]="",i[t(399)]("id"),i[t(457)][t(339)]=e,n[t(422)][t(435)](i)}return function(e){const n=t;return Promise[n(385)](e[n(415)](t=>{return Promise[n(319)]([f(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(316)](n[t(422)][t(270)](t(387))))[t(455)](()=>this[t(406)]())}[r(406)](){const t=r,e=this[t(364)][t(422)];if(!e[t(334)][t(382)][t(348)](e))return;const n=new i.Rect(e)[t(333)](),o=i.global[t(392)][t(272)](e),s=parseFloat(o[t(287)])+parseFloat(o[t(428)]),a=Math[t(378)](n[t(279)]+100-s),c=m(e,Math[t(378)](n[t(460)]-e[t(436)]),a,n[t(284)])[t(415)](e=>this[t(309)](e));c[t(280)](t=>!!t)&&(this[t(391)]=c)}[r(309)](t){const e=r,n=this[e(366)][e(365)][e(349)],o=this[e(366)][e(365)][e(317)],i=n[e(332)],s=t[e(407)][e(369)](),a=this[e(364)][e(422)][e(381)][s][e(457)][e(339)],c=n[e(442)](a);if(!c)return null;const u=function(t,n){const o=e;let i=t;for(const t of n[o(407)]){if(!i)return null;i=i[o(381)][t]}return i}(c,t);if(!u)return null;const l=i[e(341)](u,t[e(325)]||0);return l?e(304)==t[e(395)]?this[e(409)](l,u):e(300)==t[e(395)]&&o[e(370)](l)[e(352)]?this[e(372)](l,u,t[e(325)]):this[e(446)](l,u,t[e(352)]):null}[r(409)](t,e){const n=r,o=this[n(366)][n(458)],i=this[n(366)][n(365)][n(317)][n(432)](t[n(296)]),s=o[n(321)](i);return new u({type:n(304),modelRange:s,domNode:e,offset:0})}[r(372)](t,e,n){const o=r,i=this[o(366)][o(458)],s=this[o(366)][o(365)][o(317)],a=this[o(366)][o(365)][o(349)][o(332)];if(n>=e[o(445)])return null;const c=s[o(370)](t),l=i[o(343)](c),f=s[o(283)](t),h=a[o(308)](f);return new u({type:o(300),modelRange:l,domNode:e,offset:p(e,n,h)})}[r(446)](t,e,n){const o=r,s=this[o(366)][o(458)],a=this[o(366)][o(365)],c=a[o(317)],l=a[o(349)][o(332)],p=c[o(283)](t),f=c[o(432)](p),d=function(t){const e=o,n=t[e(296)],i=n[e(431)][e(438)][e(458)],s=n[e(448)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(311)))return r;if(!i[e(344)](n)[e(307)](t))return r;r=n}}(s[o(344)](f))||f;let g=c[o(292)](d),m=s[o(321)](d);const b=s[o(344)](d)[o(408)];if(b&&b.is(o(422),o(375))){const t=c[o(292)](b),e=l[o(308)](t),n=i.global[o(392)][o(272)](e)[o(401)];o(460)!=n&&o(396)!=n||(m=s[o(321)](b))}for(;g[o(296)]!==g[o(431)]&&0===g[o(327)];)g=g[o(296)];const w=new i.Rect(I(e)?e:h(e)),k=n?w[o(284)]-n:0,v=l[o(308)](g),y=new i.Rect(v);return new u({type:o(422),modelRange:m,domNode:v,offset:Math[o(285)](k)?k+w[o(305)]-y[o(305)]:0})}get[r(449)](){const t=r,e=this[t(366)][t(412)][t(426)](t(282));return Object[t(356)]({top:t(425),bottom:t(425),left:t(425),right:t(425)},e)}static[r(380)](t,e,n,o,i){return m(t,e,n,o,i)}}function c(t,e){const n=l();return(c=function(t,e){return n[t-=270]})(t,e)}class u{[r(395)];[r(288)];[r(340)];[r(299)];constructor({type:t,modelRange:e,domNode:n,offset:o}){const i=r;this[i(395)]=t,this[i(288)]=e,this[i(340)]=n,this[i(299)]=o}get[r(352)](){const t=r;if(!this[t(340)][t(334)][t(382)][t(348)](this[t(340)]))return 0;const e=new i.Rect(I(this[t(340)])?this[t(340)]:h(this[t(340)]));return t(304)==this[t(395)]?e[t(305)]+e[t(284)]/2:e[t(305)]+this[t(299)]}}function l(){const t=["join","closest","absolute","ready","ceil","bind","_pagesContainer","editing","editor","endOffset","2VRlzPa","shift","toModelPosition","low","_mapTextPageStarterInfoToPageBreakInfo","render","change:isEnabled","imageBlock","complete","update","floor","52962aoJoSk","_findPageStarterInfos","childNodes","body","TEXT_NODE","table-row","all","_onUiReady","img","destroy","cloneNode","parentNode","pageBreaks","window","locale","setStart","type","right","init","offsetParent","removeAttribute","_recalculatePageBreaks","float","auto","nextSibling","nextElementSibling","plugins","_updatePageBreaksData","path","nodeBefore","_mapManualPageStarterInfoToPageBreakInfo","PaginationLookup","8JkqgQK","config","style","attributeStyleMap","map","991383oOOsYp","hasAttribute","remove","getClientRects","indexOf","bindTemplate","element","once","_recalculatePageBreaksDebounced","10mm","get","bottom","paddingRight","isOfficialPlugin","setTemplate","root","toModelElement","isEnabled","addEventListener","append","scrollLeft","ELEMENT_NODE","document","firstChild","nodeType","pluginName","getDomRoot","href","class","length","_mapElementPageStarterInfoToPageBreakInfo","selectNodeContents","getAncestors","_configuredPaddings","figure.image","load","212618dWSZJO","ck-reset","fromCharCode","then","none","dataset","model","values","left"," 0 ","querySelectorAll","classList","getComputedStyle","pagination-config-not-found","sort","set","resolve","startContainer","74524hTqVvK","width","every","cancel","pagination.pageMargins","findMappedViewAncestor","height","round"," - ","paddingLeft","modelRange","insertBefore","startOffset","previousElementSibling","toViewElement","entries","isPremiumPlugin","100px","parent","setEnd","87111hnVuRk","_offset","text","div","endContainer","push","manual","top","DOCUMENT_POSITION_PRECEDING","isTouching","mapViewToDom","_mapPageStarterInfoToPageBreakInfo","error","rootElement","3318597VpgxPa","display","listenTo","3348140GlemJm","from","mapper","domRoots","race","PaginationEditing","createRangeOn","ck-fake-selection-container","clear","position","textOffset","page-break","index","-99999px","selectNode","ck-pagination-view","pagination","domConverter","excludeScrollbarsAndBorders","ownerDocument","removeEventListener","calc( ","childElementCount","previousSibling","rootName","_domNode","domPositionToView","_getAttachedDomRoot","createRange","createPositionBefore","border-box","55ZhzBQI","parentElement","contains","view","table-cell","className","offset","afterInit","hidden",".page-break","assign","compareDocumentPosition"];return(l=function(){return t})()}function p(t,e,n){const o=r,s=h(t),a=function(t){const e=c,n=i.global[e(438)][e(343)]();return n[e(447)](t),n}(n);let u;u=0==e?g(a[o(277)],a[o(290)],t[o(390)],Array[o(316)](t[o(390)][o(381)])[o(420)](t)):g(a[o(277)],a[o(290)],t,e);const l=g(t,e,a[o(302)],a[o(367)]),p=new i.Rect(u)[o(427)];return(new i.Rect(l)[o(305)]+p)/2-new i.Rect(s)[o(305)]}function f(t){const e=r;return t[e(417)](e(279))&&t[e(417)](e(284))?Promise[e(276)]():new Promise(n=>{const o=e;function i(){const e=c;t[e(335)](e(451),i),t[e(335)](e(310),i),n()}t[o(376)]?n():(t[o(434)](o(451),i),t[o(434)](o(310),i))})}function h(t){const e=r,n=i.global[e(438)][e(343)]();return n[e(329)](t),n}function d(t,e,n){const o=r,s=i.global[o(438)][o(343)]();return s[o(394)](t,e),s[o(297)](t,n),s}function g(t,e,n,o){const s=r,a=i.global[s(438)][s(343)]();return a[s(394)](t,e),a[s(297)](n,o),a}function m(t,e,n,o,i){const s=r,a=[];for(const[r,c]of t[s(381)][s(293)]()){let t=[];I(c)&&c[s(398)]&&!c[s(413)][s(324)]?t=b(c,r,e,n,o,i):y(c)&&(t=w(c,r,e,n,i)),t[s(445)]&&(a[s(303)](...t),e+=t[s(445)]*n,i=!1)}return a}function b(t,e,n,o,s,a){const c=r,u=[];var l;if((l=t[c(338)])&&I(l)&&Boolean(l[c(271)][c(348)](c(326))||l[c(359)](c(355)))&&(u[c(303)]({type:c(304),offset:0,path:[e-1]}),a=!0),c(384)==i.global[c(392)][c(272)](t)[c(313)]){let o=0,i=!1;for(const e of t[c(419)]())o+=e[c(284)],e[c(460)]>=n&&(i=!0);if(o<s&&i)return u[c(303)]({type:c(422),offset:0,path:[e]}),u}const p=t[c(359)](c(450));if(p&&function(t){const e=c;let n=!1;const o=t[e(347)][e(457)][e(339)],s=t[e(404)],r=t[e(291)],a=s&&i.global[e(392)][e(272)](s)[e(401)],u=s&&e(322)===s[e(351)];return!o||s||r||(n=!0),o&&!r&&u&&(n=!0),o&&!r&&e(456)!==a&&(n=!0),!n}(p)){const t=i.global[c(392)][c(272)](p)[c(401)];if(c(460)==t||c(396)==t)return u}const f=m(t,n,o,s,a);if(f[c(445)]){for(const t of f)u[c(303)]({type:t[c(395)],offset:t[c(352)],textOffset:t[c(325)],path:[e,...t[c(407)]]}),n+=o,a=!1;return u}return u[c(303)](...function(t,e,n,o,s){const r=c,a=[];if(r(350)==i.global[r(392)][r(272)](t)[r(313)])return[];const u=[];for(const e of t[r(419)]())if(e[r(460)]>=n){for(const t of u)t[r(284)]+=e[r(284)];u[r(303)]({height:e[r(284)]}),n+=o}for(const t of u)s||a[r(303)]({type:r(422),offset:t[r(284)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,o,a)),u}function w(t,e,n,o,i){const s=r,a=h(t),c=[];let u=0;for(const r of a[s(419)]())if(r[s(460)]>=n){const r=k(t,u,n,o);i||c[s(303)]({type:s(300),path:[e],textOffset:r}),u=r,n+=o,i=!1}return c}function k(t,e,n,o){const i=r;let s=e,a=t[i(445)];for(;a-s>1;){const e=Math[i(362)]((s+a)/2);v(d(t,s,e),n,o)?a=e:s=e}return s}function v(t,e,n){const o=r;for(const i of t[o(419)]())if(i[o(460)]>=e&&i[o(460)]<e+n)return!0;return!1}function I(t){const e=r;return t[e(440)]==Node[e(437)]}function y(t){const e=r;return t[e(440)]==Node[e(383)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),S=n(262),A=n.n(S),E=n(667),R=n.n(E),T=n(357),C=n.n(T),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),L.insert=A().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function D(){const t=["16260580hMhPJb","setTemplate","7273EjhPAR","829457kFZuRk","width","top","10123443fPgWfe","bindTemplate","4uBNDWJ","set","116FRdvaL","760566EHohhW","div","pageNumber","ck-pagination-view-line","564hEARWr","17350mIwSDX","ck-hidden","isVisible","left","1860624ZmsctP"];return(D=function(){return t})()}function B(t,e){const n=D();return(B=function(t,e){return n[t-=457]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(609692===-parseInt(e(462))/1+-parseInt(e(467))/2*(-parseInt(e(470))/3)+-parseInt(e(469))/4*(-parseInt(e(475))/5)+parseInt(e(474))/6*(parseInt(e(461))/7)+parseInt(e(458))/8+-parseInt(e(465))/9+parseInt(e(459))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M=(0,i.toUnit)("px");class K extends e.View{constructor(){const t=B;super();const e=this[t(466)];this[t(468)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(460)]({tag:t(471),attributes:{"data-page-number":e.to(t(472)),class:["ck",t(473),e.if(t(477),t(476),t=>!t)],style:{left:e.to(t(457),t=>M(t)),top:e.to(t(464),t=>M(t)),width:e.to(t(463),t=>M(t))}}})}}const G=V;function V(t,e){const n=j();return(V=function(t,e){return n[t-=390]})(t,e)}function j(){const t=["3983889DvDjbo","isVisible","_visibleLines","63HISULo","cleanLines","6ngEqoD","setViewCollection","remove","size","693584MHdVkS","destroy","_hiddenLines","add","showLine","set","delete","has","3282831XIRSol","2537040DztxLU","clear","355857NTQoUX","values","body","_viewCollection","view","4074196zwXaqB","340586cISJps"];return(j=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(614969===parseInt(e(404))/1+-parseInt(e(410))/2+parseInt(e(401))/3+parseInt(e(409))/4+-parseInt(e(402))/5+parseInt(e(416))/6*(-parseInt(e(411))/7)+parseInt(e(393))/8*(-parseInt(e(414))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class U{[G(407)];[G(413)]=new Set;[G(395)]=new Set;constructor(t){const e=G;this[e(407)]=t.ui[e(408)][e(406)]}[G(394)](){const t=G;for(const e of this[t(395)])e[t(394)]()}[G(415)](){const t=G;for(const e of this[t(413)])e[t(412)]=!1,this[t(395)][t(396)](e);this[t(413)][t(403)]()}[G(397)](t,e,n,o){const s=G;let r;this[s(395)][s(392)]?(r=(0,i.first)(this[s(395)][s(405)]()),this[s(395)][s(399)](r)):r=new K,r[s(398)]({pageNumber:o,left:t,top:e,width:n}),r[s(412)]=!0,this[s(407)][s(400)](r)||this[s(407)][s(396)](r),this[s(413)][s(396)](r)}[G(390)](t){const e=G;for(const t of[...this[e(413)],...this[e(395)]])this[e(407)][e(400)](t)&&this[e(407)][e(391)](t);this[e(407)]=t}}const F=z;function z(t,e){const n=H();return(z=function(t,e){return n[t-=241]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(174685===-parseInt(e(297))/1*(-parseInt(e(325))/2)+parseInt(e(265))/3+parseInt(e(271))/4*(-parseInt(e(281))/5)+-parseInt(e(288))/6+-parseInt(e(251))/7*(-parseInt(e(324))/8)+parseInt(e(291))/9+-parseInt(e(280))/10*(parseInt(e(268))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const W=F(295);class q extends t.Plugin{[F(323)];[F(270)]=null;[F(286)]=null;[F(272)];static get[F(245)](){return F(311)}static get[F(289)](){return!0}static get[F(275)](){return!0}[F(279)](){const t=F;this[t(273)]({pageNumber:1}),this[t(323)]=new U(this[t(307)]),this[t(270)]=null,this[t(286)]=null,this[t(272)]=this[t(307)][t(314)][t(248)](t(293)),this[t(269)](t(315)).to(this[t(307)][t(314)][t(248)](t(246))),this[t(307)].ui[t(298)](t(254),()=>this[t(299)]()),this[t(312)](W),this.on(t(320),(e,n,o)=>{const i=t;o||this[i(323)][i(284)](),this[i(312)](W,o)})}[F(290)](){const t=F;this[t(312)](W,!1),this[t(323)][t(290)](),this[t(270)]=null,this[t(286)]&&this[t(286)][t(290)]()}[F(256)](t){const e=F;if(!this[e(315)])return;const n=t>1?this[e(285)](t-1):0;this[e(270)][e(282)]({top:n-10,left:this[e(270)][e(301)],behavior:i.env[e(277)]?e(260):e(294)})}[F(303)](){const t=F,e=this[t(307)],n=this[t(310)]();n?(this[t(270)]&&e.ui[t(262)][t(274)](this[t(270)],t(300)),this[t(270)]=function(e){const n=t;let o=e;do{o=o[n(309)];const t=i.global[n(264)][n(252)](o)[n(249)];if(n(278)==t||n(300)==t)break}while(n(261)!=o[n(242)]);return o}(n),e.ui[t(262)][t(244)](this[t(270)],t(300),()=>{this[t(247)]()},{usePassive:!0}),this[t(286)]&&this[t(286)][t(290)](),this[t(286)]=new i.ResizeObserver(this[t(270)],()=>{this[t(247)]()})):e.ui[t(298)](t(292),()=>this[t(303)]())}[F(299)](){const t=F,e=this[t(307)];this[t(310)]()?(this[t(303)](),e.ui[t(262)][t(244)](i.global[t(264)],t(304),()=>this[t(247)]()),this[t(244)](this[t(272)],t(243),()=>this[t(247)]())):e.ui[t(298)](t(292),()=>this[t(299)]())}[F(310)](){const t=F;for(const e of this[t(307)][t(305)][t(262)][t(308)][t(257)]())if(e[t(302)][t(313)][t(306)](e))return e;return null}[F(247)](){const t=F;if(!this[t(315)])return;const e=this[t(310)](),n=this[t(272)][t(322)];if(this[t(323)][t(284)](),!e||1==n[t(317)])return void(this[t(321)]=1);const o=new i.Rect(e)[t(316)](),s=new i.Rect(this[t(270)])[t(316)](),r=s[t(296)]+s[t(263)]/3;let a=!1;const c=[];for(let e=1;e<n[t(317)];e++){const n=this[t(285)](e,s);if(!n)continue;const i=s[t(296)]+n-this[t(270)][t(267)];c[t(319)]({pageOffsetTop:i,domRootRect:o,domScrollableRect:s,pageNumber:e}),i>r&&!a&&(this[t(321)]=e,a=!0)}this[t(276)](c),a||(this[t(321)]=n[t(317)])}[F(276)](t){const e=F,{scrollX:n,scrollY:o}=i.global[e(264)];if(t[e(317)])for(const{domScrollableRect:i,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)i[e(296)]<s&&s<i[e(250)]&&this[e(323)][e(266)](r[e(253)]+n,s+o,r[e(258)],a+1)}[F(285)](t,e=null){const n=F,o=this[n(272)][n(322)][t][n(255)];return o?(e||(e=new i.Rect(this[n(270)])[n(316)]()),o-e[n(296)]+this[n(270)][n(267)]):0}[F(312)](t,e=!0){const n=F,o=this[n(307)][n(305)][n(262)];o[n(283)](i=>{const s=n;for(const n of o[s(259)][s(287)])e?i[s(241)](t,n):i[s(318)](t,n)})}}function H(){const t=["plugins","isEnabled","excludeScrollbarsAndBorders","length","removeClass","push","change:isEnabled","pageNumber","pageBreaks","linesRepository","407224GUQAvN","1182FxKRqA","addClass","tagName","change:pageBreaks","listenTo","pluginName","PaginationEditing","_updatePageBreakLines","get","overflowY","bottom","21FGQdaH","getComputedStyle","left","ready","offset","scrollToPage","values","width","document","instant","BODY","view","height","window","256362sjIDIR","showLine","scrollTop","45034tETCoD","bind","_scrollableEditingRootDomAncestor","149924BlMart","_paginationLookupPlugin","set","stopListening","isPremiumPlugin","_renderPageBreakLines","isMotionReduced","auto","init","330ogqvsu","20MqMATz","scrollTo","change","cleanLines","_getPageBreakLineOffset","_resizeObserver","roots","907476gIzfgA","isOfficialPlugin","destroy","2488149IEWGwg","update","PaginationLookup","smooth","ck-pagination_enabled","top","163cuwsNV","once","_onUiReady","scroll","scrollLeft","ownerDocument","setupScrollableAncestor","resize","editing","contains","editor","domRoots","parentElement","_getAttachedDomRoot","PaginationRenderer","_toggleEditingRootsClass","body"];return(H=function(){return t})()}function J(t,e,...n){const o=t.t;switch(e){case"Go to next page":return o("Go to next page");case"Go to previous page":return o("Go to previous page");case"Current page number (from 1 to %0)":return o("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return o("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return o("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return o("Go to the next page (also move selection)");default:return e}}var X=n(761),Q={attributes:{"data-cke":!0}};Q.setAttributes=R(),Q.insert=A().bind(null,"head"),Q.domAPI=N(),Q.insertStyleElement=C();x()(X.A,Q);X.A&&X.A.locals&&X.A.locals;const Z=Y;function Y(t,e){const n=$();return(Y=function(t,e){return n[t-=468]})(t,e)}function $(){const t=["model","domainLimit","49975222UHuCeL","length","Shift+Pagedown","type","isEnabled","change:pageBreaks","index","editing","name","requires","setAttribute","paginationLicenseKeyValid","text","paginationLicenseKeyExpired","_setUpDataDowncastConversion","scrollToPage","element","invalid","has","expired","676418cWNZNf","getNearestSelectionRange","destroy","forward","paginationLicenseKeyNotAllowed","options","consume","isPremiumPlugin","paginationLicenseKeyUsageLimit","add","7432328ndEoyg","consumable","getFillerOffset","checkChild","root","Pagination","24IDHITe","Go to the previous page (also move selection)","193899NuXOvV","view","paginationLicenseKeyTrialLimit","$text","stop","_showLicenseError","pagination","plugins","insert","evaluationLimit","7RwvWIO","data","accessibility","paginationLicenseKeyInvalid","PaginationEditing","locale","end","conversion","textNode","1639552JHSocS","updateMarker","10gSRHQS","focus","26TiBrZb","_updatePageBreakMarkers","schema","addMarker","setSelection","Keystrokes for navigating through documents","paginationLicenseKeyEvaluationLimit","data-pagination-page","addMarker:","mapper","_validatePageNumber","isOfficialPlugin","config","_setupKeystrokes","markers","writer","manual","pageNumber","pluginName","createPositionAt","substring","createContainerElement","toViewPosition","Go to the next page (also move selection)","page-break-before","always","dataDowncast","796170cCxeEu","editor","init","span","set","paginationLicenseKeyDomainLimit","parent","hasClass","featureNotAllowed","page-break","_licenseKeyCheckInterval","licenseKey","goToNextPage","addKeystrokeInfoGroup","moveSelectionToPage","keystrokes","usageLimit","toViewElement","pageBreaks","for","modelRange","goToPreviousPage","bindElementToMarker","setStyle","totalPages","get","pagination:","getContainedElement","start","listenTo","offset","removeMarker","trialLimit","nodeAfter","change","4200381nogMNU","Shift+Pageup","bind"];return($=function(){return t})()}!function(t){const e=Y,n=t();for(;;)try{if(583981===-parseInt(e(562))/1+parseInt(e(475))/2*(-parseInt(e(580))/3)+-parseInt(e(471))/4+-parseInt(e(502))/5*(parseInt(e(578))/6)+parseInt(e(590))/7*(-parseInt(e(572))/8)+parseInt(e(537))/9*(-parseInt(e(473))/10)+parseInt(e(542))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Z(513)];[Z(512)];static get[Z(493)](){return Z(594)}static get[Z(486)](){return!0}static get[Z(569)](){return!0}static get[Z(551)](){return[a,q]}[Z(504)](){const t=Z;this[t(506)]({pageNumber:1,totalPages:1});const e=this[t(503)][t(587)][t(527)](t(577)),n=this[t(503)][t(587)][t(527)](a),o=this[t(503)][t(587)][t(527)](q);this[t(539)](t(546)).to(e),this[t(556)](),this[t(539)](t(492)).to(o),this[t(531)](n,t(547),(e,n,o,i)=>{const s=t;this[s(526)]=o[s(543)],this[s(476)](o,i)}),this[t(488)](),this[t(513)]=this[t(503)][t(487)][t(527)](t(513));const i=this[t(503)];this[t(512)]=setInterval(()=>{const e=t;let n;for(const t in i){const o=t,s=i[o];if(e(553)==s||e(593)==s||e(555)==s||e(507)==s||e(566)==s||e(481)==s||e(582)==s||e(570)==s){delete i[o],n=s,clearInterval(this[e(512)]),this[e(512)]=void 0;break}}e(593)==n&&i[e(585)](e(559)),e(555)==n&&i[e(585)](e(561)),e(507)==n&&i[e(585)](e(541)),e(566)==n&&i[e(585)](e(510),e(577)),e(481)==n&&i[e(585)](e(589)),e(582)==n&&i[e(585)](e(534)),e(570)==n&&i[e(585)](e(518))},1e3)}[Z(564)](){const t=Z;super[t(564)](),this[t(512)]&&clearInterval(this[t(512)])}[Z(557)](t){const e=Z;this[e(546)]&&this[e(503)][e(587)][e(527)](q)[e(557)](this[e(485)](t))}[Z(516)](t){const e=Z;if(!this[e(546)])return;const n=this[e(503)],o=this[e(503)][e(587)][e(527)](a)[e(520)][t-1];o&&n[e(540)][e(536)](t=>{const i=e;switch(o[i(545)]){case i(491):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(468)],i(565));t[i(479)](e);break}case i(558):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(530)],i(565));t[i(479)](e);break}case i(554):{const e=o[i(522)][i(530)];if(e[i(470)]&&" "===e[i(470)][i(591)][e[i(532)]]){const n=t[i(494)](e[i(508)],e[i(532)]+1);t[i(479)](n)}else t[i(479)](o[i(522)])}}n[i(549)][i(581)][i(474)]()})}[Z(514)](){const t=Z,e=this[t(485)](this[t(492)]+1);this[t(516)](e),this[t(557)](e)}[Z(523)](){const t=Z,e=this[t(485)](this[t(492)]-1);this[t(516)](e),this[t(557)](e)}[Z(476)](t,e){const n=Z,o=this[n(503)][n(540)];this[n(546)]&&o[n(536)](i=>{const s=n;for(let e=1;e<t[s(543)];e++){const n=t[e][s(522)],r=s(528)+(e+1);o[s(489)][s(560)](r)?i[s(472)](r,{range:n}):i[s(478)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(543)];n<e[s(543)];n++){const t=s(528)+(n+1);o[s(489)][s(560)](t)&&i[s(533)](t)}})}[Z(556)](){const t=Z,e=t(586);this[t(503)][t(469)][t(521)](t(501))[t(571)](n=>{const o=t;n.on(o(483)+e,(t,{markerRange:e,markerName:n},i)=>{const s=o;if(!i[s(567)][s(586)])return;if(!i[s(573)][s(568)](e,t[s(550)]))return;const r=e[s(529)]();let a=r?i[s(484)][s(519)](r):null;if(!a){const t=e[s(530)];if(i[s(477)][s(575)](t,s(583))){const e=i[s(484)][s(497)](t);a=i[s(490)][s(496)](s(505)),a[s(574)]=()=>null,i[s(490)][s(588)](e,a)}else{const e=t[s(535)];a=i[s(484)][s(519)](e)}}for(;a[s(508)]!==a[s(576)]&&0===a[s(548)];)a=a[s(508)];const c=n[s(495)](11);a[s(509)](s(511))||(i[s(490)][s(525)](s(499),s(500),a),i[s(490)][s(552)](s(482),c,a),i[s(484)][s(524)](a,n)),t[s(584)]()})})}[Z(488)](){const t=Z,e=this[t(503)];e[t(517)][t(506)](t(538),(e,n)=>{this[t(523)](),n()}),e[t(517)][t(506)](t(544),(e,n)=>{this[t(514)](),n()}),e[t(592)][t(515)]({id:t(586),label:J(e[t(595)],t(480)),keystrokes:[{label:J(e[t(595)],t(579)),keystroke:t(538),mayRequireFn:!0},{label:J(e[t(595)],t(498)),keystroke:t(544),mayRequireFn:!0}]})}[Z(485)](t){const e=Z;return t<1&&(t=1),t>this[e(526)]&&(t=this[e(526)]),t}}var et=n(355),nt=n(953),ot={attributes:{"data-cke":!0}};ot.setAttributes=R(),ot.insert=A().bind(null,"head"),ot.domAPI=N(),ot.insertStyleElement=C();x()(nt.A,ot);nt.A&&nt.A.locals&&nt.A.locals;const it=rt;function st(){const t=["totalPages","ArrowUp","isNaN","3048ESDxSy","ArrowDown","ck-page-navigator","max","listenTo","focus","key","keyCode","ck-disabled","change:pageNumber","1359KIcImJ","isReadOnly","set","24FFOaOk","keydown","pageNumber","checkValidity","value","Current page number (from 1 to %0)","setTemplate","blur","2338806QcNgxe","11QpuVet","ariaLabel","bindTemplate","447FwnUOg","div","3269513syAOAj","188qhwADC","7evUhBF","2198IyWJBz","5958850gmSxMT","numeric","firstChild","fire","select","bind","27128gqsfBG","enter","navigation","span","pageNumberView","element","2238870cfRARP","render","stopPropagation","isEnabled","valueAsNumber","preventDefault"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=380]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(325725===parseInt(e(382))/1*(parseInt(e(384))/2)+-parseInt(e(431))/3*(parseInt(e(406))/4)+parseInt(e(397))/5+parseInt(e(427))/6*(parseInt(e(383))/7)+parseInt(e(391))/8*(-parseInt(e(416))/9)+-parseInt(e(385))/10*(parseInt(e(428))/11)+parseInt(e(419))/12*(parseInt(e(381))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[it(395)];constructor(t){const n=it;super(t);const o=this[n(430)];this[n(418)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(395)]=new e.InputNumberView(t,{min:1,step:1}),this[n(395)][n(418)]({inputMode:n(386),tabIndex:-1}),this[n(395)][n(390)](n(429)).to(this,n(403),e=>J(t,n(424),e)),this[n(395)][n(390)](n(409)).to(this,n(403)),this[n(395)][n(390)](n(417)).to(this,n(400),t=>!t),this[n(425)]({tag:n(380),attributes:{class:["ck",n(408),o.if(n(400),n(414),t=>!t)]},children:[this[n(395)],{tag:n(394),children:[{text:o.to(n(403))}]}]})}[it(398)](){const t=it;super[t(398)]();const e=this[t(395)][t(396)],n=e=>{const n=t;this[n(395)][n(396)][n(423)]=String(e)};n(this[t(421)]),this.on(t(415),(t,e,o)=>{n(o)}),this[t(410)](e,t(420),(n,o)=>{const s=t;if(s(404)===o[s(412)]||s(407)===o[s(412)])return void o[s(399)]();if(o[s(413)]!==i.keyCodes[s(392)])return;o[s(402)]();const r=e[s(401)];Number[s(405)](r)?e[s(423)]=String(this[s(421)]):(e[s(422)]()?this[s(421)]=r:r>this[s(403)]?(this[s(421)]=this[s(403)],e[s(423)]=String(this[s(403)])):(this[s(421)]=1,e[s(423)]="1"),this[s(388)](s(393),this[s(421)]))}),this[t(410)](e,t(426),()=>{const n=t;e[n(423)]=String(this[n(421)])}),this[t(410)](e,t(411),()=>{const e=t;this[e(395)][e(389)]()})}[it(411)](){const t=it;this[t(396)][t(387)][t(411)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=322]})(t,e)}function lt(){const t=["3056200dXAgMI","pageNavigation","50AlehcC","Go to next page","bind","1531920WTQHuK","keystroke","icon","execute","tooltip","1617868uzNFei","init","50rJOMwS","PaginationEditing","moveSelectionToPage","12912lSgYEZ","plugins","isOfficialPlugin","goToNextPage","label","613570OjnClw","Shift+PageDown","isPremiumPlugin","Go to previous page","pluginName","navigation","locale","get","totalPages","componentFactory","282132OdtGQk","45585eOJpsU","add","listenTo","goToPreviousPage","previousPage","pageNumber","PaginationUI","243LRajff","scrollToPage","editor","isEnabled","Shift+PageUp","nextPage"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(252305===-parseInt(e(361))/1+parseInt(e(342))/2*(parseInt(e(345))/3)+-parseInt(e(335))/4+-parseInt(e(332))/5*(parseInt(e(360))/6)+-parseInt(e(340))/7+-parseInt(e(330))/8+-parseInt(e(324))/9*(-parseInt(e(350))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(354)](){return ct(323)}static get[ct(347)](){return!0}static get[ct(352)](){return!0}[ct(341)](){const t=ct,n=this[t(326)],o=n[t(346)][t(357)](t(343));n.ui[t(359)][t(362)](t(331),e=>{const n=t,i=new at(e);return i[n(334)](n(322)).to(o),i[n(334)](n(358)).to(o),i[n(334)](n(327)).to(o),i.on(n(355),(t,e)=>{const i=n;o[i(344)](e),o[i(325)](e)}),i}),n.ui[t(359)][t(362)](t(329),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(333)),r[s(337)]=et.IconArrowDown,r[s(339)]=!0,r[s(336)]=s(351),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(348)]()}),r}),n.ui[t(359)][t(362)](t(365),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(353)),r[s(337)]=et.IconArrowUp,r[s(339)]=!0,r[s(336)]=s(328),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(364)]()}),r})}}function ft(){const t=["9688984jahoCI","set","totalPages","Pagination","isEnabled","scrollToPage","get","pageNumber","329484tFEgKZ","requires","config","isBlink","15tCOlEa","6wNPwTn","13210MqIHRx","ready","3260kPeyGI","bind","pluginName","isPremiumPlugin","166zzeLKJ","browserCheck","forceDisabled","init","5191080oXWmsE","11cyPJcl","5949WCXRxP","5489505MaUzRA","2122674RiiSin","plugins","pagination.enableOnUnsupportedBrowsers","editor","isOfficialPlugin"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=175]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(612332===-parseInt(e(198))/1*(parseInt(e(202))/2)+parseInt(e(195))/3*(-parseInt(e(190))/4)+parseInt(e(194))/5*(parseInt(e(177))/6)+-parseInt(e(176))/7+parseInt(e(182))/8+parseInt(e(175))/9*(-parseInt(e(196))/10)+-parseInt(e(207))/11*(-parseInt(e(206))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(200)](){return ht(185)}static get[ht(181)](){return!0}static get[ht(201)](){return!0}static get[ht(191)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(186)]=!1}[ht(205)](){const t=ht;this[t(183)]({pageNumber:1,totalPages:1});const e=this[t(180)][t(178)][t(188)](tt);this[t(199)](t(189)).to(e),this[t(199)](t(184)).to(e),i.env[t(193)]||this[t(180)][t(192)][t(188)](t(179))?this[t(180)].on(t(197),()=>{this[t(186)]=!0}):this[t(204)](t(203))}[ht(187)](t){const e=ht;this[e(180)][e(178)][e(188)](tt)[e(187)](t)}}function mt(){var t=["290344vDiFxn","2GcJXCS","752MKizyA","138IYkmup","18529wrWTle","812826TKVUYl","20490ILLurf","3602576eFCAPH","2212113GAPxDj","11opuKXB","14288510QRVmKH"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=234]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(390117===-parseInt(e(242))/1+parseInt(e(243))/2*(parseInt(e(239))/3)+parseInt(e(244))/4*(parseInt(e(237))/5)+-parseInt(e(234))/6*(-parseInt(e(235))/7)+parseInt(e(238))/8+parseInt(e(236))/9+-parseInt(e(241))/10*(parseInt(e(240))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=o})();
|
|
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 p:first-child{padding-top:0}.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:not(.layout-table):has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,a&&c(),f()},e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=m;function a(){const t=["config","pageBreaks","manual","error","startOffset","removeAttribute","change:isEnabled","removeEventListener","offset","162fYUnFf","nodeType","type","100px","hasAttribute","textOffset","_recalculatePageBreaks","calc( ","attributeStyleMap","165nQkvDa","auto","previousElementSibling","toModelElement","pagination.pageMargins","ownerDocument","cloneNode","index","addEventListener","40gPcllc","domPositionToView","position",".page-break","every","complete","map","plugins","TEXT_NODE","push","78BcVcmo","endContainer","isPremiumPlugin","createRange","getClientRects","bind","rootName","table-cell","_mapManualPageStarterInfoToPageBreakInfo","modelRange","domRoots","toModelPosition","parent","pagination-config-not-found","top","clear","floor","fromCharCode","querySelectorAll","1922805MeIVPL","get","afterInit","destroy","nextElementSibling","selectNodeContents","nodeBefore","float","getAncestors","PaginationLookup","view","update","1040aofIFq","editor","assign","_pagesContainer","_recalculatePageBreaksDebounced","document","setTemplate","pagination","firstChild","249560cmZZJf","findMappedViewAncestor","listenTo","once","classList","scrollLeft","height","DOCUMENT_POSITION_PRECEDING","offsetParent","href","_onUiReady","cancel","mapper","resolve","ck-fake-selection-container","display","right","window","domConverter"," 0 ","table-row","rootElement","path","mapViewToDom","indexOf","setEnd","excludeScrollbarsAndBorders","none","createRangeOn","root","sort","ck-pagination-view","append","width","figure.image","10mm","isTouching","className","previousSibling","selectNode","childElementCount","paddingRight","bottom","childNodes","ck-reset","ready","_domNode","ELEMENT_NODE","toViewElement","setStart","isEnabled","init","join","startContainer","length","_findPageStarterInfos","_mapElementPageStarterInfoToPageBreakInfo","_mapTextPageStarterInfoToPageBreakInfo","absolute","hidden","shift","body","dataset","class","_getAttachedDomRoot","29028fIOEkI","left","_mapPageStarterInfoToPageBreakInfo","1020648XGjdvz","low","isOfficialPlugin","border-box","_updatePageBreaksData","img","bindTemplate","createPositionBefore","imageBlock","render","paddingLeft","text","values","then","div","load","set","-99999px","147812fMzakc","style","race","from","_offset","ceil"," - ","10365IxjVCv","element","_configuredPaddings","closest","pluginName","getComputedStyle","PaginationEditing","parentElement","round","locale","entries","getDomRoot","67780UcfWiz","insertBefore","editing","contains","remove","nextSibling","parentNode","page-break","endOffset","compareDocumentPosition","all","model"];return(a=function(){return t})()}!function(t){const e=m,n=t();for(;;)try{if(378327===-parseInt(e(505))/1*(-parseInt(e(390))/2)+-parseInt(e(419))/3+-parseInt(e(431))/4*(-parseInt(e(533))/5)+parseInt(e(400))/6*(parseInt(e(526))/7)+parseInt(e(440))/8*(-parseInt(e(566))/9)+parseInt(e(545))/10*(parseInt(e(381))/11)+parseInt(e(508))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class c extends t.Plugin{[r(435)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(572)](),200);[r(434)]=null;static get[r(537)](){return r(428)}static get[r(510)](){return!0}static get[r(402)](){return!0}[r(491)](){const t=r;if(this[t(524)]({pageBreaks:[]}),!this[t(432)][t(557)][t(420)](t(438)))return void(0,o.logWarning)(t(413),this[t(432)][t(557)]);const e=this[t(432)][t(397)][t(420)](t(539));this[t(405)](t(490)).to(e),this[t(432)].ui[t(443)](t(485),()=>this[t(450)]()),this.on(t(563),(e,n,i)=>{i&&this[t(435)]()})}[r(421)](){!async function(t){const e=g([114,48,80,103,54,98,65,119,50,108,79,82,81,117,118,102,86,49,89,56,121,88,73,69,71,66,84,51,78,107,67,85,74,53,87,83,113,101,97,116,90,109,52,76,77,57,111,72,122,110,68,106,120,115,70,104,112,99,105,55,75,100]),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=m;return t[e(396)](t=>String[e(417)](t))[e(492)]("")}!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([114]);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{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:1751500800;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=m,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(449)]);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([102,105,108,116,101,114])](t=>t[g([108,101,110,103,116,104])]<=o[g([108,101,110,103,116,104])])[g([109,97,112])](t=>Array(o[g([108,101,110,103,116,104])]-t[g([108,101,110,103,116,104])])[g([102,105,108,108])](t[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](t))[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{return g([73,110,118,97,108,105,100])}}())}(this)}[r(422)](){const t=r;super[t(422)](),this[t(434)]&&(this[t(435)][t(451)](),this[t(434)][t(422)](),this[t(434)][t(534)][t(549)]())}[r(450)](){const t=r,n=this[t(432)],i=n[t(547)][t(429)],o=this[t(504)]();if(!o||0===o[t(480)])return void n.ui[t(443)](t(430),()=>this[t(450)]());const{pageWidth:s,pageHeight:a}=n[t(557)][t(420)](t(438)),{top:c,left:u,bottom:l,right:p}=this[t(535)];this[t(434)]=new e.View(n[t(542)]);const f=this[t(434)];f[t(524)](t(503),""),f[t(437)]({tag:t(522),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(379)+a+t(532)+c+t(532)+l+" )",minWidth:t(382),minHeight:t(382),padding:"0 "+p+t(459)+u,columnGap:t(569),border:0,boxSizing:t(511),columnCount:t(382),columnFill:t(382),overflow:t(499),position:t(498),top:t(525),left:t(525)},tabindex:"-1",class:f[t(514)].to(t(503))}}),f[t(517)](),o[t(551)][t(546)](f[t(534)],o[t(550)]),this[t(442)](i,t(517),()=>this[t(435)](),{priority:t(509)}),this[t(435)]()}[r(504)](){const t=r;for(const e of this[t(432)][t(547)][t(429)][t(410)][t(520)]())if(e[t(386)][t(501)][t(548)](e))return e;return null}[r(572)](){const t=r;if(!this[t(490)])return Promise[t(453)]();const e=this[t(432)][t(547)][t(429)],n=this[t(434)],i=this[t(504)]();if(!i)return Promise[t(453)]();for(n[t(503)]=[t(484),t(471),...i[t(444)]][t(492)](" ");n[t(534)][t(439)];)n[t(534)][t(439)][t(549)]();const o=Array[t(529)](e[t(410)]);o[t(470)](([,e],[,n])=>e[t(554)](n)==Node[t(447)]?1:-1);for(const[e,i]of o){const o=i[t(387)](!0);t(380)in o&&o[t(380)][t(415)](),o[t(477)]="",o[t(562)]("id"),o[t(502)][t(406)]=e,n[t(534)][t(472)](o)}return function(e){const n=t;return Promise[n(555)](e[n(396)](t=>{return Promise[n(528)]([p(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(529)](n[t(534)][t(418)](t(513))))[t(521)](()=>this[t(512)]())}[r(512)](){const t=r,e=this[t(434)][t(534)];if(!e[t(386)][t(501)][t(548)](e))return;const n=new o.Rect(e)[t(466)](),i=o.global[t(457)][t(538)](e),s=parseFloat(i[t(518)])+parseFloat(i[t(481)]),a=Math[t(416)](n[t(473)]+100-s),c=g(e,Math[t(416)](n[t(506)]-e[t(445)]),a,n[t(446)])[t(396)](e=>this[t(507)](e));c[t(394)](t=>!!t)&&(this[t(558)]=c)}[r(507)](t){const e=r,n=this[e(432)][e(547)][e(429)],i=this[e(432)][e(547)][e(452)],o=n[e(458)],s=t[e(462)][e(500)](),a=this[e(434)][e(534)][e(483)][s][e(502)][e(406)],c=n[e(544)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(462)]){if(!o)return null;o=o[i(483)][t]}return o}(c,t);if(!u)return null;const l=o[e(391)](u,t[e(571)]||0);return l?e(559)==t[e(568)]?this[e(408)](l,u):e(519)==t[e(568)]&&i[e(411)](l)[e(565)]?this[e(497)](l,u,t[e(571)]):this[e(496)](l,u,t[e(565)]):null}[r(408)](t,e){const n=r,i=this[n(432)][n(556)],o=this[n(432)][n(547)][n(452)][n(384)](t[n(412)]),s=i[n(468)](o);return new u({type:n(559),modelRange:s,domNode:e,offset:0})}[r(497)](t,e,n){const i=r,o=this[i(432)][i(556)],s=this[i(432)][i(547)][i(452)],a=this[i(432)][i(547)][i(429)][i(458)];if(n>=e[i(494)])return null;const c=s[i(411)](t),p=o[i(403)](c),f=s[i(441)](t),h=a[i(463)](f);return new u({type:i(519),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(496)](t,e,n){const i=r,s=this[i(432)][i(556)],a=this[i(432)][i(547)],c=a[i(452)],l=a[i(429)][i(458)],p=c[i(441)](t),h=c[i(384)](p),d=function(t){const e=i,n=t[e(412)],o=n[e(469)][e(436)][e(556)],s=n[e(427)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(461)))return r;if(!o[e(515)](n)[e(476)](t))return r;r=n}}(s[i(515)](h))||h;let g=c[i(488)](d),m=s[i(468)](d);const b=s[i(515)](d)[i(425)];if(b&&b.is(i(534),i(516))){const t=c[i(488)](b),e=l[i(463)](t),n=o.global[i(457)][i(538)](e)[i(426)];i(506)!=n&&i(456)!=n||(m=s[i(468)](b))}for(;g[i(412)]!==g[i(469)]&&0===g[i(388)];)g=g[i(412)];const w=new o.Rect(y(e)?e:f(e)),k=n?w[i(446)]-n:0,v=l[i(463)](g),I=new o.Rect(v);return new u({type:i(534),modelRange:m,domNode:v,offset:Math[i(541)](k)?k+w[i(414)]-I[i(414)]:0})}get[r(535)](){const t=r,e=this[t(432)][t(557)][t(420)](t(385));return Object[t(433)]({top:t(475),bottom:t(475),left:t(475),right:t(475)},e)}static[r(495)](t,e,n,i,o){return g(t,e,n,i,o)}}class u{[r(568)];[r(409)];[r(486)];[r(530)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(568)]=t,this[o(409)]=e,this[o(486)]=n,this[o(530)]=i}get[r(565)](){const t=r;if(!this[t(486)][t(386)][t(501)][t(548)](this[t(486)]))return 0;const e=new o.Rect(y(this[t(486)])?this[t(486)]:f(this[t(486)]));return t(559)==this[t(568)]?e[t(414)]+e[t(446)]/2:e[t(414)]+this[t(530)]}}function l(t,e,n){const i=r,s=f(t),a=function(t){const e=m,n=o.global[e(436)][e(403)]();return n[e(424)](t),n}(n);let c;c=0==e?d(a[i(493)],a[i(561)],t[i(551)],Array[i(529)](t[i(551)][i(483)])[i(464)](t)):d(a[i(493)],a[i(561)],t,e);const u=d(t,e,a[i(401)],a[i(553)]),l=new o.Rect(c)[i(482)];return(new o.Rect(u)[i(414)]+l)/2-new o.Rect(s)[i(414)]}function p(t){const e=r;return t[e(570)](e(473))&&t[e(570)](e(446))?Promise[e(453)]():new Promise(n=>{const i=e;function o(){const e=m;t[e(564)](e(523),o),t[e(564)](e(560),o),n()}t[i(395)]?n():(t[i(389)](i(523),o),t[i(389)](i(560),o))})}function f(t){const e=r,n=o.global[e(436)][e(403)]();return n[e(479)](t),n}function h(t,e,n){const i=r,s=o.global[i(436)][i(403)]();return s[i(489)](t,e),s[i(465)](t,n),s}function d(t,e,n,i){const s=r,a=o.global[s(436)][s(403)]();return a[s(489)](t,e),a[s(465)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(483)][s(543)]()){let t=[];y(c)&&c[s(448)]&&!c[s(527)][s(392)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(494)]&&(a[s(399)](...t),e+=t[s(494)]*n,o=!1)}return a}function m(t,e){const n=a();return(m=function(t,e){return n[t-=379]})(t,e)}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(478)])&&y(l)&&Boolean(l[c(444)][c(548)](c(552))||l[c(536)](c(393)))&&(u[c(399)]({type:c(559),offset:0,path:[e-1]}),a=!0),c(460)==o.global[c(457)][c(538)](t)[c(455)]){let i=0,o=!1;for(const e of t[c(404)]())i+=e[c(446)],e[c(506)]>=n&&(o=!0);if(i<s&&o)return u[c(399)]({type:c(534),offset:0,path:[e]}),u}const p=t[c(536)](c(474));if(p&&function(t){const e=c;let n=!1;const i=t[e(540)][e(502)][e(406)],s=t[e(423)],r=t[e(383)],a=s&&o.global[e(457)][e(538)](s)[e(426)],u=s&&e(454)===s[e(477)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(467)!==a&&(n=!0),!n}(p)){const t=o.global[c(457)][c(538)](p)[c(426)];if(c(506)==t||c(456)==t)return u}const f=g(t,n,i,s,a);if(f[c(494)]){for(const t of f)u[c(399)]({type:t[c(568)],offset:t[c(565)],textOffset:t[c(571)],path:[e,...t[c(462)]]}),n+=i,a=!1;return u}return u[c(399)](...function(t,e,n,i,s){const r=c,a=[];if(r(407)==o.global[r(457)][r(538)](t)[r(455)])return[];const u=[];for(const e of t[r(404)]())if(e[r(506)]>=n){for(const t of u)t[r(446)]+=e[r(446)];u[r(399)]({height:e[r(446)]}),n+=i}for(const t of u)s||a[r(399)]({type:r(534),offset:t[r(446)],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(404)]())if(r[s(506)]>=n){const r=k(t,u,n,i);o||c[s(399)]({type:s(519),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(494)];for(;a-s>1;){const e=Math[o(531)]((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(404)]())if(o[i(506)]>=e&&o[i(506)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(567)]==Node[e(487)]}function I(t){const e=r;return t[e(567)]==Node[e(398)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),E=n(262),T=n.n(E),S=n(667),R=n.n(S),A=n(357),C=n.n(A),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=R(),O.insert=T().bind(null,"head"),O.domAPI=N(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function M(t,e){const n=G();return(M=function(t,e){return n[t-=448]})(t,e)}!function(t){const e=M,n=t();for(;;)try{if(476576===-parseInt(e(457))/1*(-parseInt(e(468))/2)+-parseInt(e(456))/3*(parseInt(e(462))/4)+parseInt(e(454))/5+-parseInt(e(450))/6+parseInt(e(451))/7*(parseInt(e(455))/8)+parseInt(e(453))/9*(-parseInt(e(469))/10)+-parseInt(e(460))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);const B=(0,o.toUnit)("px");class D extends e.View{constructor(){const t=M;super();const e=this[t(459)];this[t(461)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(452)]({tag:t(465),attributes:{"data-page-number":e.to(t(463)),class:["ck",t(467),e.if(t(448),t(449),t=>!t)],style:{left:e.to(t(458),t=>B(t)),top:e.to(t(464),t=>B(t)),width:e.to(t(466),t=>B(t))}}})}}function G(){const t=["width","ck-pagination-view-line","38KCdNla","1061870lwyMlB","isVisible","ck-hidden","1225908XOieHX","679DwWNpt","setTemplate","36wnetrT","2648335lHjoqG","74280oFdHgF","1599lHzhYR","7826gtIfwU","left","bindTemplate","885973egaaYt","set","2948lavBMZ","pageNumber","top","div"];return(G=function(){return t})()}function K(t,e){const n=j();return(K=function(t,e){return n[t-=143]})(t,e)}const V=K;function j(){const t=["228MmSwUC","6DCmJkl","193919ILwIZi","showLine","159hCpESF","4232fRuZKX","delete","1skWwaQ","cleanLines","isVisible","155246ioftmC","57554hGWuds","330ZYoRHT","7ZsaOca","35145Jjrgrc","_hiddenLines","1318025kLfBYB","setViewCollection","_viewCollection","has","clear","destroy","_visibleLines","338fSCDQH","add","values","body","3406808YyXhDr","view","remove","size","set"];return(j=function(){return t})()}!function(t){const e=K,n=t();for(;;)try{if(222353===parseInt(e(149))/1*(-parseInt(e(153))/2)+-parseInt(e(146))/3*(-parseInt(e(147))/4)+parseInt(e(158))/5*(parseInt(e(143))/6)+parseInt(e(155))/7*(parseInt(e(169))/8)+-parseInt(e(156))/9*(-parseInt(e(154))/10)+-parseInt(e(144))/11*(parseInt(e(174))/12)+-parseInt(e(165))/13*(parseInt(e(152))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class F{[V(160)];[V(164)]=new Set;[V(157)]=new Set;constructor(t){const e=V;this[e(160)]=t.ui[e(170)][e(168)]}[V(163)](){const t=V;for(const e of this[t(157)])e[t(163)]()}[V(150)](){const t=V;for(const e of this[t(164)])e[t(151)]=!1,this[t(157)][t(166)](e);this[t(164)][t(162)]()}[V(145)](t,e,n,i){const s=V;let r;this[s(157)][s(172)]?(r=(0,o.first)(this[s(157)][s(167)]()),this[s(157)][s(148)](r)):r=new D,r[s(173)]({pageNumber:i,left:t,top:e,width:n}),r[s(151)]=!0,this[s(160)][s(161)](r)||this[s(160)][s(166)](r),this[s(164)][s(166)](r)}[V(159)](t){const e=V;for(const t of[...this[e(164)],...this[e(157)]])this[e(160)][e(161)](t)&&this[e(160)][e(171)](t);this[e(160)]=t}}function H(){const t=["update","scrollTop","_scrollableEditingRootDomAncestor","41016NbubsI","scrollToPage","1943200nCATaU","contains","parentElement","smooth","pageNumber","isEnabled","_resizeObserver","addClass","height","scrollLeft","editing","push","domRoots","_toggleEditingRootsClass","getComputedStyle","left","top","134pItfol","pageBreaks","_getAttachedDomRoot","init","once","ownerDocument","cleanLines","11596kVZeEt","PaginationEditing","destroy","333578kKzLVP","isOfficialPlugin","3515920kaaIOs","5130026KeqEYY","roots","width","values","8666OSjEhH","stopListening","removeClass","showLine","bottom","change:pageBreaks","_renderPageBreakLines","PaginationLookup","excludeScrollbarsAndBorders","tagName","linesRepository","9OPilvu","_onUiReady","24kaTJZJ","length","isPremiumPlugin","get","offset","_getPageBreakLineOffset","scrollTo","change","auto","body","_updatePageBreakLines","instant","isMotionReduced","ck-pagination_enabled","scroll","BODY","window","resize","bind","listenTo","plugins","492RMFkCy","pluginName","document","ready","overflowY","change:isEnabled","editor","setupScrollableAncestor","PaginationRenderer","_paginationLookupPlugin","110GqiMRF","view","set"];return(H=function(){return t})()}const U=z;function z(t,e){const n=H();return(z=function(t,e){return n[t-=485]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(479638===-parseInt(e(533))/1*(parseInt(e(516))/2)+parseInt(e(567))/3*(parseInt(e(523))/4)+parseInt(e(491))/5*(-parseInt(e(497))/6)+parseInt(e(526))/7+-parseInt(e(528))/8*(parseInt(e(544))/9)+parseInt(e(499))/10+-parseInt(e(529))/11*(-parseInt(e(546))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const Y=U(559);class q extends t.Plugin{[U(543)];[U(496)]=null;[U(505)]=null;[U(490)];static get[U(568)](){return U(489)}static get[U(527)](){return!0}static get[U(548)](){return!0}[U(519)](){const t=U;this[t(493)]({pageNumber:1}),this[t(543)]=new F(this[t(487)]),this[t(496)]=null,this[t(505)]=null,this[t(490)]=this[t(487)][t(566)][t(549)](t(540)),this[t(564)](t(504)).to(this[t(487)][t(566)][t(549)](t(524))),this[t(487)].ui[t(520)](t(570),()=>this[t(545)]()),this[t(512)](Y),this.on(t(486),(e,n,i)=>{const o=t;i||this[o(543)][o(522)](),this[o(512)](Y,i)})}[U(525)](){const t=U;this[t(512)](Y,!1),this[t(543)][t(525)](),this[t(496)]=null,this[t(505)]&&this[t(505)][t(525)]()}[U(498)](t){const e=U;if(!this[e(504)])return;const n=t>1?this[e(551)](t-1):0;this[e(496)][e(552)]({top:n-10,left:this[e(496)][e(508)],behavior:o.env[e(558)]?e(557):e(502)})}[U(488)](){const t=U,e=this[t(487)],n=this[t(518)]();n?(this[t(496)]&&e.ui[t(492)][t(534)](this[t(496)],t(560)),this[t(496)]=function(e){const n=t;let i=e;do{i=i[n(501)];const t=o.global[n(562)][n(513)](i)[n(485)];if(n(554)==t||n(560)==t)break}while(n(561)!=i[n(542)]);return i}(n),e.ui[t(492)][t(565)](this[t(496)],t(560),()=>{this[t(556)]()},{usePassive:!0}),this[t(505)]&&this[t(505)][t(525)](),this[t(505)]=new o.ResizeObserver(this[t(496)],()=>{this[t(556)]()})):e.ui[t(520)](t(494),()=>this[t(488)]())}[U(545)](){const t=U,e=this[t(487)];this[t(518)]()?(this[t(488)](),e.ui[t(492)][t(565)](o.global[t(562)],t(563),()=>this[t(556)]()),this[t(565)](this[t(490)],t(538),()=>this[t(556)]())):e.ui[t(520)](t(494),()=>this[t(545)]())}[U(518)](){const t=U;for(const e of this[t(487)][t(509)][t(492)][t(511)][t(532)]())if(e[t(521)][t(555)][t(500)](e))return e;return null}[U(556)](){const t=U;if(!this[t(504)])return;const e=this[t(518)](),n=this[t(490)][t(517)];if(this[t(543)][t(522)](),!e||1==n[t(547)])return void(this[t(503)]=1);const i=new o.Rect(e)[t(541)](),s=new o.Rect(this[t(496)])[t(541)](),r=s[t(515)]+s[t(507)]/3;let a=!1;const c=[];for(let e=1;e<n[t(547)];e++){const n=this[t(551)](e,s);if(!n)continue;const o=s[t(515)]+n-this[t(496)][t(495)];c[t(510)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(503)]=e,a=!0)}this[t(539)](c),a||(this[t(503)]=n[t(547)])}[U(539)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(562)];if(t[e(547)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(515)]<s&&s<o[e(537)]&&this[e(543)][e(536)](r[e(514)]+n,s+i,r[e(531)],a+1)}[U(551)](t,e=null){const n=U,i=this[n(490)][n(517)][t][n(550)];return i?(e||(e=new o.Rect(this[n(496)])[n(541)]()),i-e[n(515)]+this[n(496)][n(495)]):0}[U(512)](t,e=!0){const n=U,i=this[n(487)][n(509)][n(492)];i[n(553)](o=>{const s=n;for(const n of i[s(569)][s(530)])e?o[s(506)](t,n):o[s(535)](t,n)})}}function Z(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var W=n(761),J={attributes:{"data-cke":!0}};J.setAttributes=R(),J.insert=T().bind(null,"head"),J.domAPI=N(),J.insertStyleElement=C();x()(W.A,J);W.A&&W.A.locals&&W.A.locals;const Q=X;function X(t,e){const n=$();return(X=function(t,e){return n[t-=339]})(t,e)}function $(){const t=["plugins","goToPreviousPage","createContainerElement","add","name","20536bigAHe","5427568iLGEms","stop","Pagination","updateMarker","isOfficialPlugin","schema","data","element","type","addMarker","moveSelectionToPage","addMarker:","paginationLicenseKeyValid","always","paginationLicenseKeyNotAllowed","textNode","mapper","parent","init","licenseKey","pagination","accessibility","paginationLicenseKeyTrialLimit","$text","page-break","expired","paginationLicenseKeyUsageLimit","index","Keystrokes for navigating through documents","bind","focus","Go to the next page (also move selection)","totalPages","addKeystrokeInfoGroup","destroy","Shift+Pagedown","_setUpDataDowncastConversion","has","data-pagination-page","hasClass","pagination:","2750694GNMKHc","editor","change:pageBreaks","Shift+Pageup","dataDowncast","goToNextPage","pageNumber","listenTo","495lFnbdM","getFillerOffset","525442qnPRwA","for","27713079KyrNiR","_setupKeystrokes","locale","_validatePageNumber","page-break-before","span","getNearestSelectionRange","markers","PaginationEditing","consumable","requires","14TirvsS","_updatePageBreakMarkers","createPositionAt","setAttribute","conversion","model","paginationLicenseKeyEvaluationLimit","paginationLicenseKeyDomainLimit","editing","2376816OSsOAH","change","checkChild","Go to the previous page (also move selection)","_showLicenseError","root","manual","set","substring","text","paginationLicenseKeyInvalid","consume","config","paginationLicenseKeyExpired","length","_licenseKeyCheckInterval","start","keystrokes","removeMarker","isPremiumPlugin","toViewPosition","pageBreaks","bindElementToMarker","modelRange","forward","toViewElement","get","trialLimit","end","evaluationLimit","invalid","isEnabled","pluginName","scrollToPage","getContainedElement","view","setStyle","offset","1343757lGZNod","usageLimit","featureNotAllowed","writer","setSelection","nodeAfter","domainLimit","insert","options"];return($=function(){return t})()}!function(t){const e=X,n=t();for(;;)try{if(686857===-parseInt(e(368))/1+parseInt(e(434))/2+-parseInt(e(424))/3+-parseInt(e(382))/4*(parseInt(e(432))/5)+-parseInt(e(456))/6*(-parseInt(e(447))/7)+-parseInt(e(383))/8+parseInt(e(436))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Q(402)];[Q(345)];static get[Q(362)](){return Q(444)}static get[Q(387)](){return!0}static get[Q(349)](){return!0}static get[Q(446)](){return[c,q]}[Q(401)](){const t=Q;this[t(463)]({pageNumber:1,totalPages:1});const e=this[t(425)][t(377)][t(356)](t(385)),n=this[t(425)][t(377)][t(356)](c),i=this[t(425)][t(377)][t(356)](q);this[t(412)](t(361)).to(e),this[t(419)](),this[t(412)](t(430)).to(i),this[t(431)](n,t(426),(e,n,i,o)=>{const s=t;this[s(415)]=i[s(344)],this[s(448)](i,o)}),this[t(437)](),this[t(402)]=this[t(425)][t(342)][t(356)](t(402));const o=this[t(425)];this[t(345)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(395)==s||e(340)==s||e(343)==s||e(454)==s||e(397)==s||e(453)==s||e(405)==s||e(409)==s){delete o[i],n=s,clearInterval(this[e(345)]),this[e(345)]=void 0;break}}e(340)==n&&o[e(460)](e(360)),e(343)==n&&o[e(460)](e(408)),e(454)==n&&o[e(460)](e(374)),e(397)==n&&o[e(460)](e(370),e(385)),e(453)==n&&o[e(460)](e(359)),e(405)==n&&o[e(460)](e(357)),e(409)==n&&o[e(460)](e(369))},1e3)}[Q(417)](){const t=Q;super[t(417)](),this[t(345)]&&clearInterval(this[t(345)])}[Q(363)](t){const e=Q;this[e(361)]&&this[e(425)][e(377)][e(356)](q)[e(363)](this[e(439)](t))}[Q(393)](t){const e=Q;if(!this[e(361)])return;const n=this[e(425)],i=this[e(425)][e(377)][e(356)](c)[e(351)][t-1];i&&n[e(452)][e(457)](t=>{const o=e;switch(i[o(391)]){case o(462):{const e=n[o(452)][o(388)][o(442)](i[o(353)][o(358)],o(354));t[o(372)](e);break}case o(390):{const e=n[o(452)][o(388)][o(442)](i[o(353)][o(346)],o(354));t[o(372)](e);break}case o(339):{const e=i[o(353)][o(346)];if(e[o(398)]&&" "===e[o(398)][o(389)][e[o(367)]]){const n=t[o(449)](e[o(400)],e[o(367)]+1);t[o(372)](n)}else t[o(372)](i[o(353)])}}n[o(455)][o(365)][o(413)]()})}[Q(429)](){const t=Q,e=this[t(439)](this[t(430)]+1);this[t(393)](e),this[t(363)](e)}[Q(378)](){const t=Q,e=this[t(439)](this[t(430)]-1);this[t(393)](e),this[t(363)](e)}[Q(448)](t,e){const n=Q,i=this[n(425)][n(452)];this[n(361)]&&i[n(457)](o=>{const s=n;for(let e=1;e<t[s(344)];e++){const n=t[e][s(353)],r=s(423)+(e+1);i[s(443)][s(420)](r)?o[s(386)](r,{range:n}):o[s(392)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(344)];n<e[s(344)];n++){const t=s(423)+(n+1);i[s(443)][s(420)](t)&&o[s(348)](t)}})}[Q(419)](){const t=Q,e=t(403);this[t(425)][t(451)][t(435)](t(428))[t(380)](n=>{const i=t;n.on(i(394)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(376)][s(403)])return;if(!o[s(445)][s(341)](e,t[s(381)]))return;const r=e[s(364)]();let a=r?o[s(399)][s(355)](r):null;if(!a){const t=e[s(346)];if(o[s(388)][s(458)](t,s(406))){const e=o[s(399)][s(350)](t);a=o[s(371)][s(379)](s(441)),a[s(433)]=()=>null,o[s(371)][s(375)](e,a)}else{const e=t[s(373)];a=o[s(399)][s(355)](e)}}for(;a[s(400)]!==a[s(461)]&&0===a[s(410)];)a=a[s(400)];const c=n[s(464)](11);a[s(422)](s(407))||(o[s(371)][s(366)](s(440),s(396),a),o[s(371)][s(450)](s(421),c,a),o[s(399)][s(352)](a,n)),t[s(384)]()})})}[Q(437)](){const t=Q,e=this[t(425)];e[t(347)][t(463)](t(427),(e,n)=>{this[t(378)](),n()}),e[t(347)][t(463)](t(418),(e,n)=>{this[t(429)](),n()}),e[t(404)][t(416)]({id:t(403),label:Z(e[t(438)],t(411)),keystrokes:[{label:Z(e[t(438)],t(459)),keystroke:t(427),mayRequireFn:!0},{label:Z(e[t(438)],t(414)),keystroke:t(418),mayRequireFn:!0}]})}[Q(439)](t){const e=Q;return t<1&&(t=1),t>this[e(415)]&&(t=this[e(415)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=T().bind(null,"head"),it.domAPI=N(),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-=431]})(t,e)}function rt(){const t=["span","28nPBcrP","6712607latyuy","isEnabled","select","set","enter","element","bindTemplate","pageNumber","checkValidity","510672ElJaOS","ariaLabel","change:pageNumber","isReadOnly","isNaN","keydown","keyCode","firstChild","ArrowDown","div","35176ISfYfT","ArrowUp","totalPages","ck-disabled","key","render","value","preventDefault","setTemplate","stopPropagation","Current page number (from 1 to %0)","max","numeric","blur","450KfPREk","934AryviT","4031900peBwxQ","pageNumberView","4828295NxYzKN","focus","ck-page-navigator","40yggqdg","valueAsNumber","navigation","124065nRGaVo","listenTo","fire","bind","2384XEMfQh"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(962213===-parseInt(e(446))/1*(-parseInt(e(459))/2)+-parseInt(e(445))/3*(parseInt(e(431))/4)+parseInt(e(449))/5+-parseInt(e(471))/6*(-parseInt(e(461))/7)+parseInt(e(452))/8*(parseInt(e(455))/9)+parseInt(e(447))/10+-parseInt(e(462))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(448)];constructor(t){const n=ot;super(t);const i=this[n(468)];this[n(465)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(448)]=new e.InputNumberView(t,{min:1,step:1}),this[n(448)][n(465)]({inputMode:n(443),tabIndex:-1}),this[n(448)][n(458)](n(472)).to(this,n(433),e=>Z(t,n(441),e)),this[n(448)][n(458)](n(442)).to(this,n(433)),this[n(448)][n(458)](n(474)).to(this,n(463),t=>!t),this[n(439)]({tag:n(480),attributes:{class:["ck",n(451),i.if(n(463),n(434),t=>!t)]},children:[this[n(448)],{tag:n(460),children:[{text:i.to(n(433))}]}]})}[ot(436)](){const t=ot;super[t(436)]();const e=this[t(448)][t(467)],n=e=>{const n=t;this[n(448)][n(467)][n(437)]=String(e)};n(this[t(469)]),this.on(t(473),(t,e,i)=>{n(i)}),this[t(456)](e,t(476),(n,i)=>{const s=t;if(s(432)===i[s(435)]||s(479)===i[s(435)])return void i[s(440)]();if(i[s(477)]!==o.keyCodes[s(466)])return;i[s(438)]();const r=e[s(453)];Number[s(475)](r)?e[s(437)]=String(this[s(469)]):(e[s(470)]()?this[s(469)]=r:r>this[s(433)]?(this[s(469)]=this[s(433)],e[s(437)]=String(this[s(433)])):(this[s(469)]=1,e[s(437)]="1"),this[s(457)](s(454),this[s(469)]))}),this[t(456)](e,t(444),()=>{const n=t;e[n(437)]=String(this[n(469)])}),this[t(456)](e,t(450),()=>{const e=t;this[e(448)][e(464)]()})}[ot(450)](){const t=ot;this[t(467)][t(478)][t(450)]()}}const ct=lt;function ut(){const t=["2vVFxEo","init","232136MPTkqE","keystroke","previousPage","isOfficialPlugin","3022430dHuYGi","isPremiumPlugin","execute","goToPreviousPage","931634SSpvFt","Go to next page","Shift+PageDown","PaginationUI","bind","Go to previous page","scrollToPage","totalPages","moveSelectionToPage","Shift+PageUp","tooltip","23718591yqwFNP","pageNumber","componentFactory","icon","91YOdjzj","920600HZkbYD","nextPage","label","listenTo","1528902AwpgyP","navigation","goToNextPage","PaginationEditing","add","get","locale","pluginName","607245tufpvQ","plugins","isEnabled","pageNavigation","editor"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=183]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(922712===-parseInt(e(225))/1+-parseInt(e(215))/2*(parseInt(e(210))/3)+parseInt(e(217))/4+parseInt(e(221))/5+parseInt(e(202))/6+-parseInt(e(197))/7*(parseInt(e(198))/8)+parseInt(e(193))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(209)](){return ct(185)}static get[ct(220)](){return!0}static get[ct(222)](){return!0}[ct(216)](){const t=ct,n=this[t(214)],i=n[t(211)][t(207)](t(205));n.ui[t(195)][t(206)](t(213),e=>{const n=t,o=new at(e);return o[n(186)](n(194)).to(i),o[n(186)](n(189)).to(i),o[n(186)](n(212)).to(i),o.on(n(203),(t,e)=>{const o=n;i[o(190)](e),i[o(188)](e)}),o}),n.ui[t(195)][t(206)](t(199),o=>{const s=t,r=new e.ButtonView(o);return r[s(212)]=!0,r[s(200)]=Z(n[s(208)],s(183)),r[s(196)]=et.IconArrowDown,r[s(192)]=!0,r[s(218)]=s(184),r[s(186)](s(212)).to(i),this[s(201)](r,s(223),()=>{i[s(204)]()}),r}),n.ui[t(195)][t(206)](t(219),o=>{const s=t,r=new e.ButtonView(o);return r[s(212)]=!0,r[s(200)]=Z(n[s(208)],s(187)),r[s(196)]=et.IconArrowUp,r[s(192)]=!0,r[s(218)]=s(191),r[s(186)](s(212)).to(i),this[s(201)](r,s(223),()=>{i[s(224)]()}),r})}}function ft(t,e){const n=dt();return(ft=function(t,e){return n[t-=262]})(t,e)}const ht=ft;function dt(){const t=["ready","requires","isBlink","1085180Idafnp","init","isEnabled","72LcuINu","5532530gVnQFF","837186WJvpQW","pluginName","set","browserCheck","Pagination","pageNumber","2935713bwghJl","get","9TQMHmb","editor","30EnUKNR","isPremiumPlugin","totalPages","pagination.enableOnUnsupportedBrowsers","isOfficialPlugin","plugins","114688HFcSlR","28uPTMha","547215ABHRBM","408396diEAtb","forceDisabled","6jIRPTg","scrollToPage","bind","config"];return(dt=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(295101===-parseInt(e(280))/1+-parseInt(e(294))/2+parseInt(e(282))/3*(-parseInt(e(289))/4)+parseInt(e(279))/5*(-parseInt(e(271))/6)+parseInt(e(278))/7*(parseInt(e(277))/8)+-parseInt(e(269))/9*(-parseInt(e(293))/10)+parseInt(e(267))/11*(parseInt(e(292))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ht(262)](){return ht(265)}static get[ht(275)](){return!0}static get[ht(272)](){return!0}static get[ht(287)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(291)]=!1}[ht(290)](){const t=ht;this[t(263)]({pageNumber:1,totalPages:1});const e=this[t(270)][t(276)][t(268)](tt);this[t(284)](t(266)).to(e),this[t(284)](t(273)).to(e),o.env[t(288)]||this[t(270)][t(285)][t(268)](t(274))?this[t(270)].on(t(286),()=>{this[t(291)]=!0}):this[t(281)](t(264))}[ht(283)](t){const e=ht;this[e(270)][e(276)][e(268)](tt)[e(283)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=448]})(t,e)}function bt(){var t=["562296SYxzrR","613670faaRKZ","215sZgshL","722gwHxDo","63RtnCjK","22yFWwZs","3477BTMhvM","104072QgGLxj","916320hznssS","7752798FynodS","21922812WRRkwg","8UohnxJ"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(620154===-parseInt(e(451))/1+-parseInt(e(458))/2*(-parseInt(e(449))/3)+parseInt(e(450))/4*(parseInt(e(457))/5)+parseInt(e(455))/6*(-parseInt(e(459))/7)+-parseInt(e(454))/8*(parseInt(e(452))/9)+parseInt(e(456))/10*(-parseInt(e(448))/11)+parseInt(e(453))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x363c97}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x4beeb0,InputNumberView as _0x43affd,ButtonView as _0x466ca6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x38179f,Rect as _0xfb41d3,global as _0x1f50cd,uid as _0x305a3a,toUnit as _0x17ba99,first as _0x2f1854,env as _0x550cbf,ResizeObserver as _0x1db705,keyCodes as _0x54a18c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x272b93}from'es-toolkit/compat';import{IconArrowDown as _0x2e7a05,IconArrowUp as _0x57278f}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x363c97{['_recalculatePageBreaksDebounced']=_0x272b93(()=>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 _0x38179f('pagination-config-not-found',this['editor']['config']);const _0x31a9d8=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x31a9d8),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x29d736,_0x314c6b,_0x429dc9)=>{_0x429dc9&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x236fef){const _0x4fb451=_0x11adf6([0x67,0x73,0x55,0x75,0x56,0x50,0x42,0x68,0x4d,0x6e,0x72,0x6f,0x34,0x37,0x41,0x54,0x61,0x44,0x31,0x39,0x43,0x45,0x52,0x30,0x6b,0x62,0x69,0x5a,0x78,0x4a,0x33,0x6c,0x71,0x49,0x59,0x4c,0x32,0x63,0x6d,0x48,0x57,0x7a,0x46,0x4f,0x66,0x77,0x74,0x38,0x47,0x58,0x36,0x70,0x53,0x51,0x35,0x4b,0x64,0x4e,0x76,0x79,0x65,0x6a]),_0x55c873=0x74011504,_0x195ccc=0x74067954^_0x55c873,_0x333cd0=window[_0x11adf6([0x44,0x61,0x74,0x65])][_0x11adf6([0x6e,0x6f,0x77])](),_0x312bf1=_0x236fef[_0x11adf6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x661fc9=new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfc9ff9=>{_0x312bf1[_0x11adf6([0x6f,0x6e,0x63,0x65])](_0x11adf6([0x72,0x65,0x61,0x64,0x79]),_0xfc9ff9);}),_0x4d894e={[_0x11adf6([0x6b,0x74,0x79])]:_0x11adf6([0x45,0x43]),[_0x11adf6([0x75,0x73,0x65])]:_0x11adf6([0x73,0x69,0x67]),[_0x11adf6([0x63,0x72,0x76])]:_0x11adf6([0x50,0x2d,0x32,0x35,0x36]),[_0x11adf6([0x78])]:_0x11adf6([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]),[_0x11adf6([0x79])]:_0x11adf6([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]),[_0x11adf6([0x61,0x6c,0x67])]:_0x11adf6([0x45,0x53,0x32,0x35,0x36])},_0x1ad2ab=_0x312bf1[_0x11adf6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11adf6([0x67,0x65,0x74])](_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f4cc7(){let _0x30f18a,_0x4f0274=null,_0x568629=null;try{if(_0x1ad2ab==_0x11adf6([0x47,0x50,0x4c]))return _0x11adf6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30f18a=_0x22eedb(),!_0x30f18a)return _0x11adf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30f18a[_0x11adf6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x568629=_0x4f487c(_0x30f18a[_0x11adf6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30f18a[_0x11adf6([0x6a,0x74,0x69])])),await _0x24e82b()?_0x228314()?_0x47ada8()?_0x11adf6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5621a2()?(_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11adf6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f0274=_0x8816f(_0x11adf6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11adf6([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f0274=_0x8816f(_0x11adf6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x524057()):_0x11adf6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11adf6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11adf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11adf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47ada8(){const _0x3d0969=[_0x11adf6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11adf6([0x74,0x72,0x69,0x61,0x6c])][_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x333cd0/0x3e8:0xe10*_0x195ccc;return _0x30f18a[_0x11adf6([0x65,0x78,0x70])]<_0x3d0969;}function _0x228314(){const _0x30ceef=_0x30f18a[_0x11adf6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30ceef&&(!!_0x30ceef[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11adf6([0x2a]))||!!_0x30ceef[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11adf6([0x50,0x41,0x47])));}function _0x5621a2(){const _0x1630b0=_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1630b0||0x0==_0x1630b0[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fd585}=new URL(window[_0x11adf6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1630b0[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd585))return!0x0;const _0x3436d5=_0x2fd585[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e]));return _0x1630b0[_0x11adf6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49b1fe=>_0x49b1fe[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11adf6([0x2a])))[_0x11adf6([0x6d,0x61,0x70])](_0x505ba0=>_0x505ba0[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e])))[_0x11adf6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c77c2=>_0x3c77c2[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3436d5[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11adf6([0x6d,0x61,0x70])](_0x53a0c3=>Array(_0x3436d5[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53a0c3[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11adf6([0x66,0x69,0x6c,0x6c])](_0x53a0c3[0x0]===_0x11adf6([0x2a])?_0x11adf6([0x2a]):'')[_0x11adf6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53a0c3))[_0x11adf6([0x73,0x6f,0x6d,0x65])](_0x11b148=>_0x3436d5[_0x11adf6([0x65,0x76,0x65,0x72,0x79])]((_0x1358e8,_0x3f6adf)=>_0x11b148[_0x3f6adf]===_0x1358e8||_0x11b148[_0x3f6adf]===_0x11adf6([0x2a])));}function _0x524057(){return _0x4f0274&&_0x568629?new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ed5d5,_0xb32721)=>{_0x4f0274[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x3ed5d5,_0xb32721),_0x568629[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x1d7dcb=>{_0x1d7dcb!=_0x11adf6([0x56,0x61,0x6c,0x69,0x64])&&_0x3ed5d5(_0x1d7dcb);},_0xb32721);}):_0x4f0274||_0x568629||_0x11adf6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f487c(_0x11d186,_0x1b689e){return new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43c48a=>{if(_0x208abb())return _0x43c48a(_0x11adf6([0x56,0x61,0x6c,0x69,0x64]));_0x3dcfd4(),_0x312bf1[_0x11adf6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11adf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x140d0b=!0x1;const _0x2cb20d=_0x305a3a();function _0x2882e0(_0x515ff0){return!!_0x515ff0&&(typeof _0x515ff0===_0x11adf6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x515ff0===_0x11adf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x515ff0[_0x11adf6([0x74,0x68,0x65,0x6e])]===_0x11adf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x515ff0[_0x11adf6([0x63,0x61,0x74,0x63,0x68])]===_0x11adf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a9f84(_0x1f089d){_0x554f06(_0x1f089d)[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x43782a=>{if(!_0x43782a||_0x43782a[_0x11adf6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11adf6([0x6f,0x6b]))return _0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf1267d(_0x5b4cf1(_0x2cb20d+_0x1b689e))!=_0x43782a[_0x11adf6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11adf6([0x56,0x61,0x6c,0x69,0x64]);})[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x15ee72=>(_0x374c21(),_0x15ee72),()=>{const _0x46a9d5=_0x935345();return null==_0x46a9d5?(_0x374c21(),_0x11adf6([0x56,0x61,0x6c,0x69,0x64])):_0x11adf6(_0x333cd0-_0x46a9d5>(0x500d9104^_0x55c873)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x43c48a)[_0x11adf6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43c48a(_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d4aac=0x7437fb84^_0x55c873;function _0x374c21(){const _0x3ec339=_0x11adf6([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1267d(_0x5b4cf1(_0x11d186)),_0x39b589=_0x5b2cc9(_0xf1267d(window[_0x11adf6([0x4d,0x61,0x74,0x68])][_0x11adf6([0x63,0x65,0x69,0x6c])](_0x333cd0/_0x5d4aac)));window[_0x11adf6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11adf6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ec339,_0x39b589);}function _0x935345(){const _0x1c06a8=_0x11adf6([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1267d(_0x5b4cf1(_0x11d186)),_0x36f7b6=window[_0x11adf6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11adf6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c06a8);return _0x36f7b6?window[_0x11adf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b2cc9(_0x36f7b6),0x10)*_0x5d4aac:null;}function _0x554f06(_0x4ac78a){return new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8cf563,_0xe959ff)=>{_0x4ac78a[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x8cf563,_0xe959ff),window[_0x11adf6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe959ff,0x7400c1c4^_0x55c873);});}}_0x312bf1[_0x11adf6([0x6f,0x6e])](_0x11adf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6ec09e,_0x3df97b)=>{if(_0x3df97b[0x0]!=_0x11d186)return _0x43c48a(_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3df97b[0x1]={..._0x3df97b[0x1],[_0x11adf6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cb20d};},{[_0x11adf6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11adf6([0x68,0x69,0x67,0x68])}),_0x312bf1[_0x11adf6([0x6f,0x6e])](_0x11adf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ee045=>{_0x2882e0(_0x3ee045[_0x11adf6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x140d0b=!0x0,_0x1a9f84(_0x3ee045[_0x11adf6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11adf6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11adf6([0x6c,0x6f,0x77])}),_0x661fc9[_0x11adf6([0x74,0x68,0x65,0x6e])](()=>{_0x140d0b||_0x43c48a(_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x208abb(){return _0x312bf1[_0x11adf6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11adf6([0x76,0x69,0x65,0x77])][_0x11adf6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11adf6([0x61,0x75,0x74,0x6f]);}function _0x3dcfd4(){_0x312bf1[_0x11adf6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11adf6([0x76,0x69,0x65,0x77])][_0x11adf6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11adf6([0x61,0x75,0x74,0x6f]);}}function _0x8816f(_0x25f75b){const _0x403c70=[new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2738a4=>setTimeout(_0x2738a4,0x74082bc8^_0x55c873)),_0x661fc9[_0x11adf6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x488a37=>{let _0xee90b4=0x0;_0x312bf1[_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x11adf6([0x6f,0x6e])](_0x11adf6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14648c,_0xa10f75)=>{_0xa10f75[0x0][_0x11adf6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xee90b4++,_0xee90b4==(0x740114fc^_0x55c873)&&(_0x488a37(),_0x14648c[_0x11adf6([0x6f,0x66,0x66])]());});}))];return window[_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11adf6([0x72,0x61,0x63,0x65])](_0x403c70)[_0x11adf6([0x74,0x68,0x65,0x6e])](()=>_0x25f75b);}async function _0x2e60b2(){await _0x661fc9,_0x312bf1[_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x11adf6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1680f8,_0x312bf1[_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x11adf6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1680f8,_0x312bf1[_0x11adf6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c5dff(_0xc4abb8){const _0x47915d=_0x3ec5a8();_0x312bf1[_0x47915d]=_0x11adf6([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc4abb8,_0xc4abb8!=_0x11adf6([0x56,0x61,0x6c,0x69,0x64])&&_0x2e60b2();}function _0x3ec5a8(){const _0x59c093=window[_0x11adf6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11adf6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11adf6([0x6e,0x6f,0x77])]())[_0x11adf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11adf6([0x2e]),'');let _0x18bbcf=_0x11adf6([0x67]);for(let _0x2f606d=0x0;_0x2f606d<_0x59c093[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f606d+=0x2){let _0x177609=window[_0x11adf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59c093[_0x11adf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f606d,_0x2f606d+0x2));_0x177609>=_0x4fb451[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x177609-=_0x4fb451[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18bbcf+=_0x4fb451[_0x177609];}return _0x18bbcf;}function _0x22eedb(){const _0x5554c6=_0x1ad2ab[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e]));if(0x3!=_0x5554c6[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x569b16(_0x5554c6[0x1]);function _0x569b16(_0x481d99){const _0x313459=_0x1af368(_0x481d99);return _0x313459&&_0x4ee2b6()?_0x313459:null;function _0x4ee2b6(){const _0x26d251=_0x313459[_0x11adf6([0x6a,0x74,0x69])],_0x18cc73=window[_0x11adf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26d251[_0x11adf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26d251[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x55d6cb={..._0x313459,[_0x11adf6([0x6a,0x74,0x69])]:_0x26d251[_0x11adf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26d251[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x55d6cb[_0x11adf6([0x76,0x63])],_0x5b4cf1(_0x55d6cb)==_0x18cc73;}}}async function _0x24e82b(){let _0x1edd83=!0x0;try{const _0x4f1ef7=_0x1ad2ab[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e])),[_0x36db95,_0xd89dc3,_0x51ada3]=_0x4f1ef7;return _0x4263ca(_0x36db95),await _0xac9f4e(_0x36db95,_0xd89dc3,_0x51ada3),_0x1edd83;}catch{return!0x1;}function _0x4263ca(_0x4a7933){const _0x5e6bbc=_0x1af368(_0x4a7933);_0x5e6bbc&&_0x5e6bbc[_0x11adf6([0x61,0x6c,0x67])]==_0x11adf6([0x45,0x53,0x32,0x35,0x36])||(_0x1edd83=!0x1);}async function _0xac9f4e(_0x31935c,_0xa55857,_0x4f889f){const _0x58cf29=window[_0x11adf6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11adf6([0x66,0x72,0x6f,0x6d])](_0x1ddf12(_0x4f889f),_0xa08f11=>_0xa08f11[_0x11adf6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b2713=new window[(_0x11adf6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11adf6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31935c+_0x11adf6([0x2e])+_0xa55857),_0x1d49bb=window[_0x11adf6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11adf6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d49bb)return;const _0x49744c=await _0x1d49bb[_0x11adf6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11adf6([0x6a,0x77,0x6b]),_0x4d894e,{[_0x11adf6([0x6e,0x61,0x6d,0x65])]:_0x11adf6([0x45,0x43,0x44,0x53,0x41]),[_0x11adf6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11adf6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11adf6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d49bb[_0x11adf6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11adf6([0x6e,0x61,0x6d,0x65])]:_0x11adf6([0x45,0x43,0x44,0x53,0x41]),[_0x11adf6([0x68,0x61,0x73,0x68])]:{[_0x11adf6([0x6e,0x61,0x6d,0x65])]:_0x11adf6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49744c,_0x58cf29,_0x4b2713)||(_0x1edd83=!0x1);}}function _0x1af368(_0x737c29){return _0x737c29[_0x11adf6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11adf6([0x65,0x79]))?JSON[_0x11adf6([0x70,0x61,0x72,0x73,0x65])](_0x1ddf12(_0x737c29)):null;}function _0x1ddf12(_0x4e767b){return window[_0x11adf6([0x61,0x74,0x6f,0x62])](_0x4e767b[_0x11adf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11adf6([0x2b]))[_0x11adf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11adf6([0x2f])));}function _0x5b4cf1(_0x183ef8){let _0x574d61=0x1505;function _0xe4b403(_0x5b73b5){for(let _0x12e99b=0x0;_0x12e99b<_0x5b73b5[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12e99b++){const _0x1dab73=_0x5b73b5[_0x11adf6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12e99b);_0x574d61=(_0x574d61<<0x5)+_0x574d61+_0x1dab73,_0x574d61&=_0x574d61;}}function _0x3494f0(_0x5d4bbc){Array[_0x11adf6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d4bbc)?_0x5d4bbc[_0x11adf6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3494f0):_0x5d4bbc&&typeof _0x5d4bbc==_0x11adf6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11adf6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d4bbc)[_0x11adf6([0x73,0x6f,0x72,0x74])]()[_0x11adf6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39279d,_0x10b14e])=>{_0xe4b403(_0x39279d),_0x3494f0(_0x10b14e);}):_0xe4b403(window[_0x11adf6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d4bbc));}return _0x3494f0(_0x183ef8),_0x574d61>>>0x0;}function _0xf1267d(_0x4762ec){return _0x4762ec[_0x11adf6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11adf6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11adf6([0x30]));}function _0x5b2cc9(_0x253048){return _0x253048[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11adf6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11adf6([0x6a,0x6f,0x69,0x6e])]('');}function _0x1680f8(){}function _0x11adf6(_0x17c440){return _0x17c440['map'](_0x4677c9=>String['fromCharCode'](_0x4677c9))['join']('');}_0x3c5dff(await _0x2f4cc7());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x42aacb=this['editor'],_0x20f612=_0x42aacb['editing']['view'],_0x4aca0b=this['_getAttachedDomRoot']();if(!_0x4aca0b||0x0===_0x4aca0b['childElementCount'])return void _0x42aacb['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3deeef,pageHeight:_0x16bc50}=_0x42aacb['config']['get']('pagination'),{top:_0x26fd28,left:_0x58c357,bottom:_0x3dec0b,right:_0x1fef61}=this['_configuredPaddings'];this['_pagesContainer']=new _0x4beeb0(_0x42aacb['locale']);const _0x9b130d=this['_pagesContainer'];_0x9b130d['set']('class',''),_0x9b130d['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x3deeef,'width':_0x3deeef,'height':'calc(\x20'+_0x16bc50+'\x20-\x20'+_0x26fd28+'\x20-\x20'+_0x3dec0b+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1fef61+'\x200\x20'+_0x58c357,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x9b130d['bindTemplate']['to']('class')}}),_0x9b130d['render'](),_0x4aca0b['parentNode']['insertBefore'](_0x9b130d['element'],_0x4aca0b['nextSibling']),this['listenTo'](_0x20f612,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x40789e of this['editor']['editing']['view']['domRoots']['values']())if(_0x40789e['ownerDocument']['body']['contains'](_0x40789e))return _0x40789e;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x39b0cd=this['editor']['editing']['view'],_0x595c74=this['_pagesContainer'],_0x37a565=this['_getAttachedDomRoot']();if(!_0x37a565)return Promise['resolve']();for(_0x595c74['class']=['ck-reset','ck-pagination-view',..._0x37a565['classList']]['join']('\x20');_0x595c74['element']['firstChild'];)_0x595c74['element']['firstChild']['remove']();const _0x23977a=Array['from'](_0x39b0cd['domRoots']);_0x23977a['sort'](([,_0x526d44],[,_0x1a14f2])=>_0x526d44['compareDocumentPosition'](_0x1a14f2)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x4d51fd,_0x33b12d]of _0x23977a){const _0x486489=_0x33b12d['cloneNode'](!0x0);'attributeStyleMap'in _0x486489&&_0x486489['attributeStyleMap']['clear'](),_0x486489['className']='',_0x486489['removeAttribute']('id'),_0x486489['dataset']['rootName']=_0x4d51fd,_0x595c74['element']['append'](_0x486489);}return function(_0x1fbd7b){return Promise['all'](_0x1fbd7b['map'](_0x596430=>Promise['race']([m(_0x596430),p(0x3e8)])));}(Array['from'](_0x595c74['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x1f916f=this['_pagesContainer']['element'];if(!_0x1f916f['ownerDocument']['body']['contains'](_0x1f916f))return;const _0x25fa6a=new _0xfb41d3(_0x1f916f)['excludeScrollbarsAndBorders'](),_0x441f02=_0x1f50cd['window']['getComputedStyle'](_0x1f916f),_0xbe699c=parseFloat(_0x441f02['paddingLeft'])+parseFloat(_0x441f02['paddingRight']),_0x33f631=Math['floor'](_0x25fa6a['width']+0x64-_0xbe699c),_0x59609f=b(_0x1f916f,Math['floor'](_0x25fa6a['left']-_0x1f916f['scrollLeft']),_0x33f631,_0x25fa6a['height'])['map'](_0x19f33f=>this['_mapPageStarterInfoToPageBreakInfo'](_0x19f33f));_0x59609f['every'](_0x17117e=>!!_0x17117e)&&(this['pageBreaks']=_0x59609f);}['_mapPageStarterInfoToPageBreakInfo'](_0x3b9e59){const _0x5e50cc=this['editor']['editing']['view'],_0x55a32d=this['editor']['editing']['mapper'],_0x284f18=_0x5e50cc['domConverter'],_0x298b6d=_0x3b9e59['path']['shift'](),_0x500ac7=this['_pagesContainer']['element']['childNodes'][_0x298b6d]['dataset']['rootName'],_0x29b7f=_0x5e50cc['getDomRoot'](_0x500ac7);if(!_0x29b7f)return null;const _0x3855fa=function(_0x3869d2,_0x12a388){let _0x268155=_0x3869d2;for(const _0x3cc8b4 of _0x12a388['path']){if(!_0x268155)return null;_0x268155=_0x268155['childNodes'][_0x3cc8b4];}return _0x268155;}(_0x29b7f,_0x3b9e59);if(!_0x3855fa)return null;const _0x1c48f1=_0x284f18['domPositionToView'](_0x3855fa,_0x3b9e59['textOffset']||0x0);return _0x1c48f1?'manual'==_0x3b9e59['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1c48f1,_0x3855fa):'text'==_0x3b9e59['type']&&_0x55a32d['toModelPosition'](_0x1c48f1)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c48f1,_0x3855fa,_0x3b9e59['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1c48f1,_0x3855fa,_0x3b9e59['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x5486fc,_0x1732a6){const _0xdf4ffe=this['editor']['model'],_0xe9fd23=this['editor']['editing']['mapper']['toModelElement'](_0x5486fc['parent']),_0x3e589e=_0xdf4ffe['createRangeOn'](_0xe9fd23);return new K({'type':'manual','modelRange':_0x3e589e,'domNode':_0x1732a6,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x41a070,_0x248392,_0x3a35c3){const _0x5d0044=this['editor']['model'],_0x1331b5=this['editor']['editing']['mapper'],_0x1ccbee=this['editor']['editing']['view']['domConverter'];if(_0x3a35c3>=_0x248392['length'])return null;const _0x47d62a=_0x1331b5['toModelPosition'](_0x41a070),_0x338369=_0x5d0044['createRange'](_0x47d62a),_0x3d7097=_0x1331b5['findMappedViewAncestor'](_0x41a070),_0xf103ea=_0x1ccbee['mapViewToDom'](_0x3d7097);return new K({'type':'text','modelRange':_0x338369,'domNode':_0x248392,'offset':w(_0x248392,_0x3a35c3,_0xf103ea)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4dd1f7,_0x4343d6,_0x3c824b){const _0x2d3d3e=this['editor']['model'],_0xea1b0f=this['editor']['editing'],_0x4d55ac=_0xea1b0f['mapper'],_0x20b11c=_0xea1b0f['view']['domConverter'],_0x3eba58=_0x4d55ac['findMappedViewAncestor'](_0x4dd1f7),_0x1b08cc=_0x4d55ac['toModelElement'](_0x3eba58),_0x57c1d4=function(_0x24252b){const _0x13ab37=_0x24252b['parent'],_0x1b75ef=_0x13ab37['root']['document']['model'],_0x1b0431=_0x13ab37['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3cb4ba=null;for(const _0x1fe265 of _0x1b0431){if(_0x1fe265['is']('rootElement'))return _0x3cb4ba;if(!_0x1b75ef['createPositionBefore'](_0x1fe265)['isTouching'](_0x24252b))return _0x3cb4ba;_0x3cb4ba=_0x1fe265;}}(_0x2d3d3e['createPositionBefore'](_0x1b08cc)),_0x59eaa5=_0x57c1d4||_0x1b08cc;let _0x36b40d=_0x4d55ac['toViewElement'](_0x59eaa5),_0x532117=_0x2d3d3e['createRangeOn'](_0x59eaa5);const _0x23bea8=_0x2d3d3e['createPositionBefore'](_0x59eaa5)['nodeBefore'];if(_0x23bea8&&_0x23bea8['is']('element','imageBlock')){const _0x2301f6=_0x4d55ac['toViewElement'](_0x23bea8),_0x2f45f7=_0x20b11c['mapViewToDom'](_0x2301f6),_0x5d8dfe=_0x1f50cd['window']['getComputedStyle'](_0x2f45f7)['float'];'left'!=_0x5d8dfe&&'right'!=_0x5d8dfe||(_0x532117=_0x2d3d3e['createRangeOn'](_0x23bea8));}for(;_0x36b40d['parent']!==_0x36b40d['root']&&0x0===_0x36b40d['index'];)_0x36b40d=_0x36b40d['parent'];const _0x5cae8e=new _0xfb41d3(N(_0x4343d6)?_0x4343d6:y(_0x4343d6)),_0x45c85a=_0x3c824b?_0x5cae8e['height']-_0x3c824b:0x0,_0x529bd0=_0x20b11c['mapViewToDom'](_0x36b40d),_0x251300=new _0xfb41d3(_0x529bd0);return new K({'type':'element','modelRange':_0x532117,'domNode':_0x529bd0,'offset':Math['round'](_0x45c85a)?_0x45c85a+_0x5cae8e['top']-_0x251300['top']:0x0});}get['_configuredPaddings'](){const _0xbe2b4f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xbe2b4f);}static['_findPageStarterInfos'](_0x369580,_0x359c7b,_0x35e1fb,_0x1745b8,_0x1cf234){return b(_0x369580,_0x359c7b,_0x35e1fb,_0x1745b8,_0x1cf234);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1080f7,modelRange:_0xec6e39,domNode:_0x2e9c19,offset:_0x16818c}){this['type']=_0x1080f7,this['modelRange']=_0xec6e39,this['_domNode']=_0x2e9c19,this['_offset']=_0x16818c;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x11b157=new _0xfb41d3(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x11b157['top']+_0x11b157['height']/0x2:_0x11b157['top']+this['_offset'];}}function w(_0x5418f4,_0x449ca6,_0x20d5f9){const _0x2962e8=y(_0x5418f4),_0x153fe3=function(_0x39e6c2){const _0x2f38b7=_0x1f50cd['document']['createRange']();return _0x2f38b7['selectNodeContents'](_0x39e6c2),_0x2f38b7;}(_0x20d5f9);let _0x561a37;_0x561a37=0x0==_0x449ca6?k(_0x153fe3['startContainer'],_0x153fe3['startOffset'],_0x5418f4['parentNode'],Array['from'](_0x5418f4['parentNode']['childNodes'])['indexOf'](_0x5418f4)):k(_0x153fe3['startContainer'],_0x153fe3['startOffset'],_0x5418f4,_0x449ca6);const _0x247b13=k(_0x5418f4,_0x449ca6,_0x153fe3['endContainer'],_0x153fe3['endOffset']),_0x3a2f4e=new _0xfb41d3(_0x561a37)['bottom'];return(new _0xfb41d3(_0x247b13)['top']+_0x3a2f4e)/0x2-new _0xfb41d3(_0x2962e8)['top'];}function m(_0x457831){return _0x457831['hasAttribute']('width')&&_0x457831['hasAttribute']('height')?Promise['resolve']():new Promise(_0x491b39=>{function _0x5610ba(){_0x457831['removeEventListener']('load',_0x5610ba),_0x457831['removeEventListener']('error',_0x5610ba),_0x491b39();}_0x457831['complete']?_0x491b39():(_0x457831['addEventListener']('load',_0x5610ba),_0x457831['addEventListener']('error',_0x5610ba));});}function p(_0x105a59){return new Promise(_0x5c1178=>setTimeout(_0x5c1178,_0x105a59));}function y(_0x35f55c){const _0x2ebd=_0x1f50cd['document']['createRange']();return _0x2ebd['selectNode'](_0x35f55c),_0x2ebd;}function P(_0x1f61d4,_0x3665e4,_0x46ada4){const _0x5a4d22=_0x1f50cd['document']['createRange']();return _0x5a4d22['setStart'](_0x1f61d4,_0x3665e4),_0x5a4d22['setEnd'](_0x1f61d4,_0x46ada4),_0x5a4d22;}function k(_0x2288cb,_0x2f8c98,_0x337030,_0x15aa4a){const _0x4aa249=_0x1f50cd['document']['createRange']();return _0x4aa249['setStart'](_0x2288cb,_0x2f8c98),_0x4aa249['setEnd'](_0x337030,_0x15aa4a),_0x4aa249;}function b(_0x26e531,_0x53e10c,_0x39a477,_0x16097e,_0x528cdd){const _0x3d7ef6=[];for(const [_0x49e396,_0x38f245]of _0x26e531['childNodes']['entries']()){let _0x32d819=[];N(_0x38f245)&&_0x38f245['offsetParent']&&!_0x38f245['style']['position']?_0x32d819=x(_0x38f245,_0x49e396,_0x53e10c,_0x39a477,_0x16097e,_0x528cdd):S(_0x38f245)&&(_0x32d819=_(_0x38f245,_0x49e396,_0x53e10c,_0x39a477,_0x528cdd)),_0x32d819['length']&&(_0x3d7ef6['push'](..._0x32d819),_0x53e10c+=_0x32d819['length']*_0x39a477,_0x528cdd=!0x1);}return _0x3d7ef6;}function x(_0x1ba9dd,_0x4e6ee4,_0x39c2d8,_0x5edb93,_0x4651d5,_0x22b2a9){const _0x37fb72=[];var _0xe25f47;if((_0xe25f47=_0x1ba9dd['previousSibling'])&&N(_0xe25f47)&&Boolean(_0xe25f47['classList']['contains']('page-break')||_0xe25f47['closest']('.page-break'))&&(_0x37fb72['push']({'type':'manual','offset':0x0,'path':[_0x4e6ee4-0x1]}),_0x22b2a9=!0x0),'table-row'==_0x1f50cd['window']['getComputedStyle'](_0x1ba9dd)['display']){let _0x3163b2=0x0,_0x279f19=!0x1;for(const _0x41ef88 of _0x1ba9dd['getClientRects']())_0x3163b2+=_0x41ef88['height'],_0x41ef88['left']>=_0x39c2d8&&(_0x279f19=!0x0);if(_0x3163b2<_0x4651d5&&_0x279f19)return _0x37fb72['push']({'type':'element','offset':0x0,'path':[_0x4e6ee4]}),_0x37fb72;}const _0x2314b4=_0x1ba9dd['closest']('figure.image');if(_0x2314b4&&function(_0x2fa340){let _0x2e73fd=!0x1;const _0x1fa4b4=_0x2fa340['parentElement'],_0xf57a05=_0x1fa4b4['dataset']['rootName'],_0xf64120=_0x2fa340['nextElementSibling'],_0x2e1095=_0x2fa340['previousElementSibling'],_0xd3984f=_0xf64120&&_0x1f50cd['window']['getComputedStyle'](_0xf64120)['float'],_0x230c69=_0xf64120&&'ck-fake-selection-container'===_0xf64120['className'];!_0xf57a05||_0xf64120||_0x2e1095||(_0x2e73fd=!0x0),_0xf57a05&&!_0x2e1095&&_0x230c69&&(_0x2e73fd=!0x0),_0xf57a05&&!_0x2e1095&&'none'!==_0xd3984f&&(_0x2e73fd=!0x0);if(_0x2e73fd)return!0x1;return!0x0;}(_0x2314b4)){const _0x12230b=_0x1f50cd['window']['getComputedStyle'](_0x2314b4)['float'];if('left'==_0x12230b||'right'==_0x12230b)return _0x37fb72;}const _0x255152=b(_0x1ba9dd,_0x39c2d8,_0x5edb93,_0x4651d5,_0x22b2a9);if(_0x255152['length']){for(const _0x4d0894 of _0x255152)_0x37fb72['push']({'type':_0x4d0894['type'],'offset':_0x4d0894['offset'],'textOffset':_0x4d0894['textOffset'],'path':[_0x4e6ee4,..._0x4d0894['path']]}),_0x39c2d8+=_0x5edb93,_0x22b2a9=!0x1;return _0x37fb72;}return _0x37fb72['push'](...function(_0x5be89f,_0x377d7a,_0x44660b,_0x51687e,_0x18b3ce){const _0x2145be=[];if('table-cell'==_0x1f50cd['window']['getComputedStyle'](_0x5be89f)['display'])return[];const _0x6025ba=[];for(const _0x4d83bf of _0x5be89f['getClientRects']())if(_0x4d83bf['left']>=_0x44660b){for(const _0x22b618 of _0x6025ba)_0x22b618['height']+=_0x4d83bf['height'];_0x6025ba['push']({'height':_0x4d83bf['height']}),_0x44660b+=_0x51687e;}for(const _0x49908c of _0x6025ba)_0x18b3ce||_0x2145be['push']({'type':'element','offset':_0x49908c['height'],'textOffset':0x0,'path':[_0x377d7a]}),_0x18b3ce=!0x1;return _0x2145be;}(_0x1ba9dd,_0x4e6ee4,_0x39c2d8,_0x5edb93,_0x22b2a9)),_0x37fb72;}function _(_0x2ad0f6,_0x14fc88,_0x3f6fef,_0x170623,_0x5b5d87){const _0x4f2b3f=y(_0x2ad0f6),_0x1185e0=[];let _0x3e4251=0x0;for(const _0x408c67 of _0x4f2b3f['getClientRects']())if(_0x408c67['left']>=_0x3f6fef){const _0x21a0d2=B(_0x2ad0f6,_0x3e4251,_0x3f6fef,_0x170623);_0x5b5d87||_0x1185e0['push']({'type':'text','path':[_0x14fc88],'textOffset':_0x21a0d2}),_0x3e4251=_0x21a0d2,_0x3f6fef+=_0x170623,_0x5b5d87=!0x1;}return _0x1185e0;}function B(_0x259a22,_0xef5754,_0x5cd9c3,_0x4040a8){let _0x70adfc=_0xef5754,_0x30a8c3=_0x259a22['length'];for(;_0x30a8c3-_0x70adfc>0x1;){const _0x49c5ca=Math['ceil']((_0x70adfc+_0x30a8c3)/0x2);I(P(_0x259a22,_0x70adfc,_0x49c5ca),_0x5cd9c3,_0x4040a8)?_0x30a8c3=_0x49c5ca:_0x70adfc=_0x49c5ca;}return _0x70adfc;}function I(_0xd16e2a,_0x3ee003,_0x44bb34){for(const _0x3f757c of _0xd16e2a['getClientRects']())if(_0x3f757c['left']>=_0x3ee003&&_0x3f757c['left']<_0x3ee003+_0x44bb34)return!0x0;return!0x1;}function N(_0x4a7813){return _0x4a7813['nodeType']==Node['ELEMENT_NODE'];}function S(_0x1ec025){return _0x1ec025['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x17ba99('px');class C extends _0x4beeb0{constructor(){super();const _0x477ca3=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x477ca3['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x477ca3['if']('isVisible','ck-hidden',_0x3d9d14=>!_0x3d9d14)],'style':{'left':_0x477ca3['to']('left',_0x13ebfb=>q(_0x13ebfb)),'top':_0x477ca3['to']('top',_0xc03969=>q(_0xc03969)),'width':_0x477ca3['to']('width',_0x4dc702=>q(_0x4dc702))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x502f33){this['_viewCollection']=_0x502f33['ui']['view']['body'];}['destroy'](){for(const _0x5c10be of this['_hiddenLines'])_0x5c10be['destroy']();}['cleanLines'](){for(const _0x1cf565 of this['_visibleLines'])_0x1cf565['isVisible']=!0x1,this['_hiddenLines']['add'](_0x1cf565);this['_visibleLines']['clear']();}['showLine'](_0x4aa6da,_0x20cb3a,_0x363a84,_0x32083e){let _0x415731;this['_hiddenLines']['size']?(_0x415731=_0x2f1854(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x415731)):_0x415731=new C(),_0x415731['set']({'pageNumber':_0x32083e,'left':_0x4aa6da,'top':_0x20cb3a,'width':_0x363a84}),_0x415731['isVisible']=!0x0,this['_viewCollection']['has'](_0x415731)||this['_viewCollection']['add'](_0x415731),this['_visibleLines']['add'](_0x415731);}['setViewCollection'](_0x488738){for(const _0x2d0f44 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2d0f44)&&this['_viewCollection']['remove'](_0x2d0f44);this['_viewCollection']=_0x488738;}}const E='ck-pagination_enabled';class n extends _0x363c97{['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 O(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'](E),this['on']('change:isEnabled',(_0x3ea574,_0x495f90,_0x1cc020)=>{_0x1cc020||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x1cc020);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1c6330){if(!this['isEnabled'])return;const _0x3a253b=_0x1c6330>0x1?this['_getPageBreakLineOffset'](_0x1c6330-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3a253b-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x550cbf['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5af224=this['editor'],_0x1be202=this['_getAttachedDomRoot']();_0x1be202?(this['_scrollableEditingRootDomAncestor']&&_0x5af224['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5a8cec){let _0xb2b1a1=_0x5a8cec;do{_0xb2b1a1=_0xb2b1a1['parentElement'];const _0x2080a0=_0x1f50cd['window']['getComputedStyle'](_0xb2b1a1)['overflowY'];if('auto'==_0x2080a0||'scroll'==_0x2080a0)break;}while('BODY'!=_0xb2b1a1['tagName']);return _0xb2b1a1;}(_0x1be202),_0x5af224['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1db705(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5af224['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x58899d=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x58899d['ui']['view']['listenTo'](_0x1f50cd['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x58899d['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x11cdce of this['editor']['editing']['view']['domRoots']['values']())if(_0x11cdce['ownerDocument']['body']['contains'](_0x11cdce))return _0x11cdce;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5a2b01=this['_getAttachedDomRoot'](),_0x384a03=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5a2b01||0x1==_0x384a03['length'])return void(this['pageNumber']=0x1);const _0x9d9ed6=new _0xfb41d3(_0x5a2b01)['excludeScrollbarsAndBorders'](),_0x19e688=new _0xfb41d3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0xff7fa0=_0x19e688['top']+_0x19e688['height']/0x3;let _0x55c69b=!0x1;const _0x9a72ef=[];for(let _0x1ff5fd=0x1;_0x1ff5fd<_0x384a03['length'];_0x1ff5fd++){const _0x4802e2=this['_getPageBreakLineOffset'](_0x1ff5fd,_0x19e688);if(!_0x4802e2)continue;const _0x51f250=_0x19e688['top']+_0x4802e2-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x9a72ef['push']({'pageOffsetTop':_0x51f250,'domRootRect':_0x9d9ed6,'domScrollableRect':_0x19e688,'pageNumber':_0x1ff5fd}),_0x51f250>_0xff7fa0&&!_0x55c69b&&(this['pageNumber']=_0x1ff5fd,_0x55c69b=!0x0);}this['_renderPageBreakLines'](_0x9a72ef),_0x55c69b||(this['pageNumber']=_0x384a03['length']);}['_renderPageBreakLines'](_0x411cd3){const {scrollX:_0x46edfd,scrollY:_0x525964}=_0x1f50cd['window'];if(_0x411cd3['length']){for(const {domScrollableRect:_0x396a11,pageOffsetTop:_0x3f9e8e,domRootRect:_0x5015ad,pageNumber:_0x113817}of _0x411cd3)_0x396a11['top']<_0x3f9e8e&&_0x3f9e8e<_0x396a11['bottom']&&this['linesRepository']['showLine'](_0x5015ad['left']+_0x46edfd,_0x3f9e8e+_0x525964,_0x5015ad['width'],_0x113817+0x1);}}['_getPageBreakLineOffset'](_0x4d6ddd,_0x27877d=null){const _0xb6faa0=this['_paginationLookupPlugin']['pageBreaks'][_0x4d6ddd]['offset'];return _0xb6faa0?(_0x27877d||(_0x27877d=new _0xfb41d3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xb6faa0-_0x27877d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x8082d3,_0x568f28=!0x0){const _0x5b7157=this['editor']['editing']['view'];_0x5b7157['change'](_0x34d88d=>{for(const _0x201a26 of _0x5b7157['document']['roots'])_0x568f28?_0x34d88d['addClass'](_0x8082d3,_0x201a26):_0x34d88d['removeClass'](_0x8082d3,_0x201a26);});}}function g(_0x2d6154,_0x53088f,..._0xcc7f0b){const t=_0x2d6154['t'];switch(_0x53088f){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)',..._0xcc7f0b);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 _0x53088f;}}class s extends _0x363c97{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2e24c6=this['editor']['plugins']['get']('Pagination'),_0x42ea46=this['editor']['plugins']['get'](a),_0x45ea11=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x2e24c6),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x45ea11),this['listenTo'](_0x42ea46,'change:pageBreaks',(_0x411eb1,_0x1ba400,_0x19a4a1,_0x17d3e6)=>{this['totalPages']=_0x19a4a1['length'],this['_updatePageBreakMarkers'](_0x19a4a1,_0x17d3e6);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x549c6c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4cd3d0;for(const _0x6185be in _0x549c6c){const _0x789ad1=_0x6185be,_0x5e6150=_0x549c6c[_0x789ad1];if('paginationLicenseKeyValid'==_0x5e6150||'paginationLicenseKeyInvalid'==_0x5e6150||'paginationLicenseKeyExpired'==_0x5e6150||'paginationLicenseKeyDomainLimit'==_0x5e6150||'paginationLicenseKeyNotAllowed'==_0x5e6150||'paginationLicenseKeyEvaluationLimit'==_0x5e6150||'paginationLicenseKeyTrialLimit'==_0x5e6150||'paginationLicenseKeyUsageLimit'==_0x5e6150){delete _0x549c6c[_0x789ad1],_0x4cd3d0=_0x5e6150,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x402d25){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x402d25));}['moveSelectionToPage'](_0x1fb5a6){if(!this['isEnabled'])return;const _0xd3cfde=this['editor'],_0x50e86c=this['editor']['plugins']['get'](a)['pageBreaks'][_0x1fb5a6-0x1];_0x50e86c&&_0xd3cfde['model']['change'](_0x1620f5=>{switch(_0x50e86c['type']){case'manual':{const _0x237a4b=_0xd3cfde['model']['schema']['getNearestSelectionRange'](_0x50e86c['modelRange']['end'],'forward');_0x1620f5['setSelection'](_0x237a4b);break;}case'element':{const _0x4fa8b4=_0xd3cfde['model']['schema']['getNearestSelectionRange'](_0x50e86c['modelRange']['start'],'forward');_0x1620f5['setSelection'](_0x4fa8b4);break;}case'text':{const _0x57a5ad=_0x50e86c['modelRange']['start'];if(_0x57a5ad['textNode']&&'\x20'===_0x57a5ad['textNode']['data'][_0x57a5ad['offset']]){const _0x24dcf1=_0x1620f5['createPositionAt'](_0x57a5ad['parent'],_0x57a5ad['offset']+0x1);_0x1620f5['setSelection'](_0x24dcf1);}else _0x1620f5['setSelection'](_0x50e86c['modelRange']);}}_0xd3cfde['editing']['view']['focus']();});}['goToNextPage'](){const _0x29d58d=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x29d58d),this['scrollToPage'](_0x29d58d);}['goToPreviousPage'](){const _0x598788=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x598788),this['scrollToPage'](_0x598788);}['_updatePageBreakMarkers'](_0x32c2fe,_0x192d5b){const _0x32f3be=this['editor']['model'];this['isEnabled']&&_0x32f3be['change'](_0x662122=>{for(let _0x270186=0x1;_0x270186<_0x32c2fe['length'];_0x270186++){const _0x3aa9b5=_0x32c2fe[_0x270186]['modelRange'],_0x4b2a96='pagination:'+(_0x270186+0x1);_0x32f3be['markers']['has'](_0x4b2a96)?_0x662122['updateMarker'](_0x4b2a96,{'range':_0x3aa9b5}):_0x662122['addMarker'](_0x4b2a96,{'range':_0x3aa9b5,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x55bab=_0x32c2fe['length'];_0x55bab<_0x192d5b['length'];_0x55bab++){const _0x327739='pagination:'+(_0x55bab+0x1);_0x32f3be['markers']['has'](_0x327739)&&_0x662122['removeMarker'](_0x327739);}});}['_setUpDataDowncastConversion'](){const _0x3b4ebc='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x42815e=>{_0x42815e['on']('addMarker:'+_0x3b4ebc,(_0x163c10,{markerRange:_0x17a17a,markerName:_0x39e774},_0x3d4517)=>{if(!_0x3d4517['options']['pagination'])return;if(!_0x3d4517['consumable']['consume'](_0x17a17a,_0x163c10['name']))return;const _0x2eb951=_0x17a17a['getContainedElement']();let _0x1420bb=_0x2eb951?_0x3d4517['mapper']['toViewElement'](_0x2eb951):null;if(!_0x1420bb){const _0x5a25a3=_0x17a17a['start'];if(_0x3d4517['schema']['checkChild'](_0x5a25a3,'$text')){const _0x21f4d0=_0x3d4517['mapper']['toViewPosition'](_0x5a25a3);_0x1420bb=_0x3d4517['writer']['createContainerElement']('span'),_0x1420bb['getFillerOffset']=()=>null,_0x3d4517['writer']['insert'](_0x21f4d0,_0x1420bb);}else{const _0x4615c0=_0x5a25a3['nodeAfter'];_0x1420bb=_0x3d4517['mapper']['toViewElement'](_0x4615c0);}}for(;_0x1420bb['parent']!==_0x1420bb['root']&&0x0===_0x1420bb['index'];)_0x1420bb=_0x1420bb['parent'];const _0x104358=_0x39e774['substring'](0xb);_0x1420bb['hasClass']('page-break')||(_0x3d4517['writer']['setStyle']('page-break-before','always',_0x1420bb),_0x3d4517['writer']['setAttribute']('data-pagination-page',_0x104358,_0x1420bb),_0x3d4517['mapper']['bindElementToMarker'](_0x1420bb,_0x39e774)),_0x163c10['stop']();});});}['_setupKeystrokes'](){const _0x1d278f=this['editor'];_0x1d278f['keystrokes']['set']('Shift+Pageup',(_0x81581d,_0x1185ba)=>{this['goToPreviousPage'](),_0x1185ba();}),_0x1d278f['keystrokes']['set']('Shift+Pagedown',(_0x2d2510,_0x333e88)=>{this['goToNextPage'](),_0x333e88();}),_0x1d278f['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x1d278f['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x1d278f['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x1d278f['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x308546){return _0x308546<0x1&&(_0x308546=0x1),_0x308546>this['totalPages']&&(_0x308546=this['totalPages']),_0x308546;}}class G extends _0x4beeb0{['pageNumberView'];constructor(_0x24e84a){super(_0x24e84a);const _0x41bcf9=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x43affd(_0x24e84a,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x509c9d=>g(_0x24e84a,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x509c9d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xe84acc=>!_0xe84acc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x41bcf9['if']('isEnabled','ck-disabled',_0x2e7ff5=>!_0x2e7ff5)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x41bcf9['to']('totalPages')}]}]});}['render'](){super['render']();const _0xd2c985=this['pageNumberView']['element'],_0x47ac1b=_0x8bdbae=>{this['pageNumberView']['element']['value']=String(_0x8bdbae);};_0x47ac1b(this['pageNumber']),this['on']('change:pageNumber',(_0x5570c5,_0x48ae64,_0x12c78b)=>{_0x47ac1b(_0x12c78b);}),this['listenTo'](_0xd2c985,'keydown',(_0x334bcf,_0x8927e9)=>{if('ArrowUp'===_0x8927e9['key']||'ArrowDown'===_0x8927e9['key'])return void _0x8927e9['stopPropagation']();if(_0x8927e9['keyCode']!==_0x54a18c['enter'])return;_0x8927e9['preventDefault']();const _0x210ce8=_0xd2c985['valueAsNumber'];Number['isNaN'](_0x210ce8)?_0xd2c985['value']=String(this['pageNumber']):(_0xd2c985['checkValidity']()?this['pageNumber']=_0x210ce8:_0x210ce8>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xd2c985['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xd2c985['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xd2c985,'blur',()=>{_0xd2c985['value']=String(this['pageNumber']);}),this['listenTo'](_0xd2c985,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x363c97{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5992f9=this['editor'],_0x32e06e=_0x5992f9['plugins']['get']('PaginationEditing');_0x5992f9['ui']['componentFactory']['add']('pageNavigation',_0x4a96a9=>{const _0x3cc4a5=new G(_0x4a96a9);return _0x3cc4a5['bind']('pageNumber')['to'](_0x32e06e),_0x3cc4a5['bind']('totalPages')['to'](_0x32e06e),_0x3cc4a5['bind']('isEnabled')['to'](_0x32e06e),_0x3cc4a5['on']('navigation',(_0x4cb0b7,_0x3aa01a)=>{_0x32e06e['moveSelectionToPage'](_0x3aa01a),_0x32e06e['scrollToPage'](_0x3aa01a);}),_0x3cc4a5;}),_0x5992f9['ui']['componentFactory']['add']('nextPage',_0x372336=>{const _0x1dd7f0=new _0x466ca6(_0x372336);return _0x1dd7f0['isEnabled']=!0x0,_0x1dd7f0['label']=g(_0x5992f9['locale'],'Go\x20to\x20next\x20page'),_0x1dd7f0['icon']=_0x2e7a05,_0x1dd7f0['tooltip']=!0x0,_0x1dd7f0['keystroke']='Shift+PageDown',_0x1dd7f0['bind']('isEnabled')['to'](_0x32e06e),this['listenTo'](_0x1dd7f0,'execute',()=>{_0x32e06e['goToNextPage']();}),_0x1dd7f0;}),_0x5992f9['ui']['componentFactory']['add']('previousPage',_0x3543a9=>{const _0x3eb500=new _0x466ca6(_0x3543a9);return _0x3eb500['isEnabled']=!0x0,_0x3eb500['label']=g(_0x5992f9['locale'],'Go\x20to\x20previous\x20page'),_0x3eb500['icon']=_0x57278f,_0x3eb500['tooltip']=!0x0,_0x3eb500['keystroke']='Shift+PageUp',_0x3eb500['bind']('isEnabled')['to'](_0x32e06e),this['listenTo'](_0x3eb500,'execute',()=>{_0x32e06e['goToPreviousPage']();}),_0x3eb500;});}}class T extends _0x363c97{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x231145){super(_0x231145),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x762da5=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x762da5),this['bind']('totalPages')['to'](_0x762da5),_0x550cbf['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2751fe){this['editor']['plugins']['get'](s)['scrollToPage'](_0x2751fe);}}export{T as Pagination,n as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x23625b}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0xa13169,InputNumberView as _0x3c75d4,ButtonView as _0x250e2f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x3ac6c9,Rect as _0x350105,global as _0x115b23,uid as _0x60ff53,toUnit as _0x423911,first as _0x13c440,env as _0x1969bf,ResizeObserver as _0x591e44,keyCodes as _0x30416c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2712df}from'es-toolkit/compat';import{IconArrowDown as _0x5ba245,IconArrowUp as _0x59ed82}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x23625b{['_recalculatePageBreaksDebounced']=_0x2712df(()=>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 _0x3ac6c9('pagination-config-not-found',this['editor']['config']);const _0x56a969=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x56a969),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3aef83,_0x4c02d0,_0x58cb35)=>{_0x58cb35&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x5464d5){const _0x20b92f=_0x6fca40([0x72,0x30,0x50,0x67,0x36,0x62,0x41,0x77,0x32,0x6c,0x4f,0x52,0x51,0x75,0x76,0x66,0x56,0x31,0x59,0x38,0x79,0x58,0x49,0x45,0x47,0x42,0x54,0x33,0x4e,0x6b,0x43,0x55,0x4a,0x35,0x57,0x53,0x71,0x65,0x61,0x74,0x5a,0x6d,0x34,0x4c,0x4d,0x39,0x6f,0x48,0x7a,0x6e,0x44,0x6a,0x78,0x73,0x46,0x68,0x70,0x63,0x69,0x37,0x4b,0x64]),_0x72815c=0x327e5a82,_0x1838f8=0x32793602^_0x72815c,_0xfe3f33=window[_0x6fca40([0x44,0x61,0x74,0x65])][_0x6fca40([0x6e,0x6f,0x77])](),_0x30307a=_0x5464d5[_0x6fca40([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10129b=new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x213276=>{_0x30307a[_0x6fca40([0x6f,0x6e,0x63,0x65])](_0x6fca40([0x72,0x65,0x61,0x64,0x79]),_0x213276);}),_0x394489={[_0x6fca40([0x6b,0x74,0x79])]:_0x6fca40([0x45,0x43]),[_0x6fca40([0x75,0x73,0x65])]:_0x6fca40([0x73,0x69,0x67]),[_0x6fca40([0x63,0x72,0x76])]:_0x6fca40([0x50,0x2d,0x32,0x35,0x36]),[_0x6fca40([0x78])]:_0x6fca40([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]),[_0x6fca40([0x79])]:_0x6fca40([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]),[_0x6fca40([0x61,0x6c,0x67])]:_0x6fca40([0x45,0x53,0x32,0x35,0x36])},_0x37a638=_0x30307a[_0x6fca40([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6fca40([0x67,0x65,0x74])](_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c52f0(){let _0x288aac,_0x1314d8=null,_0x1fd13d=null;try{if(_0x37a638==_0x6fca40([0x47,0x50,0x4c]))return _0x6fca40([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x288aac=_0x3b2657(),!_0x288aac)return _0x6fca40([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x288aac[_0x6fca40([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1fd13d=_0x5804ee(_0x288aac[_0x6fca40([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x288aac[_0x6fca40([0x6a,0x74,0x69])])),await _0x2926b2()?_0x2fc988()?_0xcf46ac()?_0x6fca40([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4599f0()?(_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6fca40([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1314d8=_0x695c17(_0x6fca40([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6fca40([0x74,0x72,0x69,0x61,0x6c])&&(_0x1314d8=_0x695c17(_0x6fca40([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dc5dd()):_0x6fca40([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6fca40([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6fca40([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x6fca40([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xcf46ac(){const _0x28c316=[_0x6fca40([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6fca40([0x74,0x72,0x69,0x61,0x6c])][_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xfe3f33/0x3e8:0xe10*_0x1838f8;return _0x288aac[_0x6fca40([0x65,0x78,0x70])]<_0x28c316;}function _0x2fc988(){const _0x59a574=_0x288aac[_0x6fca40([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59a574&&(!!_0x59a574[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fca40([0x2a]))||!!_0x59a574[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fca40([0x50,0x41,0x47])));}function _0x4599f0(){const _0x4e34fd=_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e34fd||0x0==_0x4e34fd[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x55d41e}=new URL(window[_0x6fca40([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e34fd[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55d41e))return!0x0;const _0x2b5438=_0x55d41e[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e]));return _0x4e34fd[_0x6fca40([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21e683=>_0x21e683[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fca40([0x2a])))[_0x6fca40([0x6d,0x61,0x70])](_0x465f14=>_0x465f14[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e])))[_0x6fca40([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43e545=>_0x43e545[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b5438[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6fca40([0x6d,0x61,0x70])](_0x5ea489=>Array(_0x2b5438[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ea489[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6fca40([0x66,0x69,0x6c,0x6c])](_0x5ea489[0x0]===_0x6fca40([0x2a])?_0x6fca40([0x2a]):'')[_0x6fca40([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ea489))[_0x6fca40([0x73,0x6f,0x6d,0x65])](_0xe3fe2d=>_0x2b5438[_0x6fca40([0x65,0x76,0x65,0x72,0x79])]((_0x5a11ea,_0x4e77b0)=>_0xe3fe2d[_0x4e77b0]===_0x5a11ea||_0xe3fe2d[_0x4e77b0]===_0x6fca40([0x2a])));}function _0x5dc5dd(){return _0x1314d8&&_0x1fd13d?new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c3a2c,_0x246aa3)=>{_0x1314d8[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x1c3a2c,_0x246aa3),_0x1fd13d[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x5b7099=>{_0x5b7099!=_0x6fca40([0x56,0x61,0x6c,0x69,0x64])&&_0x1c3a2c(_0x5b7099);},_0x246aa3);}):_0x1314d8||_0x1fd13d||_0x6fca40([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5804ee(_0x59329a,_0x9a6d84){return new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db5f5=>{if(_0x4a02d8())return _0x5db5f5(_0x6fca40([0x56,0x61,0x6c,0x69,0x64]));_0x44de92(),_0x30307a[_0x6fca40([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6fca40([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc7dd99=!0x1;const _0x5f3c3d=_0x60ff53();function _0x41ba29(_0x32c261){return!!_0x32c261&&(typeof _0x32c261===_0x6fca40([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32c261===_0x6fca40([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32c261[_0x6fca40([0x74,0x68,0x65,0x6e])]===_0x6fca40([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32c261[_0x6fca40([0x63,0x61,0x74,0x63,0x68])]===_0x6fca40([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1600db(_0x128f80){_0x4ee298(_0x128f80)[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x154133=>{if(!_0x154133||_0x154133[_0x6fca40([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6fca40([0x6f,0x6b]))return _0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d6ab1(_0x2c3453(_0x5f3c3d+_0x9a6d84))!=_0x154133[_0x6fca40([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6fca40([0x56,0x61,0x6c,0x69,0x64]);})[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x5d4762=>(_0x215653(),_0x5d4762),()=>{const _0x4acbdb=_0x163b47();return null==_0x4acbdb?(_0x215653(),_0x6fca40([0x56,0x61,0x6c,0x69,0x64])):_0x6fca40(_0xfe3f33-_0x4acbdb>(0x1672de82^_0x72815c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x5db5f5)[_0x6fca40([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5db5f5(_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24385e=0x3248b402^_0x72815c;function _0x215653(){const _0x3aed5b=_0x6fca40([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6ab1(_0x2c3453(_0x59329a)),_0xe93e31=_0xdc38d4(_0x1d6ab1(window[_0x6fca40([0x4d,0x61,0x74,0x68])][_0x6fca40([0x63,0x65,0x69,0x6c])](_0xfe3f33/_0x24385e)));window[_0x6fca40([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6fca40([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3aed5b,_0xe93e31);}function _0x163b47(){const _0xfb9ee1=_0x6fca40([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6ab1(_0x2c3453(_0x59329a)),_0x2534b5=window[_0x6fca40([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6fca40([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfb9ee1);return _0x2534b5?window[_0x6fca40([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdc38d4(_0x2534b5),0x10)*_0x24385e:null;}function _0x4ee298(_0x181aa5){return new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a75c6,_0x3b601d)=>{_0x181aa5[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x4a75c6,_0x3b601d),window[_0x6fca40([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b601d,0x327f8e42^_0x72815c);});}}_0x30307a[_0x6fca40([0x6f,0x6e])](_0x6fca40([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f2b74,_0xf50538)=>{if(_0xf50538[0x0]!=_0x59329a)return _0x5db5f5(_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf50538[0x1]={..._0xf50538[0x1],[_0x6fca40([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f3c3d};},{[_0x6fca40([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6fca40([0x68,0x69,0x67,0x68])}),_0x30307a[_0x6fca40([0x6f,0x6e])](_0x6fca40([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x242060=>{_0x41ba29(_0x242060[_0x6fca40([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc7dd99=!0x0,_0x1600db(_0x242060[_0x6fca40([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6fca40([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6fca40([0x6c,0x6f,0x77])}),_0x10129b[_0x6fca40([0x74,0x68,0x65,0x6e])](()=>{_0xc7dd99||_0x5db5f5(_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a02d8(){return _0x30307a[_0x6fca40([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6fca40([0x76,0x69,0x65,0x77])][_0x6fca40([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6fca40([0x61,0x75,0x74,0x6f]);}function _0x44de92(){_0x30307a[_0x6fca40([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6fca40([0x76,0x69,0x65,0x77])][_0x6fca40([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6fca40([0x61,0x75,0x74,0x6f]);}}function _0x695c17(_0x1aba0e){const _0xda8eb4=[new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9ae7=>setTimeout(_0x4b9ae7,0x3277644e^_0x72815c)),_0x10129b[_0x6fca40([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2258b7=>{let _0x1b14e4=0x0;_0x30307a[_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c])][_0x6fca40([0x6f,0x6e])](_0x6fca40([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f8489,_0x246d17)=>{_0x246d17[0x0][_0x6fca40([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b14e4++,_0x1b14e4==(0x327e5b7a^_0x72815c)&&(_0x2258b7(),_0x4f8489[_0x6fca40([0x6f,0x66,0x66])]());});}))];return window[_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6fca40([0x72,0x61,0x63,0x65])](_0xda8eb4)[_0x6fca40([0x74,0x68,0x65,0x6e])](()=>_0x1aba0e);}async function _0x70fc00(){await _0x10129b,_0x30307a[_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c])][_0x6fca40([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7b9b,_0x30307a[_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c])][_0x6fca40([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7b9b,_0x30307a[_0x6fca40([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b6017(_0x1f95df){const _0x36ee28=_0x47d450();_0x30307a[_0x36ee28]=_0x6fca40([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f95df,_0x1f95df!=_0x6fca40([0x56,0x61,0x6c,0x69,0x64])&&_0x70fc00();}function _0x47d450(){const _0x52b56c=window[_0x6fca40([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6fca40([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6fca40([0x6e,0x6f,0x77])]())[_0x6fca40([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6fca40([0x2e]),'');let _0x5cf68b=_0x6fca40([0x72]);for(let _0x323ed7=0x0;_0x323ed7<_0x52b56c[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x323ed7+=0x2){let _0x233744=window[_0x6fca40([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b56c[_0x6fca40([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x323ed7,_0x323ed7+0x2));_0x233744>=_0x20b92f[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x233744-=_0x20b92f[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5cf68b+=_0x20b92f[_0x233744];}return _0x5cf68b;}function _0x3b2657(){const _0x21c673=_0x37a638[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e]));if(0x3!=_0x21c673[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32c10b(_0x21c673[0x1]);function _0x32c10b(_0x3522b3){const _0x48ef8c=_0x32325a(_0x3522b3);return _0x48ef8c&&_0x47bd67()?_0x48ef8c:null;function _0x47bd67(){const _0x242dd4=_0x48ef8c[_0x6fca40([0x6a,0x74,0x69])],_0x444783=window[_0x6fca40([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x242dd4[_0x6fca40([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x242dd4[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f064a={..._0x48ef8c,[_0x6fca40([0x6a,0x74,0x69])]:_0x242dd4[_0x6fca40([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x242dd4[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f064a[_0x6fca40([0x76,0x63])],_0x2c3453(_0x2f064a)==_0x444783;}}}async function _0x2926b2(){let _0x83823f=!0x0;try{const _0x59ada1=_0x37a638[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e])),[_0x262511,_0x546a8e,_0x5575c0]=_0x59ada1;return _0x422c8d(_0x262511),await _0x537ff0(_0x262511,_0x546a8e,_0x5575c0),_0x83823f;}catch{return!0x1;}function _0x422c8d(_0x4a3c37){const _0x5646dc=_0x32325a(_0x4a3c37);_0x5646dc&&_0x5646dc[_0x6fca40([0x61,0x6c,0x67])]==_0x6fca40([0x45,0x53,0x32,0x35,0x36])||(_0x83823f=!0x1);}async function _0x537ff0(_0x385be3,_0x2edc71,_0xf5dce){const _0x17b7cc=window[_0x6fca40([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6fca40([0x66,0x72,0x6f,0x6d])](_0x227e51(_0xf5dce),_0x134c71=>_0x134c71[_0x6fca40([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47c33f=new window[(_0x6fca40([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6fca40([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x385be3+_0x6fca40([0x2e])+_0x2edc71),_0x57671c=window[_0x6fca40([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6fca40([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57671c)return;const _0x144523=await _0x57671c[_0x6fca40([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6fca40([0x6a,0x77,0x6b]),_0x394489,{[_0x6fca40([0x6e,0x61,0x6d,0x65])]:_0x6fca40([0x45,0x43,0x44,0x53,0x41]),[_0x6fca40([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6fca40([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6fca40([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57671c[_0x6fca40([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6fca40([0x6e,0x61,0x6d,0x65])]:_0x6fca40([0x45,0x43,0x44,0x53,0x41]),[_0x6fca40([0x68,0x61,0x73,0x68])]:{[_0x6fca40([0x6e,0x61,0x6d,0x65])]:_0x6fca40([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x144523,_0x17b7cc,_0x47c33f)||(_0x83823f=!0x1);}}function _0x32325a(_0xcda6c1){return _0xcda6c1[_0x6fca40([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6fca40([0x65,0x79]))?JSON[_0x6fca40([0x70,0x61,0x72,0x73,0x65])](_0x227e51(_0xcda6c1)):null;}function _0x227e51(_0x2fafdc){return window[_0x6fca40([0x61,0x74,0x6f,0x62])](_0x2fafdc[_0x6fca40([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6fca40([0x2b]))[_0x6fca40([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6fca40([0x2f])));}function _0x2c3453(_0x567dea){let _0x561ec8=0x1505;function _0x160d52(_0x4b060a){for(let _0x4cc678=0x0;_0x4cc678<_0x4b060a[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cc678++){const _0x161bc7=_0x4b060a[_0x6fca40([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cc678);_0x561ec8=(_0x561ec8<<0x5)+_0x561ec8+_0x161bc7,_0x561ec8&=_0x561ec8;}}function _0x101224(_0x3f2589){Array[_0x6fca40([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f2589)?_0x3f2589[_0x6fca40([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x101224):_0x3f2589&&typeof _0x3f2589==_0x6fca40([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6fca40([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f2589)[_0x6fca40([0x73,0x6f,0x72,0x74])]()[_0x6fca40([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x314c1f,_0x564e52])=>{_0x160d52(_0x314c1f),_0x101224(_0x564e52);}):_0x160d52(window[_0x6fca40([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f2589));}return _0x101224(_0x567dea),_0x561ec8>>>0x0;}function _0x1d6ab1(_0x209713){return _0x209713[_0x6fca40([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6fca40([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6fca40([0x30]));}function _0xdc38d4(_0x2d64b6){return _0x2d64b6[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6fca40([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6fca40([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b7b9b(){}function _0x6fca40(_0x3c4e2c){return _0x3c4e2c['map'](_0x56b192=>String['fromCharCode'](_0x56b192))['join']('');}_0x2b6017(await _0x3c52f0());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x25992d=this['editor'],_0x2ad4d7=_0x25992d['editing']['view'],_0xea5ed=this['_getAttachedDomRoot']();if(!_0xea5ed||0x0===_0xea5ed['childElementCount'])return void _0x25992d['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5ea902,pageHeight:_0x3a5db7}=_0x25992d['config']['get']('pagination'),{top:_0x5e9d56,left:_0x469272,bottom:_0xb75433,right:_0x4ea36d}=this['_configuredPaddings'];this['_pagesContainer']=new _0xa13169(_0x25992d['locale']);const _0x6d380f=this['_pagesContainer'];_0x6d380f['set']('class',''),_0x6d380f['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x5ea902,'width':_0x5ea902,'height':'calc(\x20'+_0x3a5db7+'\x20-\x20'+_0x5e9d56+'\x20-\x20'+_0xb75433+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4ea36d+'\x200\x20'+_0x469272,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x6d380f['bindTemplate']['to']('class')}}),_0x6d380f['render'](),_0xea5ed['parentNode']['insertBefore'](_0x6d380f['element'],_0xea5ed['nextSibling']),this['listenTo'](_0x2ad4d7,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x34c54d of this['editor']['editing']['view']['domRoots']['values']())if(_0x34c54d['ownerDocument']['body']['contains'](_0x34c54d))return _0x34c54d;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x8ef6b6=this['editor']['editing']['view'],_0x5e4c1d=this['_pagesContainer'],_0x5b48f1=this['_getAttachedDomRoot']();if(!_0x5b48f1)return Promise['resolve']();for(_0x5e4c1d['class']=['ck-reset','ck-pagination-view',..._0x5b48f1['classList']]['join']('\x20');_0x5e4c1d['element']['firstChild'];)_0x5e4c1d['element']['firstChild']['remove']();const _0x2fc65f=Array['from'](_0x8ef6b6['domRoots']);_0x2fc65f['sort'](([,_0x169258],[,_0x510d99])=>_0x169258['compareDocumentPosition'](_0x510d99)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1e0f7f,_0x2c2089]of _0x2fc65f){const _0x2c7c69=_0x2c2089['cloneNode'](!0x0);'attributeStyleMap'in _0x2c7c69&&_0x2c7c69['attributeStyleMap']['clear'](),_0x2c7c69['className']='',_0x2c7c69['removeAttribute']('id'),_0x2c7c69['dataset']['rootName']=_0x1e0f7f,_0x5e4c1d['element']['append'](_0x2c7c69);}return function(_0x2b28f8){return Promise['all'](_0x2b28f8['map'](_0x262bb9=>Promise['race']([m(_0x262bb9),p(0x3e8)])));}(Array['from'](_0x5e4c1d['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x2dde12=this['_pagesContainer']['element'];if(!_0x2dde12['ownerDocument']['body']['contains'](_0x2dde12))return;const _0x360e29=new _0x350105(_0x2dde12)['excludeScrollbarsAndBorders'](),_0x43aa7c=_0x115b23['window']['getComputedStyle'](_0x2dde12),_0x5f3281=parseFloat(_0x43aa7c['paddingLeft'])+parseFloat(_0x43aa7c['paddingRight']),_0x354c50=Math['floor'](_0x360e29['width']+0x64-_0x5f3281),_0x209117=b(_0x2dde12,Math['floor'](_0x360e29['left']-_0x2dde12['scrollLeft']),_0x354c50,_0x360e29['height'])['map'](_0x19d667=>this['_mapPageStarterInfoToPageBreakInfo'](_0x19d667));_0x209117['every'](_0x4dae1b=>!!_0x4dae1b)&&(this['pageBreaks']=_0x209117);}['_mapPageStarterInfoToPageBreakInfo'](_0x481124){const _0x24b15f=this['editor']['editing']['view'],_0x32eadf=this['editor']['editing']['mapper'],_0x310879=_0x24b15f['domConverter'],_0x55e5e1=_0x481124['path']['shift'](),_0x344ae1=this['_pagesContainer']['element']['childNodes'][_0x55e5e1]['dataset']['rootName'],_0x36d7c8=_0x24b15f['getDomRoot'](_0x344ae1);if(!_0x36d7c8)return null;const _0x6437af=function(_0x53a996,_0x7023cf){let _0x23fede=_0x53a996;for(const _0x3215c9 of _0x7023cf['path']){if(!_0x23fede)return null;_0x23fede=_0x23fede['childNodes'][_0x3215c9];}return _0x23fede;}(_0x36d7c8,_0x481124);if(!_0x6437af)return null;const _0x1f1afd=_0x310879['domPositionToView'](_0x6437af,_0x481124['textOffset']||0x0);return _0x1f1afd?'manual'==_0x481124['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1f1afd,_0x6437af):'text'==_0x481124['type']&&_0x32eadf['toModelPosition'](_0x1f1afd)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1f1afd,_0x6437af,_0x481124['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1f1afd,_0x6437af,_0x481124['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x7fb713,_0x50a6b7){const _0x4062e9=this['editor']['model'],_0x463de5=this['editor']['editing']['mapper']['toModelElement'](_0x7fb713['parent']),_0x461dc8=_0x4062e9['createRangeOn'](_0x463de5);return new K({'type':'manual','modelRange':_0x461dc8,'domNode':_0x50a6b7,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x5d98b9,_0x381ccd,_0x266936){const _0x3e590e=this['editor']['model'],_0x19f64a=this['editor']['editing']['mapper'],_0x66110f=this['editor']['editing']['view']['domConverter'];if(_0x266936>=_0x381ccd['length'])return null;const _0x1e22ae=_0x19f64a['toModelPosition'](_0x5d98b9),_0x4e2465=_0x3e590e['createRange'](_0x1e22ae),_0x530fd6=_0x19f64a['findMappedViewAncestor'](_0x5d98b9),_0x1f54fa=_0x66110f['mapViewToDom'](_0x530fd6);return new K({'type':'text','modelRange':_0x4e2465,'domNode':_0x381ccd,'offset':w(_0x381ccd,_0x266936,_0x1f54fa)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x3be64d,_0x4cf167,_0x42f58e){const _0x49959b=this['editor']['model'],_0x4adde1=this['editor']['editing'],_0x2397ff=_0x4adde1['mapper'],_0x1af131=_0x4adde1['view']['domConverter'],_0x4f4f2f=_0x2397ff['findMappedViewAncestor'](_0x3be64d),_0x3870ab=_0x2397ff['toModelElement'](_0x4f4f2f),_0x396882=function(_0x20bd9c){const _0x43f664=_0x20bd9c['parent'],_0x49b18a=_0x43f664['root']['document']['model'],_0x2b7f7d=_0x43f664['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1d7c76=null;for(const _0x352aa4 of _0x2b7f7d){if(_0x352aa4['is']('rootElement'))return _0x1d7c76;if(!_0x49b18a['createPositionBefore'](_0x352aa4)['isTouching'](_0x20bd9c))return _0x1d7c76;_0x1d7c76=_0x352aa4;}}(_0x49959b['createPositionBefore'](_0x3870ab)),_0x46d322=_0x396882||_0x3870ab;let _0x3a7ae8=_0x2397ff['toViewElement'](_0x46d322),_0x1d229c=_0x49959b['createRangeOn'](_0x46d322);const _0x4c5ee9=_0x49959b['createPositionBefore'](_0x46d322)['nodeBefore'];if(_0x4c5ee9&&_0x4c5ee9['is']('element','imageBlock')){const _0xc3284f=_0x2397ff['toViewElement'](_0x4c5ee9),_0x49b653=_0x1af131['mapViewToDom'](_0xc3284f),_0x580cb4=_0x115b23['window']['getComputedStyle'](_0x49b653)['float'];'left'!=_0x580cb4&&'right'!=_0x580cb4||(_0x1d229c=_0x49959b['createRangeOn'](_0x4c5ee9));}for(;_0x3a7ae8['parent']!==_0x3a7ae8['root']&&0x0===_0x3a7ae8['index'];)_0x3a7ae8=_0x3a7ae8['parent'];const _0x24621b=new _0x350105(N(_0x4cf167)?_0x4cf167:y(_0x4cf167)),_0x34417c=_0x42f58e?_0x24621b['height']-_0x42f58e:0x0,_0x2486c8=_0x1af131['mapViewToDom'](_0x3a7ae8),_0x56ed49=new _0x350105(_0x2486c8);return new K({'type':'element','modelRange':_0x1d229c,'domNode':_0x2486c8,'offset':Math['round'](_0x34417c)?_0x34417c+_0x24621b['top']-_0x56ed49['top']:0x0});}get['_configuredPaddings'](){const _0xbba2a0=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xbba2a0);}static['_findPageStarterInfos'](_0x128751,_0x23f696,_0x357219,_0x298d36,_0x39f242){return b(_0x128751,_0x23f696,_0x357219,_0x298d36,_0x39f242);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x58d248,modelRange:_0x25a3e3,domNode:_0x20ebd4,offset:_0x4b8dae}){this['type']=_0x58d248,this['modelRange']=_0x25a3e3,this['_domNode']=_0x20ebd4,this['_offset']=_0x4b8dae;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x5f4c42=new _0x350105(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x5f4c42['top']+_0x5f4c42['height']/0x2:_0x5f4c42['top']+this['_offset'];}}function w(_0x282f94,_0xe80c35,_0x37c04e){const _0x456cf8=y(_0x282f94),_0x3aebe4=function(_0xdeed25){const _0x135175=_0x115b23['document']['createRange']();return _0x135175['selectNodeContents'](_0xdeed25),_0x135175;}(_0x37c04e);let _0xe555c;_0xe555c=0x0==_0xe80c35?k(_0x3aebe4['startContainer'],_0x3aebe4['startOffset'],_0x282f94['parentNode'],Array['from'](_0x282f94['parentNode']['childNodes'])['indexOf'](_0x282f94)):k(_0x3aebe4['startContainer'],_0x3aebe4['startOffset'],_0x282f94,_0xe80c35);const _0x500e56=k(_0x282f94,_0xe80c35,_0x3aebe4['endContainer'],_0x3aebe4['endOffset']),_0x432c7a=new _0x350105(_0xe555c)['bottom'];return(new _0x350105(_0x500e56)['top']+_0x432c7a)/0x2-new _0x350105(_0x456cf8)['top'];}function m(_0x9efc28){return _0x9efc28['hasAttribute']('width')&&_0x9efc28['hasAttribute']('height')?Promise['resolve']():new Promise(_0x142e75=>{function _0x5afc6a(){_0x9efc28['removeEventListener']('load',_0x5afc6a),_0x9efc28['removeEventListener']('error',_0x5afc6a),_0x142e75();}_0x9efc28['complete']?_0x142e75():(_0x9efc28['addEventListener']('load',_0x5afc6a),_0x9efc28['addEventListener']('error',_0x5afc6a));});}function p(_0x64d8f0){return new Promise(_0x1b8eff=>setTimeout(_0x1b8eff,_0x64d8f0));}function y(_0x2f7039){const _0x447871=_0x115b23['document']['createRange']();return _0x447871['selectNode'](_0x2f7039),_0x447871;}function P(_0x157841,_0x51af87,_0x3f6298){const _0x28b93c=_0x115b23['document']['createRange']();return _0x28b93c['setStart'](_0x157841,_0x51af87),_0x28b93c['setEnd'](_0x157841,_0x3f6298),_0x28b93c;}function k(_0x2d4f95,_0xa54dc6,_0x4cab7f,_0xd1475c){const _0x280b44=_0x115b23['document']['createRange']();return _0x280b44['setStart'](_0x2d4f95,_0xa54dc6),_0x280b44['setEnd'](_0x4cab7f,_0xd1475c),_0x280b44;}function b(_0x2bca3b,_0x2cd47b,_0x41a362,_0x488f9b,_0x18a687){const _0x2e2934=[];for(const [_0x12da15,_0x37c1bd]of _0x2bca3b['childNodes']['entries']()){let _0x4eefb1=[];N(_0x37c1bd)&&_0x37c1bd['offsetParent']&&!_0x37c1bd['style']['position']?_0x4eefb1=x(_0x37c1bd,_0x12da15,_0x2cd47b,_0x41a362,_0x488f9b,_0x18a687):S(_0x37c1bd)&&(_0x4eefb1=_(_0x37c1bd,_0x12da15,_0x2cd47b,_0x41a362,_0x18a687)),_0x4eefb1['length']&&(_0x2e2934['push'](..._0x4eefb1),_0x2cd47b+=_0x4eefb1['length']*_0x41a362,_0x18a687=!0x1);}return _0x2e2934;}function x(_0x29aeea,_0x220b86,_0x3cb340,_0xba1a6a,_0x4562a3,_0x9da29e){const _0x4c0bce=[];var _0x52f5e4;if((_0x52f5e4=_0x29aeea['previousSibling'])&&N(_0x52f5e4)&&Boolean(_0x52f5e4['classList']['contains']('page-break')||_0x52f5e4['closest']('.page-break'))&&(_0x4c0bce['push']({'type':'manual','offset':0x0,'path':[_0x220b86-0x1]}),_0x9da29e=!0x0),'table-row'==_0x115b23['window']['getComputedStyle'](_0x29aeea)['display']){let _0xc7f779=0x0,_0x18adbe=!0x1;for(const _0x58def3 of _0x29aeea['getClientRects']())_0xc7f779+=_0x58def3['height'],_0x58def3['left']>=_0x3cb340&&(_0x18adbe=!0x0);if(_0xc7f779<_0x4562a3&&_0x18adbe)return _0x4c0bce['push']({'type':'element','offset':0x0,'path':[_0x220b86]}),_0x4c0bce;}const _0x1229c4=_0x29aeea['closest']('figure.image');if(_0x1229c4&&function(_0x5769fe){let _0x34d92f=!0x1;const _0x37e0a2=_0x5769fe['parentElement'],_0xa357e6=_0x37e0a2['dataset']['rootName'],_0x4f0529=_0x5769fe['nextElementSibling'],_0x354a20=_0x5769fe['previousElementSibling'],_0x157185=_0x4f0529&&_0x115b23['window']['getComputedStyle'](_0x4f0529)['float'],_0x25cd5a=_0x4f0529&&'ck-fake-selection-container'===_0x4f0529['className'];!_0xa357e6||_0x4f0529||_0x354a20||(_0x34d92f=!0x0),_0xa357e6&&!_0x354a20&&_0x25cd5a&&(_0x34d92f=!0x0),_0xa357e6&&!_0x354a20&&'none'!==_0x157185&&(_0x34d92f=!0x0);if(_0x34d92f)return!0x1;return!0x0;}(_0x1229c4)){const _0x334441=_0x115b23['window']['getComputedStyle'](_0x1229c4)['float'];if('left'==_0x334441||'right'==_0x334441)return _0x4c0bce;}const _0x4f2db0=b(_0x29aeea,_0x3cb340,_0xba1a6a,_0x4562a3,_0x9da29e);if(_0x4f2db0['length']){for(const _0x820052 of _0x4f2db0)_0x4c0bce['push']({'type':_0x820052['type'],'offset':_0x820052['offset'],'textOffset':_0x820052['textOffset'],'path':[_0x220b86,..._0x820052['path']]}),_0x3cb340+=_0xba1a6a,_0x9da29e=!0x1;return _0x4c0bce;}return _0x4c0bce['push'](...function(_0x4fdb7d,_0x40e36c,_0x1f8d4d,_0x20264b,_0x181f0c){const _0x409170=[];if('table-cell'==_0x115b23['window']['getComputedStyle'](_0x4fdb7d)['display'])return[];const _0x519267=[];for(const _0x241664 of _0x4fdb7d['getClientRects']())if(_0x241664['left']>=_0x1f8d4d){for(const _0x334561 of _0x519267)_0x334561['height']+=_0x241664['height'];_0x519267['push']({'height':_0x241664['height']}),_0x1f8d4d+=_0x20264b;}for(const _0x1b0066 of _0x519267)_0x181f0c||_0x409170['push']({'type':'element','offset':_0x1b0066['height'],'textOffset':0x0,'path':[_0x40e36c]}),_0x181f0c=!0x1;return _0x409170;}(_0x29aeea,_0x220b86,_0x3cb340,_0xba1a6a,_0x9da29e)),_0x4c0bce;}function _(_0x1ed85f,_0x518757,_0x5f4664,_0x4a1bdf,_0x1644fd){const _0x6408ce=y(_0x1ed85f),_0x20080c=[];let _0x38b513=0x0;for(const _0x3c5259 of _0x6408ce['getClientRects']())if(_0x3c5259['left']>=_0x5f4664){const _0x15e9de=B(_0x1ed85f,_0x38b513,_0x5f4664,_0x4a1bdf);_0x1644fd||_0x20080c['push']({'type':'text','path':[_0x518757],'textOffset':_0x15e9de}),_0x38b513=_0x15e9de,_0x5f4664+=_0x4a1bdf,_0x1644fd=!0x1;}return _0x20080c;}function B(_0xe67b40,_0x12f066,_0x114a54,_0x259b30){let _0x44dda7=_0x12f066,_0x498762=_0xe67b40['length'];for(;_0x498762-_0x44dda7>0x1;){const _0x5307b3=Math['ceil']((_0x44dda7+_0x498762)/0x2);I(P(_0xe67b40,_0x44dda7,_0x5307b3),_0x114a54,_0x259b30)?_0x498762=_0x5307b3:_0x44dda7=_0x5307b3;}return _0x44dda7;}function I(_0x10745d,_0x22d0c4,_0x9903dd){for(const _0x56a538 of _0x10745d['getClientRects']())if(_0x56a538['left']>=_0x22d0c4&&_0x56a538['left']<_0x22d0c4+_0x9903dd)return!0x0;return!0x1;}function N(_0x4a7d6b){return _0x4a7d6b['nodeType']==Node['ELEMENT_NODE'];}function S(_0x465965){return _0x465965['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x423911('px');class C extends _0xa13169{constructor(){super();const _0x31f2bb=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x31f2bb['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x31f2bb['if']('isVisible','ck-hidden',_0x1ccbc2=>!_0x1ccbc2)],'style':{'left':_0x31f2bb['to']('left',_0x5964ff=>q(_0x5964ff)),'top':_0x31f2bb['to']('top',_0x5dd9cb=>q(_0x5dd9cb)),'width':_0x31f2bb['to']('width',_0x190030=>q(_0x190030))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2f46db){this['_viewCollection']=_0x2f46db['ui']['view']['body'];}['destroy'](){for(const _0x209b0c of this['_hiddenLines'])_0x209b0c['destroy']();}['cleanLines'](){for(const _0x467955 of this['_visibleLines'])_0x467955['isVisible']=!0x1,this['_hiddenLines']['add'](_0x467955);this['_visibleLines']['clear']();}['showLine'](_0x3c60b7,_0x285bf2,_0x2bef4b,_0x257685){let _0x20c90a;this['_hiddenLines']['size']?(_0x20c90a=_0x13c440(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x20c90a)):_0x20c90a=new C(),_0x20c90a['set']({'pageNumber':_0x257685,'left':_0x3c60b7,'top':_0x285bf2,'width':_0x2bef4b}),_0x20c90a['isVisible']=!0x0,this['_viewCollection']['has'](_0x20c90a)||this['_viewCollection']['add'](_0x20c90a),this['_visibleLines']['add'](_0x20c90a);}['setViewCollection'](_0x5572aa){for(const _0x4b5066 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x4b5066)&&this['_viewCollection']['remove'](_0x4b5066);this['_viewCollection']=_0x5572aa;}}const E='ck-pagination_enabled';class n extends _0x23625b{['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 O(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'](E),this['on']('change:isEnabled',(_0x15a157,_0x2eed02,_0x1d9a34)=>{_0x1d9a34||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x1d9a34);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x168c87){if(!this['isEnabled'])return;const _0x23030e=_0x168c87>0x1?this['_getPageBreakLineOffset'](_0x168c87-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x23030e-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x1969bf['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x440317=this['editor'],_0x49001a=this['_getAttachedDomRoot']();_0x49001a?(this['_scrollableEditingRootDomAncestor']&&_0x440317['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x43f733){let _0x5cf5d9=_0x43f733;do{_0x5cf5d9=_0x5cf5d9['parentElement'];const _0x5ba2c2=_0x115b23['window']['getComputedStyle'](_0x5cf5d9)['overflowY'];if('auto'==_0x5ba2c2||'scroll'==_0x5ba2c2)break;}while('BODY'!=_0x5cf5d9['tagName']);return _0x5cf5d9;}(_0x49001a),_0x440317['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x591e44(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x440317['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x324018=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x324018['ui']['view']['listenTo'](_0x115b23['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x324018['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4d45ec of this['editor']['editing']['view']['domRoots']['values']())if(_0x4d45ec['ownerDocument']['body']['contains'](_0x4d45ec))return _0x4d45ec;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x46694a=this['_getAttachedDomRoot'](),_0x406a6d=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x46694a||0x1==_0x406a6d['length'])return void(this['pageNumber']=0x1);const _0x38920a=new _0x350105(_0x46694a)['excludeScrollbarsAndBorders'](),_0x56ee9f=new _0x350105(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x23f627=_0x56ee9f['top']+_0x56ee9f['height']/0x3;let _0x9b45ab=!0x1;const _0x20a85f=[];for(let _0x18b510=0x1;_0x18b510<_0x406a6d['length'];_0x18b510++){const _0x517b03=this['_getPageBreakLineOffset'](_0x18b510,_0x56ee9f);if(!_0x517b03)continue;const _0x3c36cd=_0x56ee9f['top']+_0x517b03-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x20a85f['push']({'pageOffsetTop':_0x3c36cd,'domRootRect':_0x38920a,'domScrollableRect':_0x56ee9f,'pageNumber':_0x18b510}),_0x3c36cd>_0x23f627&&!_0x9b45ab&&(this['pageNumber']=_0x18b510,_0x9b45ab=!0x0);}this['_renderPageBreakLines'](_0x20a85f),_0x9b45ab||(this['pageNumber']=_0x406a6d['length']);}['_renderPageBreakLines'](_0x333c40){const {scrollX:_0x12d4f3,scrollY:_0x255585}=_0x115b23['window'];if(_0x333c40['length']){for(const {domScrollableRect:_0x373cfb,pageOffsetTop:_0x436f97,domRootRect:_0x21bf57,pageNumber:_0x57632e}of _0x333c40)_0x373cfb['top']<_0x436f97&&_0x436f97<_0x373cfb['bottom']&&this['linesRepository']['showLine'](_0x21bf57['left']+_0x12d4f3,_0x436f97+_0x255585,_0x21bf57['width'],_0x57632e+0x1);}}['_getPageBreakLineOffset'](_0xc5762b,_0x22a6d3=null){const _0x5862d8=this['_paginationLookupPlugin']['pageBreaks'][_0xc5762b]['offset'];return _0x5862d8?(_0x22a6d3||(_0x22a6d3=new _0x350105(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x5862d8-_0x22a6d3['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x564ad6,_0x2cba13=!0x0){const _0x3e7ebb=this['editor']['editing']['view'];_0x3e7ebb['change'](_0x42da8d=>{for(const _0x17abc3 of _0x3e7ebb['document']['roots'])_0x2cba13?_0x42da8d['addClass'](_0x564ad6,_0x17abc3):_0x42da8d['removeClass'](_0x564ad6,_0x17abc3);});}}function g(_0x285f16,_0x1db305,..._0x37e1f4){const t=_0x285f16['t'];switch(_0x1db305){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)',..._0x37e1f4);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 _0x1db305;}}class s extends _0x23625b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x11fe6e=this['editor']['plugins']['get']('Pagination'),_0x281610=this['editor']['plugins']['get'](a),_0x155d45=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x11fe6e),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x155d45),this['listenTo'](_0x281610,'change:pageBreaks',(_0x16e544,_0x5af041,_0xc42ac2,_0x337c84)=>{this['totalPages']=_0xc42ac2['length'],this['_updatePageBreakMarkers'](_0xc42ac2,_0x337c84);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x554e0e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1991b3;for(const _0x3b696f in _0x554e0e){const _0x438de0=_0x3b696f,_0x3b110d=_0x554e0e[_0x438de0];if('paginationLicenseKeyValid'==_0x3b110d||'paginationLicenseKeyInvalid'==_0x3b110d||'paginationLicenseKeyExpired'==_0x3b110d||'paginationLicenseKeyDomainLimit'==_0x3b110d||'paginationLicenseKeyNotAllowed'==_0x3b110d||'paginationLicenseKeyEvaluationLimit'==_0x3b110d||'paginationLicenseKeyTrialLimit'==_0x3b110d||'paginationLicenseKeyUsageLimit'==_0x3b110d){delete _0x554e0e[_0x438de0],_0x1991b3=_0x3b110d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1991b3&&_0x554e0e['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1991b3&&_0x554e0e['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1991b3&&_0x554e0e['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x5c32b8){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x5c32b8));}['moveSelectionToPage'](_0x57ec59){if(!this['isEnabled'])return;const _0x210ff8=this['editor'],_0x2b2814=this['editor']['plugins']['get'](a)['pageBreaks'][_0x57ec59-0x1];_0x2b2814&&_0x210ff8['model']['change'](_0x5af147=>{switch(_0x2b2814['type']){case'manual':{const _0x30fd45=_0x210ff8['model']['schema']['getNearestSelectionRange'](_0x2b2814['modelRange']['end'],'forward');_0x5af147['setSelection'](_0x30fd45);break;}case'element':{const _0x1452e5=_0x210ff8['model']['schema']['getNearestSelectionRange'](_0x2b2814['modelRange']['start'],'forward');_0x5af147['setSelection'](_0x1452e5);break;}case'text':{const _0x47dd5c=_0x2b2814['modelRange']['start'];if(_0x47dd5c['textNode']&&'\x20'===_0x47dd5c['textNode']['data'][_0x47dd5c['offset']]){const _0x3bb387=_0x5af147['createPositionAt'](_0x47dd5c['parent'],_0x47dd5c['offset']+0x1);_0x5af147['setSelection'](_0x3bb387);}else _0x5af147['setSelection'](_0x2b2814['modelRange']);}}_0x210ff8['editing']['view']['focus']();});}['goToNextPage'](){const _0x220d92=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x220d92),this['scrollToPage'](_0x220d92);}['goToPreviousPage'](){const _0x43f5ec=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x43f5ec),this['scrollToPage'](_0x43f5ec);}['_updatePageBreakMarkers'](_0x3eb88b,_0x2438ef){const _0x1a8744=this['editor']['model'];this['isEnabled']&&_0x1a8744['change'](_0x538f85=>{for(let _0x5d0ac3=0x1;_0x5d0ac3<_0x3eb88b['length'];_0x5d0ac3++){const _0xaad14e=_0x3eb88b[_0x5d0ac3]['modelRange'],_0x1bd358='pagination:'+(_0x5d0ac3+0x1);_0x1a8744['markers']['has'](_0x1bd358)?_0x538f85['updateMarker'](_0x1bd358,{'range':_0xaad14e}):_0x538f85['addMarker'](_0x1bd358,{'range':_0xaad14e,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x335ff1=_0x3eb88b['length'];_0x335ff1<_0x2438ef['length'];_0x335ff1++){const _0x27b421='pagination:'+(_0x335ff1+0x1);_0x1a8744['markers']['has'](_0x27b421)&&_0x538f85['removeMarker'](_0x27b421);}});}['_setUpDataDowncastConversion'](){const _0x192605='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x6a019e=>{_0x6a019e['on']('addMarker:'+_0x192605,(_0x1d1070,{markerRange:_0x963c38,markerName:_0x3de035},_0x3f6281)=>{if(!_0x3f6281['options']['pagination'])return;if(!_0x3f6281['consumable']['consume'](_0x963c38,_0x1d1070['name']))return;const _0x347007=_0x963c38['getContainedElement']();let _0x1041ae=_0x347007?_0x3f6281['mapper']['toViewElement'](_0x347007):null;if(!_0x1041ae){const _0x5932b6=_0x963c38['start'];if(_0x3f6281['schema']['checkChild'](_0x5932b6,'$text')){const _0xe21b02=_0x3f6281['mapper']['toViewPosition'](_0x5932b6);_0x1041ae=_0x3f6281['writer']['createContainerElement']('span'),_0x1041ae['getFillerOffset']=()=>null,_0x3f6281['writer']['insert'](_0xe21b02,_0x1041ae);}else{const _0x4a23ae=_0x5932b6['nodeAfter'];_0x1041ae=_0x3f6281['mapper']['toViewElement'](_0x4a23ae);}}for(;_0x1041ae['parent']!==_0x1041ae['root']&&0x0===_0x1041ae['index'];)_0x1041ae=_0x1041ae['parent'];const _0x1cdfc4=_0x3de035['substring'](0xb);_0x1041ae['hasClass']('page-break')||(_0x3f6281['writer']['setStyle']('page-break-before','always',_0x1041ae),_0x3f6281['writer']['setAttribute']('data-pagination-page',_0x1cdfc4,_0x1041ae),_0x3f6281['mapper']['bindElementToMarker'](_0x1041ae,_0x3de035)),_0x1d1070['stop']();});});}['_setupKeystrokes'](){const _0x355217=this['editor'];_0x355217['keystrokes']['set']('Shift+Pageup',(_0x7b038a,_0x127d7e)=>{this['goToPreviousPage'](),_0x127d7e();}),_0x355217['keystrokes']['set']('Shift+Pagedown',(_0x5f31e1,_0x4e9abd)=>{this['goToNextPage'](),_0x4e9abd();}),_0x355217['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x355217['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x355217['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x355217['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x28aac4){return _0x28aac4<0x1&&(_0x28aac4=0x1),_0x28aac4>this['totalPages']&&(_0x28aac4=this['totalPages']),_0x28aac4;}}class G extends _0xa13169{['pageNumberView'];constructor(_0x16ed17){super(_0x16ed17);const _0x1b3daf=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3c75d4(_0x16ed17,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2e4e66=>g(_0x16ed17,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2e4e66)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1f1989=>!_0x1f1989),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x1b3daf['if']('isEnabled','ck-disabled',_0x555a8e=>!_0x555a8e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x1b3daf['to']('totalPages')}]}]});}['render'](){super['render']();const _0x15d41c=this['pageNumberView']['element'],_0x39657e=_0x4fa0d3=>{this['pageNumberView']['element']['value']=String(_0x4fa0d3);};_0x39657e(this['pageNumber']),this['on']('change:pageNumber',(_0x3a4cc8,_0x25bd32,_0x15687c)=>{_0x39657e(_0x15687c);}),this['listenTo'](_0x15d41c,'keydown',(_0x35759b,_0x384089)=>{if('ArrowUp'===_0x384089['key']||'ArrowDown'===_0x384089['key'])return void _0x384089['stopPropagation']();if(_0x384089['keyCode']!==_0x30416c['enter'])return;_0x384089['preventDefault']();const _0xc063b0=_0x15d41c['valueAsNumber'];Number['isNaN'](_0xc063b0)?_0x15d41c['value']=String(this['pageNumber']):(_0x15d41c['checkValidity']()?this['pageNumber']=_0xc063b0:_0xc063b0>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x15d41c['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x15d41c['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x15d41c,'blur',()=>{_0x15d41c['value']=String(this['pageNumber']);}),this['listenTo'](_0x15d41c,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x23625b{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x586f07=this['editor'],_0x62dd51=_0x586f07['plugins']['get']('PaginationEditing');_0x586f07['ui']['componentFactory']['add']('pageNavigation',_0x7cb4a5=>{const _0x4c3f0c=new G(_0x7cb4a5);return _0x4c3f0c['bind']('pageNumber')['to'](_0x62dd51),_0x4c3f0c['bind']('totalPages')['to'](_0x62dd51),_0x4c3f0c['bind']('isEnabled')['to'](_0x62dd51),_0x4c3f0c['on']('navigation',(_0x202c4d,_0x13181a)=>{_0x62dd51['moveSelectionToPage'](_0x13181a),_0x62dd51['scrollToPage'](_0x13181a);}),_0x4c3f0c;}),_0x586f07['ui']['componentFactory']['add']('nextPage',_0x3fbb0e=>{const _0x5d36ab=new _0x250e2f(_0x3fbb0e);return _0x5d36ab['isEnabled']=!0x0,_0x5d36ab['label']=g(_0x586f07['locale'],'Go\x20to\x20next\x20page'),_0x5d36ab['icon']=_0x5ba245,_0x5d36ab['tooltip']=!0x0,_0x5d36ab['keystroke']='Shift+PageDown',_0x5d36ab['bind']('isEnabled')['to'](_0x62dd51),this['listenTo'](_0x5d36ab,'execute',()=>{_0x62dd51['goToNextPage']();}),_0x5d36ab;}),_0x586f07['ui']['componentFactory']['add']('previousPage',_0x4cb7dd=>{const _0x5bd2f6=new _0x250e2f(_0x4cb7dd);return _0x5bd2f6['isEnabled']=!0x0,_0x5bd2f6['label']=g(_0x586f07['locale'],'Go\x20to\x20previous\x20page'),_0x5bd2f6['icon']=_0x59ed82,_0x5bd2f6['tooltip']=!0x0,_0x5bd2f6['keystroke']='Shift+PageUp',_0x5bd2f6['bind']('isEnabled')['to'](_0x62dd51),this['listenTo'](_0x5bd2f6,'execute',()=>{_0x62dd51['goToPreviousPage']();}),_0x5bd2f6;});}}class T extends _0x23625b{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x8cf50b){super(_0x8cf50b),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x273678=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x273678),this['bind']('totalPages')['to'](_0x273678),_0x1969bf['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x512575){this['editor']['plugins']['get'](s)['scrollToPage'](_0x512575);}}export{T as Pagination,n 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':_0x3dabf7=>0x1!=_0x3dabf7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1303e7=>{const {af:{dictionary:_0x157048,getPluralForm:_0x4e1bf6}}={'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':_0x7d54ec=>0x1!=_0x7d54ec}};_0x1303e7['af']||={'dictionary':{},'getPluralForm':null},_0x1303e7['af']['dictionary']=Object['assign'](_0x1303e7['af']['dictionary'],_0x157048),_0x1303e7['af']['getPluralForm']=_0x4e1bf6;})(window['CKEDITOR_TRANSLATIONS']||={});
|