@ckeditor/ckeditor5-slash-command 46.0.1-alpha.0 → 46.0.1-alpha.1
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/slash-command.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +10 -10
- package/src/slashcommandconfig.js +1 -1
package/build/slash-command.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var a=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(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,a,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(o[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);a&&o[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function a(e,t,a,r){var i;if(a)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,o&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,i);else{var s=document.createTextNode(i),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(s,c[t]):e.appendChild(s)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){a(n,t,!1,e)},remove:function(e){a(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},655:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(168),r=n.n(a),i=n(433),o=n.n(i)()(r());o.push([e.id,":root{--ck-slash-command-button-width:250px;--ck-slash-command-description-width:200px}.ck-mentions .ck.ck-button.ck-slash-command-button{display:flex;justify-content:flex-start;padding:calc(var(--ck-line-height-base)*.2*var(--ck-font-size-base));width:var(--ck-slash-command-button-width)}.ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{background-color:var(--ck-color-base-background);border-radius:2px;box-sizing:initial;color:var(--ck-color-base-text);flex-shrink:0;margin-left:0;padding:5px}[dir=ltr] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{margin:0 var(--ck-spacing-small) 0 0}[dir=rtl] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{margin:0 0 0 var(--ck-spacing-small)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{display:flex;flex-direction:column}[dir=ltr] .ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{margin-left:var(--ck-spacing-small)}[dir=rtl] .ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{margin-right:var(--ck-spacing-small)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>span{line-height:1.2em}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-button__label,.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-slash-command-button__description{overflow:hidden;text-overflow:ellipsis;width:var(--ck-slash-command-description-width)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-button__label{font-weight:700}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-slash-command-button__description{font-size:var(--ck-font-size-small);opacity:.75}.ck-mentions .ck.ck-button.ck-slash-command-button.ck-on>.ck-slash-command-button__text-part>span{color:var(--ck-color-list-button-on-text)}",""]);const s=o},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var i={},o=[],s=0;s<e.length;s++){var c=e[s],l=a.base?c[0]+a.base:c[0],d=i[l]||0,u="".concat(l," ").concat(d);i[l]=d+1;var m=n(u),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(p);else{var h=r(p,a);a.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}o.push(u)}return o}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var i=a(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var s=n(i[o]);t[s].references--}for(var c=a(e,r),l=0;l<i.length;l++){var d=n(i[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={id:a,exports:{}};return e[a](i,i.exports,n),i.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 a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},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})};var a={};(()=>{"use strict";n.r(a),n.d(a,{SlashCommand:()=>K,SlashCommandConfig:()=>s,SlashCommandEditing:()=>h,SlashCommandUI:()=>S});var e=n(782),t=n(584),r=n(355);const i=c;function o(){const e=["Heading 5","heading3","Create a code block","Create a block quote","getDefaultCommands","Create a heading level 4","Create a to-do list","getAllowedCommands","Paragraph","insertTable","Open file manager","codeBlock","Insert a paragraph","_allowedCommands","_proxyIsEnabled","isIconColorInherited","insertTemplate","editor","602960aCqFjw","template","Open file browser to insert an image or a file","filemanager","Create a bulleted list","commands","insertTableOfContents","afterInit","filter","upload","45SUroRE","pluginName","Emoji","67332wzlRkD","ckfinder","blockQuote","icon","htmlEmbed","Insert a horizontal line","7DFuubL","Increase the indentation","execute","Heading 1","heading.options","slashCommand.removeCommands","Create a heading level 2","get","Heading 4","16257lGImeq","Create a heading level 6","Insert table of contents","Table of contents","toLowerCase","heading4","style.definitions","Numbered list","Create a table","href","bulletedList","template.definitions","Insert code block","concat","heading","slashCommand.extraCommands","commandName","function","Bulleted list","Block quote","heading5","Open file manager to insert an image or a file","join","description","Increase indent","Insert HTML","sort","isOfficialPlugin","numberedList","todoList","ckbox","Horizontal line","Insert the Mermaid diagram","horizontalLine","fromCharCode","Insert Mermaid diagram","slash-command-execute-missing","Insert an emoji","includes","Decrease indent","isEnabled","indent","AI Assistant","title","config","Decrease the indentation","push","Heading 6","Create a heading level 3","insertMermaidCommand","enabledStyles","outdent","aiAssistant","locale","Heading 2","_proxyExecute","showAIAssistant","To-do list","421700qvryIT","103692IQzdzU","isPremiumPlugin","Insert an HTML snippet","emoji","Heading 3","heading2","style","Insert image","2810YzukBo","map","name","heading6","Create a heading level 1","Open the AI Assistant to generate content","Create a heading level 5","heading1","Create a numbered list","model","11943hdOmUj","length","split","64604FeMEGp","aliases","SlashCommandConfig","toc","Insert table","paragraph"];return(o=function(){return e})()}!function(e){const t=c,n=e();for(;;)try{if(115517===-parseInt(t(609))/1+-parseInt(t(535))/2+parseInt(t(594))/3+-parseInt(t(557))/4*(parseInt(t(591))/5)+-parseInt(t(536))/6*(-parseInt(t(600))/7)+parseInt(t(581))/8+-parseInt(t(554))/9*(-parseInt(t(544))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class s extends e.Plugin{static get[i(592)](){return i(559)}static get[i(504)](){return!0}static get[i(537)](){return!0}constructor(e){const t=i;super(e),this[t(576)]=null}[i(588)](){const e=i,n=this[e(580)][e(521)][e(607)](e(605))||[],a=function(t){const n=e;let a=[n(614),n(497),n(547)];if(t){const e=t[n(545)](e=>e[n(553)]);a=[n(551),n(541),n(564),n(614),n(497),n(547)][n(589)](t=>!e[n(515)](t))}return a}(this[e(580)][e(521)][e(607)](e(604)));let r=this[e(567)]()[e(589)](t=>!a[e(515)](t.id))[e(589)](t=>!n[e(515)](t[e(493)]));const o=this[e(580)][e(521)][e(607)](e(492));o&&o[e(555)]&&(r=r[e(490)](o));const s=this[e(580)][e(521)][e(607)](e(620));s&&s[e(555)]&&(r=r[e(490)](function(t){const n=e;return t[n(545)](e=>{const t=n,{title:a,icon:r,description:i,data:o}=e,s={id:d(a,t(582)),commandName:t(579),execute:e=>{const n=t;e[n(602)](n(579),o)},description:i,icon:r,title:a};return r&&(s[t(578)]=!1),s})}(s)));const u=this[e(580)][e(521)][e(607)](e(615));u&&u[e(555)]&&(r=r[e(490)](function(t){const n=e;return t[n(545)](e=>({id:d(e[n(546)],n(542)),commandName:n(542),execute:t=>{const a=n;t[a(602)](a(542),{styleName:e[a(546)]})},isEnabled:t=>{const a=n,r=t[a(586)][a(607)](a(542));return r[a(517)]&&r[a(527)][a(515)](e[a(546)])},title:e[n(546)]}))}(u)));const m=r[e(589)](t=>!t[e(493)]||void 0!==this[e(580)][e(586)][e(607)](t[e(493)])),p=[];for(const t of m)p[e(523)]({id:t.id,commandName:t[e(493)],title:e(494)==typeof t[e(520)]?t[e(520)](this[e(580)]):t[e(520)],description:t[e(500)],icon:t[e(597)],isIconColorInherited:t[e(578)],aliases:t[e(558)],isEnabled:()=>this[e(577)](t),execute:()=>this[e(532)](t)});this[e(576)]=p[e(503)](l),async function(e){const n=g([120,101,51,71,108,122,69,111,109,107,52,81,121,65,55,88,87,67,83,106,104,89,80,82,79,86,118,56,115,73,50,70,90,117,99,49,112,116,76,68,100,72,54,57,85,110,98,97,48,77,103,102,74,113,53,66,119,105,75,84,78,114]),a=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],i=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),o={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},s=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function l(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),i[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,a)=>{a[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function d(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function m(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const a=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+a,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,a])=>{n(t),e(a)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function p(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=c;return e[t(545)](e=>String[t(511)](e))[t(499)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([120]);for(let a=0;a<e[g([108,101,110,103,116,104])];a+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](a,a+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await i,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,f=null;try{return s==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=s[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=d(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),a={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete a[g([118,99])],m(a)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(o())return c(g([86,97,108,105,100]));s(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const d=(0,t.uid)();function u(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function f(t){s(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?p(m(d+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(i(),e),()=>{const e=o();return null==e?(i(),g([86,97,108,105,100])):g(a-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function i(){const t=g([108,108,99,116,45])+p(m(e)),n=h(p(window[g([77,97,116,104])][g([99,101,105,108])](a/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function o(){const t=g([108,108,99,116,45])+p(m(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function s(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:d}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{u(e[g([114,101,116,117,114,110])])&&(l=!0,f(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),i[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function s(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const a=s[g([115,112,108,105,116])](g([46])),[r,i,o]=a;return t(r),await n(r,i,o),e}catch{return!1}function t(t){const n=d(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,a){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(a),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),s=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!s)return;const c=await s[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),o,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await s[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([83,67]))&&!t[g([105,110,99,108,117,100,101,115])](g([80,80])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?a/1e3:1753833600;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=c,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:a}=new URL(window[g([108,111,99,97,116,105,111,110])][t(618)]);if(n[g([105,110,99,108,117,100,101,115])](a))return!0;const r=a[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=l(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=l(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[i(570)](){return this[i(576)]}[i(567)](){const e=i,t=t=>function(e,t){const n=e.t,a=e.t;switch(t){case"AI Assistant":return a("AI Assistant");case"Block quote":return a("Block quote");case"Bulleted list":return a("Bulleted list");case"Insert code block":return a("Insert code block");case"Open file manager":return a("Open file manager");case"Insert image":return a("Insert image");case"Heading 1":return a("Heading 1");case"Heading 2":return a("Heading 2");case"Heading 3":return a("Heading 3");case"Heading 4":return a("Heading 4");case"Heading 5":return a("Heading 5");case"Heading 6":return a("Heading 6");case"Horizontal line":return a("Horizontal line");case"Insert HTML":return a("Insert HTML");case"Increase indent":return a("Increase indent");case"Insert table":return a("Insert table");case"Table of contents":return a("Table of contents");case"Numbered list":return a("Numbered list");case"Decrease indent":return a("Decrease indent");case"Paragraph":return a("Paragraph");case"To-do list":return a("To-do list");case"Create a block quote":return n("Create a block quote");case"Create a bulleted list":return n("Create a bulleted list");case"Create a code block":return n("Create a code block");case"Open file manager to insert an image or a file":return n("Open file manager to insert an image or a file");case"Open file browser to insert an image or a file":return n("Open file browser to insert an image or a file");case"Create a heading level 1":return n("Create a heading level 1");case"Create a heading level 2":return n("Create a heading level 2");case"Create a heading level 3":return n("Create a heading level 3");case"Create a heading level 4":return n("Create a heading level 4");case"Create a heading level 5":return n("Create a heading level 5");case"Create a heading level 6":return n("Create a heading level 6");case"Insert a horizontal line":return n("Insert a horizontal line");case"Insert an HTML snippet":return n("Insert an HTML snippet");case"Increase the indentation":return n("Increase the indentation");case"Insert Mermaid diagram":return n("Insert Mermaid diagram");case"Insert the Mermaid diagram":return n("Insert the Mermaid diagram");case"Create a table":return n("Create a table");case"Insert table of contents":return n("Insert table of contents");case"Create a numbered list":return n("Create a numbered list");case"Decrease the indentation":return n("Decrease the indentation");case"Insert a paragraph":return n("Insert a paragraph");case"Create a to-do list":return n("Create a to-do list");case"Open the AI Assistant to generate content":return n("Open the AI Assistant to generate content");case"Insert an emoji":return n("Insert an emoji");default:return t}}(this[e(580)][e(530)],t);return[{id:e(529),commandName:e(533),icon:r.IconRobotPencil,title:t(e(519)),description:t(e(549)),execute:t=>{const n=e;setTimeout(()=>t[n(602)](n(533)))}},{id:e(596),commandName:e(596),icon:r.IconQuote,title:t(e(496)),description:t(e(566))},{id:e(619),commandName:e(619),icon:r.IconBulletedList,title:t(e(495)),description:t(e(585))},{id:e(574),commandName:e(574),icon:r.IconCodeBlock,title:t(e(489)),description:t(e(565))},{id:e(507),commandName:e(507),icon:r.IconBrowseFiles,title:t(e(573)),description:t(e(498)),aliases:[e(595),e(584),e(590)]},{id:e(595),commandName:e(595),icon:r.IconBrowseFiles,title:t(e(543)),description:t(e(583)),aliases:[e(507),e(584),e(590)]},{id:e(539),commandName:e(539),icon:r.IconEmoji,title:t(e(593)),description:t(e(514)),execute:t=>{const n=e;setTimeout(()=>t[n(602)](n(539)))}},{id:e(551),commandName:e(491),icon:r.IconHeading1,title:t(e(603)),description:t(e(548)),execute:t=>{const n=e;t[n(602)](n(491),{value:n(551)})}},{id:e(541),commandName:e(491),icon:r.IconHeading2,title:t(e(531)),description:t(e(606)),execute:t=>{const n=e;t[n(602)](n(491),{value:n(541)})}},{id:e(564),commandName:e(491),icon:r.IconHeading3,title:t(e(540)),description:t(e(525)),execute:t=>{const n=e;t[n(602)](n(491),{value:n(564)})}},{id:e(614),commandName:e(491),icon:r.IconHeading4,title:t(e(608)),description:t(e(568)),execute:t=>{const n=e;t[n(602)](n(491),{value:n(614)})}},{id:e(497),commandName:e(491),icon:r.IconHeading5,title:t(e(563)),description:t(e(550)),execute:t=>{const n=e;t[n(602)](n(491),{value:n(497)})}},{id:e(547),commandName:e(491),icon:r.IconHeading6,title:t(e(524)),description:t(e(610)),execute:t=>{const n=e;t[n(602)](n(491),{value:n(547)})}},{id:e(510),commandName:e(510),icon:r.IconHorizontalLine,title:t(e(508)),description:t(e(599))},{id:e(598),commandName:e(598),icon:r.IconHtml,title:t(e(502)),description:t(e(538))},{id:e(518),commandName:e(518),icon:r.IconIndent,title:t(e(501)),description:t(e(601))},{id:e(526),commandName:e(526),title:t(e(512)),description:t(e(509))},{id:e(572),commandName:e(572),icon:r.IconTable,title:t(e(561)),description:t(e(617))},{id:e(587),commandName:e(587),icon:r.IconTableOfContents,title:t(e(612)),description:t(e(611)),aliases:[e(560)]},{id:e(505),commandName:e(505),icon:r.IconNumberedList,title:t(e(616)),description:t(e(552))},{id:e(528),commandName:e(528),icon:r.IconOutdent,title:t(e(516)),description:t(e(522))},{id:e(562),commandName:e(562),icon:r.IconParagraph,title:t(e(571)),description:t(e(575))},{id:e(506),commandName:e(506),icon:r.IconTodoList,title:t(e(534)),description:t(e(569))}]}[i(577)](e){const t=i;return e[t(517)]?e[t(517)](this[t(580)]):!e[t(493)]||this[t(580)][t(586)][t(607)](e[t(493)])[t(517)]}[i(532)](e){const n=i;if(e[n(602)])e[n(602)](this[n(580)]);else{if(!e[n(493)])throw new t.CKEditorError(n(513),this[n(580)],{commandDefinition:e});this[n(580)][n(602)](e[n(493)])}}}function c(e,t){const n=o();return(c=function(e,t){return n[e-=489]})(e,t)}function l(e,t){const n=i;return e[n(520)]<t[n(520)]?-1:e[n(520)]>t[n(520)]?1:0}function d(e,t){const n=i;return t+"-"+e[n(613)]()[n(556)](" ")[n(499)]("-")}const u=m;function m(e,t){const n=p();return(m=function(e,t){return n[e-=103]})(e,t)}function p(){const e=["getMatchingCommands","isOfficialPlugin","title","pluginName","1124118mPEHxT","SlashCommandEditing","aliases","concat","requires","push","2390802hQJQyU","get","767961OpWylk","111727nUpBvC","description","868172WyAwxK","getAllowedCommands","plugins","includes","1301452oJTcrt","editor","164933pdtFXz","toLowerCase","16kTokDM","5EYRUVL","isPremiumPlugin","SlashCommandConfig","some","isEnabled","filter"];return(p=function(){return e})()}!function(e){const t=m,n=e();for(;;)try{if(291670===parseInt(t(115))/1+-parseInt(t(109))/2+-parseInt(t(106))/3+parseInt(t(113))/4+-parseInt(t(118))/5*(-parseInt(t(104))/6)+-parseInt(t(107))/7*(parseInt(t(117))/8)+parseInt(t(128))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);class h extends e.Plugin{static get[u(127)](){return u(129)}static get[u(125)](){return!0}static get[u(119)](){return!0}static get[u(132)](){return[s]}[u(124)](e){const t=u,n=e&&e[t(116)]();let a=this[t(114)][t(111)][t(105)](t(120))[t(110)]();if(a=a[t(123)](e=>e[t(122)]()),n){const e=[],r=[],i=[],o=[];for(const s of a)s.id[t(116)]()[t(112)](n)?e[t(103)](s):s[t(126)][t(116)]()[t(112)](n)?r[t(103)](s):s[t(130)]&&s[t(130)][t(121)](e=>e[t(116)]()[t(112)](n))?i[t(103)](s):s[t(108)]&&s[t(108)][t(116)]()[t(112)](n)&&o[t(103)](s);a=e[t(131)](r,i,o)}return a}}var f=n(311);const g=I;function I(e,t){const n=b();return(I=function(e,t){return n[e-=390]})(e,t)}function b(){const e=["isIconColorInherited","div","903768wJHZUr","ck-slash-command-button__text-part","title","ck-slash-command-button","ck-slash-command-button__description","_createTextPartView","iconView","span","82zAzcIJ","set","isColorInherited","description","76515FiNZVA","80HFvmSf","582021NZbFHM","797230ZTLDqJ","labelView","1165548RJlUqD","textPartView","render","16473QAtTZV","885115DWsFjj","icon","add","children","setTemplate"];return(b=function(){return e})()}!function(e){const t=I,n=e();for(;;)try{if(199912===-parseInt(t(407))/1+parseInt(t(403))/2*(-parseInt(t(415))/3)+parseInt(t(412))/4+-parseInt(t(410))/5+-parseInt(t(395))/6+-parseInt(t(416))/7+-parseInt(t(408))/8*(-parseInt(t(409))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(b);class k extends f.ButtonView{constructor(e,t){const n=I;super(e),this[n(413)]=this[n(400)](e,t),void 0!==t[n(393)]&&(this[n(401)][n(405)]=t[n(393)]),this[n(404)]({icon:t[n(417)]||r.IconPlay,withText:!0,label:t[n(397)],class:n(398)})}[g(414)](){const e=g;super[e(414)](),this[e(391)][e(390)](this[e(413)])}[g(400)](e,t){const n=g,a=new f.View(e);return a[n(392)]({tag:n(394),attributes:{class:["ck",n(396)]},children:t[n(406)]?[this[n(411)],{tag:n(402),attributes:{class:["ck",n(399)]},children:[{text:t[n(406)]}]}]:[this[n(411)]]}),a}}var v=n(673),C=n.n(v),w=n(545),y=n.n(w),x=n(262),A=n.n(x),L=n(667),O=n.n(L),N=n(357),T=n.n(N),H=n(655),_={attributes:{"data-cke":!0}};_.setAttributes=O(),_.insert=A().bind(null,"head"),_.domAPI=y(),_.insertStyleElement=T();C()(H.A,_);H.A&&H.A.locals&&H.A.locals;const E=M;function M(e,t){const n=P();return(M=function(e,t){return n[e-=162]})(e,t)}function P(){const e=["_customItemRenderer","config","evaluationLimit","featureNotAllowed","range","push","SlashCommandEditing","_licenseKeyCheckInterval","SlashCommandUI","plugins","mention","locale","change","expired","editor","isPremiumPlugin","high","set","_setupMentionConfiguration","3XPDjCO","_overrideMentionExecuteListener","17868356YnzATl","3ZPezrp","execute","452882yMcSsY","_showLicenseError","slashCommandLicenseKeyInvalid","isOfficialPlugin","462777ViOVnO","slashCommandLicenseKeyUsageLimit","slashCommandLicenseKeyValid","bind","SlashCommand","slashCommandLicenseKeyTrialLimit","render","invalid","init","pluginName","2218556pBFgOG","get","trialLimit","usageLimit","2487150OLlLEp","licenseKey","remove","6ZOAFLP","getMatchingCommands","slashCommand.dropdownLimit","10hsKCCA","slashCommandLicenseKeyNotAllowed","mention.feeds","domainLimit","ready","marker","destroy","stop","model","once","24EAVJOK","5374737EaIEoA","commands","slashCommandLicenseKeyDomainLimit","slashCommandLicenseKeyExpired","slashCommandLicenseKeyEvaluationLimit","3358672fwppLn","element"];return(P=function(){return e})()}!function(e){const t=M,n=e();for(;;)try{if(434262===-parseInt(t(173))/1*(parseInt(t(178))/2)+parseInt(t(176))/3*(-parseInt(t(192))/4)+parseInt(t(196))/5*(-parseInt(t(199))/6)+-parseInt(t(182))/7+-parseInt(t(218))/8+parseInt(t(213))/9*(-parseInt(t(202))/10)+parseInt(t(175))/11*(parseInt(t(212))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class S extends e.Plugin{[E(197)];[E(227)];static get[E(191)](){return E(162)}static get[E(181)](){return!0}static get[E(169)](){return!0}constructor(e){const t=E;super(e),this[t(172)]()}[E(190)](){const e=E;this[e(168)][e(211)](e(206),this[e(174)][e(185)](this)),this[e(197)]=this[e(168)][e(221)][e(193)](e(197));const t=this[e(168)];this[e(227)]=setInterval(()=>{const n=e;let a;for(const e in t){const r=e,i=t[r];if(n(184)==i||n(180)==i||n(216)==i||n(215)==i||n(203)==i||n(217)==i||n(187)==i||n(183)==i){delete t[r],a=i,clearInterval(this[n(227)]),this[n(227)]=void 0;break}}n(180)==a&&t[n(179)](n(189)),n(216)==a&&t[n(179)](n(167)),n(215)==a&&t[n(179)](n(205)),n(203)==a&&t[n(179)](n(223),n(186)),n(217)==a&&t[n(179)](n(222)),n(187)==a&&t[n(179)](n(194)),n(183)==a&&t[n(179)](n(195))},1e3)}[E(208)](){const e=E;super[e(208)](),this[e(227)]&&clearInterval(this[e(227)])}[E(172)](){const e=E,t=this[e(168)],n=this[e(168)][e(163)][e(193)](e(226)),a=t[e(221)][e(193)](e(204));a[e(225)]({marker:"/",feed:t=>n[e(200)](t),itemRenderer:this[e(220)][e(185)](this),dropdownLimit:t[e(221)][e(193)](e(201))||1/0}),t[e(221)][e(171)](e(204),a)}[E(174)](){const e=E,t=this[e(168)];t[e(214)][e(193)](e(164)).on(e(177),(n,a)=>{const r=e,i=a[0],o=t[r(210)];"/"===i[r(207)]&&o[r(166)](e=>{const t=r;e[t(198)](i[t(224)]),i[t(164)][t(177)](),n[t(209)]()})},{priority:e(170)})}[E(220)](e){const t=E,n=this[t(168)][t(165)],a=new k(n,e);return a[t(188)](),a[t(219)]}}var j=z;function z(e,t){var n=D();return(z=function(e,t){return n[e-=388]})(e,t)}function D(){var e=["pluginName","isPremiumPlugin","6832950KMzCtY","3668856UfJQOf","isOfficialPlugin","requires","1112916CmaSpe","36246616syqcAe","897hEdnrM","Mention","561240cOXDPm","10174vcfGvE","3802281Kddmab","SlashCommand"];return(D=function(){return e})()}!function(e){for(var t=z,n=e();;)try{if(764661===parseInt(t(392))/1+-parseInt(t(397))/2*(-parseInt(t(394))/3)+parseInt(t(396))/4+parseInt(t(388))/5+parseInt(t(389))/6+parseInt(t(398))/7+-parseInt(t(393))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class K extends e.Plugin{static get[j(391)](){return[j(395),h,S]}static get[j(400)](){return j(399)}static get[j(390)](){return!0}static get[j(401)](){return!0}}function q(e,t){var n=B();return(q=function(e,t){return n[e-=377]})(e,t)}function B(){var e=["600ASteWG","4nmlWfl","19708524qMHLVu","11989360rYtURo","2aiFsiS","203562UlVzmA","3520536ZDGblF","352772lRSGHf","9708306PINyhU","5714760IhRoQp","7qjHTpq"];return(B=function(){return e})()}!function(e){for(var t=q,n=e();;)try{if(876197===-parseInt(t(383))/1*(-parseInt(t(386))/2)+-parseInt(t(385))/3+-parseInt(t(380))/4*(-parseInt(t(377))/5)+-parseInt(t(387))/6*(-parseInt(t(378))/7)+-parseInt(t(382))/8+-parseInt(t(384))/9*(parseInt(t(379))/10)+parseInt(t(381))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).slashCommand=a})();
|
|
5
|
+
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var a=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(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,a,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(o[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);a&&o[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function a(e,t,a,r){var i;if(a)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,o&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,i);else{var s=document.createTextNode(i),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(s,c[t]):e.appendChild(s)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){a(n,t,!1,e)},remove:function(e){a(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},655:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(168),r=n.n(a),i=n(433),o=n.n(i)()(r());o.push([e.id,":root{--ck-slash-command-button-width:250px;--ck-slash-command-description-width:200px}.ck-mentions .ck.ck-button.ck-slash-command-button{display:flex;justify-content:flex-start;padding:calc(var(--ck-line-height-base)*.2*var(--ck-font-size-base));width:var(--ck-slash-command-button-width)}.ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{background-color:var(--ck-color-base-background);border-radius:2px;box-sizing:initial;color:var(--ck-color-base-text);flex-shrink:0;margin-left:0;padding:5px}[dir=ltr] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{margin:0 var(--ck-spacing-small) 0 0}[dir=rtl] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{margin:0 0 0 var(--ck-spacing-small)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{display:flex;flex-direction:column}[dir=ltr] .ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{margin-left:var(--ck-spacing-small)}[dir=rtl] .ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part{margin-right:var(--ck-spacing-small)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>span{line-height:1.2em}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-button__label,.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-slash-command-button__description{overflow:hidden;text-overflow:ellipsis;width:var(--ck-slash-command-description-width)}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-button__label{font-weight:700}.ck-mentions .ck.ck-button.ck-slash-command-button>.ck-slash-command-button__text-part>.ck-slash-command-button__description{font-size:var(--ck-font-size-small);opacity:.75}.ck-mentions .ck.ck-button.ck-slash-command-button.ck-on>.ck-slash-command-button__text-part>span{color:var(--ck-color-list-button-on-text)}",""]);const s=o},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var i={},o=[],s=0;s<e.length;s++){var c=e[s],l=a.base?c[0]+a.base:c[0],d=i[l]||0,u="".concat(l," ").concat(d);i[l]=d+1;var m=n(u),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(p);else{var h=r(p,a);a.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}o.push(u)}return o}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var i=a(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var s=n(i[o]);t[s].references--}for(var c=a(e,r),l=0;l<i.length;l++){var d=n(i[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={id:a,exports:{}};return e[a](i,i.exports,n),i.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 a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},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})};var a={};(()=>{"use strict";n.r(a),n.d(a,{SlashCommand:()=>K,SlashCommandConfig:()=>c,SlashCommandEditing:()=>h,SlashCommandUI:()=>S});var e=n(782),t=n(584),r=n(355);const i=s;function o(){const e=["getDefaultCommands","showAIAssistant","numberedList","insertTemplate","298712ptyHYn","description","SlashCommandConfig","toc","isIconColorInherited","outdent","insertTable","Create a heading level 2","Heading 1","heading1","sort","aiAssistant","Table of contents","heading6","40akbxsJ","Insert an emoji","9420Whzmxb","model","heading4","concat","length","Insert code block","7649837osyFnH","Heading 6","codeBlock","Emoji","enabledStyles","indent","Open the AI Assistant to generate content","heading5","ckbox","slashCommand.removeCommands","filemanager","3372yUSNyA","locale","541438ueielj","_proxyIsEnabled","Create a numbered list","4532AtEtsH","htmlEmbed","style","get","upload","name","Open file manager","href","getAllowedCommands","_proxyExecute","1GNlpSI","map","Create a heading level 4","afterInit","Block quote","heading3","commandName","Create a heading level 3","Create a heading level 6","49npVZGC","pluginName","blockQuote","slashCommand.extraCommands","Decrease indent","161427TnnwkU","split","Heading 5","includes","AI Assistant","insertMermaidCommand","Create a table","Heading 4","Insert a horizontal line","template.definitions","bulletedList","Decrease the indentation","12ACuNZm","style.definitions","paragraph","Insert table of contents","slash-command-execute-missing","Open file browser to insert an image or a file","Bulleted list","Paragraph","Insert HTML","Create a to-do list","Increase indent","Heading 3","commands","heading.options","fromCharCode","Insert an HTML snippet","Heading 2","template","isOfficialPlugin","ckfinder","icon","toLowerCase","push","isPremiumPlugin","filter","To-do list","todoList","insertTableOfContents","config","Increase the indentation","emoji","_allowedCommands","305VktjMB","join","Insert image","horizontalLine","Insert table","function","Insert Mermaid diagram","Open file manager to insert an image or a file","Create a block quote","Create a heading level 1","Create a bulleted list","aliases","Numbered list","Create a heading level 5","heading2","editor","596502PYaeRw","execute","isEnabled","title","heading","Insert a paragraph","Create a code block","Insert the Mermaid diagram","Horizontal line"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=306]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(140040===-parseInt(t(396))/1*(parseInt(t(383))/2)+-parseInt(t(410))/3*(parseInt(t(422))/4)+-parseInt(t(319))/5*(-parseInt(t(364))/6)+parseInt(t(405))/7*(-parseInt(t(348))/8)+parseInt(t(335))/9*(parseInt(t(362))/10)+parseInt(t(386))/11*(-parseInt(t(381))/12)+parseInt(t(370))/13)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class c extends e.Plugin{static get[i(406)](){return i(350)}static get[i(440)](){return!0}static get[i(310)](){return!0}constructor(e){const t=i;super(e),this[t(318)]=null}[i(399)](){const e=i,n=this[e(334)][e(315)][e(389)](e(379))||[],a=function(t){const n=e;let a=[n(366),n(377),n(361)];if(t){const e=t[n(397)](e=>e[n(365)]);a=[n(357),n(333),n(401),n(366),n(377),n(361)][n(311)](t=>!e[n(413)](t))}return a}(this[e(334)][e(315)][e(389)](e(435)));let r=this[e(344)]()[e(311)](t=>!a[e(413)](t.id))[e(311)](t=>!n[e(413)](t[e(402)]));const o=this[e(334)][e(315)][e(389)](e(408));o&&o[e(368)]&&(r=r[e(367)](o));const c=this[e(334)][e(315)][e(389)](e(419));c&&c[e(368)]&&(r=r[e(367)](function(t){const n=e;return t[n(397)](e=>{const t=n,{title:a,icon:r,description:i,data:o}=e,s={id:d(a,t(439)),commandName:t(347),execute:e=>{const n=t;e[n(336)](n(347),o)},description:i,icon:r,title:a};return r&&(s[t(352)]=!1),s})}(c)));const u=this[e(334)][e(315)][e(389)](e(423));u&&u[e(368)]&&(r=r[e(367)](function(t){const n=e;return t[n(397)](e=>({id:d(e[n(391)],n(388)),commandName:n(388),execute:t=>{const a=n;t[a(336)](a(388),{styleName:e[a(391)]})},isEnabled:t=>{const a=n,r=t[a(434)][a(389)](a(388));return r[a(337)]&&r[a(374)][a(413)](e[a(391)])},title:e[n(391)]}))}(u)));const m=r[e(311)](t=>!t[e(402)]||void 0!==this[e(334)][e(434)][e(389)](t[e(402)])),p=[];for(const t of m)p[e(309)]({id:t.id,commandName:t[e(402)],title:e(324)==typeof t[e(338)]?t[e(338)](this[e(334)]):t[e(338)],description:t[e(349)],icon:t[e(307)],isIconColorInherited:t[e(352)],aliases:t[e(330)],isEnabled:()=>this[e(384)](t),execute:()=>this[e(395)](t)});this[e(318)]=p[e(358)](l),async function(e){const n=g([78,85,77,54,113,84,76,70,50,115,112,49,121,122,109,114,110,103,98,81,89,106,105,48,120,82,56,51,67,117,88,86,111,80,52,100,107,53,73,65,102,99,72,118,68,108,87,75,116,69,83,101,79,66,90,97,71,119,74,57,55,104]),a=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],i=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),o={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},c=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function l(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),i[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,a)=>{a[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function d(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function m(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const a=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+a,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,a])=>{n(t),e(a)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function p(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=s;return e[t(397)](e=>String[t(436)](e))[t(320)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([78]);for(let a=0;a<e[g([108,101,110,103,116,104])];a+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](a,a+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await i,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,f=null;try{return c==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=c[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=d(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),a={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete a[g([118,99])],m(a)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(o())return c(g([86,97,108,105,100]));s(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const d=(0,t.uid)();function u(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function f(t){s(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?p(m(d+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(i(),e),()=>{const e=o();return null==e?(i(),g([86,97,108,105,100])):g(a-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function i(){const t=g([108,108,99,116,45])+p(m(e)),n=h(p(window[g([77,97,116,104])][g([99,101,105,108])](a/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function o(){const t=g([108,108,99,116,45])+p(m(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function s(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:d}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{u(e[g([114,101,116,117,114,110])])&&(l=!0,f(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),i[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function s(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const a=c[g([115,112,108,105,116])](g([46])),[r,i,o]=a;return t(r),await n(r,i,o),e}catch{return!1}function t(t){const n=d(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,a){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(a),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),s=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!s)return;const c=await s[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),o,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await s[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([83,67]))&&!t[g([105,110,99,108,117,100,101,115])](g([80,80])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?a/1e3:175392e4;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=s,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:a}=new URL(window[g([108,111,99,97,116,105,111,110])][t(393)]);if(n[g([105,110,99,108,117,100,101,115])](a))return!0;const r=a[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=l(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=l(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[i(394)](){return this[i(318)]}[i(344)](){const e=i,t=t=>function(e,t){const n=e.t,a=e.t;switch(t){case"AI Assistant":return a("AI Assistant");case"Block quote":return a("Block quote");case"Bulleted list":return a("Bulleted list");case"Insert code block":return a("Insert code block");case"Open file manager":return a("Open file manager");case"Insert image":return a("Insert image");case"Heading 1":return a("Heading 1");case"Heading 2":return a("Heading 2");case"Heading 3":return a("Heading 3");case"Heading 4":return a("Heading 4");case"Heading 5":return a("Heading 5");case"Heading 6":return a("Heading 6");case"Horizontal line":return a("Horizontal line");case"Insert HTML":return a("Insert HTML");case"Increase indent":return a("Increase indent");case"Insert table":return a("Insert table");case"Table of contents":return a("Table of contents");case"Numbered list":return a("Numbered list");case"Decrease indent":return a("Decrease indent");case"Paragraph":return a("Paragraph");case"To-do list":return a("To-do list");case"Create a block quote":return n("Create a block quote");case"Create a bulleted list":return n("Create a bulleted list");case"Create a code block":return n("Create a code block");case"Open file manager to insert an image or a file":return n("Open file manager to insert an image or a file");case"Open file browser to insert an image or a file":return n("Open file browser to insert an image or a file");case"Create a heading level 1":return n("Create a heading level 1");case"Create a heading level 2":return n("Create a heading level 2");case"Create a heading level 3":return n("Create a heading level 3");case"Create a heading level 4":return n("Create a heading level 4");case"Create a heading level 5":return n("Create a heading level 5");case"Create a heading level 6":return n("Create a heading level 6");case"Insert a horizontal line":return n("Insert a horizontal line");case"Insert an HTML snippet":return n("Insert an HTML snippet");case"Increase the indentation":return n("Increase the indentation");case"Insert Mermaid diagram":return n("Insert Mermaid diagram");case"Insert the Mermaid diagram":return n("Insert the Mermaid diagram");case"Create a table":return n("Create a table");case"Insert table of contents":return n("Insert table of contents");case"Create a numbered list":return n("Create a numbered list");case"Decrease the indentation":return n("Decrease the indentation");case"Insert a paragraph":return n("Insert a paragraph");case"Create a to-do list":return n("Create a to-do list");case"Open the AI Assistant to generate content":return n("Open the AI Assistant to generate content");case"Insert an emoji":return n("Insert an emoji");default:return t}}(this[e(334)][e(382)],t);return[{id:e(359),commandName:e(345),icon:r.IconRobotPencil,title:t(e(414)),description:t(e(376)),execute:t=>{const n=e;setTimeout(()=>t[n(336)](n(345)))}},{id:e(407),commandName:e(407),icon:r.IconQuote,title:t(e(400)),description:t(e(327))},{id:e(420),commandName:e(420),icon:r.IconBulletedList,title:t(e(428)),description:t(e(329))},{id:e(372),commandName:e(372),icon:r.IconCodeBlock,title:t(e(369)),description:t(e(341))},{id:e(378),commandName:e(378),icon:r.IconBrowseFiles,title:t(e(392)),description:t(e(326)),aliases:[e(306),e(380),e(390)]},{id:e(306),commandName:e(306),icon:r.IconBrowseFiles,title:t(e(321)),description:t(e(427)),aliases:[e(378),e(380),e(390)]},{id:e(317),commandName:e(317),icon:r.IconEmoji,title:t(e(373)),description:t(e(363)),execute:t=>{const n=e;setTimeout(()=>t[n(336)](n(317)))}},{id:e(357),commandName:e(339),icon:r.IconHeading1,title:t(e(356)),description:t(e(328)),execute:t=>{const n=e;t[n(336)](n(339),{value:n(357)})}},{id:e(333),commandName:e(339),icon:r.IconHeading2,title:t(e(438)),description:t(e(355)),execute:t=>{const n=e;t[n(336)](n(339),{value:n(333)})}},{id:e(401),commandName:e(339),icon:r.IconHeading3,title:t(e(433)),description:t(e(403)),execute:t=>{const n=e;t[n(336)](n(339),{value:n(401)})}},{id:e(366),commandName:e(339),icon:r.IconHeading4,title:t(e(417)),description:t(e(398)),execute:t=>{const n=e;t[n(336)](n(339),{value:n(366)})}},{id:e(377),commandName:e(339),icon:r.IconHeading5,title:t(e(412)),description:t(e(332)),execute:t=>{const n=e;t[n(336)](n(339),{value:n(377)})}},{id:e(361),commandName:e(339),icon:r.IconHeading6,title:t(e(371)),description:t(e(404)),execute:t=>{const n=e;t[n(336)](n(339),{value:n(361)})}},{id:e(322),commandName:e(322),icon:r.IconHorizontalLine,title:t(e(343)),description:t(e(418))},{id:e(387),commandName:e(387),icon:r.IconHtml,title:t(e(430)),description:t(e(437))},{id:e(375),commandName:e(375),icon:r.IconIndent,title:t(e(432)),description:t(e(316))},{id:e(415),commandName:e(415),title:t(e(325)),description:t(e(342))},{id:e(354),commandName:e(354),icon:r.IconTable,title:t(e(323)),description:t(e(416))},{id:e(314),commandName:e(314),icon:r.IconTableOfContents,title:t(e(360)),description:t(e(425)),aliases:[e(351)]},{id:e(346),commandName:e(346),icon:r.IconNumberedList,title:t(e(331)),description:t(e(385))},{id:e(353),commandName:e(353),icon:r.IconOutdent,title:t(e(409)),description:t(e(421))},{id:e(424),commandName:e(424),icon:r.IconParagraph,title:t(e(429)),description:t(e(340))},{id:e(313),commandName:e(313),icon:r.IconTodoList,title:t(e(312)),description:t(e(431))}]}[i(384)](e){const t=i;return e[t(337)]?e[t(337)](this[t(334)]):!e[t(402)]||this[t(334)][t(434)][t(389)](e[t(402)])[t(337)]}[i(395)](e){const n=i;if(e[n(336)])e[n(336)](this[n(334)]);else{if(!e[n(402)])throw new t.CKEditorError(n(426),this[n(334)],{commandDefinition:e});this[n(334)][n(336)](e[n(402)])}}}function l(e,t){const n=i;return e[n(338)]<t[n(338)]?-1:e[n(338)]>t[n(338)]?1:0}function d(e,t){const n=i;return t+"-"+e[n(308)]()[n(411)](" ")[n(320)]("-")}const u=m;function m(e,t){const n=p();return(m=function(e,t){return n[e-=103]})(e,t)}function p(){const e=["getMatchingCommands","isOfficialPlugin","title","pluginName","1124118mPEHxT","SlashCommandEditing","aliases","concat","requires","push","2390802hQJQyU","get","767961OpWylk","111727nUpBvC","description","868172WyAwxK","getAllowedCommands","plugins","includes","1301452oJTcrt","editor","164933pdtFXz","toLowerCase","16kTokDM","5EYRUVL","isPremiumPlugin","SlashCommandConfig","some","isEnabled","filter"];return(p=function(){return e})()}!function(e){const t=m,n=e();for(;;)try{if(291670===parseInt(t(115))/1+-parseInt(t(109))/2+-parseInt(t(106))/3+parseInt(t(113))/4+-parseInt(t(118))/5*(-parseInt(t(104))/6)+-parseInt(t(107))/7*(parseInt(t(117))/8)+parseInt(t(128))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);class h extends e.Plugin{static get[u(127)](){return u(129)}static get[u(125)](){return!0}static get[u(119)](){return!0}static get[u(132)](){return[c]}[u(124)](e){const t=u,n=e&&e[t(116)]();let a=this[t(114)][t(111)][t(105)](t(120))[t(110)]();if(a=a[t(123)](e=>e[t(122)]()),n){const e=[],r=[],i=[],o=[];for(const s of a)s.id[t(116)]()[t(112)](n)?e[t(103)](s):s[t(126)][t(116)]()[t(112)](n)?r[t(103)](s):s[t(130)]&&s[t(130)][t(121)](e=>e[t(116)]()[t(112)](n))?i[t(103)](s):s[t(108)]&&s[t(108)][t(116)]()[t(112)](n)&&o[t(103)](s);a=e[t(131)](r,i,o)}return a}}var f=n(311);const g=I;function I(e,t){const n=b();return(I=function(e,t){return n[e-=390]})(e,t)}function b(){const e=["isIconColorInherited","div","903768wJHZUr","ck-slash-command-button__text-part","title","ck-slash-command-button","ck-slash-command-button__description","_createTextPartView","iconView","span","82zAzcIJ","set","isColorInherited","description","76515FiNZVA","80HFvmSf","582021NZbFHM","797230ZTLDqJ","labelView","1165548RJlUqD","textPartView","render","16473QAtTZV","885115DWsFjj","icon","add","children","setTemplate"];return(b=function(){return e})()}!function(e){const t=I,n=e();for(;;)try{if(199912===-parseInt(t(407))/1+parseInt(t(403))/2*(-parseInt(t(415))/3)+parseInt(t(412))/4+-parseInt(t(410))/5+-parseInt(t(395))/6+-parseInt(t(416))/7+-parseInt(t(408))/8*(-parseInt(t(409))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(b);class k extends f.ButtonView{constructor(e,t){const n=I;super(e),this[n(413)]=this[n(400)](e,t),void 0!==t[n(393)]&&(this[n(401)][n(405)]=t[n(393)]),this[n(404)]({icon:t[n(417)]||r.IconPlay,withText:!0,label:t[n(397)],class:n(398)})}[g(414)](){const e=g;super[e(414)](),this[e(391)][e(390)](this[e(413)])}[g(400)](e,t){const n=g,a=new f.View(e);return a[n(392)]({tag:n(394),attributes:{class:["ck",n(396)]},children:t[n(406)]?[this[n(411)],{tag:n(402),attributes:{class:["ck",n(399)]},children:[{text:t[n(406)]}]}]:[this[n(411)]]}),a}}var v=n(673),C=n.n(v),w=n(545),y=n.n(w),x=n(262),A=n.n(x),N=n(667),L=n.n(N),H=n(357),O=n.n(H),T=n(655),_={attributes:{"data-cke":!0}};_.setAttributes=L(),_.insert=A().bind(null,"head"),_.domAPI=y(),_.insertStyleElement=O();C()(T.A,_);T.A&&T.A.locals&&T.A.locals;const E=M;function M(e,t){const n=P();return(M=function(e,t){return n[e-=162]})(e,t)}function P(){const e=["_customItemRenderer","config","evaluationLimit","featureNotAllowed","range","push","SlashCommandEditing","_licenseKeyCheckInterval","SlashCommandUI","plugins","mention","locale","change","expired","editor","isPremiumPlugin","high","set","_setupMentionConfiguration","3XPDjCO","_overrideMentionExecuteListener","17868356YnzATl","3ZPezrp","execute","452882yMcSsY","_showLicenseError","slashCommandLicenseKeyInvalid","isOfficialPlugin","462777ViOVnO","slashCommandLicenseKeyUsageLimit","slashCommandLicenseKeyValid","bind","SlashCommand","slashCommandLicenseKeyTrialLimit","render","invalid","init","pluginName","2218556pBFgOG","get","trialLimit","usageLimit","2487150OLlLEp","licenseKey","remove","6ZOAFLP","getMatchingCommands","slashCommand.dropdownLimit","10hsKCCA","slashCommandLicenseKeyNotAllowed","mention.feeds","domainLimit","ready","marker","destroy","stop","model","once","24EAVJOK","5374737EaIEoA","commands","slashCommandLicenseKeyDomainLimit","slashCommandLicenseKeyExpired","slashCommandLicenseKeyEvaluationLimit","3358672fwppLn","element"];return(P=function(){return e})()}!function(e){const t=M,n=e();for(;;)try{if(434262===-parseInt(t(173))/1*(parseInt(t(178))/2)+parseInt(t(176))/3*(-parseInt(t(192))/4)+parseInt(t(196))/5*(-parseInt(t(199))/6)+-parseInt(t(182))/7+-parseInt(t(218))/8+parseInt(t(213))/9*(-parseInt(t(202))/10)+parseInt(t(175))/11*(parseInt(t(212))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class S extends e.Plugin{[E(197)];[E(227)];static get[E(191)](){return E(162)}static get[E(181)](){return!0}static get[E(169)](){return!0}constructor(e){const t=E;super(e),this[t(172)]()}[E(190)](){const e=E;this[e(168)][e(211)](e(206),this[e(174)][e(185)](this)),this[e(197)]=this[e(168)][e(221)][e(193)](e(197));const t=this[e(168)];this[e(227)]=setInterval(()=>{const n=e;let a;for(const e in t){const r=e,i=t[r];if(n(184)==i||n(180)==i||n(216)==i||n(215)==i||n(203)==i||n(217)==i||n(187)==i||n(183)==i){delete t[r],a=i,clearInterval(this[n(227)]),this[n(227)]=void 0;break}}n(180)==a&&t[n(179)](n(189)),n(216)==a&&t[n(179)](n(167)),n(215)==a&&t[n(179)](n(205)),n(203)==a&&t[n(179)](n(223),n(186)),n(217)==a&&t[n(179)](n(222)),n(187)==a&&t[n(179)](n(194)),n(183)==a&&t[n(179)](n(195))},1e3)}[E(208)](){const e=E;super[e(208)](),this[e(227)]&&clearInterval(this[e(227)])}[E(172)](){const e=E,t=this[e(168)],n=this[e(168)][e(163)][e(193)](e(226)),a=t[e(221)][e(193)](e(204));a[e(225)]({marker:"/",feed:t=>n[e(200)](t),itemRenderer:this[e(220)][e(185)](this),dropdownLimit:t[e(221)][e(193)](e(201))||1/0}),t[e(221)][e(171)](e(204),a)}[E(174)](){const e=E,t=this[e(168)];t[e(214)][e(193)](e(164)).on(e(177),(n,a)=>{const r=e,i=a[0],o=t[r(210)];"/"===i[r(207)]&&o[r(166)](e=>{const t=r;e[t(198)](i[t(224)]),i[t(164)][t(177)](),n[t(209)]()})},{priority:e(170)})}[E(220)](e){const t=E,n=this[t(168)][t(165)],a=new k(n,e);return a[t(188)](),a[t(219)]}}var j=z;function z(e,t){var n=D();return(z=function(e,t){return n[e-=388]})(e,t)}function D(){var e=["pluginName","isPremiumPlugin","6832950KMzCtY","3668856UfJQOf","isOfficialPlugin","requires","1112916CmaSpe","36246616syqcAe","897hEdnrM","Mention","561240cOXDPm","10174vcfGvE","3802281Kddmab","SlashCommand"];return(D=function(){return e})()}!function(e){for(var t=z,n=e();;)try{if(764661===parseInt(t(392))/1+-parseInt(t(397))/2*(-parseInt(t(394))/3)+parseInt(t(396))/4+parseInt(t(388))/5+parseInt(t(389))/6+parseInt(t(398))/7+-parseInt(t(393))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class K extends e.Plugin{static get[j(391)](){return[j(395),h,S]}static get[j(400)](){return j(399)}static get[j(390)](){return!0}static get[j(401)](){return!0}}function q(e,t){var n=B();return(q=function(e,t){return n[e-=377]})(e,t)}function B(){var e=["600ASteWG","4nmlWfl","19708524qMHLVu","11989360rYtURo","2aiFsiS","203562UlVzmA","3520536ZDGblF","352772lRSGHf","9708306PINyhU","5714760IhRoQp","7qjHTpq"];return(B=function(){return e})()}!function(e){for(var t=q,n=e();;)try{if(876197===-parseInt(t(383))/1*(-parseInt(t(386))/2)+-parseInt(t(385))/3+-parseInt(t(380))/4*(-parseInt(t(377))/5)+-parseInt(t(387))/6*(-parseInt(t(378))/7)+-parseInt(t(382))/8+-parseInt(t(384))/9*(parseInt(t(379))/10)+parseInt(t(381))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).slashCommand=a})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x17cd0e}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x478bac,uid as _0x2556bc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconRobotPencil as _0x15d739,IconQuote as _0x19c7f2,IconBulletedList as _0x398230,IconCodeBlock as _0x464065,IconBrowseFiles as _0x3cb855,IconEmoji as _0x20e86b,IconHeading1 as _0x597385,IconHeading2 as _0x125f40,IconHeading3 as _0xbe15f4,IconHeading4 as _0x5c0834,IconHeading5 as _0x55a5ff,IconHeading6 as _0x261013,IconHorizontalLine as _0x434065,IconHtml as _0x6ca416,IconIndent as _0x254cff,IconTable as _0x1a9013,IconTableOfContents as _0xc235a2,IconNumberedList as _0x57decc,IconOutdent as _0x57402b,IconParagraph as _0x3feb80,IconTodoList as _0x2dfd0e,IconPlay as _0x492fe0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4c7dca,View as _0x11d38b}from'@ckeditor/ckeditor5-ui/dist/index.js';class P extends _0x17cd0e{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x89fbdf){super(_0x89fbdf),this['_allowedCommands']=null;}['afterInit'](){const _0x293c5a=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0xe8f795=function(_0xb54866){let _0x3376c2=['heading4','heading5','heading6'];if(_0xb54866){const _0x1f5de3=_0xb54866['map'](_0x2e6abd=>_0x2e6abd['model']);_0x3376c2=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0xdf1759=>!_0x1f5de3['includes'](_0xdf1759));}return _0x3376c2;}(this['editor']['config']['get']('heading.options'));let _0x184093=this['getDefaultCommands']()['filter'](_0x2d1022=>!_0xe8f795['includes'](_0x2d1022['id']))['filter'](_0xd3070a=>!_0x293c5a['includes'](_0xd3070a['commandName']));const _0x46a9e0=this['editor']['config']['get']('slashCommand.extraCommands');_0x46a9e0&&_0x46a9e0['length']&&(_0x184093=_0x184093['concat'](_0x46a9e0));const _0x7bf0ec=this['editor']['config']['get']('template.definitions');_0x7bf0ec&&_0x7bf0ec['length']&&(_0x184093=_0x184093['concat'](function(_0xb17796){return _0xb17796['map'](_0x8de148=>{const {title:_0x52a26d,icon:_0x542fd0,description:_0x35d25e,data:_0x19fd89}=_0x8de148,_0x4aef83={'id':L(_0x52a26d,'template'),'commandName':'insertTemplate','execute':_0x5ec240=>{_0x5ec240['execute']('insertTemplate',_0x19fd89);},'description':_0x35d25e,'icon':_0x542fd0,'title':_0x52a26d};return _0x542fd0&&(_0x4aef83['isIconColorInherited']=!0x1),_0x4aef83;});}(_0x7bf0ec)));const _0x8f2049=this['editor']['config']['get']('style.definitions');_0x8f2049&&_0x8f2049['length']&&(_0x184093=_0x184093['concat'](function(_0x51ced4){return _0x51ced4['map'](_0x23953d=>({'id':L(_0x23953d['name'],'style'),'commandName':'style','execute':_0x5ae0e2=>{_0x5ae0e2['execute']('style',{'styleName':_0x23953d['name']});},'isEnabled':_0x15f67b=>{const _0x43f578=_0x15f67b['commands']['get']('style');return _0x43f578['isEnabled']&&_0x43f578['enabledStyles']['includes'](_0x23953d['name']);},'title':_0x23953d['name']}));}(_0x8f2049)));const _0x13a263=_0x184093['filter'](_0x409349=>!_0x409349['commandName']||void 0x0!==this['editor']['commands']['get'](_0x409349['commandName'])),_0x4549e3=[];for(const _0x5aebe5 of _0x13a263)_0x4549e3['push']({'id':_0x5aebe5['id'],'commandName':_0x5aebe5['commandName'],'title':'function'==typeof _0x5aebe5['title']?_0x5aebe5['title'](this['editor']):_0x5aebe5['title'],'description':_0x5aebe5['description'],'icon':_0x5aebe5['icon'],'isIconColorInherited':_0x5aebe5['isIconColorInherited'],'aliases':_0x5aebe5['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x5aebe5),'execute':()=>this['_proxyExecute'](_0x5aebe5)});this['_allowedCommands']=_0x4549e3['sort'](j),async function(_0x445619){const _0x396554=_0x522bee([0x78,0x65,0x33,0x47,0x6c,0x7a,0x45,0x6f,0x6d,0x6b,0x34,0x51,0x79,0x41,0x37,0x58,0x57,0x43,0x53,0x6a,0x68,0x59,0x50,0x52,0x4f,0x56,0x76,0x38,0x73,0x49,0x32,0x46,0x5a,0x75,0x63,0x31,0x70,0x74,0x4c,0x44,0x64,0x48,0x36,0x39,0x55,0x6e,0x62,0x61,0x30,0x4d,0x67,0x66,0x4a,0x71,0x35,0x42,0x77,0x69,0x4b,0x54,0x4e,0x72]),_0x3dc79f=0x4f3d9add,_0x2dc304=0x4f3af5d5^_0x3dc79f,_0x497ae7=window[_0x522bee([0x44,0x61,0x74,0x65])][_0x522bee([0x6e,0x6f,0x77])](),_0x179354=_0x445619[_0x522bee([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x586682=new window[(_0x522bee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f2889=>{_0x179354[_0x522bee([0x6f,0x6e,0x63,0x65])](_0x522bee([0x72,0x65,0x61,0x64,0x79]),_0x3f2889);}),_0x5e8d38={[_0x522bee([0x6b,0x74,0x79])]:_0x522bee([0x45,0x43]),[_0x522bee([0x75,0x73,0x65])]:_0x522bee([0x73,0x69,0x67]),[_0x522bee([0x63,0x72,0x76])]:_0x522bee([0x50,0x2d,0x32,0x35,0x36]),[_0x522bee([0x78])]:_0x522bee([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x522bee([0x79])]:_0x522bee([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x522bee([0x61,0x6c,0x67])]:_0x522bee([0x45,0x53,0x32,0x35,0x36])},_0x186015=_0x179354[_0x522bee([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x522bee([0x67,0x65,0x74])](_0x522bee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45c93a(){let _0xd5e75b,_0x59eb0b=null,_0x252f54=null;try{if(_0x186015==_0x522bee([0x47,0x50,0x4c]))return _0x522bee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd5e75b=_0x3b7f28(),!_0xd5e75b)return _0x522bee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd5e75b[_0x522bee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x252f54=_0x48342b(_0xd5e75b[_0x522bee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd5e75b[_0x522bee([0x6a,0x74,0x69])])),await _0x46523c()?_0x30bd45()?_0x44fc0a()?_0x522bee([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11e7e3()?(_0xd5e75b[_0x522bee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x522bee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59eb0b=_0x2266ee(_0x522bee([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd5e75b[_0x522bee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x522bee([0x74,0x72,0x69,0x61,0x6c])&&(_0x59eb0b=_0x2266ee(_0x522bee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e622b()):_0x522bee([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x522bee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x522bee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x522bee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44fc0a(){const _0x493914=[_0x522bee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x522bee([0x74,0x72,0x69,0x61,0x6c])][_0x522bee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd5e75b[_0x522bee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x497ae7/0x3e8:0xe10*_0x2dc304;return _0xd5e75b[_0x522bee([0x65,0x78,0x70])]<_0x493914;}function _0x30bd45(){const _0x1778b8=_0xd5e75b[_0x522bee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1778b8&&(!!_0x1778b8[_0x522bee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x522bee([0x2a]))||(!!_0x1778b8[_0x522bee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x522bee([0x53,0x43]))||!!_0x1778b8[_0x522bee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x522bee([0x50,0x50]))));}function _0x11e7e3(){const _0x3d2814=_0xd5e75b[_0x522bee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3d2814||0x0==_0x3d2814[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfc6317}=new URL(window[_0x522bee([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3d2814[_0x522bee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfc6317))return!0x0;const _0x5aef79=_0xfc6317[_0x522bee([0x73,0x70,0x6c,0x69,0x74])](_0x522bee([0x2e]));return _0x3d2814[_0x522bee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x533c99=>_0x533c99[_0x522bee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x522bee([0x2a])))[_0x522bee([0x6d,0x61,0x70])](_0x15e0e8=>_0x15e0e8[_0x522bee([0x73,0x70,0x6c,0x69,0x74])](_0x522bee([0x2e])))[_0x522bee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bbb14=>_0x4bbb14[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5aef79[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x522bee([0x6d,0x61,0x70])](_0x3efb25=>Array(_0x5aef79[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3efb25[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x522bee([0x66,0x69,0x6c,0x6c])](_0x3efb25[0x0]===_0x522bee([0x2a])?_0x522bee([0x2a]):'')[_0x522bee([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3efb25))[_0x522bee([0x73,0x6f,0x6d,0x65])](_0x460476=>_0x5aef79[_0x522bee([0x65,0x76,0x65,0x72,0x79])]((_0x49b71f,_0x1c58de)=>_0x460476[_0x1c58de]===_0x49b71f||_0x460476[_0x1c58de]===_0x522bee([0x2a])));}function _0x4e622b(){return _0x59eb0b&&_0x252f54?new window[(_0x522bee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35ebc7,_0x1c5618)=>{_0x59eb0b[_0x522bee([0x74,0x68,0x65,0x6e])](_0x35ebc7,_0x1c5618),_0x252f54[_0x522bee([0x74,0x68,0x65,0x6e])](_0x5b8833=>{_0x5b8833!=_0x522bee([0x56,0x61,0x6c,0x69,0x64])&&_0x35ebc7(_0x5b8833);},_0x1c5618);}):_0x59eb0b||_0x252f54||_0x522bee([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48342b(_0x578215,_0xc4261f){return new window[(_0x522bee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6f8694=>{if(_0x25b0e9())return _0x6f8694(_0x522bee([0x56,0x61,0x6c,0x69,0x64]));_0x3e1a1c(),_0x179354[_0x522bee([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x522bee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f844a=!0x1;const _0x58a88f=_0x2556bc();function _0x3abfb6(_0x2f56b2){return!!_0x2f56b2&&(typeof _0x2f56b2===_0x522bee([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f56b2===_0x522bee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f56b2[_0x522bee([0x74,0x68,0x65,0x6e])]===_0x522bee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f56b2[_0x522bee([0x63,0x61,0x74,0x63,0x68])]===_0x522bee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50d104(_0x10b2d4){_0x9e5e9e(_0x10b2d4)[_0x522bee([0x74,0x68,0x65,0x6e])](_0x3f3a52=>{if(!_0x3f3a52||_0x3f3a52[_0x522bee([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x522bee([0x6f,0x6b]))return _0x522bee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x326edd(_0x35ac84(_0x58a88f+_0xc4261f))!=_0x3f3a52[_0x522bee([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x522bee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x522bee([0x56,0x61,0x6c,0x69,0x64]);})[_0x522bee([0x74,0x68,0x65,0x6e])](_0x433f10=>(_0x361f2e(),_0x433f10),()=>{const _0x26250c=_0x5ab3ba();return null==_0x26250c?(_0x361f2e(),_0x522bee([0x56,0x61,0x6c,0x69,0x64])):_0x522bee(_0x497ae7-_0x26250c>(0x6b311edd^_0x3dc79f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x522bee([0x74,0x68,0x65,0x6e])](_0x6f8694)[_0x522bee([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6f8694(_0x522bee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x391092=0x4f0b745d^_0x3dc79f;function _0x361f2e(){const _0x33062e=_0x522bee([0x6c,0x6c,0x63,0x74,0x2d])+_0x326edd(_0x35ac84(_0x578215)),_0x3172c2=_0x243cfb(_0x326edd(window[_0x522bee([0x4d,0x61,0x74,0x68])][_0x522bee([0x63,0x65,0x69,0x6c])](_0x497ae7/_0x391092)));window[_0x522bee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x522bee([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33062e,_0x3172c2);}function _0x5ab3ba(){const _0x21dab8=_0x522bee([0x6c,0x6c,0x63,0x74,0x2d])+_0x326edd(_0x35ac84(_0x578215)),_0x44d858=window[_0x522bee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x522bee([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21dab8);return _0x44d858?window[_0x522bee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x243cfb(_0x44d858),0x10)*_0x391092:null;}function _0x9e5e9e(_0x282db0){return new window[(_0x522bee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b37d5,_0x29728e)=>{_0x282db0[_0x522bee([0x74,0x68,0x65,0x6e])](_0x3b37d5,_0x29728e),window[_0x522bee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29728e,0x4f3c4e1d^_0x3dc79f);});}}_0x179354[_0x522bee([0x6f,0x6e])](_0x522bee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57a316,_0x5b2f71)=>{if(_0x5b2f71[0x0]!=_0x578215)return _0x6f8694(_0x522bee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b2f71[0x1]={..._0x5b2f71[0x1],[_0x522bee([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58a88f};},{[_0x522bee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x522bee([0x68,0x69,0x67,0x68])}),_0x179354[_0x522bee([0x6f,0x6e])](_0x522bee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e6800=>{_0x3abfb6(_0x2e6800[_0x522bee([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f844a=!0x0,_0x50d104(_0x2e6800[_0x522bee([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x522bee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x522bee([0x6c,0x6f,0x77])}),_0x586682[_0x522bee([0x74,0x68,0x65,0x6e])](()=>{_0x3f844a||_0x6f8694(_0x522bee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25b0e9(){return _0x179354[_0x522bee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x522bee([0x76,0x69,0x65,0x77])][_0x522bee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x522bee([0x61,0x75,0x74,0x6f]);}function _0x3e1a1c(){_0x179354[_0x522bee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x522bee([0x76,0x69,0x65,0x77])][_0x522bee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x522bee([0x61,0x75,0x74,0x6f]);}}function _0x2266ee(_0x1534f6){const _0x1fb106=[new window[(_0x522bee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fa15a=>setTimeout(_0x1fa15a,0x4f34a411^_0x3dc79f)),_0x586682[_0x522bee([0x74,0x68,0x65,0x6e])](()=>new window[(_0x522bee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c6aac=>{let _0xdf3a0f=0x0;_0x179354[_0x522bee([0x6d,0x6f,0x64,0x65,0x6c])][_0x522bee([0x6f,0x6e])](_0x522bee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2cc382,_0x38186f)=>{_0x38186f[0x0][_0x522bee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xdf3a0f++,_0xdf3a0f==(0x4f3d9b25^_0x3dc79f)&&(_0x1c6aac(),_0x2cc382[_0x522bee([0x6f,0x66,0x66])]());});}))];return window[_0x522bee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x522bee([0x72,0x61,0x63,0x65])](_0x1fb106)[_0x522bee([0x74,0x68,0x65,0x6e])](()=>_0x1534f6);}async function _0x3aaf69(){await _0x586682,_0x179354[_0x522bee([0x6d,0x6f,0x64,0x65,0x6c])][_0x522bee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xeb0b5d,_0x179354[_0x522bee([0x6d,0x6f,0x64,0x65,0x6c])][_0x522bee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xeb0b5d,_0x179354[_0x522bee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x522bee([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20215a(_0x206ad2){const _0x23adc0=_0x38b1f1();_0x179354[_0x23adc0]=_0x522bee([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x206ad2,_0x206ad2!=_0x522bee([0x56,0x61,0x6c,0x69,0x64])&&_0x3aaf69();}function _0x38b1f1(){const _0x2973e1=window[_0x522bee([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x522bee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x522bee([0x6e,0x6f,0x77])]())[_0x522bee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x522bee([0x2e]),'');let _0x488f15=_0x522bee([0x78]);for(let _0x527a2a=0x0;_0x527a2a<_0x2973e1[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x527a2a+=0x2){let _0x2d71db=window[_0x522bee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2973e1[_0x522bee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x527a2a,_0x527a2a+0x2));_0x2d71db>=_0x396554[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d71db-=_0x396554[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x488f15+=_0x396554[_0x2d71db];}return _0x488f15;}function _0x3b7f28(){const _0x151c26=_0x186015[_0x522bee([0x73,0x70,0x6c,0x69,0x74])](_0x522bee([0x2e]));if(0x3!=_0x151c26[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x131fef(_0x151c26[0x1]);function _0x131fef(_0x8b6623){const _0x26137e=_0x2d95a1(_0x8b6623);return _0x26137e&&_0x4c9157()?_0x26137e:null;function _0x4c9157(){const _0x32dac1=_0x26137e[_0x522bee([0x6a,0x74,0x69])],_0x4b9372=window[_0x522bee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32dac1[_0x522bee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32dac1[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17039d={..._0x26137e,[_0x522bee([0x6a,0x74,0x69])]:_0x32dac1[_0x522bee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32dac1[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17039d[_0x522bee([0x76,0x63])],_0x35ac84(_0x17039d)==_0x4b9372;}}}async function _0x46523c(){let _0x2de446=!0x0;try{const _0xc3aa42=_0x186015[_0x522bee([0x73,0x70,0x6c,0x69,0x74])](_0x522bee([0x2e])),[_0x190bea,_0x54a737,_0x3b12f2]=_0xc3aa42;return _0x35e83f(_0x190bea),await _0xec4a06(_0x190bea,_0x54a737,_0x3b12f2),_0x2de446;}catch{return!0x1;}function _0x35e83f(_0x458420){const _0x3083dc=_0x2d95a1(_0x458420);_0x3083dc&&_0x3083dc[_0x522bee([0x61,0x6c,0x67])]==_0x522bee([0x45,0x53,0x32,0x35,0x36])||(_0x2de446=!0x1);}async function _0xec4a06(_0x7fda1c,_0x2f2907,_0x25fc6d){const _0x5700e1=window[_0x522bee([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x522bee([0x66,0x72,0x6f,0x6d])](_0x3fa209(_0x25fc6d),_0x1fb058=>_0x1fb058[_0x522bee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e763a=new window[(_0x522bee([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x522bee([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7fda1c+_0x522bee([0x2e])+_0x2f2907),_0xb6efc8=window[_0x522bee([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x522bee([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb6efc8)return;const _0x1b212e=await _0xb6efc8[_0x522bee([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x522bee([0x6a,0x77,0x6b]),_0x5e8d38,{[_0x522bee([0x6e,0x61,0x6d,0x65])]:_0x522bee([0x45,0x43,0x44,0x53,0x41]),[_0x522bee([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x522bee([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x522bee([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb6efc8[_0x522bee([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x522bee([0x6e,0x61,0x6d,0x65])]:_0x522bee([0x45,0x43,0x44,0x53,0x41]),[_0x522bee([0x68,0x61,0x73,0x68])]:{[_0x522bee([0x6e,0x61,0x6d,0x65])]:_0x522bee([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b212e,_0x5700e1,_0x2e763a)||(_0x2de446=!0x1);}}function _0x2d95a1(_0x317464){return _0x317464[_0x522bee([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x522bee([0x65,0x79]))?JSON[_0x522bee([0x70,0x61,0x72,0x73,0x65])](_0x3fa209(_0x317464)):null;}function _0x3fa209(_0xa42c43){return window[_0x522bee([0x61,0x74,0x6f,0x62])](_0xa42c43[_0x522bee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x522bee([0x2b]))[_0x522bee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x522bee([0x2f])));}function _0x35ac84(_0x22442d){let _0x460a2a=0x1505;function _0x54e07b(_0x43968f){for(let _0x215fc1=0x0;_0x215fc1<_0x43968f[_0x522bee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x215fc1++){const _0x4f7dd0=_0x43968f[_0x522bee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x215fc1);_0x460a2a=(_0x460a2a<<0x5)+_0x460a2a+_0x4f7dd0,_0x460a2a&=_0x460a2a;}}function _0x272f31(_0x2c6a87){Array[_0x522bee([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2c6a87)?_0x2c6a87[_0x522bee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x272f31):_0x2c6a87&&typeof _0x2c6a87==_0x522bee([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x522bee([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2c6a87)[_0x522bee([0x73,0x6f,0x72,0x74])]()[_0x522bee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f724f,_0x28b665])=>{_0x54e07b(_0x3f724f),_0x272f31(_0x28b665);}):_0x54e07b(window[_0x522bee([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2c6a87));}return _0x272f31(_0x22442d),_0x460a2a>>>0x0;}function _0x326edd(_0x92a127){return _0x92a127[_0x522bee([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x522bee([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x522bee([0x30]));}function _0x243cfb(_0x1dfb00){return _0x1dfb00[_0x522bee([0x73,0x70,0x6c,0x69,0x74])]('')[_0x522bee([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x522bee([0x6a,0x6f,0x69,0x6e])]('');}function _0xeb0b5d(){}function _0x522bee(_0x5d1f75){return _0x5d1f75['map'](_0x164b95=>String['fromCharCode'](_0x164b95))['join']('');}_0x20215a(await _0x45c93a());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x336603=_0x3a14b7=>function(_0x12f702,_0x4568a3){const t=_0x12f702['t'],_0x5df2cd=_0x12f702['t'];switch(_0x4568a3){case'AI\x20Assistant':return _0x5df2cd('AI\x20Assistant');case'Block\x20quote':return _0x5df2cd('Block\x20quote');case'Bulleted\x20list':return _0x5df2cd('Bulleted\x20list');case'Insert\x20code\x20block':return _0x5df2cd('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x5df2cd('Open\x20file\x20manager');case'Insert\x20image':return _0x5df2cd('Insert\x20image');case'Heading\x201':return _0x5df2cd('Heading\x201');case'Heading\x202':return _0x5df2cd('Heading\x202');case'Heading\x203':return _0x5df2cd('Heading\x203');case'Heading\x204':return _0x5df2cd('Heading\x204');case'Heading\x205':return _0x5df2cd('Heading\x205');case'Heading\x206':return _0x5df2cd('Heading\x206');case'Horizontal\x20line':return _0x5df2cd('Horizontal\x20line');case'Insert\x20HTML':return _0x5df2cd('Insert\x20HTML');case'Increase\x20indent':return _0x5df2cd('Increase\x20indent');case'Insert\x20table':return _0x5df2cd('Insert\x20table');case'Table\x20of\x20contents':return _0x5df2cd('Table\x20of\x20contents');case'Numbered\x20list':return _0x5df2cd('Numbered\x20list');case'Decrease\x20indent':return _0x5df2cd('Decrease\x20indent');case'Paragraph':return _0x5df2cd('Paragraph');case'To-do\x20list':return _0x5df2cd('To-do\x20list');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');default:return _0x4568a3;}}(this['editor']['locale'],_0x3a14b7);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x15d739,'title':_0x336603('AI\x20Assistant'),'description':_0x336603('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x2b4834=>{setTimeout(()=>_0x2b4834['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x19c7f2,'title':_0x336603('Block\x20quote'),'description':_0x336603('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x398230,'title':_0x336603('Bulleted\x20list'),'description':_0x336603('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x464065,'title':_0x336603('Insert\x20code\x20block'),'description':_0x336603('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x3cb855,'title':_0x336603('Open\x20file\x20manager'),'description':_0x336603('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x3cb855,'title':_0x336603('Insert\x20image'),'description':_0x336603('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x20e86b,'title':_0x336603('Emoji'),'description':_0x336603('Insert\x20an\x20emoji'),'execute':_0x486da4=>{setTimeout(()=>_0x486da4['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x597385,'title':_0x336603('Heading\x201'),'description':_0x336603('Create\x20a\x20heading\x20level\x201'),'execute':_0x1bec79=>{_0x1bec79['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x125f40,'title':_0x336603('Heading\x202'),'description':_0x336603('Create\x20a\x20heading\x20level\x202'),'execute':_0xc3264f=>{_0xc3264f['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0xbe15f4,'title':_0x336603('Heading\x203'),'description':_0x336603('Create\x20a\x20heading\x20level\x203'),'execute':_0x4d7c54=>{_0x4d7c54['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x5c0834,'title':_0x336603('Heading\x204'),'description':_0x336603('Create\x20a\x20heading\x20level\x204'),'execute':_0x383437=>{_0x383437['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x55a5ff,'title':_0x336603('Heading\x205'),'description':_0x336603('Create\x20a\x20heading\x20level\x205'),'execute':_0x5d7a37=>{_0x5d7a37['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x261013,'title':_0x336603('Heading\x206'),'description':_0x336603('Create\x20a\x20heading\x20level\x206'),'execute':_0x50fd71=>{_0x50fd71['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x434065,'title':_0x336603('Horizontal\x20line'),'description':_0x336603('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x6ca416,'title':_0x336603('Insert\x20HTML'),'description':_0x336603('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x254cff,'title':_0x336603('Increase\x20indent'),'description':_0x336603('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x336603('Insert\x20Mermaid\x20diagram'),'description':_0x336603('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x1a9013,'title':_0x336603('Insert\x20table'),'description':_0x336603('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0xc235a2,'title':_0x336603('Table\x20of\x20contents'),'description':_0x336603('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x57decc,'title':_0x336603('Numbered\x20list'),'description':_0x336603('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x57402b,'title':_0x336603('Decrease\x20indent'),'description':_0x336603('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x3feb80,'title':_0x336603('Paragraph'),'description':_0x336603('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x2dfd0e,'title':_0x336603('To-do\x20list'),'description':_0x336603('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x3361d8){return _0x3361d8['isEnabled']?_0x3361d8['isEnabled'](this['editor']):!_0x3361d8['commandName']||this['editor']['commands']['get'](_0x3361d8['commandName'])['isEnabled'];}['_proxyExecute'](_0x6f8e7d){if(_0x6f8e7d['execute'])_0x6f8e7d['execute'](this['editor']);else{if(!_0x6f8e7d['commandName'])throw new _0x478bac('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x6f8e7d});this['editor']['execute'](_0x6f8e7d['commandName']);}}}function j(_0xc50b28,_0x2026eb){return _0xc50b28['title']<_0x2026eb['title']?-0x1:_0xc50b28['title']>_0x2026eb['title']?0x1:0x0;}function L(_0x4ead92,_0x2d1a19){return _0x2d1a19+'-'+_0x4ead92['toLowerCase']()['split']('\x20')['join']('-');}class s extends _0x17cd0e{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[P];}['getMatchingCommands'](_0x3f23e7){const _0xc703bd=_0x3f23e7&&_0x3f23e7['toLowerCase']();let _0x4e49ae=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x4e49ae=_0x4e49ae['filter'](_0x459ea9=>_0x459ea9['isEnabled']()),_0xc703bd){const _0x407807=[],_0x52d7e1=[],_0x345227=[],_0x725848=[];for(const _0x443f37 of _0x4e49ae)_0x443f37['id']['toLowerCase']()['includes'](_0xc703bd)?_0x407807['push'](_0x443f37):_0x443f37['title']['toLowerCase']()['includes'](_0xc703bd)?_0x52d7e1['push'](_0x443f37):_0x443f37['aliases']&&_0x443f37['aliases']['some'](_0x407642=>_0x407642['toLowerCase']()['includes'](_0xc703bd))?_0x345227['push'](_0x443f37):_0x443f37['description']&&_0x443f37['description']['toLowerCase']()['includes'](_0xc703bd)&&_0x725848['push'](_0x443f37);_0x4e49ae=_0x407807['concat'](_0x52d7e1,_0x345227,_0x725848);}return _0x4e49ae;}}class K extends _0x4c7dca{constructor(_0x4a53bb,_0x3f6ac9){super(_0x4a53bb),this['textPartView']=this['_createTextPartView'](_0x4a53bb,_0x3f6ac9),void 0x0!==_0x3f6ac9['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x3f6ac9['isIconColorInherited']),this['set']({'icon':_0x3f6ac9['icon']||_0x492fe0,'withText':!0x0,'label':_0x3f6ac9['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x34c340,_0x5b53de){const _0x3db8eb=new _0x11d38b(_0x34c340);return _0x3db8eb['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x5b53de['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x5b53de['description']}]}]:[this['labelView']]}),_0x3db8eb;}}class e extends _0x17cd0e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x28dad8){super(_0x28dad8),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x540961=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f5bd9;for(const _0x2752f2 in _0x540961){const _0x34020d=_0x2752f2,_0x563203=_0x540961[_0x34020d];if('slashCommandLicenseKeyValid'==_0x563203||'slashCommandLicenseKeyInvalid'==_0x563203||'slashCommandLicenseKeyExpired'==_0x563203||'slashCommandLicenseKeyDomainLimit'==_0x563203||'slashCommandLicenseKeyNotAllowed'==_0x563203||'slashCommandLicenseKeyEvaluationLimit'==_0x563203||'slashCommandLicenseKeyTrialLimit'==_0x563203||'slashCommandLicenseKeyUsageLimit'==_0x563203){delete _0x540961[_0x34020d],_0x2f5bd9=_0x563203,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x2f5bd9&&_0x540961['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x2f5bd9&&_0x540961['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x2f5bd9&&_0x540961['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x2f5bd9&&_0x540961['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x2f5bd9&&_0x540961['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyTrialLimit'==_0x2f5bd9&&_0x540961['_showLicenseError']('trialLimit'),'slashCommandLicenseKeyUsageLimit'==_0x2f5bd9&&_0x540961['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x1d3afd=this['editor'],_0x5ab9d6=this['editor']['plugins']['get']('SlashCommandEditing'),_0x40331c=_0x1d3afd['config']['get']('mention.feeds');_0x40331c['push']({'marker':'/','feed':_0x340607=>_0x5ab9d6['getMatchingCommands'](_0x340607),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x1d3afd['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x1d3afd['config']['set']('mention.feeds',_0x40331c);}['_overrideMentionExecuteListener'](){const _0x3fbfd8=this['editor'];_0x3fbfd8['commands']['get']('mention')['on']('execute',(_0x3c9621,_0x48f8d4)=>{const _0x4d00be=_0x48f8d4[0x0],_0x14b6f6=_0x3fbfd8['model'];'/'===_0x4d00be['marker']&&_0x14b6f6['change'](_0x5de247=>{_0x5de247['remove'](_0x4d00be['range']),_0x4d00be['mention']['execute'](),_0x3c9621['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0xee8605){const _0x50c49e=this['editor']['locale'],_0x209bca=new K(_0x50c49e,_0xee8605);return _0x209bca['render'](),_0x209bca['element'];}}class H extends _0x17cd0e{static get['requires'](){return['Mention',s,e];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as SlashCommand,P as SlashCommandConfig,s as SlashCommandEditing,e as SlashCommandUI};
|
|
23
|
+
import{Plugin as _0x19ab03}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x298668,uid as _0xab8aec}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconRobotPencil as _0x2dffbb,IconQuote as _0x5996d9,IconBulletedList as _0x1c5df8,IconCodeBlock as _0x3279a3,IconBrowseFiles as _0x3abee4,IconEmoji as _0x5c9229,IconHeading1 as _0x14b175,IconHeading2 as _0x71d8e9,IconHeading3 as _0x39983a,IconHeading4 as _0x578b47,IconHeading5 as _0x56b6ca,IconHeading6 as _0x55c428,IconHorizontalLine as _0x232e6f,IconHtml as _0x3ceb99,IconIndent as _0x1c33a1,IconTable as _0x576891,IconTableOfContents as _0xd3ead,IconNumberedList as _0x3b52e9,IconOutdent as _0x255053,IconParagraph as _0xdbec11,IconTodoList as _0x286f64,IconPlay as _0xca79b5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x195bd4,View as _0x4f1f65}from'@ckeditor/ckeditor5-ui/dist/index.js';class P extends _0x19ab03{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5d4ba1){super(_0x5d4ba1),this['_allowedCommands']=null;}['afterInit'](){const _0x5ddad4=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x5171e2=function(_0x4487c9){let _0x12ea20=['heading4','heading5','heading6'];if(_0x4487c9){const _0x3acb74=_0x4487c9['map'](_0x485083=>_0x485083['model']);_0x12ea20=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x5a67cc=>!_0x3acb74['includes'](_0x5a67cc));}return _0x12ea20;}(this['editor']['config']['get']('heading.options'));let _0x5afc6c=this['getDefaultCommands']()['filter'](_0x4cf2aa=>!_0x5171e2['includes'](_0x4cf2aa['id']))['filter'](_0xaa8b29=>!_0x5ddad4['includes'](_0xaa8b29['commandName']));const _0x2d5669=this['editor']['config']['get']('slashCommand.extraCommands');_0x2d5669&&_0x2d5669['length']&&(_0x5afc6c=_0x5afc6c['concat'](_0x2d5669));const _0x3b77d1=this['editor']['config']['get']('template.definitions');_0x3b77d1&&_0x3b77d1['length']&&(_0x5afc6c=_0x5afc6c['concat'](function(_0x758f14){return _0x758f14['map'](_0x502721=>{const {title:_0x33df35,icon:_0x379e10,description:_0x13f3fc,data:_0x889292}=_0x502721,_0x12e089={'id':L(_0x33df35,'template'),'commandName':'insertTemplate','execute':_0x3ce5f6=>{_0x3ce5f6['execute']('insertTemplate',_0x889292);},'description':_0x13f3fc,'icon':_0x379e10,'title':_0x33df35};return _0x379e10&&(_0x12e089['isIconColorInherited']=!0x1),_0x12e089;});}(_0x3b77d1)));const _0x112bd3=this['editor']['config']['get']('style.definitions');_0x112bd3&&_0x112bd3['length']&&(_0x5afc6c=_0x5afc6c['concat'](function(_0x3eee87){return _0x3eee87['map'](_0x359f28=>({'id':L(_0x359f28['name'],'style'),'commandName':'style','execute':_0x19d905=>{_0x19d905['execute']('style',{'styleName':_0x359f28['name']});},'isEnabled':_0x28eca2=>{const _0x2f908d=_0x28eca2['commands']['get']('style');return _0x2f908d['isEnabled']&&_0x2f908d['enabledStyles']['includes'](_0x359f28['name']);},'title':_0x359f28['name']}));}(_0x112bd3)));const _0x4c28fc=_0x5afc6c['filter'](_0x562829=>!_0x562829['commandName']||void 0x0!==this['editor']['commands']['get'](_0x562829['commandName'])),_0x291aeb=[];for(const _0x168c71 of _0x4c28fc)_0x291aeb['push']({'id':_0x168c71['id'],'commandName':_0x168c71['commandName'],'title':'function'==typeof _0x168c71['title']?_0x168c71['title'](this['editor']):_0x168c71['title'],'description':_0x168c71['description'],'icon':_0x168c71['icon'],'isIconColorInherited':_0x168c71['isIconColorInherited'],'aliases':_0x168c71['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x168c71),'execute':()=>this['_proxyExecute'](_0x168c71)});this['_allowedCommands']=_0x291aeb['sort'](j),async function(_0x886030){const _0x388b78=_0x13b0da([0x4e,0x55,0x4d,0x36,0x71,0x54,0x4c,0x46,0x32,0x73,0x70,0x31,0x79,0x7a,0x6d,0x72,0x6e,0x67,0x62,0x51,0x59,0x6a,0x69,0x30,0x78,0x52,0x38,0x33,0x43,0x75,0x58,0x56,0x6f,0x50,0x34,0x64,0x6b,0x35,0x49,0x41,0x66,0x63,0x48,0x76,0x44,0x6c,0x57,0x4b,0x74,0x45,0x53,0x65,0x4f,0x42,0x5a,0x61,0x47,0x77,0x4a,0x39,0x37,0x68]),_0x56d8b4=0x31ca21dc,_0x5acbec=0x31cd4efc^_0x56d8b4,_0x56c347=window[_0x13b0da([0x44,0x61,0x74,0x65])][_0x13b0da([0x6e,0x6f,0x77])](),_0x493d78=_0x886030[_0x13b0da([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e80d8=new window[(_0x13b0da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f8111=>{_0x493d78[_0x13b0da([0x6f,0x6e,0x63,0x65])](_0x13b0da([0x72,0x65,0x61,0x64,0x79]),_0x3f8111);}),_0xb1e1e5={[_0x13b0da([0x6b,0x74,0x79])]:_0x13b0da([0x45,0x43]),[_0x13b0da([0x75,0x73,0x65])]:_0x13b0da([0x73,0x69,0x67]),[_0x13b0da([0x63,0x72,0x76])]:_0x13b0da([0x50,0x2d,0x32,0x35,0x36]),[_0x13b0da([0x78])]:_0x13b0da([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x13b0da([0x79])]:_0x13b0da([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x13b0da([0x61,0x6c,0x67])]:_0x13b0da([0x45,0x53,0x32,0x35,0x36])},_0xd52b0a=_0x493d78[_0x13b0da([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13b0da([0x67,0x65,0x74])](_0x13b0da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2da545(){let _0x28ea2e,_0x16443d=null,_0x213227=null;try{if(_0xd52b0a==_0x13b0da([0x47,0x50,0x4c]))return _0x13b0da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28ea2e=_0x1b0dbe(),!_0x28ea2e)return _0x13b0da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28ea2e[_0x13b0da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x213227=_0x41dd4b(_0x28ea2e[_0x13b0da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28ea2e[_0x13b0da([0x6a,0x74,0x69])])),await _0x5dad47()?_0x50e535()?_0x564a9b()?_0x13b0da([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23f932()?(_0x28ea2e[_0x13b0da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13b0da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16443d=_0x1e6ac0(_0x13b0da([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x28ea2e[_0x13b0da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13b0da([0x74,0x72,0x69,0x61,0x6c])&&(_0x16443d=_0x1e6ac0(_0x13b0da([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x412517()):_0x13b0da([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13b0da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13b0da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x13b0da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x564a9b(){const _0x2348fd=[_0x13b0da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13b0da([0x74,0x72,0x69,0x61,0x6c])][_0x13b0da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ea2e[_0x13b0da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56c347/0x3e8:0xe10*_0x5acbec;return _0x28ea2e[_0x13b0da([0x65,0x78,0x70])]<_0x2348fd;}function _0x50e535(){const _0x2815f9=_0x28ea2e[_0x13b0da([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2815f9&&(!!_0x2815f9[_0x13b0da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13b0da([0x2a]))||(!!_0x2815f9[_0x13b0da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13b0da([0x53,0x43]))||!!_0x2815f9[_0x13b0da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13b0da([0x50,0x50]))));}function _0x23f932(){const _0x5c4815=_0x28ea2e[_0x13b0da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c4815||0x0==_0x5c4815[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x156f80}=new URL(window[_0x13b0da([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c4815[_0x13b0da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156f80))return!0x0;const _0x47b97a=_0x156f80[_0x13b0da([0x73,0x70,0x6c,0x69,0x74])](_0x13b0da([0x2e]));return _0x5c4815[_0x13b0da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d48c6=>_0x1d48c6[_0x13b0da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13b0da([0x2a])))[_0x13b0da([0x6d,0x61,0x70])](_0x4e48dd=>_0x4e48dd[_0x13b0da([0x73,0x70,0x6c,0x69,0x74])](_0x13b0da([0x2e])))[_0x13b0da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1eb837=>_0x1eb837[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47b97a[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13b0da([0x6d,0x61,0x70])](_0x5a95f7=>Array(_0x47b97a[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a95f7[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13b0da([0x66,0x69,0x6c,0x6c])](_0x5a95f7[0x0]===_0x13b0da([0x2a])?_0x13b0da([0x2a]):'')[_0x13b0da([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a95f7))[_0x13b0da([0x73,0x6f,0x6d,0x65])](_0x504b82=>_0x47b97a[_0x13b0da([0x65,0x76,0x65,0x72,0x79])]((_0x366512,_0x50f52c)=>_0x504b82[_0x50f52c]===_0x366512||_0x504b82[_0x50f52c]===_0x13b0da([0x2a])));}function _0x412517(){return _0x16443d&&_0x213227?new window[(_0x13b0da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1850ec,_0x36f44f)=>{_0x16443d[_0x13b0da([0x74,0x68,0x65,0x6e])](_0x1850ec,_0x36f44f),_0x213227[_0x13b0da([0x74,0x68,0x65,0x6e])](_0x1ac2cc=>{_0x1ac2cc!=_0x13b0da([0x56,0x61,0x6c,0x69,0x64])&&_0x1850ec(_0x1ac2cc);},_0x36f44f);}):_0x16443d||_0x213227||_0x13b0da([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41dd4b(_0x269acf,_0x54965f){return new window[(_0x13b0da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x375d1f=>{if(_0x57f644())return _0x375d1f(_0x13b0da([0x56,0x61,0x6c,0x69,0x64]));_0x50c014(),_0x493d78[_0x13b0da([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13b0da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5f45c5=!0x1;const _0x88c58f=_0xab8aec();function _0x3a443b(_0x27bc89){return!!_0x27bc89&&(typeof _0x27bc89===_0x13b0da([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27bc89===_0x13b0da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27bc89[_0x13b0da([0x74,0x68,0x65,0x6e])]===_0x13b0da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27bc89[_0x13b0da([0x63,0x61,0x74,0x63,0x68])]===_0x13b0da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7ff0e7(_0x5de1d1){_0x284884(_0x5de1d1)[_0x13b0da([0x74,0x68,0x65,0x6e])](_0x210057=>{if(!_0x210057||_0x210057[_0x13b0da([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13b0da([0x6f,0x6b]))return _0x13b0da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x295280(_0x560732(_0x88c58f+_0x54965f))!=_0x210057[_0x13b0da([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13b0da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13b0da([0x56,0x61,0x6c,0x69,0x64]);})[_0x13b0da([0x74,0x68,0x65,0x6e])](_0x45cf17=>(_0x406df5(),_0x45cf17),()=>{const _0x23f15f=_0x71f9d8();return null==_0x23f15f?(_0x406df5(),_0x13b0da([0x56,0x61,0x6c,0x69,0x64])):_0x13b0da(_0x56c347-_0x23f15f>(0x15c6a5dc^_0x56d8b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13b0da([0x74,0x68,0x65,0x6e])](_0x375d1f)[_0x13b0da([0x63,0x61,0x74,0x63,0x68])](()=>{_0x375d1f(_0x13b0da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3beb7b=0x31fccf5c^_0x56d8b4;function _0x406df5(){const _0x2623d9=_0x13b0da([0x6c,0x6c,0x63,0x74,0x2d])+_0x295280(_0x560732(_0x269acf)),_0x3359dc=_0x1d285d(_0x295280(window[_0x13b0da([0x4d,0x61,0x74,0x68])][_0x13b0da([0x63,0x65,0x69,0x6c])](_0x56c347/_0x3beb7b)));window[_0x13b0da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13b0da([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2623d9,_0x3359dc);}function _0x71f9d8(){const _0x34f77b=_0x13b0da([0x6c,0x6c,0x63,0x74,0x2d])+_0x295280(_0x560732(_0x269acf)),_0x21ba59=window[_0x13b0da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13b0da([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34f77b);return _0x21ba59?window[_0x13b0da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d285d(_0x21ba59),0x10)*_0x3beb7b:null;}function _0x284884(_0x569ed0){return new window[(_0x13b0da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ca09e,_0x7cc829)=>{_0x569ed0[_0x13b0da([0x74,0x68,0x65,0x6e])](_0x3ca09e,_0x7cc829),window[_0x13b0da([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7cc829,0x31cbf51c^_0x56d8b4);});}}_0x493d78[_0x13b0da([0x6f,0x6e])](_0x13b0da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d9777,_0x172e67)=>{if(_0x172e67[0x0]!=_0x269acf)return _0x375d1f(_0x13b0da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x172e67[0x1]={..._0x172e67[0x1],[_0x13b0da([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x88c58f};},{[_0x13b0da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13b0da([0x68,0x69,0x67,0x68])}),_0x493d78[_0x13b0da([0x6f,0x6e])](_0x13b0da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x20bdc4=>{_0x3a443b(_0x20bdc4[_0x13b0da([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5f45c5=!0x0,_0x7ff0e7(_0x20bdc4[_0x13b0da([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13b0da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13b0da([0x6c,0x6f,0x77])}),_0x5e80d8[_0x13b0da([0x74,0x68,0x65,0x6e])](()=>{_0x5f45c5||_0x375d1f(_0x13b0da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57f644(){return _0x493d78[_0x13b0da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13b0da([0x76,0x69,0x65,0x77])][_0x13b0da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13b0da([0x61,0x75,0x74,0x6f]);}function _0x50c014(){_0x493d78[_0x13b0da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13b0da([0x76,0x69,0x65,0x77])][_0x13b0da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13b0da([0x61,0x75,0x74,0x6f]);}}function _0x1e6ac0(_0x3373bb){const _0x1bef6a=[new window[(_0x13b0da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x143457=>setTimeout(_0x143457,0x31c31f10^_0x56d8b4)),_0x5e80d8[_0x13b0da([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13b0da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a60d3=>{let _0x255592=0x0;_0x493d78[_0x13b0da([0x6d,0x6f,0x64,0x65,0x6c])][_0x13b0da([0x6f,0x6e])](_0x13b0da([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ebae3,_0x2a27ff)=>{_0x2a27ff[0x0][_0x13b0da([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x255592++,_0x255592==(0x31ca2024^_0x56d8b4)&&(_0x4a60d3(),_0x5ebae3[_0x13b0da([0x6f,0x66,0x66])]());});}))];return window[_0x13b0da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13b0da([0x72,0x61,0x63,0x65])](_0x1bef6a)[_0x13b0da([0x74,0x68,0x65,0x6e])](()=>_0x3373bb);}async function _0x3932d8(){await _0x5e80d8,_0x493d78[_0x13b0da([0x6d,0x6f,0x64,0x65,0x6c])][_0x13b0da([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x298c3b,_0x493d78[_0x13b0da([0x6d,0x6f,0x64,0x65,0x6c])][_0x13b0da([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x298c3b,_0x493d78[_0x13b0da([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13b0da([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d5d68(_0x6e9460){const _0x12a573=_0x43ca37();_0x493d78[_0x12a573]=_0x13b0da([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x6e9460,_0x6e9460!=_0x13b0da([0x56,0x61,0x6c,0x69,0x64])&&_0x3932d8();}function _0x43ca37(){const _0x2b5cc3=window[_0x13b0da([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13b0da([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13b0da([0x6e,0x6f,0x77])]())[_0x13b0da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13b0da([0x2e]),'');let _0x315241=_0x13b0da([0x4e]);for(let _0x184893=0x0;_0x184893<_0x2b5cc3[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x184893+=0x2){let _0x5a357e=window[_0x13b0da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b5cc3[_0x13b0da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x184893,_0x184893+0x2));_0x5a357e>=_0x388b78[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a357e-=_0x388b78[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x315241+=_0x388b78[_0x5a357e];}return _0x315241;}function _0x1b0dbe(){const _0x30dd0c=_0xd52b0a[_0x13b0da([0x73,0x70,0x6c,0x69,0x74])](_0x13b0da([0x2e]));if(0x3!=_0x30dd0c[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5778e3(_0x30dd0c[0x1]);function _0x5778e3(_0xa32404){const _0x26ba43=_0x244bad(_0xa32404);return _0x26ba43&&_0x1ce828()?_0x26ba43:null;function _0x1ce828(){const _0x3a03c8=_0x26ba43[_0x13b0da([0x6a,0x74,0x69])],_0x39c7c4=window[_0x13b0da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a03c8[_0x13b0da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a03c8[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfd3f0b={..._0x26ba43,[_0x13b0da([0x6a,0x74,0x69])]:_0x3a03c8[_0x13b0da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a03c8[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfd3f0b[_0x13b0da([0x76,0x63])],_0x560732(_0xfd3f0b)==_0x39c7c4;}}}async function _0x5dad47(){let _0x51be2b=!0x0;try{const _0x3d8026=_0xd52b0a[_0x13b0da([0x73,0x70,0x6c,0x69,0x74])](_0x13b0da([0x2e])),[_0x2e7893,_0x16ad82,_0x41ccdf]=_0x3d8026;return _0x2e1e5d(_0x2e7893),await _0x5afddb(_0x2e7893,_0x16ad82,_0x41ccdf),_0x51be2b;}catch{return!0x1;}function _0x2e1e5d(_0x1e2766){const _0x5280af=_0x244bad(_0x1e2766);_0x5280af&&_0x5280af[_0x13b0da([0x61,0x6c,0x67])]==_0x13b0da([0x45,0x53,0x32,0x35,0x36])||(_0x51be2b=!0x1);}async function _0x5afddb(_0x16119c,_0x332d63,_0x2b3752){const _0x324b4d=window[_0x13b0da([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13b0da([0x66,0x72,0x6f,0x6d])](_0x529a6d(_0x2b3752),_0x35e9b6=>_0x35e9b6[_0x13b0da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f423b=new window[(_0x13b0da([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13b0da([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16119c+_0x13b0da([0x2e])+_0x332d63),_0x449c46=window[_0x13b0da([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13b0da([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x449c46)return;const _0x57e141=await _0x449c46[_0x13b0da([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13b0da([0x6a,0x77,0x6b]),_0xb1e1e5,{[_0x13b0da([0x6e,0x61,0x6d,0x65])]:_0x13b0da([0x45,0x43,0x44,0x53,0x41]),[_0x13b0da([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13b0da([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13b0da([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x449c46[_0x13b0da([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13b0da([0x6e,0x61,0x6d,0x65])]:_0x13b0da([0x45,0x43,0x44,0x53,0x41]),[_0x13b0da([0x68,0x61,0x73,0x68])]:{[_0x13b0da([0x6e,0x61,0x6d,0x65])]:_0x13b0da([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57e141,_0x324b4d,_0x1f423b)||(_0x51be2b=!0x1);}}function _0x244bad(_0x14d89f){return _0x14d89f[_0x13b0da([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13b0da([0x65,0x79]))?JSON[_0x13b0da([0x70,0x61,0x72,0x73,0x65])](_0x529a6d(_0x14d89f)):null;}function _0x529a6d(_0x52d0fb){return window[_0x13b0da([0x61,0x74,0x6f,0x62])](_0x52d0fb[_0x13b0da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13b0da([0x2b]))[_0x13b0da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13b0da([0x2f])));}function _0x560732(_0x58b3e2){let _0x23b4c9=0x1505;function _0x592261(_0x571d5b){for(let _0x3db574=0x0;_0x3db574<_0x571d5b[_0x13b0da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3db574++){const _0x15a9d0=_0x571d5b[_0x13b0da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3db574);_0x23b4c9=(_0x23b4c9<<0x5)+_0x23b4c9+_0x15a9d0,_0x23b4c9&=_0x23b4c9;}}function _0x591b4a(_0x19e64d){Array[_0x13b0da([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19e64d)?_0x19e64d[_0x13b0da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x591b4a):_0x19e64d&&typeof _0x19e64d==_0x13b0da([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13b0da([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19e64d)[_0x13b0da([0x73,0x6f,0x72,0x74])]()[_0x13b0da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd0568a,_0x99e89a])=>{_0x592261(_0xd0568a),_0x591b4a(_0x99e89a);}):_0x592261(window[_0x13b0da([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19e64d));}return _0x591b4a(_0x58b3e2),_0x23b4c9>>>0x0;}function _0x295280(_0x3f7f1d){return _0x3f7f1d[_0x13b0da([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13b0da([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13b0da([0x30]));}function _0x1d285d(_0x4bb510){return _0x4bb510[_0x13b0da([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13b0da([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13b0da([0x6a,0x6f,0x69,0x6e])]('');}function _0x298c3b(){}function _0x13b0da(_0x3176e5){return _0x3176e5['map'](_0x3808bb=>String['fromCharCode'](_0x3808bb))['join']('');}_0x1d5d68(await _0x2da545());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x2dc442=_0x3896ea=>function(_0x13f5d8,_0xea4f07){const t=_0x13f5d8['t'],_0xa19740=_0x13f5d8['t'];switch(_0xea4f07){case'AI\x20Assistant':return _0xa19740('AI\x20Assistant');case'Block\x20quote':return _0xa19740('Block\x20quote');case'Bulleted\x20list':return _0xa19740('Bulleted\x20list');case'Insert\x20code\x20block':return _0xa19740('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0xa19740('Open\x20file\x20manager');case'Insert\x20image':return _0xa19740('Insert\x20image');case'Heading\x201':return _0xa19740('Heading\x201');case'Heading\x202':return _0xa19740('Heading\x202');case'Heading\x203':return _0xa19740('Heading\x203');case'Heading\x204':return _0xa19740('Heading\x204');case'Heading\x205':return _0xa19740('Heading\x205');case'Heading\x206':return _0xa19740('Heading\x206');case'Horizontal\x20line':return _0xa19740('Horizontal\x20line');case'Insert\x20HTML':return _0xa19740('Insert\x20HTML');case'Increase\x20indent':return _0xa19740('Increase\x20indent');case'Insert\x20table':return _0xa19740('Insert\x20table');case'Table\x20of\x20contents':return _0xa19740('Table\x20of\x20contents');case'Numbered\x20list':return _0xa19740('Numbered\x20list');case'Decrease\x20indent':return _0xa19740('Decrease\x20indent');case'Paragraph':return _0xa19740('Paragraph');case'To-do\x20list':return _0xa19740('To-do\x20list');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');default:return _0xea4f07;}}(this['editor']['locale'],_0x3896ea);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x2dffbb,'title':_0x2dc442('AI\x20Assistant'),'description':_0x2dc442('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x5b4598=>{setTimeout(()=>_0x5b4598['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x5996d9,'title':_0x2dc442('Block\x20quote'),'description':_0x2dc442('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x1c5df8,'title':_0x2dc442('Bulleted\x20list'),'description':_0x2dc442('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x3279a3,'title':_0x2dc442('Insert\x20code\x20block'),'description':_0x2dc442('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x3abee4,'title':_0x2dc442('Open\x20file\x20manager'),'description':_0x2dc442('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x3abee4,'title':_0x2dc442('Insert\x20image'),'description':_0x2dc442('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x5c9229,'title':_0x2dc442('Emoji'),'description':_0x2dc442('Insert\x20an\x20emoji'),'execute':_0x3d6173=>{setTimeout(()=>_0x3d6173['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x14b175,'title':_0x2dc442('Heading\x201'),'description':_0x2dc442('Create\x20a\x20heading\x20level\x201'),'execute':_0x134d53=>{_0x134d53['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x71d8e9,'title':_0x2dc442('Heading\x202'),'description':_0x2dc442('Create\x20a\x20heading\x20level\x202'),'execute':_0x36ec71=>{_0x36ec71['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x39983a,'title':_0x2dc442('Heading\x203'),'description':_0x2dc442('Create\x20a\x20heading\x20level\x203'),'execute':_0x2bb1b7=>{_0x2bb1b7['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x578b47,'title':_0x2dc442('Heading\x204'),'description':_0x2dc442('Create\x20a\x20heading\x20level\x204'),'execute':_0x1fa752=>{_0x1fa752['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x56b6ca,'title':_0x2dc442('Heading\x205'),'description':_0x2dc442('Create\x20a\x20heading\x20level\x205'),'execute':_0x1916a1=>{_0x1916a1['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x55c428,'title':_0x2dc442('Heading\x206'),'description':_0x2dc442('Create\x20a\x20heading\x20level\x206'),'execute':_0x477519=>{_0x477519['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x232e6f,'title':_0x2dc442('Horizontal\x20line'),'description':_0x2dc442('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x3ceb99,'title':_0x2dc442('Insert\x20HTML'),'description':_0x2dc442('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x1c33a1,'title':_0x2dc442('Increase\x20indent'),'description':_0x2dc442('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x2dc442('Insert\x20Mermaid\x20diagram'),'description':_0x2dc442('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x576891,'title':_0x2dc442('Insert\x20table'),'description':_0x2dc442('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0xd3ead,'title':_0x2dc442('Table\x20of\x20contents'),'description':_0x2dc442('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x3b52e9,'title':_0x2dc442('Numbered\x20list'),'description':_0x2dc442('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x255053,'title':_0x2dc442('Decrease\x20indent'),'description':_0x2dc442('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0xdbec11,'title':_0x2dc442('Paragraph'),'description':_0x2dc442('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x286f64,'title':_0x2dc442('To-do\x20list'),'description':_0x2dc442('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x19ffe2){return _0x19ffe2['isEnabled']?_0x19ffe2['isEnabled'](this['editor']):!_0x19ffe2['commandName']||this['editor']['commands']['get'](_0x19ffe2['commandName'])['isEnabled'];}['_proxyExecute'](_0x1a311d){if(_0x1a311d['execute'])_0x1a311d['execute'](this['editor']);else{if(!_0x1a311d['commandName'])throw new _0x298668('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x1a311d});this['editor']['execute'](_0x1a311d['commandName']);}}}function j(_0x3e56f2,_0xcaef43){return _0x3e56f2['title']<_0xcaef43['title']?-0x1:_0x3e56f2['title']>_0xcaef43['title']?0x1:0x0;}function L(_0x544a4e,_0x1160db){return _0x1160db+'-'+_0x544a4e['toLowerCase']()['split']('\x20')['join']('-');}class s extends _0x19ab03{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[P];}['getMatchingCommands'](_0x85eaef){const _0x98e134=_0x85eaef&&_0x85eaef['toLowerCase']();let _0x1abfc1=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x1abfc1=_0x1abfc1['filter'](_0xea8f9e=>_0xea8f9e['isEnabled']()),_0x98e134){const _0x545ad7=[],_0xf58e90=[],_0x35633a=[],_0x23ae77=[];for(const _0x1e35c3 of _0x1abfc1)_0x1e35c3['id']['toLowerCase']()['includes'](_0x98e134)?_0x545ad7['push'](_0x1e35c3):_0x1e35c3['title']['toLowerCase']()['includes'](_0x98e134)?_0xf58e90['push'](_0x1e35c3):_0x1e35c3['aliases']&&_0x1e35c3['aliases']['some'](_0x443739=>_0x443739['toLowerCase']()['includes'](_0x98e134))?_0x35633a['push'](_0x1e35c3):_0x1e35c3['description']&&_0x1e35c3['description']['toLowerCase']()['includes'](_0x98e134)&&_0x23ae77['push'](_0x1e35c3);_0x1abfc1=_0x545ad7['concat'](_0xf58e90,_0x35633a,_0x23ae77);}return _0x1abfc1;}}class K extends _0x195bd4{constructor(_0x6f28d7,_0xc10f11){super(_0x6f28d7),this['textPartView']=this['_createTextPartView'](_0x6f28d7,_0xc10f11),void 0x0!==_0xc10f11['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0xc10f11['isIconColorInherited']),this['set']({'icon':_0xc10f11['icon']||_0xca79b5,'withText':!0x0,'label':_0xc10f11['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x41c6b2,_0x1384fc){const _0x1d388b=new _0x4f1f65(_0x41c6b2);return _0x1d388b['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x1384fc['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x1384fc['description']}]}]:[this['labelView']]}),_0x1d388b;}}class e extends _0x19ab03{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x353e4a){super(_0x353e4a),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x532ee6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b00f7;for(const _0x3ffee9 in _0x532ee6){const _0xcdcc49=_0x3ffee9,_0x37b02f=_0x532ee6[_0xcdcc49];if('slashCommandLicenseKeyValid'==_0x37b02f||'slashCommandLicenseKeyInvalid'==_0x37b02f||'slashCommandLicenseKeyExpired'==_0x37b02f||'slashCommandLicenseKeyDomainLimit'==_0x37b02f||'slashCommandLicenseKeyNotAllowed'==_0x37b02f||'slashCommandLicenseKeyEvaluationLimit'==_0x37b02f||'slashCommandLicenseKeyTrialLimit'==_0x37b02f||'slashCommandLicenseKeyUsageLimit'==_0x37b02f){delete _0x532ee6[_0xcdcc49],_0x5b00f7=_0x37b02f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x5b00f7&&_0x532ee6['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x5b00f7&&_0x532ee6['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x5b00f7&&_0x532ee6['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x5b00f7&&_0x532ee6['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x5b00f7&&_0x532ee6['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyTrialLimit'==_0x5b00f7&&_0x532ee6['_showLicenseError']('trialLimit'),'slashCommandLicenseKeyUsageLimit'==_0x5b00f7&&_0x532ee6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x337dec=this['editor'],_0x3c1320=this['editor']['plugins']['get']('SlashCommandEditing'),_0xdb2691=_0x337dec['config']['get']('mention.feeds');_0xdb2691['push']({'marker':'/','feed':_0x56bd1e=>_0x3c1320['getMatchingCommands'](_0x56bd1e),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x337dec['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x337dec['config']['set']('mention.feeds',_0xdb2691);}['_overrideMentionExecuteListener'](){const _0x23971e=this['editor'];_0x23971e['commands']['get']('mention')['on']('execute',(_0x27e3ef,_0x324a5f)=>{const _0xaa3370=_0x324a5f[0x0],_0x69fb11=_0x23971e['model'];'/'===_0xaa3370['marker']&&_0x69fb11['change'](_0xc1a75a=>{_0xc1a75a['remove'](_0xaa3370['range']),_0xaa3370['mention']['execute'](),_0x27e3ef['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x5339d6){const _0x20b869=this['editor']['locale'],_0x2bc4b4=new K(_0x20b869,_0x5339d6);return _0x2bc4b4['render'](),_0x2bc4b4['element'];}}class H extends _0x19ab03{static get['requires'](){return['Mention',s,e];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as SlashCommand,P as SlashCommandConfig,s as SlashCommandEditing,e as SlashCommandUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-slash-command",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.1",
|
|
4
4
|
"description": "Slash command feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-heading": "46.0.1-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-mention": "46.0.1-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-style": "46.0.1-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-template": "46.0.1-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
23
|
-
"ckeditor5": "46.0.1-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.1",
|
|
16
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-heading": "46.0.1-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-mention": "46.0.1-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-style": "46.0.1-alpha.1",
|
|
20
|
+
"@ckeditor/ckeditor5-template": "46.0.1-alpha.1",
|
|
21
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.1",
|
|
22
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.1",
|
|
23
|
+
"ckeditor5": "46.0.1-alpha.1"
|
|
24
24
|
},
|
|
25
25
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
26
26
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x23f306=_0x59a9;(function(_0x447fe4,_0x42a072){const _0x236880=_0x59a9,_0x4bef8e=_0x447fe4();while(!![]){try{const _0x1c24dd=-parseInt(_0x236880(0x261))/0x1+-parseInt(_0x236880(0x217))/0x2+parseInt(_0x236880(0x252))/0x3+-parseInt(_0x236880(0x22d))/0x4*(parseInt(_0x236880(0x24f))/0x5)+-parseInt(_0x236880(0x218))/0x6*(-parseInt(_0x236880(0x258))/0x7)+parseInt(_0x236880(0x245))/0x8+-parseInt(_0x236880(0x22a))/0x9*(-parseInt(_0x236880(0x220))/0xa);if(_0x1c24dd===_0x42a072)break;else _0x4bef8e['push'](_0x4bef8e['shift']());}catch(_0x42b3cd){_0x4bef8e['push'](_0x4bef8e['shift']());}}}(_0x2117,0x1c33d));import{Plugin as _0x4c40e6}from'ckeditor5/src/core.js';import{CKEditorError as _0x464401,uid as _0xe1f7a5}from'ckeditor5/src/utils.js';function _0x2117(){const _0x4ca8d3=['Heading\x205','heading3','Create\x20a\x20code\x20block','Create\x20a\x20block\x20quote','getDefaultCommands','Create\x20a\x20heading\x20level\x204','Create\x20a\x20to-do\x20list','getAllowedCommands','Paragraph','insertTable','Open\x20file\x20manager','codeBlock','Insert\x20a\x20paragraph','_allowedCommands','_proxyIsEnabled','isIconColorInherited','insertTemplate','editor','602960aCqFjw','template','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file','filemanager','Create\x20a\x20bulleted\x20list','commands','insertTableOfContents','afterInit','filter','upload','45SUroRE','pluginName','Emoji','67332wzlRkD','ckfinder','blockQuote','icon','htmlEmbed','Insert\x20a\x20horizontal\x20line','7DFuubL','Increase\x20the\x20indentation','execute','Heading\x201','heading.options','slashCommand.removeCommands','Create\x20a\x20heading\x20level\x202','get','Heading\x204','16257lGImeq','Create\x20a\x20heading\x20level\x206','Insert\x20table\x20of\x20contents','Table\x20of\x20contents','toLowerCase','heading4','style.definitions','Numbered\x20list','Create\x20a\x20table','href','bulletedList','template.definitions','Insert\x20code\x20block','concat','heading','slashCommand.extraCommands','commandName','function','Bulleted\x20list','Block\x20quote','heading5','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file','join','description','Increase\x20indent','Insert\x20HTML','sort','isOfficialPlugin','numberedList','todoList','ckbox','Horizontal\x20line','Insert\x20the\x20Mermaid\x20diagram','horizontalLine','fromCharCode','Insert\x20Mermaid\x20diagram','slash-command-execute-missing','Insert\x20an\x20emoji','includes','Decrease\x20indent','isEnabled','indent','AI\x20Assistant','title','config','Decrease\x20the\x20indentation','push','Heading\x206','Create\x20a\x20heading\x20level\x203','insertMermaidCommand','enabledStyles','outdent','aiAssistant','locale','Heading\x202','_proxyExecute','showAIAssistant','To-do\x20list','421700qvryIT','103692IQzdzU','isPremiumPlugin','Insert\x20an\x20HTML\x20snippet','emoji','Heading\x203','heading2','style','Insert\x20image','2810YzukBo','map','name','heading6','Create\x20a\x20heading\x20level\x201','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content','Create\x20a\x20heading\x20level\x205','heading1','Create\x20a\x20numbered\x20list','model','11943hdOmUj','length','split','64604FeMEGp','aliases','SlashCommandConfig','toc','Insert\x20table','paragraph'];_0x2117=function(){return _0x4ca8d3;};return _0x2117();}import{IconBrowseFiles as _0x277bf7,IconBulletedList as _0x2a05dd,IconEmoji as _0x2e08a0,IconCodeBlock as _0x5de296,IconHeading1 as _0x5d71cf,IconHeading2 as _0x39ff76,IconHeading3 as _0x1e81a1,IconHeading4 as _0x24a995,IconHeading5 as _0x5a181d,IconHeading6 as _0x200af6,IconHorizontalLine as _0x35a475,IconHtml as _0x1e046a,IconIndent as _0x22cba6,IconNumberedList as _0x507205,IconOutdent as _0x49d542,IconParagraph as _0x5d5784,IconQuote as _0x3c170e,IconRobotPencil as _0x3e9b6d,IconTable as _0x21bf4c,IconTableOfContents as _0x4bd6b2,IconTodoList as _0x2e8e62}from'ckeditor5/src/icons.js';import{getTranslation as _0xbc757e}from'./utils/common-translations.js';import'./slashcommandeditorconfig.js';export class SlashCommandConfig extends _0x4c40e6{static get[_0x23f306(0x250)](){const _0x393001=_0x23f306;return _0x393001(0x22f);}static get[_0x23f306(0x1f8)](){return!0x0;}static get[_0x23f306(0x219)](){return!0x0;}constructor(_0xc227b3){const _0x20272=_0x23f306;super(_0xc227b3),this[_0x20272(0x240)]=null;}[_0x23f306(0x24c)](){const _0x2e96eb=_0x23f306,_0x1b6298=this[_0x2e96eb(0x244)][_0x2e96eb(0x209)][_0x2e96eb(0x25f)](_0x2e96eb(0x25d))||[],_0x567a46=function(_0xdff3c7){const _0x33073d=_0x2e96eb;let _0x24ea0a=[_0x33073d(0x266),_0x33073d(0x1f1),_0x33073d(0x223)];if(_0xdff3c7){const _0x13967a=_0xdff3c7[_0x33073d(0x221)](_0x513f3d=>_0x513f3d[_0x33073d(0x229)]);_0x24ea0a=[_0x33073d(0x227),_0x33073d(0x21d),_0x33073d(0x234),_0x33073d(0x266),_0x33073d(0x1f1),_0x33073d(0x223)][_0x33073d(0x24d)](_0x20dee3=>!_0x13967a[_0x33073d(0x203)](_0x20dee3));}return _0x24ea0a;}(this[_0x2e96eb(0x244)][_0x2e96eb(0x209)][_0x2e96eb(0x25f)](_0x2e96eb(0x25c)));let _0x1ad7bd=this[_0x2e96eb(0x237)]()[_0x2e96eb(0x24d)](_0x52300d=>!_0x567a46[_0x2e96eb(0x203)](_0x52300d['id']))[_0x2e96eb(0x24d)](_0x2df1c9=>!_0x1b6298[_0x2e96eb(0x203)](_0x2df1c9[_0x2e96eb(0x1ed)]));const _0x643f63=this[_0x2e96eb(0x244)][_0x2e96eb(0x209)][_0x2e96eb(0x25f)](_0x2e96eb(0x1ec));_0x643f63&&_0x643f63[_0x2e96eb(0x22b)]&&(_0x1ad7bd=_0x1ad7bd[_0x2e96eb(0x1ea)](_0x643f63));const _0x52f29d=this[_0x2e96eb(0x244)][_0x2e96eb(0x209)][_0x2e96eb(0x25f)](_0x2e96eb(0x26c));_0x52f29d&&_0x52f29d[_0x2e96eb(0x22b)]&&(_0x1ad7bd=_0x1ad7bd[_0x2e96eb(0x1ea)](function(_0x21c6ec){const _0x111297=_0x2e96eb;return _0x21c6ec[_0x111297(0x221)](_0x33917b=>{const _0x3f54ed=_0x111297,{title:_0x522032,icon:_0x179396,description:_0x564648,data:_0x392c01}=_0x33917b,_0x360932={'id':L(_0x522032,_0x3f54ed(0x246)),'commandName':_0x3f54ed(0x243),'execute':_0x395484=>{const _0x1acd58=_0x3f54ed;_0x395484[_0x1acd58(0x25a)](_0x1acd58(0x243),_0x392c01);},'description':_0x564648,'icon':_0x179396,'title':_0x522032};return _0x179396&&(_0x360932[_0x3f54ed(0x242)]=!0x1),_0x360932;});}(_0x52f29d)));const _0x2ee22b=this[_0x2e96eb(0x244)][_0x2e96eb(0x209)][_0x2e96eb(0x25f)](_0x2e96eb(0x267));_0x2ee22b&&_0x2ee22b[_0x2e96eb(0x22b)]&&(_0x1ad7bd=_0x1ad7bd[_0x2e96eb(0x1ea)](function(_0x2cf3a1){const _0x43940d=_0x2e96eb;return _0x2cf3a1[_0x43940d(0x221)](_0x4c96fd=>({'id':L(_0x4c96fd[_0x43940d(0x222)],_0x43940d(0x21e)),'commandName':_0x43940d(0x21e),'execute':_0x2cbe2e=>{const _0xf42210=_0x43940d;_0x2cbe2e[_0xf42210(0x25a)](_0xf42210(0x21e),{'styleName':_0x4c96fd[_0xf42210(0x222)]});},'isEnabled':_0x101d7c=>{const _0x25bcfe=_0x43940d,_0x472830=_0x101d7c[_0x25bcfe(0x24a)][_0x25bcfe(0x25f)](_0x25bcfe(0x21e));return _0x472830[_0x25bcfe(0x205)]&&_0x472830[_0x25bcfe(0x20f)][_0x25bcfe(0x203)](_0x4c96fd[_0x25bcfe(0x222)]);},'title':_0x4c96fd[_0x43940d(0x222)]}));}(_0x2ee22b)));const _0x53b06c=_0x1ad7bd[_0x2e96eb(0x24d)](_0x3a0361=>!_0x3a0361[_0x2e96eb(0x1ed)]||void 0x0!==this[_0x2e96eb(0x244)][_0x2e96eb(0x24a)][_0x2e96eb(0x25f)](_0x3a0361[_0x2e96eb(0x1ed)])),_0x5ac78d=[];for(const _0x4090b7 of _0x53b06c)_0x5ac78d[_0x2e96eb(0x20b)]({'id':_0x4090b7['id'],'commandName':_0x4090b7[_0x2e96eb(0x1ed)],'title':_0x2e96eb(0x1ee)==typeof _0x4090b7[_0x2e96eb(0x208)]?_0x4090b7[_0x2e96eb(0x208)](this[_0x2e96eb(0x244)]):_0x4090b7[_0x2e96eb(0x208)],'description':_0x4090b7[_0x2e96eb(0x1f4)],'icon':_0x4090b7[_0x2e96eb(0x255)],'isIconColorInherited':_0x4090b7[_0x2e96eb(0x242)],'aliases':_0x4090b7[_0x2e96eb(0x22e)],'isEnabled':()=>this[_0x2e96eb(0x241)](_0x4090b7),'execute':()=>this[_0x2e96eb(0x214)](_0x4090b7)});this[_0x2e96eb(0x240)]=_0x5ac78d[_0x2e96eb(0x1f7)](j),async function(_0x5748cf){const _0x4e37fa=_0x50e620([0x78,0x65,0x33,0x47,0x6c,0x7a,0x45,0x6f,0x6d,0x6b,0x34,0x51,0x79,0x41,0x37,0x58,0x57,0x43,0x53,0x6a,0x68,0x59,0x50,0x52,0x4f,0x56,0x76,0x38,0x73,0x49,0x32,0x46,0x5a,0x75,0x63,0x31,0x70,0x74,0x4c,0x44,0x64,0x48,0x36,0x39,0x55,0x6e,0x62,0x61,0x30,0x4d,0x67,0x66,0x4a,0x71,0x35,0x42,0x77,0x69,0x4b,0x54,0x4e,0x72]),_0x5306e1=0x4f3d9add,_0x2a252b=0x4f3af5d5^_0x5306e1,_0xf45d7d=window[_0x50e620([0x44,0x61,0x74,0x65])][_0x50e620([0x6e,0x6f,0x77])](),_0x3aa079=_0x5748cf[_0x50e620([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59e245=new window[(_0x50e620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd9a2c9=>{_0x3aa079[_0x50e620([0x6f,0x6e,0x63,0x65])](_0x50e620([0x72,0x65,0x61,0x64,0x79]),_0xd9a2c9);}),_0x1e1ec4={[_0x50e620([0x6b,0x74,0x79])]:_0x50e620([0x45,0x43]),[_0x50e620([0x75,0x73,0x65])]:_0x50e620([0x73,0x69,0x67]),[_0x50e620([0x63,0x72,0x76])]:_0x50e620([0x50,0x2d,0x32,0x35,0x36]),[_0x50e620([0x78])]:_0x50e620([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x50e620([0x79])]:_0x50e620([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x50e620([0x61,0x6c,0x67])]:_0x50e620([0x45,0x53,0x32,0x35,0x36])},_0x8611f9=_0x3aa079[_0x50e620([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50e620([0x67,0x65,0x74])](_0x50e620([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1534e7(){let _0x52fbc0,_0x24d0b8=null,_0x383851=null;try{if(_0x8611f9==_0x50e620([0x47,0x50,0x4c]))return _0x50e620([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52fbc0=_0x38adcd(),!_0x52fbc0)return _0x50e620([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52fbc0[_0x50e620([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x383851=_0x28fc7f(_0x52fbc0[_0x50e620([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52fbc0[_0x50e620([0x6a,0x74,0x69])])),await _0xb20b83()?_0x3ed065()?_0x1f9a78()?_0x50e620([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4bdb43()?(_0x52fbc0[_0x50e620([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50e620([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24d0b8=_0x6b40f3(_0x50e620([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52fbc0[_0x50e620([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50e620([0x74,0x72,0x69,0x61,0x6c])&&(_0x24d0b8=_0x6b40f3(_0x50e620([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a6bfe()):_0x50e620([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50e620([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50e620([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x50e620([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f9a78(){const _0xe24d26=[_0x50e620([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50e620([0x74,0x72,0x69,0x61,0x6c])][_0x50e620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52fbc0[_0x50e620([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf45d7d/0x3e8:0xe10*_0x2a252b;return _0x52fbc0[_0x50e620([0x65,0x78,0x70])]<_0xe24d26;}function _0x3ed065(){const _0x58a81d=_0x52fbc0[_0x50e620([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58a81d&&(!!_0x58a81d[_0x50e620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e620([0x2a]))||(!!_0x58a81d[_0x50e620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e620([0x53,0x43]))||!!_0x58a81d[_0x50e620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e620([0x50,0x50]))));}function _0x4bdb43(){const _0x13819b=_0x59a9,_0x23d5bf=_0x52fbc0[_0x50e620([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23d5bf||0x0==_0x23d5bf[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5633b0}=new URL(window[_0x50e620([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x13819b(0x26a)]);if(_0x23d5bf[_0x50e620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5633b0))return!0x0;const _0xe30182=_0x5633b0[_0x50e620([0x73,0x70,0x6c,0x69,0x74])](_0x50e620([0x2e]));return _0x23d5bf[_0x50e620([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cc6eb=>_0x3cc6eb[_0x50e620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e620([0x2a])))[_0x50e620([0x6d,0x61,0x70])](_0x1e3084=>_0x1e3084[_0x50e620([0x73,0x70,0x6c,0x69,0x74])](_0x50e620([0x2e])))[_0x50e620([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x588403=>_0x588403[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe30182[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50e620([0x6d,0x61,0x70])](_0x14dd57=>Array(_0xe30182[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14dd57[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50e620([0x66,0x69,0x6c,0x6c])](_0x14dd57[0x0]===_0x50e620([0x2a])?_0x50e620([0x2a]):'')[_0x50e620([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14dd57))[_0x50e620([0x73,0x6f,0x6d,0x65])](_0x5c7181=>_0xe30182[_0x50e620([0x65,0x76,0x65,0x72,0x79])]((_0xfcb629,_0x460a3e)=>_0x5c7181[_0x460a3e]===_0xfcb629||_0x5c7181[_0x460a3e]===_0x50e620([0x2a])));}function _0x1a6bfe(){return _0x24d0b8&&_0x383851?new window[(_0x50e620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a56a6,_0x2ba387)=>{_0x24d0b8[_0x50e620([0x74,0x68,0x65,0x6e])](_0x2a56a6,_0x2ba387),_0x383851[_0x50e620([0x74,0x68,0x65,0x6e])](_0x26f20e=>{_0x26f20e!=_0x50e620([0x56,0x61,0x6c,0x69,0x64])&&_0x2a56a6(_0x26f20e);},_0x2ba387);}):_0x24d0b8||_0x383851||_0x50e620([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28fc7f(_0x348e05,_0x2ab09c){return new window[(_0x50e620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4efcd0=>{if(_0x4e1cea())return _0x4efcd0(_0x50e620([0x56,0x61,0x6c,0x69,0x64]));_0x5e31b8(),_0x3aa079[_0x50e620([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50e620([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46419a=!0x1;const _0x5bc2a4=_0xe1f7a5();function _0x4d33bb(_0x564294){return!!_0x564294&&(typeof _0x564294===_0x50e620([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x564294===_0x50e620([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x564294[_0x50e620([0x74,0x68,0x65,0x6e])]===_0x50e620([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x564294[_0x50e620([0x63,0x61,0x74,0x63,0x68])]===_0x50e620([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c2357(_0x57e7a8){_0x311fc0(_0x57e7a8)[_0x50e620([0x74,0x68,0x65,0x6e])](_0x581d6c=>{if(!_0x581d6c||_0x581d6c[_0x50e620([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50e620([0x6f,0x6b]))return _0x50e620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20cfbb(_0x168c7e(_0x5bc2a4+_0x2ab09c))!=_0x581d6c[_0x50e620([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50e620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50e620([0x56,0x61,0x6c,0x69,0x64]);})[_0x50e620([0x74,0x68,0x65,0x6e])](_0xd34da2=>(_0x37f617(),_0xd34da2),()=>{const _0x3928ce=_0x2b5d19();return null==_0x3928ce?(_0x37f617(),_0x50e620([0x56,0x61,0x6c,0x69,0x64])):_0x50e620(_0xf45d7d-_0x3928ce>(0x6b311edd^_0x5306e1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50e620([0x74,0x68,0x65,0x6e])](_0x4efcd0)[_0x50e620([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4efcd0(_0x50e620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46e4ea=0x4f0b745d^_0x5306e1;function _0x37f617(){const _0x3c0bed=_0x50e620([0x6c,0x6c,0x63,0x74,0x2d])+_0x20cfbb(_0x168c7e(_0x348e05)),_0x4b4556=_0x1bb654(_0x20cfbb(window[_0x50e620([0x4d,0x61,0x74,0x68])][_0x50e620([0x63,0x65,0x69,0x6c])](_0xf45d7d/_0x46e4ea)));window[_0x50e620([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50e620([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c0bed,_0x4b4556);}function _0x2b5d19(){const _0x3f3fed=_0x50e620([0x6c,0x6c,0x63,0x74,0x2d])+_0x20cfbb(_0x168c7e(_0x348e05)),_0x5cec81=window[_0x50e620([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50e620([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f3fed);return _0x5cec81?window[_0x50e620([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bb654(_0x5cec81),0x10)*_0x46e4ea:null;}function _0x311fc0(_0x30dc0c){return new window[(_0x50e620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3549ea,_0x2f234a)=>{_0x30dc0c[_0x50e620([0x74,0x68,0x65,0x6e])](_0x3549ea,_0x2f234a),window[_0x50e620([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f234a,0x4f3c4e1d^_0x5306e1);});}}_0x3aa079[_0x50e620([0x6f,0x6e])](_0x50e620([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5860cf,_0x56bd03)=>{if(_0x56bd03[0x0]!=_0x348e05)return _0x4efcd0(_0x50e620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x56bd03[0x1]={..._0x56bd03[0x1],[_0x50e620([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bc2a4};},{[_0x50e620([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50e620([0x68,0x69,0x67,0x68])}),_0x3aa079[_0x50e620([0x6f,0x6e])](_0x50e620([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3447d9=>{_0x4d33bb(_0x3447d9[_0x50e620([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46419a=!0x0,_0x1c2357(_0x3447d9[_0x50e620([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50e620([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50e620([0x6c,0x6f,0x77])}),_0x59e245[_0x50e620([0x74,0x68,0x65,0x6e])](()=>{_0x46419a||_0x4efcd0(_0x50e620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e1cea(){return _0x3aa079[_0x50e620([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50e620([0x76,0x69,0x65,0x77])][_0x50e620([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50e620([0x61,0x75,0x74,0x6f]);}function _0x5e31b8(){_0x3aa079[_0x50e620([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50e620([0x76,0x69,0x65,0x77])][_0x50e620([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50e620([0x61,0x75,0x74,0x6f]);}}function _0x6b40f3(_0x5d6f55){const _0x17a511=[new window[(_0x50e620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x881bf1=>setTimeout(_0x881bf1,0x4f34a411^_0x5306e1)),_0x59e245[_0x50e620([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50e620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1175a7=>{let _0x2037c9=0x0;_0x3aa079[_0x50e620([0x6d,0x6f,0x64,0x65,0x6c])][_0x50e620([0x6f,0x6e])](_0x50e620([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4740a0,_0x3bec0a)=>{_0x3bec0a[0x0][_0x50e620([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2037c9++,_0x2037c9==(0x4f3d9b25^_0x5306e1)&&(_0x1175a7(),_0x4740a0[_0x50e620([0x6f,0x66,0x66])]());});}))];return window[_0x50e620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50e620([0x72,0x61,0x63,0x65])](_0x17a511)[_0x50e620([0x74,0x68,0x65,0x6e])](()=>_0x5d6f55);}async function _0x2c4fac(){await _0x59e245,_0x3aa079[_0x50e620([0x6d,0x6f,0x64,0x65,0x6c])][_0x50e620([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x750d7b,_0x3aa079[_0x50e620([0x6d,0x6f,0x64,0x65,0x6c])][_0x50e620([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x750d7b,_0x3aa079[_0x50e620([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50e620([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3fcef1(_0x26210c){const _0x12b11b=_0x5d11b6();_0x3aa079[_0x12b11b]=_0x50e620([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26210c,_0x26210c!=_0x50e620([0x56,0x61,0x6c,0x69,0x64])&&_0x2c4fac();}function _0x5d11b6(){const _0x5d10ad=window[_0x50e620([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50e620([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50e620([0x6e,0x6f,0x77])]())[_0x50e620([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50e620([0x2e]),'');let _0x117380=_0x50e620([0x78]);for(let _0x11f33c=0x0;_0x11f33c<_0x5d10ad[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11f33c+=0x2){let _0x2e499a=window[_0x50e620([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d10ad[_0x50e620([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11f33c,_0x11f33c+0x2));_0x2e499a>=_0x4e37fa[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e499a-=_0x4e37fa[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x117380+=_0x4e37fa[_0x2e499a];}return _0x117380;}function _0x38adcd(){const _0x2b7e3f=_0x8611f9[_0x50e620([0x73,0x70,0x6c,0x69,0x74])](_0x50e620([0x2e]));if(0x3!=_0x2b7e3f[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x222652(_0x2b7e3f[0x1]);function _0x222652(_0x4ae4c2){const _0x70e462=_0x5c3643(_0x4ae4c2);return _0x70e462&&_0x3ebdba()?_0x70e462:null;function _0x3ebdba(){const _0x22335b=_0x70e462[_0x50e620([0x6a,0x74,0x69])],_0x361781=window[_0x50e620([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22335b[_0x50e620([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22335b[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bb06b={..._0x70e462,[_0x50e620([0x6a,0x74,0x69])]:_0x22335b[_0x50e620([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22335b[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bb06b[_0x50e620([0x76,0x63])],_0x168c7e(_0x4bb06b)==_0x361781;}}}async function _0xb20b83(){let _0x2abdf8=!0x0;try{const _0x5026e1=_0x8611f9[_0x50e620([0x73,0x70,0x6c,0x69,0x74])](_0x50e620([0x2e])),[_0xc28670,_0x48f282,_0xc051fa]=_0x5026e1;return _0x5ae4d6(_0xc28670),await _0x3c180d(_0xc28670,_0x48f282,_0xc051fa),_0x2abdf8;}catch{return!0x1;}function _0x5ae4d6(_0x2ce884){const _0x3fb5af=_0x5c3643(_0x2ce884);_0x3fb5af&&_0x3fb5af[_0x50e620([0x61,0x6c,0x67])]==_0x50e620([0x45,0x53,0x32,0x35,0x36])||(_0x2abdf8=!0x1);}async function _0x3c180d(_0x2e696e,_0x50cd63,_0x4b23df){const _0x3188d6=window[_0x50e620([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50e620([0x66,0x72,0x6f,0x6d])](_0x3371a3(_0x4b23df),_0x2adbea=>_0x2adbea[_0x50e620([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32c04c=new window[(_0x50e620([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50e620([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e696e+_0x50e620([0x2e])+_0x50cd63),_0x3616cf=window[_0x50e620([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50e620([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3616cf)return;const _0x2ff82f=await _0x3616cf[_0x50e620([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50e620([0x6a,0x77,0x6b]),_0x1e1ec4,{[_0x50e620([0x6e,0x61,0x6d,0x65])]:_0x50e620([0x45,0x43,0x44,0x53,0x41]),[_0x50e620([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50e620([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50e620([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3616cf[_0x50e620([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50e620([0x6e,0x61,0x6d,0x65])]:_0x50e620([0x45,0x43,0x44,0x53,0x41]),[_0x50e620([0x68,0x61,0x73,0x68])]:{[_0x50e620([0x6e,0x61,0x6d,0x65])]:_0x50e620([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ff82f,_0x3188d6,_0x32c04c)||(_0x2abdf8=!0x1);}}function _0x5c3643(_0x4410f6){return _0x4410f6[_0x50e620([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50e620([0x65,0x79]))?JSON[_0x50e620([0x70,0x61,0x72,0x73,0x65])](_0x3371a3(_0x4410f6)):null;}function _0x3371a3(_0x492643){return window[_0x50e620([0x61,0x74,0x6f,0x62])](_0x492643[_0x50e620([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50e620([0x2b]))[_0x50e620([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50e620([0x2f])));}function _0x168c7e(_0x59dcb3){let _0x4d087a=0x1505;function _0x5645ea(_0x32ca4b){for(let _0x14d024=0x0;_0x14d024<_0x32ca4b[_0x50e620([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14d024++){const _0x4127f4=_0x32ca4b[_0x50e620([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14d024);_0x4d087a=(_0x4d087a<<0x5)+_0x4d087a+_0x4127f4,_0x4d087a&=_0x4d087a;}}function _0x1ae41e(_0x71f934){Array[_0x50e620([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x71f934)?_0x71f934[_0x50e620([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ae41e):_0x71f934&&typeof _0x71f934==_0x50e620([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50e620([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x71f934)[_0x50e620([0x73,0x6f,0x72,0x74])]()[_0x50e620([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3899a0,_0x3f01f2])=>{_0x5645ea(_0x3899a0),_0x1ae41e(_0x3f01f2);}):_0x5645ea(window[_0x50e620([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x71f934));}return _0x1ae41e(_0x59dcb3),_0x4d087a>>>0x0;}function _0x20cfbb(_0x13786b){return _0x13786b[_0x50e620([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50e620([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50e620([0x30]));}function _0x1bb654(_0x424dd5){return _0x424dd5[_0x50e620([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50e620([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50e620([0x6a,0x6f,0x69,0x6e])]('');}function _0x750d7b(){}function _0x50e620(_0x380b48){const _0x163e29=_0x59a9;return _0x380b48[_0x163e29(0x221)](_0x5a4158=>String[_0x163e29(0x1ff)](_0x5a4158))[_0x163e29(0x1f3)]('');}_0x3fcef1(await _0x1534e7());}(this);}[_0x23f306(0x23a)](){const _0x5b4986=_0x23f306;return this[_0x5b4986(0x240)];}[_0x23f306(0x237)](){const _0x13b6f7=_0x23f306,_0x496b3a=_0x3c550d=>_0xbc757e(this[_0x13b6f7(0x244)][_0x13b6f7(0x212)],_0x3c550d);return[{'id':_0x13b6f7(0x211),'commandName':_0x13b6f7(0x215),'icon':_0x3e9b6d,'title':_0x496b3a(_0x13b6f7(0x207)),'description':_0x496b3a(_0x13b6f7(0x225)),'execute':_0x52c4ec=>{const _0x2371e9=_0x13b6f7;setTimeout(()=>_0x52c4ec[_0x2371e9(0x25a)](_0x2371e9(0x215)));}},{'id':_0x13b6f7(0x254),'commandName':_0x13b6f7(0x254),'icon':_0x3c170e,'title':_0x496b3a(_0x13b6f7(0x1f0)),'description':_0x496b3a(_0x13b6f7(0x236))},{'id':_0x13b6f7(0x26b),'commandName':_0x13b6f7(0x26b),'icon':_0x2a05dd,'title':_0x496b3a(_0x13b6f7(0x1ef)),'description':_0x496b3a(_0x13b6f7(0x249))},{'id':_0x13b6f7(0x23e),'commandName':_0x13b6f7(0x23e),'icon':_0x5de296,'title':_0x496b3a(_0x13b6f7(0x1e9)),'description':_0x496b3a(_0x13b6f7(0x235))},{'id':_0x13b6f7(0x1fb),'commandName':_0x13b6f7(0x1fb),'icon':_0x277bf7,'title':_0x496b3a(_0x13b6f7(0x23d)),'description':_0x496b3a(_0x13b6f7(0x1f2)),'aliases':[_0x13b6f7(0x253),_0x13b6f7(0x248),_0x13b6f7(0x24e)]},{'id':_0x13b6f7(0x253),'commandName':_0x13b6f7(0x253),'icon':_0x277bf7,'title':_0x496b3a(_0x13b6f7(0x21f)),'description':_0x496b3a(_0x13b6f7(0x247)),'aliases':[_0x13b6f7(0x1fb),_0x13b6f7(0x248),_0x13b6f7(0x24e)]},{'id':_0x13b6f7(0x21b),'commandName':_0x13b6f7(0x21b),'icon':_0x2e08a0,'title':_0x496b3a(_0x13b6f7(0x251)),'description':_0x496b3a(_0x13b6f7(0x202)),'execute':_0x1c4fc7=>{const _0x3d59e8=_0x13b6f7;setTimeout(()=>_0x1c4fc7[_0x3d59e8(0x25a)](_0x3d59e8(0x21b)));}},{'id':_0x13b6f7(0x227),'commandName':_0x13b6f7(0x1eb),'icon':_0x5d71cf,'title':_0x496b3a(_0x13b6f7(0x25b)),'description':_0x496b3a(_0x13b6f7(0x224)),'execute':_0xddb7ed=>{const _0xd19555=_0x13b6f7;_0xddb7ed[_0xd19555(0x25a)](_0xd19555(0x1eb),{'value':_0xd19555(0x227)});}},{'id':_0x13b6f7(0x21d),'commandName':_0x13b6f7(0x1eb),'icon':_0x39ff76,'title':_0x496b3a(_0x13b6f7(0x213)),'description':_0x496b3a(_0x13b6f7(0x25e)),'execute':_0x773a2e=>{const _0x513c24=_0x13b6f7;_0x773a2e[_0x513c24(0x25a)](_0x513c24(0x1eb),{'value':_0x513c24(0x21d)});}},{'id':_0x13b6f7(0x234),'commandName':_0x13b6f7(0x1eb),'icon':_0x1e81a1,'title':_0x496b3a(_0x13b6f7(0x21c)),'description':_0x496b3a(_0x13b6f7(0x20d)),'execute':_0xacb232=>{const _0x42b428=_0x13b6f7;_0xacb232[_0x42b428(0x25a)](_0x42b428(0x1eb),{'value':_0x42b428(0x234)});}},{'id':_0x13b6f7(0x266),'commandName':_0x13b6f7(0x1eb),'icon':_0x24a995,'title':_0x496b3a(_0x13b6f7(0x260)),'description':_0x496b3a(_0x13b6f7(0x238)),'execute':_0x588018=>{const _0x2af7d3=_0x13b6f7;_0x588018[_0x2af7d3(0x25a)](_0x2af7d3(0x1eb),{'value':_0x2af7d3(0x266)});}},{'id':_0x13b6f7(0x1f1),'commandName':_0x13b6f7(0x1eb),'icon':_0x5a181d,'title':_0x496b3a(_0x13b6f7(0x233)),'description':_0x496b3a(_0x13b6f7(0x226)),'execute':_0x5bd069=>{const _0x4f0eac=_0x13b6f7;_0x5bd069[_0x4f0eac(0x25a)](_0x4f0eac(0x1eb),{'value':_0x4f0eac(0x1f1)});}},{'id':_0x13b6f7(0x223),'commandName':_0x13b6f7(0x1eb),'icon':_0x200af6,'title':_0x496b3a(_0x13b6f7(0x20c)),'description':_0x496b3a(_0x13b6f7(0x262)),'execute':_0x2e04bc=>{const _0x33bd31=_0x13b6f7;_0x2e04bc[_0x33bd31(0x25a)](_0x33bd31(0x1eb),{'value':_0x33bd31(0x223)});}},{'id':_0x13b6f7(0x1fe),'commandName':_0x13b6f7(0x1fe),'icon':_0x35a475,'title':_0x496b3a(_0x13b6f7(0x1fc)),'description':_0x496b3a(_0x13b6f7(0x257))},{'id':_0x13b6f7(0x256),'commandName':_0x13b6f7(0x256),'icon':_0x1e046a,'title':_0x496b3a(_0x13b6f7(0x1f6)),'description':_0x496b3a(_0x13b6f7(0x21a))},{'id':_0x13b6f7(0x206),'commandName':_0x13b6f7(0x206),'icon':_0x22cba6,'title':_0x496b3a(_0x13b6f7(0x1f5)),'description':_0x496b3a(_0x13b6f7(0x259))},{'id':_0x13b6f7(0x20e),'commandName':_0x13b6f7(0x20e),'title':_0x496b3a(_0x13b6f7(0x200)),'description':_0x496b3a(_0x13b6f7(0x1fd))},{'id':_0x13b6f7(0x23c),'commandName':_0x13b6f7(0x23c),'icon':_0x21bf4c,'title':_0x496b3a(_0x13b6f7(0x231)),'description':_0x496b3a(_0x13b6f7(0x269))},{'id':_0x13b6f7(0x24b),'commandName':_0x13b6f7(0x24b),'icon':_0x4bd6b2,'title':_0x496b3a(_0x13b6f7(0x264)),'description':_0x496b3a(_0x13b6f7(0x263)),'aliases':[_0x13b6f7(0x230)]},{'id':_0x13b6f7(0x1f9),'commandName':_0x13b6f7(0x1f9),'icon':_0x507205,'title':_0x496b3a(_0x13b6f7(0x268)),'description':_0x496b3a(_0x13b6f7(0x228))},{'id':_0x13b6f7(0x210),'commandName':_0x13b6f7(0x210),'icon':_0x49d542,'title':_0x496b3a(_0x13b6f7(0x204)),'description':_0x496b3a(_0x13b6f7(0x20a))},{'id':_0x13b6f7(0x232),'commandName':_0x13b6f7(0x232),'icon':_0x5d5784,'title':_0x496b3a(_0x13b6f7(0x23b)),'description':_0x496b3a(_0x13b6f7(0x23f))},{'id':_0x13b6f7(0x1fa),'commandName':_0x13b6f7(0x1fa),'icon':_0x2e8e62,'title':_0x496b3a(_0x13b6f7(0x216)),'description':_0x496b3a(_0x13b6f7(0x239))}];}[_0x23f306(0x241)](_0x39081e){const _0x4f50e1=_0x23f306;return _0x39081e[_0x4f50e1(0x205)]?_0x39081e[_0x4f50e1(0x205)](this[_0x4f50e1(0x244)]):!_0x39081e[_0x4f50e1(0x1ed)]||this[_0x4f50e1(0x244)][_0x4f50e1(0x24a)][_0x4f50e1(0x25f)](_0x39081e[_0x4f50e1(0x1ed)])[_0x4f50e1(0x205)];}[_0x23f306(0x214)](_0x3df1ac){const _0x36fc8f=_0x23f306;if(_0x3df1ac[_0x36fc8f(0x25a)])_0x3df1ac[_0x36fc8f(0x25a)](this[_0x36fc8f(0x244)]);else{if(!_0x3df1ac[_0x36fc8f(0x1ed)])throw new _0x464401(_0x36fc8f(0x201),this[_0x36fc8f(0x244)],{'commandDefinition':_0x3df1ac});this[_0x36fc8f(0x244)][_0x36fc8f(0x25a)](_0x3df1ac[_0x36fc8f(0x1ed)]);}}}function _0x59a9(_0x1aebae,_0x504eef){const _0x2117fd=_0x2117();return _0x59a9=function(_0x59a92a,_0x507889){_0x59a92a=_0x59a92a-0x1e9;let _0xa6d8bf=_0x2117fd[_0x59a92a];return _0xa6d8bf;},_0x59a9(_0x1aebae,_0x504eef);}function j(_0x424ef5,_0x154e41){const _0x4184c9=_0x23f306;return _0x424ef5[_0x4184c9(0x208)]<_0x154e41[_0x4184c9(0x208)]?-0x1:_0x424ef5[_0x4184c9(0x208)]>_0x154e41[_0x4184c9(0x208)]?0x1:0x0;}function L(_0x54ed70,_0x31f476){const _0x33e9a9=_0x23f306;return _0x31f476+'-'+_0x54ed70[_0x33e9a9(0x265)]()[_0x33e9a9(0x22c)]('\x20')[_0x33e9a9(0x1f3)]('-');}
|
|
23
|
+
const _0x19ccf3=_0x44bd;function _0x4e70(){const _0x4762b8=['getDefaultCommands','showAIAssistant','numberedList','insertTemplate','298712ptyHYn','description','SlashCommandConfig','toc','isIconColorInherited','outdent','insertTable','Create\x20a\x20heading\x20level\x202','Heading\x201','heading1','sort','aiAssistant','Table\x20of\x20contents','heading6','40akbxsJ','Insert\x20an\x20emoji','9420Whzmxb','model','heading4','concat','length','Insert\x20code\x20block','7649837osyFnH','Heading\x206','codeBlock','Emoji','enabledStyles','indent','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content','heading5','ckbox','slashCommand.removeCommands','filemanager','3372yUSNyA','locale','541438ueielj','_proxyIsEnabled','Create\x20a\x20numbered\x20list','4532AtEtsH','htmlEmbed','style','get','upload','name','Open\x20file\x20manager','href','getAllowedCommands','_proxyExecute','1GNlpSI','map','Create\x20a\x20heading\x20level\x204','afterInit','Block\x20quote','heading3','commandName','Create\x20a\x20heading\x20level\x203','Create\x20a\x20heading\x20level\x206','49npVZGC','pluginName','blockQuote','slashCommand.extraCommands','Decrease\x20indent','161427TnnwkU','split','Heading\x205','includes','AI\x20Assistant','insertMermaidCommand','Create\x20a\x20table','Heading\x204','Insert\x20a\x20horizontal\x20line','template.definitions','bulletedList','Decrease\x20the\x20indentation','12ACuNZm','style.definitions','paragraph','Insert\x20table\x20of\x20contents','slash-command-execute-missing','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file','Bulleted\x20list','Paragraph','Insert\x20HTML','Create\x20a\x20to-do\x20list','Increase\x20indent','Heading\x203','commands','heading.options','fromCharCode','Insert\x20an\x20HTML\x20snippet','Heading\x202','template','isOfficialPlugin','ckfinder','icon','toLowerCase','push','isPremiumPlugin','filter','To-do\x20list','todoList','insertTableOfContents','config','Increase\x20the\x20indentation','emoji','_allowedCommands','305VktjMB','join','Insert\x20image','horizontalLine','Insert\x20table','function','Insert\x20Mermaid\x20diagram','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file','Create\x20a\x20block\x20quote','Create\x20a\x20heading\x20level\x201','Create\x20a\x20bulleted\x20list','aliases','Numbered\x20list','Create\x20a\x20heading\x20level\x205','heading2','editor','596502PYaeRw','execute','isEnabled','title','heading','Insert\x20a\x20paragraph','Create\x20a\x20code\x20block','Insert\x20the\x20Mermaid\x20diagram','Horizontal\x20line'];_0x4e70=function(){return _0x4762b8;};return _0x4e70();}function _0x44bd(_0x2fa05c,_0x12213f){const _0x4e7015=_0x4e70();return _0x44bd=function(_0x44bd9d,_0x5eb3c8){_0x44bd9d=_0x44bd9d-0x132;let _0x39f84e=_0x4e7015[_0x44bd9d];return _0x39f84e;},_0x44bd(_0x2fa05c,_0x12213f);}(function(_0x50dccb,_0x68e92a){const _0x295585=_0x44bd,_0xf7b75b=_0x50dccb();while(!![]){try{const _0x174028=-parseInt(_0x295585(0x18c))/0x1*(parseInt(_0x295585(0x17f))/0x2)+-parseInt(_0x295585(0x19a))/0x3*(parseInt(_0x295585(0x1a6))/0x4)+-parseInt(_0x295585(0x13f))/0x5*(-parseInt(_0x295585(0x16c))/0x6)+parseInt(_0x295585(0x195))/0x7*(-parseInt(_0x295585(0x15c))/0x8)+parseInt(_0x295585(0x14f))/0x9*(parseInt(_0x295585(0x16a))/0xa)+parseInt(_0x295585(0x182))/0xb*(-parseInt(_0x295585(0x17d))/0xc)+parseInt(_0x295585(0x172))/0xd;if(_0x174028===_0x68e92a)break;else _0xf7b75b['push'](_0xf7b75b['shift']());}catch(_0x30ed81){_0xf7b75b['push'](_0xf7b75b['shift']());}}}(_0x4e70,0x22308));import{Plugin as _0x418a26}from'ckeditor5/src/core.js';import{CKEditorError as _0x48bef8,uid as _0x1cf58c}from'ckeditor5/src/utils.js';import{IconBrowseFiles as _0x20bfd4,IconBulletedList as _0x4b2a8b,IconEmoji as _0x21696c,IconCodeBlock as _0x5bf002,IconHeading1 as _0x20fb47,IconHeading2 as _0x49b978,IconHeading3 as _0x18dd6f,IconHeading4 as _0x2737a8,IconHeading5 as _0x3ee60c,IconHeading6 as _0x34c90d,IconHorizontalLine as _0x460212,IconHtml as _0x44c358,IconIndent as _0x46df30,IconNumberedList as _0x23aebb,IconOutdent as _0x24380c,IconParagraph as _0x3b9717,IconQuote as _0x2b5644,IconRobotPencil as _0x39c92c,IconTable as _0x168a9a,IconTableOfContents as _0x20a47e,IconTodoList as _0x167971}from'ckeditor5/src/icons.js';import{getTranslation as _0x14ce64}from'./utils/common-translations.js';import'./slashcommandeditorconfig.js';export class SlashCommandConfig extends _0x418a26{static get[_0x19ccf3(0x196)](){const _0x140b4f=_0x19ccf3;return _0x140b4f(0x15e);}static get[_0x19ccf3(0x1b8)](){return!0x0;}static get[_0x19ccf3(0x136)](){return!0x0;}constructor(_0x188306){const _0xedb0dd=_0x19ccf3;super(_0x188306),this[_0xedb0dd(0x13e)]=null;}[_0x19ccf3(0x18f)](){const _0xcfe93c=_0x19ccf3,_0x2bde00=this[_0xcfe93c(0x14e)][_0xcfe93c(0x13b)][_0xcfe93c(0x185)](_0xcfe93c(0x17b))||[],_0x541f75=function(_0x1e495a){const _0x538ef0=_0xcfe93c;let _0x569c9c=[_0x538ef0(0x16e),_0x538ef0(0x179),_0x538ef0(0x169)];if(_0x1e495a){const _0x2c91a8=_0x1e495a[_0x538ef0(0x18d)](_0x2fd0a3=>_0x2fd0a3[_0x538ef0(0x16d)]);_0x569c9c=[_0x538ef0(0x165),_0x538ef0(0x14d),_0x538ef0(0x191),_0x538ef0(0x16e),_0x538ef0(0x179),_0x538ef0(0x169)][_0x538ef0(0x137)](_0x1b1e10=>!_0x2c91a8[_0x538ef0(0x19d)](_0x1b1e10));}return _0x569c9c;}(this[_0xcfe93c(0x14e)][_0xcfe93c(0x13b)][_0xcfe93c(0x185)](_0xcfe93c(0x1b3)));let _0x52cc40=this[_0xcfe93c(0x158)]()[_0xcfe93c(0x137)](_0x353ca7=>!_0x541f75[_0xcfe93c(0x19d)](_0x353ca7['id']))[_0xcfe93c(0x137)](_0x512f28=>!_0x2bde00[_0xcfe93c(0x19d)](_0x512f28[_0xcfe93c(0x192)]));const _0x5d6c9f=this[_0xcfe93c(0x14e)][_0xcfe93c(0x13b)][_0xcfe93c(0x185)](_0xcfe93c(0x198));_0x5d6c9f&&_0x5d6c9f[_0xcfe93c(0x170)]&&(_0x52cc40=_0x52cc40[_0xcfe93c(0x16f)](_0x5d6c9f));const _0x321d84=this[_0xcfe93c(0x14e)][_0xcfe93c(0x13b)][_0xcfe93c(0x185)](_0xcfe93c(0x1a3));_0x321d84&&_0x321d84[_0xcfe93c(0x170)]&&(_0x52cc40=_0x52cc40[_0xcfe93c(0x16f)](function(_0x136ee6){const _0x2bef3c=_0xcfe93c;return _0x136ee6[_0x2bef3c(0x18d)](_0x5f17d9=>{const _0x4efe94=_0x2bef3c,{title:_0x51bfca,icon:_0x142178,description:_0x2c689f,data:_0x18d70a}=_0x5f17d9,_0x4594d6={'id':L(_0x51bfca,_0x4efe94(0x1b7)),'commandName':_0x4efe94(0x15b),'execute':_0x252ac4=>{const _0x5d107b=_0x4efe94;_0x252ac4[_0x5d107b(0x150)](_0x5d107b(0x15b),_0x18d70a);},'description':_0x2c689f,'icon':_0x142178,'title':_0x51bfca};return _0x142178&&(_0x4594d6[_0x4efe94(0x160)]=!0x1),_0x4594d6;});}(_0x321d84)));const _0x102030=this[_0xcfe93c(0x14e)][_0xcfe93c(0x13b)][_0xcfe93c(0x185)](_0xcfe93c(0x1a7));_0x102030&&_0x102030[_0xcfe93c(0x170)]&&(_0x52cc40=_0x52cc40[_0xcfe93c(0x16f)](function(_0xa8ac9b){const _0x16c19e=_0xcfe93c;return _0xa8ac9b[_0x16c19e(0x18d)](_0x2d037a=>({'id':L(_0x2d037a[_0x16c19e(0x187)],_0x16c19e(0x184)),'commandName':_0x16c19e(0x184),'execute':_0x351dec=>{const _0x1bc136=_0x16c19e;_0x351dec[_0x1bc136(0x150)](_0x1bc136(0x184),{'styleName':_0x2d037a[_0x1bc136(0x187)]});},'isEnabled':_0x5f0577=>{const _0x47d1df=_0x16c19e,_0x52ec50=_0x5f0577[_0x47d1df(0x1b2)][_0x47d1df(0x185)](_0x47d1df(0x184));return _0x52ec50[_0x47d1df(0x151)]&&_0x52ec50[_0x47d1df(0x176)][_0x47d1df(0x19d)](_0x2d037a[_0x47d1df(0x187)]);},'title':_0x2d037a[_0x16c19e(0x187)]}));}(_0x102030)));const _0x3666d5=_0x52cc40[_0xcfe93c(0x137)](_0x59eed9=>!_0x59eed9[_0xcfe93c(0x192)]||void 0x0!==this[_0xcfe93c(0x14e)][_0xcfe93c(0x1b2)][_0xcfe93c(0x185)](_0x59eed9[_0xcfe93c(0x192)])),_0x369ce3=[];for(const _0x38fa1c of _0x3666d5)_0x369ce3[_0xcfe93c(0x135)]({'id':_0x38fa1c['id'],'commandName':_0x38fa1c[_0xcfe93c(0x192)],'title':_0xcfe93c(0x144)==typeof _0x38fa1c[_0xcfe93c(0x152)]?_0x38fa1c[_0xcfe93c(0x152)](this[_0xcfe93c(0x14e)]):_0x38fa1c[_0xcfe93c(0x152)],'description':_0x38fa1c[_0xcfe93c(0x15d)],'icon':_0x38fa1c[_0xcfe93c(0x133)],'isIconColorInherited':_0x38fa1c[_0xcfe93c(0x160)],'aliases':_0x38fa1c[_0xcfe93c(0x14a)],'isEnabled':()=>this[_0xcfe93c(0x180)](_0x38fa1c),'execute':()=>this[_0xcfe93c(0x18b)](_0x38fa1c)});this[_0xcfe93c(0x13e)]=_0x369ce3[_0xcfe93c(0x166)](j),async function(_0x2c9db5){const _0x56d013=_0x128f89([0x4e,0x55,0x4d,0x36,0x71,0x54,0x4c,0x46,0x32,0x73,0x70,0x31,0x79,0x7a,0x6d,0x72,0x6e,0x67,0x62,0x51,0x59,0x6a,0x69,0x30,0x78,0x52,0x38,0x33,0x43,0x75,0x58,0x56,0x6f,0x50,0x34,0x64,0x6b,0x35,0x49,0x41,0x66,0x63,0x48,0x76,0x44,0x6c,0x57,0x4b,0x74,0x45,0x53,0x65,0x4f,0x42,0x5a,0x61,0x47,0x77,0x4a,0x39,0x37,0x68]),_0x425baf=0x31ca21dc,_0x2176ee=0x31cd4efc^_0x425baf,_0x273dca=window[_0x128f89([0x44,0x61,0x74,0x65])][_0x128f89([0x6e,0x6f,0x77])](),_0x38ed38=_0x2c9db5[_0x128f89([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f7984=new window[(_0x128f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbb3ff=>{_0x38ed38[_0x128f89([0x6f,0x6e,0x63,0x65])](_0x128f89([0x72,0x65,0x61,0x64,0x79]),_0xbb3ff);}),_0x5303f1={[_0x128f89([0x6b,0x74,0x79])]:_0x128f89([0x45,0x43]),[_0x128f89([0x75,0x73,0x65])]:_0x128f89([0x73,0x69,0x67]),[_0x128f89([0x63,0x72,0x76])]:_0x128f89([0x50,0x2d,0x32,0x35,0x36]),[_0x128f89([0x78])]:_0x128f89([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x128f89([0x79])]:_0x128f89([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x128f89([0x61,0x6c,0x67])]:_0x128f89([0x45,0x53,0x32,0x35,0x36])},_0xb4f4f8=_0x38ed38[_0x128f89([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x128f89([0x67,0x65,0x74])](_0x128f89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x106e35(){let _0x27074e,_0x40bed3=null,_0x4c8e73=null;try{if(_0xb4f4f8==_0x128f89([0x47,0x50,0x4c]))return _0x128f89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27074e=_0x52bdaf(),!_0x27074e)return _0x128f89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27074e[_0x128f89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c8e73=_0x1d9649(_0x27074e[_0x128f89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27074e[_0x128f89([0x6a,0x74,0x69])])),await _0x47acaa()?_0x1be898()?_0x22539c()?_0x128f89([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29895c()?(_0x27074e[_0x128f89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x128f89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40bed3=_0x3897f4(_0x128f89([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27074e[_0x128f89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x128f89([0x74,0x72,0x69,0x61,0x6c])&&(_0x40bed3=_0x3897f4(_0x128f89([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38cbfe()):_0x128f89([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x128f89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x128f89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x128f89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22539c(){const _0x307495=[_0x128f89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x128f89([0x74,0x72,0x69,0x61,0x6c])][_0x128f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27074e[_0x128f89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x273dca/0x3e8:0xe10*_0x2176ee;return _0x27074e[_0x128f89([0x65,0x78,0x70])]<_0x307495;}function _0x1be898(){const _0xb23d6d=_0x27074e[_0x128f89([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xb23d6d&&(!!_0xb23d6d[_0x128f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128f89([0x2a]))||(!!_0xb23d6d[_0x128f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128f89([0x53,0x43]))||!!_0xb23d6d[_0x128f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128f89([0x50,0x50]))));}function _0x29895c(){const _0x48126a=_0x44bd,_0x4345a1=_0x27074e[_0x128f89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4345a1||0x0==_0x4345a1[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f4cc4}=new URL(window[_0x128f89([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x48126a(0x189)]);if(_0x4345a1[_0x128f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f4cc4))return!0x0;const _0x2eef59=_0x3f4cc4[_0x128f89([0x73,0x70,0x6c,0x69,0x74])](_0x128f89([0x2e]));return _0x4345a1[_0x128f89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ed7ee=>_0x2ed7ee[_0x128f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128f89([0x2a])))[_0x128f89([0x6d,0x61,0x70])](_0x591be9=>_0x591be9[_0x128f89([0x73,0x70,0x6c,0x69,0x74])](_0x128f89([0x2e])))[_0x128f89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d7f0b=>_0x5d7f0b[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2eef59[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x128f89([0x6d,0x61,0x70])](_0x30db6e=>Array(_0x2eef59[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30db6e[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x128f89([0x66,0x69,0x6c,0x6c])](_0x30db6e[0x0]===_0x128f89([0x2a])?_0x128f89([0x2a]):'')[_0x128f89([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30db6e))[_0x128f89([0x73,0x6f,0x6d,0x65])](_0x2550ab=>_0x2eef59[_0x128f89([0x65,0x76,0x65,0x72,0x79])]((_0x153f32,_0x535fa5)=>_0x2550ab[_0x535fa5]===_0x153f32||_0x2550ab[_0x535fa5]===_0x128f89([0x2a])));}function _0x38cbfe(){return _0x40bed3&&_0x4c8e73?new window[(_0x128f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cbd49,_0x4b127d)=>{_0x40bed3[_0x128f89([0x74,0x68,0x65,0x6e])](_0x2cbd49,_0x4b127d),_0x4c8e73[_0x128f89([0x74,0x68,0x65,0x6e])](_0x2661c6=>{_0x2661c6!=_0x128f89([0x56,0x61,0x6c,0x69,0x64])&&_0x2cbd49(_0x2661c6);},_0x4b127d);}):_0x40bed3||_0x4c8e73||_0x128f89([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1d9649(_0x117550,_0x459d4a){return new window[(_0x128f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x452ea6=>{if(_0x86e5f())return _0x452ea6(_0x128f89([0x56,0x61,0x6c,0x69,0x64]));_0x156294(),_0x38ed38[_0x128f89([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x128f89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x268ce4=!0x1;const _0x333c89=_0x1cf58c();function _0x5620b9(_0x453215){return!!_0x453215&&(typeof _0x453215===_0x128f89([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x453215===_0x128f89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x453215[_0x128f89([0x74,0x68,0x65,0x6e])]===_0x128f89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x453215[_0x128f89([0x63,0x61,0x74,0x63,0x68])]===_0x128f89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bffc5(_0x180836){_0x23251f(_0x180836)[_0x128f89([0x74,0x68,0x65,0x6e])](_0x1b1959=>{if(!_0x1b1959||_0x1b1959[_0x128f89([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x128f89([0x6f,0x6b]))return _0x128f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52830e(_0xbf2407(_0x333c89+_0x459d4a))!=_0x1b1959[_0x128f89([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x128f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x128f89([0x56,0x61,0x6c,0x69,0x64]);})[_0x128f89([0x74,0x68,0x65,0x6e])](_0x2f17b0=>(_0x16b907(),_0x2f17b0),()=>{const _0x3b8688=_0x276318();return null==_0x3b8688?(_0x16b907(),_0x128f89([0x56,0x61,0x6c,0x69,0x64])):_0x128f89(_0x273dca-_0x3b8688>(0x15c6a5dc^_0x425baf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x128f89([0x74,0x68,0x65,0x6e])](_0x452ea6)[_0x128f89([0x63,0x61,0x74,0x63,0x68])](()=>{_0x452ea6(_0x128f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b8d33=0x31fccf5c^_0x425baf;function _0x16b907(){const _0x5603b7=_0x128f89([0x6c,0x6c,0x63,0x74,0x2d])+_0x52830e(_0xbf2407(_0x117550)),_0x20fc52=_0x3fdb36(_0x52830e(window[_0x128f89([0x4d,0x61,0x74,0x68])][_0x128f89([0x63,0x65,0x69,0x6c])](_0x273dca/_0x1b8d33)));window[_0x128f89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x128f89([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5603b7,_0x20fc52);}function _0x276318(){const _0x5708cc=_0x128f89([0x6c,0x6c,0x63,0x74,0x2d])+_0x52830e(_0xbf2407(_0x117550)),_0x22a774=window[_0x128f89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x128f89([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5708cc);return _0x22a774?window[_0x128f89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fdb36(_0x22a774),0x10)*_0x1b8d33:null;}function _0x23251f(_0x1a9ea4){return new window[(_0x128f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbfeee7,_0x242e75)=>{_0x1a9ea4[_0x128f89([0x74,0x68,0x65,0x6e])](_0xbfeee7,_0x242e75),window[_0x128f89([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x242e75,0x31cbf51c^_0x425baf);});}}_0x38ed38[_0x128f89([0x6f,0x6e])](_0x128f89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e145b,_0x292eb8)=>{if(_0x292eb8[0x0]!=_0x117550)return _0x452ea6(_0x128f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x292eb8[0x1]={..._0x292eb8[0x1],[_0x128f89([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x333c89};},{[_0x128f89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x128f89([0x68,0x69,0x67,0x68])}),_0x38ed38[_0x128f89([0x6f,0x6e])](_0x128f89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x285d58=>{_0x5620b9(_0x285d58[_0x128f89([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x268ce4=!0x0,_0x4bffc5(_0x285d58[_0x128f89([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x128f89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x128f89([0x6c,0x6f,0x77])}),_0x2f7984[_0x128f89([0x74,0x68,0x65,0x6e])](()=>{_0x268ce4||_0x452ea6(_0x128f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x86e5f(){return _0x38ed38[_0x128f89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x128f89([0x76,0x69,0x65,0x77])][_0x128f89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x128f89([0x61,0x75,0x74,0x6f]);}function _0x156294(){_0x38ed38[_0x128f89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x128f89([0x76,0x69,0x65,0x77])][_0x128f89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x128f89([0x61,0x75,0x74,0x6f]);}}function _0x3897f4(_0xab5be5){const _0x52d19d=[new window[(_0x128f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x541be8=>setTimeout(_0x541be8,0x31c31f10^_0x425baf)),_0x2f7984[_0x128f89([0x74,0x68,0x65,0x6e])](()=>new window[(_0x128f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327e9e=>{let _0x50bff5=0x0;_0x38ed38[_0x128f89([0x6d,0x6f,0x64,0x65,0x6c])][_0x128f89([0x6f,0x6e])](_0x128f89([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x495293,_0x338a8c)=>{_0x338a8c[0x0][_0x128f89([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50bff5++,_0x50bff5==(0x31ca2024^_0x425baf)&&(_0x327e9e(),_0x495293[_0x128f89([0x6f,0x66,0x66])]());});}))];return window[_0x128f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x128f89([0x72,0x61,0x63,0x65])](_0x52d19d)[_0x128f89([0x74,0x68,0x65,0x6e])](()=>_0xab5be5);}async function _0x1e9e43(){await _0x2f7984,_0x38ed38[_0x128f89([0x6d,0x6f,0x64,0x65,0x6c])][_0x128f89([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x203c05,_0x38ed38[_0x128f89([0x6d,0x6f,0x64,0x65,0x6c])][_0x128f89([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x203c05,_0x38ed38[_0x128f89([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x128f89([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35dedc(_0x222594){const _0x3ac72a=_0x516a43();_0x38ed38[_0x3ac72a]=_0x128f89([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x222594,_0x222594!=_0x128f89([0x56,0x61,0x6c,0x69,0x64])&&_0x1e9e43();}function _0x516a43(){const _0x4a33a3=window[_0x128f89([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x128f89([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x128f89([0x6e,0x6f,0x77])]())[_0x128f89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x128f89([0x2e]),'');let _0x3be584=_0x128f89([0x4e]);for(let _0x428e56=0x0;_0x428e56<_0x4a33a3[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x428e56+=0x2){let _0x5bf7fb=window[_0x128f89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a33a3[_0x128f89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x428e56,_0x428e56+0x2));_0x5bf7fb>=_0x56d013[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bf7fb-=_0x56d013[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3be584+=_0x56d013[_0x5bf7fb];}return _0x3be584;}function _0x52bdaf(){const _0xf69a5a=_0xb4f4f8[_0x128f89([0x73,0x70,0x6c,0x69,0x74])](_0x128f89([0x2e]));if(0x3!=_0xf69a5a[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x535510(_0xf69a5a[0x1]);function _0x535510(_0x28d648){const _0x48d110=_0x3409e8(_0x28d648);return _0x48d110&&_0x305d79()?_0x48d110:null;function _0x305d79(){const _0x154723=_0x48d110[_0x128f89([0x6a,0x74,0x69])],_0x110815=window[_0x128f89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x154723[_0x128f89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x154723[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x338dfd={..._0x48d110,[_0x128f89([0x6a,0x74,0x69])]:_0x154723[_0x128f89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x154723[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x338dfd[_0x128f89([0x76,0x63])],_0xbf2407(_0x338dfd)==_0x110815;}}}async function _0x47acaa(){let _0x2e4560=!0x0;try{const _0x34b8dc=_0xb4f4f8[_0x128f89([0x73,0x70,0x6c,0x69,0x74])](_0x128f89([0x2e])),[_0x383458,_0x44d4d5,_0x13d97f]=_0x34b8dc;return _0xb8190e(_0x383458),await _0x565fc0(_0x383458,_0x44d4d5,_0x13d97f),_0x2e4560;}catch{return!0x1;}function _0xb8190e(_0x5d2cb7){const _0xab497b=_0x3409e8(_0x5d2cb7);_0xab497b&&_0xab497b[_0x128f89([0x61,0x6c,0x67])]==_0x128f89([0x45,0x53,0x32,0x35,0x36])||(_0x2e4560=!0x1);}async function _0x565fc0(_0x348a32,_0x438fd7,_0x4de1e8){const _0x4aeac8=window[_0x128f89([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x128f89([0x66,0x72,0x6f,0x6d])](_0x155e9e(_0x4de1e8),_0x4a79a9=>_0x4a79a9[_0x128f89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25f79d=new window[(_0x128f89([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x128f89([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x348a32+_0x128f89([0x2e])+_0x438fd7),_0x17b0c2=window[_0x128f89([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x128f89([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17b0c2)return;const _0x1dac53=await _0x17b0c2[_0x128f89([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x128f89([0x6a,0x77,0x6b]),_0x5303f1,{[_0x128f89([0x6e,0x61,0x6d,0x65])]:_0x128f89([0x45,0x43,0x44,0x53,0x41]),[_0x128f89([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x128f89([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x128f89([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17b0c2[_0x128f89([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x128f89([0x6e,0x61,0x6d,0x65])]:_0x128f89([0x45,0x43,0x44,0x53,0x41]),[_0x128f89([0x68,0x61,0x73,0x68])]:{[_0x128f89([0x6e,0x61,0x6d,0x65])]:_0x128f89([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dac53,_0x4aeac8,_0x25f79d)||(_0x2e4560=!0x1);}}function _0x3409e8(_0x903b90){return _0x903b90[_0x128f89([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x128f89([0x65,0x79]))?JSON[_0x128f89([0x70,0x61,0x72,0x73,0x65])](_0x155e9e(_0x903b90)):null;}function _0x155e9e(_0x270488){return window[_0x128f89([0x61,0x74,0x6f,0x62])](_0x270488[_0x128f89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x128f89([0x2b]))[_0x128f89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x128f89([0x2f])));}function _0xbf2407(_0x23e231){let _0x57dc63=0x1505;function _0x1c6883(_0x113463){for(let _0x337ded=0x0;_0x337ded<_0x113463[_0x128f89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337ded++){const _0x21d961=_0x113463[_0x128f89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x337ded);_0x57dc63=(_0x57dc63<<0x5)+_0x57dc63+_0x21d961,_0x57dc63&=_0x57dc63;}}function _0x524c7b(_0x4d9840){Array[_0x128f89([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d9840)?_0x4d9840[_0x128f89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x524c7b):_0x4d9840&&typeof _0x4d9840==_0x128f89([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x128f89([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d9840)[_0x128f89([0x73,0x6f,0x72,0x74])]()[_0x128f89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53f0af,_0x2ffa11])=>{_0x1c6883(_0x53f0af),_0x524c7b(_0x2ffa11);}):_0x1c6883(window[_0x128f89([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d9840));}return _0x524c7b(_0x23e231),_0x57dc63>>>0x0;}function _0x52830e(_0x979aee){return _0x979aee[_0x128f89([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x128f89([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x128f89([0x30]));}function _0x3fdb36(_0x33c2b2){return _0x33c2b2[_0x128f89([0x73,0x70,0x6c,0x69,0x74])]('')[_0x128f89([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x128f89([0x6a,0x6f,0x69,0x6e])]('');}function _0x203c05(){}function _0x128f89(_0x36f9ab){const _0x3f4b32=_0x44bd;return _0x36f9ab[_0x3f4b32(0x18d)](_0x3d753b=>String[_0x3f4b32(0x1b4)](_0x3d753b))[_0x3f4b32(0x140)]('');}_0x35dedc(await _0x106e35());}(this);}[_0x19ccf3(0x18a)](){const _0x116b7d=_0x19ccf3;return this[_0x116b7d(0x13e)];}[_0x19ccf3(0x158)](){const _0x3d0852=_0x19ccf3,_0x46138a=_0x4eb628=>_0x14ce64(this[_0x3d0852(0x14e)][_0x3d0852(0x17e)],_0x4eb628);return[{'id':_0x3d0852(0x167),'commandName':_0x3d0852(0x159),'icon':_0x39c92c,'title':_0x46138a(_0x3d0852(0x19e)),'description':_0x46138a(_0x3d0852(0x178)),'execute':_0xe1fe9c=>{const _0x1a52ff=_0x3d0852;setTimeout(()=>_0xe1fe9c[_0x1a52ff(0x150)](_0x1a52ff(0x159)));}},{'id':_0x3d0852(0x197),'commandName':_0x3d0852(0x197),'icon':_0x2b5644,'title':_0x46138a(_0x3d0852(0x190)),'description':_0x46138a(_0x3d0852(0x147))},{'id':_0x3d0852(0x1a4),'commandName':_0x3d0852(0x1a4),'icon':_0x4b2a8b,'title':_0x46138a(_0x3d0852(0x1ac)),'description':_0x46138a(_0x3d0852(0x149))},{'id':_0x3d0852(0x174),'commandName':_0x3d0852(0x174),'icon':_0x5bf002,'title':_0x46138a(_0x3d0852(0x171)),'description':_0x46138a(_0x3d0852(0x155))},{'id':_0x3d0852(0x17a),'commandName':_0x3d0852(0x17a),'icon':_0x20bfd4,'title':_0x46138a(_0x3d0852(0x188)),'description':_0x46138a(_0x3d0852(0x146)),'aliases':[_0x3d0852(0x132),_0x3d0852(0x17c),_0x3d0852(0x186)]},{'id':_0x3d0852(0x132),'commandName':_0x3d0852(0x132),'icon':_0x20bfd4,'title':_0x46138a(_0x3d0852(0x141)),'description':_0x46138a(_0x3d0852(0x1ab)),'aliases':[_0x3d0852(0x17a),_0x3d0852(0x17c),_0x3d0852(0x186)]},{'id':_0x3d0852(0x13d),'commandName':_0x3d0852(0x13d),'icon':_0x21696c,'title':_0x46138a(_0x3d0852(0x175)),'description':_0x46138a(_0x3d0852(0x16b)),'execute':_0x279e43=>{const _0x3145e8=_0x3d0852;setTimeout(()=>_0x279e43[_0x3145e8(0x150)](_0x3145e8(0x13d)));}},{'id':_0x3d0852(0x165),'commandName':_0x3d0852(0x153),'icon':_0x20fb47,'title':_0x46138a(_0x3d0852(0x164)),'description':_0x46138a(_0x3d0852(0x148)),'execute':_0x295ff5=>{const _0x35a384=_0x3d0852;_0x295ff5[_0x35a384(0x150)](_0x35a384(0x153),{'value':_0x35a384(0x165)});}},{'id':_0x3d0852(0x14d),'commandName':_0x3d0852(0x153),'icon':_0x49b978,'title':_0x46138a(_0x3d0852(0x1b6)),'description':_0x46138a(_0x3d0852(0x163)),'execute':_0x49495a=>{const _0x2a350f=_0x3d0852;_0x49495a[_0x2a350f(0x150)](_0x2a350f(0x153),{'value':_0x2a350f(0x14d)});}},{'id':_0x3d0852(0x191),'commandName':_0x3d0852(0x153),'icon':_0x18dd6f,'title':_0x46138a(_0x3d0852(0x1b1)),'description':_0x46138a(_0x3d0852(0x193)),'execute':_0x43ecac=>{const _0x1a8e64=_0x3d0852;_0x43ecac[_0x1a8e64(0x150)](_0x1a8e64(0x153),{'value':_0x1a8e64(0x191)});}},{'id':_0x3d0852(0x16e),'commandName':_0x3d0852(0x153),'icon':_0x2737a8,'title':_0x46138a(_0x3d0852(0x1a1)),'description':_0x46138a(_0x3d0852(0x18e)),'execute':_0x54bb9d=>{const _0x27c0a5=_0x3d0852;_0x54bb9d[_0x27c0a5(0x150)](_0x27c0a5(0x153),{'value':_0x27c0a5(0x16e)});}},{'id':_0x3d0852(0x179),'commandName':_0x3d0852(0x153),'icon':_0x3ee60c,'title':_0x46138a(_0x3d0852(0x19c)),'description':_0x46138a(_0x3d0852(0x14c)),'execute':_0x581be1=>{const _0x25f823=_0x3d0852;_0x581be1[_0x25f823(0x150)](_0x25f823(0x153),{'value':_0x25f823(0x179)});}},{'id':_0x3d0852(0x169),'commandName':_0x3d0852(0x153),'icon':_0x34c90d,'title':_0x46138a(_0x3d0852(0x173)),'description':_0x46138a(_0x3d0852(0x194)),'execute':_0x43f9ff=>{const _0x1be692=_0x3d0852;_0x43f9ff[_0x1be692(0x150)](_0x1be692(0x153),{'value':_0x1be692(0x169)});}},{'id':_0x3d0852(0x142),'commandName':_0x3d0852(0x142),'icon':_0x460212,'title':_0x46138a(_0x3d0852(0x157)),'description':_0x46138a(_0x3d0852(0x1a2))},{'id':_0x3d0852(0x183),'commandName':_0x3d0852(0x183),'icon':_0x44c358,'title':_0x46138a(_0x3d0852(0x1ae)),'description':_0x46138a(_0x3d0852(0x1b5))},{'id':_0x3d0852(0x177),'commandName':_0x3d0852(0x177),'icon':_0x46df30,'title':_0x46138a(_0x3d0852(0x1b0)),'description':_0x46138a(_0x3d0852(0x13c))},{'id':_0x3d0852(0x19f),'commandName':_0x3d0852(0x19f),'title':_0x46138a(_0x3d0852(0x145)),'description':_0x46138a(_0x3d0852(0x156))},{'id':_0x3d0852(0x162),'commandName':_0x3d0852(0x162),'icon':_0x168a9a,'title':_0x46138a(_0x3d0852(0x143)),'description':_0x46138a(_0x3d0852(0x1a0))},{'id':_0x3d0852(0x13a),'commandName':_0x3d0852(0x13a),'icon':_0x20a47e,'title':_0x46138a(_0x3d0852(0x168)),'description':_0x46138a(_0x3d0852(0x1a9)),'aliases':[_0x3d0852(0x15f)]},{'id':_0x3d0852(0x15a),'commandName':_0x3d0852(0x15a),'icon':_0x23aebb,'title':_0x46138a(_0x3d0852(0x14b)),'description':_0x46138a(_0x3d0852(0x181))},{'id':_0x3d0852(0x161),'commandName':_0x3d0852(0x161),'icon':_0x24380c,'title':_0x46138a(_0x3d0852(0x199)),'description':_0x46138a(_0x3d0852(0x1a5))},{'id':_0x3d0852(0x1a8),'commandName':_0x3d0852(0x1a8),'icon':_0x3b9717,'title':_0x46138a(_0x3d0852(0x1ad)),'description':_0x46138a(_0x3d0852(0x154))},{'id':_0x3d0852(0x139),'commandName':_0x3d0852(0x139),'icon':_0x167971,'title':_0x46138a(_0x3d0852(0x138)),'description':_0x46138a(_0x3d0852(0x1af))}];}[_0x19ccf3(0x180)](_0x4d0053){const _0x814dd4=_0x19ccf3;return _0x4d0053[_0x814dd4(0x151)]?_0x4d0053[_0x814dd4(0x151)](this[_0x814dd4(0x14e)]):!_0x4d0053[_0x814dd4(0x192)]||this[_0x814dd4(0x14e)][_0x814dd4(0x1b2)][_0x814dd4(0x185)](_0x4d0053[_0x814dd4(0x192)])[_0x814dd4(0x151)];}[_0x19ccf3(0x18b)](_0x5e00ea){const _0x398986=_0x19ccf3;if(_0x5e00ea[_0x398986(0x150)])_0x5e00ea[_0x398986(0x150)](this[_0x398986(0x14e)]);else{if(!_0x5e00ea[_0x398986(0x192)])throw new _0x48bef8(_0x398986(0x1aa),this[_0x398986(0x14e)],{'commandDefinition':_0x5e00ea});this[_0x398986(0x14e)][_0x398986(0x150)](_0x5e00ea[_0x398986(0x192)]);}}}function j(_0x5076e1,_0x219862){const _0x3b1b3e=_0x19ccf3;return _0x5076e1[_0x3b1b3e(0x152)]<_0x219862[_0x3b1b3e(0x152)]?-0x1:_0x5076e1[_0x3b1b3e(0x152)]>_0x219862[_0x3b1b3e(0x152)]?0x1:0x0;}function L(_0xbbd0b0,_0x1f94b6){const _0x4aa783=_0x19ccf3;return _0x1f94b6+'-'+_0xbbd0b0[_0x4aa783(0x134)]()[_0x4aa783(0x19b)]('\x20')[_0x4aa783(0x140)]('-');}
|