@ckeditor/ckeditor5-document-outline 38.0.1 → 38.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +2 -2
- package/build/document-outline.js.map +1 -0
- package/package.json +8 -8
- package/src/documentoutline/documentoutlineui.d.ts +1 -1
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.d.ts +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.js +1 -1
- package/src/documentoutline.d.ts +6 -2
- package/src/documentoutline.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/tableofcontents/headingid.d.ts +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.d.ts +3 -3
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.d.ts +5 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
- package/src/tableofcontents.d.ts +2 -2
- package/src/tableofcontents.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"Editor headings will appear here as you type.":"Editor headings will appear here as you type.","Empty heading":"Empty heading","No headings were found in the document.":"No headings were found in the document.","Table of contents":"Table of contents"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={45:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-document-outline-padding:var(--ck-spacing-large);--ck-document-outline-base-font-size:.875em;--ck-document-outline-placeholder-color:var(--ck-color-engine-placeholder-text);--ck-document-outline-indent-level-1:0;--ck-document-outline-indent-level-2:1.5em;--ck-document-outline-indent-level-3:3em;--ck-document-outline-indent-level-4:4.5em;--ck-document-outline-indent-level-5:6em;--ck-document-outline-indent-level-6:7.5em;--ck-document-outline-item-padding:var(--ck-spacing-small);--ck-document-outline-item-active-color:var(--ck-color-base-active);--ck-document-outline-item-default-color:#424242;--ck-document-outline-item-hover-state-color:var(--ck-color-base-text)}.ck.ck-document-outline{font-size:var(--ck-document-outline-base-font-size);padding:var(--ck-document-outline-padding);user-select:none}.ck.ck-document-outline:empty:before{color:var(--ck-document-outline-placeholder-color);content:attr(data-document-outline-empty-placeholder);display:inline-block}.ck.ck-document-outline .ck-document-outline__item{color:var(--ck-document-outline-item-default-color);cursor:pointer;overflow:hidden;padding:var(--ck-document-outline-item-padding);text-overflow:ellipsis;white-space:nowrap}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty{font-style:italic}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover,.ck.ck-document-outline .ck-document-outline__item:hover{color:var(--ck-document-outline-item-hover-state-color);text-decoration:underline}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_active{color:var(--ck-document-outline-item-active-color)}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_level-1{font-size:1.1em;font-weight:700}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-1{padding-left:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-2{padding-left:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-3{padding-left:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-4{padding-left:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-5{padding-left:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-6{padding-left:var(--ck-document-outline-indent-level-6)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-1{padding-right:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-2{padding-right:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-3{padding-right:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-4{padding-right:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-5{padding-right:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-6{padding-right:var(--ck-document-outline-indent-level-6)}",""]);const c=i},399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-table-of-contents-padding:1em;--ck-table-of-contents-line-height:1.5;--ck-table-of-contents-items-start-padding:24px;--ck-table-of-contents-border-color:var(--ck-color-base-border);--ck-table-of-contents-label-background-color:#757575;--ck-table-of-contents-background-color:var(--ck-color-base-foreground)}.ck-content .table-of-contents{margin:.9em auto}.ck-content .table-of-contents.table-of-contents_empty{display:none}.ck-content .table-of-contents .table-of-contents__placeholder{font-style:italic;margin:0;padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents>ol{padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents ol{line-height:var(--ck-table-of-contents-line-height);list-style-type:none;margin:0}.ck-content .table-of-contents ol ol{padding-inline-start:var(--ck-table-of-contents-items-start-padding)}.ck-content .table-of-contents ol li{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-editor__editable .ck-widget.table-of-contents{background-color:var(--ck-table-of-contents-background-color);border:1px solid var(--ck-table-of-contents-border-color);position:relative}.ck-editor__editable .ck-widget.table-of-contents.table-of-contents_empty{display:block}.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{background-color:var(--ck-table-of-contents-label-background-color);color:#fff;content:attr(data-table-of-contents-label);font-family:var(--ck-font-face);font-size:10px;line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:10px;top:-1px;white-space:nowrap}[dir=rtl] .ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{left:10px;right:auto}",""]);const c=i},888:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-document-outline-padding:var(--ck-spacing-large);--ck-document-outline-base-font-size:.875em;--ck-document-outline-placeholder-color:var(--ck-color-engine-placeholder-text);--ck-document-outline-indent-level-1:0;--ck-document-outline-indent-level-2:1.5em;--ck-document-outline-indent-level-3:3em;--ck-document-outline-indent-level-4:4.5em;--ck-document-outline-indent-level-5:6em;--ck-document-outline-indent-level-6:7.5em;--ck-document-outline-item-padding:var(--ck-spacing-small);--ck-document-outline-item-active-color:var(--ck-color-base-active);--ck-document-outline-item-default-color:#424242;--ck-document-outline-item-hover-state-color:var(--ck-color-base-text)}.ck.ck-document-outline{font-size:var(--ck-document-outline-base-font-size);padding:var(--ck-document-outline-padding);user-select:none}.ck.ck-document-outline:empty:before{color:var(--ck-document-outline-placeholder-color);content:attr(data-document-outline-empty-placeholder);display:inline-block}.ck.ck-document-outline .ck-document-outline__item{color:var(--ck-document-outline-item-default-color);cursor:pointer;overflow:hidden;padding:var(--ck-document-outline-item-padding);text-overflow:ellipsis;white-space:nowrap}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty{font-style:italic}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover,.ck.ck-document-outline .ck-document-outline__item:hover{color:var(--ck-document-outline-item-hover-state-color);text-decoration:underline}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_active{color:var(--ck-document-outline-item-active-color)}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_level-1{font-size:1.1em;font-weight:700}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-1{padding-left:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-2{padding-left:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-3{padding-left:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-4{padding-left:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-5{padding-left:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-6{padding-left:var(--ck-document-outline-indent-level-6)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-1{padding-right:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-2{padding-right:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-3{padding-right:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-4{padding-right:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-5{padding-right:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-6{padding-right:var(--ck-document-outline-indent-level-6)}",""]);const c=i},362:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-table-of-contents-padding:1em;--ck-table-of-contents-line-height:1.5;--ck-table-of-contents-items-start-padding:24px;--ck-table-of-contents-border-color:var(--ck-color-base-border);--ck-table-of-contents-label-background-color:#757575;--ck-table-of-contents-background-color:var(--ck-color-base-foreground)}.ck-content .table-of-contents{margin:.9em auto}.ck-content .table-of-contents.table-of-contents_empty{display:none}.ck-content .table-of-contents .table-of-contents__placeholder{font-style:italic;margin:0;padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents>ol{padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents ol{line-height:var(--ck-table-of-contents-line-height);list-style-type:none;margin:0}.ck-content .table-of-contents ol ol{padding-inline-start:var(--ck-table-of-contents-items-start-padding)}.ck-content .table-of-contents ol li{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-editor__editable .ck-widget.table-of-contents{background-color:var(--ck-table-of-contents-background-color);border:1px solid var(--ck-table-of-contents-border-color);position:relative}.ck-editor__editable .ck-widget.table-of-contents.table-of-contents_empty{display:block}.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{background-color:var(--ck-table-of-contents-label-background-color);color:#fff;content:attr(data-table-of-contents-label);font-family:var(--ck-font-face);font-size:10px;line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:10px;top:-1px;white-space:nowrap}[dir=rtl] .ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{left:10px;right:auto}",""]);const c=i},758:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(o)for(var c=0;c<this.length;c++){var r=this[c][0];null!=r&&(i[r]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);o&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},278:(e,t,n)=>{"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},c=function(){var e={};return 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(e){n=null}e[t]=n}return e[t]}}(),r=[];function l(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},o=[],i=0;i<e.length;i++){var c=e[i],s=t.base?c[0]+t.base:c[0],a=n[s]||0,d="".concat(s," ").concat(a);n[s]=a+1;var u=l(d),m={css:c[1],media:c[2],sourceMap:c[3]};-1!==u?(r[u].references++,r[u].updater(m)):r.push({identifier:d,updater:p(m,t),references:1}),o.push(d)}return o}function a(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var i=n.nc;i&&(o.nonce=i)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var r=c(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function m(e,t,n,o){var i=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var c=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(c,r[t]):e.appendChild(c)}}function f(e,t,n){var o=n.css,i=n.media,c=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),c&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(c))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var h=null,g=0;function p(e,t){var n,o,i;if(t.singleton){var c=g++;n=h||(h=a(t)),o=m.bind(null,n,c,!1),i=m.bind(null,n,c,!0)}else n=a(t),o=f.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var i=l(n[o]);r[i].references--}for(var c=s(e,t),a=0;a<n.length;a++){var d=l(n[a]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}n=c}}}},704:(e,t,n)=>{e.exports=n(79)("./src/core.js")},492:(e,t,n)=>{e.exports=n(79)("./src/engine.js")},273:(e,t,n)=>{e.exports=n(79)("./src/ui.js")},209:(e,t,n)=>{e.exports=n(79)("./src/utils.js")},995:(e,t,n)=>{e.exports=n(79)("./src/widget.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var c=t[o]={id:o,exports:{}};return e[o](c,c.exports,n),c.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};(()=>{"use strict";n.r(o),n.d(o,{DocumentOutline:()=>se,DocumentOutlineUI:()=>ne,DocumentOutlineUtils:()=>F,HeadingId:()=>Ce,TableOfContents:()=>Pe,TableOfContentsCommand:()=>ge,TableOfContentsEditing:()=>Ne,TableOfContentsUI:()=>He,icons:()=>Ve});var e=n(704),t=n(209);const i=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const c="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;const l=c||r||Function("return this")();const s=function(){return l.Date.now()};var a=/\s/;const d=function(e){for(var t=e.length;t--&&a.test(e.charAt(t)););return t};var u=/^\s+/;const m=function(e){return e?e.slice(0,d(e)+1).replace(u,""):e};const f=l.Symbol;var h=Object.prototype,g=h.hasOwnProperty,p=h.toString,v=f?f.toStringTag:void 0;const x=function(e){var t=g.call(e,v),n=e[v];try{e[v]=void 0;var o=!0}catch(e){}var i=p.call(e);return o&&(t?e[v]=n:delete e[v]),i};var k=Object.prototype.toString;const b=function(e){return k.call(e)};var _=f?f.toStringTag:void 0;const w=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":_&&_ in Object(e)?x(e):b(e)};const y=function(e){return null!=e&&"object"==typeof e};const C=function(e){return"symbol"==typeof e||y(e)&&"[object Symbol]"==w(e)};var I=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,T=/^0o[0-7]+$/i,E=parseInt;const A=function(e){if("number"==typeof e)return e;if(C(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=m(e);var n=O.test(e);return n||T.test(e)?E(e.slice(2),n?2:8):I.test(e)?NaN:+e};var N=Math.max,S=Math.min;const H=function(e,t,n){var o,c,r,l,a,d,u=0,m=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=o,i=c;return o=c=void 0,u=t,l=e.apply(i,n)}function p(e){var n=e-d;return void 0===d||n>=t||n<0||f&&e-u>=r}function v(){var e=s();if(p(e))return x(e);a=setTimeout(v,function(e){var n=t-(e-d);return f?S(n,r-(e-u)):n}(e))}function x(e){return a=void 0,h&&o?g(e):(o=c=void 0,l)}function k(){var e=s(),n=p(e);if(o=arguments,c=this,d=e,n){if(void 0===a)return function(e){return u=e,a=setTimeout(v,t),m?g(e):l}(d);if(f)return clearTimeout(a),a=setTimeout(v,t),g(d)}return void 0===a&&(a=setTimeout(v,t)),l}return t=A(t)||0,i(n)&&(m=!!n.leading,r=(f="maxWait"in n)?N(A(n.maxWait)||0,t):r,h="trailing"in n?!!n.trailing:h),k.cancel=function(){void 0!==a&&clearTimeout(a),u=0,o=d=c=a=void 0},k.flush=function(){return void 0===a?l:x(s())},k};var D=n(492);const j=["data","htmlH2","paragraph","htmlH6","config","htmlH4","model","htmlH3","has","htmlH5","GeneralHtmlSupport","getChildren","push"];var M,K;M=j,K=424,function(e){for(;--e;)M.push(M.shift())}(++K);const P=function(e,t){return j[e-=0]};function V(e){let t="";for(const n of e[P("0x3")]())n instanceof D.Text&&(t+=n[P("0x5")]);return t}const U=["selection","createElement","init","text","afterInit","document","_deriveHeadingElementsFromConversion","editing","_getOutlineDefinitions","_getHeadingNames","name","toModel","change","fire","getRootNames","config","domToView","DocumentOutlineUtils","pluginName","editor","_getActiveHeading","element","model","includes","item","data","length","getChildren","_headingNames","level","getRoot","documentOutline.headings","push","findIndex","modelElement"];var L,R;L=U,R=419,function(e){for(;--e;)L.push(L.shift())}(++R);const Z=function(e,t){return U[e-=0]};class F extends e.Plugin{constructor(){super(...arguments),this[Z("0x1d")]=[]}static get[Z("0x13")](){return Z("0x12")}[Z("0x3")](){const e=this[Z("0x14")];this[Z("0x1d")]=this[Z("0xa")]();let n=[];e[Z("0x17")][Z("0x6")].on(Z("0xd"),H((()=>{const e=n;n=this[Z("0x9")]();const o=(0,t.diff)(e,n,((e,t)=>e.level===t[Z("0x1e")]&&e[Z("0x4")]===t[Z("0x4")]&&e[Z("0x0")]===t[Z("0x0")])),i=(0,t.diffToChanges)(o,n),c=this[Z("0x15")](),r=n[Z("0x22")]((e=>e[Z("0x0")]===c));i[Z("0x1b")]&&this[Z("0xe")](Z("0xd"),{outlineDefinitions:n,activeItemIndex:r,outlineChanges:i}),this.fire("activeItemIndex",{index:r})}),250,{leading:!0,trailing:!0}))}[Z("0x5")](){this[Z("0x1d")][Z("0x1b")]||this[Z("0x7")]()}_getOutlineDefinitions(){const e=this[Z("0x14")],t=[],n=this[Z("0x1d")];for(const t of e[Z("0x17")][Z("0x6")][Z("0xf")]())o(e[Z("0x17")][Z("0x6")][Z("0x1f")](t));function o(e){for(const i of e[Z("0x1c")]())i.is("element")&&(n[Z("0x18")](i[Z("0xb")])&&t[Z("0x21")]({level:n.indexOf(i.name)+1,text:V(i),modelElement:i}),o(i))}return t}[Z("0x15")](){const e=this[Z("0x14")][Z("0x17")][Z("0x6")][Z("0x1")].getFirstPosition(),t=new D.TreeWalker({direction:"backward",startPosition:e});for(const e of t)if(e[Z("0x19")].is(Z("0x16"))&&this[Z("0x1d")][Z("0x18")](e[Z("0x19")][Z("0xb")]))return e.item}[Z("0xa")](){return this[Z("0x14")][Z("0x10")].get(Z("0x20"))||function(e){const t=e[P("0x9")].get("heading.options");return t?t.reduce(((e,t)=>(P("0x7")!==t[P("0xb")]&&e[P("0x4")](t[P("0xb")]),e)),[]):e.plugins[P("0x0")](P("0x2"))?["htmlH1",P("0x6"),P("0xc"),P("0xa"),P("0x1"),P("0x8")]:[]}(this[Z("0x14")])}[Z("0x7")](){const e=this.editor,t=["h1","h2","h3","h4","h5","h6"],n=[];for(const o of t){const t=e[Z("0x8")].view.domConverter[Z("0x11")](document[Z("0x2")](o)),i=e[Z("0x1a")][Z("0xc")](t).getChild(0);(null==i?void 0:i.is("element"))&&n[Z("0x21")](i[Z("0xb")])}this[Z("0x1d")]=n}}var z=n(273);class W extends z.View{constructor(e,t=!1){super(e);const n=e.t,o=this.bindTemplate,i=t?"["+n("Empty heading")+"]":"";this.set("text",""),this.set("level",1),this.set("isActive",!1),this.bind("isEmpty").to(this,"text",(e=>!e)),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-document-outline__item",o.to("level",(e=>"ck-document-outline__item_level-"+e)),o.if("isActive","ck-document-outline__item_active"),o.if("isEmpty","ck-document-outline__item_empty")],title:o.to("text")},children:[{text:o.to("text",(e=>e||i))}],on:{click:o.to("click")}})}scrollTo(){(0,t.scrollAncestorsToShowTarget)(this.element,20)}}class $ extends z.View{constructor(e,t=!1){super(e);const n=e.t;this.showEmptyHeadingText=t,this.set("activeItemIndex",-1),this.items=this.createCollection(),this.items.delegate("click").to(this),this.on("click",this._handleItemClick.bind(this)),this.on("change:activeItemIndex",((e,t,n,o)=>{this._setActiveItem(o,n)})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-document-outline"],dir:e.contentLanguageDirection,"data-document-outline-empty-placeholder":n("Editor headings will appear here as you type.")},children:this.items})}sync(e){e.forEach((e=>{"insert"==e.type?this._insertItem(e.index,...e.values):"delete"==e.type&&this._deleteItem(e.index,e.howMany)}))}_setActiveItem(e,t){if(-1!==e){const t=this.items.get(e);t&&(t.isActive=!1)}-1!==t&&(this.items.get(t).isActive=!0,this.items.get(t).scrollTo())}_insertItem(e,...t){const n=t.map(((t,n)=>{const o=new W(this.locale,this.showEmptyHeadingText);return o.text=t.text,o.level=t.level,e+n===this.activeItemIndex&&(o.isActive=!0),o}));this.items.addMany(n,e)}_deleteItem(e,t){do{this.items.remove(e)}while(--t)}_handleItemClick(e){const t=this.items.getIndex(e.source);this.fire("itemSelected",t)}}const B=function(e,t,n){var o=!0,c=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,c="trailing"in n?!!n.trailing:c),H(e,t,{leading:o,maxWait:t,trailing:c})};var q=n(278),G=n.n(q),J=n(888),Y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(J.Z,Y);J.Z.locals;const Q=["focus","plugins","view","_currentOutlineDefinitions","toViewElement","editing","cancel","change","top","_handleOutlineChange","render","modelElement","getDomRoot","window","afterInit","documentOutline.showEmptyHeadings","map","sync","then","init","getVisible","documentOutline.container","document-outline-container-not-provided","domConverter","mapViewToDom","isNaN","_setActiveViewItem","_updateActiveDefinitionOnViewportChange","get","config","length","_handleItemSelected","fromCharCode","activeItemIndex","editor","locale","DocumentOutlineUtils","resize","document","bottom","appendChild","scroll","_updateActiveDefinitionFromViewportThrottled","listenTo","DocumentOutlineUI","model","itemSelected","destroy","bind"];var X,ee;X=Q,ee=429,function(e){for(;--e;)X.push(X.shift())}(++ee);const te=function(e,t){return Q[e-=0]};class ne extends e.Plugin{static get pluginName(){return te("0x7")}constructor(e){super(e),this[te("0xe")]=new $(e[te("0x2f")],this.editor[te("0x29")][te("0x28")](te("0x1b"))),this._currentOutlineDefinitions=[],this._updateActiveDefinitionFromViewportThrottled=B(this[te("0x27")].bind(this),100)}[te("0x1f")](){const e=this[te("0x2e")],n=e[te("0xd")].get(te("0x30"));let o=!1;if(this[te("0xe")][te("0x16")](),!e[te("0x29")][te("0x28")](te("0x21")))throw new t.CKEditorError(te("0x22"),{editor:e});e[te("0x29")][te("0x28")](te("0x21"))[te("0x3")](this[te("0xe")].element),n.on("change",this[te("0x15")][te("0xb")](this)),n.on(te("0x2d"),((e,{index:t})=>this[te("0x26")](t))),this[te("0xe")].on(te("0x9"),((e,t)=>{o=!0,this[te("0x2b")](t)})),this.view[te("0x6")](t.global[te("0x1")],te("0x4"),(()=>{o?o=!1:this._updateActiveDefinitionFromViewportThrottled()}),{useCapture:!0}),this[te("0xe")][te("0x6")](t.global[te("0x19")],te("0x0"),this[te("0x5")],{useCapture:!0})}[te("0x1a")](){!function(t){function n(e){return e[te("0x1c")]((e=>String[te("0x2c")](e))).join("")}(t=>{const o=[1,85,78,115,198,255,50,112,83,87,161],i=[127,34,6,211,167,86,146,199,132,160,18];function c(e){return function(e,t){const o=function(e){const t=atob(e),[o,i]=t[n([115,112,108,105,116])](n([45]));try{if(atob(i))return atob(o)}catch(e){}return t}(e),i=Array[n([102,114,111,109])](function(e){const t=new Uint8Array(e[n([108,101,110,103,116,104])]);for(let o=0;o<e[n([108,101,110,103,116,104])];o++)t[o]=e[n([99,104,97,114,67,111,100,101,65,116])](o);return t}(o)),c=i[n([112,111,112])](),r=i[n([112,111,112])]();return function(e){let t="";for(const o of e)t+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](o);return t}(function(e,t,o){const i={};i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},i[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],i[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],i[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],i[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],i[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],i[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],i[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],i[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],i[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],i[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const c=new Uint8Array(16);for(let e=15;e>=0;--e)c[e]=o%256,o=parseInt(o/256);let r=null,l=16;const s=new Uint8Array(t),a=[],d=[];!function(){const e=i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][s[n([108,101,110,103,116,104])]];for(let t=0;t<=e;t++)a[n([112,117,115,104])]([0,0,0,0]),d[n([112,117,115,104])]([0,0,0,0]);const t=4*(e+1),o=s[n([108,101,110,103,116,104])]/4,c=u(s);let r;for(let t=0;t<o;t++)r=t>>2,a[r][t%4]=c[t],d[e-r][t%4]=c[t];let l,m=0,f=o;for(;f<t;){l=c[o-1],c[0]^=i[n([83])][l>>16&255]<<24^i[n([83])][l>>8&255]<<16^i[n([83])][255&l]<<8^i[n([83])][l>>24&255]^i[n([114,99,111,110])][m]<<24,m+=1;for(let e=1;e<o/2;e++)c[e]^=c[e-1];l=c[o/2-1],c[o/2]^=i[n([83])][255&l]^i[n([83])][l>>8&255]<<8^i[n([83])][l>>16&255]<<16^i[n([83])][l>>24&255]<<24;for(let e=o/2+1;e<o;e++)c[e]^=c[e-1];let r,s,u=0;for(;u<o&&f<t;)r=f>>2,s=f%4,a[r][s]=c[u],d[e-r][s]=c[u++],f++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)l=d[t][e],d[t][e]=i[n([85,49])][l>>24&255]^i[n([85,50])][l>>16&255]^i[n([85,51])][l>>8&255]^i[n([85,52])][255&l]}();for(let t=0;t<e[n([108,101,110,103,116,104])];t++)16===l&&(r=f(c),l=0,m(c)),e[t]^=r[l++];return e;function u(e){const t=[];for(let o=0;o<e[n([108,101,110,103,116,104])];o+=4)t[n([112,117,115,104])](e[o]<<24|e[o+1]<<16|e[o+2]<<8|e[o+3]);return t}function m(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function f(e){const t=a[n([108,101,110,103,116,104])]-1,o=[0,0,0,0];let c=u(e);for(let e=0;e<4;e++)c[e]^=a[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)o[t]=i[n([84,49])][c[t]>>24&255]^i[n([84,50])][c[(t+1)%4]>>16&255]^i[n([84,51])][c[(t+2)%4]>>8&255]^i[n([84,52])][255&c[(t+3)%4]]^a[e][t];c=o[n([115,108,105,99,101])]()}const r=new Uint8Array(16);let l;for(let e=0;e<4;e++)l=a[t][e],r[4*e]=255&(i[n([83])][c[e]>>24&255]^l>>24),r[4*e+1]=255&(i[n([83])][c[(e+1)%4]>>16&255]^l>>16),r[4*e+2]=255&(i[n([83])][c[(e+2)%4]>>8&255]^l>>8),r[4*e+3]=255&(i[n([83])][255&c[(e+3)%4]]^l);return r}}(i,t,r+256*c))}(e,new Uint8Array([...o,29,221,175,90,231,133,239,240,75,180,...i]))}const r=function(){const e=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function e(t){t[n([102,111,114,69,97,99,104])]((t=>{t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<t[n([105,100])]-1,t[n([99,104,101,99,107,65,108,115,111])]&&e(t[n([99,104,101,99,107,65,108,115,111])])}))}(e),e}(),l={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(e,t){g(h(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(e,t){g(function(e,t){try{if(_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&e){const o=w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(o)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(e,t){const c=i[0]*o[1],r=i[0]*o[2],l=i[2]*o[2];function s(e,t){d(),p(t+n([84,114,105,97,108,76,105,109,105,116,58])+e),window[v()]=e===n([116,105,109,101])?c:r}function d(){const e=a;function t(){_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=b,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=b,e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=b,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=b)}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const o=w(e,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),i=o.getRevision(0),c=o.getEarlierVisibleRevision(i[n([105,100])]);w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](i[n([105,100])],c?c[n([105,100])]:null,1)[te("0x1e")]((()=>t()))}}))}_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[v()]=l),function(e,t){if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))d();else if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const e=function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number[te("0x25")](Number(e))){if(window[e]===c)return n([116,105,109,101]);if(window[e]===r)return n([114,101,118,105,115,105,111,110,115])}return!1}();e&&s(e,t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const l=function(){let e=i[6]*o[8]*o[6];return _(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e/=10),e}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{s(n([116,105,109,101]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),l);const d=w(a,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];d[n([108,101,110,103,116,104])]>=7?s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):d.on(n([97,100,100]),(()=>{d[n([108,101,110,103,116,104])]>=7&&s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(e,t){try{return function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))&&window[e]===l)return!0;return!1}()?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)}},s=t[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],a=n([99,111,110,116,101,120,116])in t?t.context:t[te("0x2e")],d=n([52,48,52,54,49,48,52,54]),u=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),m=a[te("0x29")][te("0x28")](n([108,105,99,101,110,115,101,75,101,121])),f=r[n([102,105,110,100])]((e=>e[n([112,108,117,103,105,110,78,97,109,101])]===s));function h(e,t){try{return function(e){if(!_(a,e[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const t=e[n([111,112,116,105,111,110,115])]||{},o=t[n([97,105,119,115,103,105,99])]||!1,i=t[n([97,105,116,99,100,103,105,108])]||!1;return!(!_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!o)||!(!_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!i)}(t)?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):e&&e[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?e[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(d)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):e[n([105,115,84,114,105,97,108])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function g(t,c){if(a instanceof e.Context){const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?x(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{x(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),i[6]*o[8]*o[6]),e[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((e,o)=>{t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||k(o)}))}else{const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?k(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&e[n([111,110])](n([114,101,97,100,121]),(()=>{let t=0;e[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((o,i)=>{i[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504===t&&(k(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),o[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function p(e){const t=v();return a[t]=e,e}function v(){const e=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let t="";for(let o=0;o<e[n([108,101,110,103,116,104])];o+=2){let i=parseInt(e[n([115,117,98,115,116,114,105,110,103])](o,o+2));i>=u[n([108,101,110,103,116,104])]&&(i-=u[n([108,101,110,103,116,104])]),t+=u[i]}return t}function x(e){for(const t of e[n([101,100,105,116,111,114,115])])k(t);w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=b}function k(e){function t(){e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>t()))}function b(){return null}function _(e,t){return e[n([112,108,117,103,105,110,115])][n([104,97,115])](t)}function w(e,t){return e[n([112,108,117,103,105,110,115])][n([103,101,116])](t)}f&&function e(t,o){l[o[n([104,97,110,100,108,101,114])]](t,o),o[n([99,104,101,99,107,65,108,115,111])]&&o[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((e=>_(a,e[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>e(t,n)))}(function(e){try{const t=c(e),o=JSON[n([112,97,114,115,101])](t),i=parseInt(o[n([49])]),r=parseInt(o[n([51])]),l=parseInt(o[n([52])])||0,s=parseInt(o[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:l,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:i,[n([105,115,84,114,105,97,108])]:r,[n([105,115,73,110,116,101,114,110,97,108])]:s}}catch(e){return null}}(m),f)})(t)}(this)}[te("0xa")](){super[te("0xa")](),this[te("0xe")][te("0xa")](),this[te("0x5")][te("0x12")]()}[te("0x15")](e,{outlineDefinitions:t,activeItemIndex:n,outlineChanges:o}){this[te("0xf")]=t,this[te("0xe")][te("0x1d")](o)}[te("0x26")](e){this[te("0xe")][te("0x2d")]=e}[te("0x2b")](e){const t=this[te("0xf")][e][te("0x17")];this[te("0x2e")][te("0x8")][te("0x13")]((e=>{e.setSelection(t,0)})),this.editor[te("0x11")][te("0xe")].scrollToTheSelection({alignToTop:!0,forceScroll:!0}),this[te("0x2e")][te("0x11")][te("0xe")][te("0xc")](),this[te("0x26")](e)}_updateActiveDefinitionOnViewportChange(){const e=this[te("0x2e")];let n;for(const o of e[te("0x8")][te("0x1")].getRootNames()){const i=e[te("0x11")].view[te("0x18")](o),c=new t.Rect(i)[te("0x20")]();if(c){const e=new t.Rect(t.global[te("0x19")]).getIntersection(c);e&&(n=e[te("0x14")]+.25*e.height)}}if(void 0===n)return;const o=oe(e.editing,this[te("0xf")],n);o?this[te("0x26")](this._currentOutlineDefinitions.indexOf(o)):this[te("0x26")](-1)}}function oe(e,n,o,i=0,c=n[te("0x2a")]-1){const r=Math.floor(i+(c-i)/2);if(c>=i){const l=n[r],s=e.mapper[te("0x10")](l[te("0x17")]),a=e.view[te("0x23")][te("0x24")](s);return new t.Rect(a)[te("0x2")]>o?oe(e,n,o,i,r-1):oe(e,n,o,r+1,c)}return r<0?null:n[r]}const ie=["document-outline-invalid-license-key","licenseKey","document-outline-trial-license-key-reached-limit-changes","documentOutlineLicenseKeyInvalid","requires","editor","_licenseKeyCheckInterval","documentOutlineLicenseKeyTrialLimit:operations","documentOutlineLicenseKeyTrial","documentOutlineLicenseKeyValid","config","init","You are using the trial version of CKEditor 5 document outline plugin with limited usage. Make sure you will not use it in the production environment.","DocumentOutline"];var ce,re;ce=ie,re=410,function(e){for(;--e;)ce.push(ce.shift())}(++re);const le=function(e,t){return ie[e-=0]};class se extends e.Plugin{static get[le("0x0")](){return[F,ne]}static get pluginName(){return le("0x9")}constructor(e){super(e),this[le("0x2")]=null}[le("0x7")](){const e=this[le("0x1")];this[le("0xb")]=e[le("0x6")].get("licenseKey");const n=this[le("0x1")];this._licenseKeyCheckInterval=setInterval((()=>{let e;for(const t in n){const o=t,i=n[o];if(le("0x4")===i||"documentOutlineLicenseKeyInvalid"===i||le("0x5")===i||le("0x3")===i){delete n[o],e=i;break}}if(le("0xd")===e)throw clearInterval(this._licenseKeyCheckInterval),new t.CKEditorError(le("0xa"),null);if(le("0x4")===e&&console.info(le("0x8")),"documentOutlineLicenseKeyTrialLimit:operations"===e)throw clearInterval(this[le("0x2")]),new t.CKEditorError(le("0xc"),null);le("0x5")===e&&clearInterval(this[le("0x2")])}),1e3)}}const ae='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 19a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8.022a6.47 6.47 0 0 0-1.5-.709V2a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h6.313c.173.534.412 1.037.709 1.5H3Z"/><path d="M9.174 14a6.489 6.489 0 0 0-.155 1H6v-1h3.174Z"/><path d="M10.022 12c-.202.316-.378.65-.524 1H4v-1h6.022Z"/><path d="M12.034 10c-.448.283-.86.62-1.224 1H6v-1h6.034Z"/><path d="M12 4v1H4V4h8Z"/><path d="M14 7V6H6v1h8Z"/><path d="M15 9V8H7v1h8Z"/><path clip-rule="evenodd" d="M20 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM15.5 13a.5.5 0 0 0-.5.5V15h-1.5a.5.5 0 0 0 0 1H15v1.5a.5.5 0 0 0 1 0V16h1.5a.5.5 0 0 0 0-1H16v-1.5a.5.5 0 0 0-.5-.5Z"/></svg>\n';var de=n(995);const ue=["schema","model","refresh","execute","insertObject","editor","selection"];var me,fe;me=ue,fe=381,function(e){for(;--e;)me.push(me.shift())}(++fe);const he=function(e,t){return ue[e-=0]};class ge extends e.Command{[he("0x0")](){this[he("0x2")][he("0x5")].change((e=>{this[he("0x2")][he("0x5")][he("0x1")](e.createElement("tableOfContents"))}))}[he("0x6")](){const e=this[he("0x2")].model,t=e.document[he("0x3")].getFirstPosition();this.isEnabled=null!==(t&&e[he("0x4")].findAllowedParent(t,"tableOfContents"))}}var pe=n(362),ve={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(pe.Z,ve);pe.Z.locals;function xe(e){let t="";for(const n of e.getChildren())n instanceof D.Text&&(t+=n.data);return t}class ke extends e.Plugin{constructor(){super(...arguments),this._headingNames=[]}static get pluginName(){return"DocumentOutlineUtils"}init(){const e=this.editor;this._headingNames=this._getHeadingNames();let n=[];e.model.document.on("change",H((()=>{const e=n;n=this._getOutlineDefinitions();const o=(0,t.diff)(e,n,((e,t)=>e.level===t.level&&e.text===t.text&&e.modelElement===t.modelElement)),i=(0,t.diffToChanges)(o,n),c=this._getActiveHeading(),r=n.findIndex((e=>e.modelElement===c));i.length&&this.fire("change",{outlineDefinitions:n,activeItemIndex:r,outlineChanges:i}),this.fire("activeItemIndex",{index:r})}),250,{leading:!0,trailing:!0}))}afterInit(){this._headingNames.length||this._deriveHeadingElementsFromConversion()}_getOutlineDefinitions(){const e=this.editor,t=[],n=this._headingNames;for(const t of e.model.document.getRootNames())o(e.model.document.getRoot(t));function o(e){for(const i of e.getChildren())i.is("element")&&(n.includes(i.name)&&t.push({level:n.indexOf(i.name)+1,text:xe(i),modelElement:i}),o(i))}return t}_getActiveHeading(){const e=this.editor.model.document.selection.getFirstPosition(),t=new D.TreeWalker({direction:"backward",startPosition:e});for(const e of t)if(e.item.is("element")&&this._headingNames.includes(e.item.name))return e.item}_getHeadingNames(){const e=this.editor.config.get("documentOutline.headings");return e||function(e){const t=e.config.get("heading.options");return t?t.reduce(((e,t)=>("paragraph"!==t.model&&e.push(t.model),e)),[]):e.plugins.has("GeneralHtmlSupport")?["htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6"]:[]}(this.editor)}_deriveHeadingElementsFromConversion(){const e=this.editor,t=["h1","h2","h3","h4","h5","h6"],n=[];for(const o of t){const t=e.editing.view.domConverter.domToView(document.createElement(o)),i=e.data.toModel(t).getChild(0);(null==i?void 0:i.is("element"))&&n.push(i.name)}this._headingNames=n}}var be=n(45),_e={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(be.Z,_e);be.Z.locals;var we=n(399),ye={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(we.Z,ye);we.Z.locals;class Ce extends e.Plugin{static get pluginName(){return"HeadingId"}afterInit(){const e=this.editor;if(e.config.get("headingId.modelAttributeName"))return;(function(e){const t=new Map;if(e)return e.forEach((e=>{"paragraph"!==e.model&&t.set(e.view,e.model)})),t.get("h1")||t.set("h1","heading1"),t;return t})(this.editor.config.get("heading.options")).forEach(((t,n)=>{this._customUpcastHeadingsConversion(n),this._customDataDowncastHeadingsConversion(t),e.model.schema.isRegistered(t)&&e.model.schema.extend(t,{allowAttributes:"headingId"})})),this._registerHeadingIdAttributePostfixer()}_customUpcastHeadingsConversion(e){this.editor.data.upcastDispatcher.on(`element:${e}`,((e,n,o)=>{const{consumable:i,writer:c}=o,r=n.viewItem.getAttribute("id"),l=n.modelRange.getContainedElement();if(!(r&&r.length||l.hasAttribute("headingId")))return i.consume(n.viewItem,{attributes:["id"]}),void c.setAttribute("headingId",(0,t.uid)(),l);i.consume(n.viewItem,{attributes:["id"]})&&c.setAttribute("headingId",r,l)}),{priority:t.priorities.get("low")+.5})}_customDataDowncastHeadingsConversion(e){this.editor.conversion.for("downcast").add((t=>t.on(`attribute:headingId:${e}`,((e,t,n)=>{if(!n.consumable.consume(t.item,e.name))return;const o=t.item.getAttribute("headingId"),i=n.mapper.toViewElement(t.item);n.writer.setAttribute("id",o,i)}))))}_registerHeadingIdAttributePostfixer(){const e=this.editor,n=new Set,o=new Set;function i(e,n){const i=(0,t.uid)();return o.add(i),e.setAttribute("headingId",i,n),i}function c(e,t){e.removeAttribute("headingId",t)}e.model.document.registerPostFixer((t=>{const r=e.model.document.differ.getChanges();let l=!1;for(const e of r)if("insert"==e.type&&e.name)if(e.name.match(/heading\d/)){const c=e.attributes.get("headingId");"string"==typeof c?n.has(c)?(i(t,e.position.nodeAfter),l=!0):o.add(c):(i(t,e.position.nodeAfter),l=!0)}else{"string"==typeof e.attributes.get("headingId")&&(c(t,e.position.nodeAfter),l=!0)}else if("remove"==e.type){const t=e.attributes.get("headingId");"string"==typeof t&&n.delete(t)}return l})),e.model.document.on("change",(()=>{o.forEach((e=>n.add(e))),o.clear()}))}}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Ie=["string","extend","length","schema","config","consumable","differ","get","low","element:","add","editor","model","remove","name","getAttribute","_customDataDowncastHeadingsConversion","consume","delete","modelRange","removeAttribute","_registerHeadingIdAttributePostfixer","change","view","getChanges","type","document","forEach","_customUpcastHeadingsConversion","hasAttribute","downcast","heading.options","insert","setAttribute","getContainedElement","mapper","headingId","afterInit","upcastDispatcher","attributes","headingId.modelAttributeName","HeadingId","clear","paragraph","attribute:headingId:","set","position","nodeAfter","writer","data","item","viewItem"];var Oe,Te;Oe=Ie,Te=316,function(e){for(;--e;)Oe.push(Oe.shift())}(++Te);const Ee=function(e,t){return Ie[e-=0]};class Ae extends e.Plugin{static get pluginName(){return Ee("0x25")}[Ee("0x21")](){const e=this[Ee("0x7")];e[Ee("0x0")][Ee("0x3")](Ee("0x24"))||(function(e){const t=new Map;return e?(e.forEach((e=>{Ee("0x27")!==e[Ee("0x8")]&&t[Ee("0x29")](e[Ee("0x13")],e.model)})),t[Ee("0x3")]("h1")||t[Ee("0x29")]("h1","heading1"),t):t}(this.editor[Ee("0x0")][Ee("0x3")](Ee("0x1b")))[Ee("0x17")](((t,n)=>{this[Ee("0x18")](n),this[Ee("0xc")](t),e[Ee("0x8")].schema.isRegistered(t)&&e.model[Ee("0x33")][Ee("0x31")](t,{allowAttributes:Ee("0x20")})})),this[Ee("0x11")]())}[Ee("0x18")](e){this[Ee("0x7")][Ee("0x2d")][Ee("0x22")].on(Ee("0x5")+e,((e,n,o)=>{const{consumable:i,writer:c}=o,r=n[Ee("0x2f")][Ee("0xb")]("id"),l=n[Ee("0xf")][Ee("0x1e")]();if(!(r&&r[Ee("0x32")]||l[Ee("0x19")](Ee("0x20"))))return i[Ee("0xd")](n[Ee("0x2f")],{attributes:["id"]}),void c[Ee("0x1d")](Ee("0x20"),(0,t.uid)(),l);i[Ee("0xd")](n[Ee("0x2f")],{attributes:["id"]})&&c[Ee("0x1d")](Ee("0x20"),r,l)}),{priority:t.priorities[Ee("0x3")](Ee("0x4"))+.5})}[Ee("0xc")](e){this.editor.conversion.for(Ee("0x1a"))[Ee("0x6")]((t=>t.on(Ee("0x28")+e,((e,t,n)=>{if(!n[Ee("0x1")][Ee("0xd")](t[Ee("0x2e")],e[Ee("0xa")]))return;const o=t[Ee("0x2e")][Ee("0xb")](Ee("0x20")),i=n[Ee("0x1f")].toViewElement(t[Ee("0x2e")]);n[Ee("0x2c")][Ee("0x1d")]("id",o,i)}))))}[Ee("0x11")](){const e=this[Ee("0x7")],n=new Set,o=new Set;function i(e,n){const i=(0,t.uid)();return o[Ee("0x6")](i),e[Ee("0x1d")](Ee("0x20"),i,n),i}e[Ee("0x8")][Ee("0x16")].registerPostFixer((t=>{const c=e.model[Ee("0x16")][Ee("0x2")][Ee("0x14")]();let r=!1;for(const e of c)if(Ee("0x1c")==e[Ee("0x15")]&&e[Ee("0xa")])if(e[Ee("0xa")].match(/heading\d/)){const c=e[Ee("0x23")][Ee("0x3")](Ee("0x20"));Ee("0x30")==typeof c?n.has(c)?(i(t,e.position[Ee("0x2b")]),r=!0):o[Ee("0x6")](c):(i(t,e.position.nodeAfter),r=!0)}else Ee("0x30")==typeof e.attributes.get("headingId")&&(l=t,s=e[Ee("0x2a")][Ee("0x2b")],l[Ee("0x10")](Ee("0x20"),s),r=!0);else if(Ee("0x9")==e[Ee("0x15")]){const t=e[Ee("0x23")].get(Ee("0x20"));"string"==typeof t&&n[Ee("0xe")](t)}var l,s;return r})),e[Ee("0x8")][Ee("0x16")].on(Ee("0x12"),(()=>{o.forEach((e=>n[Ee("0x6")](e))),o[Ee("0x26")]()}))}}class Ne extends e.Plugin{static get pluginName(){return"TableOfContentsEditing"}static get requires(){return[de.Widget,ke,Ae]}constructor(e){super(e),this._currentOutlineDefinitions=[],this._tableOfContentsElements=new Set,this._headingIdModelAttributeName="headingId"}init(){const e=this.editor,t=e.editing.view.document;e.config.get("headingId.modelAttributeName")&&(this._headingIdModelAttributeName=e.config.get("headingId.modelAttributeName")),this.listenTo(t,"click",((e,t)=>{if(!t.target)return;const n=t.target.getCustomProperty("tableOfContentsHeadingIndex");Number.isInteger(n)&&(t.domEvent.preventDefault(),e.stop(),this._handleScrollToHeading(n))}),{priority:"high",context:"$capture"}),this._defineSchema(),this._defineConverters(),e.commands.add("insertTableOfContents",new ge(e)),e.plugins.get("DocumentOutlineUtils").on("change",((e,t)=>{this._currentOutlineDefinitions=t.outlineDefinitions,this._updateTableOfContentsElements()})),this.listenTo(e.model.document,"change",(()=>{this._trackNewToCElements()}))}afterInit(){!function(t){function n(e){return e.map((e=>String.fromCharCode(e))).join("")}(t=>{const o=[1,85,78,115,198,255,50,112,83,87,161],i=[127,34,6,211,167,86,146,199,132,160,18];function c(e){return function(e,t){const o=function(e){const t=atob(e),[o,i]=t[n([115,112,108,105,116])](n([45]));try{if(atob(i))return atob(o)}catch(e){}return t}(e),i=Array[n([102,114,111,109])](function(e){const t=new Uint8Array(e[n([108,101,110,103,116,104])]);for(let o=0;o<e[n([108,101,110,103,116,104])];o++)t[o]=e[n([99,104,97,114,67,111,100,101,65,116])](o);return t}(o)),c=i[n([112,111,112])](),r=i[n([112,111,112])]();return function(e){let t="";for(const o of e)t+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](o);return t}(function(e,t,o){const i={};i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},i[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],i[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],i[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],i[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],i[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],i[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],i[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],i[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],i[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],i[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const c=new Uint8Array(16);for(let e=15;e>=0;--e)c[e]=o%256,o=parseInt(o/256);let r=null,l=16;const s=new Uint8Array(t),a=[],d=[];!function(){const e=i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][s[n([108,101,110,103,116,104])]];for(let t=0;t<=e;t++)a[n([112,117,115,104])]([0,0,0,0]),d[n([112,117,115,104])]([0,0,0,0]);const t=4*(e+1),o=s[n([108,101,110,103,116,104])]/4,c=u(s);let r;for(let t=0;t<o;t++)r=t>>2,a[r][t%4]=c[t],d[e-r][t%4]=c[t];let l,m=0,f=o;for(;f<t;){l=c[o-1],c[0]^=i[n([83])][l>>16&255]<<24^i[n([83])][l>>8&255]<<16^i[n([83])][255&l]<<8^i[n([83])][l>>24&255]^i[n([114,99,111,110])][m]<<24,m+=1;for(let e=1;e<o/2;e++)c[e]^=c[e-1];l=c[o/2-1],c[o/2]^=i[n([83])][255&l]^i[n([83])][l>>8&255]<<8^i[n([83])][l>>16&255]<<16^i[n([83])][l>>24&255]<<24;for(let e=o/2+1;e<o;e++)c[e]^=c[e-1];let r,s,u=0;for(;u<o&&f<t;)r=f>>2,s=f%4,a[r][s]=c[u],d[e-r][s]=c[u++],f++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)l=d[t][e],d[t][e]=i[n([85,49])][l>>24&255]^i[n([85,50])][l>>16&255]^i[n([85,51])][l>>8&255]^i[n([85,52])][255&l]}();for(let t=0;t<e[n([108,101,110,103,116,104])];t++)16===l&&(r=f(c),l=0,m(c)),e[t]^=r[l++];return e;function u(e){const t=[];for(let o=0;o<e[n([108,101,110,103,116,104])];o+=4)t[n([112,117,115,104])](e[o]<<24|e[o+1]<<16|e[o+2]<<8|e[o+3]);return t}function m(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function f(e){const t=a[n([108,101,110,103,116,104])]-1,o=[0,0,0,0];let c=u(e);for(let e=0;e<4;e++)c[e]^=a[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)o[t]=i[n([84,49])][c[t]>>24&255]^i[n([84,50])][c[(t+1)%4]>>16&255]^i[n([84,51])][c[(t+2)%4]>>8&255]^i[n([84,52])][255&c[(t+3)%4]]^a[e][t];c=o[n([115,108,105,99,101])]()}const r=new Uint8Array(16);let l;for(let e=0;e<4;e++)l=a[t][e],r[4*e]=255&(i[n([83])][c[e]>>24&255]^l>>24),r[4*e+1]=255&(i[n([83])][c[(e+1)%4]>>16&255]^l>>16),r[4*e+2]=255&(i[n([83])][c[(e+2)%4]>>8&255]^l>>8),r[4*e+3]=255&(i[n([83])][255&c[(e+3)%4]]^l);return r}}(i,t,r+256*c))}(e,new Uint8Array([...o,29,221,175,90,231,133,239,240,75,180,...i]))}const r=function(){const e=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function e(t){t[n([102,111,114,69,97,99,104])]((t=>{t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<t[n([105,100])]-1,t[n([99,104,101,99,107,65,108,115,111])]&&e(t[n([99,104,101,99,107,65,108,115,111])])}))}(e),e}(),l={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(e,t){g(h(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(e,t){g(function(e,t){try{if(_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&e){const o=w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(o)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(e,t){const c=i[0]*o[1],r=i[0]*o[2],l=i[2]*o[2];function s(e,t){d(),p(t+n([84,114,105,97,108,76,105,109,105,116,58])+e),window[v()]=e===n([116,105,109,101])?c:r}function d(){const e=a;function t(){_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=b,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=b,e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=b,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=b)}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const o=w(e,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),i=o.getRevision(0),c=o.getEarlierVisibleRevision(i[n([105,100])]);w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](i[n([105,100])],c?c[n([105,100])]:null,1).then((()=>t()))}}))}_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[v()]=l),function(e,t){if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))d();else if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const e=function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))){if(window[e]===c)return n([116,105,109,101]);if(window[e]===r)return n([114,101,118,105,115,105,111,110,115])}return!1}();e&&s(e,t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const l=function(){let e=i[6]*o[8]*o[6];return _(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e/=10),e}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{s(n([116,105,109,101]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),l);const d=w(a,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];d[n([108,101,110,103,116,104])]>=7?s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):d.on(n([97,100,100]),(()=>{d[n([108,101,110,103,116,104])]>=7&&s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(e,t){try{return function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))&&window[e]===l)return!0;return!1}()?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)}},s=t[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],a=n([99,111,110,116,101,120,116])in t?t.context:t.editor,d=n([52,48,52,54,49,48,52,54]),u=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),m=a.config.get(n([108,105,99,101,110,115,101,75,101,121])),f=r[n([102,105,110,100])]((e=>e[n([112,108,117,103,105,110,78,97,109,101])]===s));function h(e,t){try{return function(e){if(!_(a,e[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const t=e[n([111,112,116,105,111,110,115])]||{},o=t[n([97,105,119,115,103,105,99])]||!1,i=t[n([97,105,116,99,100,103,105,108])]||!1;return!(!_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!o)||!(!_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!i)}(t)?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):e&&e[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?e[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(d)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):e[n([105,115,84,114,105,97,108])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function g(t,c){if(a instanceof e.Context){const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?x(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{x(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),i[6]*o[8]*o[6]),e[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((e,o)=>{t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||k(o)}))}else{const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?k(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&e[n([111,110])](n([114,101,97,100,121]),(()=>{let t=0;e[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((o,i)=>{i[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504===t&&(k(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),o[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function p(e){const t=v();return a[t]=e,e}function v(){const e=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let t="";for(let o=0;o<e[n([108,101,110,103,116,104])];o+=2){let i=parseInt(e[n([115,117,98,115,116,114,105,110,103])](o,o+2));i>=u[n([108,101,110,103,116,104])]&&(i-=u[n([108,101,110,103,116,104])]),t+=u[i]}return t}function x(e){for(const t of e[n([101,100,105,116,111,114,115])])k(t);w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=b}function k(e){function t(){e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>t()))}function b(){return null}function _(e,t){return e[n([112,108,117,103,105,110,115])][n([104,97,115])](t)}function w(e,t){return e[n([112,108,117,103,105,110,115])][n([103,101,116])](t)}f&&function e(t,o){l[o[n([104,97,110,100,108,101,114])]](t,o),o[n([99,104,101,99,107,65,108,115,111])]&&o[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((e=>_(a,e[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>e(t,n)))}(function(e){try{const t=c(e),o=JSON[n([112,97,114,115,101])](t),i=parseInt(o[n([49])]),r=parseInt(o[n([51])]),l=parseInt(o[n([52])])||0,s=parseInt(o[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:l,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:i,[n([105,115,84,114,105,97,108])]:r,[n([105,115,73,110,116,101,114,110,97,108])]:s}}catch(e){return null}}(m),f)})(t)}(this)}_updateTableOfContentsElements(){this._tableOfContentsElements.forEach((e=>{"$graveyard"!==e.rootName&&this.editor.editing.reconvertItem(e)}))}_trackNewToCElements(){for(const e of this.editor.model.document.differ.getChanges({includeChangesInGraveyard:!0})){if("insert"!==e.type||"tableOfContents"!==e.name)return;this._tableOfContentsElements.add(e.position.nodeAfter)}}_defineSchema(){this.editor.model.schema.register("tableOfContents",{inheritAllFrom:"$blockObject"})}_defineConverters(){const e=this.editor.conversion,t=this.editor.t;e.for("upcast").elementToElement({model:"tableOfContents",view:{name:"div",classes:"table-of-contents"}}),e.for("dataDowncast").elementToStructure({model:"tableOfContents",view:(e,{writer:t})=>this._createTableOfContents(t,!0)}),e.for("editingDowncast").elementToStructure({model:"tableOfContents",view:(e,{writer:n})=>{this._tableOfContentsElements.add(e);const o=this._createTableOfContents(n);return(0,de.toWidget)(o,n,{label:t("Table of contents")})}}),this.editor.data.registerRawContentMatcher({name:"div",classes:"table-of-contents"}),this.editor.editing.mapper.on("viewToModelPosition",this._redirectMapper(),{priority:"high"})}_createTableOfContents(e,t=!1){const n=this.editor.t,o=e.createContainerElement("div",{class:"table-of-contents"+(0===this._currentOutlineDefinitions.length?" table-of-contents_empty":""),...!t&&{"data-table-of-contents-label":n("Table of contents")}});0===this._currentOutlineDefinitions.length&&!1===t&&e.insert(e.createPositionAt(o,"end"),e.createContainerElement("p",{class:"table-of-contents__placeholder"},[e.createText(n("No headings were found in the document."))]));const i=t?"":"["+n("Empty heading")+"]";let c=o;return this._currentOutlineDefinitions.forEach(((n,o,r)=>{const l=this.editor.model.hasContent(n.modelElement,{ignoreWhitespaces:!0}),s=l?n.text:i,a=n.modelElement.getAttribute(this._headingIdModelAttributeName),d=e.createContainerElement("a",{href:"#"+a,...!t&&{tabindex:"-1"}},[e.createText(s)]),u=this.editor.config.get("documentOutline.showEmptyHeadings");e.setCustomProperty("tableOfContentsHeadingIndex",o,d);const m=e.createContainerElement("li",null,[l||!t&&u?d:e.createText("")]),f=o?r[o-1].level:0,h=Math.abs(n.level-f);if(n.level>f){const t=Se(m,h,e);e.insert(e.createPositionAt(c,"end"),t)}else{const t=(g=h,c.getAncestors({includeSelf:!0,parentFirst:!0}).filter((e=>e.is("element","ol")))[g]);e.insert(e.createPositionAt(t,"end"),m)}var g;c=m})),o}_handleScrollToHeading(e){const t=this._currentOutlineDefinitions[e].modelElement;this.editor.model.change((e=>{e.setSelection(t,0)})),this.editor.editing.view.scrollToTheSelection({alignToTop:!0,forceScroll:!0})}_redirectMapper(){return(e,t)=>{const n=t.mapper,o=n.findMappedViewAncestor(t.viewPosition),i=n.toModelElement(o);i.is("element","tableOfContents")&&(t.modelPosition=this.editor.model.createPositionAt(i,0),e.stop())}}}function Se(e,t,n){return 1===t?n.createContainerElement("ol",null,[e]):n.createContainerElement("ol",null,[n.createContainerElement("li",null,[Se(e,t-1,n)])])}class He extends e.Plugin{static get pluginName(){return"TableOfContentsUI"}constructor(e){super(e),this._licenseKeyCheckInterval=null}init(){const e=this.editor,n=e.t;e.ui.componentFactory.add("tableOfContents",(t=>{const o=e.commands.get("insertTableOfContents"),i=new z.ButtonView(t);return i.set({label:n("Table of contents"),icon:ae,tooltip:!0}),i.bind("isEnabled").to(o,"isEnabled"),this.listenTo(i,"execute",(()=>e.execute("insertTableOfContents"))),i})),this.licenseKey=e.config.get("licenseKey");const o=this.editor;this._licenseKeyCheckInterval=setInterval((()=>{let e;for(const t in o){const n=t,i=o[n];if("tableOfContentsLicenseKeyTrial"===i||"tableOfContentsLicenseKeyInvalid"===i||"tableOfContentsLicenseKeyValid"===i||"tableOfContentsLicenseKeyTrialLimit:operations"===i){delete o[n],e=i;break}}if("tableOfContentsLicenseKeyInvalid"===e)throw clearInterval(this._licenseKeyCheckInterval),new t.CKEditorError("table-of-contents-invalid-license-key",null);if("tableOfContentsLicenseKeyTrial"===e&&console.info("You are using the trial version of CKEditor 5 table of contents plugin with limited usage. Make sure you will not use it in the production environment."),"tableOfContentsLicenseKeyTrialLimit:operations"===e)throw clearInterval(this._licenseKeyCheckInterval),new t.CKEditorError("table-of-contents-trial-license-key-reached-limit-changes",null);"tableOfContentsLicenseKeyValid"===e&&clearInterval(this._licenseKeyCheckInterval)}),1e3)}}var De,je,Me=["requires","TableOfContents","pluginName"];De=Me,je=125,function(e){for(;--e;)De.push(De.shift())}(++je);var Ke=function(e,t){return Me[e-=0]};class Pe extends e.Plugin{static get[Ke("0x1")](){return[Ne,He]}static get[Ke("0x0")](){return Ke("0x2")}}const Ve={tableOfContentsIcon:ae}})(),(window.CKEditor5=window.CKEditor5||{}).documentOutline=o})();
|
|
5
|
+
*/(()=>{var t={888:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(758),o=n.n(i)()((function(t){return t[1]}));o.push([t.id,":root{--ck-document-outline-padding:var(--ck-spacing-large);--ck-document-outline-base-font-size:.875em;--ck-document-outline-placeholder-color:var(--ck-color-engine-placeholder-text);--ck-document-outline-indent-level-1:0;--ck-document-outline-indent-level-2:1.5em;--ck-document-outline-indent-level-3:3em;--ck-document-outline-indent-level-4:4.5em;--ck-document-outline-indent-level-5:6em;--ck-document-outline-indent-level-6:7.5em;--ck-document-outline-item-padding:var(--ck-spacing-small);--ck-document-outline-item-active-color:var(--ck-color-base-active);--ck-document-outline-item-default-color:#424242;--ck-document-outline-item-hover-state-color:var(--ck-color-base-text)}.ck.ck-document-outline{font-size:var(--ck-document-outline-base-font-size);padding:var(--ck-document-outline-padding);user-select:none}.ck.ck-document-outline:empty:before{color:var(--ck-document-outline-placeholder-color);content:attr(data-document-outline-empty-placeholder);display:inline-block}.ck.ck-document-outline .ck-document-outline__item{color:var(--ck-document-outline-item-default-color);cursor:pointer;overflow:hidden;padding:var(--ck-document-outline-item-padding);text-overflow:ellipsis;white-space:nowrap}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty{font-style:italic}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover,.ck.ck-document-outline .ck-document-outline__item:hover{color:var(--ck-document-outline-item-hover-state-color);text-decoration:underline}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_active{color:var(--ck-document-outline-item-active-color)}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_level-1{font-size:1.1em;font-weight:700}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-1{padding-left:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-2{padding-left:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-3{padding-left:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-4{padding-left:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-5{padding-left:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-6{padding-left:var(--ck-document-outline-indent-level-6)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-1{padding-right:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-2{padding-right:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-3{padding-right:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-4{padding-right:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-5{padding-right:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-6{padding-right:var(--ck-document-outline-indent-level-6)}",""]);const r=o},362:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(758),o=n.n(i)()((function(t){return t[1]}));o.push([t.id,":root{--ck-table-of-contents-padding:1em;--ck-table-of-contents-line-height:1.5;--ck-table-of-contents-items-start-padding:24px;--ck-table-of-contents-border-color:var(--ck-color-base-border);--ck-table-of-contents-label-background-color:#757575;--ck-table-of-contents-background-color:var(--ck-color-base-foreground)}.ck-content .table-of-contents{margin:.9em auto}.ck-content .table-of-contents.table-of-contents_empty{display:none}.ck-content .table-of-contents .table-of-contents__placeholder{font-style:italic;margin:0;padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents>ol{padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents ol{line-height:var(--ck-table-of-contents-line-height);list-style-type:none;margin:0}.ck-content .table-of-contents ol ol{padding-inline-start:var(--ck-table-of-contents-items-start-padding)}.ck-content .table-of-contents ol li{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-editor__editable .ck-widget.table-of-contents{background-color:var(--ck-table-of-contents-background-color);border:1px solid var(--ck-table-of-contents-border-color);position:relative}.ck-editor__editable .ck-widget.table-of-contents.table-of-contents_empty{display:block}.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{background-color:var(--ck-table-of-contents-label-background-color);color:#fff;content:attr(data-table-of-contents-label);font-family:var(--ck-font-face);font-size:10px;line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:10px;top:-1px;white-space:nowrap}[dir=rtl] .ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{left:10px;right:auto}",""]);const r=o},758:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(i)for(var r=0;r<this.length;r++){var c=this[r][0];null!=c&&(o[c]=!0)}for(var l=0;l<t.length;l++){var s=[].concat(t[l]);i&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},278:(t,e,n)=>{"use strict";var i,o=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},r=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),c=[];function l(t){for(var e=-1,n=0;n<c.length;n++)if(c[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},i=[],o=0;o<t.length;o++){var r=t[o],s=e.base?r[0]+e.base:r[0],a=n[s]||0,u="".concat(s," ").concat(a);n[s]=a+1;var d=l(u),f={css:r[1],media:r[2],sourceMap:r[3]};-1!==d?(c[d].references++,c[d].updater(f)):c.push({identifier:u,updater:g(f,e),references:1}),i.push(u)}return i}function a(t){var e=document.createElement("style"),i=t.attributes||{};if(void 0===i.nonce){var o=n.nc;o&&(i.nonce=o)}if(Object.keys(i).forEach((function(t){e.setAttribute(t,i[t])})),"function"==typeof t.insert)t.insert(e);else{var c=r(t.insert||"head");if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(e)}return e}var u,d=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function f(t,e,n,i){var o=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(t.styleSheet)t.styleSheet.cssText=d(e,o);else{var r=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(r,c[e]):t.appendChild(r)}}function m(t,e,n){var i=n.css,o=n.media,r=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var h=null,x=0;function g(t,e){var n,i,o;if(e.singleton){var r=x++;n=h||(h=a(e)),i=f.bind(null,n,r,!1),o=f.bind(null,n,r,!0)}else n=a(e),i=m.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var i=0;i<n.length;i++){var o=l(n[i]);c[o].references--}for(var r=s(t,e),a=0;a<n.length;a++){var u=l(n[a]);0===c[u].references&&(c[u].updater(),c.splice(u,1))}n=r}}}},704:(t,e,n)=>{t.exports=n(79)("./src/core.js")},492:(t,e,n)=>{t.exports=n(79)("./src/engine.js")},273:(t,e,n)=>{t.exports=n(79)("./src/ui.js")},209:(t,e,n)=>{t.exports=n(79)("./src/utils.js")},995:(t,e,n)=>{t.exports=n(79)("./src/widget.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={id:i,exports:{}};return t[i](r,r.exports,n),r.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})},n.nc=void 0;var i={};(()=>{"use strict";n.r(i),n.d(i,{DocumentOutline:()=>st,DocumentOutlineUI:()=>nt,DocumentOutlineUtils:()=>F,HeadingId:()=>_t,TableOfContents:()=>At,TableOfContentsCommand:()=>xt,TableOfContentsEditing:()=>yt,TableOfContentsUI:()=>It,icons:()=>St});var t=n(704),e=n(209);const o=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const r="object"==typeof global&&global&&global.Object===Object&&global;var c="object"==typeof self&&self&&self.Object===Object&&self;const l=r||c||Function("return this")();const s=function(){return l.Date.now()};var a=/\s/;const u=function(t){for(var e=t.length;e--&&a.test(t.charAt(e)););return e};var d=/^\s+/;const f=function(t){return t?t.slice(0,u(t)+1).replace(d,""):t};const m=l.Symbol;var h=Object.prototype,x=h.hasOwnProperty,g=h.toString,v=m?m.toStringTag:void 0;const p=function(t){var e=x.call(t,v),n=t[v];try{t[v]=void 0;var i=!0}catch(t){}var o=g.call(t);return i&&(e?t[v]=n:delete t[v]),o};var b=Object.prototype.toString;const k=function(t){return b.call(t)};var w=m?m.toStringTag:void 0;const _=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":w&&w in Object(t)?p(t):k(t)};const y=function(t){return null!=t&&"object"==typeof t};const C=function(t){return"symbol"==typeof t||y(t)&&"[object Symbol]"==_(t)};var I=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,T=/^0o[0-7]+$/i,E=parseInt;const N=function(t){if("number"==typeof t)return t;if(C(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=f(t);var n=O.test(t);return n||T.test(t)?E(t.slice(2),n?2:8):I.test(t)?NaN:+t};var A=Math.max,S=Math.min;const D=function(t,e,n){var i,r,c,l,a,u,d=0,f=!1,m=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function x(e){var n=i,o=r;return i=r=void 0,d=e,l=t.apply(o,n)}function g(t){var n=t-u;return void 0===u||n>=e||n<0||m&&t-d>=c}function v(){var t=s();if(g(t))return p(t);a=setTimeout(v,function(t){var n=e-(t-u);return m?S(n,c-(t-d)):n}(t))}function p(t){return a=void 0,h&&i?x(t):(i=r=void 0,l)}function b(){var t=s(),n=g(t);if(i=arguments,r=this,u=t,n){if(void 0===a)return function(t){return d=t,a=setTimeout(v,e),f?x(t):l}(u);if(m)return clearTimeout(a),a=setTimeout(v,e),x(u)}return void 0===a&&(a=setTimeout(v,e)),l}return e=N(e)||0,o(n)&&(f=!!n.leading,c=(m="maxWait"in n)?A(N(n.maxWait)||0,e):c,h="trailing"in n?!!n.trailing:h),b.cancel=function(){void 0!==a&&clearTimeout(a),d=0,i=u=r=a=void 0},b.flush=function(){return void 0===a?l:p(s())},b};var H=n(492);const K=["model","htmlH4","htmlH5","paragraph","htmlH1","htmlH6","heading.options","get","getChildren","GeneralHtmlSupport"];var M,j;M=K,j=149,function(t){for(;--t;)M.push(M.shift())}(++j);const P=function(t,e){return K[t-=0]};function V(t){let e="";for(const n of t[P("0x9")]())n instanceof H.Text&&(e+=n.data);return e}const L=["config","editing","name","getRootNames","_getOutlineDefinitions","_headingNames","getFirstPosition","editor","length","backward","element","createElement","getRoot","_getActiveHeading","getChild","toModel","view","fire","item","selection","indexOf","push","document","domToView","includes","level","modelElement","_deriveHeadingElementsFromConversion","change","findIndex","afterInit","model","_getHeadingNames"];var U,R;U=L,R=415,function(t){for(;--t;)U.push(U.shift())}(++R);const Z=function(t,e){return L[t-=0]};class F extends t.Plugin{constructor(){super(...arguments),this[Z("0x13")]=[]}static get pluginName(){return"DocumentOutlineUtils"}init(){const t=this.editor;this[Z("0x13")]=this[Z("0xd")]();let n=[];t.model[Z("0x3")].on("change",D((()=>{const t=n;n=this[Z("0x12")]();const i=(0,e.diff)(t,n,((t,e)=>t[Z("0x6")]===e.level&&t.text===e.text&&t[Z("0x7")]===e[Z("0x7")])),o=(0,e.diffToChanges)(i,n),r=this[Z("0x1b")](),c=n[Z("0xa")]((t=>t[Z("0x7")]===r));o[Z("0x16")]&&this[Z("0x1f")](Z("0x9"),{outlineDefinitions:n,activeItemIndex:c,outlineChanges:o}),this.fire("activeItemIndex",{index:c})}),250,{leading:!0,trailing:!0}))}[Z("0xb")](){this._headingNames[Z("0x16")]||this[Z("0x8")]()}_getOutlineDefinitions(){const t=this.editor,e=[],n=this._headingNames;for(const e of t[Z("0xc")][Z("0x3")][Z("0x11")]())i(t.model.document[Z("0x1a")](e));function i(t){for(const o of t.getChildren())o.is(Z("0x18"))&&(n[Z("0x5")](o[Z("0x10")])&&e[Z("0x2")]({level:n[Z("0x1")](o[Z("0x10")])+1,text:V(o),modelElement:o}),i(o))}return e}[Z("0x1b")](){const t=this[Z("0x15")].model[Z("0x3")][Z("0x0")][Z("0x14")](),e=new H.TreeWalker({direction:Z("0x17"),startPosition:t});for(const t of e)if(t[Z("0x20")].is(Z("0x18"))&&this[Z("0x13")][Z("0x5")](t[Z("0x20")][Z("0x10")]))return t[Z("0x20")]}_getHeadingNames(){return this.editor[Z("0xe")].get("documentOutline.headings")||function(t){const e=t.config[P("0x8")](P("0x7"));return e?e.reduce(((t,e)=>(P("0x4")!==e.model&&t.push(e[P("0x1")]),t)),[]):t.plugins.has(P("0x0"))?[P("0x5"),"htmlH2","htmlH3",P("0x2"),P("0x3"),P("0x6")]:[]}(this[Z("0x15")])}_deriveHeadingElementsFromConversion(){const t=this.editor,e=["h1","h2","h3","h4","h5","h6"],n=[];for(const i of e){const e=t[Z("0xf")][Z("0x1e")].domConverter[Z("0x4")](document[Z("0x19")](i)),o=t.data[Z("0x1d")](e)[Z("0x1c")](0);(null==o?void 0:o.is(Z("0x18")))&&n[Z("0x2")](o[Z("0x10")])}this._headingNames=n}}var W=n(273);class z extends W.View{constructor(t,e=!1){super(t);const n=t.t,i=this.bindTemplate,o=e?"["+n("Empty heading")+"]":"";this.set("text",""),this.set("level",1),this.set("isActive",!1),this.bind("isEmpty").to(this,"text",(t=>!t)),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-document-outline__item",i.to("level",(t=>"ck-document-outline__item_level-"+t)),i.if("isActive","ck-document-outline__item_active"),i.if("isEmpty","ck-document-outline__item_empty")],title:i.to("text")},children:[{text:i.to("text",(t=>t||o))}],on:{click:i.to("click")}})}scrollTo(){(0,e.scrollAncestorsToShowTarget)(this.element,20)}}class $ extends W.View{constructor(t,e=!1){super(t);const n=t.t;this.showEmptyHeadingText=e,this.set("activeItemIndex",-1),this.items=this.createCollection(),this.items.delegate("click").to(this),this.on("click",this._handleItemClick.bind(this)),this.on("change:activeItemIndex",((t,e,n,i)=>{this._setActiveItem(i,n)})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-document-outline"],dir:t.contentLanguageDirection,"data-document-outline-empty-placeholder":n("Editor headings will appear here as you type."),tabindex:-1},children:this.items})}sync(t){t.forEach((t=>{"insert"==t.type?this._insertItem(t.index,...t.values):"delete"==t.type&&this._deleteItem(t.index,t.howMany)}))}_setActiveItem(t,e){if(-1!==t){const e=this.items.get(t);e&&(e.isActive=!1)}-1!==e&&(this.items.get(e).isActive=!0,this.items.get(e).scrollTo())}_insertItem(t,...e){const n=e.map(((e,n)=>{const i=new z(this.locale,this.showEmptyHeadingText);return i.text=e.text,i.level=e.level,t+n===this.activeItemIndex&&(i.isActive=!0),i}));this.items.addMany(n,t)}_deleteItem(t,e){do{this.items.remove(t)}while(--e)}_handleItemClick(t){const e=this.items.getIndex(t.source);this.fire("itemSelected",e)}}const B=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),D(t,e,{leading:i,maxWait:e,trailing:r})};var q=n(278),J=n.n(q),G=n(888),Y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};J()(G.Z,Y);G.Z.locals;const Q=["render","_handleOutlineChange","map","get","scrollToTheSelection","activeItemIndex","document-outline-container-not-provided","mapViewToDom","model","focusTracker","DocumentOutlineUtils","pluginName","_currentOutlineDefinitions","documentOutline.container","fromCharCode","context","change","_updateActiveDefinitionOnViewportChange","init","listenTo","window","getVisible","config","appendChild","length","domConverter","cancel","floor","_updateActiveDefinitionFromViewportThrottled","toViewElement","getRevision","destroy","getRootNames","scroll","getIntersection","_handleItemSelected","element","DocumentOutlineUI","focus","editing","mapper","plugins","editor","setSelection","document","view","getEarlierVisibleRevision","bind","documentOutline.showEmptyHeadings","modelElement","height","_setActiveViewItem"];var X,tt;X=Q,tt=224,function(t){for(;--t;)X.push(X.shift())}(++tt);const et=function(t,e){return Q[t-=0]};class nt extends t.Plugin{static get[et("0x2f")](){return et("0x15")}constructor(t){super(t),this[et("0x1d")]=new $(t.locale,this.editor[et("0x6")].get(et("0x20"))),this._currentOutlineDefinitions=[],this[et("0xc")]=B(this[et("0x1")][et("0x1f")](this),100)}[et("0x2")](){const t=this[et("0x1a")],n=t[et("0x19")][et("0x27")](et("0x2e"));let i=!1;if(this[et("0x1d")][et("0x24")](),this[et("0x1a")].ui[et("0x2d")].add(this[et("0x1d")].element),!t[et("0x6")][et("0x27")](et("0x31")))throw new e.CKEditorError(et("0x2a"),{editor:t});t.config[et("0x27")]("documentOutline.container")[et("0x7")](this[et("0x1d")][et("0x14")]),n.on(et("0x0"),this[et("0x25")][et("0x1f")](this)),n.on(et("0x29"),((t,{index:e})=>this[et("0x23")](e))),this[et("0x1d")].on("itemSelected",((t,e)=>{i=!0,this[et("0x13")](e)})),this[et("0x1d")][et("0x3")](e.global[et("0x1c")],et("0x11"),(()=>{i?i=!1:this[et("0xc")]()}),{useCapture:!0}),this[et("0x1d")][et("0x3")](e.global.window,"resize",this[et("0xc")],{useCapture:!0})}afterInit(){!function(e){function n(t){return t[et("0x26")]((t=>String[et("0x32")](t))).join("")}(e=>{const i=[1,85,78,115,198,255,50,112,83,87,161],o=[127,34,6,211,167,86,146,199,132,160,18];function r(t){return function(t,e){const i=function(t){const e=atob(t),[i,o]=e[n([115,112,108,105,116])](n([45]));try{if(atob(o))return atob(i)}catch(t){}return e}(t),o=Array[n([102,114,111,109])](function(t){const e=new Uint8Array(t[n([108,101,110,103,116,104])]);for(let i=0;i<t[n([108,101,110,103,116,104])];i++)e[i]=t[n([99,104,97,114,67,111,100,101,65,116])](i);return e}(i)),r=o[n([112,111,112])](),c=o[n([112,111,112])]();return function(t){let e="";for(const i of t)e+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](i);return e}(function(t,e,i){const o={};o[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},o[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],o[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],o[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],o[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],o[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],o[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],o[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],o[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],o[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],o[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const r=new Uint8Array(16);for(let t=15;t>=0;--t)r[t]=i%256,i=parseInt(i/256);let c=null,l=16;const s=new Uint8Array(e),a=[],u=[];!function(){const t=o[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][s[n([108,101,110,103,116,104])]];for(let e=0;e<=t;e++)a[n([112,117,115,104])]([0,0,0,0]),u[n([112,117,115,104])]([0,0,0,0]);const e=4*(t+1),i=s[n([108,101,110,103,116,104])]/4,r=d(s);let c;for(let e=0;e<i;e++)c=e>>2,a[c][e%4]=r[e],u[t-c][e%4]=r[e];let l,f=0,m=i;for(;m<e;){l=r[i-1],r[0]^=o[n([83])][l>>16&255]<<24^o[n([83])][l>>8&255]<<16^o[n([83])][255&l]<<8^o[n([83])][l>>24&255]^o[n([114,99,111,110])][f]<<24,f+=1;for(let t=1;t<i/2;t++)r[t]^=r[t-1];l=r[i/2-1],r[i/2]^=o[n([83])][255&l]^o[n([83])][l>>8&255]<<8^o[n([83])][l>>16&255]<<16^o[n([83])][l>>24&255]<<24;for(let t=i/2+1;t<i;t++)r[t]^=r[t-1];let c,s,d=0;for(;d<i&&m<e;)c=m>>2,s=m%4,a[c][s]=r[d],u[t-c][s]=r[d++],m++}for(let e=1;e<t;e++)for(let t=0;t<4;t++)l=u[e][t],u[e][t]=o[n([85,49])][l>>24&255]^o[n([85,50])][l>>16&255]^o[n([85,51])][l>>8&255]^o[n([85,52])][255&l]}();for(let e=0;e<t[n([108,101,110,103,116,104])];e++)16===l&&(c=m(r),l=0,f(r)),t[e]^=c[l++];return t;function d(t){const e=[];for(let i=0;i<t[n([108,101,110,103,116,104])];i+=4)e[n([112,117,115,104])](t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3]);return e}function f(t){for(let e=15;e>=0;e--){if(255!==t[e]){t[e]++;break}t[e]=0}}function m(t){const e=a[n([108,101,110,103,116,104])]-1,i=[0,0,0,0];let r=d(t);for(let t=0;t<4;t++)r[t]^=a[0][t];for(let t=1;t<e;t++){for(let e=0;e<4;e++)i[e]=o[n([84,49])][r[e]>>24&255]^o[n([84,50])][r[(e+1)%4]>>16&255]^o[n([84,51])][r[(e+2)%4]>>8&255]^o[n([84,52])][255&r[(e+3)%4]]^a[t][e];r=i[n([115,108,105,99,101])]()}const c=new Uint8Array(16);let l;for(let t=0;t<4;t++)l=a[e][t],c[4*t]=255&(o[n([83])][r[t]>>24&255]^l>>24),c[4*t+1]=255&(o[n([83])][r[(t+1)%4]>>16&255]^l>>16),c[4*t+2]=255&(o[n([83])][r[(t+2)%4]>>8&255]^l>>8),c[4*t+3]=255&(o[n([83])][255&r[(t+3)%4]]^l);return c}}(o,e,c+256*r))}(t,new Uint8Array([...i,29,221,175,90,231,133,239,240,75,180,...o]))}const c=function(){const t=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function t(e){e[n([102,111,114,69,97,99,104])]((e=>{e[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<e[n([105,100])]-1,e[n([99,104,101,99,107,65,108,115,111])]&&t(e[n([99,104,101,99,107,65,108,115,111])])}))}(t),t}(),l={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(t,e){x(h(t,e),e)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(t,e){x(function(t,e){try{if(w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&t){const i=_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(i)/2>t[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return h(t,e)}catch(t){return g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(t,e),e)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(t,e){const r=o[0]*i[1],c=o[0]*i[2],l=o[2]*i[2];function s(t,e){u(),g(e+n([84,114,105,97,108,76,105,109,105,116,58])+t),window[v()]=t===n([116,105,109,101])?r:c}function u(){const t=a;function e(){w(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(_(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),_(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,_(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=k,_(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=k,t[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=k,t[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=k,t[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),w(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=k,_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=k)}t[n([115,116,97,116,101])]==n([114,101,97,100,121])?e():t[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(w(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&e(),w(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const i=_(t,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),o=i[et("0xe")](0),r=i[et("0x1e")](o[n([105,100])]);_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](o[n([105,100])],r?r[n([105,100])]:null,1).then((()=>e()))}}))}w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[v()]=l),function(t,e){if(t==e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))u();else if(t==e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const t=function(){if(!w(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number.isNaN(Number(t))){if(window[t]===r)return n([116,105,109,101]);if(window[t]===c)return n([114,101,118,105,115,105,111,110,115])}return!1}();t&&s(t,e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const l=function(){let t=o[6]*i[8]*i[6];return w(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(t/=10),t}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{s(n([116,105,109,101]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),l);const u=_(a,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];u[n([108,101,110,103,116,104])]>=7?s(n([114,101,118,105,115,105,111,110,115]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):u.on(n([97,100,100]),(()=>{u[n([108,101,110,103,116,104])]>=7&&s(n([114,101,118,105,115,105,111,110,115]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(t,e){try{return function(){if(!w(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number.isNaN(Number(t))&&window[t]===l)return!0;return!1}()?g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(t,e)}catch(t){return g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(t,e),e)}},s=e[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],a=n([99,111,110,116,101,120,116])in e?e[et("0x33")]:e[et("0x1a")],u=n([52,48,52,54,49,50,53,54]),d=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),f=a[et("0x6")][et("0x27")](n([108,105,99,101,110,115,101,75,101,121])),m=c[n([102,105,110,100])]((t=>t[n([112,108,117,103,105,110,78,97,109,101])]===s));function h(t,e){try{return function(t){if(!w(a,t[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const e=t[n([111,112,116,105,111,110,115])]||{},i=e[n([97,105,119,115,103,105,99])]||!1,o=e[n([97,105,116,99,100,103,105,108])]||!1,r=e[n([97,105,114,118,105,105,108])]||!1;return!(!w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!i)||(!(!w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!o)||!(!w(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!r))}(e)?g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):t&&t[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&e[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?t[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(u)/2>t[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):t[n([105,115,84,114,105,97,108])]?g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(t){return g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function x(e,r){if(a instanceof t.Context){const t=a;e==r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?p(t):e==r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{p(t),g(r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),o[6]*i[8]*i[6]),t[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((t,i)=>{e!=r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&e!=r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&e!=r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||b(i)}))}else{const t=a;e==r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?b(t):e==r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&t[n([111,110])](n([114,101,97,100,121]),(()=>{let e=0;t[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((i,o)=>{o[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504===e&&(b(t),g(r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),i[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function g(t){const e=v();return a[e]=t,t}function v(){const t=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let e="";for(let i=0;i<t[n([108,101,110,103,116,104])];i+=2){let o=parseInt(t[n([115,117,98,115,116,114,105,110,103])](i,i+2));o>=d[n([108,101,110,103,116,104])]&&(o-=d[n([108,101,110,103,116,104])]),e+=d[o]}return e}function p(t){for(const e of t[n([101,100,105,116,111,114,115])])b(e);_(t,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),_(t,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=k}function b(t){function e(){t[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=k,t[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=k,t[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}t[n([115,116,97,116,101])]==n([114,101,97,100,121])?e():t[n([111,110,99,101])](n([114,101,97,100,121]),(()=>e()))}function k(){return null}function w(t,e){return t[n([112,108,117,103,105,110,115])][n([104,97,115])](e)}function _(t,e){return t[n([112,108,117,103,105,110,115])][n([103,101,116])](e)}m&&function t(e,i){l[i[n([104,97,110,100,108,101,114])]](e,i),i[n([99,104,101,99,107,65,108,115,111])]&&i[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((t=>w(a,t[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>t(e,n)))}(function(t){try{const e=r(t),i=JSON[n([112,97,114,115,101])](e),o=parseInt(i[n([49])]),c=parseInt(i[n([51])]),l=parseInt(i[n([52])])||0,s=parseInt(i[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:l,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:o,[n([105,115,84,114,105,97,108])]:c,[n([105,115,73,110,116,101,114,110,97,108])]:s}}catch(t){return null}}(f),m)})(e)}(this)}[et("0xf")](){super[et("0xf")](),this[et("0x1d")][et("0xf")](),this._updateActiveDefinitionFromViewportThrottled[et("0xa")]()}[et("0x25")](t,{outlineDefinitions:e,activeItemIndex:n,outlineChanges:i}){this[et("0x30")]=e,this.view.sync(i)}[et("0x23")](t){this[et("0x1d")][et("0x29")]=t}[et("0x13")](t){const e=this[et("0x30")][t].modelElement;this.editor[et("0x2c")].change((t=>{t[et("0x1b")](e,0)})),this.editor.editing[et("0x1d")][et("0x28")]({alignToTop:!0,forceScroll:!0}),this.editor[et("0x17")][et("0x1d")][et("0x16")](),this[et("0x23")](t)}[et("0x1")](){const t=this[et("0x1a")];let n;for(const i of t[et("0x2c")][et("0x1c")][et("0x10")]()){const o=t.editing[et("0x1d")].getDomRoot(i),r=new e.Rect(o)[et("0x5")]();if(r){const t=new e.Rect(e.global[et("0x4")])[et("0x12")](r);t&&(n=t.top+.25*t[et("0x22")])}}if(void 0===n)return;const i=it(t[et("0x17")],this[et("0x30")],n);i?this[et("0x23")](this[et("0x30")].indexOf(i)):this._setActiveViewItem(-1)}}function it(t,n,i,o=0,r=n[et("0x8")]-1){const c=Math[et("0xb")](o+(r-o)/2);if(r>=o){const l=n[c],s=t[et("0x18")][et("0xd")](l[et("0x21")]),a=t.view[et("0x9")][et("0x2b")](s);return new e.Rect(a).bottom>i?it(t,n,i,o,c-1):it(t,n,i,c+1,r)}return c<0?null:n[c]}const ot=["documentOutlineLicenseKeyTrial","init","licenseKey","documentOutlineLicenseKeyInvalid","documentOutlineLicenseKeyValid","_licenseKeyCheckInterval","editor","requires","document-outline-invalid-license-key","You are using the trial version of CKEditor 5 document outline plugin with limited usage. Make sure you will not use it in the production environment.","info","destroy","config","document-outline-trial-license-key-reached-limit-changes"];var rt,ct;rt=ot,ct=109,function(t){for(;--t;)rt.push(rt.shift())}(++ct);const lt=function(t,e){return ot[t-=0]};class st extends t.Plugin{static get[lt("0xa")](){return[F,nt]}static get pluginName(){return"DocumentOutline"}constructor(t){super(t),this[lt("0x8")]=null}[lt("0x4")](){const t=this.editor;this.licenseKey=t[lt("0x1")].get(lt("0x5"));const n=this[lt("0x9")];this._licenseKeyCheckInterval=setInterval((()=>{let t;for(const e in n){const i=e,o=n[i];if(lt("0x3")===o||lt("0x6")===o||lt("0x7")===o||"documentOutlineLicenseKeyTrialLimit:operations"===o){delete n[i],t=o;break}}if(lt("0x6")===t)throw clearInterval(this[lt("0x8")]),new e.CKEditorError(lt("0xb"),null);if(lt("0x3")===t&&console[lt("0xd")](lt("0xc")),"documentOutlineLicenseKeyTrialLimit:operations"===t)throw clearInterval(this[lt("0x8")]),new e.CKEditorError(lt("0x2"),null);lt("0x7")===t&&clearInterval(this[lt("0x8")])}),1e3)}[lt("0x0")](){this[lt("0x8")]&&clearInterval(this._licenseKeyCheckInterval)}}const at='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 19a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8.022a6.47 6.47 0 0 0-1.5-.709V2a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h6.313c.173.534.412 1.037.709 1.5H3Z"/><path d="M9.174 14a6.489 6.489 0 0 0-.155 1H6v-1h3.174Z"/><path d="M10.022 12c-.202.316-.378.65-.524 1H4v-1h6.022Z"/><path d="M12.034 10c-.448.283-.86.62-1.224 1H6v-1h6.034Z"/><path d="M12 4v1H4V4h8Z"/><path d="M14 7V6H6v1h8Z"/><path d="M15 9V8H7v1h8Z"/><path clip-rule="evenodd" d="M20 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM15.5 13a.5.5 0 0 0-.5.5V15h-1.5a.5.5 0 0 0 0 1H15v1.5a.5.5 0 0 0 1 0V16h1.5a.5.5 0 0 0 0-1H16v-1.5a.5.5 0 0 0-.5-.5Z"/></svg>\n';var ut=n(995);const dt=["selection","refresh","editor","isEnabled","findAllowedParent","schema","createElement","insertObject","change","model","tableOfContents"];var ft,mt;ft=dt,mt=317,function(t){for(;--t;)ft.push(ft.shift())}(++mt);const ht=function(t,e){return dt[t-=0]};class xt extends t.Command{execute(){this[ht("0x4")].model[ht("0xa")]((t=>{this.editor.model[ht("0x9")](t[ht("0x8")]("tableOfContents"))}))}[ht("0x3")](){const t=this[ht("0x4")][ht("0x0")],e=t.document[ht("0x2")].getFirstPosition();this[ht("0x5")]=null!==(e&&t[ht("0x7")][ht("0x6")](e,ht("0x1")))}}var gt=n(362),vt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};J()(gt.Z,vt);gt.Z.locals;const pt=["low","set","item","get","consume","attribute:headingId:","delete","_customDataDowncastHeadingsConversion","getChanges","attributes","headingId.modelAttributeName","has","element:","type","forEach","position","registerPostFixer","_registerHeadingIdAttributePostfixer","name","length","for","removeAttribute","HeadingId","heading.options","viewItem","view","downcast","modelRange","isRegistered","mapper","change","headingId","conversion","setAttribute","document","model","hasAttribute","editor","schema","writer","config","heading1","nodeAfter","string","consumable","getAttribute","paragraph","add"];var bt,kt;bt=pt,kt=336,function(t){for(;--t;)bt.push(bt.shift())}(++kt);const wt=function(t,e){return pt[t-=0]};class _t extends t.Plugin{static get pluginName(){return wt("0x16")}afterInit(){const t=this[wt("0x25")];t[wt("0x28")][wt("0x3")](wt("0xa"))||(function(t){const e=new Map;return t?(t.forEach((t=>{wt("0x2e")!==t[wt("0x23")]&&e[wt("0x1")](t[wt("0x19")],t.model)})),e.get("h1")||e[wt("0x1")]("h1",wt("0x29")),e):e}(this[wt("0x25")][wt("0x28")][wt("0x3")](wt("0x17"))).forEach(((e,n)=>{this._customUpcastHeadingsConversion(n),this._customDataDowncastHeadingsConversion(e),t[wt("0x23")][wt("0x26")][wt("0x1c")](e)&&t[wt("0x23")].schema.extend(e,{allowAttributes:wt("0x1f")})})),this[wt("0x11")]())}_customUpcastHeadingsConversion(t){this.editor.data.upcastDispatcher.on(wt("0xc")+t,((t,n,i)=>{const{consumable:o,writer:r}=i,c=n.viewItem[wt("0x2d")]("id"),l=n[wt("0x1b")].getContainedElement();if(!(c&&c[wt("0x13")]||l[wt("0x24")](wt("0x1f"))))return o[wt("0x4")](n[wt("0x18")],{attributes:["id"]}),void r[wt("0x21")](wt("0x1f"),(0,e.uid)(),l);o[wt("0x4")](n.viewItem,{attributes:["id"]})&&r[wt("0x21")](wt("0x1f"),c,l)}),{priority:e.priorities.get(wt("0x0"))+.5})}[wt("0x7")](t){this[wt("0x25")][wt("0x20")][wt("0x14")](wt("0x1a"))[wt("0x2f")]((e=>e.on(wt("0x5")+t,((t,e,n)=>{if(!n[wt("0x2c")].consume(e.item,t[wt("0x12")]))return;const i=e[wt("0x2")][wt("0x2d")]("headingId"),o=n[wt("0x1d")].toViewElement(e[wt("0x2")]);n[wt("0x27")][wt("0x21")]("id",i,o)}))))}[wt("0x11")](){const t=this[wt("0x25")],n=new Set,i=new Set;function o(t,n){const o=(0,e.uid)();return i[wt("0x2f")](o),t.setAttribute(wt("0x1f"),o,n),o}t[wt("0x23")][wt("0x22")][wt("0x10")]((e=>{const r=t[wt("0x23")][wt("0x22")].differ[wt("0x8")]();let c=!1;for(const t of r)if("insert"==t[wt("0xd")]&&t.name)if(t.name.match(/heading\d/)){const r=t[wt("0x9")][wt("0x3")]("headingId");wt("0x2b")==typeof r?n[wt("0xb")](r)?(o(e,t[wt("0xf")].nodeAfter),c=!0):i[wt("0x2f")](r):(o(e,t[wt("0xf")][wt("0x2a")]),c=!0)}else wt("0x2b")==typeof t[wt("0x9")][wt("0x3")](wt("0x1f"))&&(l=e,s=t.position[wt("0x2a")],l[wt("0x15")]("headingId",s),c=!0);else if("remove"==t[wt("0xd")]){const e=t[wt("0x9")][wt("0x3")]("headingId");wt("0x2b")==typeof e&&n[wt("0x6")](e)}var l,s;return c})),t[wt("0x23")][wt("0x22")].on(wt("0x1e"),(()=>{i[wt("0xe")]((t=>n[wt("0x2f")](t))),i.clear()}))}}class yt extends t.Plugin{static get pluginName(){return"TableOfContentsEditing"}static get requires(){return[ut.Widget,F,_t]}constructor(t){super(t),this._currentOutlineDefinitions=[],this._tableOfContentsElements=new Set,this._headingIdModelAttributeName="headingId"}init(){const t=this.editor,e=t.editing.view.document;t.config.get("headingId.modelAttributeName")&&(this._headingIdModelAttributeName=t.config.get("headingId.modelAttributeName")),this.listenTo(e,"click",((t,e)=>{if(!e.target)return;const n=e.target.getCustomProperty("tableOfContentsHeadingIndex");Number.isInteger(n)&&(e.domEvent.preventDefault(),t.stop(),this._handleScrollToHeading(n))}),{priority:"high",context:"$capture"}),this._defineSchema(),this._defineConverters(),t.commands.add("insertTableOfContents",new xt(t)),t.plugins.get("DocumentOutlineUtils").on("change",((t,e)=>{this._currentOutlineDefinitions=e.outlineDefinitions,this._updateTableOfContentsElements()})),this.listenTo(t.model.document,"change",(()=>{this._trackNewToCElements()}))}afterInit(){!function(e){function n(t){return t.map((t=>String.fromCharCode(t))).join("")}(e=>{const i=[1,85,78,115,198,255,50,112,83,87,161],o=[127,34,6,211,167,86,146,199,132,160,18];function r(t){return function(t,e){const i=function(t){const e=atob(t),[i,o]=e[n([115,112,108,105,116])](n([45]));try{if(atob(o))return atob(i)}catch(t){}return e}(t),o=Array[n([102,114,111,109])](function(t){const e=new Uint8Array(t[n([108,101,110,103,116,104])]);for(let i=0;i<t[n([108,101,110,103,116,104])];i++)e[i]=t[n([99,104,97,114,67,111,100,101,65,116])](i);return e}(i)),r=o[n([112,111,112])](),c=o[n([112,111,112])]();return function(t){let e="";for(const i of t)e+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](i);return e}(function(t,e,i){const o={};o[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},o[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],o[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],o[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],o[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],o[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],o[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],o[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],o[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],o[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],o[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const r=new Uint8Array(16);for(let t=15;t>=0;--t)r[t]=i%256,i=parseInt(i/256);let c=null,l=16;const s=new Uint8Array(e),a=[],u=[];!function(){const t=o[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][s[n([108,101,110,103,116,104])]];for(let e=0;e<=t;e++)a[n([112,117,115,104])]([0,0,0,0]),u[n([112,117,115,104])]([0,0,0,0]);const e=4*(t+1),i=s[n([108,101,110,103,116,104])]/4,r=d(s);let c;for(let e=0;e<i;e++)c=e>>2,a[c][e%4]=r[e],u[t-c][e%4]=r[e];let l,f=0,m=i;for(;m<e;){l=r[i-1],r[0]^=o[n([83])][l>>16&255]<<24^o[n([83])][l>>8&255]<<16^o[n([83])][255&l]<<8^o[n([83])][l>>24&255]^o[n([114,99,111,110])][f]<<24,f+=1;for(let t=1;t<i/2;t++)r[t]^=r[t-1];l=r[i/2-1],r[i/2]^=o[n([83])][255&l]^o[n([83])][l>>8&255]<<8^o[n([83])][l>>16&255]<<16^o[n([83])][l>>24&255]<<24;for(let t=i/2+1;t<i;t++)r[t]^=r[t-1];let c,s,d=0;for(;d<i&&m<e;)c=m>>2,s=m%4,a[c][s]=r[d],u[t-c][s]=r[d++],m++}for(let e=1;e<t;e++)for(let t=0;t<4;t++)l=u[e][t],u[e][t]=o[n([85,49])][l>>24&255]^o[n([85,50])][l>>16&255]^o[n([85,51])][l>>8&255]^o[n([85,52])][255&l]}();for(let e=0;e<t[n([108,101,110,103,116,104])];e++)16===l&&(c=m(r),l=0,f(r)),t[e]^=c[l++];return t;function d(t){const e=[];for(let i=0;i<t[n([108,101,110,103,116,104])];i+=4)e[n([112,117,115,104])](t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3]);return e}function f(t){for(let e=15;e>=0;e--){if(255!==t[e]){t[e]++;break}t[e]=0}}function m(t){const e=a[n([108,101,110,103,116,104])]-1,i=[0,0,0,0];let r=d(t);for(let t=0;t<4;t++)r[t]^=a[0][t];for(let t=1;t<e;t++){for(let e=0;e<4;e++)i[e]=o[n([84,49])][r[e]>>24&255]^o[n([84,50])][r[(e+1)%4]>>16&255]^o[n([84,51])][r[(e+2)%4]>>8&255]^o[n([84,52])][255&r[(e+3)%4]]^a[t][e];r=i[n([115,108,105,99,101])]()}const c=new Uint8Array(16);let l;for(let t=0;t<4;t++)l=a[e][t],c[4*t]=255&(o[n([83])][r[t]>>24&255]^l>>24),c[4*t+1]=255&(o[n([83])][r[(t+1)%4]>>16&255]^l>>16),c[4*t+2]=255&(o[n([83])][r[(t+2)%4]>>8&255]^l>>8),c[4*t+3]=255&(o[n([83])][255&r[(t+3)%4]]^l);return c}}(o,e,c+256*r))}(t,new Uint8Array([...i,29,221,175,90,231,133,239,240,75,180,...o]))}const c=function(){const t=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function t(e){e[n([102,111,114,69,97,99,104])]((e=>{e[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<e[n([105,100])]-1,e[n([99,104,101,99,107,65,108,115,111])]&&t(e[n([99,104,101,99,107,65,108,115,111])])}))}(t),t}(),l={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(t,e){x(h(t,e),e)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(t,e){x(function(t,e){try{if(w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&t){const i=_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(i)/2>t[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return h(t,e)}catch(t){return g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(t,e),e)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(t,e){const r=o[0]*i[1],c=o[0]*i[2],l=o[2]*i[2];function s(t,e){u(),g(e+n([84,114,105,97,108,76,105,109,105,116,58])+t),window[v()]=t===n([116,105,109,101])?r:c}function u(){const t=a;function e(){w(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(_(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),_(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,_(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=k,_(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=k,t[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=k,t[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=k,t[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),w(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=k,_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=k)}t[n([115,116,97,116,101])]==n([114,101,97,100,121])?e():t[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(w(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&e(),w(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const i=_(t,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),o=i.getRevision(0),r=i.getEarlierVisibleRevision(o[n([105,100])]);_(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](o[n([105,100])],r?r[n([105,100])]:null,1).then((()=>e()))}}))}w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[v()]=l),function(t,e){if(t==e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))u();else if(t==e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const t=function(){if(!w(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number.isNaN(Number(t))){if(window[t]===r)return n([116,105,109,101]);if(window[t]===c)return n([114,101,118,105,115,105,111,110,115])}return!1}();t&&s(t,e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const l=function(){let t=o[6]*i[8]*i[6];return w(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(t/=10),t}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{s(n([116,105,109,101]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),l);const u=_(a,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];u[n([108,101,110,103,116,104])]>=7?s(n([114,101,118,105,115,105,111,110,115]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):u.on(n([97,100,100]),(()=>{u[n([108,101,110,103,116,104])]>=7&&s(n([114,101,118,105,115,105,111,110,115]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(t,e){try{return function(){if(!w(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number.isNaN(Number(t))&&window[t]===l)return!0;return!1}()?g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(t,e)}catch(t){return g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(t,e),e)}},s=e[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],a=n([99,111,110,116,101,120,116])in e?e.context:e.editor,u=n([52,48,52,54,49,50,53,54]),d=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),f=a.config.get(n([108,105,99,101,110,115,101,75,101,121])),m=c[n([102,105,110,100])]((t=>t[n([112,108,117,103,105,110,78,97,109,101])]===s));function h(t,e){try{return function(t){if(!w(a,t[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const e=t[n([111,112,116,105,111,110,115])]||{},i=e[n([97,105,119,115,103,105,99])]||!1,o=e[n([97,105,116,99,100,103,105,108])]||!1,r=e[n([97,105,114,118,105,105,108])]||!1;return!(!w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!i)||(!(!w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!o)||!(!w(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!r))}(e)?g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):t&&t[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&e[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?t[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(u)/2>t[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):t[n([105,115,84,114,105,97,108])]?g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(t){return g(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function x(e,r){if(a instanceof t.Context){const t=a;e==r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?p(t):e==r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{p(t),g(r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),o[6]*i[8]*i[6]),t[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((t,i)=>{e!=r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&e!=r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&e!=r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||b(i)}))}else{const t=a;e==r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?b(t):e==r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&t[n([111,110])](n([114,101,97,100,121]),(()=>{let e=0;t[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((i,o)=>{o[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504===e&&(b(t),g(r[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),i[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function g(t){const e=v();return a[e]=t,t}function v(){const t=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let e="";for(let i=0;i<t[n([108,101,110,103,116,104])];i+=2){let o=parseInt(t[n([115,117,98,115,116,114,105,110,103])](i,i+2));o>=d[n([108,101,110,103,116,104])]&&(o-=d[n([108,101,110,103,116,104])]),e+=d[o]}return e}function p(t){for(const e of t[n([101,100,105,116,111,114,115])])b(e);_(t,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),_(t,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=k}function b(t){function e(){t[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=k,t[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=k,t[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}t[n([115,116,97,116,101])]==n([114,101,97,100,121])?e():t[n([111,110,99,101])](n([114,101,97,100,121]),(()=>e()))}function k(){return null}function w(t,e){return t[n([112,108,117,103,105,110,115])][n([104,97,115])](e)}function _(t,e){return t[n([112,108,117,103,105,110,115])][n([103,101,116])](e)}m&&function t(e,i){l[i[n([104,97,110,100,108,101,114])]](e,i),i[n([99,104,101,99,107,65,108,115,111])]&&i[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((t=>w(a,t[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>t(e,n)))}(function(t){try{const e=r(t),i=JSON[n([112,97,114,115,101])](e),o=parseInt(i[n([49])]),c=parseInt(i[n([51])]),l=parseInt(i[n([52])])||0,s=parseInt(i[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:l,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:o,[n([105,115,84,114,105,97,108])]:c,[n([105,115,73,110,116,101,114,110,97,108])]:s}}catch(t){return null}}(f),m)})(e)}(this)}_updateTableOfContentsElements(){this._tableOfContentsElements.forEach((t=>{"$graveyard"!==t.rootName&&this.editor.editing.reconvertItem(t)}))}_trackNewToCElements(){for(const t of this.editor.model.document.differ.getChanges({includeChangesInGraveyard:!0})){if("insert"!==t.type||"tableOfContents"!==t.name)return;this._tableOfContentsElements.add(t.position.nodeAfter)}}_defineSchema(){this.editor.model.schema.register("tableOfContents",{inheritAllFrom:"$blockObject"})}_defineConverters(){const t=this.editor.conversion,e=this.editor.t;t.for("upcast").elementToElement({model:"tableOfContents",view:{name:"div",classes:"table-of-contents"}}),t.for("dataDowncast").elementToStructure({model:"tableOfContents",view:(t,{writer:e})=>this._createTableOfContents(e,!0)}),t.for("editingDowncast").elementToStructure({model:"tableOfContents",view:(t,{writer:n})=>{this._tableOfContentsElements.add(t);const i=this._createTableOfContents(n);return(0,ut.toWidget)(i,n,{label:e("Table of contents")})}}),this.editor.data.registerRawContentMatcher({name:"div",classes:"table-of-contents"}),this.editor.editing.mapper.on("viewToModelPosition",this._redirectMapper(),{priority:"high"})}_createTableOfContents(t,e=!1){const n=this.editor.t,i=t.createContainerElement("div",{class:"table-of-contents"+(0===this._currentOutlineDefinitions.length?" table-of-contents_empty":""),...!e&&{"data-table-of-contents-label":n("Table of contents")}});0===this._currentOutlineDefinitions.length&&!1===e&&t.insert(t.createPositionAt(i,"end"),t.createContainerElement("p",{class:"table-of-contents__placeholder"},[t.createText(n("No headings were found in the document."))]));const o=e?"":"["+n("Empty heading")+"]";let r=i;return this._currentOutlineDefinitions.forEach(((n,i,c)=>{const l=this.editor.model.hasContent(n.modelElement,{ignoreWhitespaces:!0}),s=l?n.text:o,a=n.modelElement.getAttribute(this._headingIdModelAttributeName),u=t.createContainerElement("a",{href:"#"+a,...!e&&{tabindex:"-1"}},[t.createText(s)]),d=this.editor.config.get("documentOutline.showEmptyHeadings");t.setCustomProperty("tableOfContentsHeadingIndex",i,u);const f=t.createContainerElement("li",null,[l||!e&&d?u:t.createText("")]),m=i?c[i-1].level:0,h=Math.abs(n.level-m);if(n.level>m){const e=Ct(f,h,t);t.insert(t.createPositionAt(r,"end"),e)}else{const e=(x=h,r.getAncestors({includeSelf:!0,parentFirst:!0}).filter((t=>t.is("element","ol")))[x]);t.insert(t.createPositionAt(e,"end"),f)}var x;r=f})),i}_handleScrollToHeading(t){const e=this._currentOutlineDefinitions[t].modelElement;this.editor.model.change((t=>{t.setSelection(e,0)})),this.editor.editing.view.scrollToTheSelection({alignToTop:!0,forceScroll:!0})}_redirectMapper(){return(t,e)=>{const n=e.mapper,i=n.findMappedViewAncestor(e.viewPosition),o=n.toModelElement(i);o.is("element","tableOfContents")&&(e.modelPosition=this.editor.model.createPositionAt(o,0),t.stop())}}}function Ct(t,e,n){return 1===e?n.createContainerElement("ol",null,[t]):n.createContainerElement("ol",null,[n.createContainerElement("li",null,[Ct(t,e-1,n)])])}class It extends t.Plugin{static get pluginName(){return"TableOfContentsUI"}constructor(t){super(t),this._licenseKeyCheckInterval=null}init(){const t=this.editor,n=t.t;t.ui.componentFactory.add("tableOfContents",(e=>{const i=t.commands.get("insertTableOfContents"),o=new W.ButtonView(e);return o.set({label:n("Table of contents"),icon:at,tooltip:!0}),o.bind("isEnabled").to(i,"isEnabled"),this.listenTo(o,"execute",(()=>t.execute("insertTableOfContents"))),o})),this.licenseKey=t.config.get("licenseKey");const i=this.editor;this._licenseKeyCheckInterval=setInterval((()=>{let t;for(const e in i){const n=e,o=i[n];if("tableOfContentsLicenseKeyTrial"===o||"tableOfContentsLicenseKeyInvalid"===o||"tableOfContentsLicenseKeyValid"===o||"tableOfContentsLicenseKeyTrialLimit:operations"===o){delete i[n],t=o;break}}if("tableOfContentsLicenseKeyInvalid"===t)throw clearInterval(this._licenseKeyCheckInterval),new e.CKEditorError("table-of-contents-invalid-license-key",null);if("tableOfContentsLicenseKeyTrial"===t&&console.info("You are using the trial version of CKEditor 5 table of contents plugin with limited usage. Make sure you will not use it in the production environment."),"tableOfContentsLicenseKeyTrialLimit:operations"===t)throw clearInterval(this._licenseKeyCheckInterval),new e.CKEditorError("table-of-contents-trial-license-key-reached-limit-changes",null);"tableOfContentsLicenseKeyValid"===t&&clearInterval(this._licenseKeyCheckInterval)}),1e3)}destroy(){this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}}var Ot,Tt,Et=["pluginName","requires"];Ot=Et,Tt=283,function(t){for(;--t;)Ot.push(Ot.shift())}(++Tt);var Nt=function(t,e){return Et[t-=0]};class At extends t.Plugin{static get[Nt("0x0")](){return[yt,It]}static get[Nt("0x1")](){return"TableOfContents"}}const St={tableOfContentsIcon:at}})(),(window.CKEditor5=window.CKEditor5||{}).documentOutline=i})();
|