@ckeditor/ckeditor5-format-painter 45.1.0-alpha.6 → 45.1.0-alpha.7
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:()=>y,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=e(782);const n=s;function i(){const t=["3vbbthi","6551FnAVho","43029JXLHeD","13614yAhCoF","13YOxJSM","3267nDVmBI","1070kJpxtb","copyFormat","525DCvkMu","54CukjOg","2183248SDzTrE","13951yomKfN","14316lFUIia","464GWfREA","4259234azGwBv","pasteFormat","ck-format-painter-active"];return(i=function(){return t})()}!function(t){const n=s,e=t();for(;;)try{if(315373===-parseInt(n(196))/1*(-parseInt(n(187))/2)+parseInt(n(195))/3*(-parseInt(n(188))/4)+parseInt(n(186))/5*(parseInt(n(198))/6)+-parseInt(n(189))/7*(parseInt(n(191))/8)+-parseInt(n(197))/9*(-parseInt(n(201))/10)+parseInt(n(200))/11*(parseInt(n(190))/12)+-parseInt(n(199))/13*(parseInt(n(192))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(i);const o=n(185);function s(t,n){const e=i();return(s=function(t,n){return e[t-=185]})(t,n)}const a=n(193),c=n(194),u=g;function I(){const t=["model","change:value","editor","get","99043DvTqbS","1750232aBhxEi","getAttributeProperties","from","fromEntries","document","filter","106173IctqVE","isFormatting","8Plbile","selection","3549595Fqlyje","commands","getAttributes","344gUTDru","282SvOQUq","value","schema","change:isEnabled","reset","1189500dCWOuy","15961130UbxQBO","_getFormattingAttributes","3911412qzrKmx","execute","refresh"];return(I=function(){return t})()}function g(t,n){const e=I();return(g=function(t,n){return e[t-=193]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(779355===parseInt(n(194))/1+parseInt(n(205))/2+-parseInt(n(197))/3+parseInt(n(213))/4*(-parseInt(n(215))/5)+-parseInt(n(219))/6*(parseInt(n(204))/7)+-parseInt(n(218))/8*(-parseInt(n(211))/9)+parseInt(n(195))/10)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(220)]=void 0,this.on(n(222),((t,e,r)=>{r||this[n(193)]()})),this.on(n(201),(()=>t[n(216)][n(203)](a)[n(199)]()))}[u(198)](){const t=u;this[t(220)]=this[t(196)]()}[u(193)](){this[u(220)]=void 0}[u(196)](){const t=u,n=this[t(202)][t(200)],e=n[t(209)][t(214)];return Object[t(208)](Array[t(207)](e[t(217)]())[t(210)]((([e])=>n[t(221)][t(206)](e)[t(212)])))}}var l=e(584);function d(t,n){const e=p();return(d=function(t,n){return e[t-=101]})(t,n)}const M=d;function p(){const t=["getItems","660570CeAmKI","getFirstPosition","10BeGjgd","178431TWEjjU","execute","getSelectedBlocks","99FZjzhS","isBlock","134250xWVCqf","setAttribute","change","1656102KflqQZ","schema","document","getLastPosition","841062irMCSV","createRangeOn","removeSelectionAttribute","_getFormattingItems","model","getRanges","getAttributeProperties","backward","word","removeAttribute","_getFormattingAttributes","from","isFormatting","getValidRanges","682552EkXRrF","editor","getAttributes","8RYPyNV","setSelection","selection","createRange","modifySelection","_createRangeOnEntireWord","forward","createSelection","_removeFormatCommand","isCollapsed","170376kckgXu"];return(p=function(){return t})()}!function(t){const n=d,e=t();for(;;)try{if(149636===-parseInt(n(130))/1+-parseInt(n(110))/2*(-parseInt(n(125))/3)+-parseInt(n(107))/4+-parseInt(n(124))/5*(-parseInt(n(137))/6)+parseInt(n(133))/7+parseInt(n(120))/8*(-parseInt(n(128))/9)+-parseInt(n(122))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p);class A extends t.Command{constructor(t){const n=d;super(t),this[n(118)]=new m(t)}[M(126)](t={}){const n=M,e=this[n(108)][n(141)],r=e[n(135)][n(112)],i=Array[n(104)](r[n(142)]()),o=r[n(119)]?[this[n(115)](e,r)]:i;e[n(132)]((r=>{const s=n;r[s(111)](o),this[s(118)][s(126)]();for(const n in t)for(const i of e[s(134)][s(106)](o,n))r[s(131)](n,t[n],i);r[s(111)](i)}))}[M(115)](t,n){const e=M,r=t[e(117)](n);t[e(114)](r,{unit:e(101),direction:e(144)});const i=r[e(123)]();t[e(114)](r,{unit:e(101),direction:e(116)});const o=r[e(136)]();return t[e(113)](i,o)}}class m extends t.Command{[M(126)](){const t=M,n=this[t(108)][t(141)],e=n[t(134)];n[t(132)]((r=>{const i=t;for(const t of this[i(140)](n[i(135)][i(112)],e))if(t.is(i(112)))for(const n of this[i(103)](t,e))r[i(139)](n);else{const n=r[i(138)](t);for(const o of this[i(103)](t,e))r[i(102)](o,n)}}))}*[M(140)](t,n){const e=M,r=t=>!!(0,l.first)(this[e(103)](t,n));for(const i of t[e(142)]())for(const t of i[e(121)]())!n[e(129)](t)&&r(t)&&(yield t);for(const n of t[e(127)]())r(n)&&(yield n);r(t)&&(yield t)}*[M(103)](t,n){const e=M;for(const[r]of t[e(109)]()){const t=n[e(143)](r);t&&t[e(105)]&&(yield r)}}}const w=h;function h(t,n){const e=D();return(h=function(t,n){return e[t-=304]})(t,n)}function D(){const t=["isPremiumPlugin","usageLimit","3548128sWxqUe","506855gPgraL","pluginName","evaluationLimit","8WdqPMU","formatPainterLicenseKeyValid","expired","FormatPainterEditing","init","formatPainterLicenseKeyUsageLimit","licenseKey","3McHPLu","1990892YrULWA","config","_showLicenseError","160qltjmU","formatPainterLicenseKeyTrialLimit","5514021kTvdoB","939654Euwczx","isOfficialPlugin","7mdWbau","formatPainterLicenseKeyEvaluationLimit","formatPainterLicenseKeyDomainLimit","commands","formatPainterLicenseKeyInvalid","featureNotAllowed","FormatPainter","domainLimit","trialLimit","1540726BOUWSr","4052920CTpLfK","invalid","_licenseKeyCheckInterval","formatPainterLicenseKeyExpired","get","add","destroy","formatPainterLicenseKeyNotAllowed","editor"];return(D=function(){return t})()}!function(t){const n=h,e=t();for(;;)try{if(510909===parseInt(n(324))/1+-parseInt(n(335))/2+parseInt(n(334))/3*(-parseInt(n(323))/4)+-parseInt(n(312))/5+-parseInt(n(341))/6*(parseInt(n(343))/7)+parseInt(n(327))/8*(parseInt(n(340))/9)+parseInt(n(338))/10*(parseInt(n(311))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D);class y extends t.Plugin{[w(333)];[w(314)];static get[w(325)](){return w(330)}static get[w(342)](){return!0}static get[w(321)](){return!0}[w(331)](){const t=w,n=this[t(320)];n[t(305)][t(317)](o,new f(n)),n[t(305)][t(317)](a,new A(n)),this[t(333)]=this[t(320)][t(336)][t(316)](t(333));const e=this[t(320)];this[t(314)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(328)==o||n(306)==o||n(315)==o||n(304)==o||n(319)==o||n(344)==o||n(339)==o||n(332)==o){delete e[i],r=o,clearInterval(this[n(314)]),this[n(314)]=void 0;break}}n(306)==r&&e[n(337)](n(313)),n(315)==r&&e[n(337)](n(329)),n(304)==r&&e[n(337)](n(309)),n(319)==r&&e[n(337)](n(307),n(308)),n(344)==r&&e[n(337)](n(326)),n(339)==r&&e[n(337)](n(310)),n(332)==r&&e[n(337)](n(322))}),1e3)}[w(318)](){const t=w;super[t(318)](),this[t(314)]&&clearInterval(this[t(314)])}}var N=e(311),S=e(783),C=e(355),j=e(673),x=e.n(j),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),F={attributes:{"data-cke":!0}};F.setAttributes=P(),F.insert=b().bind(null,"head"),F.domAPI=E(),F.insertStyleElement=U();x()(z.A,F);z.A&&z.A.locals&&z.A.locals;function Y(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 O=Z;function Q(){const t=["FormatPainterUI","4197640EtGddJ","Formatting copied.","3733815UmOcFR","menuitemcheckbox","Paint formatting","_pasteFormatting","add","bind","window","buttonView","_toggleSpecialCursor","destroy","ck-format-painter-dropdown","keystrokes","2998802sfJOrm","execute","href","reset","map","isPremiumPlugin","change:value","addObserver","stopListening","Ctrl+Alt+C","editor","isOn","mouseup","Esc","fromCharCode","announce","menu","accessibility","25765956trnOeC","Continuous painting","addKeystrokeInfos","Keeps the painter on after setting the formatting.","roots","afterInit","document","formatPainter","view","init","pluginName","locale","listenTo","Paste text formatting","Copy text formatting","high","507144aUKLwX","set","change","get","change:isEnabled","Ctrl+Alt+V","11874pyOjrz","3605BFtejM","componentFactory","focus","switchbutton","isOfficialPlugin","join","_finishPainting","isEnabled","ariaLiveAnnouncer","class","1zAjpNF","editing","removeClass","addClass","_copyFormatting","Pasted formatting.","value","commands","1604924ficqXz"];return(Q=function(){return t})()}function Z(t,n){const e=Q();return(Z=function(t,n){return e[t-=278]})(t,n)}!function(t){const n=Z,e=t();for(;;)try{if(794343===parseInt(n(335))/1*(parseInt(n(284))/2)+-parseInt(n(347))/3+-parseInt(n(343))/4+-parseInt(n(345))/5+parseInt(n(324))/6*(-parseInt(n(325))/7)+-parseInt(n(318))/8+parseInt(n(302))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Q);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[O(312)](){return O(344)}static get[O(329)](){return!0}static get[O(289)](){return!0}[O(311)](){const t=O,n=this[t(294)];n[t(336)][t(310)][t(291)](S.ClickObserver),n[t(301)][t(304)]({keystrokes:[{label:Y(n[t(313)],t(316)),keystroke:t(293)},{label:Y(n[t(313)],t(315)),keystroke:t(323)}]}),n.ui[t(326)][t(351)](t(309),(e=>{const r=t,i=(0,N.createDropdown)(e,N.SplitButtonView),s=n[r(342)][r(321)](o);i[r(279)][r(319)]({label:Y(n[r(313)],r(349)),icon:C.IconPaintRoller,keystroke:r(293),tooltip:!0}),i[r(334)]=r(282),s&&(i[r(352)](r(332)).to(s,r(332)),this[r(314)](s,r(322),((t,n,e)=>{e||this[r(331)]()})),i[r(279)][r(352)](r(295)).to(s,r(341),(t=>!!t)),this[r(314)](n,r(281),(()=>this[r(280)](!1))),this[r(314)](s,r(290),((t,n,e)=>{this[r(280)](!!e)})));const a=new N.ViewModel({withText:!0,label:Y(n[r(313)],r(303)),tooltip:Y(n[r(313)],r(305)),isOn:!1,role:r(348)});(0,N.addListToDropdown)(i,new l.Collection([{type:r(328),model:a}]),{role:r(300)});const c=()=>{const t=r;this[t(339)](),this[t(314)](l.global[t(278)][t(308)],t(296),(()=>{const n=t;this[n(350)](),a[n(295)]||this[n(331)]()}))};return this[r(314)](i,r(285),(()=>{const t=r;a[t(295)]=!a[t(295)]})),this[r(314)](i[r(279)],r(285),(()=>{const t=r;n[t(336)][t(310)][t(327)](),i[t(279)][t(295)]?this[t(331)]():c()})),n[r(283)][r(319)](r(293),((t,n)=>{const e=r;c(),a[e(295)]=!0,n()}),{priority:r(317)}),n[r(283)][r(319)](r(323),((t,n)=>{const e=r;i[e(279)][e(295)]&&(this[e(350)](),a[e(295)]||this[e(331)](),n())}),{priority:r(317)}),n[r(283)][r(319)](r(297),((t,n)=>{const e=r;i[e(279)][e(295)]&&(a[e(295)]=!1,this[e(331)](),n())})),i}))}[O(307)](){!async function(t){const n=M([80,111,116,54,88,89,82,90,85,121,65,114,120,51,109,118,72,86,69,103,117,52,75,55,79,73,87,76,107,57,106,99,66,56,50,102,97,84,53,105,119,48,78,74,77,113,68,104,81,98,67,100,110,122,70,112,83,101,49,115,108,71]),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(288)]((t=>String[n(298)](t)))[n(330)]("")}!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([80]);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(t){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:1747094400;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(286)]);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([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(t){return M([73,110,118,97,108,105,100])}}())}(this)}[O(280)](t){const n=O;this[n(294)][n(336)][n(310)][n(320)]((e=>{const r=n;for(const n of this[r(294)][r(336)][r(310)][r(308)][r(306)])t?e[r(338)](c,n):e[r(337)](c,n)}))}[O(339)](){const t=O,{editor:n}=this;n[t(285)](o),n.ui[t(333)][t(299)](Y(n[t(313)],t(346)))}[O(350)](){const t=O,{editor:n}=this,e=n[t(342)][t(321)](o)[t(341)];n[t(285)](a,e),n.ui[t(333)][t(299)](Y(n[t(313)],t(340)))}[O(331)](){const t=O;this[t(294)][t(342)][t(321)](o)[t(287)](),this[t(292)](l.global[t(278)][t(308)],t(296))}}function V(){var t=["1616860lGwGvt","pluginName","14GyeSVc","247AsZDBU","12gKHZdW","isOfficialPlugin","requires","31832dftQrE","497453ohHCub","188455ldlqNj","isPremiumPlugin","281268SLJwyI","FormatPainter","42lvKEYC","2546mFMCLu","426256SiPMlF","180ruyPmA"];return(V=function(){return t})()}var G=W;function W(t,n){var e=V();return(W=function(t,n){return e[t-=459]})(t,n)}!function(t){for(var n=W,e=t();;)try{if(168753===-parseInt(n(462))/1*(-parseInt(n(473))/2)+parseInt(n(463))/3*(parseInt(n(466))/4)+-parseInt(n(468))/5*(-parseInt(n(472))/6)+parseInt(n(461))/7*(parseInt(n(474))/8)+-parseInt(n(470))/9+parseInt(n(459))/10+-parseInt(n(467))/11*(parseInt(n(475))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(V);class K extends t.Plugin{static get[G(465)](){return[y,_]}static get[G(460)](){return G(471)}static get[G(464)](){return!0}static get[G(469)](){return!0}}function R(){var t=["8nnuekS","545140ffpzqd","121071QDULul","3259593yIpfdS","100422pcrPCP","753650HmrjOs","8fCNPbu","2767590FHresV","14ySKphq","253bwGVHt","244748cfdGcR"];return(R=function(){return t})()}function B(t,n){var e=R();return(B=function(t,n){return e[t-=279]})(t,n)}!function(t){for(var n=B,e=t();;)try{if(261433===parseInt(n(284))/1+parseInt(n(279))/2*(parseInt(n(286))/3)+-parseInt(n(282))/4*(-parseInt(n(287))/5)+parseInt(n(289))/6+parseInt(n(281))/7+-parseInt(n(288))/8*(-parseInt(n(285))/9)+-parseInt(n(283))/10*(parseInt(n(280))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(R)})(),(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:()=>K,FormatPainterEditing:()=>y,FormatPainterUI:()=>O,PasteFormatCommand:()=>A});var t=e(782);const n=s;function i(){const t=["3vbbthi","6551FnAVho","43029JXLHeD","13614yAhCoF","13YOxJSM","3267nDVmBI","1070kJpxtb","copyFormat","525DCvkMu","54CukjOg","2183248SDzTrE","13951yomKfN","14316lFUIia","464GWfREA","4259234azGwBv","pasteFormat","ck-format-painter-active"];return(i=function(){return t})()}!function(t){const n=s,e=t();for(;;)try{if(315373===-parseInt(n(196))/1*(-parseInt(n(187))/2)+parseInt(n(195))/3*(-parseInt(n(188))/4)+parseInt(n(186))/5*(parseInt(n(198))/6)+-parseInt(n(189))/7*(parseInt(n(191))/8)+-parseInt(n(197))/9*(-parseInt(n(201))/10)+parseInt(n(200))/11*(parseInt(n(190))/12)+-parseInt(n(199))/13*(parseInt(n(192))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(i);const o=n(185);function s(t,n){const e=i();return(s=function(t,n){return e[t-=185]})(t,n)}const a=n(193),c=n(194),u=g;function I(){const t=["model","change:value","editor","get","99043DvTqbS","1750232aBhxEi","getAttributeProperties","from","fromEntries","document","filter","106173IctqVE","isFormatting","8Plbile","selection","3549595Fqlyje","commands","getAttributes","344gUTDru","282SvOQUq","value","schema","change:isEnabled","reset","1189500dCWOuy","15961130UbxQBO","_getFormattingAttributes","3911412qzrKmx","execute","refresh"];return(I=function(){return t})()}function g(t,n){const e=I();return(g=function(t,n){return e[t-=193]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(779355===parseInt(n(194))/1+parseInt(n(205))/2+-parseInt(n(197))/3+parseInt(n(213))/4*(-parseInt(n(215))/5)+-parseInt(n(219))/6*(parseInt(n(204))/7)+-parseInt(n(218))/8*(-parseInt(n(211))/9)+parseInt(n(195))/10)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(220)]=void 0,this.on(n(222),((t,e,r)=>{r||this[n(193)]()})),this.on(n(201),(()=>t[n(216)][n(203)](a)[n(199)]()))}[u(198)](){const t=u;this[t(220)]=this[t(196)]()}[u(193)](){this[u(220)]=void 0}[u(196)](){const t=u,n=this[t(202)][t(200)],e=n[t(209)][t(214)];return Object[t(208)](Array[t(207)](e[t(217)]())[t(210)]((([e])=>n[t(221)][t(206)](e)[t(212)])))}}var l=e(584);function d(t,n){const e=p();return(d=function(t,n){return e[t-=101]})(t,n)}const M=d;function p(){const t=["getItems","660570CeAmKI","getFirstPosition","10BeGjgd","178431TWEjjU","execute","getSelectedBlocks","99FZjzhS","isBlock","134250xWVCqf","setAttribute","change","1656102KflqQZ","schema","document","getLastPosition","841062irMCSV","createRangeOn","removeSelectionAttribute","_getFormattingItems","model","getRanges","getAttributeProperties","backward","word","removeAttribute","_getFormattingAttributes","from","isFormatting","getValidRanges","682552EkXRrF","editor","getAttributes","8RYPyNV","setSelection","selection","createRange","modifySelection","_createRangeOnEntireWord","forward","createSelection","_removeFormatCommand","isCollapsed","170376kckgXu"];return(p=function(){return t})()}!function(t){const n=d,e=t();for(;;)try{if(149636===-parseInt(n(130))/1+-parseInt(n(110))/2*(-parseInt(n(125))/3)+-parseInt(n(107))/4+-parseInt(n(124))/5*(-parseInt(n(137))/6)+parseInt(n(133))/7+parseInt(n(120))/8*(-parseInt(n(128))/9)+-parseInt(n(122))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p);class A extends t.Command{constructor(t){const n=d;super(t),this[n(118)]=new m(t)}[M(126)](t={}){const n=M,e=this[n(108)][n(141)],r=e[n(135)][n(112)],i=Array[n(104)](r[n(142)]()),o=r[n(119)]?[this[n(115)](e,r)]:i;e[n(132)]((r=>{const s=n;r[s(111)](o),this[s(118)][s(126)]();for(const n in t)for(const i of e[s(134)][s(106)](o,n))r[s(131)](n,t[n],i);r[s(111)](i)}))}[M(115)](t,n){const e=M,r=t[e(117)](n);t[e(114)](r,{unit:e(101),direction:e(144)});const i=r[e(123)]();t[e(114)](r,{unit:e(101),direction:e(116)});const o=r[e(136)]();return t[e(113)](i,o)}}class m extends t.Command{[M(126)](){const t=M,n=this[t(108)][t(141)],e=n[t(134)];n[t(132)]((r=>{const i=t;for(const t of this[i(140)](n[i(135)][i(112)],e))if(t.is(i(112)))for(const n of this[i(103)](t,e))r[i(139)](n);else{const n=r[i(138)](t);for(const o of this[i(103)](t,e))r[i(102)](o,n)}}))}*[M(140)](t,n){const e=M,r=t=>!!(0,l.first)(this[e(103)](t,n));for(const i of t[e(142)]())for(const t of i[e(121)]())!n[e(129)](t)&&r(t)&&(yield t);for(const n of t[e(127)]())r(n)&&(yield n);r(t)&&(yield t)}*[M(103)](t,n){const e=M;for(const[r]of t[e(109)]()){const t=n[e(143)](r);t&&t[e(105)]&&(yield r)}}}const w=h;function h(t,n){const e=D();return(h=function(t,n){return e[t-=304]})(t,n)}function D(){const t=["isPremiumPlugin","usageLimit","3548128sWxqUe","506855gPgraL","pluginName","evaluationLimit","8WdqPMU","formatPainterLicenseKeyValid","expired","FormatPainterEditing","init","formatPainterLicenseKeyUsageLimit","licenseKey","3McHPLu","1990892YrULWA","config","_showLicenseError","160qltjmU","formatPainterLicenseKeyTrialLimit","5514021kTvdoB","939654Euwczx","isOfficialPlugin","7mdWbau","formatPainterLicenseKeyEvaluationLimit","formatPainterLicenseKeyDomainLimit","commands","formatPainterLicenseKeyInvalid","featureNotAllowed","FormatPainter","domainLimit","trialLimit","1540726BOUWSr","4052920CTpLfK","invalid","_licenseKeyCheckInterval","formatPainterLicenseKeyExpired","get","add","destroy","formatPainterLicenseKeyNotAllowed","editor"];return(D=function(){return t})()}!function(t){const n=h,e=t();for(;;)try{if(510909===parseInt(n(324))/1+-parseInt(n(335))/2+parseInt(n(334))/3*(-parseInt(n(323))/4)+-parseInt(n(312))/5+-parseInt(n(341))/6*(parseInt(n(343))/7)+parseInt(n(327))/8*(parseInt(n(340))/9)+parseInt(n(338))/10*(parseInt(n(311))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D);class y extends t.Plugin{[w(333)];[w(314)];static get[w(325)](){return w(330)}static get[w(342)](){return!0}static get[w(321)](){return!0}[w(331)](){const t=w,n=this[t(320)];n[t(305)][t(317)](o,new f(n)),n[t(305)][t(317)](a,new A(n)),this[t(333)]=this[t(320)][t(336)][t(316)](t(333));const e=this[t(320)];this[t(314)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(328)==o||n(306)==o||n(315)==o||n(304)==o||n(319)==o||n(344)==o||n(339)==o||n(332)==o){delete e[i],r=o,clearInterval(this[n(314)]),this[n(314)]=void 0;break}}n(306)==r&&e[n(337)](n(313)),n(315)==r&&e[n(337)](n(329)),n(304)==r&&e[n(337)](n(309)),n(319)==r&&e[n(337)](n(307),n(308)),n(344)==r&&e[n(337)](n(326)),n(339)==r&&e[n(337)](n(310)),n(332)==r&&e[n(337)](n(322))}),1e3)}[w(318)](){const t=w;super[t(318)](),this[t(314)]&&clearInterval(this[t(314)])}}var N=e(311),S=e(783),C=e(355),x=e(673),j=e.n(x),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 Z=V;function Q(){const t=["Ctrl+Alt+V","14DBaLAy","class","destroy","get","accessibility","_toggleSpecialCursor","bind","473308YlktVQ","init","removeClass","change:value","view","componentFactory","Copy text formatting","18QcxVaY","buttonView","18959WuvbNV","focus","pluginName","afterInit","menuitemcheckbox","document","execute","_copyFormatting","set","locale","change","_finishPainting","Ctrl+Alt+C","commands","Formatting copied.","add","menu","355701vCiGje","value","ariaLiveAnnouncer","addKeystrokeInfos","roots","high","Continuous painting","mouseup","isOfficialPlugin","62xapliq","Esc","20ZCJqAT","map","stopListening","1820355OPfNbD","isPremiumPlugin","addObserver","Paste text formatting","announce","ck-format-painter-dropdown","FormatPainterUI","window","addClass","change:isEnabled","Pasted formatting.","listenTo","switchbutton","href","isOn","Paint formatting","7330190ZzMdpL","_pasteFormatting","formatPainter","isEnabled","444XtaXMr","1075472xkojMf","fromCharCode","keystrokes","editor","Keeps the painter on after setting the formatting.","editing","join","1596984XZqYLP","reset"];return(Q=function(){return t})()}function V(t,n){const e=Q();return(V=function(t,n){return e[t-=484]})(t,n)}!function(t){const n=V,e=t();for(;;)try{if(422158===-parseInt(n(558))/1*(-parseInt(n(506))/2)+-parseInt(n(497))/3*(-parseInt(n(508))/4)+parseInt(n(511))/5+-parseInt(n(539))/6*(parseInt(n(542))/7)+-parseInt(n(532))/8*(-parseInt(n(556))/9)+parseInt(n(527))/10+-parseInt(n(549))/11*(parseInt(n(531))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Q);class O extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Z(560)](){return Z(517)}static get[Z(505)](){return!0}static get[Z(512)](){return!0}[Z(550)](){const t=Z,n=this[t(535)];n[t(537)][t(553)][t(513)](S.ClickObserver),n[t(546)][t(500)]({keystrokes:[{label:F(n[t(489)],t(555)),keystroke:t(492)},{label:F(n[t(489)],t(514)),keystroke:t(541)}]}),n.ui[t(554)][t(495)](t(529),(e=>{const r=t,i=(0,N.createDropdown)(e,N.SplitButtonView),s=n[r(493)][r(545)](o);i[r(557)][r(488)]({label:F(n[r(489)],r(526)),icon:C.IconPaintRoller,keystroke:r(492),tooltip:!0}),i[r(543)]=r(516),s&&(i[r(548)](r(530)).to(s,r(530)),this[r(522)](s,r(520),((t,n,e)=>{e||this[r(491)]()})),i[r(557)][r(548)](r(525)).to(s,r(498),(t=>!!t)),this[r(522)](n,r(544),(()=>this[r(547)](!1))),this[r(522)](s,r(552),((t,n,e)=>{this[r(547)](!!e)})));const a=new N.ViewModel({withText:!0,label:F(n[r(489)],r(503)),tooltip:F(n[r(489)],r(536)),isOn:!1,role:r(484)});(0,N.addListToDropdown)(i,new l.Collection([{type:r(523),model:a}]),{role:r(496)});const c=()=>{const t=r;this[t(487)](),this[t(522)](l.global[t(518)][t(485)],t(504),(()=>{const n=t;this[n(528)](),a[n(525)]||this[n(491)]()}))};return this[r(522)](i,r(486),(()=>{const t=r;a[t(525)]=!a[t(525)]})),this[r(522)](i[r(557)],r(486),(()=>{const t=r;n[t(537)][t(553)][t(559)](),i[t(557)][t(525)]?this[t(491)]():c()})),n[r(534)][r(488)](r(492),((t,n)=>{const e=r;c(),a[e(525)]=!0,n()}),{priority:r(502)}),n[r(534)][r(488)](r(541),((t,n)=>{const e=r;i[e(557)][e(525)]&&(this[e(528)](),a[e(525)]||this[e(491)](),n())}),{priority:r(502)}),n[r(534)][r(488)](r(507),((t,n)=>{const e=r;i[e(557)][e(525)]&&(a[e(525)]=!1,this[e(491)](),n())})),i}))}[Z(561)](){!async function(t){const n=M([72,75,84,77,82,49,99,103,73,54,81,120,119,90,102,50,118,56,55,98,86,67,104,87,110,112,51,113,108,114,88,106,65,76,66,79,101,85,78,107,115,53,97,116,68,80,111,69,100,105,89,109,57,71,48,117,121,122,70,52,83,74]),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=V;return t[n(509)]((t=>String[n(533)](t)))[n(538)]("")}!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([72]);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(t){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:1747180800;return t[M([101,120,112])]<n}()?M([69,120,112,105,114,101,100]):function(){const n=V,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(524)]);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([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(t){return M([73,110,118,97,108,105,100])}}())}(this)}[Z(547)](t){const n=Z;this[n(535)][n(537)][n(553)][n(490)]((e=>{const r=n;for(const n of this[r(535)][r(537)][r(553)][r(485)][r(501)])t?e[r(519)](c,n):e[r(551)](c,n)}))}[Z(487)](){const t=Z,{editor:n}=this;n[t(486)](o),n.ui[t(499)][t(515)](F(n[t(489)],t(494)))}[Z(528)](){const t=Z,{editor:n}=this,e=n[t(493)][t(545)](o)[t(498)];n[t(486)](a,e),n.ui[t(499)][t(515)](F(n[t(489)],t(521)))}[Z(491)](){const t=Z;this[t(535)][t(493)][t(545)](o)[t(540)](),this[t(510)](l.global[t(518)][t(485)],t(504))}}function _(){var t=["1616860lGwGvt","pluginName","14GyeSVc","247AsZDBU","12gKHZdW","isOfficialPlugin","requires","31832dftQrE","497453ohHCub","188455ldlqNj","isPremiumPlugin","281268SLJwyI","FormatPainter","42lvKEYC","2546mFMCLu","426256SiPMlF","180ruyPmA"];return(_=function(){return t})()}var G=W;function W(t,n){var e=_();return(W=function(t,n){return e[t-=459]})(t,n)}!function(t){for(var n=W,e=t();;)try{if(168753===-parseInt(n(462))/1*(-parseInt(n(473))/2)+parseInt(n(463))/3*(parseInt(n(466))/4)+-parseInt(n(468))/5*(-parseInt(n(472))/6)+parseInt(n(461))/7*(parseInt(n(474))/8)+-parseInt(n(470))/9+parseInt(n(459))/10+-parseInt(n(467))/11*(parseInt(n(475))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(_);class K extends t.Plugin{static get[G(465)](){return[y,O]}static get[G(460)](){return G(471)}static get[G(464)](){return!0}static get[G(469)](){return!0}}function R(){var t=["8nnuekS","545140ffpzqd","121071QDULul","3259593yIpfdS","100422pcrPCP","753650HmrjOs","8fCNPbu","2767590FHresV","14ySKphq","253bwGVHt","244748cfdGcR"];return(R=function(){return t})()}function B(t,n){var e=R();return(B=function(t,n){return e[t-=279]})(t,n)}!function(t){for(var n=B,e=t();;)try{if(261433===parseInt(n(284))/1+parseInt(n(279))/2*(parseInt(n(286))/3)+-parseInt(n(282))/4*(-parseInt(n(287))/5)+parseInt(n(289))/6+parseInt(n(281))/7+-parseInt(n(288))/8*(-parseInt(n(285))/9)+-parseInt(n(283))/10*(parseInt(n(280))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(R)})(),(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
|
-
_0x4ba5c6(_0x815cc2){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8b9f96=this['editor'];_0x8b9f96['editing']['view']['addObserver'](_0x257f71),_0x8b9f96['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x8b9f96['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x8b9f96['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x8b9f96['ui']['componentFactory']['add']('formatPainter',_0x28b903=>{const _0x12fe85=_0x16cca3(_0x28b903,_0x3f25e8),_0x455a24=_0x8b9f96['commands']['get'](c);_0x12fe85['buttonView']['set']({'label':b(_0x8b9f96['locale'],'Paint\x20formatting'),'icon':_0x1d5694,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x12fe85['class']='ck-format-painter-dropdown',_0x455a24&&(_0x12fe85['bind']('isEnabled')['to'](_0x455a24,'isEnabled'),this['listenTo'](_0x455a24,'change:isEnabled',(_0x385791,_0x580374,_0x205525)=>{_0x205525||this['_finishPainting']();}),_0x12fe85['buttonView']['bind']('isOn')['to'](_0x455a24,'value',_0x5b6e36=>!!_0x5b6e36),this['listenTo'](_0x8b9f96,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x455a24,'change:value',(_0x1f3c3c,_0xc36a64,_0x503dbf)=>{this['_toggleSpecialCursor'](!!_0x503dbf);}));const _0x262894=new _0x5ea783({'withText':!0x0,'label':b(_0x8b9f96['locale'],'Continuous\x20painting'),'tooltip':b(_0x8b9f96['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x1e417e(_0x12fe85,new _0x3adeb6([{'type':'switchbutton','model':_0x262894}]),{'role':'menu'});const _0x4efe9b=()=>{this['_copyFormatting'](),this['listenTo'](_0x6c0a2c['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x262894['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x12fe85,'execute',()=>{_0x262894['isOn']=!_0x262894['isOn'];}),this['listenTo'](_0x12fe85['buttonView'],'execute',()=>{_0x8b9f96['editing']['view']['focus'](),_0x12fe85['buttonView']['isOn']?this['_finishPainting']():_0x4efe9b();}),_0x8b9f96['keystrokes']['set']('Ctrl+Alt+C',(_0x2b6980,_0x32f244)=>{_0x4efe9b(),_0x262894['isOn']=!0x0,_0x32f244();},{'priority':'high'}),_0x8b9f96['keystrokes']['set']('Ctrl+Alt+V',(_0x59f5a0,_0x1936c1)=>{_0x12fe85['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x262894['isOn']||this['_finishPainting'](),_0x1936c1());},{'priority':'high'}),_0x8b9f96['keystrokes']['set']('Esc',(_0x27615c,_0x1b51a4)=>{_0x12fe85['buttonView']['isOn']&&(_0x262894['isOn']=!0x1,this['_finishPainting'](),_0x1b51a4());}),_0x12fe85;});}['afterInit'](){!async function(_0x39b90f){const _0x127dc6=_0x20903a([0x50,0x6f,0x74,0x36,0x58,0x59,0x52,0x5a,0x55,0x79,0x41,0x72,0x78,0x33,0x6d,0x76,0x48,0x56,0x45,0x67,0x75,0x34,0x4b,0x37,0x4f,0x49,0x57,0x4c,0x6b,0x39,0x6a,0x63,0x42,0x38,0x32,0x66,0x61,0x54,0x35,0x69,0x77,0x30,0x4e,0x4a,0x4d,0x71,0x44,0x68,0x51,0x62,0x43,0x64,0x6e,0x7a,0x46,0x70,0x53,0x65,0x31,0x73,0x6c,0x47]),_0x395b69=0xea5ea31,_0x4c49ca=0xea28d89^_0x395b69,_0x2106a0=window[_0x20903a([0x44,0x61,0x74,0x65])][_0x20903a([0x6e,0x6f,0x77])](),_0x2754ec=_0x39b90f[_0x20903a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26336d=new window[(_0x20903a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51e22b=>{_0x2754ec[_0x20903a([0x6f,0x6e,0x63,0x65])](_0x20903a([0x72,0x65,0x61,0x64,0x79]),_0x51e22b);}),_0x4f6c2a={[_0x20903a([0x6b,0x74,0x79])]:_0x20903a([0x45,0x43]),[_0x20903a([0x75,0x73,0x65])]:_0x20903a([0x73,0x69,0x67]),[_0x20903a([0x63,0x72,0x76])]:_0x20903a([0x50,0x2d,0x32,0x35,0x36]),[_0x20903a([0x78])]:_0x20903a([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]),[_0x20903a([0x79])]:_0x20903a([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]),[_0x20903a([0x61,0x6c,0x67])]:_0x20903a([0x45,0x53,0x32,0x35,0x36])},_0x68ddb7=_0x2754ec[_0x20903a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20903a([0x67,0x65,0x74])](_0x20903a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b9093(){let _0x329d0d,_0x59b421=null,_0x1041e9=null;try{if(_0x68ddb7==_0x20903a([0x47,0x50,0x4c]))return _0x20903a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x329d0d=_0x3e10fa(),!_0x329d0d)return _0x20903a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x329d0d[_0x20903a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1041e9=_0x5a071(_0x329d0d[_0x20903a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x329d0d[_0x20903a([0x6a,0x74,0x69])])),await _0x4f318b()?_0x13f232()?_0x1ddbef()?_0x20903a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ca10b()?(_0x329d0d[_0x20903a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20903a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59b421=_0x5345a3(_0x20903a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x329d0d[_0x20903a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20903a([0x74,0x72,0x69,0x61,0x6c])&&(_0x59b421=_0x5345a3(_0x20903a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x580531()):_0x20903a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20903a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20903a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4b83f6){return _0x20903a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ddbef(){const _0x341e15=[_0x20903a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20903a([0x74,0x72,0x69,0x61,0x6c])][_0x20903a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x329d0d[_0x20903a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2106a0/0x3e8:0xe10*_0x4c49ca;return _0x329d0d[_0x20903a([0x65,0x78,0x70])]<_0x341e15;}function _0x13f232(){const _0x744950=_0x329d0d[_0x20903a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x744950&&(!!_0x744950[_0x20903a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20903a([0x2a]))||(!!_0x744950[_0x20903a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20903a([0x46,0x50]))||!!_0x744950[_0x20903a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20903a([0x50,0x50]))));}function _0x4ca10b(){const _0x4fa7b3=_0x329d0d[_0x20903a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fa7b3||0x0==_0x4fa7b3[_0x20903a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f1fc4}=new URL(window[_0x20903a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4fa7b3[_0x20903a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1fc4))return!0x0;const _0x1927f0=_0x1f1fc4[_0x20903a([0x73,0x70,0x6c,0x69,0x74])](_0x20903a([0x2e]));return _0x4fa7b3[_0x20903a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x407d8a=>_0x407d8a[_0x20903a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20903a([0x2a])))[_0x20903a([0x6d,0x61,0x70])](_0x5bf979=>_0x5bf979[_0x20903a([0x73,0x70,0x6c,0x69,0x74])](_0x20903a([0x2e])))[_0x20903a([0x73,0x6f,0x6d,0x65])](_0x1ec980=>_0x1927f0[_0x20903a([0x65,0x76,0x65,0x72,0x79])]((_0x1fca3e,_0x5753e7)=>_0x1ec980[_0x5753e7]===_0x1fca3e||_0x1ec980[_0x5753e7]===_0x20903a([0x2a])));}function _0x580531(){return _0x59b421&&_0x1041e9?new window[(_0x20903a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x98ab97,_0xed07b7)=>{_0x59b421[_0x20903a([0x74,0x68,0x65,0x6e])](_0x98ab97,_0xed07b7),_0x1041e9[_0x20903a([0x74,0x68,0x65,0x6e])](_0x20f899=>{_0x20f899!=_0x20903a([0x56,0x61,0x6c,0x69,0x64])&&_0x98ab97(_0x20f899);},_0xed07b7);}):_0x59b421||_0x1041e9||_0x20903a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a071(_0x2d127b,_0x90b4c2){return new window[(_0x20903a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27683a=>{if(_0x5362f3())return _0x27683a(_0x20903a([0x56,0x61,0x6c,0x69,0x64]));_0x4c3cad(),_0x2754ec[_0x20903a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20903a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ed818=!0x1;const _0x514360=_0x1ea487();function _0x2ad7f8(_0x21403c){return!!_0x21403c&&(typeof _0x21403c===_0x20903a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21403c===_0x20903a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21403c[_0x20903a([0x74,0x68,0x65,0x6e])]===_0x20903a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21403c[_0x20903a([0x63,0x61,0x74,0x63,0x68])]===_0x20903a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cc128(_0xeeeae1){_0x2a5fea(_0xeeeae1)[_0x20903a([0x74,0x68,0x65,0x6e])](_0x23ce3e=>{if(!_0x23ce3e||_0x23ce3e[_0x20903a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20903a([0x6f,0x6b]))return _0x20903a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23b7d2(_0x4799d2(_0x514360+_0x90b4c2))!=_0x23ce3e[_0x20903a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20903a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20903a([0x56,0x61,0x6c,0x69,0x64]);})[_0x20903a([0x74,0x68,0x65,0x6e])](_0x1367d2=>(_0x4f1334(),_0x1367d2),()=>{const _0x246332=_0x381a96();return null==_0x246332?(_0x4f1334(),_0x20903a([0x56,0x61,0x6c,0x69,0x64])):_0x20903a(_0x2106a0-_0x246332>(0x2aa96e31^_0x395b69)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20903a([0x74,0x68,0x65,0x6e])](_0x27683a)[_0x20903a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27683a(_0x20903a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12f7d2=0xe9304b1^_0x395b69;function _0x4f1334(){const _0x182342=_0x20903a([0x6c,0x6c,0x63,0x74,0x2d])+_0x23b7d2(_0x4799d2(_0x2d127b)),_0x3168cd=_0x213cc1(_0x23b7d2(window[_0x20903a([0x4d,0x61,0x74,0x68])][_0x20903a([0x63,0x65,0x69,0x6c])](_0x2106a0/_0x12f7d2)));window[_0x20903a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20903a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x182342,_0x3168cd);}function _0x381a96(){const _0x53ce0b=_0x20903a([0x6c,0x6c,0x63,0x74,0x2d])+_0x23b7d2(_0x4799d2(_0x2d127b)),_0x329edc=window[_0x20903a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20903a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53ce0b);return _0x329edc?window[_0x20903a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x213cc1(_0x329edc),0x10)*_0x12f7d2:null;}function _0x2a5fea(_0x544608){return new window[(_0x20903a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x300942,_0x2db341)=>{_0x544608[_0x20903a([0x74,0x68,0x65,0x6e])](_0x300942,_0x2db341),window[_0x20903a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2db341,0xea43ef1^_0x395b69);});}}_0x2754ec[_0x20903a([0x6f,0x6e])](_0x20903a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b3e5d,_0x560b75)=>{if(_0x560b75[0x0]!=_0x2d127b)return _0x27683a(_0x20903a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x560b75[0x1]={..._0x560b75[0x1],[_0x20903a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x514360};},{[_0x20903a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20903a([0x68,0x69,0x67,0x68])}),_0x2754ec[_0x20903a([0x6f,0x6e])](_0x20903a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3cd5c1=>{_0x2ad7f8(_0x3cd5c1[_0x20903a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ed818=!0x0,_0x1cc128(_0x3cd5c1[_0x20903a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20903a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20903a([0x6c,0x6f,0x77])}),_0x26336d[_0x20903a([0x74,0x68,0x65,0x6e])](()=>{_0x1ed818||_0x27683a(_0x20903a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5362f3(){return _0x2754ec[_0x20903a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20903a([0x76,0x69,0x65,0x77])][_0x20903a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20903a([0x61,0x75,0x74,0x6f]);}function _0x4c3cad(){_0x2754ec[_0x20903a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20903a([0x76,0x69,0x65,0x77])][_0x20903a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20903a([0x61,0x75,0x74,0x6f]);}}function _0x5345a3(_0x367fa4){const _0x2c2058=[new window[(_0x20903a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf0926d=>setTimeout(_0xf0926d,0xeacd4fd^_0x395b69)),_0x26336d[_0x20903a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20903a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x559d88=>{let _0x36b550=0x0;_0x2754ec[_0x20903a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20903a([0x6f,0x6e])](_0x20903a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x444bbb,_0x5c78d9)=>{_0x5c78d9[0x0][_0x20903a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36b550++,_0x36b550==(0xea5ebc9^_0x395b69)&&(_0x559d88(),_0x444bbb[_0x20903a([0x6f,0x66,0x66])]());});}))];return window[_0x20903a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20903a([0x72,0x61,0x63,0x65])](_0x2c2058)[_0x20903a([0x74,0x68,0x65,0x6e])](()=>_0x367fa4);}async function _0x5699b2(){await _0x26336d,_0x2754ec[_0x20903a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20903a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f412b,_0x2754ec[_0x20903a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20903a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f412b,_0x2754ec[_0x20903a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20903a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40bdb6(_0x233192){const _0x42623f=_0x16088d();_0x2754ec[_0x42623f]=_0x20903a([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x233192,_0x233192!=_0x20903a([0x56,0x61,0x6c,0x69,0x64])&&_0x5699b2();}function _0x16088d(){const _0x59050a=window[_0x20903a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20903a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20903a([0x6e,0x6f,0x77])]())[_0x20903a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20903a([0x2e]),'');let _0x3e1b34=_0x20903a([0x50]);for(let _0x2a351f=0x0;_0x2a351f<_0x59050a[_0x20903a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a351f+=0x2){let _0x8357f5=window[_0x20903a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59050a[_0x20903a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a351f,_0x2a351f+0x2));_0x8357f5>=_0x127dc6[_0x20903a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8357f5-=_0x127dc6[_0x20903a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e1b34+=_0x127dc6[_0x8357f5];}return _0x3e1b34;}function _0x3e10fa(){const _0x578404=_0x68ddb7[_0x20903a([0x73,0x70,0x6c,0x69,0x74])](_0x20903a([0x2e]));if(0x3!=_0x578404[_0x20903a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5444ea(_0x578404[0x1]);function _0x5444ea(_0x545e40){const _0x1b2a98=_0xe6673c(_0x545e40);return _0x1b2a98&&_0x2daaa3()?_0x1b2a98:null;function _0x2daaa3(){const _0x5315f9=_0x1b2a98[_0x20903a([0x6a,0x74,0x69])],_0x23afd1=window[_0x20903a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5315f9[_0x20903a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5315f9[_0x20903a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5bb945={..._0x1b2a98,[_0x20903a([0x6a,0x74,0x69])]:_0x5315f9[_0x20903a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5315f9[_0x20903a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5bb945[_0x20903a([0x76,0x63])],_0x4799d2(_0x5bb945)==_0x23afd1;}}}async function _0x4f318b(){let _0x8583dc=!0x0;try{const _0x72af13=_0x68ddb7[_0x20903a([0x73,0x70,0x6c,0x69,0x74])](_0x20903a([0x2e])),[_0x4c4202,_0x41e427,_0x4d0863]=_0x72af13;return _0x5bab39(_0x4c4202),await _0x356874(_0x4c4202,_0x41e427,_0x4d0863),_0x8583dc;}catch(_0x815dde){return!0x1;}function _0x5bab39(_0x27c401){const _0xae3090=_0xe6673c(_0x27c401);_0xae3090&&_0xae3090[_0x20903a([0x61,0x6c,0x67])]==_0x20903a([0x45,0x53,0x32,0x35,0x36])||(_0x8583dc=!0x1);}async function _0x356874(_0x339ec7,_0x60bba4,_0x2f70cc){const _0x431ff2=window[_0x20903a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20903a([0x66,0x72,0x6f,0x6d])](_0x29130d(_0x2f70cc),_0x1ffe21=>_0x1ffe21[_0x20903a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2922fa=new window[(_0x20903a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20903a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x339ec7+_0x20903a([0x2e])+_0x60bba4),_0x24582b=window[_0x20903a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20903a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24582b)return;const _0x46db27=await _0x24582b[_0x20903a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20903a([0x6a,0x77,0x6b]),_0x4f6c2a,{[_0x20903a([0x6e,0x61,0x6d,0x65])]:_0x20903a([0x45,0x43,0x44,0x53,0x41]),[_0x20903a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20903a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20903a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24582b[_0x20903a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20903a([0x6e,0x61,0x6d,0x65])]:_0x20903a([0x45,0x43,0x44,0x53,0x41]),[_0x20903a([0x68,0x61,0x73,0x68])]:{[_0x20903a([0x6e,0x61,0x6d,0x65])]:_0x20903a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46db27,_0x431ff2,_0x2922fa)||(_0x8583dc=!0x1);}}function _0xe6673c(_0x3c2078){return _0x3c2078[_0x20903a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20903a([0x65,0x79]))?JSON[_0x20903a([0x70,0x61,0x72,0x73,0x65])](_0x29130d(_0x3c2078)):null;}function _0x29130d(_0x403674){return window[_0x20903a([0x61,0x74,0x6f,0x62])](_0x403674[_0x20903a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20903a([0x2b]))[_0x20903a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20903a([0x2f])));}function _0x4799d2(_0x329fd4){let _0x4d365a=0x1505;function _0x48d0fc(_0x4ef05f){for(let _0x1e346d=0x0;_0x1e346d<_0x4ef05f[_0x20903a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e346d++){const _0x4b9ec6=_0x4ef05f[_0x20903a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e346d);_0x4d365a=(_0x4d365a<<0x5)+_0x4d365a+_0x4b9ec6,_0x4d365a&=_0x4d365a;}}function _0x2b6a76(_0x2a4f60){Array[_0x20903a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a4f60)?_0x2a4f60[_0x20903a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b6a76):_0x2a4f60&&typeof _0x2a4f60==_0x20903a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20903a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a4f60)[_0x20903a([0x73,0x6f,0x72,0x74])]()[_0x20903a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cc2fd,_0x5ec940])=>{_0x48d0fc(_0x1cc2fd),_0x2b6a76(_0x5ec940);}):_0x48d0fc(window[_0x20903a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a4f60));}return _0x2b6a76(_0x329fd4),_0x4d365a>>>0x0;}function _0x23b7d2(_0xaef066){return _0xaef066[_0x20903a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20903a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20903a([0x30]));}function _0x213cc1(_0x105654){return _0x105654[_0x20903a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20903a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20903a([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f412b(){}function _0x20903a(_0x4c278b){return _0x4c278b['map'](_0x7edbc2=>String['fromCharCode'](_0x7edbc2))['join']('');}_0x40bdb6(await _0x3b9093());}(this);}['_toggleSpecialCursor'](_0x4a20e0){this['editor']['editing']['view']['change'](_0x1b9284=>{for(const _0x43b89b of this['editor']['editing']['view']['document']['roots'])_0x4a20e0?_0x1b9284['addClass'](C,_0x43b89b):_0x1b9284['removeClass'](C,_0x43b89b);});}['_copyFormatting'](){const {editor:_0x531331}=this;_0x531331['execute'](c),_0x531331['ui']['ariaLiveAnnouncer']['announce'](b(_0x531331['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x314755}=this,_0x258e96=_0x314755['commands']['get'](c)['value'];_0x314755['execute'](e,_0x258e96),_0x314755['ui']['ariaLiveAnnouncer']['announce'](b(_0x314755['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x6c0a2c['window']['document'],'mouseup');}}class n extends _0x815cc2{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 _0x2a8068,Plugin as _0x207bf0}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x86005d,DomEmitterMixin as _0x5a9210,Collection as _0x371865,global as _0x25e94b,uid as _0x1714f7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x3a0728,SplitButtonView as _0x30734f,ViewModel as _0x26e265,addListToDropdown as _0x1ee57b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x184ee9}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x38a542}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0x2a8068{constructor(_0x393d61){super(_0x393d61),this['value']=void 0x0,this['on']('change:isEnabled',(_0x452e64,_0x493d7,_0x4c1d3e)=>{_0x4c1d3e||this['reset']();}),this['on']('change:value',()=>_0x393d61['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x17404b=this['editor']['model'],_0x5687c8=_0x17404b['document']['selection'];return Object['fromEntries'](Array['from'](_0x5687c8['getAttributes']())['filter'](([_0x122f01])=>_0x17404b['schema']['getAttributeProperties'](_0x122f01)['isFormatting']));}}class o extends _0x2a8068{constructor(_0x4b75ac){super(_0x4b75ac),this['_removeFormatCommand']=new _(_0x4b75ac);}['execute'](_0x4a63c2={}){const _0xa06712=this['editor']['model'],_0x1c69c7=_0xa06712['document']['selection'],_0x352e1a=Array['from'](_0x1c69c7['getRanges']()),_0x3f9991=_0x1c69c7['isCollapsed']?[this['_createRangeOnEntireWord'](_0xa06712,_0x1c69c7)]:_0x352e1a;_0xa06712['change'](_0x1025ab=>{_0x1025ab['setSelection'](_0x3f9991),this['_removeFormatCommand']['execute']();for(const _0x37a54b in _0x4a63c2)for(const _0xf16f1e of _0xa06712['schema']['getValidRanges'](_0x3f9991,_0x37a54b))_0x1025ab['setAttribute'](_0x37a54b,_0x4a63c2[_0x37a54b],_0xf16f1e);_0x1025ab['setSelection'](_0x352e1a);});}['_createRangeOnEntireWord'](_0x381edf,_0x388672){const _0x16b9fb=_0x381edf['createSelection'](_0x388672);_0x381edf['modifySelection'](_0x16b9fb,{'unit':'word','direction':'backward'});const _0x235ee4=_0x16b9fb['getFirstPosition']();_0x381edf['modifySelection'](_0x16b9fb,{'unit':'word','direction':'forward'});const _0x3fc04a=_0x16b9fb['getLastPosition']();return _0x381edf['createRange'](_0x235ee4,_0x3fc04a);}}class _ extends _0x2a8068{['execute'](){const _0x49f3c0=this['editor']['model'],_0x51ecd7=_0x49f3c0['schema'];_0x49f3c0['change'](_0x10a2ea=>{for(const _0x2ddad7 of this['_getFormattingItems'](_0x49f3c0['document']['selection'],_0x51ecd7))if(_0x2ddad7['is']('selection')){for(const _0x166b13 of this['_getFormattingAttributes'](_0x2ddad7,_0x51ecd7))_0x10a2ea['removeSelectionAttribute'](_0x166b13);}else{const _0x284911=_0x10a2ea['createRangeOn'](_0x2ddad7);for(const _0x1b8d4a of this['_getFormattingAttributes'](_0x2ddad7,_0x51ecd7))_0x10a2ea['removeAttribute'](_0x1b8d4a,_0x284911);}});}*['_getFormattingItems'](_0x4ee97b,_0x3e994a){const _0x8c857f=_0x490f15=>!!_0x86005d(this['_getFormattingAttributes'](_0x490f15,_0x3e994a));for(const _0x4eb220 of _0x4ee97b['getRanges']())for(const _0x37007c of _0x4eb220['getItems']())!_0x3e994a['isBlock'](_0x37007c)&&_0x8c857f(_0x37007c)&&(yield _0x37007c);for(const _0x419215 of _0x4ee97b['getSelectedBlocks']())_0x8c857f(_0x419215)&&(yield _0x419215);_0x8c857f(_0x4ee97b)&&(yield _0x4ee97b);}*['_getFormattingAttributes'](_0x936369,_0x495ae8){for(const [_0x1b9fee]of _0x936369['getAttributes']()){const _0x504941=_0x495ae8['getAttributeProperties'](_0x1b9fee);_0x504941&&_0x504941['isFormatting']&&(yield _0x1b9fee);}}}class a extends _0x207bf0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2378e7=this['editor'];_0x2378e7['commands']['add'](c,new r(_0x2378e7)),_0x2378e7['commands']['add'](e,new o(_0x2378e7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x41aa87=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23f482;for(const _0x1b6634 in _0x41aa87){const _0x455927=_0x1b6634,_0x520e4c=_0x41aa87[_0x455927];if('formatPainterLicenseKeyValid'==_0x520e4c||'formatPainterLicenseKeyInvalid'==_0x520e4c||'formatPainterLicenseKeyExpired'==_0x520e4c||'formatPainterLicenseKeyDomainLimit'==_0x520e4c||'formatPainterLicenseKeyNotAllowed'==_0x520e4c||'formatPainterLicenseKeyEvaluationLimit'==_0x520e4c||'formatPainterLicenseKeyTrialLimit'==_0x520e4c||'formatPainterLicenseKeyUsageLimit'==_0x520e4c){delete _0x41aa87[_0x455927],_0x23f482=_0x520e4c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x23f482&&_0x41aa87['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x23f482&&_0x41aa87['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x23f482&&_0x41aa87['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x23f482&&_0x41aa87['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x23f482&&_0x41aa87['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x23f482&&_0x41aa87['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x23f482&&_0x41aa87['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x49e05a,_0x19f9bd){const t=_0x49e05a['t'];switch(_0x19f9bd){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 _0x19f9bd;}}class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5a9210(_0x207bf0){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3398af=this['editor'];_0x3398af['editing']['view']['addObserver'](_0x184ee9),_0x3398af['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x3398af['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x3398af['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x3398af['ui']['componentFactory']['add']('formatPainter',_0x4ab4c2=>{const _0x51ef24=_0x3a0728(_0x4ab4c2,_0x30734f),_0x4eda65=_0x3398af['commands']['get'](c);_0x51ef24['buttonView']['set']({'label':b(_0x3398af['locale'],'Paint\x20formatting'),'icon':_0x38a542,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x51ef24['class']='ck-format-painter-dropdown',_0x4eda65&&(_0x51ef24['bind']('isEnabled')['to'](_0x4eda65,'isEnabled'),this['listenTo'](_0x4eda65,'change:isEnabled',(_0x46a89c,_0x197d39,_0x3742fc)=>{_0x3742fc||this['_finishPainting']();}),_0x51ef24['buttonView']['bind']('isOn')['to'](_0x4eda65,'value',_0x2980e7=>!!_0x2980e7),this['listenTo'](_0x3398af,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x4eda65,'change:value',(_0xb4b6f9,_0x90ece0,_0x5d855a)=>{this['_toggleSpecialCursor'](!!_0x5d855a);}));const _0xa0ca5a=new _0x26e265({'withText':!0x0,'label':b(_0x3398af['locale'],'Continuous\x20painting'),'tooltip':b(_0x3398af['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x1ee57b(_0x51ef24,new _0x371865([{'type':'switchbutton','model':_0xa0ca5a}]),{'role':'menu'});const _0x3b34d9=()=>{this['_copyFormatting'](),this['listenTo'](_0x25e94b['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0xa0ca5a['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x51ef24,'execute',()=>{_0xa0ca5a['isOn']=!_0xa0ca5a['isOn'];}),this['listenTo'](_0x51ef24['buttonView'],'execute',()=>{_0x3398af['editing']['view']['focus'](),_0x51ef24['buttonView']['isOn']?this['_finishPainting']():_0x3b34d9();}),_0x3398af['keystrokes']['set']('Ctrl+Alt+C',(_0x458957,_0x1d1fdd)=>{_0x3b34d9(),_0xa0ca5a['isOn']=!0x0,_0x1d1fdd();},{'priority':'high'}),_0x3398af['keystrokes']['set']('Ctrl+Alt+V',(_0xb9e075,_0x49738a)=>{_0x51ef24['buttonView']['isOn']&&(this['_pasteFormatting'](),_0xa0ca5a['isOn']||this['_finishPainting'](),_0x49738a());},{'priority':'high'}),_0x3398af['keystrokes']['set']('Esc',(_0x5267a3,_0x1f26e4)=>{_0x51ef24['buttonView']['isOn']&&(_0xa0ca5a['isOn']=!0x1,this['_finishPainting'](),_0x1f26e4());}),_0x51ef24;});}['afterInit'](){!async function(_0x578fa0){const _0x57f837=_0x1a71a8([0x48,0x4b,0x54,0x4d,0x52,0x31,0x63,0x67,0x49,0x36,0x51,0x78,0x77,0x5a,0x66,0x32,0x76,0x38,0x37,0x62,0x56,0x43,0x68,0x57,0x6e,0x70,0x33,0x71,0x6c,0x72,0x58,0x6a,0x41,0x4c,0x42,0x4f,0x65,0x55,0x4e,0x6b,0x73,0x35,0x61,0x74,0x44,0x50,0x6f,0x45,0x64,0x69,0x59,0x6d,0x39,0x47,0x30,0x75,0x79,0x7a,0x46,0x34,0x53,0x4a]),_0x162703=0x3637a48,_0x3a25c6=0x3641d98^_0x162703,_0x46964b=window[_0x1a71a8([0x44,0x61,0x74,0x65])][_0x1a71a8([0x6e,0x6f,0x77])](),_0x21e6f7=_0x578fa0[_0x1a71a8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcbd69e=new window[(_0x1a71a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4384ab=>{_0x21e6f7[_0x1a71a8([0x6f,0x6e,0x63,0x65])](_0x1a71a8([0x72,0x65,0x61,0x64,0x79]),_0x4384ab);}),_0x406ae9={[_0x1a71a8([0x6b,0x74,0x79])]:_0x1a71a8([0x45,0x43]),[_0x1a71a8([0x75,0x73,0x65])]:_0x1a71a8([0x73,0x69,0x67]),[_0x1a71a8([0x63,0x72,0x76])]:_0x1a71a8([0x50,0x2d,0x32,0x35,0x36]),[_0x1a71a8([0x78])]:_0x1a71a8([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]),[_0x1a71a8([0x79])]:_0x1a71a8([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]),[_0x1a71a8([0x61,0x6c,0x67])]:_0x1a71a8([0x45,0x53,0x32,0x35,0x36])},_0x46cf90=_0x21e6f7[_0x1a71a8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a71a8([0x67,0x65,0x74])](_0x1a71a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52b57c(){let _0x492877,_0x3ad6d2=null,_0x5593ab=null;try{if(_0x46cf90==_0x1a71a8([0x47,0x50,0x4c]))return _0x1a71a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x492877=_0x79fbf6(),!_0x492877)return _0x1a71a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x492877[_0x1a71a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5593ab=_0x1e6415(_0x492877[_0x1a71a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x492877[_0x1a71a8([0x6a,0x74,0x69])])),await _0x49d156()?_0x20e436()?_0xd4cc16()?_0x1a71a8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x37db60()?(_0x492877[_0x1a71a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a71a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ad6d2=_0x250608(_0x1a71a8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x492877[_0x1a71a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a71a8([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ad6d2=_0x250608(_0x1a71a8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ac726()):_0x1a71a8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a71a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a71a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x287004){return _0x1a71a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd4cc16(){const _0x55cc9f=[_0x1a71a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a71a8([0x74,0x72,0x69,0x61,0x6c])][_0x1a71a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x492877[_0x1a71a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46964b/0x3e8:0xe10*_0x3a25c6;return _0x492877[_0x1a71a8([0x65,0x78,0x70])]<_0x55cc9f;}function _0x20e436(){const _0x32ee69=_0x492877[_0x1a71a8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32ee69&&(!!_0x32ee69[_0x1a71a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a71a8([0x2a]))||(!!_0x32ee69[_0x1a71a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a71a8([0x46,0x50]))||!!_0x32ee69[_0x1a71a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a71a8([0x50,0x50]))));}function _0x37db60(){const _0x50d1e2=_0x492877[_0x1a71a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50d1e2||0x0==_0x50d1e2[_0x1a71a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc4d7e2}=new URL(window[_0x1a71a8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50d1e2[_0x1a71a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc4d7e2))return!0x0;const _0x88d318=_0xc4d7e2[_0x1a71a8([0x73,0x70,0x6c,0x69,0x74])](_0x1a71a8([0x2e]));return _0x50d1e2[_0x1a71a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2829e9=>_0x2829e9[_0x1a71a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a71a8([0x2a])))[_0x1a71a8([0x6d,0x61,0x70])](_0x30010f=>_0x30010f[_0x1a71a8([0x73,0x70,0x6c,0x69,0x74])](_0x1a71a8([0x2e])))[_0x1a71a8([0x73,0x6f,0x6d,0x65])](_0x4a7153=>_0x88d318[_0x1a71a8([0x65,0x76,0x65,0x72,0x79])]((_0x3bb87c,_0x3e04ca)=>_0x4a7153[_0x3e04ca]===_0x3bb87c||_0x4a7153[_0x3e04ca]===_0x1a71a8([0x2a])));}function _0x1ac726(){return _0x3ad6d2&&_0x5593ab?new window[(_0x1a71a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51327c,_0x1c692c)=>{_0x3ad6d2[_0x1a71a8([0x74,0x68,0x65,0x6e])](_0x51327c,_0x1c692c),_0x5593ab[_0x1a71a8([0x74,0x68,0x65,0x6e])](_0x6a2061=>{_0x6a2061!=_0x1a71a8([0x56,0x61,0x6c,0x69,0x64])&&_0x51327c(_0x6a2061);},_0x1c692c);}):_0x3ad6d2||_0x5593ab||_0x1a71a8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e6415(_0x47fd71,_0x304e7f){return new window[(_0x1a71a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x156f94=>{if(_0x379fb1())return _0x156f94(_0x1a71a8([0x56,0x61,0x6c,0x69,0x64]));_0x5ea844(),_0x21e6f7[_0x1a71a8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a71a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43030d=!0x1;const _0x2eab9f=_0x1714f7();function _0x58f749(_0x51b3a1){return!!_0x51b3a1&&(typeof _0x51b3a1===_0x1a71a8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51b3a1===_0x1a71a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51b3a1[_0x1a71a8([0x74,0x68,0x65,0x6e])]===_0x1a71a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51b3a1[_0x1a71a8([0x63,0x61,0x74,0x63,0x68])]===_0x1a71a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57eaf2(_0x231a6a){_0x3dfbe7(_0x231a6a)[_0x1a71a8([0x74,0x68,0x65,0x6e])](_0x57b0fd=>{if(!_0x57b0fd||_0x57b0fd[_0x1a71a8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a71a8([0x6f,0x6b]))return _0x1a71a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x482a67(_0x355222(_0x2eab9f+_0x304e7f))!=_0x57b0fd[_0x1a71a8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a71a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a71a8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a71a8([0x74,0x68,0x65,0x6e])](_0x5d54f7=>(_0x565b0b(),_0x5d54f7),()=>{const _0x4431de=_0x133058();return null==_0x4431de?(_0x565b0b(),_0x1a71a8([0x56,0x61,0x6c,0x69,0x64])):_0x1a71a8(_0x46964b-_0x4431de>(0x276ffe48^_0x162703)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a71a8([0x74,0x68,0x65,0x6e])](_0x156f94)[_0x1a71a8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x156f94(_0x1a71a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x840ad8=0x35594c8^_0x162703;function _0x565b0b(){const _0x2d18e2=_0x1a71a8([0x6c,0x6c,0x63,0x74,0x2d])+_0x482a67(_0x355222(_0x47fd71)),_0x7de358=_0x2ed44d(_0x482a67(window[_0x1a71a8([0x4d,0x61,0x74,0x68])][_0x1a71a8([0x63,0x65,0x69,0x6c])](_0x46964b/_0x840ad8)));window[_0x1a71a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a71a8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d18e2,_0x7de358);}function _0x133058(){const _0x1afe15=_0x1a71a8([0x6c,0x6c,0x63,0x74,0x2d])+_0x482a67(_0x355222(_0x47fd71)),_0x5aaeb5=window[_0x1a71a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a71a8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1afe15);return _0x5aaeb5?window[_0x1a71a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ed44d(_0x5aaeb5),0x10)*_0x840ad8:null;}function _0x3dfbe7(_0xfe9695){return new window[(_0x1a71a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4df8f0,_0x180cb3)=>{_0xfe9695[_0x1a71a8([0x74,0x68,0x65,0x6e])](_0x4df8f0,_0x180cb3),window[_0x1a71a8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x180cb3,0x362ae88^_0x162703);});}}_0x21e6f7[_0x1a71a8([0x6f,0x6e])](_0x1a71a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x7e42a1,_0x31e5ad)=>{if(_0x31e5ad[0x0]!=_0x47fd71)return _0x156f94(_0x1a71a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31e5ad[0x1]={..._0x31e5ad[0x1],[_0x1a71a8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2eab9f};},{[_0x1a71a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a71a8([0x68,0x69,0x67,0x68])}),_0x21e6f7[_0x1a71a8([0x6f,0x6e])](_0x1a71a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f4c42=>{_0x58f749(_0x2f4c42[_0x1a71a8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43030d=!0x0,_0x57eaf2(_0x2f4c42[_0x1a71a8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a71a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a71a8([0x6c,0x6f,0x77])}),_0xcbd69e[_0x1a71a8([0x74,0x68,0x65,0x6e])](()=>{_0x43030d||_0x156f94(_0x1a71a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x379fb1(){return _0x21e6f7[_0x1a71a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a71a8([0x76,0x69,0x65,0x77])][_0x1a71a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a71a8([0x61,0x75,0x74,0x6f]);}function _0x5ea844(){_0x21e6f7[_0x1a71a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a71a8([0x76,0x69,0x65,0x77])][_0x1a71a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a71a8([0x61,0x75,0x74,0x6f]);}}function _0x250608(_0x2fb21a){const _0x488799=[new window[(_0x1a71a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5afeeb=>setTimeout(_0x5afeeb,0x36a4484^_0x162703)),_0xcbd69e[_0x1a71a8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a71a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bd98f=>{let _0x325be5=0x0;_0x21e6f7[_0x1a71a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a71a8([0x6f,0x6e])](_0x1a71a8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26ef73,_0x457df1)=>{_0x457df1[0x0][_0x1a71a8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x325be5++,_0x325be5==(0x3637bb0^_0x162703)&&(_0x1bd98f(),_0x26ef73[_0x1a71a8([0x6f,0x66,0x66])]());});}))];return window[_0x1a71a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a71a8([0x72,0x61,0x63,0x65])](_0x488799)[_0x1a71a8([0x74,0x68,0x65,0x6e])](()=>_0x2fb21a);}async function _0x458437(){await _0xcbd69e,_0x21e6f7[_0x1a71a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a71a8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x315269,_0x21e6f7[_0x1a71a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a71a8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x315269,_0x21e6f7[_0x1a71a8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a71a8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x571226(_0x67e501){const _0x77339a=_0x335f06();_0x21e6f7[_0x77339a]=_0x1a71a8([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x67e501,_0x67e501!=_0x1a71a8([0x56,0x61,0x6c,0x69,0x64])&&_0x458437();}function _0x335f06(){const _0x563025=window[_0x1a71a8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a71a8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a71a8([0x6e,0x6f,0x77])]())[_0x1a71a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a71a8([0x2e]),'');let _0x237c3e=_0x1a71a8([0x48]);for(let _0x2304b6=0x0;_0x2304b6<_0x563025[_0x1a71a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2304b6+=0x2){let _0x472df3=window[_0x1a71a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x563025[_0x1a71a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2304b6,_0x2304b6+0x2));_0x472df3>=_0x57f837[_0x1a71a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x472df3-=_0x57f837[_0x1a71a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x237c3e+=_0x57f837[_0x472df3];}return _0x237c3e;}function _0x79fbf6(){const _0x180038=_0x46cf90[_0x1a71a8([0x73,0x70,0x6c,0x69,0x74])](_0x1a71a8([0x2e]));if(0x3!=_0x180038[_0x1a71a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x398e98(_0x180038[0x1]);function _0x398e98(_0x2cdfbd){const _0x4011c6=_0x43f272(_0x2cdfbd);return _0x4011c6&&_0x19403b()?_0x4011c6:null;function _0x19403b(){const _0x160ae9=_0x4011c6[_0x1a71a8([0x6a,0x74,0x69])],_0x11eff1=window[_0x1a71a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x160ae9[_0x1a71a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x160ae9[_0x1a71a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x564f53={..._0x4011c6,[_0x1a71a8([0x6a,0x74,0x69])]:_0x160ae9[_0x1a71a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x160ae9[_0x1a71a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x564f53[_0x1a71a8([0x76,0x63])],_0x355222(_0x564f53)==_0x11eff1;}}}async function _0x49d156(){let _0x15b709=!0x0;try{const _0x2292ae=_0x46cf90[_0x1a71a8([0x73,0x70,0x6c,0x69,0x74])](_0x1a71a8([0x2e])),[_0x43ec5d,_0x585a65,_0x15f3f]=_0x2292ae;return _0x5f39c1(_0x43ec5d),await _0x59960b(_0x43ec5d,_0x585a65,_0x15f3f),_0x15b709;}catch(_0xac9171){return!0x1;}function _0x5f39c1(_0x4e229b){const _0x9c9bac=_0x43f272(_0x4e229b);_0x9c9bac&&_0x9c9bac[_0x1a71a8([0x61,0x6c,0x67])]==_0x1a71a8([0x45,0x53,0x32,0x35,0x36])||(_0x15b709=!0x1);}async function _0x59960b(_0x418532,_0x3eb49d,_0x45c86d){const _0x1a04e2=window[_0x1a71a8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a71a8([0x66,0x72,0x6f,0x6d])](_0x2d26d6(_0x45c86d),_0xb16fff=>_0xb16fff[_0x1a71a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41dfd7=new window[(_0x1a71a8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a71a8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x418532+_0x1a71a8([0x2e])+_0x3eb49d),_0x147cc2=window[_0x1a71a8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a71a8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x147cc2)return;const _0x4fd68d=await _0x147cc2[_0x1a71a8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a71a8([0x6a,0x77,0x6b]),_0x406ae9,{[_0x1a71a8([0x6e,0x61,0x6d,0x65])]:_0x1a71a8([0x45,0x43,0x44,0x53,0x41]),[_0x1a71a8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a71a8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a71a8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x147cc2[_0x1a71a8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a71a8([0x6e,0x61,0x6d,0x65])]:_0x1a71a8([0x45,0x43,0x44,0x53,0x41]),[_0x1a71a8([0x68,0x61,0x73,0x68])]:{[_0x1a71a8([0x6e,0x61,0x6d,0x65])]:_0x1a71a8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fd68d,_0x1a04e2,_0x41dfd7)||(_0x15b709=!0x1);}}function _0x43f272(_0x2d72b2){return _0x2d72b2[_0x1a71a8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a71a8([0x65,0x79]))?JSON[_0x1a71a8([0x70,0x61,0x72,0x73,0x65])](_0x2d26d6(_0x2d72b2)):null;}function _0x2d26d6(_0x52c87f){return window[_0x1a71a8([0x61,0x74,0x6f,0x62])](_0x52c87f[_0x1a71a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a71a8([0x2b]))[_0x1a71a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a71a8([0x2f])));}function _0x355222(_0x599561){let _0x37c417=0x1505;function _0x1e7bdd(_0x89d553){for(let _0x55e3dd=0x0;_0x55e3dd<_0x89d553[_0x1a71a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55e3dd++){const _0x11180f=_0x89d553[_0x1a71a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55e3dd);_0x37c417=(_0x37c417<<0x5)+_0x37c417+_0x11180f,_0x37c417&=_0x37c417;}}function _0x423cc9(_0x152ba8){Array[_0x1a71a8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x152ba8)?_0x152ba8[_0x1a71a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x423cc9):_0x152ba8&&typeof _0x152ba8==_0x1a71a8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a71a8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x152ba8)[_0x1a71a8([0x73,0x6f,0x72,0x74])]()[_0x1a71a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26f78b,_0x4028ee])=>{_0x1e7bdd(_0x26f78b),_0x423cc9(_0x4028ee);}):_0x1e7bdd(window[_0x1a71a8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x152ba8));}return _0x423cc9(_0x599561),_0x37c417>>>0x0;}function _0x482a67(_0x73a651){return _0x73a651[_0x1a71a8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a71a8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a71a8([0x30]));}function _0x2ed44d(_0x3c5cda){return _0x3c5cda[_0x1a71a8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a71a8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a71a8([0x6a,0x6f,0x69,0x6e])]('');}function _0x315269(){}function _0x1a71a8(_0x1e90b2){return _0x1e90b2['map'](_0x33a61d=>String['fromCharCode'](_0x33a61d))['join']('');}_0x571226(await _0x52b57c());}(this);}['_toggleSpecialCursor'](_0xd9d9a8){this['editor']['editing']['view']['change'](_0x48839f=>{for(const _0x46708b of this['editor']['editing']['view']['document']['roots'])_0xd9d9a8?_0x48839f['addClass'](C,_0x46708b):_0x48839f['removeClass'](C,_0x46708b);});}['_copyFormatting'](){const {editor:_0x5c5fc5}=this;_0x5c5fc5['execute'](c),_0x5c5fc5['ui']['ariaLiveAnnouncer']['announce'](b(_0x5c5fc5['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x426b16}=this,_0x403246=_0x426b16['commands']['get'](c)['value'];_0x426b16['execute'](e,_0x403246),_0x426b16['ui']['ariaLiveAnnouncer']['announce'](b(_0x426b16['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x25e94b['window']['document'],'mouseup');}}class n extends _0x207bf0{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.1.0-alpha.
|
|
3
|
+
"version": "45.1.0-alpha.7",
|
|
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.1.0-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.
|
|
20
|
-
"ckeditor5": "45.1.0-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.7",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.7",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.7",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.7",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.7",
|
|
20
|
+
"ckeditor5": "45.1.0-alpha.7"
|
|
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
|
-
_0x48837b(_0x51653f){static get[_0x1288bd(0x138)](){const _0x31bcbd=_0x1288bd;return _0x31bcbd(0x158);}static get[_0x1288bd(0x149)](){return!0x0;}static get[_0x1288bd(0x121)](){return!0x0;}[_0x1288bd(0x137)](){const _0x2d9438=_0x1288bd,_0x524cf3=this[_0x2d9438(0x126)];_0x524cf3[_0x2d9438(0x150)][_0x2d9438(0x136)][_0x2d9438(0x123)](_0x29a11e),_0x524cf3[_0x2d9438(0x12d)][_0x2d9438(0x130)]({'keystrokes':[{'label':_0x1bba71(_0x524cf3[_0x2d9438(0x139)],_0x2d9438(0x13c)),'keystroke':_0x2d9438(0x125)},{'label':_0x1bba71(_0x524cf3[_0x2d9438(0x139)],_0x2d9438(0x13b)),'keystroke':_0x2d9438(0x143)}]}),_0x524cf3['ui'][_0x2d9438(0x146)][_0x2d9438(0x15f)](_0x2d9438(0x135),_0x54be1b=>{const _0x443e26=_0x2d9438,_0x475b99=_0x32c083(_0x54be1b,_0x166c25),_0x4704d3=_0x524cf3[_0x443e26(0x156)][_0x443e26(0x141)](_0x98a991);_0x475b99[_0x443e26(0x117)][_0x443e26(0x13f)]({'label':_0x1bba71(_0x524cf3[_0x443e26(0x139)],_0x443e26(0x15d)),'icon':_0x3c46dd,'keystroke':_0x443e26(0x125),'tooltip':!0x0}),_0x475b99[_0x443e26(0x14e)]=_0x443e26(0x11a),_0x4704d3&&(_0x475b99[_0x443e26(0x160)](_0x443e26(0x14c))['to'](_0x4704d3,_0x443e26(0x14c)),this[_0x443e26(0x13a)](_0x4704d3,_0x443e26(0x142),(_0x41f085,_0x23889b,_0xa213dc)=>{const _0x11dfce=_0x443e26;_0xa213dc||this[_0x11dfce(0x14b)]();}),_0x475b99[_0x443e26(0x117)][_0x443e26(0x160)](_0x443e26(0x127))['to'](_0x4704d3,_0x443e26(0x155),_0xc3eada=>!!_0xc3eada),this[_0x443e26(0x13a)](_0x524cf3,_0x443e26(0x119),()=>this[_0x443e26(0x118)](!0x1)),this[_0x443e26(0x13a)](_0x4704d3,_0x443e26(0x122),(_0x96574a,_0x596278,_0x38f2dd)=>{const _0x14cb3b=_0x443e26;this[_0x14cb3b(0x118)](!!_0x38f2dd);}));const _0x1e2389=new _0x2e72b0({'withText':!0x0,'label':_0x1bba71(_0x524cf3[_0x443e26(0x139)],_0x443e26(0x12f)),'tooltip':_0x1bba71(_0x524cf3[_0x443e26(0x139)],_0x443e26(0x131)),'isOn':!0x1,'role':_0x443e26(0x15c)});_0x493b88(_0x475b99,new _0x1ef9cf([{'type':_0x443e26(0x148),'model':_0x1e2389}]),{'role':_0x443e26(0x12c)});const _0x6f9a15=()=>{const _0x584318=_0x443e26;this[_0x584318(0x153)](),this[_0x584318(0x13a)](_0x7b4816[_0x584318(0x116)][_0x584318(0x134)],_0x584318(0x128),()=>{const _0x5e22ae=_0x584318;this[_0x5e22ae(0x15e)](),_0x1e2389[_0x5e22ae(0x127)]||this[_0x5e22ae(0x14b)]();});};return this[_0x443e26(0x13a)](_0x475b99,_0x443e26(0x11d),()=>{const _0x138845=_0x443e26;_0x1e2389[_0x138845(0x127)]=!_0x1e2389[_0x138845(0x127)];}),this[_0x443e26(0x13a)](_0x475b99[_0x443e26(0x117)],_0x443e26(0x11d),()=>{const _0x2f0962=_0x443e26;_0x524cf3[_0x2f0962(0x150)][_0x2f0962(0x136)][_0x2f0962(0x147)](),_0x475b99[_0x2f0962(0x117)][_0x2f0962(0x127)]?this[_0x2f0962(0x14b)]():_0x6f9a15();}),_0x524cf3[_0x443e26(0x11b)][_0x443e26(0x13f)](_0x443e26(0x125),(_0x1f307e,_0x110b44)=>{const _0xb1bfc=_0x443e26;_0x6f9a15(),_0x1e2389[_0xb1bfc(0x127)]=!0x0,_0x110b44();},{'priority':_0x443e26(0x13d)}),_0x524cf3[_0x443e26(0x11b)][_0x443e26(0x13f)](_0x443e26(0x143),(_0x380f79,_0x2a5a79)=>{const _0x564dd2=_0x443e26;_0x475b99[_0x564dd2(0x117)][_0x564dd2(0x127)]&&(this[_0x564dd2(0x15e)](),_0x1e2389[_0x564dd2(0x127)]||this[_0x564dd2(0x14b)](),_0x2a5a79());},{'priority':_0x443e26(0x13d)}),_0x524cf3[_0x443e26(0x11b)][_0x443e26(0x13f)](_0x443e26(0x129),(_0x1f3b10,_0x1392f5)=>{const _0x5a1e66=_0x443e26;_0x475b99[_0x5a1e66(0x117)][_0x5a1e66(0x127)]&&(_0x1e2389[_0x5a1e66(0x127)]=!0x1,this[_0x5a1e66(0x14b)](),_0x1392f5());}),_0x475b99;});}[_0x1288bd(0x133)](){!async function(_0x12bc18){const _0x8c0f30=_0x3e66d1([0x50,0x6f,0x74,0x36,0x58,0x59,0x52,0x5a,0x55,0x79,0x41,0x72,0x78,0x33,0x6d,0x76,0x48,0x56,0x45,0x67,0x75,0x34,0x4b,0x37,0x4f,0x49,0x57,0x4c,0x6b,0x39,0x6a,0x63,0x42,0x38,0x32,0x66,0x61,0x54,0x35,0x69,0x77,0x30,0x4e,0x4a,0x4d,0x71,0x44,0x68,0x51,0x62,0x43,0x64,0x6e,0x7a,0x46,0x70,0x53,0x65,0x31,0x73,0x6c,0x47]),_0xaa2103=0xea5ea31,_0x4faf25=0xea28d89^_0xaa2103,_0x573dbb=window[_0x3e66d1([0x44,0x61,0x74,0x65])][_0x3e66d1([0x6e,0x6f,0x77])](),_0x52767e=_0x12bc18[_0x3e66d1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x887318=new window[(_0x3e66d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eff6d=>{_0x52767e[_0x3e66d1([0x6f,0x6e,0x63,0x65])](_0x3e66d1([0x72,0x65,0x61,0x64,0x79]),_0x4eff6d);}),_0x10269d={[_0x3e66d1([0x6b,0x74,0x79])]:_0x3e66d1([0x45,0x43]),[_0x3e66d1([0x75,0x73,0x65])]:_0x3e66d1([0x73,0x69,0x67]),[_0x3e66d1([0x63,0x72,0x76])]:_0x3e66d1([0x50,0x2d,0x32,0x35,0x36]),[_0x3e66d1([0x78])]:_0x3e66d1([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]),[_0x3e66d1([0x79])]:_0x3e66d1([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]),[_0x3e66d1([0x61,0x6c,0x67])]:_0x3e66d1([0x45,0x53,0x32,0x35,0x36])},_0x29d660=_0x52767e[_0x3e66d1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e66d1([0x67,0x65,0x74])](_0x3e66d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa1c511(){let _0x49fd7a,_0xd4be67=null,_0x1f2874=null;try{if(_0x29d660==_0x3e66d1([0x47,0x50,0x4c]))return _0x3e66d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49fd7a=_0x2d4c92(),!_0x49fd7a)return _0x3e66d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49fd7a[_0x3e66d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f2874=_0x349b03(_0x49fd7a[_0x3e66d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49fd7a[_0x3e66d1([0x6a,0x74,0x69])])),await _0x343f09()?_0x51884c()?_0x24359d()?_0x3e66d1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39e2f6()?(_0x49fd7a[_0x3e66d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e66d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd4be67=_0x2ad637(_0x3e66d1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49fd7a[_0x3e66d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e66d1([0x74,0x72,0x69,0x61,0x6c])&&(_0xd4be67=_0x2ad637(_0x3e66d1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11eaa0()):_0x3e66d1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e66d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e66d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x35b764){return _0x3e66d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x24359d(){const _0xa56361=[_0x3e66d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e66d1([0x74,0x72,0x69,0x61,0x6c])][_0x3e66d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49fd7a[_0x3e66d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x573dbb/0x3e8:0xe10*_0x4faf25;return _0x49fd7a[_0x3e66d1([0x65,0x78,0x70])]<_0xa56361;}function _0x51884c(){const _0x17bf03=_0x49fd7a[_0x3e66d1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17bf03&&(!!_0x17bf03[_0x3e66d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e66d1([0x2a]))||(!!_0x17bf03[_0x3e66d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e66d1([0x46,0x50]))||!!_0x17bf03[_0x3e66d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e66d1([0x50,0x50]))));}function _0x39e2f6(){const _0x3fa83c=_0x1ce1,_0x2d2b6d=_0x49fd7a[_0x3e66d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d2b6d||0x0==_0x2d2b6d[_0x3e66d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c233d}=new URL(window[_0x3e66d1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3fa83c(0x11e)]);if(_0x2d2b6d[_0x3e66d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c233d))return!0x0;const _0x12faaa=_0x1c233d[_0x3e66d1([0x73,0x70,0x6c,0x69,0x74])](_0x3e66d1([0x2e]));return _0x2d2b6d[_0x3e66d1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4aa31a=>_0x4aa31a[_0x3e66d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e66d1([0x2a])))[_0x3e66d1([0x6d,0x61,0x70])](_0xbfccac=>_0xbfccac[_0x3e66d1([0x73,0x70,0x6c,0x69,0x74])](_0x3e66d1([0x2e])))[_0x3e66d1([0x73,0x6f,0x6d,0x65])](_0x55e8d3=>_0x12faaa[_0x3e66d1([0x65,0x76,0x65,0x72,0x79])]((_0x4179cd,_0x825c74)=>_0x55e8d3[_0x825c74]===_0x4179cd||_0x55e8d3[_0x825c74]===_0x3e66d1([0x2a])));}function _0x11eaa0(){return _0xd4be67&&_0x1f2874?new window[(_0x3e66d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17a571,_0x2239d4)=>{_0xd4be67[_0x3e66d1([0x74,0x68,0x65,0x6e])](_0x17a571,_0x2239d4),_0x1f2874[_0x3e66d1([0x74,0x68,0x65,0x6e])](_0x34278a=>{_0x34278a!=_0x3e66d1([0x56,0x61,0x6c,0x69,0x64])&&_0x17a571(_0x34278a);},_0x2239d4);}):_0xd4be67||_0x1f2874||_0x3e66d1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x349b03(_0xba6338,_0x5cb0fd){return new window[(_0x3e66d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40d0fd=>{if(_0x39e396())return _0x40d0fd(_0x3e66d1([0x56,0x61,0x6c,0x69,0x64]));_0x3062dd(),_0x52767e[_0x3e66d1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e66d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cc745=!0x1;const _0xa16bdb=_0x390456();function _0x20dd65(_0x174f0a){return!!_0x174f0a&&(typeof _0x174f0a===_0x3e66d1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x174f0a===_0x3e66d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x174f0a[_0x3e66d1([0x74,0x68,0x65,0x6e])]===_0x3e66d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x174f0a[_0x3e66d1([0x63,0x61,0x74,0x63,0x68])]===_0x3e66d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3637c5(_0x379f2b){_0x276bbc(_0x379f2b)[_0x3e66d1([0x74,0x68,0x65,0x6e])](_0x137644=>{if(!_0x137644||_0x137644[_0x3e66d1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e66d1([0x6f,0x6b]))return _0x3e66d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x357962(_0x58c4b9(_0xa16bdb+_0x5cb0fd))!=_0x137644[_0x3e66d1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e66d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e66d1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e66d1([0x74,0x68,0x65,0x6e])](_0x4c9b07=>(_0x1207e3(),_0x4c9b07),()=>{const _0x4d35f9=_0x164bdb();return null==_0x4d35f9?(_0x1207e3(),_0x3e66d1([0x56,0x61,0x6c,0x69,0x64])):_0x3e66d1(_0x573dbb-_0x4d35f9>(0x2aa96e31^_0xaa2103)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e66d1([0x74,0x68,0x65,0x6e])](_0x40d0fd)[_0x3e66d1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40d0fd(_0x3e66d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x528f6c=0xe9304b1^_0xaa2103;function _0x1207e3(){const _0x405953=_0x3e66d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x357962(_0x58c4b9(_0xba6338)),_0x1171a0=_0x233070(_0x357962(window[_0x3e66d1([0x4d,0x61,0x74,0x68])][_0x3e66d1([0x63,0x65,0x69,0x6c])](_0x573dbb/_0x528f6c)));window[_0x3e66d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e66d1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x405953,_0x1171a0);}function _0x164bdb(){const _0x22edf7=_0x3e66d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x357962(_0x58c4b9(_0xba6338)),_0x45f9ee=window[_0x3e66d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e66d1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22edf7);return _0x45f9ee?window[_0x3e66d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x233070(_0x45f9ee),0x10)*_0x528f6c:null;}function _0x276bbc(_0x513a61){return new window[(_0x3e66d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b738e,_0x55560e)=>{_0x513a61[_0x3e66d1([0x74,0x68,0x65,0x6e])](_0x3b738e,_0x55560e),window[_0x3e66d1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55560e,0xea43ef1^_0xaa2103);});}}_0x52767e[_0x3e66d1([0x6f,0x6e])](_0x3e66d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xedb2d6,_0x425b1e)=>{if(_0x425b1e[0x0]!=_0xba6338)return _0x40d0fd(_0x3e66d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x425b1e[0x1]={..._0x425b1e[0x1],[_0x3e66d1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa16bdb};},{[_0x3e66d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e66d1([0x68,0x69,0x67,0x68])}),_0x52767e[_0x3e66d1([0x6f,0x6e])](_0x3e66d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x595435=>{_0x20dd65(_0x595435[_0x3e66d1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cc745=!0x0,_0x3637c5(_0x595435[_0x3e66d1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e66d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e66d1([0x6c,0x6f,0x77])}),_0x887318[_0x3e66d1([0x74,0x68,0x65,0x6e])](()=>{_0x4cc745||_0x40d0fd(_0x3e66d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39e396(){return _0x52767e[_0x3e66d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e66d1([0x76,0x69,0x65,0x77])][_0x3e66d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e66d1([0x61,0x75,0x74,0x6f]);}function _0x3062dd(){_0x52767e[_0x3e66d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e66d1([0x76,0x69,0x65,0x77])][_0x3e66d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e66d1([0x61,0x75,0x74,0x6f]);}}function _0x2ad637(_0x3b4a65){const _0x299146=[new window[(_0x3e66d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x373707=>setTimeout(_0x373707,0xeacd4fd^_0xaa2103)),_0x887318[_0x3e66d1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e66d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b5b84=>{let _0x3fa158=0x0;_0x52767e[_0x3e66d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e66d1([0x6f,0x6e])](_0x3e66d1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b2618,_0x1d94c7)=>{_0x1d94c7[0x0][_0x3e66d1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fa158++,_0x3fa158==(0xea5ebc9^_0xaa2103)&&(_0x2b5b84(),_0x1b2618[_0x3e66d1([0x6f,0x66,0x66])]());});}))];return window[_0x3e66d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e66d1([0x72,0x61,0x63,0x65])](_0x299146)[_0x3e66d1([0x74,0x68,0x65,0x6e])](()=>_0x3b4a65);}async function _0x27cfc5(){await _0x887318,_0x52767e[_0x3e66d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e66d1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x93514,_0x52767e[_0x3e66d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e66d1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x93514,_0x52767e[_0x3e66d1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e66d1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x9fc554(_0x369791){const _0x564c61=_0x1c1b8d();_0x52767e[_0x564c61]=_0x3e66d1([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x369791,_0x369791!=_0x3e66d1([0x56,0x61,0x6c,0x69,0x64])&&_0x27cfc5();}function _0x1c1b8d(){const _0x28b3ba=window[_0x3e66d1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e66d1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e66d1([0x6e,0x6f,0x77])]())[_0x3e66d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e66d1([0x2e]),'');let _0x2de7cf=_0x3e66d1([0x50]);for(let _0x5a6717=0x0;_0x5a6717<_0x28b3ba[_0x3e66d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a6717+=0x2){let _0x346cf6=window[_0x3e66d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28b3ba[_0x3e66d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a6717,_0x5a6717+0x2));_0x346cf6>=_0x8c0f30[_0x3e66d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x346cf6-=_0x8c0f30[_0x3e66d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2de7cf+=_0x8c0f30[_0x346cf6];}return _0x2de7cf;}function _0x2d4c92(){const _0x8d13b8=_0x29d660[_0x3e66d1([0x73,0x70,0x6c,0x69,0x74])](_0x3e66d1([0x2e]));if(0x3!=_0x8d13b8[_0x3e66d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x505f0c(_0x8d13b8[0x1]);function _0x505f0c(_0x2edca9){const _0x42c076=_0xf019ac(_0x2edca9);return _0x42c076&&_0x4a752f()?_0x42c076:null;function _0x4a752f(){const _0x435b45=_0x42c076[_0x3e66d1([0x6a,0x74,0x69])],_0x50c1c5=window[_0x3e66d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x435b45[_0x3e66d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x435b45[_0x3e66d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9d4f8b={..._0x42c076,[_0x3e66d1([0x6a,0x74,0x69])]:_0x435b45[_0x3e66d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x435b45[_0x3e66d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9d4f8b[_0x3e66d1([0x76,0x63])],_0x58c4b9(_0x9d4f8b)==_0x50c1c5;}}}async function _0x343f09(){let _0x11abe5=!0x0;try{const _0xbebc5f=_0x29d660[_0x3e66d1([0x73,0x70,0x6c,0x69,0x74])](_0x3e66d1([0x2e])),[_0x9ec9a3,_0x35d941,_0x67b604]=_0xbebc5f;return _0x57f343(_0x9ec9a3),await _0x21b976(_0x9ec9a3,_0x35d941,_0x67b604),_0x11abe5;}catch(_0x28d521){return!0x1;}function _0x57f343(_0x1efd0e){const _0x511220=_0xf019ac(_0x1efd0e);_0x511220&&_0x511220[_0x3e66d1([0x61,0x6c,0x67])]==_0x3e66d1([0x45,0x53,0x32,0x35,0x36])||(_0x11abe5=!0x1);}async function _0x21b976(_0x2a15eb,_0x3153bc,_0x316c4c){const _0x572de6=window[_0x3e66d1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e66d1([0x66,0x72,0x6f,0x6d])](_0x48faca(_0x316c4c),_0x247192=>_0x247192[_0x3e66d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b5720=new window[(_0x3e66d1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e66d1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a15eb+_0x3e66d1([0x2e])+_0x3153bc),_0x28eaa8=window[_0x3e66d1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e66d1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28eaa8)return;const _0xadfafe=await _0x28eaa8[_0x3e66d1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e66d1([0x6a,0x77,0x6b]),_0x10269d,{[_0x3e66d1([0x6e,0x61,0x6d,0x65])]:_0x3e66d1([0x45,0x43,0x44,0x53,0x41]),[_0x3e66d1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e66d1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e66d1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28eaa8[_0x3e66d1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e66d1([0x6e,0x61,0x6d,0x65])]:_0x3e66d1([0x45,0x43,0x44,0x53,0x41]),[_0x3e66d1([0x68,0x61,0x73,0x68])]:{[_0x3e66d1([0x6e,0x61,0x6d,0x65])]:_0x3e66d1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xadfafe,_0x572de6,_0x2b5720)||(_0x11abe5=!0x1);}}function _0xf019ac(_0x16d970){return _0x16d970[_0x3e66d1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e66d1([0x65,0x79]))?JSON[_0x3e66d1([0x70,0x61,0x72,0x73,0x65])](_0x48faca(_0x16d970)):null;}function _0x48faca(_0x767043){return window[_0x3e66d1([0x61,0x74,0x6f,0x62])](_0x767043[_0x3e66d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e66d1([0x2b]))[_0x3e66d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e66d1([0x2f])));}function _0x58c4b9(_0x571e34){let _0x6e33fb=0x1505;function _0x350d08(_0x505fdc){for(let _0x5c16c2=0x0;_0x5c16c2<_0x505fdc[_0x3e66d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c16c2++){const _0x594bdf=_0x505fdc[_0x3e66d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c16c2);_0x6e33fb=(_0x6e33fb<<0x5)+_0x6e33fb+_0x594bdf,_0x6e33fb&=_0x6e33fb;}}function _0x571fb8(_0x195988){Array[_0x3e66d1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x195988)?_0x195988[_0x3e66d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x571fb8):_0x195988&&typeof _0x195988==_0x3e66d1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e66d1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x195988)[_0x3e66d1([0x73,0x6f,0x72,0x74])]()[_0x3e66d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22298b,_0x40af74])=>{_0x350d08(_0x22298b),_0x571fb8(_0x40af74);}):_0x350d08(window[_0x3e66d1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x195988));}return _0x571fb8(_0x571e34),_0x6e33fb>>>0x0;}function _0x357962(_0x51df6a){return _0x51df6a[_0x3e66d1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e66d1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e66d1([0x30]));}function _0x233070(_0x3050f1){return _0x3050f1[_0x3e66d1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e66d1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e66d1([0x6a,0x6f,0x69,0x6e])]('');}function _0x93514(){}function _0x3e66d1(_0x59188d){const _0x1519d1=_0x1ce1;return _0x59188d[_0x1519d1(0x120)](_0x4c5c68=>String[_0x1519d1(0x12a)](_0x4c5c68))[_0x1519d1(0x14a)]('');}_0x9fc554(await _0xa1c511());}(this);}[_0x1288bd(0x118)](_0x4f7897){const _0x5ab68d=_0x1288bd;this[_0x5ab68d(0x126)][_0x5ab68d(0x150)][_0x5ab68d(0x136)][_0x5ab68d(0x140)](_0x50e4f3=>{const _0x1921c6=_0x5ab68d;for(const _0x34d3eb of this[_0x1921c6(0x126)][_0x1921c6(0x150)][_0x1921c6(0x136)][_0x1921c6(0x134)][_0x1921c6(0x132)])_0x4f7897?_0x50e4f3[_0x1921c6(0x152)](_0x2469ba,_0x34d3eb):_0x50e4f3[_0x1921c6(0x151)](_0x2469ba,_0x34d3eb);});}[_0x1288bd(0x153)](){const _0x1d1120=_0x1288bd,{editor:_0xbf14c0}=this;_0xbf14c0[_0x1d1120(0x11d)](_0x98a991),_0xbf14c0['ui'][_0x1d1120(0x14d)][_0x1d1120(0x12b)](_0x1bba71(_0xbf14c0[_0x1d1120(0x139)],_0x1d1120(0x15a)));}[_0x1288bd(0x15e)](){const _0x305f4c=_0x1288bd,{editor:_0x40c987}=this,_0x1a6f21=_0x40c987[_0x305f4c(0x156)][_0x305f4c(0x141)](_0x98a991)[_0x305f4c(0x155)];_0x40c987[_0x305f4c(0x11d)](_0x21bcd9,_0x1a6f21),_0x40c987['ui'][_0x305f4c(0x14d)][_0x305f4c(0x12b)](_0x1bba71(_0x40c987[_0x305f4c(0x139)],_0x305f4c(0x154)));}[_0x1288bd(0x14b)](){const _0x353437=_0x1288bd;this[_0x353437(0x126)][_0x353437(0x156)][_0x353437(0x141)](_0x98a991)[_0x353437(0x11f)](),this[_0x353437(0x124)](_0x7b4816[_0x353437(0x116)][_0x353437(0x134)],_0x353437(0x128));}}
|
|
23
|
+
const _0x443f23=_0x3b0b;(function(_0x4ef69e,_0x5a96c0){const _0x2acb7a=_0x3b0b,_0x27548a=_0x4ef69e();while(!![]){try{const _0x28da09=-parseInt(_0x2acb7a(0x22e))/0x1*(-parseInt(_0x2acb7a(0x1fa))/0x2)+-parseInt(_0x2acb7a(0x1f1))/0x3*(-parseInt(_0x2acb7a(0x1fc))/0x4)+parseInt(_0x2acb7a(0x1ff))/0x5+-parseInt(_0x2acb7a(0x21b))/0x6*(parseInt(_0x2acb7a(0x21e))/0x7)+-parseInt(_0x2acb7a(0x214))/0x8*(-parseInt(_0x2acb7a(0x22c))/0x9)+parseInt(_0x2acb7a(0x20f))/0xa+-parseInt(_0x2acb7a(0x225))/0xb*(parseInt(_0x2acb7a(0x213))/0xc);if(_0x28da09===_0x5a96c0)break;else _0x27548a['push'](_0x27548a['shift']());}catch(_0x2596ed){_0x27548a['push'](_0x27548a['shift']());}}}(_0x3f15,0x6710e));import{Plugin as _0x27debe}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3181f2,createDropdown as _0x3b8c90,ViewModel as _0x2a4d2f,SplitButtonView as _0x255da6}from'ckeditor5/src/ui.js';import{Collection as _0x3de8a0,global as _0x3bdea4,DomEmitterMixin as _0x50bf90,uid as _0x2721bf}from'ckeditor5/src/utils.js';import{ClickObserver as _0x2501f6}from'ckeditor5/src/engine.js';function _0x3f15(){const _0x3ef064=['Ctrl+Alt+V','14DBaLAy','class','destroy','get','accessibility','_toggleSpecialCursor','bind','473308YlktVQ','init','removeClass','change:value','view','componentFactory','Copy\x20text\x20formatting','18QcxVaY','buttonView','18959WuvbNV','focus','pluginName','afterInit','menuitemcheckbox','document','execute','_copyFormatting','set','locale','change','_finishPainting','Ctrl+Alt+C','commands','Formatting\x20copied.','add','menu','355701vCiGje','value','ariaLiveAnnouncer','addKeystrokeInfos','roots','high','Continuous\x20painting','mouseup','isOfficialPlugin','62xapliq','Esc','20ZCJqAT','map','stopListening','1820355OPfNbD','isPremiumPlugin','addObserver','Paste\x20text\x20formatting','announce','ck-format-painter-dropdown','FormatPainterUI','window','addClass','change:isEnabled','Pasted\x20formatting.','listenTo','switchbutton','href','isOn','Paint\x20formatting','7330190ZzMdpL','_pasteFormatting','formatPainter','isEnabled','444XtaXMr','1075472xkojMf','fromCharCode','keystrokes','editor','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','editing','join','1596984XZqYLP','reset'];_0x3f15=function(){return _0x3ef064;};return _0x3f15();}import{IconPaintRoller as _0x517cb8}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';function _0x3b0b(_0x1f05c9,_0x58746d){const _0x3f15a8=_0x3f15();return _0x3b0b=function(_0x3b0bea,_0x57428a){_0x3b0bea=_0x3b0bea-0x1e4;let _0x114a62=_0x3f15a8[_0x3b0bea];return _0x114a62;},_0x3b0b(_0x1f05c9,_0x58746d);}import{COPY_FORMAT_COMMAND_NAME as _0x37dd80,PASTE_FORMAT_COMMAND_NAME as _0x309006,CURSOR_ACTIVE_CSS_CLASS as _0x4f05e9}from'./utils.js';import{getTranslation as _0x21cffe}from'./utils/common-translations.js';export default class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x50bf90(_0x27debe){static get[_0x443f23(0x230)](){const _0x1e61da=_0x443f23;return _0x1e61da(0x205);}static get[_0x443f23(0x1f9)](){return!0x0;}static get[_0x443f23(0x200)](){return!0x0;}[_0x443f23(0x226)](){const _0x4384b3=_0x443f23,_0x326413=this[_0x4384b3(0x217)];_0x326413[_0x4384b3(0x219)][_0x4384b3(0x229)][_0x4384b3(0x201)](_0x2501f6),_0x326413[_0x4384b3(0x222)][_0x4384b3(0x1f4)]({'keystrokes':[{'label':_0x21cffe(_0x326413[_0x4384b3(0x1e9)],_0x4384b3(0x22b)),'keystroke':_0x4384b3(0x1ec)},{'label':_0x21cffe(_0x326413[_0x4384b3(0x1e9)],_0x4384b3(0x202)),'keystroke':_0x4384b3(0x21d)}]}),_0x326413['ui'][_0x4384b3(0x22a)][_0x4384b3(0x1ef)](_0x4384b3(0x211),_0x39c99f=>{const _0x5a0f9d=_0x4384b3,_0x5ed4f8=_0x3b8c90(_0x39c99f,_0x255da6),_0x1b9789=_0x326413[_0x5a0f9d(0x1ed)][_0x5a0f9d(0x221)](_0x37dd80);_0x5ed4f8[_0x5a0f9d(0x22d)][_0x5a0f9d(0x1e8)]({'label':_0x21cffe(_0x326413[_0x5a0f9d(0x1e9)],_0x5a0f9d(0x20e)),'icon':_0x517cb8,'keystroke':_0x5a0f9d(0x1ec),'tooltip':!0x0}),_0x5ed4f8[_0x5a0f9d(0x21f)]=_0x5a0f9d(0x204),_0x1b9789&&(_0x5ed4f8[_0x5a0f9d(0x224)](_0x5a0f9d(0x212))['to'](_0x1b9789,_0x5a0f9d(0x212)),this[_0x5a0f9d(0x20a)](_0x1b9789,_0x5a0f9d(0x208),(_0x2d7e78,_0x132121,_0x1c6a1a)=>{const _0x3d3711=_0x5a0f9d;_0x1c6a1a||this[_0x3d3711(0x1eb)]();}),_0x5ed4f8[_0x5a0f9d(0x22d)][_0x5a0f9d(0x224)](_0x5a0f9d(0x20d))['to'](_0x1b9789,_0x5a0f9d(0x1f2),_0x171447=>!!_0x171447),this[_0x5a0f9d(0x20a)](_0x326413,_0x5a0f9d(0x220),()=>this[_0x5a0f9d(0x223)](!0x1)),this[_0x5a0f9d(0x20a)](_0x1b9789,_0x5a0f9d(0x228),(_0x4cc607,_0x1ff8e2,_0x1ded51)=>{const _0x2476a5=_0x5a0f9d;this[_0x2476a5(0x223)](!!_0x1ded51);}));const _0x11b88b=new _0x2a4d2f({'withText':!0x0,'label':_0x21cffe(_0x326413[_0x5a0f9d(0x1e9)],_0x5a0f9d(0x1f7)),'tooltip':_0x21cffe(_0x326413[_0x5a0f9d(0x1e9)],_0x5a0f9d(0x218)),'isOn':!0x1,'role':_0x5a0f9d(0x1e4)});_0x3181f2(_0x5ed4f8,new _0x3de8a0([{'type':_0x5a0f9d(0x20b),'model':_0x11b88b}]),{'role':_0x5a0f9d(0x1f0)});const _0x1a7684=()=>{const _0x1c8138=_0x5a0f9d;this[_0x1c8138(0x1e7)](),this[_0x1c8138(0x20a)](_0x3bdea4[_0x1c8138(0x206)][_0x1c8138(0x1e5)],_0x1c8138(0x1f8),()=>{const _0x35b283=_0x1c8138;this[_0x35b283(0x210)](),_0x11b88b[_0x35b283(0x20d)]||this[_0x35b283(0x1eb)]();});};return this[_0x5a0f9d(0x20a)](_0x5ed4f8,_0x5a0f9d(0x1e6),()=>{const _0xc983b9=_0x5a0f9d;_0x11b88b[_0xc983b9(0x20d)]=!_0x11b88b[_0xc983b9(0x20d)];}),this[_0x5a0f9d(0x20a)](_0x5ed4f8[_0x5a0f9d(0x22d)],_0x5a0f9d(0x1e6),()=>{const _0x45fed5=_0x5a0f9d;_0x326413[_0x45fed5(0x219)][_0x45fed5(0x229)][_0x45fed5(0x22f)](),_0x5ed4f8[_0x45fed5(0x22d)][_0x45fed5(0x20d)]?this[_0x45fed5(0x1eb)]():_0x1a7684();}),_0x326413[_0x5a0f9d(0x216)][_0x5a0f9d(0x1e8)](_0x5a0f9d(0x1ec),(_0x1fa2ba,_0x44ef3d)=>{const _0x1b2a03=_0x5a0f9d;_0x1a7684(),_0x11b88b[_0x1b2a03(0x20d)]=!0x0,_0x44ef3d();},{'priority':_0x5a0f9d(0x1f6)}),_0x326413[_0x5a0f9d(0x216)][_0x5a0f9d(0x1e8)](_0x5a0f9d(0x21d),(_0x804664,_0x52eeff)=>{const _0x13fa99=_0x5a0f9d;_0x5ed4f8[_0x13fa99(0x22d)][_0x13fa99(0x20d)]&&(this[_0x13fa99(0x210)](),_0x11b88b[_0x13fa99(0x20d)]||this[_0x13fa99(0x1eb)](),_0x52eeff());},{'priority':_0x5a0f9d(0x1f6)}),_0x326413[_0x5a0f9d(0x216)][_0x5a0f9d(0x1e8)](_0x5a0f9d(0x1fb),(_0x11e80d,_0x2793fa)=>{const _0x479a16=_0x5a0f9d;_0x5ed4f8[_0x479a16(0x22d)][_0x479a16(0x20d)]&&(_0x11b88b[_0x479a16(0x20d)]=!0x1,this[_0x479a16(0x1eb)](),_0x2793fa());}),_0x5ed4f8;});}[_0x443f23(0x231)](){!async function(_0xc14528){const _0x259585=_0xa63e61([0x48,0x4b,0x54,0x4d,0x52,0x31,0x63,0x67,0x49,0x36,0x51,0x78,0x77,0x5a,0x66,0x32,0x76,0x38,0x37,0x62,0x56,0x43,0x68,0x57,0x6e,0x70,0x33,0x71,0x6c,0x72,0x58,0x6a,0x41,0x4c,0x42,0x4f,0x65,0x55,0x4e,0x6b,0x73,0x35,0x61,0x74,0x44,0x50,0x6f,0x45,0x64,0x69,0x59,0x6d,0x39,0x47,0x30,0x75,0x79,0x7a,0x46,0x34,0x53,0x4a]),_0xe2ef66=0x3637a48,_0x224283=0x3641d98^_0xe2ef66,_0x18e7f8=window[_0xa63e61([0x44,0x61,0x74,0x65])][_0xa63e61([0x6e,0x6f,0x77])](),_0x2a552e=_0xc14528[_0xa63e61([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e8ad0=new window[(_0xa63e61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ed9a3=>{_0x2a552e[_0xa63e61([0x6f,0x6e,0x63,0x65])](_0xa63e61([0x72,0x65,0x61,0x64,0x79]),_0x3ed9a3);}),_0x1e049b={[_0xa63e61([0x6b,0x74,0x79])]:_0xa63e61([0x45,0x43]),[_0xa63e61([0x75,0x73,0x65])]:_0xa63e61([0x73,0x69,0x67]),[_0xa63e61([0x63,0x72,0x76])]:_0xa63e61([0x50,0x2d,0x32,0x35,0x36]),[_0xa63e61([0x78])]:_0xa63e61([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]),[_0xa63e61([0x79])]:_0xa63e61([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]),[_0xa63e61([0x61,0x6c,0x67])]:_0xa63e61([0x45,0x53,0x32,0x35,0x36])},_0x2f6060=_0x2a552e[_0xa63e61([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa63e61([0x67,0x65,0x74])](_0xa63e61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18d2bc(){let _0x5e6484,_0x17bd64=null,_0xc2656=null;try{if(_0x2f6060==_0xa63e61([0x47,0x50,0x4c]))return _0xa63e61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e6484=_0x2e5134(),!_0x5e6484)return _0xa63e61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e6484[_0xa63e61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc2656=_0x318b5b(_0x5e6484[_0xa63e61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e6484[_0xa63e61([0x6a,0x74,0x69])])),await _0x63cd67()?_0xea2869()?_0x1f6c46()?_0xa63e61([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xcfd1d9()?(_0x5e6484[_0xa63e61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa63e61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17bd64=_0x2c4cac(_0xa63e61([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e6484[_0xa63e61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa63e61([0x74,0x72,0x69,0x61,0x6c])&&(_0x17bd64=_0x2c4cac(_0xa63e61([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x595111()):_0xa63e61([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa63e61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa63e61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1a64e7){return _0xa63e61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f6c46(){const _0x4f4268=[_0xa63e61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa63e61([0x74,0x72,0x69,0x61,0x6c])][_0xa63e61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e6484[_0xa63e61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18e7f8/0x3e8:0xe10*_0x224283;return _0x5e6484[_0xa63e61([0x65,0x78,0x70])]<_0x4f4268;}function _0xea2869(){const _0x16d5e4=_0x5e6484[_0xa63e61([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16d5e4&&(!!_0x16d5e4[_0xa63e61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa63e61([0x2a]))||(!!_0x16d5e4[_0xa63e61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa63e61([0x46,0x50]))||!!_0x16d5e4[_0xa63e61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa63e61([0x50,0x50]))));}function _0xcfd1d9(){const _0x549380=_0x3b0b,_0x2a2e5a=_0x5e6484[_0xa63e61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a2e5a||0x0==_0x2a2e5a[_0xa63e61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4858de}=new URL(window[_0xa63e61([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x549380(0x20c)]);if(_0x2a2e5a[_0xa63e61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4858de))return!0x0;const _0x167306=_0x4858de[_0xa63e61([0x73,0x70,0x6c,0x69,0x74])](_0xa63e61([0x2e]));return _0x2a2e5a[_0xa63e61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x186f18=>_0x186f18[_0xa63e61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa63e61([0x2a])))[_0xa63e61([0x6d,0x61,0x70])](_0x46dc01=>_0x46dc01[_0xa63e61([0x73,0x70,0x6c,0x69,0x74])](_0xa63e61([0x2e])))[_0xa63e61([0x73,0x6f,0x6d,0x65])](_0x5e46f8=>_0x167306[_0xa63e61([0x65,0x76,0x65,0x72,0x79])]((_0x15e010,_0x5643d0)=>_0x5e46f8[_0x5643d0]===_0x15e010||_0x5e46f8[_0x5643d0]===_0xa63e61([0x2a])));}function _0x595111(){return _0x17bd64&&_0xc2656?new window[(_0xa63e61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4750ae,_0x2897f0)=>{_0x17bd64[_0xa63e61([0x74,0x68,0x65,0x6e])](_0x4750ae,_0x2897f0),_0xc2656[_0xa63e61([0x74,0x68,0x65,0x6e])](_0x860fb2=>{_0x860fb2!=_0xa63e61([0x56,0x61,0x6c,0x69,0x64])&&_0x4750ae(_0x860fb2);},_0x2897f0);}):_0x17bd64||_0xc2656||_0xa63e61([0x56,0x61,0x6c,0x69,0x64]);}}function _0x318b5b(_0x5720a7,_0x37bdca){return new window[(_0xa63e61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c5604=>{if(_0x56e829())return _0x5c5604(_0xa63e61([0x56,0x61,0x6c,0x69,0x64]));_0x56b636(),_0x2a552e[_0xa63e61([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa63e61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13e19b=!0x1;const _0x20f084=_0x2721bf();function _0x8b9d52(_0x43df57){return!!_0x43df57&&(typeof _0x43df57===_0xa63e61([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43df57===_0xa63e61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43df57[_0xa63e61([0x74,0x68,0x65,0x6e])]===_0xa63e61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43df57[_0xa63e61([0x63,0x61,0x74,0x63,0x68])]===_0xa63e61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d2685(_0x5b93ec){_0xc78ae0(_0x5b93ec)[_0xa63e61([0x74,0x68,0x65,0x6e])](_0x2da9e1=>{if(!_0x2da9e1||_0x2da9e1[_0xa63e61([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa63e61([0x6f,0x6b]))return _0xa63e61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x50580e(_0x18bcd3(_0x20f084+_0x37bdca))!=_0x2da9e1[_0xa63e61([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa63e61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa63e61([0x56,0x61,0x6c,0x69,0x64]);})[_0xa63e61([0x74,0x68,0x65,0x6e])](_0x4c21a6=>(_0x503e44(),_0x4c21a6),()=>{const _0x647726=_0x3e5362();return null==_0x647726?(_0x503e44(),_0xa63e61([0x56,0x61,0x6c,0x69,0x64])):_0xa63e61(_0x18e7f8-_0x647726>(0x276ffe48^_0xe2ef66)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa63e61([0x74,0x68,0x65,0x6e])](_0x5c5604)[_0xa63e61([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c5604(_0xa63e61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a4800=0x35594c8^_0xe2ef66;function _0x503e44(){const _0xc0bf00=_0xa63e61([0x6c,0x6c,0x63,0x74,0x2d])+_0x50580e(_0x18bcd3(_0x5720a7)),_0x492909=_0x1a5cab(_0x50580e(window[_0xa63e61([0x4d,0x61,0x74,0x68])][_0xa63e61([0x63,0x65,0x69,0x6c])](_0x18e7f8/_0x5a4800)));window[_0xa63e61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa63e61([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc0bf00,_0x492909);}function _0x3e5362(){const _0x4749f9=_0xa63e61([0x6c,0x6c,0x63,0x74,0x2d])+_0x50580e(_0x18bcd3(_0x5720a7)),_0x58a8ba=window[_0xa63e61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa63e61([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4749f9);return _0x58a8ba?window[_0xa63e61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a5cab(_0x58a8ba),0x10)*_0x5a4800:null;}function _0xc78ae0(_0x5254bd){return new window[(_0xa63e61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ef1d9,_0x4e1390)=>{_0x5254bd[_0xa63e61([0x74,0x68,0x65,0x6e])](_0x2ef1d9,_0x4e1390),window[_0xa63e61([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e1390,0x362ae88^_0xe2ef66);});}}_0x2a552e[_0xa63e61([0x6f,0x6e])](_0xa63e61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57b4a2,_0x577736)=>{if(_0x577736[0x0]!=_0x5720a7)return _0x5c5604(_0xa63e61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x577736[0x1]={..._0x577736[0x1],[_0xa63e61([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20f084};},{[_0xa63e61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa63e61([0x68,0x69,0x67,0x68])}),_0x2a552e[_0xa63e61([0x6f,0x6e])](_0xa63e61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e6dd2=>{_0x8b9d52(_0x1e6dd2[_0xa63e61([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13e19b=!0x0,_0x4d2685(_0x1e6dd2[_0xa63e61([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa63e61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa63e61([0x6c,0x6f,0x77])}),_0x5e8ad0[_0xa63e61([0x74,0x68,0x65,0x6e])](()=>{_0x13e19b||_0x5c5604(_0xa63e61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56e829(){return _0x2a552e[_0xa63e61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa63e61([0x76,0x69,0x65,0x77])][_0xa63e61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa63e61([0x61,0x75,0x74,0x6f]);}function _0x56b636(){_0x2a552e[_0xa63e61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa63e61([0x76,0x69,0x65,0x77])][_0xa63e61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa63e61([0x61,0x75,0x74,0x6f]);}}function _0x2c4cac(_0x530c2f){const _0x5de10d=[new window[(_0xa63e61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf92b32=>setTimeout(_0xf92b32,0x36a4484^_0xe2ef66)),_0x5e8ad0[_0xa63e61([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa63e61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d65a4=>{let _0x452ccd=0x0;_0x2a552e[_0xa63e61([0x6d,0x6f,0x64,0x65,0x6c])][_0xa63e61([0x6f,0x6e])](_0xa63e61([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4248e7,_0x4b2cb2)=>{_0x4b2cb2[0x0][_0xa63e61([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x452ccd++,_0x452ccd==(0x3637bb0^_0xe2ef66)&&(_0x4d65a4(),_0x4248e7[_0xa63e61([0x6f,0x66,0x66])]());});}))];return window[_0xa63e61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa63e61([0x72,0x61,0x63,0x65])](_0x5de10d)[_0xa63e61([0x74,0x68,0x65,0x6e])](()=>_0x530c2f);}async function _0x14247a(){await _0x5e8ad0,_0x2a552e[_0xa63e61([0x6d,0x6f,0x64,0x65,0x6c])][_0xa63e61([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x549bc4,_0x2a552e[_0xa63e61([0x6d,0x6f,0x64,0x65,0x6c])][_0xa63e61([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x549bc4,_0x2a552e[_0xa63e61([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa63e61([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e500c(_0xab2e95){const _0x60c657=_0x24bff6();_0x2a552e[_0x60c657]=_0xa63e61([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xab2e95,_0xab2e95!=_0xa63e61([0x56,0x61,0x6c,0x69,0x64])&&_0x14247a();}function _0x24bff6(){const _0x4b42a0=window[_0xa63e61([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa63e61([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa63e61([0x6e,0x6f,0x77])]())[_0xa63e61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa63e61([0x2e]),'');let _0x6175e5=_0xa63e61([0x48]);for(let _0x28faef=0x0;_0x28faef<_0x4b42a0[_0xa63e61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28faef+=0x2){let _0x440cfa=window[_0xa63e61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b42a0[_0xa63e61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28faef,_0x28faef+0x2));_0x440cfa>=_0x259585[_0xa63e61([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x440cfa-=_0x259585[_0xa63e61([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6175e5+=_0x259585[_0x440cfa];}return _0x6175e5;}function _0x2e5134(){const _0x250e3a=_0x2f6060[_0xa63e61([0x73,0x70,0x6c,0x69,0x74])](_0xa63e61([0x2e]));if(0x3!=_0x250e3a[_0xa63e61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x64bdb1(_0x250e3a[0x1]);function _0x64bdb1(_0x401ecf){const _0x47a99b=_0x50db73(_0x401ecf);return _0x47a99b&&_0x27b5c7()?_0x47a99b:null;function _0x27b5c7(){const _0x2d4b6d=_0x47a99b[_0xa63e61([0x6a,0x74,0x69])],_0x59ef3e=window[_0xa63e61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d4b6d[_0xa63e61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d4b6d[_0xa63e61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ca9dc={..._0x47a99b,[_0xa63e61([0x6a,0x74,0x69])]:_0x2d4b6d[_0xa63e61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d4b6d[_0xa63e61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ca9dc[_0xa63e61([0x76,0x63])],_0x18bcd3(_0x1ca9dc)==_0x59ef3e;}}}async function _0x63cd67(){let _0x24d55e=!0x0;try{const _0x18fdb2=_0x2f6060[_0xa63e61([0x73,0x70,0x6c,0x69,0x74])](_0xa63e61([0x2e])),[_0x2cd8aa,_0x3bd236,_0x2bfb9e]=_0x18fdb2;return _0x584132(_0x2cd8aa),await _0x2124b7(_0x2cd8aa,_0x3bd236,_0x2bfb9e),_0x24d55e;}catch(_0x5e6ba8){return!0x1;}function _0x584132(_0x46eda9){const _0x43d047=_0x50db73(_0x46eda9);_0x43d047&&_0x43d047[_0xa63e61([0x61,0x6c,0x67])]==_0xa63e61([0x45,0x53,0x32,0x35,0x36])||(_0x24d55e=!0x1);}async function _0x2124b7(_0x105637,_0x25402d,_0x3f19cc){const _0x3d3bc0=window[_0xa63e61([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa63e61([0x66,0x72,0x6f,0x6d])](_0x3aaeb3(_0x3f19cc),_0x2dd9eb=>_0x2dd9eb[_0xa63e61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27793e=new window[(_0xa63e61([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa63e61([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x105637+_0xa63e61([0x2e])+_0x25402d),_0x4439ad=window[_0xa63e61([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa63e61([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4439ad)return;const _0xad3e59=await _0x4439ad[_0xa63e61([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa63e61([0x6a,0x77,0x6b]),_0x1e049b,{[_0xa63e61([0x6e,0x61,0x6d,0x65])]:_0xa63e61([0x45,0x43,0x44,0x53,0x41]),[_0xa63e61([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa63e61([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa63e61([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4439ad[_0xa63e61([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa63e61([0x6e,0x61,0x6d,0x65])]:_0xa63e61([0x45,0x43,0x44,0x53,0x41]),[_0xa63e61([0x68,0x61,0x73,0x68])]:{[_0xa63e61([0x6e,0x61,0x6d,0x65])]:_0xa63e61([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xad3e59,_0x3d3bc0,_0x27793e)||(_0x24d55e=!0x1);}}function _0x50db73(_0x4574ab){return _0x4574ab[_0xa63e61([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa63e61([0x65,0x79]))?JSON[_0xa63e61([0x70,0x61,0x72,0x73,0x65])](_0x3aaeb3(_0x4574ab)):null;}function _0x3aaeb3(_0xa660b5){return window[_0xa63e61([0x61,0x74,0x6f,0x62])](_0xa660b5[_0xa63e61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa63e61([0x2b]))[_0xa63e61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa63e61([0x2f])));}function _0x18bcd3(_0x59490f){let _0x4f2390=0x1505;function _0x131dd4(_0x2369fe){for(let _0x261e20=0x0;_0x261e20<_0x2369fe[_0xa63e61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x261e20++){const _0x4af6ae=_0x2369fe[_0xa63e61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x261e20);_0x4f2390=(_0x4f2390<<0x5)+_0x4f2390+_0x4af6ae,_0x4f2390&=_0x4f2390;}}function _0x57860d(_0x6645f2){Array[_0xa63e61([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6645f2)?_0x6645f2[_0xa63e61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57860d):_0x6645f2&&typeof _0x6645f2==_0xa63e61([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa63e61([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6645f2)[_0xa63e61([0x73,0x6f,0x72,0x74])]()[_0xa63e61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35ccb5,_0x4d4006])=>{_0x131dd4(_0x35ccb5),_0x57860d(_0x4d4006);}):_0x131dd4(window[_0xa63e61([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6645f2));}return _0x57860d(_0x59490f),_0x4f2390>>>0x0;}function _0x50580e(_0x5adc61){return _0x5adc61[_0xa63e61([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa63e61([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa63e61([0x30]));}function _0x1a5cab(_0x2193d4){return _0x2193d4[_0xa63e61([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa63e61([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa63e61([0x6a,0x6f,0x69,0x6e])]('');}function _0x549bc4(){}function _0xa63e61(_0x3d3673){const _0x476f5e=_0x3b0b;return _0x3d3673[_0x476f5e(0x1fd)](_0x2de21=>String[_0x476f5e(0x215)](_0x2de21))[_0x476f5e(0x21a)]('');}_0x5e500c(await _0x18d2bc());}(this);}[_0x443f23(0x223)](_0x34bb1b){const _0x1f346d=_0x443f23;this[_0x1f346d(0x217)][_0x1f346d(0x219)][_0x1f346d(0x229)][_0x1f346d(0x1ea)](_0x2ee11d=>{const _0xb1ab30=_0x1f346d;for(const _0x265bc6 of this[_0xb1ab30(0x217)][_0xb1ab30(0x219)][_0xb1ab30(0x229)][_0xb1ab30(0x1e5)][_0xb1ab30(0x1f5)])_0x34bb1b?_0x2ee11d[_0xb1ab30(0x207)](_0x4f05e9,_0x265bc6):_0x2ee11d[_0xb1ab30(0x227)](_0x4f05e9,_0x265bc6);});}[_0x443f23(0x1e7)](){const _0x51cce4=_0x443f23,{editor:_0x2aebae}=this;_0x2aebae[_0x51cce4(0x1e6)](_0x37dd80),_0x2aebae['ui'][_0x51cce4(0x1f3)][_0x51cce4(0x203)](_0x21cffe(_0x2aebae[_0x51cce4(0x1e9)],_0x51cce4(0x1ee)));}[_0x443f23(0x210)](){const _0x53e899=_0x443f23,{editor:_0x46844d}=this,_0x10c01b=_0x46844d[_0x53e899(0x1ed)][_0x53e899(0x221)](_0x37dd80)[_0x53e899(0x1f2)];_0x46844d[_0x53e899(0x1e6)](_0x309006,_0x10c01b),_0x46844d['ui'][_0x53e899(0x1f3)][_0x53e899(0x203)](_0x21cffe(_0x46844d[_0x53e899(0x1e9)],_0x53e899(0x209)));}[_0x443f23(0x1eb)](){const _0x15df22=_0x443f23;this[_0x15df22(0x217)][_0x15df22(0x1ed)][_0x15df22(0x221)](_0x37dd80)[_0x15df22(0x21c)](),this[_0x15df22(0x1fe)](_0x3bdea4[_0x15df22(0x206)][_0x15df22(0x1e5)],_0x15df22(0x1f8));}}
|