@ckeditor/ckeditor5-format-painter 45.2.1-alpha.5 → 45.2.1-alpha.6
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/format-painter.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e}).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),I=s()(i()),g=c()(u);I.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${g}) 3 3,text}`,""]);const f=I},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(l);else{var d=i(l,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:d,references:1})}s.push(g)}return s}function i(t,n){var e=n.domAPI(n);e.update(t);return function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap&&n.supports===t.supports&&n.layer===t.layer)return;e.update(t=n)}else e.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=e(o[s]);n[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var I=e(o[u]);0===n[I].references&&(n[I].updater(),n.splice(I,1))}o=c}}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>K,FormatPainterEditing:()=>N,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=e(782);function n(t,e){const r=c();return(n=function(t,n){return r[t-=485]})(t,e)}const i=n;!function(t){const e=n,r=t();for(;;)try{if(139414===-parseInt(e(485))/1+parseInt(e(492))/2+-parseInt(e(489))/3+parseInt(e(486))/4*(-parseInt(e(494))/5)+-parseInt(e(487))/6+parseInt(e(495))/7*(parseInt(e(497))/8)+parseInt(e(490))/9*(parseInt(e(488))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);const o=i(493),s=i(496),a=i(491);function c(){const t=["30eaPqID","401331HhCypY","1558863thZvzd","ck-format-painter-active","28028xqYARH","copyFormat","2645OYKcuO","1871821yNwRtx","pasteFormat","8xEAbpo","188719AGDJpw","1724cwsXYz","666774zdJTBt"];return(c=function(){return t})()}const u=g;function I(){const t=["filter","1290805WuVJtb","getAttributeProperties","get","20565tSehZy","3018NUEzeS","change:value","44AfRAns","schema","3941nUZilT","isFormatting","getAttributes","reset","10494tWfSXU","1784690ZsREaU","model","commands","editor","fromEntries","from","document","execute","refresh","3091203rubrzb","_getFormattingAttributes","value","1176128NXEDXx","selection","53pcvyqf","change:isEnabled","164yUeTGf"];return(I=function(){return t})()}function g(t,n){const e=I();return(g=function(t,n){return e[t-=368]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(201329===parseInt(n(398))/1*(-parseInt(n(383))/2)+-parseInt(n(374))/3*(-parseInt(n(369))/4)+parseInt(n(371))/5+-parseInt(n(375))/6*(parseInt(n(379))/7)+-parseInt(n(396))/8+-parseInt(n(393))/9+parseInt(n(384))/10*(parseInt(n(377))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class f extends t.Command{constructor(t){const n=g;super(t),this[n(395)]=void 0,this.on(n(368),(t,e,r)=>{r||this[n(382)]()}),this.on(n(376),()=>t[n(386)][n(373)](s)[n(392)]())}[u(391)](){const t=u;this[t(395)]=this[t(394)]()}[u(382)](){this[u(395)]=void 0}[u(394)](){const t=u,n=this[t(387)][t(385)],e=n[t(390)][t(397)];return Object[t(388)](Array[t(389)](e[t(381)]())[t(370)](([e])=>n[t(378)][t(372)](e)[t(380)]))}}var l=e(584);const d=p;function M(){const t=["isCollapsed","schema","setAttribute","getAttributeProperties","678450zaAYIN","getRanges","isBlock","from","81bPuqMg","modifySelection","10913KOOjkF","change","427653vlIdbI","createSelection","createRange","_createRangeOnEntireWord","forward","selection","removeSelectionAttribute","word","removeAttribute","backward","isFormatting","createRangeOn","getItems","7858950PmBkyg","model","getAttributes","_getFormattingItems","607536QReXnu","25FzHIoL","2fFgEDT","getValidRanges","editor","381764XqkEjh","document","3588qLcilX","_removeFormatCommand","44044847ApPyvy","execute","_getFormattingAttributes","getSelectedBlocks","getFirstPosition","getLastPosition","setSelection"];return(M=function(){return t})()}function p(t,n){const e=M();return(p=function(t,n){return e[t-=262]})(t,n)}!function(t){const n=p,e=t();for(;;)try{if(589318===parseInt(n(294))/1*(-parseInt(n(267))/2)+parseInt(n(275))/3+-parseInt(n(297))/4*(parseInt(n(293))/5)+parseInt(n(299))/6*(-parseInt(n(273))/7)+parseInt(n(292))/8*(-parseInt(n(271))/9)+-parseInt(n(288))/10+parseInt(n(301))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(M);class A extends t.Command{constructor(t){const n=p;super(t),this[n(300)]=new m(t)}[d(302)](t={}){const n=d,e=this[n(296)][n(289)],r=e[n(298)][n(280)],i=Array[n(270)](r[n(268)]()),o=r[n(263)]?[this[n(278)](e,r)]:i;e[n(274)](r=>{const s=n;r[s(262)](o),this[s(300)][s(302)]();for(const n in t)for(const i of e[s(264)][s(295)](o,n))r[s(265)](n,t[n],i);r[s(262)](i)})}[d(278)](t,n){const e=d,r=t[e(276)](n);t[e(272)](r,{unit:e(282),direction:e(284)});const i=r[e(305)]();t[e(272)](r,{unit:e(282),direction:e(279)});const o=r[e(306)]();return t[e(277)](i,o)}}class m extends t.Command{[d(302)](){const t=d,n=this[t(296)][t(289)],e=n[t(264)];n[t(274)](r=>{const i=t;for(const t of this[i(291)](n[i(298)][i(280)],e))if(t.is(i(280)))for(const n of this[i(303)](t,e))r[i(281)](n);else{const n=r[i(286)](t);for(const o of this[i(303)](t,e))r[i(283)](o,n)}})}*[d(291)](t,n){const e=d,r=t=>!!(0,l.first)(this[e(303)](t,n));for(const i of t[e(268)]())for(const t of i[e(287)]())!n[e(269)](t)&&r(t)&&(yield t);for(const n of t[e(304)]())r(n)&&(yield n);r(t)&&(yield t)}*[d(303)](t,n){const e=d;for(const[r]of t[e(290)]()){const t=n[e(266)](r);t&&t[e(285)]&&(yield r)}}}const w=D;function h(){const t=["formatPainterLicenseKeyUsageLimit","2577400HDfqCo","40kqkEYV","isOfficialPlugin","init","formatPainterLicenseKeyTrialLimit","formatPainterLicenseKeyNotAllowed","pluginName","16sUGWks","25697LIcBdo","FormatPainterEditing","115610aeerWB","formatPainterLicenseKeyDomainLimit","11599951tUaKkz","destroy","1479336QxRrgX","featureNotAllowed","formatPainterLicenseKeyEvaluationLimit","11aAoGaU","domainLimit","_showLicenseError","editor","778317CbwyLU","formatPainterLicenseKeyExpired","1448aPpdQZ","trialLimit","702432lONxYY","formatPainterLicenseKeyValid","formatPainterLicenseKeyInvalid","licenseKey","FormatPainter","evaluationLimit","add","expired","get","usageLimit","isPremiumPlugin","commands","_licenseKeyCheckInterval","config","invalid"];return(h=function(){return t})()}function D(t,n){const e=h();return(D=function(t,n){return e[t-=200]})(t,n)}!function(t){const n=D,e=t();for(;;)try{if(592927===-parseInt(n(231))/1*(parseInt(n(224))/2)+parseInt(n(235))/3*(parseInt(n(221))/4)+parseInt(n(214))/5+-parseInt(n(228))/6+-parseInt(n(222))/7*(-parseInt(n(237))/8)+parseInt(n(239))/9*(parseInt(n(215))/10)+-parseInt(n(226))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class N extends t.Plugin{[w(201)];[w(210)];static get[w(220)](){return w(223)}static get[w(216)](){return!0}static get[w(208)](){return!0}[w(217)](){const t=w,n=this[t(234)];n[t(209)][t(204)](o,new f(n)),n[t(209)][t(204)](s,new A(n)),this[t(201)]=this[t(234)][t(211)][t(206)](t(201));const e=this[t(234)];this[t(210)]=setInterval(()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(240)==o||n(200)==o||n(236)==o||n(225)==o||n(219)==o||n(230)==o||n(218)==o||n(213)==o){delete e[i],r=o,clearInterval(this[n(210)]),this[n(210)]=void 0;break}}n(200)==r&&e[n(233)](n(212)),n(236)==r&&e[n(233)](n(205)),n(225)==r&&e[n(233)](n(232)),n(219)==r&&e[n(233)](n(229),n(202)),n(230)==r&&e[n(233)](n(203)),n(218)==r&&e[n(233)](n(238)),n(213)==r&&e[n(233)](n(207))},1e3)}[w(227)](){const t=w;super[t(227)](),this[t(210)]&&clearInterval(this[t(210)])}}var y=e(311),S=e(783),x=e(355),C=e(673),j=e.n(C),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),P=e.n(T),k=e(357),U=e.n(k),z=e(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();j()(z.A,Y);z.A&&z.A.locals&&z.A.locals;function F(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}const Q=Z;function Z(t,n){const e=O();return(Z=function(t,n){return e[t-=292]})(t,n)}function O(){const t=["bind","menuitemcheckbox","Paste text formatting","switchbutton","Keeps the painter on after setting the formatting.","reset","Paint formatting","ck-format-painter-dropdown","get","change","isOn","menu","editing","view","4usdhsM","isOfficialPlugin","2714670PUrLjh","formatPainter","addObserver","pluginName","add","keystrokes","locale","stopListening","_copyFormatting","href","buttonView","ariaLiveAnnouncer","Ctrl+Alt+V","execute","document","addKeystrokeInfos","1678113nZWBfc","214631rLjVMC","value","11469680XCqkfs","init","class","isEnabled","276057FvJCte","FormatPainterUI","mouseup","_pasteFormatting","1059895QtZpXh","removeClass","listenTo","afterInit","isPremiumPlugin","_finishPainting","fromCharCode","change:value","componentFactory","Continuous painting","map","addClass","192YxWoUX","announce","accessibility","change:isEnabled","editor","Formatting copied.","set","Esc","join","focus","high","Copy text formatting","Ctrl+Alt+C","4QXpzKd","1217010nLJmND","commands","_toggleSpecialCursor","window","destroy","Pasted formatting.","roots"];return(O=function(){return t})()}!function(t){const n=Z,e=t();for(;;)try{if(604821===parseInt(n(329))/1*(parseInt(n(310))/2)+parseInt(n(328))/3*(parseInt(n(364))/4)+parseInt(n(339))/5+parseInt(n(365))/6+-parseInt(n(312))/7+-parseInt(n(351))/8*(-parseInt(n(335))/9)+-parseInt(n(331))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(O);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Q(315)](){return Q(336)}static get[Q(311)](){return!0}static get[Q(343)](){return!0}[Q(332)](){const t=Q,n=this[t(355)];n[t(308)][t(309)][t(314)](S.ClickObserver),n[t(353)][t(327)]({keystrokes:[{label:F(n[t(318)],t(362)),keystroke:t(363)},{label:F(n[t(318)],t(298)),keystroke:t(324)}]}),n.ui[t(347)][t(316)](t(313),e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),s=n[r(366)][r(304)](o);i[r(322)][r(357)]({label:F(n[r(318)],r(302)),icon:x.IconPaintRoller,keystroke:r(363),tooltip:!0}),i[r(333)]=r(303),s&&(i[r(296)](r(334)).to(s,r(334)),this[r(341)](s,r(354),(t,n,e)=>{e||this[r(344)]()}),i[r(322)][r(296)](r(306)).to(s,r(330),t=>!!t),this[r(341)](n,r(293),()=>this[r(367)](!1)),this[r(341)](s,r(346),(t,n,e)=>{this[r(367)](!!e)}));const a=new y.ViewModel({withText:!0,label:F(n[r(318)],r(348)),tooltip:F(n[r(318)],r(300)),isOn:!1,role:r(297)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(299),model:a}]),{role:r(307)});const c=()=>{const t=r;this[t(320)](),this[t(341)](l.global[t(292)][t(326)],t(337),()=>{const n=t;this[n(338)](),a[n(306)]||this[n(344)]()})};return this[r(341)](i,r(325),()=>{const t=r;a[t(306)]=!a[t(306)]}),this[r(341)](i[r(322)],r(325),()=>{const t=r;n[t(308)][t(309)][t(360)](),i[t(322)][t(306)]?this[t(344)]():c()}),n[r(317)][r(357)](r(363),(t,n)=>{const e=r;c(),a[e(306)]=!0,n()},{priority:r(361)}),n[r(317)][r(357)](r(324),(t,n)=>{const e=r;i[e(322)][e(306)]&&(this[e(338)](),a[e(306)]||this[e(344)](),n())},{priority:r(361)}),n[r(317)][r(357)](r(358),(t,n)=>{const e=r;i[e(322)][e(306)]&&(a[e(306)]=!1,this[e(344)](),n())}),i})}[Q(342)](){!async function(t){const n=M([105,88,78,104,106,72,120,87,77,68,115,100,48,101,86,80,102,74,116,56,121,50,118,97,99,110,65,84,103,85,81,57,119,90,49,98,107,89,54,111,82,73,66,117,55,52,122,70,108,79,112,83,67,114,113,109,53,76,71,51,75,69]),e=window[M([68,97,116,101])][M([110,111,119])](),r=t[M([101,100,105,116,111,114])],i=new(window[M([80,114,111,109,105,115,101])])(t=>{r[M([111,110,99,101])](M([114,101,97,100,121]),t)}),o={[M([107,116,121])]:M([69,67]),[M([117,115,101])]:M([115,105,103]),[M([99,114,118])]:M([80,45,50,53,54]),[M([120])]:M([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[M([121])]:M([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[M([97,108,103])]:M([69,83,50,53,54])},s=r[M([99,111,110,102,105,103])][M([103,101,116])](M([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[M([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[M([116,104,101,110])](()=>new(window[M([80,114,111,109,105,115,101])])(t=>{let n=0;r[M([109,111,100,101,108])][M([111,110])](M([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(e,r)=>{r[0][M([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[M([111,102,102])]())})}))];return window[M([80,114,111,109,105,115,101])][M([114,97,99,101])](n)[M([116,104,101,110])](()=>t)}function c(t){return t[M([115,116,97,114,116,115,87,105,116,104])](M([101,121]))?JSON[M([112,97,114,115,101])](u(t)):null}function u(t){return window[M([97,116,111,98])](t[M([114,101,112,108,97,99,101])](/-/g,M([43]))[M([114,101,112,108,97,99,101])](/_/g,M([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[M([108,101,110,103,116,104])];e++){const r=t[M([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[M([105,115,65,114,114,97,121])](n)?n[M([102,111,114,69,97,99,104])](t):n&&typeof n==M([111,98,106,101,99,116])?Object[M([101,110,116,114,105,101,115])](n)[M([115,111,114,116])]()[M([102,111,114,69,97,99,104])](([n,r])=>{e(n),t(r)}):e(window[M([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[M([116,111,83,116,114,105,110,103])](16)[M([112,97,100,83,116,97,114,116])](8,M([48]))}function f(t){return t[M([115,112,108,105,116])]("")[M([114,101,118,101,114,115,101])]()[M([106,111,105,110])]("")}function d(){}function M(t){const n=Z;return t[n(349)](t=>String[n(345)](t))[n(359)]("")}!function(t){const e=function(){const t=window[M([83,116,114,105,110,103])](window[M([112,101,114,102,111,114,109,97,110,99,101])][M([110,111,119])]())[M([114,101,112,108,97,99,101])](M([46]),"");let e=M([105]);for(let r=0;r<t[M([108,101,110,103,116,104])];r+=2){let i=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[M([108,101,110,103,116,104])]&&(i-=n[M([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=M([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=M([86,97,108,105,100])&&async function(){await i,r[M([109,111,100,101,108])][M([99,104,97,110,103,101])]=d,r[M([109,111,100,101,108])][M([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,r[M([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](M([109,111,100,101,108]))}()}(await async function(){let t,n=null,d=null;try{return s==M([71,80,76])?M([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[M([115,112,108,105,116])](M([46]));return 3!=t[M([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[M([106,116,105])],e=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](t[M([108,101,110,103,116,104])]-8),16),r={...n,[M([106,116,105])]:t[M([115,117,98,115,116,114,105,110,103])](0,t[M([108,101,110,103,116,104])]-8)};return delete r[M([118,99])],I(r)==e}}}(),t?(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[M([80,114,111,109,105,115,101])])(a=>{if(o())return a(M([86,97,108,105,100]));s(),r[M([100,101,99,111,114,97,116,101])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,l.uid)();function d(t){return!!t&&(typeof t===M([111,98,106,101,99,116])||typeof t===M([102,117,110,99,116,105,111,110]))&&typeof t[M([116,104,101,110])]===M([102,117,110,99,116,105,111,110])&&typeof t[M([99,97,116,99,104])]===M([102,117,110,99,116,105,111,110])}function p(r){c(r)[M([116,104,101,110])](t=>t&&t[M([115,116,97,116,117,115])]==M([111,107])?g(I(u+n))!=t[M([118,101,114,105,102,105,99,97,116,105,111,110])]?M([85,115,97,103,101,76,105,109,105,116]):M([86,97,108,105,100]):M([85,115,97,103,101,76,105,109,105,116]))[M([116,104,101,110])](t=>(o(),t),()=>{const t=s();return null==t?(o(),M([86,97,108,105,100])):M(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[M([116,104,101,110])](a)[M([99,97,116,99,104])](()=>{a(M([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function o(){const n=M([108,108,99,116,45])+g(I(t)),r=f(g(window[M([77,97,116,104])][M([99,101,105,108])](e/i)));window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([115,101,116,73,116,101,109])](n,r)}function s(){const n=M([108,108,99,116,45])+g(I(t)),e=window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([103,101,116,73,116,101,109])](n);return e?window[M([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[M([80,114,111,109,105,115,101])])((n,e)=>{t[M([116,104,101,110])](n,e),window[M([115,101,116,84,105,109,101,111,117,116])](e,12e4)})}}r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(n,e)=>{if(e[0]!=t)return a(M([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[M([114,101,113,117,101,115,116,73,100])]:u}},{[M([112,114,105,111,114,105,116,121])]:M([104,105,103,104])}),r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[M([114,101,116,117,114,110])])&&(c=!0,p(t[M([114,101,116,117,114,110])]))},{[M([112,114,105,111,114,105,116,121])]:M([108,111,119])}),i[M([116,104,101,110])](()=>{c||a(M([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==M([97,117,116,111])}function s(){r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=M([97,117,116,111])}}(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[M([106,116,105])])),await async function(){let t=!0;try{const r=s[M([115,112,108,105,116])](M([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch{return!1}function n(n){const e=c(n);e&&e[M([97,108,103])]==M([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[M([85,105,110,116,56,65,114,114,97,121])][M([102,114,111,109])](u(r),t=>t[M([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[M([84,101,120,116,69,110,99,111,100,101,114])]))[M([101,110,99,111,100,101])](n+M([46])+e),a=window[M([99,114,121,112,116,111])][M([115,117,98,116,108,101])];if(!a)return;const c=await a[M([105,109,112,111,114,116,75,101,121])](M([106,119,107]),o,{[M([110,97,109,101])]:M([69,67,68,83,65]),[M([110,97,109,101,100,67,117,114,118,101])]:M([80,45,50,53,54])},!1,[M([118,101,114,105,102,121])]);await a[M([118,101,114,105,102,121])]({[M([110,97,109,101])]:M([69,67,68,83,65]),[M([104,97,115,104])]:{[M([110,97,109,101])]:M([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[M([102,101,97,116,117,114,101,115])];return!(!n||!n[M([105,110,99,108,117,100,101,115])](M([42]))&&!n[M([105,110,99,108,117,100,101,115])](M([70,80]))&&!n[M([105,110,99,108,117,100,101,115])](M([80,80])))}()?function(){const n=[M([101,118,97,108,117,97,116,105,111,110]),M([116,114,105,97,108])][M([105,110,99,108,117,100,101,115])](t[M([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1750291200;return t[M([101,120,112])]<n}()?M([69,120,112,105,114,101,100]):function(){const n=Z,e=t[M([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[M([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[M([108,111,99,97,116,105,111,110])][n(321)]);if(e[M([105,110,99,108,117,100,101,115])](r))return!0;const i=r[M([115,112,108,105,116])](M([46]));return e[M([102,105,108,116,101,114])](t=>t[M([105,110,99,108,117,100,101,115])](M([42])))[M([109,97,112])](t=>t[M([115,112,108,105,116])](M([46])))[M([102,105,108,116,101,114])](t=>t[M([108,101,110,103,116,104])]<=i[M([108,101,110,103,116,104])])[M([109,97,112])](t=>Array(i[M([108,101,110,103,116,104])]-t[M([108,101,110,103,116,104])])[M([102,105,108,108])](t[0]===M([42])?M([42]):"")[M([99,111,110,99,97,116])](t))[M([115,111,109,101])](t=>i[M([101,118,101,114,121])]((n,e)=>t[e]===n||t[e]===M([42])))}()?(t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([101,118,97,108,117,97,116,105,111,110])&&(n=a(M([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([116,114,105,97,108])&&(n=a(M([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[M([80,114,111,109,105,115,101])])((t,e)=>{n[M([116,104,101,110])](t,e),d[M([116,104,101,110])](n=>{n!=M([86,97,108,105,100])&&t(n)},e)}):n||d||M([86,97,108,105,100]))):M([68,111,109,97,105,110,76,105,109,105,116]):M([78,111,116,65,108,108,111,119,101,100]):M([73,110,118,97,108,105,100])):M([73,110,118,97,108,105,100]))}catch{return M([73,110,118,97,108,105,100])}}())}(this)}[Q(367)](t){const n=Q;this[n(355)][n(308)][n(309)][n(305)](e=>{const r=n;for(const n of this[r(355)][r(308)][r(309)][r(326)][r(295)])t?e[r(350)](a,n):e[r(340)](a,n)})}[Q(320)](){const t=Q,{editor:n}=this;n[t(325)](o),n.ui[t(323)][t(352)](F(n[t(318)],t(356)))}[Q(338)](){const t=Q,{editor:n}=this,e=n[t(366)][t(304)](o)[t(330)];n[t(325)](s,e),n.ui[t(323)][t(352)](F(n[t(318)],t(294)))}[Q(344)](){const t=Q;this[t(355)][t(366)][t(304)](o)[t(301)](),this[t(319)](l.global[t(292)][t(326)],t(337))}}var V=G;function W(){var t=["21OTcuZA","121748dxlMQs","1633030fBLcQj","67380NAGzau","requires","22920ukrCEJ","pluginName","5228430YuqqMS","21UVWORm","FormatPainter","1347402PmLbqp","10746OmIJrE","isPremiumPlugin","isOfficialPlugin","266632evAhmX"];return(W=function(){return t})()}function G(t,n){var e=W();return(G=function(t,n){return e[t-=356]})(t,n)}!function(t){for(var n=G,e=t();;)try{if(619270===parseInt(n(358))/1+-parseInt(n(365))/2+parseInt(n(363))/3*(-parseInt(n(356))/4)+-parseInt(n(357))/5+-parseInt(n(362))/6+parseInt(n(370))/7*(-parseInt(n(369))/8)+-parseInt(n(366))/9*(-parseInt(n(360))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class K extends t.Plugin{static get[V(359)](){return[N,_]}static get[V(361)](){return V(364)}static get[V(368)](){return!0}static get[V(367)](){return!0}}function R(t,n){var e=X();return(R=function(t,n){return e[t-=344]})(t,n)}function X(){var t=["592092jrKBIU","1981KbnkSL","22516175VVDBKz","130490iulByg","2334vJQgBN","46AvAenc","2945yuAgBq","19168VcRnOS","145389FPihxC","12AroQHU","1026nXWYmW","4201496rSePje"];return(X=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(766759===parseInt(n(354))/1+-parseInt(n(347))/2*(-parseInt(n(350))/3)+-parseInt(n(353))/4+-parseInt(n(348))/5*(-parseInt(n(346))/6)+parseInt(n(355))/7*(-parseInt(n(349))/8)+parseInt(n(352))/9*(-parseInt(n(345))/10)+-parseInt(n(344))/11*(-parseInt(n(351))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e}).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),I=s()(i()),g=c()(u);I.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${g}) 3 3,text}`,""]);const f=I},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(l);else{var d=i(l,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:d,references:1})}s.push(g)}return s}function i(t,n){var e=n.domAPI(n);e.update(t);return function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap&&n.supports===t.supports&&n.layer===t.layer)return;e.update(t=n)}else e.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=e(o[s]);n[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var I=e(o[u]);0===n[I].references&&(n[I].updater(),n.splice(I,1))}o=c}}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>W,FormatPainterEditing:()=>N,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=e(782);function n(t,e){const r=c();return(n=function(t,n){return r[t-=485]})(t,e)}const i=n;!function(t){const e=n,r=t();for(;;)try{if(139414===-parseInt(e(485))/1+parseInt(e(492))/2+-parseInt(e(489))/3+parseInt(e(486))/4*(-parseInt(e(494))/5)+-parseInt(e(487))/6+parseInt(e(495))/7*(parseInt(e(497))/8)+parseInt(e(490))/9*(parseInt(e(488))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);const o=i(493),s=i(496),a=i(491);function c(){const t=["30eaPqID","401331HhCypY","1558863thZvzd","ck-format-painter-active","28028xqYARH","copyFormat","2645OYKcuO","1871821yNwRtx","pasteFormat","8xEAbpo","188719AGDJpw","1724cwsXYz","666774zdJTBt"];return(c=function(){return t})()}const u=g;function I(){const t=["filter","1290805WuVJtb","getAttributeProperties","get","20565tSehZy","3018NUEzeS","change:value","44AfRAns","schema","3941nUZilT","isFormatting","getAttributes","reset","10494tWfSXU","1784690ZsREaU","model","commands","editor","fromEntries","from","document","execute","refresh","3091203rubrzb","_getFormattingAttributes","value","1176128NXEDXx","selection","53pcvyqf","change:isEnabled","164yUeTGf"];return(I=function(){return t})()}function g(t,n){const e=I();return(g=function(t,n){return e[t-=368]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(201329===parseInt(n(398))/1*(-parseInt(n(383))/2)+-parseInt(n(374))/3*(-parseInt(n(369))/4)+parseInt(n(371))/5+-parseInt(n(375))/6*(parseInt(n(379))/7)+-parseInt(n(396))/8+-parseInt(n(393))/9+parseInt(n(384))/10*(parseInt(n(377))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class f extends t.Command{constructor(t){const n=g;super(t),this[n(395)]=void 0,this.on(n(368),(t,e,r)=>{r||this[n(382)]()}),this.on(n(376),()=>t[n(386)][n(373)](s)[n(392)]())}[u(391)](){const t=u;this[t(395)]=this[t(394)]()}[u(382)](){this[u(395)]=void 0}[u(394)](){const t=u,n=this[t(387)][t(385)],e=n[t(390)][t(397)];return Object[t(388)](Array[t(389)](e[t(381)]())[t(370)](([e])=>n[t(378)][t(372)](e)[t(380)]))}}var l=e(584);const d=p;function M(){const t=["isCollapsed","schema","setAttribute","getAttributeProperties","678450zaAYIN","getRanges","isBlock","from","81bPuqMg","modifySelection","10913KOOjkF","change","427653vlIdbI","createSelection","createRange","_createRangeOnEntireWord","forward","selection","removeSelectionAttribute","word","removeAttribute","backward","isFormatting","createRangeOn","getItems","7858950PmBkyg","model","getAttributes","_getFormattingItems","607536QReXnu","25FzHIoL","2fFgEDT","getValidRanges","editor","381764XqkEjh","document","3588qLcilX","_removeFormatCommand","44044847ApPyvy","execute","_getFormattingAttributes","getSelectedBlocks","getFirstPosition","getLastPosition","setSelection"];return(M=function(){return t})()}function p(t,n){const e=M();return(p=function(t,n){return e[t-=262]})(t,n)}!function(t){const n=p,e=t();for(;;)try{if(589318===parseInt(n(294))/1*(-parseInt(n(267))/2)+parseInt(n(275))/3+-parseInt(n(297))/4*(parseInt(n(293))/5)+parseInt(n(299))/6*(-parseInt(n(273))/7)+parseInt(n(292))/8*(-parseInt(n(271))/9)+-parseInt(n(288))/10+parseInt(n(301))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(M);class A extends t.Command{constructor(t){const n=p;super(t),this[n(300)]=new m(t)}[d(302)](t={}){const n=d,e=this[n(296)][n(289)],r=e[n(298)][n(280)],i=Array[n(270)](r[n(268)]()),o=r[n(263)]?[this[n(278)](e,r)]:i;e[n(274)](r=>{const s=n;r[s(262)](o),this[s(300)][s(302)]();for(const n in t)for(const i of e[s(264)][s(295)](o,n))r[s(265)](n,t[n],i);r[s(262)](i)})}[d(278)](t,n){const e=d,r=t[e(276)](n);t[e(272)](r,{unit:e(282),direction:e(284)});const i=r[e(305)]();t[e(272)](r,{unit:e(282),direction:e(279)});const o=r[e(306)]();return t[e(277)](i,o)}}class m extends t.Command{[d(302)](){const t=d,n=this[t(296)][t(289)],e=n[t(264)];n[t(274)](r=>{const i=t;for(const t of this[i(291)](n[i(298)][i(280)],e))if(t.is(i(280)))for(const n of this[i(303)](t,e))r[i(281)](n);else{const n=r[i(286)](t);for(const o of this[i(303)](t,e))r[i(283)](o,n)}})}*[d(291)](t,n){const e=d,r=t=>!!(0,l.first)(this[e(303)](t,n));for(const i of t[e(268)]())for(const t of i[e(287)]())!n[e(269)](t)&&r(t)&&(yield t);for(const n of t[e(304)]())r(n)&&(yield n);r(t)&&(yield t)}*[d(303)](t,n){const e=d;for(const[r]of t[e(290)]()){const t=n[e(266)](r);t&&t[e(285)]&&(yield r)}}}const w=D;function h(){const t=["formatPainterLicenseKeyUsageLimit","2577400HDfqCo","40kqkEYV","isOfficialPlugin","init","formatPainterLicenseKeyTrialLimit","formatPainterLicenseKeyNotAllowed","pluginName","16sUGWks","25697LIcBdo","FormatPainterEditing","115610aeerWB","formatPainterLicenseKeyDomainLimit","11599951tUaKkz","destroy","1479336QxRrgX","featureNotAllowed","formatPainterLicenseKeyEvaluationLimit","11aAoGaU","domainLimit","_showLicenseError","editor","778317CbwyLU","formatPainterLicenseKeyExpired","1448aPpdQZ","trialLimit","702432lONxYY","formatPainterLicenseKeyValid","formatPainterLicenseKeyInvalid","licenseKey","FormatPainter","evaluationLimit","add","expired","get","usageLimit","isPremiumPlugin","commands","_licenseKeyCheckInterval","config","invalid"];return(h=function(){return t})()}function D(t,n){const e=h();return(D=function(t,n){return e[t-=200]})(t,n)}!function(t){const n=D,e=t();for(;;)try{if(592927===-parseInt(n(231))/1*(parseInt(n(224))/2)+parseInt(n(235))/3*(parseInt(n(221))/4)+parseInt(n(214))/5+-parseInt(n(228))/6+-parseInt(n(222))/7*(-parseInt(n(237))/8)+parseInt(n(239))/9*(parseInt(n(215))/10)+-parseInt(n(226))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class N extends t.Plugin{[w(201)];[w(210)];static get[w(220)](){return w(223)}static get[w(216)](){return!0}static get[w(208)](){return!0}[w(217)](){const t=w,n=this[t(234)];n[t(209)][t(204)](o,new f(n)),n[t(209)][t(204)](s,new A(n)),this[t(201)]=this[t(234)][t(211)][t(206)](t(201));const e=this[t(234)];this[t(210)]=setInterval(()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(240)==o||n(200)==o||n(236)==o||n(225)==o||n(219)==o||n(230)==o||n(218)==o||n(213)==o){delete e[i],r=o,clearInterval(this[n(210)]),this[n(210)]=void 0;break}}n(200)==r&&e[n(233)](n(212)),n(236)==r&&e[n(233)](n(205)),n(225)==r&&e[n(233)](n(232)),n(219)==r&&e[n(233)](n(229),n(202)),n(230)==r&&e[n(233)](n(203)),n(218)==r&&e[n(233)](n(238)),n(213)==r&&e[n(233)](n(207))},1e3)}[w(227)](){const t=w;super[t(227)](),this[t(210)]&&clearInterval(this[t(210)])}}var y=e(311),S=e(783),x=e(355),C=e(673),j=e.n(C),E=e(545),L=e.n(E),v=e(262),b=e.n(v),T=e(667),P=e.n(T),k=e(357),U=e.n(k),z=e(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=L(),Y.insertStyleElement=U();j()(z.A,Y);z.A&&z.A.locals&&z.A.locals;function F(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}const Q=Z;function Z(t,n){const e=O();return(Z=function(t,n){return e[t-=485]})(t,n)}function O(){const t=["6nfhgTA","_finishPainting","bind","addClass","Formatting copied.","menuitemcheckbox","Copy text formatting","componentFactory","ariaLiveAnnouncer","Continuous painting","7399SnxCsQ","reset","Paint formatting","keystrokes","FormatPainterUI","isEnabled","Ctrl+Alt+V","Esc","1054705nmQDhT","window","set","accessibility","value","document","get","764883joVNzA","change:isEnabled","announce","roots","focus","isOfficialPlugin","listenTo","822548BdAIiH","destroy","addObserver","removeClass","Pasted formatting.","view","ck-format-painter-dropdown","add","_toggleSpecialCursor","afterInit","mouseup","34ePlXtG","commands","_copyFormatting","342189selvae","editor","Ctrl+Alt+C","_pasteFormatting","buttonView","init","pluginName","class","24eTtBFI","href","stopListening","1443210xCEooI","isPremiumPlugin","join","editing","Keeps the painter on after setting the formatting.","locale","isOn","change:value","fromCharCode","execute","high","addKeystrokeInfos","map","1751225CMDRmH","change","switchbutton","formatPainter","Paste text formatting","menu"];return(O=function(){return t})()}!function(t){const n=Z,e=t();for(;;)try{if(156559===-parseInt(n(541))/1*(-parseInt(n(498))/2)+-parseInt(n(556))/3+-parseInt(n(487))/4+parseInt(n(549))/5+parseInt(n(531))/6*(parseInt(n(525))/7)+-parseInt(n(509))/8*(parseInt(n(501))/9)+parseInt(n(512))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(O);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Q(507)](){return Q(545)}static get[Q(485)](){return!0}static get[Q(513)](){return!0}[Q(506)](){const t=Q,n=this[t(502)];n[t(515)][t(492)][t(489)](S.ClickObserver),n[t(552)][t(523)]({keystrokes:[{label:F(n[t(517)],t(537)),keystroke:t(503)},{label:F(n[t(517)],t(529)),keystroke:t(547)}]}),n.ui[t(538)][t(494)](t(528),e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),s=n[r(499)][r(555)](o);i[r(505)][r(551)]({label:F(n[r(517)],r(543)),icon:x.IconPaintRoller,keystroke:r(503),tooltip:!0}),i[r(508)]=r(493),s&&(i[r(533)](r(546)).to(s,r(546)),this[r(486)](s,r(557),(t,n,e)=>{e||this[r(532)]()}),i[r(505)][r(533)](r(518)).to(s,r(553),t=>!!t),this[r(486)](n,r(488),()=>this[r(495)](!1)),this[r(486)](s,r(519),(t,n,e)=>{this[r(495)](!!e)}));const a=new y.ViewModel({withText:!0,label:F(n[r(517)],r(540)),tooltip:F(n[r(517)],r(516)),isOn:!1,role:r(536)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(527),model:a}]),{role:r(530)});const c=()=>{const t=r;this[t(500)](),this[t(486)](l.global[t(550)][t(554)],t(497),()=>{const n=t;this[n(504)](),a[n(518)]||this[n(532)]()})};return this[r(486)](i,r(521),()=>{const t=r;a[t(518)]=!a[t(518)]}),this[r(486)](i[r(505)],r(521),()=>{const t=r;n[t(515)][t(492)][t(560)](),i[t(505)][t(518)]?this[t(532)]():c()}),n[r(544)][r(551)](r(503),(t,n)=>{const e=r;c(),a[e(518)]=!0,n()},{priority:r(522)}),n[r(544)][r(551)](r(547),(t,n)=>{const e=r;i[e(505)][e(518)]&&(this[e(504)](),a[e(518)]||this[e(532)](),n())},{priority:r(522)}),n[r(544)][r(551)](r(548),(t,n)=>{const e=r;i[e(505)][e(518)]&&(a[e(518)]=!1,this[e(532)](),n())}),i})}[Q(496)](){!async function(t){const n=M([108,116,69,72,77,107,75,71,102,83,106,57,117,89,122,67,121,115,76,104,78,99,109,50,87,70,68,110,82,55,52,103,56,80,88,74,105,101,84,81,118,86,98,65,119,114,48,85,54,113,112,100,49,79,53,97,51,120,73,111,66,90]),e=window[M([68,97,116,101])][M([110,111,119])](),r=t[M([101,100,105,116,111,114])],i=new(window[M([80,114,111,109,105,115,101])])(t=>{r[M([111,110,99,101])](M([114,101,97,100,121]),t)}),o={[M([107,116,121])]:M([69,67]),[M([117,115,101])]:M([115,105,103]),[M([99,114,118])]:M([80,45,50,53,54]),[M([120])]:M([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[M([121])]:M([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[M([97,108,103])]:M([69,83,50,53,54])},s=r[M([99,111,110,102,105,103])][M([103,101,116])](M([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[M([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[M([116,104,101,110])](()=>new(window[M([80,114,111,109,105,115,101])])(t=>{let n=0;r[M([109,111,100,101,108])][M([111,110])](M([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(e,r)=>{r[0][M([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[M([111,102,102])]())})}))];return window[M([80,114,111,109,105,115,101])][M([114,97,99,101])](n)[M([116,104,101,110])](()=>t)}function c(t){return t[M([115,116,97,114,116,115,87,105,116,104])](M([101,121]))?JSON[M([112,97,114,115,101])](u(t)):null}function u(t){return window[M([97,116,111,98])](t[M([114,101,112,108,97,99,101])](/-/g,M([43]))[M([114,101,112,108,97,99,101])](/_/g,M([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[M([108,101,110,103,116,104])];e++){const r=t[M([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[M([105,115,65,114,114,97,121])](n)?n[M([102,111,114,69,97,99,104])](t):n&&typeof n==M([111,98,106,101,99,116])?Object[M([101,110,116,114,105,101,115])](n)[M([115,111,114,116])]()[M([102,111,114,69,97,99,104])](([n,r])=>{e(n),t(r)}):e(window[M([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[M([116,111,83,116,114,105,110,103])](16)[M([112,97,100,83,116,97,114,116])](8,M([48]))}function f(t){return t[M([115,112,108,105,116])]("")[M([114,101,118,101,114,115,101])]()[M([106,111,105,110])]("")}function d(){}function M(t){const n=Z;return t[n(524)](t=>String[n(520)](t))[n(514)]("")}!function(t){const e=function(){const t=window[M([83,116,114,105,110,103])](window[M([112,101,114,102,111,114,109,97,110,99,101])][M([110,111,119])]())[M([114,101,112,108,97,99,101])](M([46]),"");let e=M([108]);for(let r=0;r<t[M([108,101,110,103,116,104])];r+=2){let i=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[M([108,101,110,103,116,104])]&&(i-=n[M([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=M([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=M([86,97,108,105,100])&&async function(){await i,r[M([109,111,100,101,108])][M([99,104,97,110,103,101])]=d,r[M([109,111,100,101,108])][M([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,r[M([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](M([109,111,100,101,108]))}()}(await async function(){let t,n=null,d=null;try{return s==M([71,80,76])?M([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[M([115,112,108,105,116])](M([46]));return 3!=t[M([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[M([106,116,105])],e=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](t[M([108,101,110,103,116,104])]-8),16),r={...n,[M([106,116,105])]:t[M([115,117,98,115,116,114,105,110,103])](0,t[M([108,101,110,103,116,104])]-8)};return delete r[M([118,99])],I(r)==e}}}(),t?(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[M([80,114,111,109,105,115,101])])(a=>{if(o())return a(M([86,97,108,105,100]));s(),r[M([100,101,99,111,114,97,116,101])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,l.uid)();function d(t){return!!t&&(typeof t===M([111,98,106,101,99,116])||typeof t===M([102,117,110,99,116,105,111,110]))&&typeof t[M([116,104,101,110])]===M([102,117,110,99,116,105,111,110])&&typeof t[M([99,97,116,99,104])]===M([102,117,110,99,116,105,111,110])}function p(r){c(r)[M([116,104,101,110])](t=>t&&t[M([115,116,97,116,117,115])]==M([111,107])?g(I(u+n))!=t[M([118,101,114,105,102,105,99,97,116,105,111,110])]?M([85,115,97,103,101,76,105,109,105,116]):M([86,97,108,105,100]):M([85,115,97,103,101,76,105,109,105,116]))[M([116,104,101,110])](t=>(o(),t),()=>{const t=s();return null==t?(o(),M([86,97,108,105,100])):M(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[M([116,104,101,110])](a)[M([99,97,116,99,104])](()=>{a(M([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function o(){const n=M([108,108,99,116,45])+g(I(t)),r=f(g(window[M([77,97,116,104])][M([99,101,105,108])](e/i)));window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([115,101,116,73,116,101,109])](n,r)}function s(){const n=M([108,108,99,116,45])+g(I(t)),e=window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([103,101,116,73,116,101,109])](n);return e?window[M([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[M([80,114,111,109,105,115,101])])((n,e)=>{t[M([116,104,101,110])](n,e),window[M([115,101,116,84,105,109,101,111,117,116])](e,12e4)})}}r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(n,e)=>{if(e[0]!=t)return a(M([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[M([114,101,113,117,101,115,116,73,100])]:u}},{[M([112,114,105,111,114,105,116,121])]:M([104,105,103,104])}),r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[M([114,101,116,117,114,110])])&&(c=!0,p(t[M([114,101,116,117,114,110])]))},{[M([112,114,105,111,114,105,116,121])]:M([108,111,119])}),i[M([116,104,101,110])](()=>{c||a(M([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==M([97,117,116,111])}function s(){r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=M([97,117,116,111])}}(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[M([106,116,105])])),await async function(){let t=!0;try{const r=s[M([115,112,108,105,116])](M([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch{return!1}function n(n){const e=c(n);e&&e[M([97,108,103])]==M([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[M([85,105,110,116,56,65,114,114,97,121])][M([102,114,111,109])](u(r),t=>t[M([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[M([84,101,120,116,69,110,99,111,100,101,114])]))[M([101,110,99,111,100,101])](n+M([46])+e),a=window[M([99,114,121,112,116,111])][M([115,117,98,116,108,101])];if(!a)return;const c=await a[M([105,109,112,111,114,116,75,101,121])](M([106,119,107]),o,{[M([110,97,109,101])]:M([69,67,68,83,65]),[M([110,97,109,101,100,67,117,114,118,101])]:M([80,45,50,53,54])},!1,[M([118,101,114,105,102,121])]);await a[M([118,101,114,105,102,121])]({[M([110,97,109,101])]:M([69,67,68,83,65]),[M([104,97,115,104])]:{[M([110,97,109,101])]:M([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[M([102,101,97,116,117,114,101,115])];return!(!n||!n[M([105,110,99,108,117,100,101,115])](M([42]))&&!n[M([105,110,99,108,117,100,101,115])](M([70,80]))&&!n[M([105,110,99,108,117,100,101,115])](M([80,80])))}()?function(){const n=[M([101,118,97,108,117,97,116,105,111,110]),M([116,114,105,97,108])][M([105,110,99,108,117,100,101,115])](t[M([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1750377600;return t[M([101,120,112])]<n}()?M([69,120,112,105,114,101,100]):function(){const n=Z,e=t[M([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[M([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[M([108,111,99,97,116,105,111,110])][n(510)]);if(e[M([105,110,99,108,117,100,101,115])](r))return!0;const i=r[M([115,112,108,105,116])](M([46]));return e[M([102,105,108,116,101,114])](t=>t[M([105,110,99,108,117,100,101,115])](M([42])))[M([109,97,112])](t=>t[M([115,112,108,105,116])](M([46])))[M([102,105,108,116,101,114])](t=>t[M([108,101,110,103,116,104])]<=i[M([108,101,110,103,116,104])])[M([109,97,112])](t=>Array(i[M([108,101,110,103,116,104])]-t[M([108,101,110,103,116,104])])[M([102,105,108,108])](t[0]===M([42])?M([42]):"")[M([99,111,110,99,97,116])](t))[M([115,111,109,101])](t=>i[M([101,118,101,114,121])]((n,e)=>t[e]===n||t[e]===M([42])))}()?(t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([101,118,97,108,117,97,116,105,111,110])&&(n=a(M([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([116,114,105,97,108])&&(n=a(M([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[M([80,114,111,109,105,115,101])])((t,e)=>{n[M([116,104,101,110])](t,e),d[M([116,104,101,110])](n=>{n!=M([86,97,108,105,100])&&t(n)},e)}):n||d||M([86,97,108,105,100]))):M([68,111,109,97,105,110,76,105,109,105,116]):M([78,111,116,65,108,108,111,119,101,100]):M([73,110,118,97,108,105,100])):M([73,110,118,97,108,105,100]))}catch{return M([73,110,118,97,108,105,100])}}())}(this)}[Q(495)](t){const n=Q;this[n(502)][n(515)][n(492)][n(526)](e=>{const r=n;for(const n of this[r(502)][r(515)][r(492)][r(554)][r(559)])t?e[r(534)](a,n):e[r(490)](a,n)})}[Q(500)](){const t=Q,{editor:n}=this;n[t(521)](o),n.ui[t(539)][t(558)](F(n[t(517)],t(535)))}[Q(504)](){const t=Q,{editor:n}=this,e=n[t(499)][t(555)](o)[t(553)];n[t(521)](s,e),n.ui[t(539)][t(558)](F(n[t(517)],t(491)))}[Q(532)](){const t=Q;this[t(502)][t(499)][t(555)](o)[t(542)](),this[t(511)](l.global[t(550)][t(554)],t(497))}}var V=R;function G(){var t=["21OTcuZA","121748dxlMQs","1633030fBLcQj","67380NAGzau","requires","22920ukrCEJ","pluginName","5228430YuqqMS","21UVWORm","FormatPainter","1347402PmLbqp","10746OmIJrE","isPremiumPlugin","isOfficialPlugin","266632evAhmX"];return(G=function(){return t})()}function R(t,n){var e=G();return(R=function(t,n){return e[t-=356]})(t,n)}!function(t){for(var n=R,e=t();;)try{if(619270===parseInt(n(358))/1+-parseInt(n(365))/2+parseInt(n(363))/3*(-parseInt(n(356))/4)+-parseInt(n(357))/5+-parseInt(n(362))/6+parseInt(n(370))/7*(-parseInt(n(369))/8)+-parseInt(n(366))/9*(-parseInt(n(360))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(G);class W extends t.Plugin{static get[V(359)](){return[N,_]}static get[V(361)](){return V(364)}static get[V(368)](){return!0}static get[V(367)](){return!0}}function K(t,n){var e=B();return(K=function(t,n){return e[t-=344]})(t,n)}function B(){var t=["592092jrKBIU","1981KbnkSL","22516175VVDBKz","130490iulByg","2334vJQgBN","46AvAenc","2945yuAgBq","19168VcRnOS","145389FPihxC","12AroQHU","1026nXWYmW","4201496rSePje"];return(B=function(){return t})()}!function(t){for(var n=K,e=t();;)try{if(766759===parseInt(n(354))/1+-parseInt(n(347))/2*(-parseInt(n(350))/3)+-parseInt(n(353))/4+-parseInt(n(348))/5*(-parseInt(n(346))/6)+parseInt(n(355))/7*(-parseInt(n(349))/8)+parseInt(n(352))/9*(-parseInt(n(345))/10)+-parseInt(n(344))/11*(-parseInt(n(351))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0x278183(_0x3ff8d0){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x32f322=this['editor'];_0x32f322['editing']['view']['addObserver'](_0x1ce3c9),_0x32f322['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x32f322['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x32f322['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x32f322['ui']['componentFactory']['add']('formatPainter',_0x6d9d5a=>{const _0x463ce9=_0x12cd05(_0x6d9d5a,_0xb14ded),_0x27c03f=_0x32f322['commands']['get'](c);_0x463ce9['buttonView']['set']({'label':b(_0x32f322['locale'],'Paint\x20formatting'),'icon':_0x32d3fc,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x463ce9['class']='ck-format-painter-dropdown',_0x27c03f&&(_0x463ce9['bind']('isEnabled')['to'](_0x27c03f,'isEnabled'),this['listenTo'](_0x27c03f,'change:isEnabled',(_0x3d7a84,_0x20aa27,_0x1b1f7c)=>{_0x1b1f7c||this['_finishPainting']();}),_0x463ce9['buttonView']['bind']('isOn')['to'](_0x27c03f,'value',_0x5cd9a1=>!!_0x5cd9a1),this['listenTo'](_0x32f322,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x27c03f,'change:value',(_0x4893fa,_0x58167b,_0x47fb9c)=>{this['_toggleSpecialCursor'](!!_0x47fb9c);}));const _0x19caae=new _0x575e49({'withText':!0x0,'label':b(_0x32f322['locale'],'Continuous\x20painting'),'tooltip':b(_0x32f322['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x349b43(_0x463ce9,new _0x1fbf92([{'type':'switchbutton','model':_0x19caae}]),{'role':'menu'});const _0x2e2aa9=()=>{this['_copyFormatting'](),this['listenTo'](_0x427a22['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x19caae['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x463ce9,'execute',()=>{_0x19caae['isOn']=!_0x19caae['isOn'];}),this['listenTo'](_0x463ce9['buttonView'],'execute',()=>{_0x32f322['editing']['view']['focus'](),_0x463ce9['buttonView']['isOn']?this['_finishPainting']():_0x2e2aa9();}),_0x32f322['keystrokes']['set']('Ctrl+Alt+C',(_0x553e59,_0x484c0f)=>{_0x2e2aa9(),_0x19caae['isOn']=!0x0,_0x484c0f();},{'priority':'high'}),_0x32f322['keystrokes']['set']('Ctrl+Alt+V',(_0x5b45da,_0x4a7f99)=>{_0x463ce9['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x19caae['isOn']||this['_finishPainting'](),_0x4a7f99());},{'priority':'high'}),_0x32f322['keystrokes']['set']('Esc',(_0x5a7d0d,_0x11a7ed)=>{_0x463ce9['buttonView']['isOn']&&(_0x19caae['isOn']=!0x1,this['_finishPainting'](),_0x11a7ed());}),_0x463ce9;});}['afterInit'](){!async function(_0x477225){const _0x5a188a=_0x434812([0x69,0x58,0x4e,0x68,0x6a,0x48,0x78,0x57,0x4d,0x44,0x73,0x64,0x30,0x65,0x56,0x50,0x66,0x4a,0x74,0x38,0x79,0x32,0x76,0x61,0x63,0x6e,0x41,0x54,0x67,0x55,0x51,0x39,0x77,0x5a,0x31,0x62,0x6b,0x59,0x36,0x6f,0x52,0x49,0x42,0x75,0x37,0x34,0x7a,0x46,0x6c,0x4f,0x70,0x53,0x43,0x72,0x71,0x6d,0x35,0x4c,0x47,0x33,0x4b,0x45]),_0x45a194=0x78d64825,_0x4d1e3d=0x78d12315^_0x45a194,_0x56c0ce=window[_0x434812([0x44,0x61,0x74,0x65])][_0x434812([0x6e,0x6f,0x77])](),_0x6a1f60=_0x477225[_0x434812([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd44fad=new window[(_0x434812([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f7663=>{_0x6a1f60[_0x434812([0x6f,0x6e,0x63,0x65])](_0x434812([0x72,0x65,0x61,0x64,0x79]),_0x2f7663);}),_0x16014f={[_0x434812([0x6b,0x74,0x79])]:_0x434812([0x45,0x43]),[_0x434812([0x75,0x73,0x65])]:_0x434812([0x73,0x69,0x67]),[_0x434812([0x63,0x72,0x76])]:_0x434812([0x50,0x2d,0x32,0x35,0x36]),[_0x434812([0x78])]:_0x434812([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]),[_0x434812([0x79])]:_0x434812([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]),[_0x434812([0x61,0x6c,0x67])]:_0x434812([0x45,0x53,0x32,0x35,0x36])},_0x343aff=_0x6a1f60[_0x434812([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x434812([0x67,0x65,0x74])](_0x434812([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39188a(){let _0x2ae444,_0x1fa09f=null,_0x30e48e=null;try{if(_0x343aff==_0x434812([0x47,0x50,0x4c]))return _0x434812([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ae444=_0x172d3a(),!_0x2ae444)return _0x434812([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ae444[_0x434812([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30e48e=_0xcf3e30(_0x2ae444[_0x434812([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ae444[_0x434812([0x6a,0x74,0x69])])),await _0x45ebc1()?_0x28f7eb()?_0x2e060f()?_0x434812([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f9e1b()?(_0x2ae444[_0x434812([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x434812([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1fa09f=_0x49bf54(_0x434812([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ae444[_0x434812([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x434812([0x74,0x72,0x69,0x61,0x6c])&&(_0x1fa09f=_0x49bf54(_0x434812([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x510626()):_0x434812([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x434812([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x434812([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x434812([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e060f(){const _0x1a4dde=[_0x434812([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x434812([0x74,0x72,0x69,0x61,0x6c])][_0x434812([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ae444[_0x434812([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56c0ce/0x3e8:0xe10*_0x4d1e3d;return _0x2ae444[_0x434812([0x65,0x78,0x70])]<_0x1a4dde;}function _0x28f7eb(){const _0x4a4e43=_0x2ae444[_0x434812([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a4e43&&(!!_0x4a4e43[_0x434812([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x434812([0x2a]))||(!!_0x4a4e43[_0x434812([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x434812([0x46,0x50]))||!!_0x4a4e43[_0x434812([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x434812([0x50,0x50]))));}function _0x3f9e1b(){const _0x46ec32=_0x2ae444[_0x434812([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46ec32||0x0==_0x46ec32[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13b0f3}=new URL(window[_0x434812([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x46ec32[_0x434812([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13b0f3))return!0x0;const _0x5d6308=_0x13b0f3[_0x434812([0x73,0x70,0x6c,0x69,0x74])](_0x434812([0x2e]));return _0x46ec32[_0x434812([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10a4ce=>_0x10a4ce[_0x434812([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x434812([0x2a])))[_0x434812([0x6d,0x61,0x70])](_0x348a8c=>_0x348a8c[_0x434812([0x73,0x70,0x6c,0x69,0x74])](_0x434812([0x2e])))[_0x434812([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x389afa=>_0x389afa[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5d6308[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x434812([0x6d,0x61,0x70])](_0x55a147=>Array(_0x5d6308[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55a147[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x434812([0x66,0x69,0x6c,0x6c])](_0x55a147[0x0]===_0x434812([0x2a])?_0x434812([0x2a]):'')[_0x434812([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55a147))[_0x434812([0x73,0x6f,0x6d,0x65])](_0x52f66b=>_0x5d6308[_0x434812([0x65,0x76,0x65,0x72,0x79])]((_0x41ee66,_0x58f363)=>_0x52f66b[_0x58f363]===_0x41ee66||_0x52f66b[_0x58f363]===_0x434812([0x2a])));}function _0x510626(){return _0x1fa09f&&_0x30e48e?new window[(_0x434812([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12faa1,_0x13fde7)=>{_0x1fa09f[_0x434812([0x74,0x68,0x65,0x6e])](_0x12faa1,_0x13fde7),_0x30e48e[_0x434812([0x74,0x68,0x65,0x6e])](_0x554113=>{_0x554113!=_0x434812([0x56,0x61,0x6c,0x69,0x64])&&_0x12faa1(_0x554113);},_0x13fde7);}):_0x1fa09f||_0x30e48e||_0x434812([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcf3e30(_0x293055,_0x507ee6){return new window[(_0x434812([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x180a50=>{if(_0x6c4b92())return _0x180a50(_0x434812([0x56,0x61,0x6c,0x69,0x64]));_0x3d05b5(),_0x6a1f60[_0x434812([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x434812([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bc22a=!0x1;const _0x89429b=_0x4bc138();function _0x3c157f(_0x16ed9d){return!!_0x16ed9d&&(typeof _0x16ed9d===_0x434812([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16ed9d===_0x434812([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16ed9d[_0x434812([0x74,0x68,0x65,0x6e])]===_0x434812([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16ed9d[_0x434812([0x63,0x61,0x74,0x63,0x68])]===_0x434812([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x268612(_0x3ac367){_0x580836(_0x3ac367)[_0x434812([0x74,0x68,0x65,0x6e])](_0x530cb0=>{if(!_0x530cb0||_0x530cb0[_0x434812([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x434812([0x6f,0x6b]))return _0x434812([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ccc2f(_0x338afe(_0x89429b+_0x507ee6))!=_0x530cb0[_0x434812([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x434812([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x434812([0x56,0x61,0x6c,0x69,0x64]);})[_0x434812([0x74,0x68,0x65,0x6e])](_0x8e2169=>(_0x496bb5(),_0x8e2169),()=>{const _0x11a360=_0x1e301e();return null==_0x11a360?(_0x496bb5(),_0x434812([0x56,0x61,0x6c,0x69,0x64])):_0x434812(_0x56c0ce-_0x11a360>(0x5cdacc25^_0x45a194)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x434812([0x74,0x68,0x65,0x6e])](_0x180a50)[_0x434812([0x63,0x61,0x74,0x63,0x68])](()=>{_0x180a50(_0x434812([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c0cb2=0x78e0a6a5^_0x45a194;function _0x496bb5(){const _0x2c3e73=_0x434812([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ccc2f(_0x338afe(_0x293055)),_0x3de776=_0x37a6bc(_0x3ccc2f(window[_0x434812([0x4d,0x61,0x74,0x68])][_0x434812([0x63,0x65,0x69,0x6c])](_0x56c0ce/_0x2c0cb2)));window[_0x434812([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x434812([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c3e73,_0x3de776);}function _0x1e301e(){const _0x2a521d=_0x434812([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ccc2f(_0x338afe(_0x293055)),_0x55d305=window[_0x434812([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x434812([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a521d);return _0x55d305?window[_0x434812([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37a6bc(_0x55d305),0x10)*_0x2c0cb2:null;}function _0x580836(_0x4da1f7){return new window[(_0x434812([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf3d5a2,_0x2fd597)=>{_0x4da1f7[_0x434812([0x74,0x68,0x65,0x6e])](_0xf3d5a2,_0x2fd597),window[_0x434812([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fd597,0x78d79ce5^_0x45a194);});}}_0x6a1f60[_0x434812([0x6f,0x6e])](_0x434812([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd7c029,_0x30cba2)=>{if(_0x30cba2[0x0]!=_0x293055)return _0x180a50(_0x434812([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30cba2[0x1]={..._0x30cba2[0x1],[_0x434812([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x89429b};},{[_0x434812([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x434812([0x68,0x69,0x67,0x68])}),_0x6a1f60[_0x434812([0x6f,0x6e])](_0x434812([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x20adce=>{_0x3c157f(_0x20adce[_0x434812([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bc22a=!0x0,_0x268612(_0x20adce[_0x434812([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x434812([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x434812([0x6c,0x6f,0x77])}),_0xd44fad[_0x434812([0x74,0x68,0x65,0x6e])](()=>{_0x3bc22a||_0x180a50(_0x434812([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6c4b92(){return _0x6a1f60[_0x434812([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x434812([0x76,0x69,0x65,0x77])][_0x434812([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x434812([0x61,0x75,0x74,0x6f]);}function _0x3d05b5(){_0x6a1f60[_0x434812([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x434812([0x76,0x69,0x65,0x77])][_0x434812([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x434812([0x61,0x75,0x74,0x6f]);}}function _0x49bf54(_0x15e919){const _0x412bd3=[new window[(_0x434812([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x444fe4=>setTimeout(_0x444fe4,0x78df76e9^_0x45a194)),_0xd44fad[_0x434812([0x74,0x68,0x65,0x6e])](()=>new window[(_0x434812([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23d69c=>{let _0x5741d5=0x0;_0x6a1f60[_0x434812([0x6d,0x6f,0x64,0x65,0x6c])][_0x434812([0x6f,0x6e])](_0x434812([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f7280,_0x1589cb)=>{_0x1589cb[0x0][_0x434812([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5741d5++,_0x5741d5==(0x78d649dd^_0x45a194)&&(_0x23d69c(),_0x4f7280[_0x434812([0x6f,0x66,0x66])]());});}))];return window[_0x434812([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x434812([0x72,0x61,0x63,0x65])](_0x412bd3)[_0x434812([0x74,0x68,0x65,0x6e])](()=>_0x15e919);}async function _0x56a44e(){await _0xd44fad,_0x6a1f60[_0x434812([0x6d,0x6f,0x64,0x65,0x6c])][_0x434812([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c234b,_0x6a1f60[_0x434812([0x6d,0x6f,0x64,0x65,0x6c])][_0x434812([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c234b,_0x6a1f60[_0x434812([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x434812([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5bcb6f(_0x3eb48a){const _0x34e0fb=_0x40b2fc();_0x6a1f60[_0x34e0fb]=_0x434812([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3eb48a,_0x3eb48a!=_0x434812([0x56,0x61,0x6c,0x69,0x64])&&_0x56a44e();}function _0x40b2fc(){const _0x54e690=window[_0x434812([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x434812([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x434812([0x6e,0x6f,0x77])]())[_0x434812([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x434812([0x2e]),'');let _0x2858ec=_0x434812([0x69]);for(let _0xfe2ba9=0x0;_0xfe2ba9<_0x54e690[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfe2ba9+=0x2){let _0x42f0df=window[_0x434812([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54e690[_0x434812([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfe2ba9,_0xfe2ba9+0x2));_0x42f0df>=_0x5a188a[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42f0df-=_0x5a188a[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2858ec+=_0x5a188a[_0x42f0df];}return _0x2858ec;}function _0x172d3a(){const _0x3e6bed=_0x343aff[_0x434812([0x73,0x70,0x6c,0x69,0x74])](_0x434812([0x2e]));if(0x3!=_0x3e6bed[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x64db48(_0x3e6bed[0x1]);function _0x64db48(_0x8badb0){const _0x53f339=_0x7e311(_0x8badb0);return _0x53f339&&_0x2c9d89()?_0x53f339:null;function _0x2c9d89(){const _0x28886d=_0x53f339[_0x434812([0x6a,0x74,0x69])],_0xabbd8f=window[_0x434812([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28886d[_0x434812([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28886d[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x440e31={..._0x53f339,[_0x434812([0x6a,0x74,0x69])]:_0x28886d[_0x434812([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28886d[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x440e31[_0x434812([0x76,0x63])],_0x338afe(_0x440e31)==_0xabbd8f;}}}async function _0x45ebc1(){let _0x4e294f=!0x0;try{const _0x5af041=_0x343aff[_0x434812([0x73,0x70,0x6c,0x69,0x74])](_0x434812([0x2e])),[_0x545f83,_0x1a7634,_0x3fb1c]=_0x5af041;return _0x544838(_0x545f83),await _0x12a846(_0x545f83,_0x1a7634,_0x3fb1c),_0x4e294f;}catch{return!0x1;}function _0x544838(_0x211895){const _0x1dd4c0=_0x7e311(_0x211895);_0x1dd4c0&&_0x1dd4c0[_0x434812([0x61,0x6c,0x67])]==_0x434812([0x45,0x53,0x32,0x35,0x36])||(_0x4e294f=!0x1);}async function _0x12a846(_0x4843ef,_0x1e0ace,_0x3824ac){const _0x3a1d5f=window[_0x434812([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x434812([0x66,0x72,0x6f,0x6d])](_0x189bb4(_0x3824ac),_0x238c6d=>_0x238c6d[_0x434812([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cffb8=new window[(_0x434812([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x434812([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4843ef+_0x434812([0x2e])+_0x1e0ace),_0x4ce86c=window[_0x434812([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x434812([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ce86c)return;const _0x2c6112=await _0x4ce86c[_0x434812([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x434812([0x6a,0x77,0x6b]),_0x16014f,{[_0x434812([0x6e,0x61,0x6d,0x65])]:_0x434812([0x45,0x43,0x44,0x53,0x41]),[_0x434812([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x434812([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x434812([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ce86c[_0x434812([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x434812([0x6e,0x61,0x6d,0x65])]:_0x434812([0x45,0x43,0x44,0x53,0x41]),[_0x434812([0x68,0x61,0x73,0x68])]:{[_0x434812([0x6e,0x61,0x6d,0x65])]:_0x434812([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c6112,_0x3a1d5f,_0x3cffb8)||(_0x4e294f=!0x1);}}function _0x7e311(_0x3e8f72){return _0x3e8f72[_0x434812([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x434812([0x65,0x79]))?JSON[_0x434812([0x70,0x61,0x72,0x73,0x65])](_0x189bb4(_0x3e8f72)):null;}function _0x189bb4(_0x10d457){return window[_0x434812([0x61,0x74,0x6f,0x62])](_0x10d457[_0x434812([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x434812([0x2b]))[_0x434812([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x434812([0x2f])));}function _0x338afe(_0x197415){let _0x44eea2=0x1505;function _0x1dc1ed(_0x2a95ae){for(let _0x1c232c=0x0;_0x1c232c<_0x2a95ae[_0x434812([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c232c++){const _0x1afb0d=_0x2a95ae[_0x434812([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1c232c);_0x44eea2=(_0x44eea2<<0x5)+_0x44eea2+_0x1afb0d,_0x44eea2&=_0x44eea2;}}function _0x4dd8a5(_0x300261){Array[_0x434812([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x300261)?_0x300261[_0x434812([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4dd8a5):_0x300261&&typeof _0x300261==_0x434812([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x434812([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x300261)[_0x434812([0x73,0x6f,0x72,0x74])]()[_0x434812([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f9002,_0x2f3a90])=>{_0x1dc1ed(_0x2f9002),_0x4dd8a5(_0x2f3a90);}):_0x1dc1ed(window[_0x434812([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x300261));}return _0x4dd8a5(_0x197415),_0x44eea2>>>0x0;}function _0x3ccc2f(_0x222b45){return _0x222b45[_0x434812([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x434812([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x434812([0x30]));}function _0x37a6bc(_0x1303cf){return _0x1303cf[_0x434812([0x73,0x70,0x6c,0x69,0x74])]('')[_0x434812([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x434812([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c234b(){}function _0x434812(_0x811bda){return _0x811bda['map'](_0x617f8f=>String['fromCharCode'](_0x617f8f))['join']('');}_0x5bcb6f(await _0x39188a());}(this);}['_toggleSpecialCursor'](_0x29c9e3){this['editor']['editing']['view']['change'](_0x131c70=>{for(const _0x1d576c of this['editor']['editing']['view']['document']['roots'])_0x29c9e3?_0x131c70['addClass'](C,_0x1d576c):_0x131c70['removeClass'](C,_0x1d576c);});}['_copyFormatting'](){const {editor:_0xc77409}=this;_0xc77409['execute'](c),_0xc77409['ui']['ariaLiveAnnouncer']['announce'](b(_0xc77409['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x99f0ee}=this,_0x44c9fd=_0x99f0ee['commands']['get'](c)['value'];_0x99f0ee['execute'](e,_0x44c9fd),_0x99f0ee['ui']['ariaLiveAnnouncer']['announce'](b(_0x99f0ee['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x427a22['window']['document'],'mouseup');}}class n extends _0x3ff8d0{static get['requires'](){return[a,m];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{r as CopyFormatCommand,n as FormatPainter,a as FormatPainterEditing,m as FormatPainterUI,o as PasteFormatCommand};
|
|
23
|
+
import{Command as _0x26944d,Plugin as _0x34423a}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1ddb8f,DomEmitterMixin as _0x4927d8,Collection as _0x409227,global as _0x50e5fe,uid as _0x5527eb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x1f20ff,SplitButtonView as _0x5517ee,ViewModel as _0xc761be,addListToDropdown as _0xc53f61}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x5daf11}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x559633}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0x26944d{constructor(_0x296e7c){super(_0x296e7c),this['value']=void 0x0,this['on']('change:isEnabled',(_0x5aa334,_0x2f119c,_0xe8d87c)=>{_0xe8d87c||this['reset']();}),this['on']('change:value',()=>_0x296e7c['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0xc3b340=this['editor']['model'],_0x41a44a=_0xc3b340['document']['selection'];return Object['fromEntries'](Array['from'](_0x41a44a['getAttributes']())['filter'](([_0x5bfb36])=>_0xc3b340['schema']['getAttributeProperties'](_0x5bfb36)['isFormatting']));}}class o extends _0x26944d{constructor(_0x23e500){super(_0x23e500),this['_removeFormatCommand']=new _(_0x23e500);}['execute'](_0x36dcc5={}){const _0x559d7e=this['editor']['model'],_0x4b6d81=_0x559d7e['document']['selection'],_0x7ce873=Array['from'](_0x4b6d81['getRanges']()),_0x57e37e=_0x4b6d81['isCollapsed']?[this['_createRangeOnEntireWord'](_0x559d7e,_0x4b6d81)]:_0x7ce873;_0x559d7e['change'](_0x2b976d=>{_0x2b976d['setSelection'](_0x57e37e),this['_removeFormatCommand']['execute']();for(const _0x476c7d in _0x36dcc5)for(const _0x50c61d of _0x559d7e['schema']['getValidRanges'](_0x57e37e,_0x476c7d))_0x2b976d['setAttribute'](_0x476c7d,_0x36dcc5[_0x476c7d],_0x50c61d);_0x2b976d['setSelection'](_0x7ce873);});}['_createRangeOnEntireWord'](_0x21f32b,_0x12bf59){const _0x48f3b9=_0x21f32b['createSelection'](_0x12bf59);_0x21f32b['modifySelection'](_0x48f3b9,{'unit':'word','direction':'backward'});const _0x442c04=_0x48f3b9['getFirstPosition']();_0x21f32b['modifySelection'](_0x48f3b9,{'unit':'word','direction':'forward'});const _0x437661=_0x48f3b9['getLastPosition']();return _0x21f32b['createRange'](_0x442c04,_0x437661);}}class _ extends _0x26944d{['execute'](){const _0x2d93f2=this['editor']['model'],_0x19b455=_0x2d93f2['schema'];_0x2d93f2['change'](_0xce4bed=>{for(const _0x2d9c3a of this['_getFormattingItems'](_0x2d93f2['document']['selection'],_0x19b455))if(_0x2d9c3a['is']('selection')){for(const _0x550561 of this['_getFormattingAttributes'](_0x2d9c3a,_0x19b455))_0xce4bed['removeSelectionAttribute'](_0x550561);}else{const _0x3497d2=_0xce4bed['createRangeOn'](_0x2d9c3a);for(const _0xa68da6 of this['_getFormattingAttributes'](_0x2d9c3a,_0x19b455))_0xce4bed['removeAttribute'](_0xa68da6,_0x3497d2);}});}*['_getFormattingItems'](_0x42c86c,_0x181afc){const _0x1e0d73=_0x827eb1=>!!_0x1ddb8f(this['_getFormattingAttributes'](_0x827eb1,_0x181afc));for(const _0x1914d9 of _0x42c86c['getRanges']())for(const _0x17c41d of _0x1914d9['getItems']())!_0x181afc['isBlock'](_0x17c41d)&&_0x1e0d73(_0x17c41d)&&(yield _0x17c41d);for(const _0x43cab6 of _0x42c86c['getSelectedBlocks']())_0x1e0d73(_0x43cab6)&&(yield _0x43cab6);_0x1e0d73(_0x42c86c)&&(yield _0x42c86c);}*['_getFormattingAttributes'](_0xc2cc57,_0x37718b){for(const [_0x1a02b6]of _0xc2cc57['getAttributes']()){const _0x50ce85=_0x37718b['getAttributeProperties'](_0x1a02b6);_0x50ce85&&_0x50ce85['isFormatting']&&(yield _0x1a02b6);}}}class a extends _0x34423a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x45258b=this['editor'];_0x45258b['commands']['add'](c,new r(_0x45258b)),_0x45258b['commands']['add'](e,new o(_0x45258b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x51dc00=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6c45b4;for(const _0xd5cd47 in _0x51dc00){const _0xe19ace=_0xd5cd47,_0x116ac5=_0x51dc00[_0xe19ace];if('formatPainterLicenseKeyValid'==_0x116ac5||'formatPainterLicenseKeyInvalid'==_0x116ac5||'formatPainterLicenseKeyExpired'==_0x116ac5||'formatPainterLicenseKeyDomainLimit'==_0x116ac5||'formatPainterLicenseKeyNotAllowed'==_0x116ac5||'formatPainterLicenseKeyEvaluationLimit'==_0x116ac5||'formatPainterLicenseKeyTrialLimit'==_0x116ac5||'formatPainterLicenseKeyUsageLimit'==_0x116ac5){delete _0x51dc00[_0xe19ace],_0x6c45b4=_0x116ac5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x6c45b4&&_0x51dc00['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x6c45b4&&_0x51dc00['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x6c45b4&&_0x51dc00['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x6c45b4&&_0x51dc00['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x6c45b4&&_0x51dc00['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x6c45b4&&_0x51dc00['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x6c45b4&&_0x51dc00['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x5a0e18,_0x2b4c06){const t=_0x5a0e18['t'];switch(_0x2b4c06){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');default:return _0x2b4c06;}}class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4927d8(_0x34423a){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xacd72a=this['editor'];_0xacd72a['editing']['view']['addObserver'](_0x5daf11),_0xacd72a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0xacd72a['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0xacd72a['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0xacd72a['ui']['componentFactory']['add']('formatPainter',_0x294b7b=>{const _0x275702=_0x1f20ff(_0x294b7b,_0x5517ee),_0xc2fbf2=_0xacd72a['commands']['get'](c);_0x275702['buttonView']['set']({'label':b(_0xacd72a['locale'],'Paint\x20formatting'),'icon':_0x559633,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x275702['class']='ck-format-painter-dropdown',_0xc2fbf2&&(_0x275702['bind']('isEnabled')['to'](_0xc2fbf2,'isEnabled'),this['listenTo'](_0xc2fbf2,'change:isEnabled',(_0x449491,_0x25568d,_0x41bfa6)=>{_0x41bfa6||this['_finishPainting']();}),_0x275702['buttonView']['bind']('isOn')['to'](_0xc2fbf2,'value',_0x51afff=>!!_0x51afff),this['listenTo'](_0xacd72a,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0xc2fbf2,'change:value',(_0x30e659,_0x153eaf,_0x15913e)=>{this['_toggleSpecialCursor'](!!_0x15913e);}));const _0xa96318=new _0xc761be({'withText':!0x0,'label':b(_0xacd72a['locale'],'Continuous\x20painting'),'tooltip':b(_0xacd72a['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0xc53f61(_0x275702,new _0x409227([{'type':'switchbutton','model':_0xa96318}]),{'role':'menu'});const _0x5678f6=()=>{this['_copyFormatting'](),this['listenTo'](_0x50e5fe['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0xa96318['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x275702,'execute',()=>{_0xa96318['isOn']=!_0xa96318['isOn'];}),this['listenTo'](_0x275702['buttonView'],'execute',()=>{_0xacd72a['editing']['view']['focus'](),_0x275702['buttonView']['isOn']?this['_finishPainting']():_0x5678f6();}),_0xacd72a['keystrokes']['set']('Ctrl+Alt+C',(_0x91b718,_0x1ddfcf)=>{_0x5678f6(),_0xa96318['isOn']=!0x0,_0x1ddfcf();},{'priority':'high'}),_0xacd72a['keystrokes']['set']('Ctrl+Alt+V',(_0x498055,_0x56f6ee)=>{_0x275702['buttonView']['isOn']&&(this['_pasteFormatting'](),_0xa96318['isOn']||this['_finishPainting'](),_0x56f6ee());},{'priority':'high'}),_0xacd72a['keystrokes']['set']('Esc',(_0x4fe82f,_0x380c83)=>{_0x275702['buttonView']['isOn']&&(_0xa96318['isOn']=!0x1,this['_finishPainting'](),_0x380c83());}),_0x275702;});}['afterInit'](){!async function(_0x226c99){const _0x22054d=_0x4618dd([0x6c,0x74,0x45,0x48,0x4d,0x6b,0x4b,0x47,0x66,0x53,0x6a,0x39,0x75,0x59,0x7a,0x43,0x79,0x73,0x4c,0x68,0x4e,0x63,0x6d,0x32,0x57,0x46,0x44,0x6e,0x52,0x37,0x34,0x67,0x38,0x50,0x58,0x4a,0x69,0x65,0x54,0x51,0x76,0x56,0x62,0x41,0x77,0x72,0x30,0x55,0x36,0x71,0x70,0x64,0x31,0x4f,0x35,0x61,0x33,0x78,0x49,0x6f,0x42,0x5a]),_0x420842=0x3b0b4bc7,_0x3b5d9e=0x3b0c208f^_0x420842,_0x3f2abb=window[_0x4618dd([0x44,0x61,0x74,0x65])][_0x4618dd([0x6e,0x6f,0x77])](),_0x334695=_0x226c99[_0x4618dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e1296=new window[(_0x4618dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b8ca5=>{_0x334695[_0x4618dd([0x6f,0x6e,0x63,0x65])](_0x4618dd([0x72,0x65,0x61,0x64,0x79]),_0x2b8ca5);}),_0x3d3233={[_0x4618dd([0x6b,0x74,0x79])]:_0x4618dd([0x45,0x43]),[_0x4618dd([0x75,0x73,0x65])]:_0x4618dd([0x73,0x69,0x67]),[_0x4618dd([0x63,0x72,0x76])]:_0x4618dd([0x50,0x2d,0x32,0x35,0x36]),[_0x4618dd([0x78])]:_0x4618dd([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]),[_0x4618dd([0x79])]:_0x4618dd([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]),[_0x4618dd([0x61,0x6c,0x67])]:_0x4618dd([0x45,0x53,0x32,0x35,0x36])},_0x501256=_0x334695[_0x4618dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4618dd([0x67,0x65,0x74])](_0x4618dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x462ff5(){let _0x22e80f,_0x30ac82=null,_0x41084c=null;try{if(_0x501256==_0x4618dd([0x47,0x50,0x4c]))return _0x4618dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22e80f=_0x1c4c3a(),!_0x22e80f)return _0x4618dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x22e80f[_0x4618dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41084c=_0x5ec97d(_0x22e80f[_0x4618dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22e80f[_0x4618dd([0x6a,0x74,0x69])])),await _0x4da927()?_0x3f140e()?_0x96abbf()?_0x4618dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e60bc()?(_0x22e80f[_0x4618dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4618dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x30ac82=_0x47d4fe(_0x4618dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22e80f[_0x4618dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4618dd([0x74,0x72,0x69,0x61,0x6c])&&(_0x30ac82=_0x47d4fe(_0x4618dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x545af4()):_0x4618dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4618dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4618dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4618dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x96abbf(){const _0x126edd=[_0x4618dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4618dd([0x74,0x72,0x69,0x61,0x6c])][_0x4618dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22e80f[_0x4618dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f2abb/0x3e8:0xe10*_0x3b5d9e;return _0x22e80f[_0x4618dd([0x65,0x78,0x70])]<_0x126edd;}function _0x3f140e(){const _0x51aac1=_0x22e80f[_0x4618dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51aac1&&(!!_0x51aac1[_0x4618dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4618dd([0x2a]))||(!!_0x51aac1[_0x4618dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4618dd([0x46,0x50]))||!!_0x51aac1[_0x4618dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4618dd([0x50,0x50]))));}function _0x1e60bc(){const _0x4da0cf=_0x22e80f[_0x4618dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4da0cf||0x0==_0x4da0cf[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18fc4a}=new URL(window[_0x4618dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4da0cf[_0x4618dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18fc4a))return!0x0;const _0x30f0a4=_0x18fc4a[_0x4618dd([0x73,0x70,0x6c,0x69,0x74])](_0x4618dd([0x2e]));return _0x4da0cf[_0x4618dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6a1f5a=>_0x6a1f5a[_0x4618dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4618dd([0x2a])))[_0x4618dd([0x6d,0x61,0x70])](_0x298c55=>_0x298c55[_0x4618dd([0x73,0x70,0x6c,0x69,0x74])](_0x4618dd([0x2e])))[_0x4618dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x89e708=>_0x89e708[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30f0a4[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4618dd([0x6d,0x61,0x70])](_0x8f582c=>Array(_0x30f0a4[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8f582c[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4618dd([0x66,0x69,0x6c,0x6c])](_0x8f582c[0x0]===_0x4618dd([0x2a])?_0x4618dd([0x2a]):'')[_0x4618dd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8f582c))[_0x4618dd([0x73,0x6f,0x6d,0x65])](_0x1ecaad=>_0x30f0a4[_0x4618dd([0x65,0x76,0x65,0x72,0x79])]((_0x2e64af,_0x294a46)=>_0x1ecaad[_0x294a46]===_0x2e64af||_0x1ecaad[_0x294a46]===_0x4618dd([0x2a])));}function _0x545af4(){return _0x30ac82&&_0x41084c?new window[(_0x4618dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x167b20,_0x35926b)=>{_0x30ac82[_0x4618dd([0x74,0x68,0x65,0x6e])](_0x167b20,_0x35926b),_0x41084c[_0x4618dd([0x74,0x68,0x65,0x6e])](_0x44074f=>{_0x44074f!=_0x4618dd([0x56,0x61,0x6c,0x69,0x64])&&_0x167b20(_0x44074f);},_0x35926b);}):_0x30ac82||_0x41084c||_0x4618dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ec97d(_0xcfc1f4,_0xb39f1f){return new window[(_0x4618dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17b768=>{if(_0x151829())return _0x17b768(_0x4618dd([0x56,0x61,0x6c,0x69,0x64]));_0x544a95(),_0x334695[_0x4618dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4618dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2cb791=!0x1;const _0x3296dd=_0x5527eb();function _0x5b223e(_0x2c25d0){return!!_0x2c25d0&&(typeof _0x2c25d0===_0x4618dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c25d0===_0x4618dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c25d0[_0x4618dd([0x74,0x68,0x65,0x6e])]===_0x4618dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c25d0[_0x4618dd([0x63,0x61,0x74,0x63,0x68])]===_0x4618dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ab941(_0x43e861){_0x3141d1(_0x43e861)[_0x4618dd([0x74,0x68,0x65,0x6e])](_0x1eaeb0=>{if(!_0x1eaeb0||_0x1eaeb0[_0x4618dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4618dd([0x6f,0x6b]))return _0x4618dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x204e12(_0x8c8e9f(_0x3296dd+_0xb39f1f))!=_0x1eaeb0[_0x4618dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4618dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4618dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x4618dd([0x74,0x68,0x65,0x6e])](_0x1ecd0e=>(_0x536ed8(),_0x1ecd0e),()=>{const _0xfaa79d=_0x8106ca();return null==_0xfaa79d?(_0x536ed8(),_0x4618dd([0x56,0x61,0x6c,0x69,0x64])):_0x4618dd(_0x3f2abb-_0xfaa79d>(0x1f07cfc7^_0x420842)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4618dd([0x74,0x68,0x65,0x6e])](_0x17b768)[_0x4618dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17b768(_0x4618dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9a0bb0=0x3b3da547^_0x420842;function _0x536ed8(){const _0x2b1fd4=_0x4618dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x204e12(_0x8c8e9f(_0xcfc1f4)),_0x520c78=_0x31b6f9(_0x204e12(window[_0x4618dd([0x4d,0x61,0x74,0x68])][_0x4618dd([0x63,0x65,0x69,0x6c])](_0x3f2abb/_0x9a0bb0)));window[_0x4618dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4618dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b1fd4,_0x520c78);}function _0x8106ca(){const _0x449279=_0x4618dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x204e12(_0x8c8e9f(_0xcfc1f4)),_0x19135e=window[_0x4618dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4618dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x449279);return _0x19135e?window[_0x4618dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31b6f9(_0x19135e),0x10)*_0x9a0bb0:null;}function _0x3141d1(_0x5ab1ae){return new window[(_0x4618dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19d1bc,_0x4099af)=>{_0x5ab1ae[_0x4618dd([0x74,0x68,0x65,0x6e])](_0x19d1bc,_0x4099af),window[_0x4618dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4099af,0x3b0a9f07^_0x420842);});}}_0x334695[_0x4618dd([0x6f,0x6e])](_0x4618dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x249d06,_0x3d10cb)=>{if(_0x3d10cb[0x0]!=_0xcfc1f4)return _0x17b768(_0x4618dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d10cb[0x1]={..._0x3d10cb[0x1],[_0x4618dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3296dd};},{[_0x4618dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4618dd([0x68,0x69,0x67,0x68])}),_0x334695[_0x4618dd([0x6f,0x6e])](_0x4618dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47272f=>{_0x5b223e(_0x47272f[_0x4618dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2cb791=!0x0,_0x1ab941(_0x47272f[_0x4618dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4618dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4618dd([0x6c,0x6f,0x77])}),_0x1e1296[_0x4618dd([0x74,0x68,0x65,0x6e])](()=>{_0x2cb791||_0x17b768(_0x4618dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x151829(){return _0x334695[_0x4618dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4618dd([0x76,0x69,0x65,0x77])][_0x4618dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4618dd([0x61,0x75,0x74,0x6f]);}function _0x544a95(){_0x334695[_0x4618dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4618dd([0x76,0x69,0x65,0x77])][_0x4618dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4618dd([0x61,0x75,0x74,0x6f]);}}function _0x47d4fe(_0x2c17af){const _0x967f5d=[new window[(_0x4618dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bdbde=>setTimeout(_0x4bdbde,0x3b02750b^_0x420842)),_0x1e1296[_0x4618dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4618dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42924a=>{let _0x51adae=0x0;_0x334695[_0x4618dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4618dd([0x6f,0x6e])](_0x4618dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x559287,_0xd9309)=>{_0xd9309[0x0][_0x4618dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51adae++,_0x51adae==(0x3b0b4a3f^_0x420842)&&(_0x42924a(),_0x559287[_0x4618dd([0x6f,0x66,0x66])]());});}))];return window[_0x4618dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4618dd([0x72,0x61,0x63,0x65])](_0x967f5d)[_0x4618dd([0x74,0x68,0x65,0x6e])](()=>_0x2c17af);}async function _0x3029e4(){await _0x1e1296,_0x334695[_0x4618dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4618dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9cd5e4,_0x334695[_0x4618dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4618dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9cd5e4,_0x334695[_0x4618dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4618dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b2379(_0x2176e9){const _0x5c8778=_0x233b21();_0x334695[_0x5c8778]=_0x4618dd([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2176e9,_0x2176e9!=_0x4618dd([0x56,0x61,0x6c,0x69,0x64])&&_0x3029e4();}function _0x233b21(){const _0x5432ce=window[_0x4618dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4618dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4618dd([0x6e,0x6f,0x77])]())[_0x4618dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4618dd([0x2e]),'');let _0x2cac2e=_0x4618dd([0x6c]);for(let _0x397305=0x0;_0x397305<_0x5432ce[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x397305+=0x2){let _0x29744d=window[_0x4618dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5432ce[_0x4618dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x397305,_0x397305+0x2));_0x29744d>=_0x22054d[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29744d-=_0x22054d[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2cac2e+=_0x22054d[_0x29744d];}return _0x2cac2e;}function _0x1c4c3a(){const _0x365b62=_0x501256[_0x4618dd([0x73,0x70,0x6c,0x69,0x74])](_0x4618dd([0x2e]));if(0x3!=_0x365b62[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x455669(_0x365b62[0x1]);function _0x455669(_0x398b8e){const _0x1a3aae=_0x369611(_0x398b8e);return _0x1a3aae&&_0x40ecd0()?_0x1a3aae:null;function _0x40ecd0(){const _0x3ef35f=_0x1a3aae[_0x4618dd([0x6a,0x74,0x69])],_0x296151=window[_0x4618dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ef35f[_0x4618dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ef35f[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd8a957={..._0x1a3aae,[_0x4618dd([0x6a,0x74,0x69])]:_0x3ef35f[_0x4618dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ef35f[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd8a957[_0x4618dd([0x76,0x63])],_0x8c8e9f(_0xd8a957)==_0x296151;}}}async function _0x4da927(){let _0xca6ba3=!0x0;try{const _0x1c2e10=_0x501256[_0x4618dd([0x73,0x70,0x6c,0x69,0x74])](_0x4618dd([0x2e])),[_0x29b759,_0x274d03,_0x30d3ad]=_0x1c2e10;return _0x3ec0c0(_0x29b759),await _0x5e9539(_0x29b759,_0x274d03,_0x30d3ad),_0xca6ba3;}catch{return!0x1;}function _0x3ec0c0(_0x309d98){const _0x5ca1b8=_0x369611(_0x309d98);_0x5ca1b8&&_0x5ca1b8[_0x4618dd([0x61,0x6c,0x67])]==_0x4618dd([0x45,0x53,0x32,0x35,0x36])||(_0xca6ba3=!0x1);}async function _0x5e9539(_0x20ee66,_0x29471d,_0x117b88){const _0x44b01b=window[_0x4618dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4618dd([0x66,0x72,0x6f,0x6d])](_0x2d2538(_0x117b88),_0x423caa=>_0x423caa[_0x4618dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x376ee4=new window[(_0x4618dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4618dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20ee66+_0x4618dd([0x2e])+_0x29471d),_0x49942b=window[_0x4618dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4618dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49942b)return;const _0x575e50=await _0x49942b[_0x4618dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4618dd([0x6a,0x77,0x6b]),_0x3d3233,{[_0x4618dd([0x6e,0x61,0x6d,0x65])]:_0x4618dd([0x45,0x43,0x44,0x53,0x41]),[_0x4618dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4618dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4618dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49942b[_0x4618dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4618dd([0x6e,0x61,0x6d,0x65])]:_0x4618dd([0x45,0x43,0x44,0x53,0x41]),[_0x4618dd([0x68,0x61,0x73,0x68])]:{[_0x4618dd([0x6e,0x61,0x6d,0x65])]:_0x4618dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x575e50,_0x44b01b,_0x376ee4)||(_0xca6ba3=!0x1);}}function _0x369611(_0xe0e78d){return _0xe0e78d[_0x4618dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4618dd([0x65,0x79]))?JSON[_0x4618dd([0x70,0x61,0x72,0x73,0x65])](_0x2d2538(_0xe0e78d)):null;}function _0x2d2538(_0x39c1df){return window[_0x4618dd([0x61,0x74,0x6f,0x62])](_0x39c1df[_0x4618dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4618dd([0x2b]))[_0x4618dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4618dd([0x2f])));}function _0x8c8e9f(_0x5578bd){let _0x313edc=0x1505;function _0x3148d5(_0x44b4d1){for(let _0x3dbc07=0x0;_0x3dbc07<_0x44b4d1[_0x4618dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3dbc07++){const _0x11f465=_0x44b4d1[_0x4618dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3dbc07);_0x313edc=(_0x313edc<<0x5)+_0x313edc+_0x11f465,_0x313edc&=_0x313edc;}}function _0x843b99(_0xecf56f){Array[_0x4618dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xecf56f)?_0xecf56f[_0x4618dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x843b99):_0xecf56f&&typeof _0xecf56f==_0x4618dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4618dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xecf56f)[_0x4618dd([0x73,0x6f,0x72,0x74])]()[_0x4618dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x950e1f,_0x338081])=>{_0x3148d5(_0x950e1f),_0x843b99(_0x338081);}):_0x3148d5(window[_0x4618dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xecf56f));}return _0x843b99(_0x5578bd),_0x313edc>>>0x0;}function _0x204e12(_0x374775){return _0x374775[_0x4618dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4618dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4618dd([0x30]));}function _0x31b6f9(_0x2096f0){return _0x2096f0[_0x4618dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4618dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4618dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x9cd5e4(){}function _0x4618dd(_0x368da1){return _0x368da1['map'](_0x5cb074=>String['fromCharCode'](_0x5cb074))['join']('');}_0x1b2379(await _0x462ff5());}(this);}['_toggleSpecialCursor'](_0x3d1077){this['editor']['editing']['view']['change'](_0x3c3f2f=>{for(const _0x372ce7 of this['editor']['editing']['view']['document']['roots'])_0x3d1077?_0x3c3f2f['addClass'](C,_0x372ce7):_0x3c3f2f['removeClass'](C,_0x372ce7);});}['_copyFormatting'](){const {editor:_0x497eca}=this;_0x497eca['execute'](c),_0x497eca['ui']['ariaLiveAnnouncer']['announce'](b(_0x497eca['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x3434f5}=this,_0x57f1a6=_0x3434f5['commands']['get'](c)['value'];_0x3434f5['execute'](e,_0x57f1a6),_0x3434f5['ui']['ariaLiveAnnouncer']['announce'](b(_0x3434f5['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x50e5fe['window']['document'],'mouseup');}}class n extends _0x34423a{static get['requires'](){return[a,m];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{r as CopyFormatCommand,n as FormatPainter,a as FormatPainterEditing,m as FormatPainterUI,o as PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "45.2.1-alpha.
|
|
3
|
+
"version": "45.2.1-alpha.6",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "45.2.1-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "45.2.1-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.
|
|
20
|
-
"ckeditor5": "45.2.1-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.6",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.2.1-alpha.6",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.6",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.6",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.6",
|
|
20
|
+
"ckeditor5": "45.2.1-alpha.6"
|
|
21
21
|
},
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/formatpainterui.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
_0x3bdca8(_0x1aae32){static get[_0x356ee9(0x13b)](){const _0x316289=_0x356ee9;return _0x316289(0x150);}static get[_0x356ee9(0x137)](){return!0x0;}static get[_0x356ee9(0x157)](){return!0x0;}[_0x356ee9(0x14c)](){const _0x307b25=_0x356ee9,_0x50350b=this[_0x307b25(0x163)];_0x50350b[_0x307b25(0x134)][_0x307b25(0x135)][_0x307b25(0x13a)](_0xba215b),_0x50350b[_0x307b25(0x161)][_0x307b25(0x147)]({'keystrokes':[{'label':_0x45dc95(_0x50350b[_0x307b25(0x13e)],_0x307b25(0x16a)),'keystroke':_0x307b25(0x16b)},{'label':_0x45dc95(_0x50350b[_0x307b25(0x13e)],_0x307b25(0x12a)),'keystroke':_0x307b25(0x144)}]}),_0x50350b['ui'][_0x307b25(0x15b)][_0x307b25(0x13c)](_0x307b25(0x139),_0x35ba27=>{const _0x41466c=_0x307b25,_0x4a6bde=_0x883313(_0x35ba27,_0x329384),_0x271b1c=_0x50350b[_0x41466c(0x16e)][_0x41466c(0x130)](_0x30480c);_0x4a6bde[_0x41466c(0x142)][_0x41466c(0x165)]({'label':_0x45dc95(_0x50350b[_0x41466c(0x13e)],_0x41466c(0x12e)),'icon':_0x1349cf,'keystroke':_0x41466c(0x16b),'tooltip':!0x0}),_0x4a6bde[_0x41466c(0x14d)]=_0x41466c(0x12f),_0x271b1c&&(_0x4a6bde[_0x41466c(0x128)](_0x41466c(0x14e))['to'](_0x271b1c,_0x41466c(0x14e)),this[_0x41466c(0x155)](_0x271b1c,_0x41466c(0x162),(_0x2e10f2,_0x27f33b,_0x54ed1f)=>{const _0x366b57=_0x41466c;_0x54ed1f||this[_0x366b57(0x158)]();}),_0x4a6bde[_0x41466c(0x142)][_0x41466c(0x128)](_0x41466c(0x132))['to'](_0x271b1c,_0x41466c(0x14a),_0x574594=>!!_0x574594),this[_0x41466c(0x155)](_0x50350b,_0x41466c(0x125),()=>this[_0x41466c(0x16f)](!0x1)),this[_0x41466c(0x155)](_0x271b1c,_0x41466c(0x15a),(_0x322d39,_0x59c4b7,_0x89b99)=>{const _0x56dacf=_0x41466c;this[_0x56dacf(0x16f)](!!_0x89b99);}));const _0x35f9e2=new _0x4cb8cb({'withText':!0x0,'label':_0x45dc95(_0x50350b[_0x41466c(0x13e)],_0x41466c(0x15c)),'tooltip':_0x45dc95(_0x50350b[_0x41466c(0x13e)],_0x41466c(0x12c)),'isOn':!0x1,'role':_0x41466c(0x129)});_0x29a23a(_0x4a6bde,new _0x5637e7([{'type':_0x41466c(0x12b),'model':_0x35f9e2}]),{'role':_0x41466c(0x133)});const _0x43ec5d=()=>{const _0x109eb7=_0x41466c;this[_0x109eb7(0x140)](),this[_0x109eb7(0x155)](_0x464140[_0x109eb7(0x124)][_0x109eb7(0x146)],_0x109eb7(0x151),()=>{const _0x522e96=_0x109eb7;this[_0x522e96(0x152)](),_0x35f9e2[_0x522e96(0x132)]||this[_0x522e96(0x158)]();});};return this[_0x41466c(0x155)](_0x4a6bde,_0x41466c(0x145),()=>{const _0x25e279=_0x41466c;_0x35f9e2[_0x25e279(0x132)]=!_0x35f9e2[_0x25e279(0x132)];}),this[_0x41466c(0x155)](_0x4a6bde[_0x41466c(0x142)],_0x41466c(0x145),()=>{const _0x4f7701=_0x41466c;_0x50350b[_0x4f7701(0x134)][_0x4f7701(0x135)][_0x4f7701(0x168)](),_0x4a6bde[_0x4f7701(0x142)][_0x4f7701(0x132)]?this[_0x4f7701(0x158)]():_0x43ec5d();}),_0x50350b[_0x41466c(0x13d)][_0x41466c(0x165)](_0x41466c(0x16b),(_0x1d7db3,_0x12f8ae)=>{const _0x598e23=_0x41466c;_0x43ec5d(),_0x35f9e2[_0x598e23(0x132)]=!0x0,_0x12f8ae();},{'priority':_0x41466c(0x169)}),_0x50350b[_0x41466c(0x13d)][_0x41466c(0x165)](_0x41466c(0x144),(_0x1ef54c,_0x587b5b)=>{const _0x495e27=_0x41466c;_0x4a6bde[_0x495e27(0x142)][_0x495e27(0x132)]&&(this[_0x495e27(0x152)](),_0x35f9e2[_0x495e27(0x132)]||this[_0x495e27(0x158)](),_0x587b5b());},{'priority':_0x41466c(0x169)}),_0x50350b[_0x41466c(0x13d)][_0x41466c(0x165)](_0x41466c(0x166),(_0x16fe9e,_0x2bb2cf)=>{const _0x13f384=_0x41466c;_0x4a6bde[_0x13f384(0x142)][_0x13f384(0x132)]&&(_0x35f9e2[_0x13f384(0x132)]=!0x1,this[_0x13f384(0x158)](),_0x2bb2cf());}),_0x4a6bde;});}[_0x356ee9(0x156)](){!async function(_0x16a913){const _0x18d2de=_0x5868cf([0x69,0x58,0x4e,0x68,0x6a,0x48,0x78,0x57,0x4d,0x44,0x73,0x64,0x30,0x65,0x56,0x50,0x66,0x4a,0x74,0x38,0x79,0x32,0x76,0x61,0x63,0x6e,0x41,0x54,0x67,0x55,0x51,0x39,0x77,0x5a,0x31,0x62,0x6b,0x59,0x36,0x6f,0x52,0x49,0x42,0x75,0x37,0x34,0x7a,0x46,0x6c,0x4f,0x70,0x53,0x43,0x72,0x71,0x6d,0x35,0x4c,0x47,0x33,0x4b,0x45]),_0x15f5c0=0x78d64825,_0x15d084=0x78d12315^_0x15f5c0,_0x244cb5=window[_0x5868cf([0x44,0x61,0x74,0x65])][_0x5868cf([0x6e,0x6f,0x77])](),_0x363499=_0x16a913[_0x5868cf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x14d473=new window[(_0x5868cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x588646=>{_0x363499[_0x5868cf([0x6f,0x6e,0x63,0x65])](_0x5868cf([0x72,0x65,0x61,0x64,0x79]),_0x588646);}),_0x1552b7={[_0x5868cf([0x6b,0x74,0x79])]:_0x5868cf([0x45,0x43]),[_0x5868cf([0x75,0x73,0x65])]:_0x5868cf([0x73,0x69,0x67]),[_0x5868cf([0x63,0x72,0x76])]:_0x5868cf([0x50,0x2d,0x32,0x35,0x36]),[_0x5868cf([0x78])]:_0x5868cf([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]),[_0x5868cf([0x79])]:_0x5868cf([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]),[_0x5868cf([0x61,0x6c,0x67])]:_0x5868cf([0x45,0x53,0x32,0x35,0x36])},_0x5b7674=_0x363499[_0x5868cf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5868cf([0x67,0x65,0x74])](_0x5868cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2dc4ec(){let _0x5947ce,_0x23039f=null,_0x4ff14e=null;try{if(_0x5b7674==_0x5868cf([0x47,0x50,0x4c]))return _0x5868cf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5947ce=_0x360448(),!_0x5947ce)return _0x5868cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5947ce[_0x5868cf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ff14e=_0x4df8bf(_0x5947ce[_0x5868cf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5947ce[_0x5868cf([0x6a,0x74,0x69])])),await _0x3b961d()?_0x29d605()?_0x2bc3c1()?_0x5868cf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x459e1e()?(_0x5947ce[_0x5868cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5868cf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23039f=_0x4a9504(_0x5868cf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5947ce[_0x5868cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5868cf([0x74,0x72,0x69,0x61,0x6c])&&(_0x23039f=_0x4a9504(_0x5868cf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53d660()):_0x5868cf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5868cf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5868cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5868cf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2bc3c1(){const _0xb999ca=[_0x5868cf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5868cf([0x74,0x72,0x69,0x61,0x6c])][_0x5868cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5947ce[_0x5868cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x244cb5/0x3e8:0xe10*_0x15d084;return _0x5947ce[_0x5868cf([0x65,0x78,0x70])]<_0xb999ca;}function _0x29d605(){const _0x433b12=_0x5947ce[_0x5868cf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x433b12&&(!!_0x433b12[_0x5868cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5868cf([0x2a]))||(!!_0x433b12[_0x5868cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5868cf([0x46,0x50]))||!!_0x433b12[_0x5868cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5868cf([0x50,0x50]))));}function _0x459e1e(){const _0x1d9297=_0x6ff9,_0x4bcc89=_0x5947ce[_0x5868cf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bcc89||0x0==_0x4bcc89[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x236023}=new URL(window[_0x5868cf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1d9297(0x141)]);if(_0x4bcc89[_0x5868cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x236023))return!0x0;const _0x4b7e9f=_0x236023[_0x5868cf([0x73,0x70,0x6c,0x69,0x74])](_0x5868cf([0x2e]));return _0x4bcc89[_0x5868cf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f55dc=>_0x1f55dc[_0x5868cf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5868cf([0x2a])))[_0x5868cf([0x6d,0x61,0x70])](_0x47010f=>_0x47010f[_0x5868cf([0x73,0x70,0x6c,0x69,0x74])](_0x5868cf([0x2e])))[_0x5868cf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29b4f7=>_0x29b4f7[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b7e9f[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5868cf([0x6d,0x61,0x70])](_0x3c8cf0=>Array(_0x4b7e9f[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c8cf0[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5868cf([0x66,0x69,0x6c,0x6c])](_0x3c8cf0[0x0]===_0x5868cf([0x2a])?_0x5868cf([0x2a]):'')[_0x5868cf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c8cf0))[_0x5868cf([0x73,0x6f,0x6d,0x65])](_0x2e2d71=>_0x4b7e9f[_0x5868cf([0x65,0x76,0x65,0x72,0x79])]((_0x38cc8e,_0x3edaf4)=>_0x2e2d71[_0x3edaf4]===_0x38cc8e||_0x2e2d71[_0x3edaf4]===_0x5868cf([0x2a])));}function _0x53d660(){return _0x23039f&&_0x4ff14e?new window[(_0x5868cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x573898,_0x1a2a26)=>{_0x23039f[_0x5868cf([0x74,0x68,0x65,0x6e])](_0x573898,_0x1a2a26),_0x4ff14e[_0x5868cf([0x74,0x68,0x65,0x6e])](_0x154f70=>{_0x154f70!=_0x5868cf([0x56,0x61,0x6c,0x69,0x64])&&_0x573898(_0x154f70);},_0x1a2a26);}):_0x23039f||_0x4ff14e||_0x5868cf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4df8bf(_0x2306a9,_0x32ccec){return new window[(_0x5868cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x380de7=>{if(_0xd80998())return _0x380de7(_0x5868cf([0x56,0x61,0x6c,0x69,0x64]));_0x12847e(),_0x363499[_0x5868cf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5868cf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24a5b0=!0x1;const _0x17836a=_0x4fbb01();function _0x41fee0(_0x46a6f4){return!!_0x46a6f4&&(typeof _0x46a6f4===_0x5868cf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46a6f4===_0x5868cf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46a6f4[_0x5868cf([0x74,0x68,0x65,0x6e])]===_0x5868cf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46a6f4[_0x5868cf([0x63,0x61,0x74,0x63,0x68])]===_0x5868cf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x88c135(_0x3cb48e){_0x445b3d(_0x3cb48e)[_0x5868cf([0x74,0x68,0x65,0x6e])](_0x22c223=>{if(!_0x22c223||_0x22c223[_0x5868cf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5868cf([0x6f,0x6b]))return _0x5868cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e0885(_0x368b14(_0x17836a+_0x32ccec))!=_0x22c223[_0x5868cf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5868cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5868cf([0x56,0x61,0x6c,0x69,0x64]);})[_0x5868cf([0x74,0x68,0x65,0x6e])](_0x15936f=>(_0x5920b5(),_0x15936f),()=>{const _0x61c2c0=_0x1ebc45();return null==_0x61c2c0?(_0x5920b5(),_0x5868cf([0x56,0x61,0x6c,0x69,0x64])):_0x5868cf(_0x244cb5-_0x61c2c0>(0x5cdacc25^_0x15f5c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5868cf([0x74,0x68,0x65,0x6e])](_0x380de7)[_0x5868cf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x380de7(_0x5868cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x381cec=0x78e0a6a5^_0x15f5c0;function _0x5920b5(){const _0x25cce9=_0x5868cf([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e0885(_0x368b14(_0x2306a9)),_0x51b699=_0xa8d644(_0x1e0885(window[_0x5868cf([0x4d,0x61,0x74,0x68])][_0x5868cf([0x63,0x65,0x69,0x6c])](_0x244cb5/_0x381cec)));window[_0x5868cf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5868cf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25cce9,_0x51b699);}function _0x1ebc45(){const _0x1ee1cf=_0x5868cf([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e0885(_0x368b14(_0x2306a9)),_0x3b7938=window[_0x5868cf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5868cf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ee1cf);return _0x3b7938?window[_0x5868cf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa8d644(_0x3b7938),0x10)*_0x381cec:null;}function _0x445b3d(_0x3c6663){return new window[(_0x5868cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5de561,_0x285537)=>{_0x3c6663[_0x5868cf([0x74,0x68,0x65,0x6e])](_0x5de561,_0x285537),window[_0x5868cf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x285537,0x78d79ce5^_0x15f5c0);});}}_0x363499[_0x5868cf([0x6f,0x6e])](_0x5868cf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x128fa2,_0x374e57)=>{if(_0x374e57[0x0]!=_0x2306a9)return _0x380de7(_0x5868cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x374e57[0x1]={..._0x374e57[0x1],[_0x5868cf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17836a};},{[_0x5868cf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5868cf([0x68,0x69,0x67,0x68])}),_0x363499[_0x5868cf([0x6f,0x6e])](_0x5868cf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x102efa=>{_0x41fee0(_0x102efa[_0x5868cf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24a5b0=!0x0,_0x88c135(_0x102efa[_0x5868cf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5868cf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5868cf([0x6c,0x6f,0x77])}),_0x14d473[_0x5868cf([0x74,0x68,0x65,0x6e])](()=>{_0x24a5b0||_0x380de7(_0x5868cf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd80998(){return _0x363499[_0x5868cf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5868cf([0x76,0x69,0x65,0x77])][_0x5868cf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5868cf([0x61,0x75,0x74,0x6f]);}function _0x12847e(){_0x363499[_0x5868cf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5868cf([0x76,0x69,0x65,0x77])][_0x5868cf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5868cf([0x61,0x75,0x74,0x6f]);}}function _0x4a9504(_0x3d6175){const _0x1d1ae4=[new window[(_0x5868cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dea9c=>setTimeout(_0x1dea9c,0x78df76e9^_0x15f5c0)),_0x14d473[_0x5868cf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5868cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x528251=>{let _0x27eac2=0x0;_0x363499[_0x5868cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x5868cf([0x6f,0x6e])](_0x5868cf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x189237,_0x5d4414)=>{_0x5d4414[0x0][_0x5868cf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27eac2++,_0x27eac2==(0x78d649dd^_0x15f5c0)&&(_0x528251(),_0x189237[_0x5868cf([0x6f,0x66,0x66])]());});}))];return window[_0x5868cf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5868cf([0x72,0x61,0x63,0x65])](_0x1d1ae4)[_0x5868cf([0x74,0x68,0x65,0x6e])](()=>_0x3d6175);}async function _0x3acbb1(){await _0x14d473,_0x363499[_0x5868cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x5868cf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b5e4e,_0x363499[_0x5868cf([0x6d,0x6f,0x64,0x65,0x6c])][_0x5868cf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b5e4e,_0x363499[_0x5868cf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5868cf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x301f5b(_0x94e2db){const _0x1fe572=_0x12d195();_0x363499[_0x1fe572]=_0x5868cf([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x94e2db,_0x94e2db!=_0x5868cf([0x56,0x61,0x6c,0x69,0x64])&&_0x3acbb1();}function _0x12d195(){const _0x30d43f=window[_0x5868cf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5868cf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5868cf([0x6e,0x6f,0x77])]())[_0x5868cf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5868cf([0x2e]),'');let _0x130b80=_0x5868cf([0x69]);for(let _0x4085a1=0x0;_0x4085a1<_0x30d43f[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4085a1+=0x2){let _0x5adebe=window[_0x5868cf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30d43f[_0x5868cf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4085a1,_0x4085a1+0x2));_0x5adebe>=_0x18d2de[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5adebe-=_0x18d2de[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x130b80+=_0x18d2de[_0x5adebe];}return _0x130b80;}function _0x360448(){const _0x168da2=_0x5b7674[_0x5868cf([0x73,0x70,0x6c,0x69,0x74])](_0x5868cf([0x2e]));if(0x3!=_0x168da2[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d6d46(_0x168da2[0x1]);function _0x5d6d46(_0x44ab19){const _0x82598a=_0x1dc893(_0x44ab19);return _0x82598a&&_0x2f54d5()?_0x82598a:null;function _0x2f54d5(){const _0x2906b9=_0x82598a[_0x5868cf([0x6a,0x74,0x69])],_0x79aabd=window[_0x5868cf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2906b9[_0x5868cf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2906b9[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28df4d={..._0x82598a,[_0x5868cf([0x6a,0x74,0x69])]:_0x2906b9[_0x5868cf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2906b9[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28df4d[_0x5868cf([0x76,0x63])],_0x368b14(_0x28df4d)==_0x79aabd;}}}async function _0x3b961d(){let _0x233d78=!0x0;try{const _0x1ac104=_0x5b7674[_0x5868cf([0x73,0x70,0x6c,0x69,0x74])](_0x5868cf([0x2e])),[_0xde493f,_0x23fb40,_0x27f164]=_0x1ac104;return _0x540832(_0xde493f),await _0x2f5c52(_0xde493f,_0x23fb40,_0x27f164),_0x233d78;}catch{return!0x1;}function _0x540832(_0x1417d7){const _0x47edc0=_0x1dc893(_0x1417d7);_0x47edc0&&_0x47edc0[_0x5868cf([0x61,0x6c,0x67])]==_0x5868cf([0x45,0x53,0x32,0x35,0x36])||(_0x233d78=!0x1);}async function _0x2f5c52(_0x512364,_0x5f34d2,_0x9716bf){const _0x2127ab=window[_0x5868cf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5868cf([0x66,0x72,0x6f,0x6d])](_0x245d35(_0x9716bf),_0x5947b7=>_0x5947b7[_0x5868cf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x526bcf=new window[(_0x5868cf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5868cf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x512364+_0x5868cf([0x2e])+_0x5f34d2),_0x32e94a=window[_0x5868cf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5868cf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32e94a)return;const _0x215fb4=await _0x32e94a[_0x5868cf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5868cf([0x6a,0x77,0x6b]),_0x1552b7,{[_0x5868cf([0x6e,0x61,0x6d,0x65])]:_0x5868cf([0x45,0x43,0x44,0x53,0x41]),[_0x5868cf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5868cf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5868cf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32e94a[_0x5868cf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5868cf([0x6e,0x61,0x6d,0x65])]:_0x5868cf([0x45,0x43,0x44,0x53,0x41]),[_0x5868cf([0x68,0x61,0x73,0x68])]:{[_0x5868cf([0x6e,0x61,0x6d,0x65])]:_0x5868cf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x215fb4,_0x2127ab,_0x526bcf)||(_0x233d78=!0x1);}}function _0x1dc893(_0x18802b){return _0x18802b[_0x5868cf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5868cf([0x65,0x79]))?JSON[_0x5868cf([0x70,0x61,0x72,0x73,0x65])](_0x245d35(_0x18802b)):null;}function _0x245d35(_0x21a130){return window[_0x5868cf([0x61,0x74,0x6f,0x62])](_0x21a130[_0x5868cf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5868cf([0x2b]))[_0x5868cf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5868cf([0x2f])));}function _0x368b14(_0x4e7787){let _0x10096f=0x1505;function _0x44f1f9(_0x57a96e){for(let _0x201394=0x0;_0x201394<_0x57a96e[_0x5868cf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201394++){const _0x4c1a51=_0x57a96e[_0x5868cf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x201394);_0x10096f=(_0x10096f<<0x5)+_0x10096f+_0x4c1a51,_0x10096f&=_0x10096f;}}function _0x4231d5(_0x20999b){Array[_0x5868cf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20999b)?_0x20999b[_0x5868cf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4231d5):_0x20999b&&typeof _0x20999b==_0x5868cf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5868cf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20999b)[_0x5868cf([0x73,0x6f,0x72,0x74])]()[_0x5868cf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3388e6,_0xcf2847])=>{_0x44f1f9(_0x3388e6),_0x4231d5(_0xcf2847);}):_0x44f1f9(window[_0x5868cf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20999b));}return _0x4231d5(_0x4e7787),_0x10096f>>>0x0;}function _0x1e0885(_0x3ed671){return _0x3ed671[_0x5868cf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5868cf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5868cf([0x30]));}function _0xa8d644(_0x5c1fc6){return _0x5c1fc6[_0x5868cf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5868cf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5868cf([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b5e4e(){}function _0x5868cf(_0x11ab51){const _0x471fab=_0x6ff9;return _0x11ab51[_0x471fab(0x15d)](_0x19c1fa=>String[_0x471fab(0x159)](_0x19c1fa))[_0x471fab(0x167)]('');}_0x301f5b(await _0x2dc4ec());}(this);}[_0x356ee9(0x16f)](_0x349a31){const _0x202a3c=_0x356ee9;this[_0x202a3c(0x163)][_0x202a3c(0x134)][_0x202a3c(0x135)][_0x202a3c(0x131)](_0x297b9=>{const _0x53dee7=_0x202a3c;for(const _0x9fea9c of this[_0x53dee7(0x163)][_0x53dee7(0x134)][_0x53dee7(0x135)][_0x53dee7(0x146)][_0x53dee7(0x127)])_0x349a31?_0x297b9[_0x53dee7(0x15e)](_0x519f97,_0x9fea9c):_0x297b9[_0x53dee7(0x154)](_0x519f97,_0x9fea9c);});}[_0x356ee9(0x140)](){const _0x2c5e43=_0x356ee9,{editor:_0x6ea8f9}=this;_0x6ea8f9[_0x2c5e43(0x145)](_0x30480c),_0x6ea8f9['ui'][_0x2c5e43(0x143)][_0x2c5e43(0x160)](_0x45dc95(_0x6ea8f9[_0x2c5e43(0x13e)],_0x2c5e43(0x164)));}[_0x356ee9(0x152)](){const _0x3a6102=_0x356ee9,{editor:_0xfbe3aa}=this,_0xa44b8b=_0xfbe3aa[_0x3a6102(0x16e)][_0x3a6102(0x130)](_0x30480c)[_0x3a6102(0x14a)];_0xfbe3aa[_0x3a6102(0x145)](_0x1253b2,_0xa44b8b),_0xfbe3aa['ui'][_0x3a6102(0x143)][_0x3a6102(0x160)](_0x45dc95(_0xfbe3aa[_0x3a6102(0x13e)],_0x3a6102(0x126)));}[_0x356ee9(0x158)](){const _0xe2b13c=_0x356ee9;this[_0xe2b13c(0x163)][_0xe2b13c(0x16e)][_0xe2b13c(0x130)](_0x30480c)[_0xe2b13c(0x12d)](),this[_0xe2b13c(0x13f)](_0x464140[_0xe2b13c(0x124)][_0xe2b13c(0x146)],_0xe2b13c(0x151));}}
|
|
23
|
+
const _0x51890b=_0x4513;(function(_0x49dfc3,_0x8e2ed9){const _0x203dd8=_0x4513,_0x3dedb9=_0x49dfc3();while(!![]){try{const _0x4cca10=-parseInt(_0x203dd8(0x21d))/0x1*(-parseInt(_0x203dd8(0x1f2))/0x2)+-parseInt(_0x203dd8(0x22c))/0x3+-parseInt(_0x203dd8(0x1e7))/0x4+parseInt(_0x203dd8(0x225))/0x5+parseInt(_0x203dd8(0x213))/0x6*(parseInt(_0x203dd8(0x20d))/0x7)+-parseInt(_0x203dd8(0x1fd))/0x8*(parseInt(_0x203dd8(0x1f5))/0x9)+parseInt(_0x203dd8(0x200))/0xa;if(_0x4cca10===_0x8e2ed9)break;else _0x3dedb9['push'](_0x3dedb9['shift']());}catch(_0x194bb7){_0x3dedb9['push'](_0x3dedb9['shift']());}}}(_0x22e3,0x2638f));import{Plugin as _0x5c0b40}from'ckeditor5/src/core.js';import{addListToDropdown as _0x30dde4,createDropdown as _0x4a389a,ViewModel as _0x41799f,SplitButtonView as _0x2c504c}from'ckeditor5/src/ui.js';import{Collection as _0xcd3ba6,global as _0x44b9d4,DomEmitterMixin as _0x484b13,uid as _0x19f728}from'ckeditor5/src/utils.js';function _0x4513(_0x544a0b,_0x2e246d){const _0x22e344=_0x22e3();return _0x4513=function(_0x451374,_0x1eaca5){_0x451374=_0x451374-0x1e5;let _0x3a9d3=_0x22e344[_0x451374];return _0x3a9d3;},_0x4513(_0x544a0b,_0x2e246d);}import{ClickObserver as _0x47f812}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0x3f968d}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x191e98,PASTE_FORMAT_COMMAND_NAME as _0x233038,CURSOR_ACTIVE_CSS_CLASS as _0x44b1d9}from'./utils.js';function _0x22e3(){const _0xda6a49=['6nfhgTA','_finishPainting','bind','addClass','Formatting\x20copied.','menuitemcheckbox','Copy\x20text\x20formatting','componentFactory','ariaLiveAnnouncer','Continuous\x20painting','7399SnxCsQ','reset','Paint\x20formatting','keystrokes','FormatPainterUI','isEnabled','Ctrl+Alt+V','Esc','1054705nmQDhT','window','set','accessibility','value','document','get','764883joVNzA','change:isEnabled','announce','roots','focus','isOfficialPlugin','listenTo','822548BdAIiH','destroy','addObserver','removeClass','Pasted\x20formatting.','view','ck-format-painter-dropdown','add','_toggleSpecialCursor','afterInit','mouseup','34ePlXtG','commands','_copyFormatting','342189selvae','editor','Ctrl+Alt+C','_pasteFormatting','buttonView','init','pluginName','class','24eTtBFI','href','stopListening','1443210xCEooI','isPremiumPlugin','join','editing','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','locale','isOn','change:value','fromCharCode','execute','high','addKeystrokeInfos','map','1751225CMDRmH','change','switchbutton','formatPainter','Paste\x20text\x20formatting','menu'];_0x22e3=function(){return _0xda6a49;};return _0x22e3();}import{getTranslation as _0x1028a7}from'./utils/common-translations.js';export default class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x484b13(_0x5c0b40){static get[_0x51890b(0x1fb)](){const _0x2b3419=_0x51890b;return _0x2b3419(0x221);}static get[_0x51890b(0x1e5)](){return!0x0;}static get[_0x51890b(0x201)](){return!0x0;}[_0x51890b(0x1fa)](){const _0x203934=_0x51890b,_0xed966=this[_0x203934(0x1f6)];_0xed966[_0x203934(0x203)][_0x203934(0x1ec)][_0x203934(0x1e9)](_0x47f812),_0xed966[_0x203934(0x228)][_0x203934(0x20b)]({'keystrokes':[{'label':_0x1028a7(_0xed966[_0x203934(0x205)],_0x203934(0x219)),'keystroke':_0x203934(0x1f7)},{'label':_0x1028a7(_0xed966[_0x203934(0x205)],_0x203934(0x211)),'keystroke':_0x203934(0x223)}]}),_0xed966['ui'][_0x203934(0x21a)][_0x203934(0x1ee)](_0x203934(0x210),_0x178b40=>{const _0x302024=_0x203934,_0x574364=_0x4a389a(_0x178b40,_0x2c504c),_0x50fabe=_0xed966[_0x302024(0x1f3)][_0x302024(0x22b)](_0x191e98);_0x574364[_0x302024(0x1f9)][_0x302024(0x227)]({'label':_0x1028a7(_0xed966[_0x302024(0x205)],_0x302024(0x21f)),'icon':_0x3f968d,'keystroke':_0x302024(0x1f7),'tooltip':!0x0}),_0x574364[_0x302024(0x1fc)]=_0x302024(0x1ed),_0x50fabe&&(_0x574364[_0x302024(0x215)](_0x302024(0x222))['to'](_0x50fabe,_0x302024(0x222)),this[_0x302024(0x1e6)](_0x50fabe,_0x302024(0x22d),(_0x1dea1a,_0x22bbc6,_0x46e216)=>{const _0x377bf9=_0x302024;_0x46e216||this[_0x377bf9(0x214)]();}),_0x574364[_0x302024(0x1f9)][_0x302024(0x215)](_0x302024(0x206))['to'](_0x50fabe,_0x302024(0x229),_0x410bd5=>!!_0x410bd5),this[_0x302024(0x1e6)](_0xed966,_0x302024(0x1e8),()=>this[_0x302024(0x1ef)](!0x1)),this[_0x302024(0x1e6)](_0x50fabe,_0x302024(0x207),(_0x393420,_0xf3b2cc,_0x2588bf)=>{const _0x79f1bb=_0x302024;this[_0x79f1bb(0x1ef)](!!_0x2588bf);}));const _0x18a373=new _0x41799f({'withText':!0x0,'label':_0x1028a7(_0xed966[_0x302024(0x205)],_0x302024(0x21c)),'tooltip':_0x1028a7(_0xed966[_0x302024(0x205)],_0x302024(0x204)),'isOn':!0x1,'role':_0x302024(0x218)});_0x30dde4(_0x574364,new _0xcd3ba6([{'type':_0x302024(0x20f),'model':_0x18a373}]),{'role':_0x302024(0x212)});const _0x2e48d2=()=>{const _0x80095=_0x302024;this[_0x80095(0x1f4)](),this[_0x80095(0x1e6)](_0x44b9d4[_0x80095(0x226)][_0x80095(0x22a)],_0x80095(0x1f1),()=>{const _0x19d0e1=_0x80095;this[_0x19d0e1(0x1f8)](),_0x18a373[_0x19d0e1(0x206)]||this[_0x19d0e1(0x214)]();});};return this[_0x302024(0x1e6)](_0x574364,_0x302024(0x209),()=>{const _0x13f6d1=_0x302024;_0x18a373[_0x13f6d1(0x206)]=!_0x18a373[_0x13f6d1(0x206)];}),this[_0x302024(0x1e6)](_0x574364[_0x302024(0x1f9)],_0x302024(0x209),()=>{const _0x32481e=_0x302024;_0xed966[_0x32481e(0x203)][_0x32481e(0x1ec)][_0x32481e(0x230)](),_0x574364[_0x32481e(0x1f9)][_0x32481e(0x206)]?this[_0x32481e(0x214)]():_0x2e48d2();}),_0xed966[_0x302024(0x220)][_0x302024(0x227)](_0x302024(0x1f7),(_0x4cf237,_0x238f43)=>{const _0x24645f=_0x302024;_0x2e48d2(),_0x18a373[_0x24645f(0x206)]=!0x0,_0x238f43();},{'priority':_0x302024(0x20a)}),_0xed966[_0x302024(0x220)][_0x302024(0x227)](_0x302024(0x223),(_0x292284,_0x56424e)=>{const _0x5f3e31=_0x302024;_0x574364[_0x5f3e31(0x1f9)][_0x5f3e31(0x206)]&&(this[_0x5f3e31(0x1f8)](),_0x18a373[_0x5f3e31(0x206)]||this[_0x5f3e31(0x214)](),_0x56424e());},{'priority':_0x302024(0x20a)}),_0xed966[_0x302024(0x220)][_0x302024(0x227)](_0x302024(0x224),(_0x347d7c,_0x52930f)=>{const _0x369de8=_0x302024;_0x574364[_0x369de8(0x1f9)][_0x369de8(0x206)]&&(_0x18a373[_0x369de8(0x206)]=!0x1,this[_0x369de8(0x214)](),_0x52930f());}),_0x574364;});}[_0x51890b(0x1f0)](){!async function(_0x22636a){const _0x1f0d66=_0x391269([0x6c,0x74,0x45,0x48,0x4d,0x6b,0x4b,0x47,0x66,0x53,0x6a,0x39,0x75,0x59,0x7a,0x43,0x79,0x73,0x4c,0x68,0x4e,0x63,0x6d,0x32,0x57,0x46,0x44,0x6e,0x52,0x37,0x34,0x67,0x38,0x50,0x58,0x4a,0x69,0x65,0x54,0x51,0x76,0x56,0x62,0x41,0x77,0x72,0x30,0x55,0x36,0x71,0x70,0x64,0x31,0x4f,0x35,0x61,0x33,0x78,0x49,0x6f,0x42,0x5a]),_0x1c6cea=0x3b0b4bc7,_0x48effc=0x3b0c208f^_0x1c6cea,_0xb8de51=window[_0x391269([0x44,0x61,0x74,0x65])][_0x391269([0x6e,0x6f,0x77])](),_0x4b03de=_0x22636a[_0x391269([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x392cb9=new window[(_0x391269([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x271f04=>{_0x4b03de[_0x391269([0x6f,0x6e,0x63,0x65])](_0x391269([0x72,0x65,0x61,0x64,0x79]),_0x271f04);}),_0x1d7483={[_0x391269([0x6b,0x74,0x79])]:_0x391269([0x45,0x43]),[_0x391269([0x75,0x73,0x65])]:_0x391269([0x73,0x69,0x67]),[_0x391269([0x63,0x72,0x76])]:_0x391269([0x50,0x2d,0x32,0x35,0x36]),[_0x391269([0x78])]:_0x391269([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]),[_0x391269([0x79])]:_0x391269([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]),[_0x391269([0x61,0x6c,0x67])]:_0x391269([0x45,0x53,0x32,0x35,0x36])},_0x4a299a=_0x4b03de[_0x391269([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x391269([0x67,0x65,0x74])](_0x391269([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x190475(){let _0x8885c8,_0x3c0b55=null,_0x5687fc=null;try{if(_0x4a299a==_0x391269([0x47,0x50,0x4c]))return _0x391269([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8885c8=_0x40d5fa(),!_0x8885c8)return _0x391269([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8885c8[_0x391269([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5687fc=_0x8bba97(_0x8885c8[_0x391269([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8885c8[_0x391269([0x6a,0x74,0x69])])),await _0x28c8d4()?_0x957f68()?_0x1a69ac()?_0x391269([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6ce8e9()?(_0x8885c8[_0x391269([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x391269([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c0b55=_0x836e23(_0x391269([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8885c8[_0x391269([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x391269([0x74,0x72,0x69,0x61,0x6c])&&(_0x3c0b55=_0x836e23(_0x391269([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35021a()):_0x391269([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x391269([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x391269([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x391269([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a69ac(){const _0x2c415f=[_0x391269([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x391269([0x74,0x72,0x69,0x61,0x6c])][_0x391269([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8885c8[_0x391269([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb8de51/0x3e8:0xe10*_0x48effc;return _0x8885c8[_0x391269([0x65,0x78,0x70])]<_0x2c415f;}function _0x957f68(){const _0x26a7b9=_0x8885c8[_0x391269([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26a7b9&&(!!_0x26a7b9[_0x391269([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391269([0x2a]))||(!!_0x26a7b9[_0x391269([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391269([0x46,0x50]))||!!_0x26a7b9[_0x391269([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391269([0x50,0x50]))));}function _0x6ce8e9(){const _0x4ad091=_0x4513,_0x4f9f6d=_0x8885c8[_0x391269([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f9f6d||0x0==_0x4f9f6d[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49867d}=new URL(window[_0x391269([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ad091(0x1fe)]);if(_0x4f9f6d[_0x391269([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49867d))return!0x0;const _0x2f172a=_0x49867d[_0x391269([0x73,0x70,0x6c,0x69,0x74])](_0x391269([0x2e]));return _0x4f9f6d[_0x391269([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2517cb=>_0x2517cb[_0x391269([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391269([0x2a])))[_0x391269([0x6d,0x61,0x70])](_0x3bd40b=>_0x3bd40b[_0x391269([0x73,0x70,0x6c,0x69,0x74])](_0x391269([0x2e])))[_0x391269([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20c74e=>_0x20c74e[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f172a[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x391269([0x6d,0x61,0x70])](_0x25c14e=>Array(_0x2f172a[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25c14e[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x391269([0x66,0x69,0x6c,0x6c])](_0x25c14e[0x0]===_0x391269([0x2a])?_0x391269([0x2a]):'')[_0x391269([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25c14e))[_0x391269([0x73,0x6f,0x6d,0x65])](_0x4e1444=>_0x2f172a[_0x391269([0x65,0x76,0x65,0x72,0x79])]((_0x1d564d,_0x2804b9)=>_0x4e1444[_0x2804b9]===_0x1d564d||_0x4e1444[_0x2804b9]===_0x391269([0x2a])));}function _0x35021a(){return _0x3c0b55&&_0x5687fc?new window[(_0x391269([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e7e34,_0x30c198)=>{_0x3c0b55[_0x391269([0x74,0x68,0x65,0x6e])](_0x2e7e34,_0x30c198),_0x5687fc[_0x391269([0x74,0x68,0x65,0x6e])](_0x3c63ac=>{_0x3c63ac!=_0x391269([0x56,0x61,0x6c,0x69,0x64])&&_0x2e7e34(_0x3c63ac);},_0x30c198);}):_0x3c0b55||_0x5687fc||_0x391269([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8bba97(_0x460475,_0x5c6fc7){return new window[(_0x391269([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6bfb39=>{if(_0x1f675d())return _0x6bfb39(_0x391269([0x56,0x61,0x6c,0x69,0x64]));_0x105f6f(),_0x4b03de[_0x391269([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x391269([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ac374=!0x1;const _0x4ac782=_0x19f728();function _0x158093(_0x1588ab){return!!_0x1588ab&&(typeof _0x1588ab===_0x391269([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1588ab===_0x391269([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1588ab[_0x391269([0x74,0x68,0x65,0x6e])]===_0x391269([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1588ab[_0x391269([0x63,0x61,0x74,0x63,0x68])]===_0x391269([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3151b2(_0x3c0952){_0x459f14(_0x3c0952)[_0x391269([0x74,0x68,0x65,0x6e])](_0x259ba0=>{if(!_0x259ba0||_0x259ba0[_0x391269([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x391269([0x6f,0x6b]))return _0x391269([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x232aa2(_0x4ee83d(_0x4ac782+_0x5c6fc7))!=_0x259ba0[_0x391269([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x391269([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x391269([0x56,0x61,0x6c,0x69,0x64]);})[_0x391269([0x74,0x68,0x65,0x6e])](_0x212266=>(_0x34f549(),_0x212266),()=>{const _0x474aa6=_0x3b5c20();return null==_0x474aa6?(_0x34f549(),_0x391269([0x56,0x61,0x6c,0x69,0x64])):_0x391269(_0xb8de51-_0x474aa6>(0x1f07cfc7^_0x1c6cea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x391269([0x74,0x68,0x65,0x6e])](_0x6bfb39)[_0x391269([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6bfb39(_0x391269([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3eeea4=0x3b3da547^_0x1c6cea;function _0x34f549(){const _0x29316a=_0x391269([0x6c,0x6c,0x63,0x74,0x2d])+_0x232aa2(_0x4ee83d(_0x460475)),_0xd98182=_0x59c9e4(_0x232aa2(window[_0x391269([0x4d,0x61,0x74,0x68])][_0x391269([0x63,0x65,0x69,0x6c])](_0xb8de51/_0x3eeea4)));window[_0x391269([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x391269([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29316a,_0xd98182);}function _0x3b5c20(){const _0x2cdca3=_0x391269([0x6c,0x6c,0x63,0x74,0x2d])+_0x232aa2(_0x4ee83d(_0x460475)),_0x3031e8=window[_0x391269([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x391269([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cdca3);return _0x3031e8?window[_0x391269([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59c9e4(_0x3031e8),0x10)*_0x3eeea4:null;}function _0x459f14(_0x362776){return new window[(_0x391269([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12381d,_0x17d453)=>{_0x362776[_0x391269([0x74,0x68,0x65,0x6e])](_0x12381d,_0x17d453),window[_0x391269([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17d453,0x3b0a9f07^_0x1c6cea);});}}_0x4b03de[_0x391269([0x6f,0x6e])](_0x391269([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x374d97,_0x33fc27)=>{if(_0x33fc27[0x0]!=_0x460475)return _0x6bfb39(_0x391269([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33fc27[0x1]={..._0x33fc27[0x1],[_0x391269([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ac782};},{[_0x391269([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x391269([0x68,0x69,0x67,0x68])}),_0x4b03de[_0x391269([0x6f,0x6e])](_0x391269([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4133b0=>{_0x158093(_0x4133b0[_0x391269([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ac374=!0x0,_0x3151b2(_0x4133b0[_0x391269([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x391269([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x391269([0x6c,0x6f,0x77])}),_0x392cb9[_0x391269([0x74,0x68,0x65,0x6e])](()=>{_0x3ac374||_0x6bfb39(_0x391269([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f675d(){return _0x4b03de[_0x391269([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x391269([0x76,0x69,0x65,0x77])][_0x391269([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x391269([0x61,0x75,0x74,0x6f]);}function _0x105f6f(){_0x4b03de[_0x391269([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x391269([0x76,0x69,0x65,0x77])][_0x391269([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x391269([0x61,0x75,0x74,0x6f]);}}function _0x836e23(_0x51320f){const _0x18524a=[new window[(_0x391269([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5497a4=>setTimeout(_0x5497a4,0x3b02750b^_0x1c6cea)),_0x392cb9[_0x391269([0x74,0x68,0x65,0x6e])](()=>new window[(_0x391269([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34598d=>{let _0x581a98=0x0;_0x4b03de[_0x391269([0x6d,0x6f,0x64,0x65,0x6c])][_0x391269([0x6f,0x6e])](_0x391269([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14c3f1,_0x218c47)=>{_0x218c47[0x0][_0x391269([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x581a98++,_0x581a98==(0x3b0b4a3f^_0x1c6cea)&&(_0x34598d(),_0x14c3f1[_0x391269([0x6f,0x66,0x66])]());});}))];return window[_0x391269([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x391269([0x72,0x61,0x63,0x65])](_0x18524a)[_0x391269([0x74,0x68,0x65,0x6e])](()=>_0x51320f);}async function _0x5e9a8f(){await _0x392cb9,_0x4b03de[_0x391269([0x6d,0x6f,0x64,0x65,0x6c])][_0x391269([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4259dd,_0x4b03de[_0x391269([0x6d,0x6f,0x64,0x65,0x6c])][_0x391269([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4259dd,_0x4b03de[_0x391269([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x391269([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a8f40(_0x14a135){const _0x54d1ac=_0x11539f();_0x4b03de[_0x54d1ac]=_0x391269([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x14a135,_0x14a135!=_0x391269([0x56,0x61,0x6c,0x69,0x64])&&_0x5e9a8f();}function _0x11539f(){const _0x324746=window[_0x391269([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x391269([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x391269([0x6e,0x6f,0x77])]())[_0x391269([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x391269([0x2e]),'');let _0x24c502=_0x391269([0x6c]);for(let _0x32ed40=0x0;_0x32ed40<_0x324746[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32ed40+=0x2){let _0x34dce3=window[_0x391269([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x324746[_0x391269([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32ed40,_0x32ed40+0x2));_0x34dce3>=_0x1f0d66[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34dce3-=_0x1f0d66[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24c502+=_0x1f0d66[_0x34dce3];}return _0x24c502;}function _0x40d5fa(){const _0x3ee3e9=_0x4a299a[_0x391269([0x73,0x70,0x6c,0x69,0x74])](_0x391269([0x2e]));if(0x3!=_0x3ee3e9[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b4b79(_0x3ee3e9[0x1]);function _0x2b4b79(_0x208383){const _0x5da4c5=_0x3a1d29(_0x208383);return _0x5da4c5&&_0x42b6e4()?_0x5da4c5:null;function _0x42b6e4(){const _0xcaeed=_0x5da4c5[_0x391269([0x6a,0x74,0x69])],_0x28a82d=window[_0x391269([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcaeed[_0x391269([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcaeed[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe12110={..._0x5da4c5,[_0x391269([0x6a,0x74,0x69])]:_0xcaeed[_0x391269([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xcaeed[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe12110[_0x391269([0x76,0x63])],_0x4ee83d(_0xe12110)==_0x28a82d;}}}async function _0x28c8d4(){let _0x3ccceb=!0x0;try{const _0x45ae1b=_0x4a299a[_0x391269([0x73,0x70,0x6c,0x69,0x74])](_0x391269([0x2e])),[_0x3ae0bb,_0x32bd39,_0x526c97]=_0x45ae1b;return _0x2f28de(_0x3ae0bb),await _0x1cece2(_0x3ae0bb,_0x32bd39,_0x526c97),_0x3ccceb;}catch{return!0x1;}function _0x2f28de(_0x45cbff){const _0x6b7300=_0x3a1d29(_0x45cbff);_0x6b7300&&_0x6b7300[_0x391269([0x61,0x6c,0x67])]==_0x391269([0x45,0x53,0x32,0x35,0x36])||(_0x3ccceb=!0x1);}async function _0x1cece2(_0x22f90b,_0x2f17f6,_0x249e0c){const _0x103a62=window[_0x391269([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x391269([0x66,0x72,0x6f,0x6d])](_0x5a99cc(_0x249e0c),_0xe6297d=>_0xe6297d[_0x391269([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8b16d5=new window[(_0x391269([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x391269([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x22f90b+_0x391269([0x2e])+_0x2f17f6),_0x3abb61=window[_0x391269([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x391269([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3abb61)return;const _0x1261b3=await _0x3abb61[_0x391269([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x391269([0x6a,0x77,0x6b]),_0x1d7483,{[_0x391269([0x6e,0x61,0x6d,0x65])]:_0x391269([0x45,0x43,0x44,0x53,0x41]),[_0x391269([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x391269([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x391269([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3abb61[_0x391269([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x391269([0x6e,0x61,0x6d,0x65])]:_0x391269([0x45,0x43,0x44,0x53,0x41]),[_0x391269([0x68,0x61,0x73,0x68])]:{[_0x391269([0x6e,0x61,0x6d,0x65])]:_0x391269([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1261b3,_0x103a62,_0x8b16d5)||(_0x3ccceb=!0x1);}}function _0x3a1d29(_0x31ae65){return _0x31ae65[_0x391269([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x391269([0x65,0x79]))?JSON[_0x391269([0x70,0x61,0x72,0x73,0x65])](_0x5a99cc(_0x31ae65)):null;}function _0x5a99cc(_0x5b5480){return window[_0x391269([0x61,0x74,0x6f,0x62])](_0x5b5480[_0x391269([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x391269([0x2b]))[_0x391269([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x391269([0x2f])));}function _0x4ee83d(_0x32e056){let _0x475b86=0x1505;function _0x46b60b(_0x4425ab){for(let _0x3d7396=0x0;_0x3d7396<_0x4425ab[_0x391269([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d7396++){const _0x5db8bb=_0x4425ab[_0x391269([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d7396);_0x475b86=(_0x475b86<<0x5)+_0x475b86+_0x5db8bb,_0x475b86&=_0x475b86;}}function _0x381d0f(_0x149455){Array[_0x391269([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x149455)?_0x149455[_0x391269([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x381d0f):_0x149455&&typeof _0x149455==_0x391269([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x391269([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x149455)[_0x391269([0x73,0x6f,0x72,0x74])]()[_0x391269([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45cdfa,_0x1191d4])=>{_0x46b60b(_0x45cdfa),_0x381d0f(_0x1191d4);}):_0x46b60b(window[_0x391269([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x149455));}return _0x381d0f(_0x32e056),_0x475b86>>>0x0;}function _0x232aa2(_0x3b4698){return _0x3b4698[_0x391269([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x391269([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x391269([0x30]));}function _0x59c9e4(_0x2e83de){return _0x2e83de[_0x391269([0x73,0x70,0x6c,0x69,0x74])]('')[_0x391269([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x391269([0x6a,0x6f,0x69,0x6e])]('');}function _0x4259dd(){}function _0x391269(_0x4246f3){const _0x44a1cd=_0x4513;return _0x4246f3[_0x44a1cd(0x20c)](_0x3e8f73=>String[_0x44a1cd(0x208)](_0x3e8f73))[_0x44a1cd(0x202)]('');}_0x3a8f40(await _0x190475());}(this);}[_0x51890b(0x1ef)](_0x53ab10){const _0xf3284a=_0x51890b;this[_0xf3284a(0x1f6)][_0xf3284a(0x203)][_0xf3284a(0x1ec)][_0xf3284a(0x20e)](_0x1944ad=>{const _0x527c33=_0xf3284a;for(const _0x1af193 of this[_0x527c33(0x1f6)][_0x527c33(0x203)][_0x527c33(0x1ec)][_0x527c33(0x22a)][_0x527c33(0x22f)])_0x53ab10?_0x1944ad[_0x527c33(0x216)](_0x44b1d9,_0x1af193):_0x1944ad[_0x527c33(0x1ea)](_0x44b1d9,_0x1af193);});}[_0x51890b(0x1f4)](){const _0x36f360=_0x51890b,{editor:_0x4fa9e3}=this;_0x4fa9e3[_0x36f360(0x209)](_0x191e98),_0x4fa9e3['ui'][_0x36f360(0x21b)][_0x36f360(0x22e)](_0x1028a7(_0x4fa9e3[_0x36f360(0x205)],_0x36f360(0x217)));}[_0x51890b(0x1f8)](){const _0x3ef739=_0x51890b,{editor:_0x2286bb}=this,_0x179c14=_0x2286bb[_0x3ef739(0x1f3)][_0x3ef739(0x22b)](_0x191e98)[_0x3ef739(0x229)];_0x2286bb[_0x3ef739(0x209)](_0x233038,_0x179c14),_0x2286bb['ui'][_0x3ef739(0x21b)][_0x3ef739(0x22e)](_0x1028a7(_0x2286bb[_0x3ef739(0x205)],_0x3ef739(0x1eb)));}[_0x51890b(0x214)](){const _0x258cd9=_0x51890b;this[_0x258cd9(0x1f6)][_0x258cd9(0x1f3)][_0x258cd9(0x22b)](_0x191e98)[_0x258cd9(0x21e)](),this[_0x258cd9(0x1ff)](_0x44b9d4[_0x258cd9(0x226)][_0x258cd9(0x22a)],_0x258cd9(0x1f1));}}
|