@ckeditor/ckeditor5-pagination 45.0.0-alpha.6 → 45.0.0-alpha.8

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.
Files changed (160) hide show
  1. package/build/pagination.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +7 -7
  150. package/src/index.js +1 -1
  151. package/src/legacyerrors.js +1 -1
  152. package/src/pagination.js +1 -1
  153. package/src/paginationediting.js +1 -1
  154. package/src/paginationlookup.js +1 -1
  155. package/src/paginationrenderer.js +1 -1
  156. package/src/paginationui.js +1 -1
  157. package/src/ui/linesrepository.js +1 -1
  158. package/src/ui/lineview.js +1 -1
  159. package/src/ui/pagenavigatorview.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>F});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=a;function a(t,e){const n=w();return(a=function(t,e){return n[t-=457]})(t,e)}!function(t){const e=a,n=t();for(;;)try{if(177939===parseInt(e(620))/1*(-parseInt(e(638))/2)+parseInt(e(471))/3+-parseInt(e(467))/4*(parseInt(e(616))/5)+parseInt(e(495))/6*(parseInt(e(579))/7)+parseInt(e(532))/8+parseInt(e(621))/9*(parseInt(e(634))/10)+parseInt(e(636))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class c extends t.Plugin{[r(649)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(498)]()),200);[r(508)]=null;static get[r(470)](){return r(567)}static get[r(542)](){return!0}static get[r(511)](){return!0}[r(624)](){const t=r;if(this[t(592)]({pageBreaks:[]}),!this[t(572)][t(640)][t(565)](t(504)))return void(0,o.logWarning)(t(480),this[t(572)][t(640)]);const e=this[t(572)][t(618)][t(565)](t(601));this[t(558)](t(575)).to(e),this[t(572)].ui[t(614)](t(597),(()=>this[t(547)]())),this.on(t(493),((e,n,i)=>{i&&this[t(649)]()}))}[r(546)](){!async function(t){const e=m([53,108,74,71,73,110,52,120,100,114,104,86,115,101,98,121,78,81,122,90,87,69,102,118,67,84,80,77,105,51,116,82,50,106,70,57,109,55,113,119,66,99,112,103,75,88,111,56,49,89,54,72,85,107,83,65,117,97,68,79,76,48]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function d(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=a;return t[e(497)]((t=>String[e(541)](t)))[e(560)]("")}!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([108]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])((c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])]((t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?d(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116])))[m([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[m([116,104,101,110])](c)[m([99,97,116,99,104])]((()=>{c(m([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=m([108,108,99,116,45])+d(f(t)),i=h(d(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+d(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])](h(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])(((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}}),{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=c[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),(t=>t[m([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1743465600;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=a,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(483)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])]((t=>t[m([105,110,99,108,117,100,101,115])](m([42]))))[m([109,97,112])]((t=>t[m([115,112,108,105,116])](m([46]))))[m([115,111,109,101])]((t=>o[m([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===m([42])))))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])(((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])]((e=>{e!=m([86,97,108,105,100])&&t(e)}),n)})):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch(t){return m([73,110,118,97,108,105,100])}}())}(this)}[r(458)](){const t=r;super[t(458)](),this[t(508)]&&(this[t(649)][t(594)](),this[t(508)][t(458)](),this[t(508)][t(543)][t(505)]())}[r(547)](){const t=r,n=this[t(572)],i=n[t(627)][t(554)],o=this[t(538)]();if(!o||0===o[t(576)])return void n.ui[t(614)](t(460),(()=>this[t(547)]()));const{pageWidth:s,pageHeight:a}=n[t(640)][t(565)](t(504)),{top:c,left:u,bottom:l,right:p}=this[t(606)];this[t(508)]=new e.View(n[t(605)]);const f=this[t(508)];f[t(592)](t(571),""),f[t(481)]({tag:t(563),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(535)+a+t(587)+c+t(587)+l+" )",minWidth:t(632),minHeight:t(632),padding:"0 "+p+t(585)+u,columnGap:t(529),border:0,boxSizing:t(533),columnCount:t(632),columnFill:t(632),overflow:t(559),position:t(487),top:t(515),left:t(515)},tabindex:"-1",class:f[t(549)].to(t(571))}}),f[t(484)](),o[t(516)][t(465)](f[t(543)],o[t(525)]),this[t(609)](i,t(484),(()=>this[t(649)]()),{priority:t(599)}),this[t(649)]()}[r(538)](){const t=r;for(const e of this[t(572)][t(627)][t(554)][t(482)][t(562)]())if(e[t(514)][t(492)][t(564)](e))return e;return null}[r(498)](){const t=r;if(!this[t(575)])return Promise[t(476)]();const e=this[t(572)][t(627)][t(554)],n=this[t(508)],i=this[t(538)]();if(!i)return Promise[t(476)]();for(n[t(571)]=[t(523),t(553),...i[t(629)]][t(560)](" ");n[t(543)][t(507)];)n[t(543)][t(507)][t(505)]();const o=Array[t(645)](e[t(482)]);o[t(607)]((([,e],[,n])=>e[t(468)](n)==Node[t(631)]?1:-1));for(const[e,i]of o){const o=i[t(490)](!0);t(551)in o&&o[t(551)][t(503)](),o[t(494)]="",o[t(530)]("id"),o[t(512)][t(539)]=e,n[t(543)][t(499)](o)}return function(e){const n=t;return Promise[n(519)](e[n(497)]((t=>{return Promise[n(461)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(645)](n[t(543)][t(506)](t(622))))[t(463)]((()=>this[t(584)]()))}[r(584)](){const t=r,e=this[t(508)][t(543)];if(!e[t(514)][t(492)][t(564)](e))return;const n=new o.Rect(e)[t(588)](),i=o.global[t(557)][t(642)](e),s=parseFloat(i[t(502)])+parseFloat(i[t(569)]),a=Math[t(647)](n[t(615)]+100-s),c=g(e,Math[t(647)](n[t(534)]-e[t(478)]),a,n[t(527)])[t(497)]((e=>this[t(600)](e)));c[t(570)]((t=>!!t))&&(this[t(625)]=c)}[r(600)](t){const e=r,n=this[e(572)][e(627)][e(554)],i=this[e(572)][e(627)][e(590)],o=n[e(544)],s=t[e(552)][e(644)](),a=this[e(508)][e(543)][e(513)][s][e(512)][e(539)],c=n[e(545)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(552)]){if(!o)return null;o=o[i(513)][t]}return o}(c,t);if(!u)return null;const l=o[e(486)](u,t[e(581)]||0);return l?e(531)==t[e(586)]?this[e(626)](l,u):e(550)==t[e(586)]&&i[e(526)](l)[e(611)]?this[e(477)](l,u,t[e(581)]):this[e(604)](l,u,t[e(611)]):null}[r(626)](t,e){const n=r,i=this[n(572)][n(566)],o=this[n(572)][n(627)][n(590)][n(485)](t[n(641)]),s=i[n(623)](o);return new u({type:n(531),modelRange:s,domNode:e,offset:0})}[r(477)](t,e,n){const i=r,o=this[i(572)][i(566)],s=this[i(572)][i(627)][i(590)],a=this[i(572)][i(627)][i(554)][i(544)];if(n>=e[i(510)])return null;const c=s[i(526)](t),p=o[i(633)](c),f=s[i(580)](t),d=a[i(537)](f);return new u({type:i(550),modelRange:p,domNode:e,offset:l(e,n,d)})}[r(604)](t,e,n){const i=r,s=this[i(572)][i(566)],a=this[i(572)][i(627)],c=a[i(590)],l=a[i(554)][i(544)],p=c[i(580)](t),d=c[i(485)](p),h=function(t){const e=i,n=t[e(641)],o=n[e(555)][e(568)][e(566)],s=n[e(522)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(639)))return r;if(!o[e(608)](n)[e(578)](t))return r;r=n}}(s[i(608)](d))||d;let g=c[i(517)](h),m=s[i(623)](h);const b=s[i(608)](h)[i(466)];if(b&&b.is(i(543),i(612))){const t=c[i(517)](b),e=l[i(537)](t),n=o.global[i(557)][i(642)](e)[i(635)];i(534)!=n&&i(619)!=n||(m=s[i(623)](b))}for(;g[i(641)]!==g[i(555)]&&0===g[i(491)];)g=g[i(641)];const w=new o.Rect(y(e)?e:f(e)),v=n?w[i(527)]-n:0,k=l[i(537)](g),I=new o.Rect(k);return new u({type:i(543),modelRange:m,domNode:k,offset:Math[i(591)](v)?v+w[i(462)]-I[i(462)]:0})}get[r(606)](){const t=r,e=this[t(572)][t(640)][t(565)](t(474));return Object[t(617)]({top:t(469),bottom:t(469),left:t(469),right:t(469)},e)}static[r(479)](t,e,n,i,o){return g(t,e,n,i,o)}}class u{[r(586)];[r(628)];[r(610)];[r(648)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(586)]=t,this[o(628)]=e,this[o(610)]=n,this[o(648)]=i}get[r(611)](){const t=r;if(!this[t(610)][t(514)][t(492)][t(564)](this[t(610)]))return 0;const e=new o.Rect(y(this[t(610)])?this[t(610)]:f(this[t(610)]));return t(531)==this[t(586)]?e[t(462)]+e[t(527)]/2:e[t(462)]+this[t(648)]}}function l(t,e,n){const i=r,s=f(t),c=function(t){const e=a,n=o.global[e(568)][e(633)]();return n[e(488)](t),n}(n);let u;u=0==e?h(c[i(536)],c[i(528)],t[i(516)],Array[i(645)](t[i(516)][i(513)])[i(637)](t)):h(c[i(536)],c[i(528)],t,e);const l=h(t,e,c[i(548)],c[i(573)]),p=new o.Rect(u)[i(520)];return(new o.Rect(l)[i(462)]+p)/2-new o.Rect(s)[i(462)]}function p(t){const e=r;return t[e(459)](e(615))&&t[e(459)](e(527))?Promise[e(476)]():new Promise((n=>{const i=e;function o(){const e=a;t[e(509)](e(583),o),t[e(509)](e(593),o),n()}t[i(561)]?n():(t[i(500)](i(583),o),t[i(500)](i(593),o))}))}function f(t){const e=r,n=o.global[e(568)][e(633)]();return n[e(577)](t),n}function d(t,e,n){const i=r,s=o.global[i(568)][i(633)]();return s[i(457)](t,e),s[i(630)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(568)][s(633)]();return a[s(457)](t,e),a[s(630)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(513)][s(602)]()){let t=[];y(c)&&c[s(472)]&&!c[s(473)][s(582)]?t=m(c,r,e,n,i,o):I(c)&&(t=b(c,r,e,n,o)),t[s(510)]&&(a[s(603)](...t),e+=t[s(510)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(475)])&&y(l)&&Boolean(l[c(629)][c(564)](c(596))||l[c(489)](c(589)))&&(u[c(603)]({type:c(531),offset:0,path:[e-1]}),a=!0),c(643)==o.global[c(557)][c(642)](t)[c(464)]){let i=0,o=!1;for(const e of t[c(524)]())i+=e[c(527)],e[c(534)]>=n&&(o=!0);if(i<s&&o)return u[c(603)]({type:c(543),offset:0,path:[e]}),u}const p=t[c(489)](c(556));if(p&&function(t){const e=c;let n=!1;const i=t[e(521)][e(512)][e(539)],s=t[e(613)],r=t[e(496)],a=s&&o.global[e(557)][e(642)](s)[e(635)],u=s&&e(518)===s[e(494)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(501)!==a&&(n=!0),!n}(p)){const t=o.global[c(557)][c(642)](p)[c(635)];if(c(534)==t||c(619)==t)return u}const f=g(t,n,i,s,a);if(f[c(510)]){for(const t of f)u[c(603)]({type:t[c(586)],offset:t[c(611)],textOffset:t[c(581)],path:[e,...t[c(552)]]}),n+=i,a=!1;return u}return u[c(603)](...function(t,e,n,i,s){const r=c,a=[];if(r(646)==o.global[r(557)][r(642)](t)[r(464)])return[];const u=[];for(const e of t[r(524)]())if(e[r(534)]>=n){for(const t of u)t[r(527)]+=e[r(527)];u[r(603)]({height:e[r(527)]}),n+=i}for(const t of u)s||a[r(603)]({type:r(543),offset:t[r(527)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(524)]())if(r[s(534)]>=n){const r=v(t,u,n,i);o||c[s(603)]({type:s(550),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function w(){const t=["rootElement","config","parent","getComputedStyle","table-row","shift","from","table-cell","floor","_offset","_recalculatePageBreaksDebounced","setStart","destroy","hasAttribute","update","race","top","then","display","insertBefore","nodeBefore","20vXmFAW","compareDocumentPosition","10mm","pluginName","237336IqpJKX","offsetParent","style","pagination.pageMargins","previousSibling","resolve","_mapTextPageStarterInfoToPageBreakInfo","scrollLeft","_findPageStarterInfos","pagination-config-not-found","setTemplate","domRoots","href","render","toModelElement","domPositionToView","absolute","selectNodeContents","closest","cloneNode","index","body","change:isEnabled","className","203466SAhYnn","previousElementSibling","map","_recalculatePageBreaks","append","addEventListener","none","paddingLeft","clear","pagination","remove","querySelectorAll","firstChild","_pagesContainer","removeEventListener","length","isPremiumPlugin","dataset","childNodes","ownerDocument","-99999px","parentNode","toViewElement","ck-fake-selection-container","all","bottom","parentElement","getAncestors","ck-reset","getClientRects","nextSibling","toModelPosition","height","startOffset","100px","removeAttribute","manual","99520OYFBlh","border-box","left","calc( ","startContainer","mapViewToDom","_getAttachedDomRoot","rootName","nodeType","fromCharCode","isOfficialPlugin","element","domConverter","getDomRoot","afterInit","_onUiReady","endContainer","bindTemplate","text","attributeStyleMap","path","ck-pagination-view","view","root","figure.image","window","bind","hidden","join","complete","values","div","contains","get","model","PaginationLookup","document","paddingRight","every","class","editor","endOffset","ELEMENT_NODE","isEnabled","childElementCount","selectNode","isTouching","21DYUoYZ","findMappedViewAncestor","textOffset","position","load","_updatePageBreaksData"," 0 ","type"," - ","excludeScrollbarsAndBorders",".page-break","mapper","round","set","error","cancel","ceil","page-break","ready","TEXT_NODE","low","_mapPageStarterInfoToPageBreakInfo","PaginationEditing","entries","push","_mapElementPageStarterInfoToPageBreakInfo","locale","_configuredPaddings","sort","createPositionBefore","listenTo","_domNode","offset","imageBlock","nextElementSibling","once","width","145685SxPhpq","assign","plugins","right","245PsIsEv","504IqBdUp","img","createRangeOn","init","pageBreaks","_mapManualPageStarterInfoToPageBreakInfo","editing","modelRange","classList","setEnd","DOCUMENT_POSITION_PRECEDING","auto","createRange","9110xVsIpk","float","4327543DQAvhC","indexOf","2564gIjDMX"];return(w=function(){return t})()}function v(t,e,n,i){const o=r;let s=e,a=t[o(510)];for(;a-s>1;){const e=Math[o(595)]((s+a)/2);k(d(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(524)]())if(o[i(534)]>=e&&o[i(534)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(540)]==Node[e(574)]}function I(t){const e=r;return t[e(540)]==Node[e(598)]}var P=n(673),x=n.n(P),N=n(545),_=n.n(N),S=n(262),E=n.n(S),T=n(667),R=n.n(T),A=n(357),L=n.n(A),O=n(371),C={attributes:{"data-cke":!0}};C.setAttributes=R(),C.insert=E().bind(null,"head"),C.domAPI=_(),C.insertStyleElement=L();x()(O.A,C);O.A&&O.A.locals&&O.A.locals;function B(){const t=["1591312DfZWcB","left","ck-pagination-view-line","793133frJLkn","pageNumber","18zRQuKk","top","isVisible","div","1306995njNBrG","ck-hidden","21QIwFrB","set","6MLVDiV","setTemplate","2155118kxNnbC","70jrcnAM","bindTemplate","132926dHVMHz","width","139124LfaOzZ","187967NSqUER"];return(B=function(){return t})()}function M(t,e){const n=B();return(M=function(t,e){return n[t-=440]})(t,e)}!function(t){const e=M,n=t();for(;;)try{if(211603===parseInt(e(452))/1+-parseInt(e(449))/2+-parseInt(e(442))/3*(-parseInt(e(451))/4)+parseInt(e(440))/5*(parseInt(e(444))/6)+-parseInt(e(446))/7+-parseInt(e(453))/8*(-parseInt(e(458))/9)+parseInt(e(447))/10*(-parseInt(e(456))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const D=(0,o.toUnit)("px");class G extends e.View{constructor(){const t=M;super();const e=this[t(448)];this[t(443)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(445)]({tag:t(461),attributes:{"data-page-number":e.to(t(457)),class:["ck",t(455),e.if(t(460),t(441),(t=>!t))],style:{left:e.to(t(454),(t=>D(t))),top:e.to(t(459),(t=>D(t))),width:e.to(t(450),(t=>D(t)))}}})}}const K=j;function V(){const t=["showLine","4951340NgfyYp","279532ipdQKh","_viewCollection","cleanLines","view","destroy","set","setViewCollection","100bBolGq","add","body","isVisible","_visibleLines","size","clear","2400052JoGGsG","12501qNlGfX","values","has","539076AOzYRG","8293134iHtukH","delete","7aszZqp","2gvkMnN","2000KPdQVC","_hiddenLines","1934985GicOiR"];return(V=function(){return t})()}function j(t,e){const n=V();return(j=function(t,e){return n[t-=484]})(t,e)}!function(t){const e=j,n=t();for(;;)try{if(979145===-parseInt(e(484))/1*(-parseInt(e(488))/2)+-parseInt(e(491))/3+parseInt(e(508))/4+-parseInt(e(493))/5+parseInt(e(485))/6*(parseInt(e(487))/7)+parseInt(e(489))/8*(parseInt(e(509))/9)+parseInt(e(501))/10*(-parseInt(e(494))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class z{[K(495)];[K(505)]=new Set;[K(490)]=new Set;constructor(t){const e=K;this[e(495)]=t.ui[e(497)][e(503)]}[K(498)](){const t=K;for(const e of this[t(490)])e[t(498)]()}[K(496)](){const t=K;for(const e of this[t(505)])e[t(504)]=!1,this[t(490)][t(502)](e);this[t(505)][t(507)]()}[K(492)](t,e,n,i){const s=K;let r;this[s(490)][s(506)]?(r=(0,o.first)(this[s(490)][s(510)]()),this[s(490)][s(486)](r)):r=new G,r[s(499)]({pageNumber:i,left:t,top:e,width:n}),r[s(504)]=!0,this[s(495)][s(511)](r)||this[s(495)][s(502)](r),this[s(505)][s(502)](r)}[K(500)](t){this[K(495)]=t}}function U(){const t=["getComputedStyle","_updatePageBreakLines","cleanLines","change:pageBreaks","listenTo","bind","149534yHdwaY","linesRepository","height","plugins","init","addClass","pageBreaks","top","parentElement","pageNumber","4719xhuGbM","set","stopListening","1090791upxJSC","excludeScrollbarsAndBorders","tagName","update","scrollTop","resize","setupScrollableAncestor","bottom","values","instant","scrollTo","contains","16MTWbxZ","isPremiumPlugin","push","_scrollableEditingRootDomAncestor","left","PaginationEditing","394440Bgcrxi","scrollToPage","window","domRoots","isOfficialPlugin","ck-pagination_enabled","get","_renderPageBreakLines","isMotionReduced","_paginationLookupPlugin","_getAttachedDomRoot","width","BODY","pluginName","253mjJskD","230306KztvaM","showLine","change:isEnabled","once","isEnabled","change","offset","PaginationLookup","smooth","view","length","_resizeObserver","roots","248892IPVmBT","PaginationRenderer","editor","removeClass","overflowY","356hAPeBN","_getPageBreakLineOffset","_toggleEditingRootsClass","scroll","auto","body","_onUiReady","1SLwssd","65380lBLlYN","editing","scrollLeft","ready","ownerDocument","destroy","document"];return(U=function(){return t})()}const q=J;function J(t,e){const n=U();return(J=function(t,e){return n[t-=457]})(t,e)}!function(t){const e=J,n=t();for(;;)try{if(131665===parseInt(e(527))/1*(-parseInt(e(502))/2)+parseInt(e(466))/3*(parseInt(e(520))/4)+parseInt(e(487))/5+parseInt(e(515))/6+-parseInt(e(541))/7*(parseInt(e(481))/8)+-parseInt(e(469))/9+-parseInt(e(528))/10*(-parseInt(e(501))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);const Y=q(492);class F extends t.Plugin{[q(457)];[q(484)]=null;[q(513)]=null;[q(496)];static get[q(500)](){return q(516)}static get[q(491)](){return!0}static get[q(482)](){return!0}[q(460)](){const t=q;this[t(467)]({pageNumber:1}),this[t(457)]=new z(this[t(517)]),this[t(484)]=null,this[t(513)]=null,this[t(496)]=this[t(517)][t(459)][t(493)](t(509)),this[t(540)](t(506)).to(this[t(517)][t(459)][t(493)](t(486))),this[t(517)].ui[t(505)](t(531),(()=>this[t(526)]())),this[t(522)](Y),this.on(t(504),((e,n,i)=>{const o=t;i||this[o(457)][o(537)](),this[o(522)](Y,i)}))}[q(533)](){const t=q;this[t(522)](Y,!1),this[t(457)][t(533)](),this[t(484)]=null,this[t(513)]&&this[t(513)][t(533)]()}[q(488)](t){const e=q;if(!this[e(506)])return;const n=t>1?this[e(521)](t-1):0;this[e(484)][e(479)]({top:n-10,left:this[e(484)][e(530)],behavior:o.env[e(495)]?e(478):e(510)})}[q(475)](){const t=q,e=this[t(517)],n=this[t(497)]();n?(this[t(484)]&&e.ui[t(511)][t(468)](this[t(484)],t(523)),this[t(484)]=function(e){const n=t;let i=e;do{i=i[n(464)];const t=o.global[n(489)][n(535)](i)[n(519)];if(n(524)==t||n(523)==t)break}while(n(499)!=i[n(471)]);return i}(n),e.ui[t(511)][t(539)](this[t(484)],t(523),(()=>{this[t(536)]()}),{usePassive:!0}),this[t(513)]&&this[t(513)][t(533)](),this[t(513)]=new o.ResizeObserver(this[t(484)],(()=>{this[t(536)]()}))):e.ui[t(505)](t(472),(()=>this[t(475)]()))}[q(526)](){const t=q,e=this[t(517)];this[t(497)]()?(this[t(475)](),e.ui[t(511)][t(539)](o.global[t(489)],t(474),(()=>this[t(536)]())),this[t(539)](this[t(496)],t(538),(()=>this[t(536)]()))):e.ui[t(505)](t(472),(()=>this[t(526)]()))}[q(497)](){const t=q;for(const e of this[t(517)][t(529)][t(511)][t(490)][t(477)]())if(e[t(532)][t(525)][t(480)](e))return e;return null}[q(536)](){const t=q;if(!this[t(506)])return;const e=this[t(497)](),n=this[t(496)][t(462)];if(this[t(457)][t(537)](),!e||1==n[t(512)])return void(this[t(465)]=1);const i=new o.Rect(e)[t(470)](),s=new o.Rect(this[t(484)])[t(470)](),r=s[t(463)]+s[t(458)]/3;let a=!1;const c=[];for(let e=1;e<n[t(512)];e++){const n=this[t(521)](e,s);if(!n)continue;const o=s[t(463)]+n-this[t(484)][t(473)];c[t(483)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(465)]=e,a=!0)}this[t(494)](c),a||(this[t(465)]=n[t(512)])}[q(494)](t){const e=q,{scrollX:n,scrollY:i}=o.global[e(489)];if(t[e(512)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(463)]<s&&s<o[e(476)]&&this[e(457)][e(503)](r[e(485)]+n,s+i,r[e(498)],a+1)}[q(521)](t,e=null){const n=q,i=this[n(496)][n(462)][t][n(508)];return i?(e||(e=new o.Rect(this[n(484)])[n(470)]()),i-e[n(463)]+this[n(484)][n(473)]):0}[q(522)](t,e=!0){const n=q,i=this[n(517)][n(529)][n(511)];i[n(507)]((o=>{const s=n;for(const n of i[s(534)][s(514)])e?o[s(461)](t,n):o[s(518)](t,n)}))}}function Q(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var W=n(761),H={attributes:{"data-cke":!0}};H.setAttributes=R(),H.insert=E().bind(null,"head"),H.domAPI=_(),H.insertStyleElement=L();x()(W.A,H);W.A&&W.A.locals&&W.A.locals;const X=$;function Z(){const t=["checkChild","change:pageBreaks","domainLimit","paginationLicenseKeyValid","mapper","249254gwUaUK","length","get","invalid","config","3WOqJHn","scrollToPage","type","goToNextPage","createPositionAt","data-pagination-page","toViewElement","data","paginationLicenseKeyDomainLimit","11QOzoqv","forward","25058604DRUfhe","keystrokes","index","2671340iSIUws","paginationLicenseKeyNotAllowed","accessibility","name","usageLimit","page-break","Shift+Pagedown","manual","add","paginationLicenseKeyExpired","_setUpDataDowncastConversion","conversion","expired","isOfficialPlugin","locale","Pagination","3lUaAas","removeMarker","updateMarker","licenseKey","setSelection","_licenseKeyCheckInterval","markers","addMarker","paginationLicenseKeyInvalid","start","_validatePageNumber","addKeystrokeInfoGroup","change","model","consumable","pluginName","writer","view","paginationLicenseKeyTrialLimit","5872agknZM","textNode","schema","trialLimit","_showLicenseError","for","destroy","parent","modelRange","page-break-before","has","substring","focus","requires","dataDowncast","531JMKlTN","goToPreviousPage","featureNotAllowed","_setupKeystrokes","setAttribute","end","listenTo","addMarker:","getContainedElement","pagination:","editing","editor","setStyle","plugins","hasClass","getNearestSelectionRange","Shift+Pageup","root","set","pageBreaks","getFillerOffset","createContainerElement","toViewPosition","paginationLicenseKeyEvaluationLimit","isEnabled","_updatePageBreakMarkers","stop","insert","isPremiumPlugin","text","offset","init","options","12GDxegO","span","PaginationEditing","evaluationLimit","$text","pageNumber","Keystrokes for navigating through documents","consume","moveSelectionToPage","Go to the next page (also move selection)","2138732wBltQq","Go to the previous page (also move selection)","bindElementToMarker","nodeAfter","paginationLicenseKeyUsageLimit","element","totalPages","13XyKyjd","bind","3256950mmPAOd","pagination","1733137amPkjx","always"];return(Z=function(){return t})()}function $(t,e){const n=Z();return($=function(t,e){return n[t-=287]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(343521===-parseInt(e(415))/1*(parseInt(e(380))/2)+-parseInt(e(385))/3*(parseInt(e(362))/4)+-parseInt(e(371))/5+-parseInt(e(352))/6*(parseInt(e(373))/7)+-parseInt(e(304))/8*(-parseInt(e(319))/9)+-parseInt(e(399))/10*(-parseInt(e(394))/11)+-parseInt(e(396))/12*(-parseInt(e(369))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[X(288)];[X(290)];static get[X(300)](){return X(354)}static get[X(412)](){return!0}static get[X(347)](){return!0}static get[X(317)](){return[c,F]}[X(350)](){const t=X;this[t(337)]({pageNumber:1,totalPages:1});const e=this[t(330)][t(332)][t(382)](t(414)),n=this[t(330)][t(332)][t(382)](c),i=this[t(330)][t(332)][t(382)](F);this[t(370)](t(343)).to(e),this[t(409)](),this[t(370)](t(357)).to(i),this[t(325)](n,t(376),((e,n,i,o)=>{const s=t;this[s(368)]=i[s(381)],this[s(344)](i,o)})),this[t(322)](),this[t(288)]=this[t(330)][t(384)][t(382)](t(288));const o=this[t(330)];this[t(290)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(378)==s||e(293)==s||e(408)==s||e(393)==s||e(400)==s||e(342)==s||e(303)==s||e(366)==s){delete o[i],n=s,clearInterval(this[e(290)]),this[e(290)]=void 0;break}}e(293)==n&&o[e(308)](e(383)),e(408)==n&&o[e(308)](e(411)),e(393)==n&&o[e(308)](e(377)),e(400)==n&&o[e(308)](e(321),e(414)),e(342)==n&&o[e(308)](e(355)),e(303)==n&&o[e(308)](e(307)),e(366)==n&&o[e(308)](e(403))}),1e3)}[X(310)](){const t=X;super[t(310)](),this[t(290)]&&clearInterval(this[t(290)])}[X(386)](t){const e=X;this[e(343)]&&this[e(330)][e(332)][e(382)](F)[e(386)](this[e(295)](t))}[X(360)](t){const e=X;if(!this[e(343)])return;const n=this[e(330)],i=this[e(330)][e(332)][e(382)](c)[e(338)][t-1];i&&n[e(298)][e(297)]((t=>{const o=e;switch(i[o(387)]){case o(406):{const e=n[o(298)][o(306)][o(334)](i[o(312)][o(324)],o(395));t[o(289)](e);break}case o(367):{const e=n[o(298)][o(306)][o(334)](i[o(312)][o(294)],o(395));t[o(289)](e);break}case o(348):{const e=i[o(312)][o(294)];if(" "===e[o(305)][o(392)][e[o(349)]]){const n=t[o(389)](e[o(311)],e[o(349)]+1);t[o(289)](n)}else t[o(289)](i[o(312)])}}n[o(329)][o(302)][o(316)]()}))}[X(388)](){const t=X,e=this[t(295)](this[t(357)]+1);this[t(360)](e),this[t(386)](e)}[X(320)](){const t=X,e=this[t(295)](this[t(357)]-1);this[t(360)](e),this[t(386)](e)}[X(344)](t,e){const n=X,i=this[n(330)][n(298)];this[n(343)]&&i[n(297)]((o=>{const s=n;for(let e=1;e<t[s(381)];e++){const n=t[e][s(312)],r=s(328)+(e+1);i[s(291)][s(314)](r)?o[s(287)](r,{range:n}):o[s(292)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(381)];n<e[s(381)];n++){const t=s(328)+(n+1);i[s(291)][s(314)](t)&&o[s(416)](t)}}))}[X(409)](){const t=X,e=t(372);this[t(330)][t(410)][t(309)](t(318))[t(407)]((n=>{const i=t;n.on(i(326)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(351)][s(372)])return;if(!o[s(299)][s(359)](e,t[s(402)]))return;const r=e[s(327)]();let a=r?o[s(379)][s(391)](r):null;if(!a){const t=e[s(294)];if(o[s(306)][s(375)](t,s(356))){const e=o[s(379)][s(341)](t);a=o[s(301)][s(340)](s(353)),a[s(339)]=()=>null,o[s(301)][s(346)](e,a)}else{const e=t[s(365)];a=o[s(379)][s(391)](e)}}for(;a[s(311)]!==a[s(336)]&&0===a[s(398)];)a=a[s(311)];const c=n[s(315)](11);a[s(333)](s(404))||(o[s(301)][s(331)](s(313),s(374),a),o[s(301)][s(323)](s(390),c,a),o[s(379)][s(364)](a,n)),t[s(345)]()}))}))}[X(322)](){const t=X,e=this[t(330)];e[t(397)][t(337)](t(335),((e,n)=>{this[t(320)](),n()})),e[t(397)][t(337)](t(405),((e,n)=>{this[t(388)](),n()})),e[t(401)][t(296)]({id:t(372),label:Q(e[t(413)],t(358)),keystrokes:[{label:Q(e[t(413)],t(363)),keystroke:t(335),mayRequireFn:!0},{label:Q(e[t(413)],t(361)),keystroke:t(405),mayRequireFn:!0}]})}[X(295)](t){const e=X;return t<1&&(t=1),t>this[e(368)]&&(t=this[e(368)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=E().bind(null,"head"),it.domAPI=_(),it.insertStyleElement=L();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;function st(){const t=["ariaLabel","numeric","span","render","fire","set","5576280ofeOtI","isNaN","6LLJYRQ","navigation","key","focus","pageNumberView","3mfQKGo","bindTemplate","isEnabled","totalPages","pageNumber","bind","valueAsNumber","5419020QgAcDE","blur","1070867enRmDw","Current page number (from 1 to %0)","firstChild","keydown","keyCode","ck-page-navigator","div","max","isReadOnly","2922480MCzEZE","169838etgjvP","setTemplate","ck-disabled","preventDefault","value","listenTo","234392RMOdbe","ArrowDown","40MLKumG","element","change:pageNumber","25372720MlJTud","checkValidity","enter","select","ArrowUp","stopPropagation"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=188]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(646773===parseInt(e(212))/1*(parseInt(e(236))/2)+-parseInt(e(217))/3*(-parseInt(e(193))/4)+-parseInt(e(210))/5+-parseInt(e(224))/6+-parseInt(e(226))/7*(parseInt(e(195))/8)+parseInt(e(235))/9+parseInt(e(198))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[ot(216)];constructor(t){const n=ot;super(t);const i=this[n(218)];this[n(209)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(216)]=new e.InputNumberView(t,{min:1,step:1}),this[n(216)][n(209)]({inputMode:n(205),tabIndex:-1}),this[n(216)][n(222)](n(204)).to(this,n(220),(e=>Q(t,n(227),e))),this[n(216)][n(222)](n(233)).to(this,n(220)),this[n(216)][n(222)](n(234)).to(this,n(219),(t=>!t)),this[n(188)]({tag:n(232),attributes:{class:["ck",n(231),i.if(n(219),n(189),(t=>!t))]},children:[this[n(216)],{tag:n(206),children:[{text:i.to(n(220))}]}]})}[ot(207)](){const t=ot;super[t(207)]();const e=this[t(216)][t(196)],n=e=>{const n=t;this[n(216)][n(196)][n(191)]=String(e)};n(this[t(221)]),this.on(t(197),((t,e,i)=>{n(i)})),this[t(192)](e,t(229),((n,i)=>{const s=t;if(s(202)===i[s(214)]||s(194)===i[s(214)])return void i[s(203)]();if(i[s(230)]!==o.keyCodes[s(200)])return;i[s(190)]();const r=e[s(223)];Number[s(211)](r)?e[s(191)]=String(this[s(221)]):(e[s(199)]()?this[s(221)]=r:r>this[s(220)]?(this[s(221)]=this[s(220)],e[s(191)]=String(this[s(220)])):(this[s(221)]=1,e[s(191)]="1"),this[s(208)](s(213),this[s(221)]))})),this[t(192)](e,t(225),(()=>{const n=t;e[n(191)]=String(this[n(221)])})),this[t(192)](e,t(215),(()=>{const e=t;this[e(216)][e(201)]()}))}[ot(215)](){const t=ot;this[t(196)][t(228)][t(215)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=215]})(t,e)}function lt(){const t=["PaginationEditing","83106SCmjXV","get","plugins","isEnabled","Shift+PageDown","PaginationUI","componentFactory","3227668IpNKGn","previousPage","nextPage","20601mxmvzF","tooltip","listenTo","2xpIbeq","icon","25pKdfSC","pageNumber","totalPages","execute","pluginName","1049617GSnYzL","label","scrollToPage","goToPreviousPage","bind","navigation","Shift+PageUp","7006617VDDBNy","1056pnGKEF","goToNextPage","moveSelectionToPage","156uffxoG","add","Go to previous page","pageNavigation","3444807TPlDGe","10ukmjfe","locale","255134xfxJnL","isPremiumPlugin","editor","Go to next page","init","isOfficialPlugin","keystroke"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(594757===parseInt(e(218))/1+parseInt(e(257))/2*(parseInt(e(233))/3)+-parseInt(e(251))/4+parseInt(e(259))/5*(parseInt(e(244))/6)+-parseInt(e(254))/7*(parseInt(e(226))/8)+-parseInt(e(225))/9*(parseInt(e(234))/10)+parseInt(e(236))/11*(parseInt(e(229))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(217)](){return ct(249)}static get[ct(241)](){return!0}static get[ct(237)](){return!0}[ct(240)](){const t=ct,n=this[t(238)],i=n[t(246)][t(245)](t(243));n.ui[t(250)][t(230)](t(232),(e=>{const n=t,o=new at(e);return o[n(222)](n(260)).to(i),o[n(222)](n(215)).to(i),o[n(222)](n(247)).to(i),o.on(n(223),((t,e)=>{const o=n;i[o(228)](e),i[o(220)](e)})),o})),n.ui[t(250)][t(230)](t(253),(o=>{const s=t,r=new e.ButtonView(o);return r[s(247)]=!0,r[s(219)]=Q(n[s(235)],s(239)),r[s(258)]=et.IconArrowDown,r[s(255)]=!0,r[s(242)]=s(248),r[s(222)](s(247)).to(i),this[s(256)](r,s(216),(()=>{i[s(227)]()})),r})),n.ui[t(250)][t(230)](t(252),(o=>{const s=t,r=new e.ButtonView(o);return r[s(247)]=!0,r[s(219)]=Q(n[s(235)],s(231)),r[s(258)]=et.IconArrowUp,r[s(255)]=!0,r[s(242)]=s(224),r[s(222)](s(247)).to(i),this[s(256)](r,s(216),(()=>{i[s(221)]()})),r}))}}const ft=ht;function dt(){const t=["6603058QzkyER","set","6dVKwMB","isPremiumPlugin","requires","pluginName","isOfficialPlugin","pageNumber","bind","browserCheck","scrollToPage","1108648gzaUZM","pagination.enableOnUnsupportedBrowsers","totalPages","6131810JSKVaJ","708453BbLRgS","41963230tjDxMm","forceDisabled","Pagination","isEnabled","config","isBlink","get","plugins","567082ypENnJ","7169592NtzImO","ready","3zayLXI","2fGYAUO","editor","init"];return(dt=function(){return t})()}function ht(t,e){const n=dt();return(ht=function(t,e){return n[t-=430]})(t,e)}!function(t){const e=ht,n=t();for(;;)try{if(761831===-parseInt(e(458))/1*(parseInt(e(454))/2)+parseInt(e(457))/3*(parseInt(e(441))/4)+-parseInt(e(444))/5+-parseInt(e(432))/6*(parseInt(e(430))/7)+-parseInt(e(455))/8+-parseInt(e(445))/9+parseInt(e(446))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ft(435)](){return ft(448)}static get[ft(436)](){return!0}static get[ft(433)](){return!0}static get[ft(434)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(449)]=!1}[ft(460)](){const t=ft;this[t(431)]({pageNumber:1,totalPages:1});const e=this[t(459)][t(453)][t(452)](tt);this[t(438)](t(437)).to(e),this[t(438)](t(443)).to(e),o.env[t(451)]||this[t(459)][t(450)][t(452)](t(442))?this[t(459)].on(t(456),(()=>{this[t(449)]=!0})):this[t(447)](t(439))}[ft(440)](t){const e=ft;this[e(459)][e(453)][e(452)](tt)[e(440)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=208]})(t,e)}function bt(){var t=["1315026URdJbs","1565qzRisW","3630PYNMnw","96gQhqvs","4iKdKoQ","758248KTSnqm","2486420OLpJsc","1361031yRELoR","14bxlTSW","562628SalYcI","22yCojbz","28549WsJqzB"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(256201===-parseInt(e(219))/1*(-parseInt(e(218))/2)+parseInt(e(215))/3*(parseInt(e(212))/4)+parseInt(e(209))/5*(-parseInt(e(210))/6)+-parseInt(e(216))/7*(-parseInt(e(213))/8)+parseInt(e(208))/9+-parseInt(e(214))/10+parseInt(e(217))/11*(-parseInt(e(211))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
5
+ */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=a;function a(t,e){const n=d();return(a=function(t,e){return n[t-=412]})(t,e)}!function(t){const e=a,n=t();for(;;)try{if(354942===parseInt(e(476))/1*(-parseInt(e(548))/2)+-parseInt(e(497))/3+-parseInt(e(520))/4+-parseInt(e(442))/5+parseInt(e(578))/6*(-parseInt(e(591))/7)+-parseInt(e(478))/8*(-parseInt(e(574))/9)+parseInt(e(468))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(d);class c extends t.Plugin{[r(494)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(508)]()),200);[r(577)]=null;static get[r(547)](){return r(536)}static get[r(477)](){return!0}static get[r(427)](){return!0}[r(531)](){const t=r;if(this[t(584)]({pageBreaks:[]}),!this[t(556)][t(481)][t(583)](t(561)))return void(0,o.logWarning)(t(550),this[t(556)][t(481)]);const e=this[t(556)][t(557)][t(583)](t(501));this[t(467)](t(491)).to(e),this[t(556)].ui[t(571)](t(565),(()=>this[t(518)]())),this.on(t(516),((e,n,i)=>{i&&this[t(494)]()}))}[r(498)](){!async function(t){const e=m([66,56,104,109,85,50,76,83,107,52,70,110,87,88,115,117,89,118,98,112,67,103,78,71,97,73,48,84,57,69,120,121,100,81,102,51,116,72,77,122,114,108,111,55,79,49,82,54,99,113,106,90,119,105,65,74,68,101,80,53,86,75]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=a;return t[e(543)]((t=>String[e(461)](t)))[e(532)]("")}!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([66]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])((c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])]((t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116])))[m([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[m([116,104,101,110])](c)[m([99,97,116,99,104])]((()=>{c(m([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),i=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])(((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}}),{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=c[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),(t=>t[m([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1743638400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=a,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(517)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])]((t=>t[m([105,110,99,108,117,100,101,115])](m([42]))))[m([109,97,112])]((t=>t[m([115,112,108,105,116])](m([46]))))[m([115,111,109,101])]((t=>o[m([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===m([42])))))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])(((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])]((e=>{e!=m([86,97,108,105,100])&&t(e)}),n)})):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch(t){return m([73,110,118,97,108,105,100])}}())}(this)}[r(538)](){const t=r;super[t(538)](),this[t(577)]&&(this[t(494)][t(495)](),this[t(577)][t(538)](),this[t(577)][t(451)][t(432)]())}[r(518)](){const t=r,n=this[t(556)],i=n[t(503)][t(576)],o=this[t(523)]();if(!o||0===o[t(603)])return void n.ui[t(571)](t(460),(()=>this[t(518)]()));const{pageWidth:s,pageHeight:a}=n[t(481)][t(583)](t(561)),{top:c,left:u,bottom:l,right:p}=this[t(430)];this[t(577)]=new e.View(n[t(412)]);const f=this[t(577)];f[t(584)](t(466),""),f[t(450)]({tag:t(534),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(417)+a+t(513)+c+t(513)+l+" )",minWidth:t(601),minHeight:t(601),padding:"0 "+p+t(560)+u,columnGap:t(522),border:0,boxSizing:t(519),columnCount:t(601),columnFill:t(601),overflow:t(500),position:t(509),top:t(456),left:t(456)},tabindex:"-1",class:f[t(431)].to(t(466))}}),f[t(545)](),o[t(480)][t(592)](f[t(451)],o[t(471)]),this[t(487)](i,t(545),(()=>this[t(494)]()),{priority:t(418)}),this[t(494)]()}[r(523)](){const t=r;for(const e of this[t(556)][t(503)][t(576)][t(598)][t(553)]())if(e[t(514)][t(474)][t(490)](e))return e;return null}[r(508)](){const t=r;if(!this[t(491)])return Promise[t(564)]();const e=this[t(556)][t(503)][t(576)],n=this[t(577)],i=this[t(523)]();if(!i)return Promise[t(564)]();for(n[t(466)]=[t(479),t(449),...i[t(436)]][t(532)](" ");n[t(451)][t(464)];)n[t(451)][t(464)][t(432)]();const o=Array[t(525)](e[t(598)]);o[t(425)]((([,e],[,n])=>e[t(496)](n)==Node[t(555)]?1:-1));for(const[e,i]of o){const o=i[t(512)](!0);t(454)in o&&o[t(454)][t(463)](),o[t(541)]="",o[t(579)]("id"),o[t(453)][t(434)]=e,n[t(451)][t(445)](o)}return function(e){const n=t;return Promise[n(459)](e[n(543)]((t=>{return Promise[n(483)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(525)](n[t(451)][t(486)](t(581))))[t(452)]((()=>this[t(588)]()))}[r(588)](){const t=r,e=this[t(577)][t(451)];if(!e[t(514)][t(474)][t(490)](e))return;const n=new o.Rect(e)[t(566)](),i=o.global[t(568)][t(602)](e),s=parseFloat(i[t(462)])+parseFloat(i[t(413)]),a=Math[t(470)](n[t(554)]+100-s),c=m(e,Math[t(470)](n[t(544)]-e[t(595)]),a,n[t(505)])[t(543)]((e=>this[t(510)](e)));c[t(549)]((t=>!!t))&&(this[t(529)]=c)}[r(510)](t){const e=r,n=this[e(556)][e(503)][e(576)],i=this[e(556)][e(503)][e(552)],o=n[e(424)],s=t[e(575)][e(551)](),a=this[e(577)][e(451)][e(473)][s][e(453)][e(434)],c=n[e(573)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(575)]){if(!o)return null;o=o[i(473)][t]}return o}(c,t);if(!u)return null;const l=o[e(426)](u,t[e(489)]||0);return l?e(572)==t[e(485)]?this[e(587)](l,u):e(563)==t[e(485)]&&i[e(469)](l)[e(524)]?this[e(540)](l,u,t[e(489)]):this[e(546)](l,u,t[e(524)]):null}[r(587)](t,e){const n=r,i=this[n(556)][n(444)],o=this[n(556)][n(503)][n(552)][n(528)](t[n(437)]),s=i[n(567)](o);return new u({type:n(572),modelRange:s,domNode:e,offset:0})}[r(540)](t,e,n){const i=r,o=this[i(556)][i(444)],s=this[i(556)][i(503)][i(552)],a=this[i(556)][i(503)][i(576)][i(424)];if(n>=e[i(433)])return null;const c=s[i(469)](t),p=o[i(506)](c),f=s[i(475)](t),h=a[i(455)](f);return new u({type:i(563),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(546)](t,e,n){const i=r,s=this[i(556)][i(444)],a=this[i(556)][i(503)],c=a[i(552)],l=a[i(576)][i(424)],p=c[i(475)](t),h=c[i(528)](p),d=function(t){const e=i,n=t[e(437)],o=n[e(570)][e(597)][e(444)],s=n[e(423)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(419)))return r;if(!o[e(443)](n)[e(482)](t))return r;r=n}}(s[i(443)](h))||h;let g=c[i(504)](d),m=s[i(567)](d);const b=s[i(443)](d)[i(441)];if(b&&b.is(i(451),i(492))){const t=c[i(504)](b),e=l[i(455)](t),n=o.global[i(568)][i(602)](e)[i(458)];i(544)!=n&&i(422)!=n||(m=s[i(567)](b))}for(;g[i(437)]!==g[i(570)]&&0===g[i(440)];)g=g[i(437)];const v=new o.Rect(y(e)?e:f(e)),k=n?v[i(505)]-n:0,w=l[i(455)](g),I=new o.Rect(w);return new u({type:i(451),modelRange:m,domNode:w,offset:Math[i(484)](k)?k+v[i(521)]-I[i(521)]:0})}get[r(430)](){const t=r,e=this[t(556)][t(481)][t(583)](t(446));return Object[t(585)]({top:t(533),bottom:t(533),left:t(533),right:t(533)},e)}static[r(562)](t,e,n,i,o){return m(t,e,n,i,o)}}class u{[r(485)];[r(599)];[r(559)];[r(420)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(485)]=t,this[o(599)]=e,this[o(559)]=n,this[o(420)]=i}get[r(524)](){const t=r;if(!this[t(559)][t(514)][t(474)][t(490)](this[t(559)]))return 0;const e=new o.Rect(y(this[t(559)])?this[t(559)]:f(this[t(559)]));return t(572)==this[t(485)]?e[t(521)]+e[t(505)]/2:e[t(521)]+this[t(420)]}}function l(t,e,n){const i=r,s=f(t),c=function(t){const e=a,n=o.global[e(597)][e(506)]();return n[e(438)](t),n}(n);let u;u=0==e?g(c[i(414)],c[i(472)],t[i(480)],Array[i(525)](t[i(480)][i(473)])[i(580)](t)):g(c[i(414)],c[i(472)],t,e);const l=g(t,e,c[i(586)],c[i(542)]),p=new o.Rect(u)[i(593)];return(new o.Rect(l)[i(521)]+p)/2-new o.Rect(s)[i(521)]}function p(t){const e=r;return t[e(415)](e(554))&&t[e(415)](e(505))?Promise[e(564)]():new Promise((n=>{const i=e;function o(){const e=a;t[e(526)](e(447),o),t[e(526)](e(590),o),n()}t[i(421)]?n():(t[i(511)](i(447),o),t[i(511)](i(590),o))}))}function f(t){const e=r,n=o.global[e(597)][e(506)]();return n[e(589)](t),n}function h(t,e,n){const i=r,s=o.global[i(597)][i(506)]();return s[i(558)](t,e),s[i(582)](t,n),s}function d(){const t=["getClientRects","_recalculatePageBreaksDebounced","cancel","compareDocumentPosition","872604VeQUHX","afterInit","push","hidden","PaginationEditing","nextElementSibling","editing","toViewElement","height","createRange","table-row","_recalculatePageBreaks","absolute","_mapPageStarterInfoToPageBreakInfo","addEventListener","cloneNode"," - ","ownerDocument","page-break","change:isEnabled","href","_onUiReady","border-box","1567320DropPt","top","100px","_getAttachedDomRoot","offset","from","removeEventListener","display","toModelElement","pageBreaks","nodeType","init","join","10mm","div","entries","PaginationLookup","style","destroy","table-cell","_mapTextPageStarterInfoToPageBreakInfo","className","endOffset","map","left","render","_mapElementPageStarterInfoToPageBreakInfo","pluginName","406842FtIiSj","every","pagination-config-not-found","shift","mapper","values","width","DOCUMENT_POSITION_PRECEDING","editor","plugins","setStart","_domNode"," 0 ","pagination","_findPageStarterInfos","text","resolve","ready","excludeScrollbarsAndBorders","createRangeOn","window","closest","root","once","manual","getDomRoot","45IEfSeK","path","view","_pagesContainer","6CxYRnA","removeAttribute","indexOf","img","setEnd","get","set","assign","endContainer","_mapManualPageStarterInfoToPageBreakInfo","_updatePageBreaksData","selectNode","error","209636BhEEzH","insertBefore","bottom","ceil","scrollLeft","none","document","domRoots","modelRange","ck-fake-selection-container","auto","getComputedStyle","childElementCount","locale","paddingRight","startContainer","hasAttribute","ELEMENT_NODE","calc( ","low","rootElement","_offset","complete","right","getAncestors","domConverter","sort","domPositionToView","isPremiumPlugin","offsetParent","figure.image","_configuredPaddings","bindTemplate","remove","length","rootName","previousSibling","classList","parent","selectNodeContents",".page-break","index","nodeBefore","2419380vRLgIi","createPositionBefore","model","append","pagination.pageMargins","load","parentElement","ck-pagination-view","setTemplate","element","then","dataset","attributeStyleMap","mapViewToDom","-99999px","position","float","all","update","fromCharCode","paddingLeft","clear","firstChild","TEXT_NODE","class","bind","18796770RvKxwv","toModelPosition","floor","nextSibling","startOffset","childNodes","body","findMappedViewAncestor","3xjZArN","isOfficialPlugin","451280auYgET","ck-reset","parentNode","config","isTouching","race","round","type","querySelectorAll","listenTo","previousElementSibling","textOffset","contains","isEnabled","imageBlock"];return(d=function(){return t})()}function g(t,e,n,i){const s=r,a=o.global[s(597)][s(506)]();return a[s(558)](t,e),a[s(582)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(473)][s(535)]()){let t=[];y(c)&&c[s(428)]&&!c[s(537)][s(457)]?t=b(c,r,e,n,i,o):I(c)&&(t=v(c,r,e,n,o)),t[s(433)]&&(a[s(499)](...t),e+=t[s(433)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(435)])&&y(l)&&Boolean(l[c(436)][c(490)](c(515))||l[c(569)](c(439)))&&(u[c(499)]({type:c(572),offset:0,path:[e-1]}),a=!0),c(507)==o.global[c(568)][c(602)](t)[c(527)]){let i=0,o=!1;for(const e of t[c(493)]())i+=e[c(505)],e[c(544)]>=n&&(o=!0);if(i<s&&o)return u[c(499)]({type:c(451),offset:0,path:[e]}),u}const p=t[c(569)](c(429));if(p&&function(t){const e=c;let n=!1;const i=t[e(448)][e(453)][e(434)],s=t[e(502)],r=t[e(488)],a=s&&o.global[e(568)][e(602)](s)[e(458)],u=s&&e(600)===s[e(541)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(596)!==a&&(n=!0),!n}(p)){const t=o.global[c(568)][c(602)](p)[c(458)];if(c(544)==t||c(422)==t)return u}const f=m(t,n,i,s,a);if(f[c(433)]){for(const t of f)u[c(499)]({type:t[c(485)],offset:t[c(524)],textOffset:t[c(489)],path:[e,...t[c(575)]]}),n+=i,a=!1;return u}return u[c(499)](...function(t,e,n,i,s){const r=c,a=[];if(r(539)==o.global[r(568)][r(602)](t)[r(527)])return[];const u=[];for(const e of t[r(493)]())if(e[r(544)]>=n){for(const t of u)t[r(505)]+=e[r(505)];u[r(499)]({height:e[r(505)]}),n+=i}for(const t of u)s||a[r(499)]({type:r(451),offset:t[r(505)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function v(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(493)]())if(r[s(544)]>=n){const r=k(t,u,n,i);o||c[s(499)]({type:s(563),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(433)];for(;a-s>1;){const e=Math[o(594)]((s+a)/2);w(h(t,s,e),n,i)?a=e:s=e}return s}function w(t,e,n){const i=r;for(const o of t[i(493)]())if(o[i(544)]>=e&&o[i(544)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(530)]==Node[e(416)]}function I(t){const e=r;return t[e(530)]==Node[e(465)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),S=n(262),E=n.n(S),T=n(667),C=n.n(T),A=n(357),R=n.n(A),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=C(),O.insert=E().bind(null,"head"),O.domAPI=N(),O.insertStyleElement=R();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function D(t,e){const n=B();return(D=function(t,e){return n[t-=131]})(t,e)}function B(){const t=["1998454kzLlku","width","140895DhdZgi","bindTemplate","1912939JXkcQO","999976RvDhYi","201287wpjOMn","20554362AXappp","2733985NISxrZ","isVisible","set","left","top","pageNumber","48YJmBMb","18zuCQJP","setTemplate","ck-hidden","div","ck-pagination-view-line"];return(B=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(667761===-parseInt(e(148))/1+-parseInt(e(142))/2+parseInt(e(144))/3*(-parseInt(e(136))/4)+-parseInt(e(150))/5+parseInt(e(137))/6*(parseInt(e(146))/7)+-parseInt(e(147))/8+parseInt(e(149))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const K=(0,o.toUnit)("px");class M extends e.View{constructor(){const t=D;super();const e=this[t(145)];this[t(132)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(138)]({tag:t(140),attributes:{"data-page-number":e.to(t(135)),class:["ck",t(141),e.if(t(131),t(139),(t=>!t))],style:{left:e.to(t(133),(t=>K(t))),top:e.to(t(134),(t=>K(t))),width:e.to(t(143),(t=>K(t)))}}})}}const j=G;function V(){const t=["2339541bGdCkS","286254FvJQWB","body","2706175ZoJxUd","delete","showLine","7642195IufQtE","2666094wfFBHz","isVisible","cleanLines","setViewCollection","_hiddenLines","4irXhmd","2947992ejzZas","_viewCollection","368462CVXMjO","add","remove","1EywCOy","10MnnJrE","_visibleLines","values","clear","has","7CznoFs","view","destroy","size","set"];return(V=function(){return t})()}function G(t,e){const n=V();return(G=function(t,e){return n[t-=263]})(t,e)}!function(t){const e=G,n=t();for(;;)try{if(461938===parseInt(e(274))/1*(parseInt(e(271))/2)+parseInt(e(286))/3+parseInt(e(268))/4*(parseInt(e(288))/5)+parseInt(e(263))/6*(parseInt(e(280))/7)+-parseInt(e(269))/8+parseInt(e(285))/9*(parseInt(e(275))/10)+-parseInt(e(291))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class U{[j(270)];[j(276)]=new Set;[j(267)]=new Set;constructor(t){const e=j;this[e(270)]=t.ui[e(281)][e(287)]}[j(282)](){const t=j;for(const e of this[t(267)])e[t(282)]()}[j(265)](){const t=j;for(const e of this[t(276)])e[t(264)]=!1,this[t(267)][t(272)](e);this[t(276)][t(278)]()}[j(290)](t,e,n,i){const s=j;let r;this[s(267)][s(283)]?(r=(0,o.first)(this[s(267)][s(277)]()),this[s(267)][s(289)](r)):r=new M,r[s(284)]({pageNumber:i,left:t,top:e,width:n}),r[s(264)]=!0,this[s(270)][s(279)](r)||this[s(270)][s(272)](r),this[s(276)][s(272)](r)}[j(266)](t){const e=j;for(const t of[...this[e(276)],...this[e(267)]])this[e(270)][e(279)](t)&&this[e(270)][e(273)](t);this[e(270)]=t}}const z=Y;function F(){const t=["_getPageBreakLineOffset","scrollToPage","addClass","_updatePageBreakLines","pluginName","_scrollableEditingRootDomAncestor","excludeScrollbarsAndBorders","PaginationLookup","values","top","domRoots","overflowY","listenTo","_getAttachedDomRoot","bottom","offset","auto","plugins","update","setupScrollableAncestor","_onUiReady","showLine","width","isEnabled","4377SBfQvd","5JxBPXL","scroll","isOfficialPlugin","init","get","_paginationLookupPlugin","document","left","PaginationRenderer","isPremiumPlugin","BODY","once","70866mOiQkm","_resizeObserver","scrollTop","180PDeyKu","234SvDYpk","resize","1140968LFdTNM","editor","getComputedStyle","PaginationEditing","change:pageBreaks","editing","destroy","stopListening","smooth","roots","_renderPageBreakLines","scrollLeft","322908CaUptH","isMotionReduced","415778DGppmk","58767ZSdJfX","length","height","ready","push","7mSVqqF","contains","bind","ck-pagination_enabled","tagName","body","_toggleEditingRootsClass","ownerDocument","window","parentElement","removeClass","linesRepository","cleanLines","set","scrollTo","pageBreaks","506208BzxVSq","instant","pageNumber","72VtUAdP","change","view","change:isEnabled"];return(F=function(){return t})()}function Y(t,e){const n=F();return(Y=function(t,e){return n[t-=126]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(121940===parseInt(e(152))/1+parseInt(e(135))/2*(parseInt(e(204))/3)+parseInt(e(149))/4*(-parseInt(e(205))/5)+parseInt(e(173))/6*(-parseInt(e(157))/7)+parseInt(e(137))/8+parseInt(e(131))/9*(parseInt(e(134))/10)+-parseInt(e(151))/11*(parseInt(e(176))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);const Z=z(160);class q extends t.Plugin{[z(168)];[z(185)]=null;[z(132)]=null;[z(210)];static get[z(184)](){return z(127)}static get[z(207)](){return!0}static get[z(128)](){return!0}[z(208)](){const t=z;this[t(170)]({pageNumber:1}),this[t(168)]=new U(this[t(138)]),this[t(185)]=null,this[t(132)]=null,this[t(210)]=this[t(138)][t(197)][t(209)](t(187)),this[t(159)](t(203)).to(this[t(138)][t(197)][t(209)](t(140))),this[t(138)].ui[t(130)](t(155),(()=>this[t(200)]())),this[t(163)](Z),this.on(t(179),((e,n,i)=>{const o=t;i||this[o(168)][o(169)](),this[o(163)](Z,i)}))}[z(143)](){const t=z;this[t(163)](Z,!1),this[t(168)][t(143)](),this[t(185)]=null,this[t(132)]&&this[t(132)][t(143)]()}[z(181)](t){const e=z;if(!this[e(203)])return;const n=t>1?this[e(180)](t-1):0;this[e(185)][e(171)]({top:n-10,left:this[e(185)][e(148)],behavior:o.env[e(150)]?e(174):e(145)})}[z(199)](){const t=z,e=this[t(138)],n=this[t(193)]();n?(this[t(185)]&&e.ui[t(178)][t(144)](this[t(185)],t(206)),this[t(185)]=function(e){const n=t;let i=e;do{i=i[n(166)];const t=o.global[n(165)][n(139)](i)[n(191)];if(n(196)==t||n(206)==t)break}while(n(129)!=i[n(161)]);return i}(n),e.ui[t(178)][t(192)](this[t(185)],t(206),(()=>{this[t(183)]()}),{usePassive:!0}),this[t(132)]&&this[t(132)][t(143)](),this[t(132)]=new o.ResizeObserver(this[t(185)],(()=>{this[t(183)]()}))):e.ui[t(130)](t(198),(()=>this[t(199)]()))}[z(200)](){const t=z,e=this[t(138)];this[t(193)]()?(this[t(199)](),e.ui[t(178)][t(192)](o.global[t(165)],t(136),(()=>this[t(183)]())),this[t(192)](this[t(210)],t(141),(()=>this[t(183)]()))):e.ui[t(130)](t(198),(()=>this[t(200)]()))}[z(193)](){const t=z;for(const e of this[t(138)][t(142)][t(178)][t(190)][t(188)]())if(e[t(164)][t(162)][t(158)](e))return e;return null}[z(183)](){const t=z;if(!this[t(203)])return;const e=this[t(193)](),n=this[t(210)][t(172)];if(this[t(168)][t(169)](),!e||1==n[t(153)])return void(this[t(175)]=1);const i=new o.Rect(e)[t(186)](),s=new o.Rect(this[t(185)])[t(186)](),r=s[t(189)]+s[t(154)]/3;let a=!1;const c=[];for(let e=1;e<n[t(153)];e++){const n=this[t(180)](e,s);if(!n)continue;const o=s[t(189)]+n-this[t(185)][t(133)];c[t(156)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(175)]=e,a=!0)}this[t(147)](c),a||(this[t(175)]=n[t(153)])}[z(147)](t){const e=z,{scrollX:n,scrollY:i}=o.global[e(165)];if(t[e(153)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(189)]<s&&s<o[e(194)]&&this[e(168)][e(201)](r[e(126)]+n,s+i,r[e(202)],a+1)}[z(180)](t,e=null){const n=z,i=this[n(210)][n(172)][t][n(195)];return i?(e||(e=new o.Rect(this[n(185)])[n(186)]()),i-e[n(189)]+this[n(185)][n(133)]):0}[z(163)](t,e=!0){const n=z,i=this[n(138)][n(142)][n(178)];i[n(177)]((o=>{const s=n;for(const n of i[s(211)][s(146)])e?o[s(182)](t,n):o[s(167)](t,n)}))}}function J(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var W=n(761),X={attributes:{"data-cke":!0}};X.setAttributes=C(),X.insert=E().bind(null,"head"),X.domAPI=N(),X.insertStyleElement=R();x()(W.A,X);W.A&&W.A.locals&&W.A.locals;function H(){const t=["editor","Go to the next page (also move selection)","invalid","paginationLicenseKeyValid","config","setStyle","createPositionAt","getContainedElement","locale","keystrokes","isOfficialPlugin","pagination","change","paginationLicenseKeyDomainLimit","forward","editing","data-pagination-page","insert","writer","schema","nodeAfter","841832xIYojk","options","add","Keystrokes for navigating through documents","type","9DsgCDE","Shift+Pageup","pageBreaks","setSelection","length","addKeystrokeInfoGroup","_showLicenseError","_setUpDataDowncastConversion","span","addMarker","$text","offset","_licenseKeyCheckInterval","trialLimit","paginationLicenseKeyUsageLimit","domainLimit","setAttribute","accessibility","paginationLicenseKeyEvaluationLimit","substring","14xXUCPs","name","dataDowncast","always","checkChild","goToNextPage","consume","scrollToPage","paginationLicenseKeyNotAllowed","pluginName","set","paginationLicenseKeyExpired","Shift+Pagedown","has","text","plugins","moveSelectionToPage","start","paginationLicenseKeyTrialLimit","get","index","page-break","PaginationEditing","page-break-before","paginationLicenseKeyInvalid","1130016TTafKY","updateMarker","stop","623814dpYNkY","requires","root","pageNumber","_validatePageNumber","view","usageLimit","isPremiumPlugin","licenseKey","isEnabled","getNearestSelectionRange","29450SbKifZ","33ghrukq","hasClass","change:pageBreaks","bindElementToMarker","toViewPosition","featureNotAllowed","textNode","mapper","toViewElement","data","_updatePageBreakMarkers","createContainerElement","init","getFillerOffset","conversion","manual","focus","_setupKeystrokes","parent","destroy","108776tTnsym","Go to the previous page (also move selection)","for","1634148KKZQhq","model","bind","goToPreviousPage","155430BkONeU","listenTo","markers","removeMarker","pagination:","addMarker:","modelRange","Pagination","63MnCujM","156gsfTYu","end","consumable","totalPages","evaluationLimit","expired","element"];return(H=function(){return t})()}const Q=$;function $(t,e){const n=H();return($=function(t,e){return n[t-=415]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(368502===parseInt(e(543))/1+-parseInt(e(446))/2*(parseInt(e(495))/3)+-parseInt(e(462))/4*(-parseInt(e(425))/5)+parseInt(e(540))/6+-parseInt(e(515))/7*(parseInt(e(490))/8)+-parseInt(e(461))/9*(-parseInt(e(453))/10)+-parseInt(e(426))/11*(parseInt(e(449))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class tt extends t.Plugin{[Q(422)];[Q(507)];static get[Q(524)](){return Q(537)}static get[Q(479)](){return!0}static get[Q(421)](){return!0}static get[Q(415)](){return[c,q]}[Q(438)](){const t=Q;this[t(525)]({pageNumber:1,totalPages:1});const e=this[t(469)][t(530)][t(534)](t(460)),n=this[t(469)][t(530)][t(534)](c),i=this[t(469)][t(530)][t(534)](q);this[t(451)](t(423)).to(e),this[t(502)](),this[t(451)](t(417)).to(i),this[t(454)](n,t(428),((e,n,i,o)=>{const s=t;this[s(465)]=i[s(499)],this[s(436)](i,o)})),this[t(443)](),this[t(422)]=this[t(469)][t(473)][t(534)](t(422));const o=this[t(469)];this[t(507)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(472)==s||e(539)==s||e(526)==s||e(482)==s||e(523)==s||e(513)==s||e(533)==s||e(509)==s){delete o[i],n=s,clearInterval(this[e(507)]),this[e(507)]=void 0;break}}e(539)==n&&o[e(501)](e(471)),e(526)==n&&o[e(501)](e(467)),e(482)==n&&o[e(501)](e(510)),e(523)==n&&o[e(501)](e(431),e(460)),e(513)==n&&o[e(501)](e(466)),e(533)==n&&o[e(501)](e(508)),e(509)==n&&o[e(501)](e(420))}),1e3)}[Q(445)](){const t=Q;super[t(445)](),this[t(507)]&&clearInterval(this[t(507)])}[Q(522)](t){const e=Q;this[e(423)]&&this[e(469)][e(530)][e(534)](q)[e(522)](this[e(418)](t))}[Q(531)](t){const e=Q;if(!this[e(423)])return;const n=this[e(469)],i=this[e(469)][e(530)][e(534)](c)[e(497)][t-1];i&&n[e(450)][e(481)]((t=>{const o=e;switch(i[o(494)]){case o(441):{const e=n[o(450)][o(488)][o(424)](i[o(459)][o(463)],o(483));t[o(498)](e);break}case o(468):{const e=n[o(450)][o(488)][o(424)](i[o(459)][o(532)],o(483));t[o(498)](e);break}case o(529):{const e=i[o(459)][o(532)];if(e[o(432)]&&" "===e[o(432)][o(435)][e[o(506)]]){const n=t[o(475)](e[o(444)],e[o(506)]+1);t[o(498)](n)}else t[o(498)](i[o(459)])}}n[o(484)][o(419)][o(442)]()}))}[Q(520)](){const t=Q,e=this[t(418)](this[t(417)]+1);this[t(531)](e),this[t(522)](e)}[Q(452)](){const t=Q,e=this[t(418)](this[t(417)]-1);this[t(531)](e),this[t(522)](e)}[Q(436)](t,e){const n=Q,i=this[n(469)][n(450)];this[n(423)]&&i[n(481)]((o=>{const s=n;for(let e=1;e<t[s(499)];e++){const n=t[e][s(459)],r=s(457)+(e+1);i[s(455)][s(528)](r)?o[s(541)](r,{range:n}):o[s(504)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(499)];n<e[s(499)];n++){const t=s(457)+(n+1);i[s(455)][s(528)](t)&&o[s(456)](t)}}))}[Q(502)](){const t=Q,e=t(480);this[t(469)][t(440)][t(448)](t(517))[t(492)]((n=>{const i=t;n.on(i(458)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(491)][s(480)])return;if(!o[s(464)][s(521)](e,t[s(516)]))return;const r=e[s(476)]();let a=r?o[s(433)][s(434)](r):null;if(!a){const t=e[s(532)];if(o[s(488)][s(519)](t,s(505))){const e=o[s(433)][s(430)](t);a=o[s(487)][s(437)](s(503)),a[s(439)]=()=>null,o[s(487)][s(486)](e,a)}else{const e=t[s(489)];a=o[s(433)][s(434)](e)}}for(;a[s(444)]!==a[s(416)]&&0===a[s(535)];)a=a[s(444)];const c=n[s(514)](11);a[s(427)](s(536))||(o[s(487)][s(474)](s(538),s(518),a),o[s(487)][s(511)](s(485),c,a),o[s(433)][s(429)](a,n)),t[s(542)]()}))}))}[Q(443)](){const t=Q,e=this[t(469)];e[t(478)][t(525)](t(496),((e,n)=>{this[t(452)](),n()})),e[t(478)][t(525)](t(527),((e,n)=>{this[t(520)](),n()})),e[t(512)][t(500)]({id:t(480),label:J(e[t(477)],t(493)),keystrokes:[{label:J(e[t(477)],t(447)),keystroke:t(496),mayRequireFn:!0},{label:J(e[t(477)],t(470)),keystroke:t(527),mayRequireFn:!0}]})}[Q(418)](t){const e=Q;return t<1&&(t=1),t>this[e(465)]&&(t=this[e(465)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=C(),it.insert=E().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=R();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-=348]})(t,e)}function rt(){const t=["2533468OMZnVW","render","isReadOnly","span","valueAsNumber","pageNumberView","set","fire","keyCode","16xIRhju","bindTemplate","997821pgLsjk","ariaLabel","2333148FJvHVl","1021419vzDOUm","preventDefault","isEnabled","ArrowDown","numeric","51696oGxWuS","setTemplate","element","9WrekIs","focus","checkValidity","select","keydown","Current page number (from 1 to %0)","div","listenTo","firstChild","pageNumber","key","max","navigation","173636AuFgyd","ArrowUp","blur","859440RKgwnu","enter","totalPages","ck-disabled","ck-page-navigator","stopPropagation","value","change:pageNumber","isNaN","bind"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(269310===parseInt(e(380))/1*(parseInt(e(377))/2)+-parseInt(e(372))/3+-parseInt(e(393))/4+parseInt(e(348))/5+parseInt(e(371))/6+-parseInt(e(358))/7+parseInt(e(367))/8*(parseInt(e(369))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(363)];constructor(t){const n=ot;super(t);const i=this[n(368)];this[n(364)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(363)]=new e.InputNumberView(t,{min:1,step:1}),this[n(363)][n(364)]({inputMode:n(376),tabIndex:-1}),this[n(363)][n(357)](n(370)).to(this,n(350),(e=>J(t,n(385),e))),this[n(363)][n(357)](n(391)).to(this,n(350)),this[n(363)][n(357)](n(360)).to(this,n(374),(t=>!t)),this[n(378)]({tag:n(386),attributes:{class:["ck",n(352),i.if(n(374),n(351),(t=>!t))]},children:[this[n(363)],{tag:n(361),children:[{text:i.to(n(350))}]}]})}[ot(359)](){const t=ot;super[t(359)]();const e=this[t(363)][t(379)],n=e=>{const n=t;this[n(363)][n(379)][n(354)]=String(e)};n(this[t(389)]),this.on(t(355),((t,e,i)=>{n(i)})),this[t(387)](e,t(384),((n,i)=>{const s=t;if(s(394)===i[s(390)]||s(375)===i[s(390)])return void i[s(353)]();if(i[s(366)]!==o.keyCodes[s(349)])return;i[s(373)]();const r=e[s(362)];Number[s(356)](r)?e[s(354)]=String(this[s(389)]):(e[s(382)]()?this[s(389)]=r:r>this[s(350)]?(this[s(389)]=this[s(350)],e[s(354)]=String(this[s(350)])):(this[s(389)]=1,e[s(354)]="1"),this[s(365)](s(392),this[s(389)]))})),this[t(387)](e,t(395),(()=>{const n=t;e[n(354)]=String(this[n(389)])})),this[t(387)](e,t(381),(()=>{const e=t;this[e(363)][e(383)]()}))}[ot(381)](){const t=ot;this[t(379)][t(388)][t(381)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=230]})(t,e)}function lt(){const t=["561225jbvhDl","isEnabled","add","goToPreviousPage","383605kCgZQb","PaginationUI","moveSelectionToPage","10765KZjVFz","244936RLuViL","53286BRjqax","PaginationEditing","pageNumber","listenTo","2764584lYowem","pageNavigation","1266KDwnHc","pluginName","locale","plugins","Shift+PageUp","componentFactory","goToNextPage","isOfficialPlugin","Shift+PageDown","label","bind","totalPages","isPremiumPlugin","nextPage","execute","navigation","init","4822040Sptmoj","editor","get","previousPage","tooltip","keystroke","10oolEWt","Go to previous page","icon","scrollToPage","Go to next page"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(313658===-parseInt(e(268))/1+parseInt(e(259))/2*(parseInt(e(230))/3)+-parseInt(e(272))/4+-parseInt(e(271))/5*(-parseInt(e(236))/6)+-parseInt(e(264))/7+parseInt(e(253))/8+-parseInt(e(234))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(237)](){return ct(269)}static get[ct(243)](){return!0}static get[ct(248)](){return!0}[ct(252)](){const t=ct,n=this[t(254)],i=n[t(239)][t(255)](t(231));n.ui[t(241)][t(266)](t(235),(e=>{const n=t,o=new at(e);return o[n(246)](n(232)).to(i),o[n(246)](n(247)).to(i),o[n(246)](n(265)).to(i),o.on(n(251),((t,e)=>{const o=n;i[o(270)](e),i[o(262)](e)})),o})),n.ui[t(241)][t(266)](t(249),(o=>{const s=t,r=new e.ButtonView(o);return r[s(265)]=!0,r[s(245)]=J(n[s(238)],s(263)),r[s(261)]=et.IconArrowDown,r[s(257)]=!0,r[s(258)]=s(244),r[s(246)](s(265)).to(i),this[s(233)](r,s(250),(()=>{i[s(242)]()})),r})),n.ui[t(241)][t(266)](t(256),(o=>{const s=t,r=new e.ButtonView(o);return r[s(265)]=!0,r[s(245)]=J(n[s(238)],s(260)),r[s(261)]=et.IconArrowUp,r[s(257)]=!0,r[s(258)]=s(240),r[s(246)](s(265)).to(i),this[s(233)](r,s(250),(()=>{i[s(267)]()})),r}))}}const ft=ht;function ht(t,e){const n=dt();return(ht=function(t,e){return n[t-=425]})(t,e)}function dt(){const t=["requires","forceDisabled","ready","editor","pagination.enableOnUnsupportedBrowsers","plugins","6054MzKUar","config","4708986ybsxvg","browserCheck","pageNumber","3985182ckKCrN","isOfficialPlugin","bind","pluginName","scrollToPage","6175876uZWWhe","init","isBlink","set","2605lJfKUO","2455450RbidqS","Pagination","1573113sfKcVD","232qCLoGd","get","70609ADUGDj","isPremiumPlugin","isEnabled","40oefMZH","totalPages"];return(dt=function(){return t})()}!function(t){const e=ht,n=t();for(;;)try{if(822173===parseInt(e(438))/1+parseInt(e(436))/2+parseInt(e(454))/3+-parseInt(e(431))/4+parseInt(e(435))/5*(-parseInt(e(452))/6)+parseInt(e(441))/7*(parseInt(e(439))/8)+parseInt(e(426))/9*(-parseInt(e(444))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ft(429)](){return ft(437)}static get[ft(427)](){return!0}static get[ft(442)](){return!0}static get[ft(446)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(443)]=!1}[ft(432)](){const t=ft;this[t(434)]({pageNumber:1,totalPages:1});const e=this[t(449)][t(451)][t(440)](tt);this[t(428)](t(425)).to(e),this[t(428)](t(445)).to(e),o.env[t(433)]||this[t(449)][t(453)][t(440)](t(450))?this[t(449)].on(t(448),(()=>{this[t(443)]=!0})):this[t(447)](t(455))}[ft(430)](t){const e=ft;this[e(449)][e(451)][e(440)](tt)[e(430)](t)}}function mt(){var t=["403960zrKOZi","11JMlcti","3458eytPGb","180DuNupk","3052917FtYQlC","2659890vZXPiP","5hBsvwE","365IcSawE","213936YCVsOK","1539042KuTILS","19254180wumNEz"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=285]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(354653===-parseInt(e(289))/1*(parseInt(e(295))/2)+-parseInt(e(291))/3+parseInt(e(293))/4+parseInt(e(288))/5*(parseInt(e(287))/6)+-parseInt(e(286))/7+parseInt(e(290))/8*(-parseInt(e(285))/9)+parseInt(e(292))/10*(parseInt(e(294))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x16be1c}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x22aa3a,InputNumberView as _0x2b0cc5,ButtonView as _0x5edb50}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x1b74fb,Rect as _0x3b23f8,global as _0x43d451,uid as _0x398434,toUnit as _0x322724,first as _0x1de537,env as _0x44d478,ResizeObserver as _0x429134,keyCodes as _0x25144b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2034c7}from'es-toolkit/compat';import{IconArrowDown as _0x32408f,IconArrowUp as _0x531bc5}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x16be1c{['_recalculatePageBreaksDebounced']=_0x2034c7(()=>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 _0x1b74fb('pagination-config-not-found',this['editor']['config']);const _0x5b1e1b=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5b1e1b),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x405795,_0x233ba0,_0xb559fc)=>{_0xb559fc&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x11a36c){const _0x801eae=_0x4394eb([0x35,0x6c,0x4a,0x47,0x49,0x6e,0x34,0x78,0x64,0x72,0x68,0x56,0x73,0x65,0x62,0x79,0x4e,0x51,0x7a,0x5a,0x57,0x45,0x66,0x76,0x43,0x54,0x50,0x4d,0x69,0x33,0x74,0x52,0x32,0x6a,0x46,0x39,0x6d,0x37,0x71,0x77,0x42,0x63,0x70,0x67,0x4b,0x58,0x6f,0x38,0x31,0x59,0x36,0x48,0x55,0x6b,0x53,0x41,0x75,0x61,0x44,0x4f,0x4c,0x30]),_0x5c59c3=0x68336c17,_0x460183=0x68340fdf^_0x5c59c3,_0x1469a9=window[_0x4394eb([0x44,0x61,0x74,0x65])][_0x4394eb([0x6e,0x6f,0x77])](),_0x4c4183=_0x11a36c[_0x4394eb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51b243=new window[(_0x4394eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31d308=>{_0x4c4183[_0x4394eb([0x6f,0x6e,0x63,0x65])](_0x4394eb([0x72,0x65,0x61,0x64,0x79]),_0x31d308);}),_0x39999f={[_0x4394eb([0x6b,0x74,0x79])]:_0x4394eb([0x45,0x43]),[_0x4394eb([0x75,0x73,0x65])]:_0x4394eb([0x73,0x69,0x67]),[_0x4394eb([0x63,0x72,0x76])]:_0x4394eb([0x50,0x2d,0x32,0x35,0x36]),[_0x4394eb([0x78])]:_0x4394eb([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]),[_0x4394eb([0x79])]:_0x4394eb([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]),[_0x4394eb([0x61,0x6c,0x67])]:_0x4394eb([0x45,0x53,0x32,0x35,0x36])},_0x256cd6=_0x4c4183[_0x4394eb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4394eb([0x67,0x65,0x74])](_0x4394eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x239a96(){let _0xb275c9,_0x4d302a=null,_0x1e382b=null;try{if(_0x256cd6==_0x4394eb([0x47,0x50,0x4c]))return _0x4394eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb275c9=_0x2b7511(),!_0xb275c9)return _0x4394eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb275c9[_0x4394eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e382b=_0x38ae42(_0xb275c9[_0x4394eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb275c9[_0x4394eb([0x6a,0x74,0x69])])),await _0x9b3d90()?_0x310b02()?_0x4d9721()?_0x4394eb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3448dc()?(_0xb275c9[_0x4394eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4394eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d302a=_0x501e7c(_0x4394eb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xb275c9[_0x4394eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4394eb([0x74,0x72,0x69,0x61,0x6c])&&(_0x4d302a=_0x501e7c(_0x4394eb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x7125a()):_0x4394eb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4394eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4394eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x132751){return _0x4394eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d9721(){const _0x56fd1a=[_0x4394eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4394eb([0x74,0x72,0x69,0x61,0x6c])][_0x4394eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb275c9[_0x4394eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1469a9/0x3e8:0xe10*_0x460183;return _0xb275c9[_0x4394eb([0x65,0x78,0x70])]<_0x56fd1a;}function _0x310b02(){const _0x1e1df7=_0xb275c9[_0x4394eb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e1df7&&(!!_0x1e1df7[_0x4394eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4394eb([0x2a]))||!!_0x1e1df7[_0x4394eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4394eb([0x50,0x41,0x47])));}function _0x3448dc(){const _0x758043=_0xb275c9[_0x4394eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x758043||0x0==_0x758043[_0x4394eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4be826}=new URL(window[_0x4394eb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x758043[_0x4394eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4be826))return!0x0;const _0x30ff9e=_0x4be826[_0x4394eb([0x73,0x70,0x6c,0x69,0x74])](_0x4394eb([0x2e]));return _0x758043[_0x4394eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf53567=>_0xf53567[_0x4394eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4394eb([0x2a])))[_0x4394eb([0x6d,0x61,0x70])](_0x46aadf=>_0x46aadf[_0x4394eb([0x73,0x70,0x6c,0x69,0x74])](_0x4394eb([0x2e])))[_0x4394eb([0x73,0x6f,0x6d,0x65])](_0xbfa39d=>_0x30ff9e[_0x4394eb([0x65,0x76,0x65,0x72,0x79])]((_0x8285f5,_0x3365d2)=>_0xbfa39d[_0x3365d2]===_0x8285f5||_0xbfa39d[_0x3365d2]===_0x4394eb([0x2a])));}function _0x7125a(){return _0x4d302a&&_0x1e382b?new window[(_0x4394eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2780a5,_0x3035b4)=>{_0x4d302a[_0x4394eb([0x74,0x68,0x65,0x6e])](_0x2780a5,_0x3035b4),_0x1e382b[_0x4394eb([0x74,0x68,0x65,0x6e])](_0x21be1c=>{_0x21be1c!=_0x4394eb([0x56,0x61,0x6c,0x69,0x64])&&_0x2780a5(_0x21be1c);},_0x3035b4);}):_0x4d302a||_0x1e382b||_0x4394eb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38ae42(_0x820c48,_0x199e12){return new window[(_0x4394eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x126543=>{if(_0x4a2174())return _0x126543(_0x4394eb([0x56,0x61,0x6c,0x69,0x64]));_0x48966a(),_0x4c4183[_0x4394eb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4394eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x439967=!0x1;const _0x468795=_0x398434();function _0x2a8ed1(_0x4b2e95){return!!_0x4b2e95&&(typeof _0x4b2e95===_0x4394eb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b2e95===_0x4394eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b2e95[_0x4394eb([0x74,0x68,0x65,0x6e])]===_0x4394eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b2e95[_0x4394eb([0x63,0x61,0x74,0x63,0x68])]===_0x4394eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d74ac(_0x2b56f7){_0x4d686e(_0x2b56f7)[_0x4394eb([0x74,0x68,0x65,0x6e])](_0x5ec756=>{if(!_0x5ec756||_0x5ec756[_0x4394eb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4394eb([0x6f,0x6b]))return _0x4394eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x485be2(_0x2a2f07(_0x468795+_0x199e12))!=_0x5ec756[_0x4394eb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4394eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4394eb([0x56,0x61,0x6c,0x69,0x64]);})[_0x4394eb([0x74,0x68,0x65,0x6e])](_0x56a8dc=>(_0x88c6e(),_0x56a8dc),()=>{const _0x1915f4=_0x2fc448();return null==_0x1915f4?(_0x88c6e(),_0x4394eb([0x56,0x61,0x6c,0x69,0x64])):_0x4394eb(_0x1469a9-_0x1915f4>(0x4c3fe817^_0x5c59c3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4394eb([0x74,0x68,0x65,0x6e])](_0x126543)[_0x4394eb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x126543(_0x4394eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c0d8a=0x68058297^_0x5c59c3;function _0x88c6e(){const _0x41b843=_0x4394eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x485be2(_0x2a2f07(_0x820c48)),_0x382c18=_0x126ab7(_0x485be2(window[_0x4394eb([0x4d,0x61,0x74,0x68])][_0x4394eb([0x63,0x65,0x69,0x6c])](_0x1469a9/_0x1c0d8a)));window[_0x4394eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4394eb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41b843,_0x382c18);}function _0x2fc448(){const _0x22e5b9=_0x4394eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x485be2(_0x2a2f07(_0x820c48)),_0x2f3829=window[_0x4394eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4394eb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22e5b9);return _0x2f3829?window[_0x4394eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x126ab7(_0x2f3829),0x10)*_0x1c0d8a:null;}function _0x4d686e(_0x330c70){return new window[(_0x4394eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x445f26,_0x1a65b5)=>{_0x330c70[_0x4394eb([0x74,0x68,0x65,0x6e])](_0x445f26,_0x1a65b5),window[_0x4394eb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a65b5,0x6832b8d7^_0x5c59c3);});}}_0x4c4183[_0x4394eb([0x6f,0x6e])](_0x4394eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x124bc7,_0x3522da)=>{if(_0x3522da[0x0]!=_0x820c48)return _0x126543(_0x4394eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3522da[0x1]={..._0x3522da[0x1],[_0x4394eb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x468795};},{[_0x4394eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4394eb([0x68,0x69,0x67,0x68])}),_0x4c4183[_0x4394eb([0x6f,0x6e])](_0x4394eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ec72f=>{_0x2a8ed1(_0x2ec72f[_0x4394eb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x439967=!0x0,_0x4d74ac(_0x2ec72f[_0x4394eb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4394eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4394eb([0x6c,0x6f,0x77])}),_0x51b243[_0x4394eb([0x74,0x68,0x65,0x6e])](()=>{_0x439967||_0x126543(_0x4394eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a2174(){return _0x4c4183[_0x4394eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4394eb([0x76,0x69,0x65,0x77])][_0x4394eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4394eb([0x61,0x75,0x74,0x6f]);}function _0x48966a(){_0x4c4183[_0x4394eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4394eb([0x76,0x69,0x65,0x77])][_0x4394eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4394eb([0x61,0x75,0x74,0x6f]);}}function _0x501e7c(_0x5501f3){const _0x487207=[new window[(_0x4394eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57b82c=>setTimeout(_0x57b82c,0x683a52db^_0x5c59c3)),_0x51b243[_0x4394eb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4394eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30a352=>{let _0x24db24=0x0;_0x4c4183[_0x4394eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4394eb([0x6f,0x6e])](_0x4394eb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a2146,_0xf8f7f7)=>{_0xf8f7f7[0x0][_0x4394eb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24db24++,_0x24db24==(0x68336def^_0x5c59c3)&&(_0x30a352(),_0x3a2146[_0x4394eb([0x6f,0x66,0x66])]());});}))];return window[_0x4394eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4394eb([0x72,0x61,0x63,0x65])](_0x487207)[_0x4394eb([0x74,0x68,0x65,0x6e])](()=>_0x5501f3);}async function _0x15e9c4(){await _0x51b243,_0x4c4183[_0x4394eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4394eb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x567e22,_0x4c4183[_0x4394eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4394eb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x567e22,_0x4c4183[_0x4394eb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4394eb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x340639(_0x5cd2e2){const _0x182cb1=_0x159d43();_0x4c4183[_0x182cb1]=_0x4394eb([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5cd2e2,_0x5cd2e2!=_0x4394eb([0x56,0x61,0x6c,0x69,0x64])&&_0x15e9c4();}function _0x159d43(){const _0x4d2e09=window[_0x4394eb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4394eb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4394eb([0x6e,0x6f,0x77])]())[_0x4394eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4394eb([0x2e]),'');let _0x482893=_0x4394eb([0x6c]);for(let _0x28fca2=0x0;_0x28fca2<_0x4d2e09[_0x4394eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28fca2+=0x2){let _0x2bb23a=window[_0x4394eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d2e09[_0x4394eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28fca2,_0x28fca2+0x2));_0x2bb23a>=_0x801eae[_0x4394eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2bb23a-=_0x801eae[_0x4394eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x482893+=_0x801eae[_0x2bb23a];}return _0x482893;}function _0x2b7511(){const _0x4dcfb2=_0x256cd6[_0x4394eb([0x73,0x70,0x6c,0x69,0x74])](_0x4394eb([0x2e]));if(0x3!=_0x4dcfb2[_0x4394eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d3de4(_0x4dcfb2[0x1]);function _0x3d3de4(_0x40358c){const _0x3f5463=_0x489824(_0x40358c);return _0x3f5463&&_0x170663()?_0x3f5463:null;function _0x170663(){const _0x563480=_0x3f5463[_0x4394eb([0x6a,0x74,0x69])],_0x5c6150=window[_0x4394eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x563480[_0x4394eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x563480[_0x4394eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x291357={..._0x3f5463,[_0x4394eb([0x6a,0x74,0x69])]:_0x563480[_0x4394eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x563480[_0x4394eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x291357[_0x4394eb([0x76,0x63])],_0x2a2f07(_0x291357)==_0x5c6150;}}}async function _0x9b3d90(){let _0x5095b0=!0x0;try{const _0x598c5e=_0x256cd6[_0x4394eb([0x73,0x70,0x6c,0x69,0x74])](_0x4394eb([0x2e])),[_0x446915,_0x540c94,_0x18bc26]=_0x598c5e;return _0xfb9bc3(_0x446915),await _0x5c4477(_0x446915,_0x540c94,_0x18bc26),_0x5095b0;}catch(_0x4f569c){return!0x1;}function _0xfb9bc3(_0x4b227e){const _0x2ea372=_0x489824(_0x4b227e);_0x2ea372&&_0x2ea372[_0x4394eb([0x61,0x6c,0x67])]==_0x4394eb([0x45,0x53,0x32,0x35,0x36])||(_0x5095b0=!0x1);}async function _0x5c4477(_0x3bd1ba,_0x476fd3,_0x448bd2){const _0x6ca4e4=window[_0x4394eb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4394eb([0x66,0x72,0x6f,0x6d])](_0x4de275(_0x448bd2),_0x992413=>_0x992413[_0x4394eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11422d=new window[(_0x4394eb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4394eb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bd1ba+_0x4394eb([0x2e])+_0x476fd3),_0x3e3174=window[_0x4394eb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4394eb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e3174)return;const _0x3f50a5=await _0x3e3174[_0x4394eb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4394eb([0x6a,0x77,0x6b]),_0x39999f,{[_0x4394eb([0x6e,0x61,0x6d,0x65])]:_0x4394eb([0x45,0x43,0x44,0x53,0x41]),[_0x4394eb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4394eb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4394eb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e3174[_0x4394eb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4394eb([0x6e,0x61,0x6d,0x65])]:_0x4394eb([0x45,0x43,0x44,0x53,0x41]),[_0x4394eb([0x68,0x61,0x73,0x68])]:{[_0x4394eb([0x6e,0x61,0x6d,0x65])]:_0x4394eb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f50a5,_0x6ca4e4,_0x11422d)||(_0x5095b0=!0x1);}}function _0x489824(_0xf7009b){return _0xf7009b[_0x4394eb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4394eb([0x65,0x79]))?JSON[_0x4394eb([0x70,0x61,0x72,0x73,0x65])](_0x4de275(_0xf7009b)):null;}function _0x4de275(_0xeb2f1e){return window[_0x4394eb([0x61,0x74,0x6f,0x62])](_0xeb2f1e[_0x4394eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4394eb([0x2b]))[_0x4394eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4394eb([0x2f])));}function _0x2a2f07(_0x56f2b5){let _0x4c810f=0x1505;function _0x17a16d(_0x145542){for(let _0x38f17c=0x0;_0x38f17c<_0x145542[_0x4394eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38f17c++){const _0x427d6b=_0x145542[_0x4394eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x38f17c);_0x4c810f=(_0x4c810f<<0x5)+_0x4c810f+_0x427d6b,_0x4c810f&=_0x4c810f;}}function _0x188324(_0x3831e4){Array[_0x4394eb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3831e4)?_0x3831e4[_0x4394eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x188324):_0x3831e4&&typeof _0x3831e4==_0x4394eb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4394eb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3831e4)[_0x4394eb([0x73,0x6f,0x72,0x74])]()[_0x4394eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53b2fe,_0x19b524])=>{_0x17a16d(_0x53b2fe),_0x188324(_0x19b524);}):_0x17a16d(window[_0x4394eb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3831e4));}return _0x188324(_0x56f2b5),_0x4c810f>>>0x0;}function _0x485be2(_0x499eac){return _0x499eac[_0x4394eb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4394eb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4394eb([0x30]));}function _0x126ab7(_0x3e08d3){return _0x3e08d3[_0x4394eb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4394eb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4394eb([0x6a,0x6f,0x69,0x6e])]('');}function _0x567e22(){}function _0x4394eb(_0x17007f){return _0x17007f['map'](_0x33c8dc=>String['fromCharCode'](_0x33c8dc))['join']('');}_0x340639(await _0x239a96());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3467b6=this['editor'],_0x33ac28=_0x3467b6['editing']['view'],_0x1a3d84=this['_getAttachedDomRoot']();if(!_0x1a3d84||0x0===_0x1a3d84['childElementCount'])return void _0x3467b6['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5af6fd,pageHeight:_0x51f9d4}=_0x3467b6['config']['get']('pagination'),{top:_0x427c2d,left:_0x3dc544,bottom:_0x4d0b5e,right:_0x13800b}=this['_configuredPaddings'];this['_pagesContainer']=new _0x22aa3a(_0x3467b6['locale']);const _0x2ed1b6=this['_pagesContainer'];_0x2ed1b6['set']('class',''),_0x2ed1b6['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x5af6fd,'width':_0x5af6fd,'height':'calc(\x20'+_0x51f9d4+'\x20-\x20'+_0x427c2d+'\x20-\x20'+_0x4d0b5e+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x13800b+'\x200\x20'+_0x3dc544,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x2ed1b6['bindTemplate']['to']('class')}}),_0x2ed1b6['render'](),_0x1a3d84['parentNode']['insertBefore'](_0x2ed1b6['element'],_0x1a3d84['nextSibling']),this['listenTo'](_0x33ac28,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x59d946 of this['editor']['editing']['view']['domRoots']['values']())if(_0x59d946['ownerDocument']['body']['contains'](_0x59d946))return _0x59d946;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x151301=this['editor']['editing']['view'],_0x21b3a2=this['_pagesContainer'],_0x39ee4f=this['_getAttachedDomRoot']();if(!_0x39ee4f)return Promise['resolve']();for(_0x21b3a2['class']=['ck-reset','ck-pagination-view',..._0x39ee4f['classList']]['join']('\x20');_0x21b3a2['element']['firstChild'];)_0x21b3a2['element']['firstChild']['remove']();const _0xf23556=Array['from'](_0x151301['domRoots']);_0xf23556['sort'](([,_0x169d65],[,_0x3184dd])=>_0x169d65['compareDocumentPosition'](_0x3184dd)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3bd6b7,_0x21d4e3]of _0xf23556){const _0x36004d=_0x21d4e3['cloneNode'](!0x0);'attributeStyleMap'in _0x36004d&&_0x36004d['attributeStyleMap']['clear'](),_0x36004d['className']='',_0x36004d['removeAttribute']('id'),_0x36004d['dataset']['rootName']=_0x3bd6b7,_0x21b3a2['element']['append'](_0x36004d);}return function(_0x294bbe){return Promise['all'](_0x294bbe['map'](_0xdee463=>Promise['race']([p(_0xdee463),y(0x3e8)])));}(Array['from'](_0x21b3a2['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x31ef72=this['_pagesContainer']['element'];if(!_0x31ef72['ownerDocument']['body']['contains'](_0x31ef72))return;const _0x50ebe5=new _0x3b23f8(_0x31ef72)['excludeScrollbarsAndBorders'](),_0x3fea1b=_0x43d451['window']['getComputedStyle'](_0x31ef72),_0x57e827=parseFloat(_0x3fea1b['paddingLeft'])+parseFloat(_0x3fea1b['paddingRight']),_0x1fabc5=Math['floor'](_0x50ebe5['width']+0x64-_0x57e827),_0x421f1e=x(_0x31ef72,Math['floor'](_0x50ebe5['left']-_0x31ef72['scrollLeft']),_0x1fabc5,_0x50ebe5['height'])['map'](_0x1ee2d3=>this['_mapPageStarterInfoToPageBreakInfo'](_0x1ee2d3));_0x421f1e['every'](_0x1635b2=>!!_0x1635b2)&&(this['pageBreaks']=_0x421f1e);}['_mapPageStarterInfoToPageBreakInfo'](_0x284622){const _0x371318=this['editor']['editing']['view'],_0x16e0d8=this['editor']['editing']['mapper'],_0x416f6c=_0x371318['domConverter'],_0x17013b=_0x284622['path']['shift'](),_0x22570d=this['_pagesContainer']['element']['childNodes'][_0x17013b]['dataset']['rootName'],_0x9bb1d0=_0x371318['getDomRoot'](_0x22570d);if(!_0x9bb1d0)return null;const _0x48d09c=function(_0x3f176a,_0x4c826e){let _0x42d390=_0x3f176a;for(const _0x1cb26b of _0x4c826e['path']){if(!_0x42d390)return null;_0x42d390=_0x42d390['childNodes'][_0x1cb26b];}return _0x42d390;}(_0x9bb1d0,_0x284622);if(!_0x48d09c)return null;const _0x4b6f69=_0x416f6c['domPositionToView'](_0x48d09c,_0x284622['textOffset']||0x0);return _0x4b6f69?'manual'==_0x284622['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4b6f69,_0x48d09c):'text'==_0x284622['type']&&_0x16e0d8['toModelPosition'](_0x4b6f69)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4b6f69,_0x48d09c,_0x284622['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4b6f69,_0x48d09c,_0x284622['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x164216,_0x190d97){const _0x26434c=this['editor']['model'],_0x16b1da=this['editor']['editing']['mapper']['toModelElement'](_0x164216['parent']),_0x4a90c7=_0x26434c['createRangeOn'](_0x16b1da);return new K({'type':'manual','modelRange':_0x4a90c7,'domNode':_0x190d97,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x307e2f,_0x2eee53,_0x3c0319){const _0x196755=this['editor']['model'],_0x41f7f2=this['editor']['editing']['mapper'],_0x2d00=this['editor']['editing']['view']['domConverter'];if(_0x3c0319>=_0x2eee53['length'])return null;const _0x380120=_0x41f7f2['toModelPosition'](_0x307e2f),_0xed569e=_0x196755['createRange'](_0x380120),_0x5881f3=_0x41f7f2['findMappedViewAncestor'](_0x307e2f),_0x125755=_0x2d00['mapViewToDom'](_0x5881f3);return new K({'type':'text','modelRange':_0xed569e,'domNode':_0x2eee53,'offset':m(_0x2eee53,_0x3c0319,_0x125755)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x5abbff,_0x5cc56e,_0x488dfb){const _0x10d998=this['editor']['model'],_0x547e7b=this['editor']['editing'],_0x3664b2=_0x547e7b['mapper'],_0x36aef5=_0x547e7b['view']['domConverter'],_0x3b2156=_0x3664b2['findMappedViewAncestor'](_0x5abbff),_0x114a05=_0x3664b2['toModelElement'](_0x3b2156),_0x3fee26=function(_0x4f2332){const _0x5220b3=_0x4f2332['parent'],_0x445d05=_0x5220b3['root']['document']['model'],_0x3e7033=_0x5220b3['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x486f82=null;for(const _0x1dc6f0 of _0x3e7033){if(_0x1dc6f0['is']('rootElement'))return _0x486f82;if(!_0x445d05['createPositionBefore'](_0x1dc6f0)['isTouching'](_0x4f2332))return _0x486f82;_0x486f82=_0x1dc6f0;}}(_0x10d998['createPositionBefore'](_0x114a05)),_0x31773c=_0x3fee26||_0x114a05;let _0x7466cb=_0x3664b2['toViewElement'](_0x31773c),_0x5a5e6d=_0x10d998['createRangeOn'](_0x31773c);const _0x4e24e7=_0x10d998['createPositionBefore'](_0x31773c)['nodeBefore'];if(_0x4e24e7&&_0x4e24e7['is']('element','imageBlock')){const _0x50f232=_0x3664b2['toViewElement'](_0x4e24e7),_0x46437e=_0x36aef5['mapViewToDom'](_0x50f232),_0x5024a6=_0x43d451['window']['getComputedStyle'](_0x46437e)['float'];'left'!=_0x5024a6&&'right'!=_0x5024a6||(_0x5a5e6d=_0x10d998['createRangeOn'](_0x4e24e7));}for(;_0x7466cb['parent']!==_0x7466cb['root']&&0x0===_0x7466cb['index'];)_0x7466cb=_0x7466cb['parent'];const _0x1c972c=new _0x3b23f8(S(_0x5cc56e)?_0x5cc56e:P(_0x5cc56e)),_0x261928=_0x488dfb?_0x1c972c['height']-_0x488dfb:0x0,_0x2e2cae=_0x36aef5['mapViewToDom'](_0x7466cb),_0x2300e1=new _0x3b23f8(_0x2e2cae);return new K({'type':'element','modelRange':_0x5a5e6d,'domNode':_0x2e2cae,'offset':Math['round'](_0x261928)?_0x261928+_0x1c972c['top']-_0x2300e1['top']:0x0});}get['_configuredPaddings'](){const _0x636b46=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x636b46);}static['_findPageStarterInfos'](_0x3473ee,_0x3a17b4,_0x42772b,_0x88612a,_0x2b3bd1){return x(_0x3473ee,_0x3a17b4,_0x42772b,_0x88612a,_0x2b3bd1);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x46b37e,modelRange:_0x35fe5d,domNode:_0x54a738,offset:_0x5404f6}){this['type']=_0x46b37e,this['modelRange']=_0x35fe5d,this['_domNode']=_0x54a738,this['_offset']=_0x5404f6;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x563249=new _0x3b23f8(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x563249['top']+_0x563249['height']/0x2:_0x563249['top']+this['_offset'];}}function m(_0x2111a7,_0x53ef40,_0xa2dabe){const _0x5525a9=P(_0x2111a7),_0x193979=function(_0x3dc051){const _0x17cfe7=_0x43d451['document']['createRange']();return _0x17cfe7['selectNodeContents'](_0x3dc051),_0x17cfe7;}(_0xa2dabe);let _0x4e2fdd;_0x4e2fdd=0x0==_0x53ef40?b(_0x193979['startContainer'],_0x193979['startOffset'],_0x2111a7['parentNode'],Array['from'](_0x2111a7['parentNode']['childNodes'])['indexOf'](_0x2111a7)):b(_0x193979['startContainer'],_0x193979['startOffset'],_0x2111a7,_0x53ef40);const _0x596f3d=b(_0x2111a7,_0x53ef40,_0x193979['endContainer'],_0x193979['endOffset']),_0x39aeaf=new _0x3b23f8(_0x4e2fdd)['bottom'];return(new _0x3b23f8(_0x596f3d)['top']+_0x39aeaf)/0x2-new _0x3b23f8(_0x5525a9)['top'];}function p(_0x588add){return _0x588add['hasAttribute']('width')&&_0x588add['hasAttribute']('height')?Promise['resolve']():new Promise(_0x1013ef=>{function _0x314d82(){_0x588add['removeEventListener']('load',_0x314d82),_0x588add['removeEventListener']('error',_0x314d82),_0x1013ef();}_0x588add['complete']?_0x1013ef():(_0x588add['addEventListener']('load',_0x314d82),_0x588add['addEventListener']('error',_0x314d82));});}function y(_0x215dc1){return new Promise(_0x462993=>setTimeout(_0x462993,_0x215dc1));}function P(_0x4785be){const _0x985c=_0x43d451['document']['createRange']();return _0x985c['selectNode'](_0x4785be),_0x985c;}function k(_0x409ddf,_0x51ef9b,_0x43f188){const _0x994d7b=_0x43d451['document']['createRange']();return _0x994d7b['setStart'](_0x409ddf,_0x51ef9b),_0x994d7b['setEnd'](_0x409ddf,_0x43f188),_0x994d7b;}function b(_0x127935,_0x5ce2e2,_0x29ee41,_0x3ac3e4){const _0x273e0a=_0x43d451['document']['createRange']();return _0x273e0a['setStart'](_0x127935,_0x5ce2e2),_0x273e0a['setEnd'](_0x29ee41,_0x3ac3e4),_0x273e0a;}function x(_0x2e70a2,_0x4f7651,_0xefce8c,_0x1a4bc8,_0x1daf27){const _0x9f8a6a=[];for(const [_0x4ef0bf,_0x429a4e]of _0x2e70a2['childNodes']['entries']()){let _0x46ec6e=[];S(_0x429a4e)&&_0x429a4e['offsetParent']&&!_0x429a4e['style']['position']?_0x46ec6e=_(_0x429a4e,_0x4ef0bf,_0x4f7651,_0xefce8c,_0x1a4bc8,_0x1daf27):R(_0x429a4e)&&(_0x46ec6e=B(_0x429a4e,_0x4ef0bf,_0x4f7651,_0xefce8c,_0x1daf27)),_0x46ec6e['length']&&(_0x9f8a6a['push'](..._0x46ec6e),_0x4f7651+=_0x46ec6e['length']*_0xefce8c,_0x1daf27=!0x1);}return _0x9f8a6a;}function _(_0x5f5786,_0x2fdcdf,_0x2d2cd7,_0x521c45,_0x34863d,_0x29f2a0){const _0x385074=[];var _0x3bfb1e;if((_0x3bfb1e=_0x5f5786['previousSibling'])&&S(_0x3bfb1e)&&Boolean(_0x3bfb1e['classList']['contains']('page-break')||_0x3bfb1e['closest']('.page-break'))&&(_0x385074['push']({'type':'manual','offset':0x0,'path':[_0x2fdcdf-0x1]}),_0x29f2a0=!0x0),'table-row'==_0x43d451['window']['getComputedStyle'](_0x5f5786)['display']){let _0x291fa0=0x0,_0x9850c=!0x1;for(const _0xcc5f35 of _0x5f5786['getClientRects']())_0x291fa0+=_0xcc5f35['height'],_0xcc5f35['left']>=_0x2d2cd7&&(_0x9850c=!0x0);if(_0x291fa0<_0x34863d&&_0x9850c)return _0x385074['push']({'type':'element','offset':0x0,'path':[_0x2fdcdf]}),_0x385074;}const _0x2b4cec=_0x5f5786['closest']('figure.image');if(_0x2b4cec&&function(_0x3f9e45){let _0x12e03a=!0x1;const _0x5dea10=_0x3f9e45['parentElement'],_0x160141=_0x5dea10['dataset']['rootName'],_0x5b34b5=_0x3f9e45['nextElementSibling'],_0x1b8a60=_0x3f9e45['previousElementSibling'],_0x111451=_0x5b34b5&&_0x43d451['window']['getComputedStyle'](_0x5b34b5)['float'],_0x236f62=_0x5b34b5&&'ck-fake-selection-container'===_0x5b34b5['className'];!_0x160141||_0x5b34b5||_0x1b8a60||(_0x12e03a=!0x0),_0x160141&&!_0x1b8a60&&_0x236f62&&(_0x12e03a=!0x0),_0x160141&&!_0x1b8a60&&'none'!==_0x111451&&(_0x12e03a=!0x0);if(_0x12e03a)return!0x1;return!0x0;}(_0x2b4cec)){const _0x5f4936=_0x43d451['window']['getComputedStyle'](_0x2b4cec)['float'];if('left'==_0x5f4936||'right'==_0x5f4936)return _0x385074;}const _0x5b3daf=x(_0x5f5786,_0x2d2cd7,_0x521c45,_0x34863d,_0x29f2a0);if(_0x5b3daf['length']){for(const _0x1c2183 of _0x5b3daf)_0x385074['push']({'type':_0x1c2183['type'],'offset':_0x1c2183['offset'],'textOffset':_0x1c2183['textOffset'],'path':[_0x2fdcdf,..._0x1c2183['path']]}),_0x2d2cd7+=_0x521c45,_0x29f2a0=!0x1;return _0x385074;}return _0x385074['push'](...function(_0x73e78b,_0x919217,_0x44696a,_0x66a4b,_0x15512e){const _0x53e596=[];if('table-cell'==_0x43d451['window']['getComputedStyle'](_0x73e78b)['display'])return[];const _0x2f8dbb=[];for(const _0x5a1d39 of _0x73e78b['getClientRects']())if(_0x5a1d39['left']>=_0x44696a){for(const _0x57fcbb of _0x2f8dbb)_0x57fcbb['height']+=_0x5a1d39['height'];_0x2f8dbb['push']({'height':_0x5a1d39['height']}),_0x44696a+=_0x66a4b;}for(const _0x9e79c5 of _0x2f8dbb)_0x15512e||_0x53e596['push']({'type':'element','offset':_0x9e79c5['height'],'textOffset':0x0,'path':[_0x919217]}),_0x15512e=!0x1;return _0x53e596;}(_0x5f5786,_0x2fdcdf,_0x2d2cd7,_0x521c45,_0x29f2a0)),_0x385074;}function B(_0x50c4cc,_0x9adcc7,_0x5e2ff4,_0x1681aa,_0x3e68dc){const _0xe56e91=P(_0x50c4cc),_0x343032=[];let _0x4c9f42=0x0;for(const _0x46d8ce of _0xe56e91['getClientRects']())if(_0x46d8ce['left']>=_0x5e2ff4){const _0x41e433=I(_0x50c4cc,_0x4c9f42,_0x5e2ff4,_0x1681aa);_0x3e68dc||_0x343032['push']({'type':'text','path':[_0x9adcc7],'textOffset':_0x41e433}),_0x4c9f42=_0x41e433,_0x5e2ff4+=_0x1681aa,_0x3e68dc=!0x1;}return _0x343032;}function I(_0xdb4ec8,_0x53e725,_0x473198,_0x1b5a5f){let _0xcef46c=_0x53e725,_0x5e2a6a=_0xdb4ec8['length'];for(;_0x5e2a6a-_0xcef46c>0x1;){const _0x1723b9=Math['ceil']((_0xcef46c+_0x5e2a6a)/0x2);N(k(_0xdb4ec8,_0xcef46c,_0x1723b9),_0x473198,_0x1b5a5f)?_0x5e2a6a=_0x1723b9:_0xcef46c=_0x1723b9;}return _0xcef46c;}function N(_0x275ed9,_0x5df15c,_0x45bac8){for(const _0x280180 of _0x275ed9['getClientRects']())if(_0x280180['left']>=_0x5df15c&&_0x280180['left']<_0x5df15c+_0x45bac8)return!0x0;return!0x1;}function S(_0x3e9f9d){return _0x3e9f9d['nodeType']==Node['ELEMENT_NODE'];}function R(_0x478f8d){return _0x478f8d['nodeType']==Node['TEXT_NODE'];}const z=_0x322724('px');class V extends _0x22aa3a{constructor(){super();const _0xf1a313=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0xf1a313['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0xf1a313['if']('isVisible','ck-hidden',_0x17bbcd=>!_0x17bbcd)],'style':{'left':_0xf1a313['to']('left',_0x2d07ea=>z(_0x2d07ea)),'top':_0xf1a313['to']('top',_0x2f09a6=>z(_0x2f09a6)),'width':_0xf1a313['to']('width',_0x54c773=>z(_0x54c773))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4ec9f8){this['_viewCollection']=_0x4ec9f8['ui']['view']['body'];}['destroy'](){for(const _0x31b535 of this['_hiddenLines'])_0x31b535['destroy']();}['cleanLines'](){for(const _0x1510fe of this['_visibleLines'])_0x1510fe['isVisible']=!0x1,this['_hiddenLines']['add'](_0x1510fe);this['_visibleLines']['clear']();}['showLine'](_0x243c8c,_0x1c0df9,_0x42b8e8,_0x4016e1){let _0x1707f9;this['_hiddenLines']['size']?(_0x1707f9=_0x1de537(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x1707f9)):_0x1707f9=new V(),_0x1707f9['set']({'pageNumber':_0x4016e1,'left':_0x243c8c,'top':_0x1c0df9,'width':_0x42b8e8}),_0x1707f9['isVisible']=!0x0,this['_viewCollection']['has'](_0x1707f9)||this['_viewCollection']['add'](_0x1707f9),this['_visibleLines']['add'](_0x1707f9);}['setViewCollection'](_0xc48732){this['_viewCollection']=_0xc48732;}}const L='ck-pagination_enabled';class c extends _0x16be1c{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0x542b21,_0x3ca1e3,_0xfe762f)=>{_0xfe762f||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0xfe762f);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1ea419){if(!this['isEnabled'])return;const _0x2b22c3=_0x1ea419>0x1?this['_getPageBreakLineOffset'](_0x1ea419-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x2b22c3-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x44d478['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x423008=this['editor'],_0x44c99a=this['_getAttachedDomRoot']();_0x44c99a?(this['_scrollableEditingRootDomAncestor']&&_0x423008['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x176503){let _0xa30af9=_0x176503;do{_0xa30af9=_0xa30af9['parentElement'];const _0x569817=_0x43d451['window']['getComputedStyle'](_0xa30af9)['overflowY'];if('auto'==_0x569817||'scroll'==_0x569817)break;}while('BODY'!=_0xa30af9['tagName']);return _0xa30af9;}(_0x44c99a),_0x423008['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x429134(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x423008['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x5582f5=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x5582f5['ui']['view']['listenTo'](_0x43d451['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x5582f5['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4639fc of this['editor']['editing']['view']['domRoots']['values']())if(_0x4639fc['ownerDocument']['body']['contains'](_0x4639fc))return _0x4639fc;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x3624ec=this['_getAttachedDomRoot'](),_0x5d548f=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3624ec||0x1==_0x5d548f['length'])return void(this['pageNumber']=0x1);const _0x1fd8d2=new _0x3b23f8(_0x3624ec)['excludeScrollbarsAndBorders'](),_0x45f6a9=new _0x3b23f8(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x2424e6=_0x45f6a9['top']+_0x45f6a9['height']/0x3;let _0x4c5862=!0x1;const _0x3f8d53=[];for(let _0x4519ea=0x1;_0x4519ea<_0x5d548f['length'];_0x4519ea++){const _0x3e8392=this['_getPageBreakLineOffset'](_0x4519ea,_0x45f6a9);if(!_0x3e8392)continue;const _0x15c972=_0x45f6a9['top']+_0x3e8392-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x3f8d53['push']({'pageOffsetTop':_0x15c972,'domRootRect':_0x1fd8d2,'domScrollableRect':_0x45f6a9,'pageNumber':_0x4519ea}),_0x15c972>_0x2424e6&&!_0x4c5862&&(this['pageNumber']=_0x4519ea,_0x4c5862=!0x0);}this['_renderPageBreakLines'](_0x3f8d53),_0x4c5862||(this['pageNumber']=_0x5d548f['length']);}['_renderPageBreakLines'](_0x1ad394){const {scrollX:_0x469317,scrollY:_0x2aa1c4}=_0x43d451['window'];if(_0x1ad394['length']){for(const {domScrollableRect:_0x46bbb3,pageOffsetTop:_0xb88f00,domRootRect:_0x665cb1,pageNumber:_0x1f6bae}of _0x1ad394)_0x46bbb3['top']<_0xb88f00&&_0xb88f00<_0x46bbb3['bottom']&&this['linesRepository']['showLine'](_0x665cb1['left']+_0x469317,_0xb88f00+_0x2aa1c4,_0x665cb1['width'],_0x1f6bae+0x1);}}['_getPageBreakLineOffset'](_0x4ac330,_0x2ffa89=null){const _0x533a89=this['_paginationLookupPlugin']['pageBreaks'][_0x4ac330]['offset'];return _0x533a89?(_0x2ffa89||(_0x2ffa89=new _0x3b23f8(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x533a89-_0x2ffa89['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x159ce1,_0x29758a=!0x0){const _0xa8fa8=this['editor']['editing']['view'];_0xa8fa8['change'](_0x45195e=>{for(const _0x1dba0a of _0xa8fa8['document']['roots'])_0x29758a?_0x45195e['addClass'](_0x159ce1,_0x1dba0a):_0x45195e['removeClass'](_0x159ce1,_0x1dba0a);});}}function g(_0x1cddc1,_0xe626c4,..._0x595272){const t=_0x1cddc1['t'];switch(_0xe626c4){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)',..._0x595272);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 _0xe626c4;}}class s extends _0x16be1c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x338544=this['editor']['plugins']['get']('Pagination'),_0x4d9b93=this['editor']['plugins']['get'](n),_0x327650=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x338544),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x327650),this['listenTo'](_0x4d9b93,'change:pageBreaks',(_0x45e722,_0x3cca37,_0x13fd0e,_0x876f71)=>{this['totalPages']=_0x13fd0e['length'],this['_updatePageBreakMarkers'](_0x13fd0e,_0x876f71);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b5ec0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc9c0ce;for(const _0x3554c7 in _0x5b5ec0){const _0x4166d2=_0x3554c7,_0x2926ba=_0x5b5ec0[_0x4166d2];if('paginationLicenseKeyValid'==_0x2926ba||'paginationLicenseKeyInvalid'==_0x2926ba||'paginationLicenseKeyExpired'==_0x2926ba||'paginationLicenseKeyDomainLimit'==_0x2926ba||'paginationLicenseKeyNotAllowed'==_0x2926ba||'paginationLicenseKeyEvaluationLimit'==_0x2926ba||'paginationLicenseKeyTrialLimit'==_0x2926ba||'paginationLicenseKeyUsageLimit'==_0x2926ba){delete _0x5b5ec0[_0x4166d2],_0xc9c0ce=_0x2926ba,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0xc9c0ce&&_0x5b5ec0['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0xc9c0ce&&_0x5b5ec0['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0xc9c0ce&&_0x5b5ec0['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0xc9c0ce&&_0x5b5ec0['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0xc9c0ce&&_0x5b5ec0['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0xc9c0ce&&_0x5b5ec0['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0xc9c0ce&&_0x5b5ec0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1c5284){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x1c5284));}['moveSelectionToPage'](_0x5936a8){if(!this['isEnabled'])return;const _0x1d26f6=this['editor'],_0x424a90=this['editor']['plugins']['get'](n)['pageBreaks'][_0x5936a8-0x1];_0x424a90&&_0x1d26f6['model']['change'](_0x385c31=>{switch(_0x424a90['type']){case'manual':{const _0x12c753=_0x1d26f6['model']['schema']['getNearestSelectionRange'](_0x424a90['modelRange']['end'],'forward');_0x385c31['setSelection'](_0x12c753);break;}case'element':{const _0x15f887=_0x1d26f6['model']['schema']['getNearestSelectionRange'](_0x424a90['modelRange']['start'],'forward');_0x385c31['setSelection'](_0x15f887);break;}case'text':{const _0xd6c381=_0x424a90['modelRange']['start'];if('\x20'===_0xd6c381['textNode']['data'][_0xd6c381['offset']]){const _0x40ada5=_0x385c31['createPositionAt'](_0xd6c381['parent'],_0xd6c381['offset']+0x1);_0x385c31['setSelection'](_0x40ada5);}else _0x385c31['setSelection'](_0x424a90['modelRange']);}}_0x1d26f6['editing']['view']['focus']();});}['goToNextPage'](){const _0x249ac0=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x249ac0),this['scrollToPage'](_0x249ac0);}['goToPreviousPage'](){const _0x17aa5b=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x17aa5b),this['scrollToPage'](_0x17aa5b);}['_updatePageBreakMarkers'](_0x3f4f09,_0x53f5ce){const _0x5a7b0e=this['editor']['model'];this['isEnabled']&&_0x5a7b0e['change'](_0x631b5=>{for(let _0x291fcd=0x1;_0x291fcd<_0x3f4f09['length'];_0x291fcd++){const _0xc9a9ed=_0x3f4f09[_0x291fcd]['modelRange'],_0x2520df='pagination:'+(_0x291fcd+0x1);_0x5a7b0e['markers']['has'](_0x2520df)?_0x631b5['updateMarker'](_0x2520df,{'range':_0xc9a9ed}):_0x631b5['addMarker'](_0x2520df,{'range':_0xc9a9ed,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x43e550=_0x3f4f09['length'];_0x43e550<_0x53f5ce['length'];_0x43e550++){const _0xbadb8c='pagination:'+(_0x43e550+0x1);_0x5a7b0e['markers']['has'](_0xbadb8c)&&_0x631b5['removeMarker'](_0xbadb8c);}});}['_setUpDataDowncastConversion'](){const _0x3b22e5='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2fa361=>{_0x2fa361['on']('addMarker:'+_0x3b22e5,(_0x203d93,{markerRange:_0x277ba2,markerName:_0x15038d},_0x18f4a0)=>{if(!_0x18f4a0['options']['pagination'])return;if(!_0x18f4a0['consumable']['consume'](_0x277ba2,_0x203d93['name']))return;const _0x5dfc15=_0x277ba2['getContainedElement']();let _0x57b860=_0x5dfc15?_0x18f4a0['mapper']['toViewElement'](_0x5dfc15):null;if(!_0x57b860){const _0x4560bf=_0x277ba2['start'];if(_0x18f4a0['schema']['checkChild'](_0x4560bf,'$text')){const _0x9392c4=_0x18f4a0['mapper']['toViewPosition'](_0x4560bf);_0x57b860=_0x18f4a0['writer']['createContainerElement']('span'),_0x57b860['getFillerOffset']=()=>null,_0x18f4a0['writer']['insert'](_0x9392c4,_0x57b860);}else{const _0x8e47ad=_0x4560bf['nodeAfter'];_0x57b860=_0x18f4a0['mapper']['toViewElement'](_0x8e47ad);}}for(;_0x57b860['parent']!==_0x57b860['root']&&0x0===_0x57b860['index'];)_0x57b860=_0x57b860['parent'];const _0x3ef996=_0x15038d['substring'](0xb);_0x57b860['hasClass']('page-break')||(_0x18f4a0['writer']['setStyle']('page-break-before','always',_0x57b860),_0x18f4a0['writer']['setAttribute']('data-pagination-page',_0x3ef996,_0x57b860),_0x18f4a0['mapper']['bindElementToMarker'](_0x57b860,_0x15038d)),_0x203d93['stop']();});});}['_setupKeystrokes'](){const _0x267599=this['editor'];_0x267599['keystrokes']['set']('Shift+Pageup',(_0x498eb0,_0x4ccba3)=>{this['goToPreviousPage'](),_0x4ccba3();}),_0x267599['keystrokes']['set']('Shift+Pagedown',(_0x3c59b6,_0x4889f7)=>{this['goToNextPage'](),_0x4889f7();}),_0x267599['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x267599['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x267599['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x267599['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4286ac){return _0x4286ac<0x1&&(_0x4286ac=0x1),_0x4286ac>this['totalPages']&&(_0x4286ac=this['totalPages']),_0x4286ac;}}class U extends _0x22aa3a{['pageNumberView'];constructor(_0x433499){super(_0x433499);const _0x12ac3b=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x2b0cc5(_0x433499,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x12f817=>g(_0x433499,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x12f817)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x3cf369=>!_0x3cf369),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x12ac3b['if']('isEnabled','ck-disabled',_0x36c762=>!_0x36c762)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x12ac3b['to']('totalPages')}]}]});}['render'](){super['render']();const _0x53c0b5=this['pageNumberView']['element'],_0x932e9d=_0x3d46be=>{this['pageNumberView']['element']['value']=String(_0x3d46be);};_0x932e9d(this['pageNumber']),this['on']('change:pageNumber',(_0x37d6c8,_0x4e7d20,_0x36d9b0)=>{_0x932e9d(_0x36d9b0);}),this['listenTo'](_0x53c0b5,'keydown',(_0x3f46a6,_0x1c90b6)=>{if('ArrowUp'===_0x1c90b6['key']||'ArrowDown'===_0x1c90b6['key'])return void _0x1c90b6['stopPropagation']();if(_0x1c90b6['keyCode']!==_0x25144b['enter'])return;_0x1c90b6['preventDefault']();const _0x564f28=_0x53c0b5['valueAsNumber'];Number['isNaN'](_0x564f28)?_0x53c0b5['value']=String(this['pageNumber']):(_0x53c0b5['checkValidity']()?this['pageNumber']=_0x564f28:_0x564f28>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x53c0b5['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x53c0b5['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x53c0b5,'blur',()=>{_0x53c0b5['value']=String(this['pageNumber']);}),this['listenTo'](_0x53c0b5,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x16be1c{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x29bb83=this['editor'],_0x52a841=_0x29bb83['plugins']['get']('PaginationEditing');_0x29bb83['ui']['componentFactory']['add']('pageNavigation',_0xfdcd3b=>{const _0x11b01f=new U(_0xfdcd3b);return _0x11b01f['bind']('pageNumber')['to'](_0x52a841),_0x11b01f['bind']('totalPages')['to'](_0x52a841),_0x11b01f['bind']('isEnabled')['to'](_0x52a841),_0x11b01f['on']('navigation',(_0x152746,_0x2aa5f1)=>{_0x52a841['moveSelectionToPage'](_0x2aa5f1),_0x52a841['scrollToPage'](_0x2aa5f1);}),_0x11b01f;}),_0x29bb83['ui']['componentFactory']['add']('nextPage',_0x150a76=>{const _0x77bb65=new _0x5edb50(_0x150a76);return _0x77bb65['isEnabled']=!0x0,_0x77bb65['label']=g(_0x29bb83['locale'],'Go\x20to\x20next\x20page'),_0x77bb65['icon']=_0x32408f,_0x77bb65['tooltip']=!0x0,_0x77bb65['keystroke']='Shift+PageDown',_0x77bb65['bind']('isEnabled')['to'](_0x52a841),this['listenTo'](_0x77bb65,'execute',()=>{_0x52a841['goToNextPage']();}),_0x77bb65;}),_0x29bb83['ui']['componentFactory']['add']('previousPage',_0x3702d4=>{const _0x35dc89=new _0x5edb50(_0x3702d4);return _0x35dc89['isEnabled']=!0x0,_0x35dc89['label']=g(_0x29bb83['locale'],'Go\x20to\x20previous\x20page'),_0x35dc89['icon']=_0x531bc5,_0x35dc89['tooltip']=!0x0,_0x35dc89['keystroke']='Shift+PageUp',_0x35dc89['bind']('isEnabled')['to'](_0x52a841),this['listenTo'](_0x35dc89,'execute',()=>{_0x52a841['goToPreviousPage']();}),_0x35dc89;});}}class a extends _0x16be1c{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x827901){super(_0x827901),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x99d89c=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x99d89c),this['bind']('totalPages')['to'](_0x99d89c),_0x44d478['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3ac814){this['editor']['plugins']['get'](s)['scrollToPage'](_0x3ac814);}}export{a as Pagination,c as PaginationRenderer};
23
+ import{Plugin as _0x284183}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x29002e,InputNumberView as _0x4c6805,ButtonView as _0x2e4f7d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x34d32b,Rect as _0x1a0d83,global as _0x484eda,uid as _0xffd8c9,toUnit as _0x1f0e7d,first as _0x19f8dd,env as _0x5511fa,ResizeObserver as _0x57c8d2,keyCodes as _0xb36421}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x13d6eb}from'es-toolkit/compat';import{IconArrowDown as _0x48529a,IconArrowUp as _0x22219a}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x284183{['_recalculatePageBreaksDebounced']=_0x13d6eb(()=>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 _0x34d32b('pagination-config-not-found',this['editor']['config']);const _0xaa6c1f=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0xaa6c1f),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x100c82,_0x2e6bd8,_0x4d10bd)=>{_0x4d10bd&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x379afe){const _0x5c3058=_0x5944ed([0x42,0x38,0x68,0x6d,0x55,0x32,0x4c,0x53,0x6b,0x34,0x46,0x6e,0x57,0x58,0x73,0x75,0x59,0x76,0x62,0x70,0x43,0x67,0x4e,0x47,0x61,0x49,0x30,0x54,0x39,0x45,0x78,0x79,0x64,0x51,0x66,0x33,0x74,0x48,0x4d,0x7a,0x72,0x6c,0x6f,0x37,0x4f,0x31,0x52,0x36,0x63,0x71,0x6a,0x5a,0x77,0x69,0x41,0x4a,0x44,0x65,0x50,0x35,0x56,0x4b]),_0x515ef0=0x225fc05a,_0x4f95e8=0x2258a3a2^_0x515ef0,_0x1c08a8=window[_0x5944ed([0x44,0x61,0x74,0x65])][_0x5944ed([0x6e,0x6f,0x77])](),_0x495c58=_0x379afe[_0x5944ed([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x531a47=new window[(_0x5944ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44bfd1=>{_0x495c58[_0x5944ed([0x6f,0x6e,0x63,0x65])](_0x5944ed([0x72,0x65,0x61,0x64,0x79]),_0x44bfd1);}),_0x57ee44={[_0x5944ed([0x6b,0x74,0x79])]:_0x5944ed([0x45,0x43]),[_0x5944ed([0x75,0x73,0x65])]:_0x5944ed([0x73,0x69,0x67]),[_0x5944ed([0x63,0x72,0x76])]:_0x5944ed([0x50,0x2d,0x32,0x35,0x36]),[_0x5944ed([0x78])]:_0x5944ed([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]),[_0x5944ed([0x79])]:_0x5944ed([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]),[_0x5944ed([0x61,0x6c,0x67])]:_0x5944ed([0x45,0x53,0x32,0x35,0x36])},_0x6902e5=_0x495c58[_0x5944ed([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5944ed([0x67,0x65,0x74])](_0x5944ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f5f22(){let _0x5da280,_0x45f9c5=null,_0x3960fb=null;try{if(_0x6902e5==_0x5944ed([0x47,0x50,0x4c]))return _0x5944ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5da280=_0xbcdc83(),!_0x5da280)return _0x5944ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5da280[_0x5944ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3960fb=_0x3a1021(_0x5da280[_0x5944ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5da280[_0x5944ed([0x6a,0x74,0x69])])),await _0xdebf2e()?_0x4ef52d()?_0x4fd304()?_0x5944ed([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc0d3aa()?(_0x5da280[_0x5944ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5944ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x45f9c5=_0x26d3a1(_0x5944ed([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5da280[_0x5944ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5944ed([0x74,0x72,0x69,0x61,0x6c])&&(_0x45f9c5=_0x26d3a1(_0x5944ed([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d154a()):_0x5944ed([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5944ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5944ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x54eee2){return _0x5944ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4fd304(){const _0x43ea07=[_0x5944ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5944ed([0x74,0x72,0x69,0x61,0x6c])][_0x5944ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5da280[_0x5944ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c08a8/0x3e8:0xe10*_0x4f95e8;return _0x5da280[_0x5944ed([0x65,0x78,0x70])]<_0x43ea07;}function _0x4ef52d(){const _0x467703=_0x5da280[_0x5944ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x467703&&(!!_0x467703[_0x5944ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5944ed([0x2a]))||!!_0x467703[_0x5944ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5944ed([0x50,0x41,0x47])));}function _0xc0d3aa(){const _0x1acf87=_0x5da280[_0x5944ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1acf87||0x0==_0x1acf87[_0x5944ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f2103}=new URL(window[_0x5944ed([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1acf87[_0x5944ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f2103))return!0x0;const _0x3ba7cb=_0x3f2103[_0x5944ed([0x73,0x70,0x6c,0x69,0x74])](_0x5944ed([0x2e]));return _0x1acf87[_0x5944ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21dd7c=>_0x21dd7c[_0x5944ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5944ed([0x2a])))[_0x5944ed([0x6d,0x61,0x70])](_0x236eda=>_0x236eda[_0x5944ed([0x73,0x70,0x6c,0x69,0x74])](_0x5944ed([0x2e])))[_0x5944ed([0x73,0x6f,0x6d,0x65])](_0x5b791a=>_0x3ba7cb[_0x5944ed([0x65,0x76,0x65,0x72,0x79])]((_0x1775d5,_0x51c61c)=>_0x5b791a[_0x51c61c]===_0x1775d5||_0x5b791a[_0x51c61c]===_0x5944ed([0x2a])));}function _0x2d154a(){return _0x45f9c5&&_0x3960fb?new window[(_0x5944ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa5dc9f,_0x75b4e6)=>{_0x45f9c5[_0x5944ed([0x74,0x68,0x65,0x6e])](_0xa5dc9f,_0x75b4e6),_0x3960fb[_0x5944ed([0x74,0x68,0x65,0x6e])](_0xfd96e1=>{_0xfd96e1!=_0x5944ed([0x56,0x61,0x6c,0x69,0x64])&&_0xa5dc9f(_0xfd96e1);},_0x75b4e6);}):_0x45f9c5||_0x3960fb||_0x5944ed([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a1021(_0x121254,_0x38e9e4){return new window[(_0x5944ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b9dd0=>{if(_0x38a6bb())return _0x2b9dd0(_0x5944ed([0x56,0x61,0x6c,0x69,0x64]));_0x998f30(),_0x495c58[_0x5944ed([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5944ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x275c18=!0x1;const _0x3a0fe3=_0xffd8c9();function _0x179c9f(_0x136315){return!!_0x136315&&(typeof _0x136315===_0x5944ed([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x136315===_0x5944ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x136315[_0x5944ed([0x74,0x68,0x65,0x6e])]===_0x5944ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x136315[_0x5944ed([0x63,0x61,0x74,0x63,0x68])]===_0x5944ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x22ebe0(_0x396304){_0x371e88(_0x396304)[_0x5944ed([0x74,0x68,0x65,0x6e])](_0x3eafbf=>{if(!_0x3eafbf||_0x3eafbf[_0x5944ed([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5944ed([0x6f,0x6b]))return _0x5944ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41eed3(_0x49bcc1(_0x3a0fe3+_0x38e9e4))!=_0x3eafbf[_0x5944ed([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5944ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5944ed([0x56,0x61,0x6c,0x69,0x64]);})[_0x5944ed([0x74,0x68,0x65,0x6e])](_0x5580a4=>(_0x48edab(),_0x5580a4),()=>{const _0x74986a=_0x4909f2();return null==_0x74986a?(_0x48edab(),_0x5944ed([0x56,0x61,0x6c,0x69,0x64])):_0x5944ed(_0x1c08a8-_0x74986a>(0x653445a^_0x515ef0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5944ed([0x74,0x68,0x65,0x6e])](_0x2b9dd0)[_0x5944ed([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b9dd0(_0x5944ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3173a9=0x22692eda^_0x515ef0;function _0x48edab(){const _0x476e63=_0x5944ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x41eed3(_0x49bcc1(_0x121254)),_0x204814=_0x2e3a41(_0x41eed3(window[_0x5944ed([0x4d,0x61,0x74,0x68])][_0x5944ed([0x63,0x65,0x69,0x6c])](_0x1c08a8/_0x3173a9)));window[_0x5944ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5944ed([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x476e63,_0x204814);}function _0x4909f2(){const _0x4041fa=_0x5944ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x41eed3(_0x49bcc1(_0x121254)),_0x487fde=window[_0x5944ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5944ed([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4041fa);return _0x487fde?window[_0x5944ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e3a41(_0x487fde),0x10)*_0x3173a9:null;}function _0x371e88(_0x47cf55){return new window[(_0x5944ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34539a,_0x10a287)=>{_0x47cf55[_0x5944ed([0x74,0x68,0x65,0x6e])](_0x34539a,_0x10a287),window[_0x5944ed([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10a287,0x225e149a^_0x515ef0);});}}_0x495c58[_0x5944ed([0x6f,0x6e])](_0x5944ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xf6444f,_0x428260)=>{if(_0x428260[0x0]!=_0x121254)return _0x2b9dd0(_0x5944ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x428260[0x1]={..._0x428260[0x1],[_0x5944ed([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3a0fe3};},{[_0x5944ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5944ed([0x68,0x69,0x67,0x68])}),_0x495c58[_0x5944ed([0x6f,0x6e])](_0x5944ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18b52b=>{_0x179c9f(_0x18b52b[_0x5944ed([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x275c18=!0x0,_0x22ebe0(_0x18b52b[_0x5944ed([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5944ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5944ed([0x6c,0x6f,0x77])}),_0x531a47[_0x5944ed([0x74,0x68,0x65,0x6e])](()=>{_0x275c18||_0x2b9dd0(_0x5944ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38a6bb(){return _0x495c58[_0x5944ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5944ed([0x76,0x69,0x65,0x77])][_0x5944ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5944ed([0x61,0x75,0x74,0x6f]);}function _0x998f30(){_0x495c58[_0x5944ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5944ed([0x76,0x69,0x65,0x77])][_0x5944ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5944ed([0x61,0x75,0x74,0x6f]);}}function _0x26d3a1(_0x413c36){const _0x1e2d96=[new window[(_0x5944ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc9a2af=>setTimeout(_0xc9a2af,0x2256fe96^_0x515ef0)),_0x531a47[_0x5944ed([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5944ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x397ed9=>{let _0x7bf948=0x0;_0x495c58[_0x5944ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x5944ed([0x6f,0x6e])](_0x5944ed([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5db578,_0x4eab70)=>{_0x4eab70[0x0][_0x5944ed([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7bf948++,_0x7bf948==(0x225fc1a2^_0x515ef0)&&(_0x397ed9(),_0x5db578[_0x5944ed([0x6f,0x66,0x66])]());});}))];return window[_0x5944ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5944ed([0x72,0x61,0x63,0x65])](_0x1e2d96)[_0x5944ed([0x74,0x68,0x65,0x6e])](()=>_0x413c36);}async function _0x44ea64(){await _0x531a47,_0x495c58[_0x5944ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x5944ed([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcfe4f7,_0x495c58[_0x5944ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x5944ed([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcfe4f7,_0x495c58[_0x5944ed([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5944ed([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19d3b9(_0x2e7b2a){const _0x47414d=_0x140f12();_0x495c58[_0x47414d]=_0x5944ed([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e7b2a,_0x2e7b2a!=_0x5944ed([0x56,0x61,0x6c,0x69,0x64])&&_0x44ea64();}function _0x140f12(){const _0x153f70=window[_0x5944ed([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5944ed([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5944ed([0x6e,0x6f,0x77])]())[_0x5944ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5944ed([0x2e]),'');let _0x85aebb=_0x5944ed([0x42]);for(let _0x118ebd=0x0;_0x118ebd<_0x153f70[_0x5944ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x118ebd+=0x2){let _0x4b0c9b=window[_0x5944ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x153f70[_0x5944ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x118ebd,_0x118ebd+0x2));_0x4b0c9b>=_0x5c3058[_0x5944ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b0c9b-=_0x5c3058[_0x5944ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x85aebb+=_0x5c3058[_0x4b0c9b];}return _0x85aebb;}function _0xbcdc83(){const _0x40156c=_0x6902e5[_0x5944ed([0x73,0x70,0x6c,0x69,0x74])](_0x5944ed([0x2e]));if(0x3!=_0x40156c[_0x5944ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x560237(_0x40156c[0x1]);function _0x560237(_0x213873){const _0x79635f=_0x25bb89(_0x213873);return _0x79635f&&_0x2148ca()?_0x79635f:null;function _0x2148ca(){const _0xee2f9e=_0x79635f[_0x5944ed([0x6a,0x74,0x69])],_0x5d0900=window[_0x5944ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xee2f9e[_0x5944ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xee2f9e[_0x5944ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x419429={..._0x79635f,[_0x5944ed([0x6a,0x74,0x69])]:_0xee2f9e[_0x5944ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xee2f9e[_0x5944ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x419429[_0x5944ed([0x76,0x63])],_0x49bcc1(_0x419429)==_0x5d0900;}}}async function _0xdebf2e(){let _0x3b6fcd=!0x0;try{const _0x421d02=_0x6902e5[_0x5944ed([0x73,0x70,0x6c,0x69,0x74])](_0x5944ed([0x2e])),[_0x1a87e6,_0x5dc7c7,_0x1db0cf]=_0x421d02;return _0x8c9182(_0x1a87e6),await _0x210101(_0x1a87e6,_0x5dc7c7,_0x1db0cf),_0x3b6fcd;}catch(_0x3a05ce){return!0x1;}function _0x8c9182(_0x37d77c){const _0x5acf7c=_0x25bb89(_0x37d77c);_0x5acf7c&&_0x5acf7c[_0x5944ed([0x61,0x6c,0x67])]==_0x5944ed([0x45,0x53,0x32,0x35,0x36])||(_0x3b6fcd=!0x1);}async function _0x210101(_0x10607c,_0xc16e30,_0x38dd28){const _0x5efd9f=window[_0x5944ed([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5944ed([0x66,0x72,0x6f,0x6d])](_0x230e0b(_0x38dd28),_0x43961b=>_0x43961b[_0x5944ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b711c=new window[(_0x5944ed([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5944ed([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10607c+_0x5944ed([0x2e])+_0xc16e30),_0xf6f903=window[_0x5944ed([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5944ed([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf6f903)return;const _0x354423=await _0xf6f903[_0x5944ed([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5944ed([0x6a,0x77,0x6b]),_0x57ee44,{[_0x5944ed([0x6e,0x61,0x6d,0x65])]:_0x5944ed([0x45,0x43,0x44,0x53,0x41]),[_0x5944ed([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5944ed([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5944ed([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf6f903[_0x5944ed([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5944ed([0x6e,0x61,0x6d,0x65])]:_0x5944ed([0x45,0x43,0x44,0x53,0x41]),[_0x5944ed([0x68,0x61,0x73,0x68])]:{[_0x5944ed([0x6e,0x61,0x6d,0x65])]:_0x5944ed([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x354423,_0x5efd9f,_0x3b711c)||(_0x3b6fcd=!0x1);}}function _0x25bb89(_0x188ca2){return _0x188ca2[_0x5944ed([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5944ed([0x65,0x79]))?JSON[_0x5944ed([0x70,0x61,0x72,0x73,0x65])](_0x230e0b(_0x188ca2)):null;}function _0x230e0b(_0x440b4b){return window[_0x5944ed([0x61,0x74,0x6f,0x62])](_0x440b4b[_0x5944ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5944ed([0x2b]))[_0x5944ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5944ed([0x2f])));}function _0x49bcc1(_0x4d1a48){let _0x81a1e7=0x1505;function _0x5f0b2f(_0x41c5dd){for(let _0x18102f=0x0;_0x18102f<_0x41c5dd[_0x5944ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18102f++){const _0x2edd97=_0x41c5dd[_0x5944ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x18102f);_0x81a1e7=(_0x81a1e7<<0x5)+_0x81a1e7+_0x2edd97,_0x81a1e7&=_0x81a1e7;}}function _0x1d2186(_0x1a4510){Array[_0x5944ed([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a4510)?_0x1a4510[_0x5944ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d2186):_0x1a4510&&typeof _0x1a4510==_0x5944ed([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5944ed([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a4510)[_0x5944ed([0x73,0x6f,0x72,0x74])]()[_0x5944ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x17f62a,_0x5d3668])=>{_0x5f0b2f(_0x17f62a),_0x1d2186(_0x5d3668);}):_0x5f0b2f(window[_0x5944ed([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a4510));}return _0x1d2186(_0x4d1a48),_0x81a1e7>>>0x0;}function _0x41eed3(_0x47da77){return _0x47da77[_0x5944ed([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5944ed([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5944ed([0x30]));}function _0x2e3a41(_0x14498c){return _0x14498c[_0x5944ed([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5944ed([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5944ed([0x6a,0x6f,0x69,0x6e])]('');}function _0xcfe4f7(){}function _0x5944ed(_0x15d807){return _0x15d807['map'](_0x1d9975=>String['fromCharCode'](_0x1d9975))['join']('');}_0x19d3b9(await _0x1f5f22());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x380962=this['editor'],_0x35f179=_0x380962['editing']['view'],_0x118172=this['_getAttachedDomRoot']();if(!_0x118172||0x0===_0x118172['childElementCount'])return void _0x380962['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x2d95c6,pageHeight:_0x5c5653}=_0x380962['config']['get']('pagination'),{top:_0x3da92f,left:_0x4831f7,bottom:_0x3812f4,right:_0xad4be4}=this['_configuredPaddings'];this['_pagesContainer']=new _0x29002e(_0x380962['locale']);const _0x19930b=this['_pagesContainer'];_0x19930b['set']('class',''),_0x19930b['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x2d95c6,'width':_0x2d95c6,'height':'calc(\x20'+_0x5c5653+'\x20-\x20'+_0x3da92f+'\x20-\x20'+_0x3812f4+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0xad4be4+'\x200\x20'+_0x4831f7,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x19930b['bindTemplate']['to']('class')}}),_0x19930b['render'](),_0x118172['parentNode']['insertBefore'](_0x19930b['element'],_0x118172['nextSibling']),this['listenTo'](_0x35f179,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x56474a of this['editor']['editing']['view']['domRoots']['values']())if(_0x56474a['ownerDocument']['body']['contains'](_0x56474a))return _0x56474a;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x21b666=this['editor']['editing']['view'],_0x7dda28=this['_pagesContainer'],_0x468d08=this['_getAttachedDomRoot']();if(!_0x468d08)return Promise['resolve']();for(_0x7dda28['class']=['ck-reset','ck-pagination-view',..._0x468d08['classList']]['join']('\x20');_0x7dda28['element']['firstChild'];)_0x7dda28['element']['firstChild']['remove']();const _0x3bdcf6=Array['from'](_0x21b666['domRoots']);_0x3bdcf6['sort'](([,_0x171e75],[,_0x1da43e])=>_0x171e75['compareDocumentPosition'](_0x1da43e)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3704f6,_0x244f23]of _0x3bdcf6){const _0x5124b4=_0x244f23['cloneNode'](!0x0);'attributeStyleMap'in _0x5124b4&&_0x5124b4['attributeStyleMap']['clear'](),_0x5124b4['className']='',_0x5124b4['removeAttribute']('id'),_0x5124b4['dataset']['rootName']=_0x3704f6,_0x7dda28['element']['append'](_0x5124b4);}return function(_0x266944){return Promise['all'](_0x266944['map'](_0x142139=>Promise['race']([p(_0x142139),y(0x3e8)])));}(Array['from'](_0x7dda28['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x4023f0=this['_pagesContainer']['element'];if(!_0x4023f0['ownerDocument']['body']['contains'](_0x4023f0))return;const _0x5ca7ea=new _0x1a0d83(_0x4023f0)['excludeScrollbarsAndBorders'](),_0x287c3b=_0x484eda['window']['getComputedStyle'](_0x4023f0),_0x48c7bf=parseFloat(_0x287c3b['paddingLeft'])+parseFloat(_0x287c3b['paddingRight']),_0x51f279=Math['floor'](_0x5ca7ea['width']+0x64-_0x48c7bf),_0x2ebf80=x(_0x4023f0,Math['floor'](_0x5ca7ea['left']-_0x4023f0['scrollLeft']),_0x51f279,_0x5ca7ea['height'])['map'](_0x1c093f=>this['_mapPageStarterInfoToPageBreakInfo'](_0x1c093f));_0x2ebf80['every'](_0x3fd113=>!!_0x3fd113)&&(this['pageBreaks']=_0x2ebf80);}['_mapPageStarterInfoToPageBreakInfo'](_0x2c6625){const _0xc92f58=this['editor']['editing']['view'],_0x343e51=this['editor']['editing']['mapper'],_0x3a6164=_0xc92f58['domConverter'],_0x10a2ee=_0x2c6625['path']['shift'](),_0x34d139=this['_pagesContainer']['element']['childNodes'][_0x10a2ee]['dataset']['rootName'],_0x4134d1=_0xc92f58['getDomRoot'](_0x34d139);if(!_0x4134d1)return null;const _0x3d83d2=function(_0x106ccb,_0x408c94){let _0x5916f8=_0x106ccb;for(const _0x4c0d8a of _0x408c94['path']){if(!_0x5916f8)return null;_0x5916f8=_0x5916f8['childNodes'][_0x4c0d8a];}return _0x5916f8;}(_0x4134d1,_0x2c6625);if(!_0x3d83d2)return null;const _0x5649ba=_0x3a6164['domPositionToView'](_0x3d83d2,_0x2c6625['textOffset']||0x0);return _0x5649ba?'manual'==_0x2c6625['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5649ba,_0x3d83d2):'text'==_0x2c6625['type']&&_0x343e51['toModelPosition'](_0x5649ba)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5649ba,_0x3d83d2,_0x2c6625['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5649ba,_0x3d83d2,_0x2c6625['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x59df3c,_0x2e858a){const _0x5d54e7=this['editor']['model'],_0x3727d8=this['editor']['editing']['mapper']['toModelElement'](_0x59df3c['parent']),_0x40e7fd=_0x5d54e7['createRangeOn'](_0x3727d8);return new K({'type':'manual','modelRange':_0x40e7fd,'domNode':_0x2e858a,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x7965e9,_0x5617cc,_0x293ece){const _0x421ed1=this['editor']['model'],_0x2b4c5c=this['editor']['editing']['mapper'],_0x28b8d8=this['editor']['editing']['view']['domConverter'];if(_0x293ece>=_0x5617cc['length'])return null;const _0xea41a1=_0x2b4c5c['toModelPosition'](_0x7965e9),_0x59bf69=_0x421ed1['createRange'](_0xea41a1),_0x596743=_0x2b4c5c['findMappedViewAncestor'](_0x7965e9),_0x384f41=_0x28b8d8['mapViewToDom'](_0x596743);return new K({'type':'text','modelRange':_0x59bf69,'domNode':_0x5617cc,'offset':m(_0x5617cc,_0x293ece,_0x384f41)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x30d92c,_0x559978,_0xe38928){const _0x32b9fd=this['editor']['model'],_0x24afe4=this['editor']['editing'],_0x54d889=_0x24afe4['mapper'],_0x31e58a=_0x24afe4['view']['domConverter'],_0x386303=_0x54d889['findMappedViewAncestor'](_0x30d92c),_0x5ebe76=_0x54d889['toModelElement'](_0x386303),_0x188f71=function(_0x4f4bdf){const _0x94850f=_0x4f4bdf['parent'],_0x3679d7=_0x94850f['root']['document']['model'],_0x2292f6=_0x94850f['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x571abd=null;for(const _0x320d9b of _0x2292f6){if(_0x320d9b['is']('rootElement'))return _0x571abd;if(!_0x3679d7['createPositionBefore'](_0x320d9b)['isTouching'](_0x4f4bdf))return _0x571abd;_0x571abd=_0x320d9b;}}(_0x32b9fd['createPositionBefore'](_0x5ebe76)),_0x33df3c=_0x188f71||_0x5ebe76;let _0x7df8ab=_0x54d889['toViewElement'](_0x33df3c),_0x5724c3=_0x32b9fd['createRangeOn'](_0x33df3c);const _0x364dde=_0x32b9fd['createPositionBefore'](_0x33df3c)['nodeBefore'];if(_0x364dde&&_0x364dde['is']('element','imageBlock')){const _0x371f06=_0x54d889['toViewElement'](_0x364dde),_0x47cb90=_0x31e58a['mapViewToDom'](_0x371f06),_0x511e8b=_0x484eda['window']['getComputedStyle'](_0x47cb90)['float'];'left'!=_0x511e8b&&'right'!=_0x511e8b||(_0x5724c3=_0x32b9fd['createRangeOn'](_0x364dde));}for(;_0x7df8ab['parent']!==_0x7df8ab['root']&&0x0===_0x7df8ab['index'];)_0x7df8ab=_0x7df8ab['parent'];const _0x47a56a=new _0x1a0d83(S(_0x559978)?_0x559978:P(_0x559978)),_0x55adb9=_0xe38928?_0x47a56a['height']-_0xe38928:0x0,_0x4a970f=_0x31e58a['mapViewToDom'](_0x7df8ab),_0x35d984=new _0x1a0d83(_0x4a970f);return new K({'type':'element','modelRange':_0x5724c3,'domNode':_0x4a970f,'offset':Math['round'](_0x55adb9)?_0x55adb9+_0x47a56a['top']-_0x35d984['top']:0x0});}get['_configuredPaddings'](){const _0x6bc58d=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x6bc58d);}static['_findPageStarterInfos'](_0x10118d,_0x43c25a,_0x5ac7a0,_0xeb53dd,_0x31e1fc){return x(_0x10118d,_0x43c25a,_0x5ac7a0,_0xeb53dd,_0x31e1fc);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x3fa1c8,modelRange:_0x2174b5,domNode:_0x209c2c,offset:_0x54aef8}){this['type']=_0x3fa1c8,this['modelRange']=_0x2174b5,this['_domNode']=_0x209c2c,this['_offset']=_0x54aef8;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x1026d6=new _0x1a0d83(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x1026d6['top']+_0x1026d6['height']/0x2:_0x1026d6['top']+this['_offset'];}}function m(_0x143136,_0x5639d6,_0x5eebb0){const _0x4d19d2=P(_0x143136),_0x5580cf=function(_0x1c5f19){const _0x3c93bb=_0x484eda['document']['createRange']();return _0x3c93bb['selectNodeContents'](_0x1c5f19),_0x3c93bb;}(_0x5eebb0);let _0x16ab67;_0x16ab67=0x0==_0x5639d6?b(_0x5580cf['startContainer'],_0x5580cf['startOffset'],_0x143136['parentNode'],Array['from'](_0x143136['parentNode']['childNodes'])['indexOf'](_0x143136)):b(_0x5580cf['startContainer'],_0x5580cf['startOffset'],_0x143136,_0x5639d6);const _0x126952=b(_0x143136,_0x5639d6,_0x5580cf['endContainer'],_0x5580cf['endOffset']),_0x15a5d2=new _0x1a0d83(_0x16ab67)['bottom'];return(new _0x1a0d83(_0x126952)['top']+_0x15a5d2)/0x2-new _0x1a0d83(_0x4d19d2)['top'];}function p(_0x1de7ca){return _0x1de7ca['hasAttribute']('width')&&_0x1de7ca['hasAttribute']('height')?Promise['resolve']():new Promise(_0x39a94c=>{function _0x96ea7e(){_0x1de7ca['removeEventListener']('load',_0x96ea7e),_0x1de7ca['removeEventListener']('error',_0x96ea7e),_0x39a94c();}_0x1de7ca['complete']?_0x39a94c():(_0x1de7ca['addEventListener']('load',_0x96ea7e),_0x1de7ca['addEventListener']('error',_0x96ea7e));});}function y(_0x3ee2ac){return new Promise(_0x3242ac=>setTimeout(_0x3242ac,_0x3ee2ac));}function P(_0x303ae8){const _0x2cc726=_0x484eda['document']['createRange']();return _0x2cc726['selectNode'](_0x303ae8),_0x2cc726;}function k(_0x3a4bf9,_0x5bb599,_0x5b32f0){const _0x5cc00d=_0x484eda['document']['createRange']();return _0x5cc00d['setStart'](_0x3a4bf9,_0x5bb599),_0x5cc00d['setEnd'](_0x3a4bf9,_0x5b32f0),_0x5cc00d;}function b(_0x376fb2,_0x54f72e,_0x30a36a,_0x8cc9e1){const _0x27c620=_0x484eda['document']['createRange']();return _0x27c620['setStart'](_0x376fb2,_0x54f72e),_0x27c620['setEnd'](_0x30a36a,_0x8cc9e1),_0x27c620;}function x(_0x23e792,_0x5cac1c,_0x3ee4a0,_0x71b75d,_0x62c38a){const _0x24fbb9=[];for(const [_0x206e66,_0x44beb3]of _0x23e792['childNodes']['entries']()){let _0x4e64f6=[];S(_0x44beb3)&&_0x44beb3['offsetParent']&&!_0x44beb3['style']['position']?_0x4e64f6=_(_0x44beb3,_0x206e66,_0x5cac1c,_0x3ee4a0,_0x71b75d,_0x62c38a):R(_0x44beb3)&&(_0x4e64f6=B(_0x44beb3,_0x206e66,_0x5cac1c,_0x3ee4a0,_0x62c38a)),_0x4e64f6['length']&&(_0x24fbb9['push'](..._0x4e64f6),_0x5cac1c+=_0x4e64f6['length']*_0x3ee4a0,_0x62c38a=!0x1);}return _0x24fbb9;}function _(_0x12f237,_0x4b08a3,_0x2589b3,_0x1e66b0,_0x4dfcad,_0x1e3e79){const _0x19191a=[];var _0x34cd97;if((_0x34cd97=_0x12f237['previousSibling'])&&S(_0x34cd97)&&Boolean(_0x34cd97['classList']['contains']('page-break')||_0x34cd97['closest']('.page-break'))&&(_0x19191a['push']({'type':'manual','offset':0x0,'path':[_0x4b08a3-0x1]}),_0x1e3e79=!0x0),'table-row'==_0x484eda['window']['getComputedStyle'](_0x12f237)['display']){let _0x2954e1=0x0,_0x5e7139=!0x1;for(const _0x46221d of _0x12f237['getClientRects']())_0x2954e1+=_0x46221d['height'],_0x46221d['left']>=_0x2589b3&&(_0x5e7139=!0x0);if(_0x2954e1<_0x4dfcad&&_0x5e7139)return _0x19191a['push']({'type':'element','offset':0x0,'path':[_0x4b08a3]}),_0x19191a;}const _0x58e6a7=_0x12f237['closest']('figure.image');if(_0x58e6a7&&function(_0x44bbb3){let _0x3ff6fc=!0x1;const _0x2fa138=_0x44bbb3['parentElement'],_0x2e24d8=_0x2fa138['dataset']['rootName'],_0x3fff56=_0x44bbb3['nextElementSibling'],_0x3139f3=_0x44bbb3['previousElementSibling'],_0xb0da33=_0x3fff56&&_0x484eda['window']['getComputedStyle'](_0x3fff56)['float'],_0xd47268=_0x3fff56&&'ck-fake-selection-container'===_0x3fff56['className'];!_0x2e24d8||_0x3fff56||_0x3139f3||(_0x3ff6fc=!0x0),_0x2e24d8&&!_0x3139f3&&_0xd47268&&(_0x3ff6fc=!0x0),_0x2e24d8&&!_0x3139f3&&'none'!==_0xb0da33&&(_0x3ff6fc=!0x0);if(_0x3ff6fc)return!0x1;return!0x0;}(_0x58e6a7)){const _0xb6c8b9=_0x484eda['window']['getComputedStyle'](_0x58e6a7)['float'];if('left'==_0xb6c8b9||'right'==_0xb6c8b9)return _0x19191a;}const _0x44cacc=x(_0x12f237,_0x2589b3,_0x1e66b0,_0x4dfcad,_0x1e3e79);if(_0x44cacc['length']){for(const _0x1e15e6 of _0x44cacc)_0x19191a['push']({'type':_0x1e15e6['type'],'offset':_0x1e15e6['offset'],'textOffset':_0x1e15e6['textOffset'],'path':[_0x4b08a3,..._0x1e15e6['path']]}),_0x2589b3+=_0x1e66b0,_0x1e3e79=!0x1;return _0x19191a;}return _0x19191a['push'](...function(_0x4246a4,_0x3378fc,_0x19d0e0,_0x22f153,_0x2858c0){const _0x4044ec=[];if('table-cell'==_0x484eda['window']['getComputedStyle'](_0x4246a4)['display'])return[];const _0x5b7a9c=[];for(const _0x4545f4 of _0x4246a4['getClientRects']())if(_0x4545f4['left']>=_0x19d0e0){for(const _0x10ffef of _0x5b7a9c)_0x10ffef['height']+=_0x4545f4['height'];_0x5b7a9c['push']({'height':_0x4545f4['height']}),_0x19d0e0+=_0x22f153;}for(const _0x38d49d of _0x5b7a9c)_0x2858c0||_0x4044ec['push']({'type':'element','offset':_0x38d49d['height'],'textOffset':0x0,'path':[_0x3378fc]}),_0x2858c0=!0x1;return _0x4044ec;}(_0x12f237,_0x4b08a3,_0x2589b3,_0x1e66b0,_0x1e3e79)),_0x19191a;}function B(_0x2b8a77,_0x4e2c0a,_0x6b8344,_0x573594,_0x5b7be9){const _0x11a5f5=P(_0x2b8a77),_0x4ac1b5=[];let _0x52ce12=0x0;for(const _0x4b9a80 of _0x11a5f5['getClientRects']())if(_0x4b9a80['left']>=_0x6b8344){const _0x50870b=I(_0x2b8a77,_0x52ce12,_0x6b8344,_0x573594);_0x5b7be9||_0x4ac1b5['push']({'type':'text','path':[_0x4e2c0a],'textOffset':_0x50870b}),_0x52ce12=_0x50870b,_0x6b8344+=_0x573594,_0x5b7be9=!0x1;}return _0x4ac1b5;}function I(_0x4963dc,_0xc1a8d,_0x44facf,_0x5edc3a){let _0x5001f3=_0xc1a8d,_0x1fb5af=_0x4963dc['length'];for(;_0x1fb5af-_0x5001f3>0x1;){const _0x2cfadf=Math['ceil']((_0x5001f3+_0x1fb5af)/0x2);N(k(_0x4963dc,_0x5001f3,_0x2cfadf),_0x44facf,_0x5edc3a)?_0x1fb5af=_0x2cfadf:_0x5001f3=_0x2cfadf;}return _0x5001f3;}function N(_0x5383bc,_0x35e40f,_0x2f5edc){for(const _0xc17f2a of _0x5383bc['getClientRects']())if(_0xc17f2a['left']>=_0x35e40f&&_0xc17f2a['left']<_0x35e40f+_0x2f5edc)return!0x0;return!0x1;}function S(_0x1ae033){return _0x1ae033['nodeType']==Node['ELEMENT_NODE'];}function R(_0x1e42a6){return _0x1e42a6['nodeType']==Node['TEXT_NODE'];}const z=_0x1f0e7d('px');class V extends _0x29002e{constructor(){super();const _0x2465c7=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x2465c7['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x2465c7['if']('isVisible','ck-hidden',_0x510603=>!_0x510603)],'style':{'left':_0x2465c7['to']('left',_0x1496e6=>z(_0x1496e6)),'top':_0x2465c7['to']('top',_0x3bc9c5=>z(_0x3bc9c5)),'width':_0x2465c7['to']('width',_0x21a1d5=>z(_0x21a1d5))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4bbd02){this['_viewCollection']=_0x4bbd02['ui']['view']['body'];}['destroy'](){for(const _0x389e01 of this['_hiddenLines'])_0x389e01['destroy']();}['cleanLines'](){for(const _0x217b7d of this['_visibleLines'])_0x217b7d['isVisible']=!0x1,this['_hiddenLines']['add'](_0x217b7d);this['_visibleLines']['clear']();}['showLine'](_0x33db0e,_0x32d3e2,_0x55edb1,_0x26e419){let _0x4991bc;this['_hiddenLines']['size']?(_0x4991bc=_0x19f8dd(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4991bc)):_0x4991bc=new V(),_0x4991bc['set']({'pageNumber':_0x26e419,'left':_0x33db0e,'top':_0x32d3e2,'width':_0x55edb1}),_0x4991bc['isVisible']=!0x0,this['_viewCollection']['has'](_0x4991bc)||this['_viewCollection']['add'](_0x4991bc),this['_visibleLines']['add'](_0x4991bc);}['setViewCollection'](_0x32b4fc){for(const _0x2a0ede of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2a0ede)&&this['_viewCollection']['remove'](_0x2a0ede);this['_viewCollection']=_0x32b4fc;}}const L='ck-pagination_enabled';class c extends _0x284183{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0x24e3a8,_0x46d582,_0x3e83e4)=>{_0x3e83e4||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x3e83e4);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x226a41){if(!this['isEnabled'])return;const _0x2e694c=_0x226a41>0x1?this['_getPageBreakLineOffset'](_0x226a41-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x2e694c-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x5511fa['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x221828=this['editor'],_0x5b83f5=this['_getAttachedDomRoot']();_0x5b83f5?(this['_scrollableEditingRootDomAncestor']&&_0x221828['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x1297a8){let _0x4fc3cd=_0x1297a8;do{_0x4fc3cd=_0x4fc3cd['parentElement'];const _0x31dfb7=_0x484eda['window']['getComputedStyle'](_0x4fc3cd)['overflowY'];if('auto'==_0x31dfb7||'scroll'==_0x31dfb7)break;}while('BODY'!=_0x4fc3cd['tagName']);return _0x4fc3cd;}(_0x5b83f5),_0x221828['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x57c8d2(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x221828['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x20a1f=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x20a1f['ui']['view']['listenTo'](_0x484eda['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x20a1f['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x542df2 of this['editor']['editing']['view']['domRoots']['values']())if(_0x542df2['ownerDocument']['body']['contains'](_0x542df2))return _0x542df2;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5b30fc=this['_getAttachedDomRoot'](),_0x446ab7=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5b30fc||0x1==_0x446ab7['length'])return void(this['pageNumber']=0x1);const _0x1fe2e6=new _0x1a0d83(_0x5b30fc)['excludeScrollbarsAndBorders'](),_0x5dd7b7=new _0x1a0d83(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x22b481=_0x5dd7b7['top']+_0x5dd7b7['height']/0x3;let _0x3c3374=!0x1;const _0x1653b6=[];for(let _0x43bca0=0x1;_0x43bca0<_0x446ab7['length'];_0x43bca0++){const _0x5203f1=this['_getPageBreakLineOffset'](_0x43bca0,_0x5dd7b7);if(!_0x5203f1)continue;const _0x24ae93=_0x5dd7b7['top']+_0x5203f1-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x1653b6['push']({'pageOffsetTop':_0x24ae93,'domRootRect':_0x1fe2e6,'domScrollableRect':_0x5dd7b7,'pageNumber':_0x43bca0}),_0x24ae93>_0x22b481&&!_0x3c3374&&(this['pageNumber']=_0x43bca0,_0x3c3374=!0x0);}this['_renderPageBreakLines'](_0x1653b6),_0x3c3374||(this['pageNumber']=_0x446ab7['length']);}['_renderPageBreakLines'](_0x1d7a5e){const {scrollX:_0x3e7b97,scrollY:_0x5590ee}=_0x484eda['window'];if(_0x1d7a5e['length']){for(const {domScrollableRect:_0x30cac3,pageOffsetTop:_0x5354df,domRootRect:_0x171ab1,pageNumber:_0x3d9009}of _0x1d7a5e)_0x30cac3['top']<_0x5354df&&_0x5354df<_0x30cac3['bottom']&&this['linesRepository']['showLine'](_0x171ab1['left']+_0x3e7b97,_0x5354df+_0x5590ee,_0x171ab1['width'],_0x3d9009+0x1);}}['_getPageBreakLineOffset'](_0xaee488,_0x4f341a=null){const _0xb79bb0=this['_paginationLookupPlugin']['pageBreaks'][_0xaee488]['offset'];return _0xb79bb0?(_0x4f341a||(_0x4f341a=new _0x1a0d83(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xb79bb0-_0x4f341a['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x3fe100,_0x188ec5=!0x0){const _0xe07bbe=this['editor']['editing']['view'];_0xe07bbe['change'](_0x24ab6b=>{for(const _0x3ace90 of _0xe07bbe['document']['roots'])_0x188ec5?_0x24ab6b['addClass'](_0x3fe100,_0x3ace90):_0x24ab6b['removeClass'](_0x3fe100,_0x3ace90);});}}function g(_0x3034e1,_0x378bdd,..._0x196e64){const t=_0x3034e1['t'];switch(_0x378bdd){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)',..._0x196e64);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 _0x378bdd;}}class s extends _0x284183{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4b08c9=this['editor']['plugins']['get']('Pagination'),_0x258331=this['editor']['plugins']['get'](n),_0x351e53=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x4b08c9),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x351e53),this['listenTo'](_0x258331,'change:pageBreaks',(_0x3dbbc1,_0x51423c,_0x3b028e,_0x25a931)=>{this['totalPages']=_0x3b028e['length'],this['_updatePageBreakMarkers'](_0x3b028e,_0x25a931);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x29048f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ce300;for(const _0xd08427 in _0x29048f){const _0x3c0eed=_0xd08427,_0x4f31f4=_0x29048f[_0x3c0eed];if('paginationLicenseKeyValid'==_0x4f31f4||'paginationLicenseKeyInvalid'==_0x4f31f4||'paginationLicenseKeyExpired'==_0x4f31f4||'paginationLicenseKeyDomainLimit'==_0x4f31f4||'paginationLicenseKeyNotAllowed'==_0x4f31f4||'paginationLicenseKeyEvaluationLimit'==_0x4f31f4||'paginationLicenseKeyTrialLimit'==_0x4f31f4||'paginationLicenseKeyUsageLimit'==_0x4f31f4){delete _0x29048f[_0x3c0eed],_0x2ce300=_0x4f31f4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x2ce300&&_0x29048f['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x2ce300&&_0x29048f['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x2ce300&&_0x29048f['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x2ce300&&_0x29048f['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x2ce300&&_0x29048f['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x2ce300&&_0x29048f['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x2ce300&&_0x29048f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x101fe9){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x101fe9));}['moveSelectionToPage'](_0x21c8ca){if(!this['isEnabled'])return;const _0x126186=this['editor'],_0x43038d=this['editor']['plugins']['get'](n)['pageBreaks'][_0x21c8ca-0x1];_0x43038d&&_0x126186['model']['change'](_0x202faa=>{switch(_0x43038d['type']){case'manual':{const _0x479d33=_0x126186['model']['schema']['getNearestSelectionRange'](_0x43038d['modelRange']['end'],'forward');_0x202faa['setSelection'](_0x479d33);break;}case'element':{const _0x57fcf3=_0x126186['model']['schema']['getNearestSelectionRange'](_0x43038d['modelRange']['start'],'forward');_0x202faa['setSelection'](_0x57fcf3);break;}case'text':{const _0x1182f3=_0x43038d['modelRange']['start'];if(_0x1182f3['textNode']&&'\x20'===_0x1182f3['textNode']['data'][_0x1182f3['offset']]){const _0xf3a5d9=_0x202faa['createPositionAt'](_0x1182f3['parent'],_0x1182f3['offset']+0x1);_0x202faa['setSelection'](_0xf3a5d9);}else _0x202faa['setSelection'](_0x43038d['modelRange']);}}_0x126186['editing']['view']['focus']();});}['goToNextPage'](){const _0xc1ab3d=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0xc1ab3d),this['scrollToPage'](_0xc1ab3d);}['goToPreviousPage'](){const _0x48c9c2=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x48c9c2),this['scrollToPage'](_0x48c9c2);}['_updatePageBreakMarkers'](_0x304a2b,_0x430036){const _0xaae980=this['editor']['model'];this['isEnabled']&&_0xaae980['change'](_0x5423ea=>{for(let _0x2cb812=0x1;_0x2cb812<_0x304a2b['length'];_0x2cb812++){const _0x28e99a=_0x304a2b[_0x2cb812]['modelRange'],_0x3d909b='pagination:'+(_0x2cb812+0x1);_0xaae980['markers']['has'](_0x3d909b)?_0x5423ea['updateMarker'](_0x3d909b,{'range':_0x28e99a}):_0x5423ea['addMarker'](_0x3d909b,{'range':_0x28e99a,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x1614bf=_0x304a2b['length'];_0x1614bf<_0x430036['length'];_0x1614bf++){const _0x43ebc2='pagination:'+(_0x1614bf+0x1);_0xaae980['markers']['has'](_0x43ebc2)&&_0x5423ea['removeMarker'](_0x43ebc2);}});}['_setUpDataDowncastConversion'](){const _0x423109='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x14edcd=>{_0x14edcd['on']('addMarker:'+_0x423109,(_0x10926e,{markerRange:_0x41e22c,markerName:_0x227d5e},_0xf53e74)=>{if(!_0xf53e74['options']['pagination'])return;if(!_0xf53e74['consumable']['consume'](_0x41e22c,_0x10926e['name']))return;const _0x4de18f=_0x41e22c['getContainedElement']();let _0x3eb3cb=_0x4de18f?_0xf53e74['mapper']['toViewElement'](_0x4de18f):null;if(!_0x3eb3cb){const _0x441ce3=_0x41e22c['start'];if(_0xf53e74['schema']['checkChild'](_0x441ce3,'$text')){const _0x1aa2af=_0xf53e74['mapper']['toViewPosition'](_0x441ce3);_0x3eb3cb=_0xf53e74['writer']['createContainerElement']('span'),_0x3eb3cb['getFillerOffset']=()=>null,_0xf53e74['writer']['insert'](_0x1aa2af,_0x3eb3cb);}else{const _0x1dce07=_0x441ce3['nodeAfter'];_0x3eb3cb=_0xf53e74['mapper']['toViewElement'](_0x1dce07);}}for(;_0x3eb3cb['parent']!==_0x3eb3cb['root']&&0x0===_0x3eb3cb['index'];)_0x3eb3cb=_0x3eb3cb['parent'];const _0x5dd231=_0x227d5e['substring'](0xb);_0x3eb3cb['hasClass']('page-break')||(_0xf53e74['writer']['setStyle']('page-break-before','always',_0x3eb3cb),_0xf53e74['writer']['setAttribute']('data-pagination-page',_0x5dd231,_0x3eb3cb),_0xf53e74['mapper']['bindElementToMarker'](_0x3eb3cb,_0x227d5e)),_0x10926e['stop']();});});}['_setupKeystrokes'](){const _0x407db3=this['editor'];_0x407db3['keystrokes']['set']('Shift+Pageup',(_0x21d494,_0x4badcb)=>{this['goToPreviousPage'](),_0x4badcb();}),_0x407db3['keystrokes']['set']('Shift+Pagedown',(_0x21c8fc,_0x270fbd)=>{this['goToNextPage'](),_0x270fbd();}),_0x407db3['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x407db3['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x407db3['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x407db3['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0xcbaa9b){return _0xcbaa9b<0x1&&(_0xcbaa9b=0x1),_0xcbaa9b>this['totalPages']&&(_0xcbaa9b=this['totalPages']),_0xcbaa9b;}}class U extends _0x29002e{['pageNumberView'];constructor(_0x5ea2e2){super(_0x5ea2e2);const _0x335745=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4c6805(_0x5ea2e2,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3c6ad0=>g(_0x5ea2e2,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3c6ad0)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xcdc1b5=>!_0xcdc1b5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x335745['if']('isEnabled','ck-disabled',_0x128216=>!_0x128216)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x335745['to']('totalPages')}]}]});}['render'](){super['render']();const _0xd32de2=this['pageNumberView']['element'],_0x13ce21=_0x3fb69e=>{this['pageNumberView']['element']['value']=String(_0x3fb69e);};_0x13ce21(this['pageNumber']),this['on']('change:pageNumber',(_0x2ef07c,_0xb366f7,_0x387e48)=>{_0x13ce21(_0x387e48);}),this['listenTo'](_0xd32de2,'keydown',(_0x543028,_0xdb8ce8)=>{if('ArrowUp'===_0xdb8ce8['key']||'ArrowDown'===_0xdb8ce8['key'])return void _0xdb8ce8['stopPropagation']();if(_0xdb8ce8['keyCode']!==_0xb36421['enter'])return;_0xdb8ce8['preventDefault']();const _0x13276e=_0xd32de2['valueAsNumber'];Number['isNaN'](_0x13276e)?_0xd32de2['value']=String(this['pageNumber']):(_0xd32de2['checkValidity']()?this['pageNumber']=_0x13276e:_0x13276e>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xd32de2['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xd32de2['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xd32de2,'blur',()=>{_0xd32de2['value']=String(this['pageNumber']);}),this['listenTo'](_0xd32de2,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x284183{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x482c24=this['editor'],_0x2a4e6a=_0x482c24['plugins']['get']('PaginationEditing');_0x482c24['ui']['componentFactory']['add']('pageNavigation',_0x50413d=>{const _0x1460f6=new U(_0x50413d);return _0x1460f6['bind']('pageNumber')['to'](_0x2a4e6a),_0x1460f6['bind']('totalPages')['to'](_0x2a4e6a),_0x1460f6['bind']('isEnabled')['to'](_0x2a4e6a),_0x1460f6['on']('navigation',(_0x5d3e5a,_0x339558)=>{_0x2a4e6a['moveSelectionToPage'](_0x339558),_0x2a4e6a['scrollToPage'](_0x339558);}),_0x1460f6;}),_0x482c24['ui']['componentFactory']['add']('nextPage',_0x19e385=>{const _0x51f1b1=new _0x2e4f7d(_0x19e385);return _0x51f1b1['isEnabled']=!0x0,_0x51f1b1['label']=g(_0x482c24['locale'],'Go\x20to\x20next\x20page'),_0x51f1b1['icon']=_0x48529a,_0x51f1b1['tooltip']=!0x0,_0x51f1b1['keystroke']='Shift+PageDown',_0x51f1b1['bind']('isEnabled')['to'](_0x2a4e6a),this['listenTo'](_0x51f1b1,'execute',()=>{_0x2a4e6a['goToNextPage']();}),_0x51f1b1;}),_0x482c24['ui']['componentFactory']['add']('previousPage',_0x238249=>{const _0x13f805=new _0x2e4f7d(_0x238249);return _0x13f805['isEnabled']=!0x0,_0x13f805['label']=g(_0x482c24['locale'],'Go\x20to\x20previous\x20page'),_0x13f805['icon']=_0x22219a,_0x13f805['tooltip']=!0x0,_0x13f805['keystroke']='Shift+PageUp',_0x13f805['bind']('isEnabled')['to'](_0x2a4e6a),this['listenTo'](_0x13f805,'execute',()=>{_0x2a4e6a['goToPreviousPage']();}),_0x13f805;});}}class a extends _0x284183{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x47f965){super(_0x47f965),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1ad028=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x1ad028),this['bind']('totalPages')['to'](_0x1ad028),_0x5511fa['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3e1d32){this['editor']['plugins']['get'](s)['scrollToPage'](_0x3e1d32);}}export{a as Pagination,c as PaginationRenderer};
@@ -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':_0x271971=>0x1!=_0x271971}};
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':_0x1f3697=>0x1!=_0x1f3697}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2fefb1=>{const {af:{dictionary:_0x29312c,getPluralForm:_0x50abb5}}={'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':_0x14c722=>0x1!=_0x14c722}};_0x2fefb1['af']||={'dictionary':{},'getPluralForm':null},_0x2fefb1['af']['dictionary']=Object['assign'](_0x2fefb1['af']['dictionary'],_0x29312c),_0x2fefb1['af']['getPluralForm']=_0x50abb5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x29fa66=>{const {af:{dictionary:_0x478d26,getPluralForm:_0x14a9fe}}={'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':_0x351459=>0x1!=_0x351459}};_0x29fa66['af']||={'dictionary':{},'getPluralForm':null},_0x29fa66['af']['dictionary']=Object['assign'](_0x29fa66['af']['dictionary'],_0x478d26),_0x29fa66['af']['getPluralForm']=_0x14a9fe;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0x5e1806=>0x0==_0x5e1806?0x0:0x1==_0x5e1806?0x1:0x2==_0x5e1806?0x2:_0x5e1806%0x64>=0x3&&_0x5e1806%0x64<=0xa?0x3:_0x5e1806%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0x14540e=>0x0==_0x14540e?0x0:0x1==_0x14540e?0x1:0x2==_0x14540e?0x2:_0x14540e%0x64>=0x3&&_0x14540e%0x64<=0xa?0x3:_0x14540e%0x64>=0xb?0x4:0x5}};