@ckeditor/ckeditor5-format-painter 45.0.0-alpha.3 → 45.0.0-alpha.4
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 M=i(l,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:M,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:()=>g,FormatPainter:()=>K,FormatPainterEditing:()=>N,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=e(782);function n(){const t=["3477173LSikDL","25bIDKVc","2020734mVGQjl","24DuTXqD","pasteFormat","28207476MiIjIf","ck-format-painter-active","2cUeNdf","14800730oyVpzF","copyFormat","3963285BqXFtK","4attdmU","606125MMrUxG","9611748FNVMVM"];return(n=function(){return t})()}const i=a;!function(t){const n=a,e=t();for(;;)try{if(892427===-parseInt(n(451))/1*(parseInt(n(446))/2)+parseInt(n(449))/3*(parseInt(n(450))/4)+parseInt(n(440))/5*(parseInt(n(441))/6)+-parseInt(n(439))/7*(parseInt(n(442))/8)+parseInt(n(438))/9+parseInt(n(447))/10+-parseInt(n(444))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(n);const o=i(448),s=i(443);function a(t,e){const r=n();return(a=function(t,n){return r[t-=438]})(t,e)}const c=i(445),u=I;function I(t,n){const e=f();return(I=function(t,n){return e[t-=236]})(t,n)}!function(t){const n=I,e=t();for(;;)try{if(307998===parseInt(n(264))/1*(parseInt(n(242))/2)+parseInt(n(244))/3+-parseInt(n(265))/4*(parseInt(n(249))/5)+-parseInt(n(252))/6*(parseInt(n(241))/7)+parseInt(n(261))/8*(parseInt(n(268))/9)+parseInt(n(240))/10*(-parseInt(n(255))/11)+parseInt(n(245))/12*(parseInt(n(238))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class g extends t.Command{constructor(t){const n=I;super(t),this[n(260)]=void 0,this.on(n(259),((t,e,r)=>{r||this[n(247)]()})),this.on(n(248),(()=>t[n(266)][n(246)](s)[n(257)]()))}[u(254)](){const t=u;this[t(260)]=this[t(263)]()}[u(247)](){this[u(260)]=void 0}[u(263)](){const t=u,n=this[t(253)][t(267)],e=n[t(256)][t(237)];return Object[t(236)](Array[t(250)](e[t(243)]())[t(262)]((([e])=>n[t(258)][t(239)](e)[t(251)])))}}function f(){const t=["isFormatting","6inRaMj","editor","execute","82962iGbhkN","document","refresh","schema","change:isEnabled","value","1456096RetDgY","filter","_getFormattingAttributes","13tmWUDn","687716coBuUa","commands","model","9jYfrJM","fromEntries","selection","221odkzdi","getAttributeProperties","50vltPfv","3274565KRaoVU","44158nDWAXB","getAttributes","938301ZlZJvK","143736bRMmLu","get","reset","change:value","5GpCZQe","from"];return(f=function(){return t})()}var l=e(584);const M=d;function d(t,n){const e=p();return(d=function(t,n){return e[t-=494]})(t,n)}function p(){const t=["5NzsFJy","_createRangeOnEntireWord","removeSelectionAttribute","createSelection","execute","14164EqFsZR","schema","document","309FnyaYl","_getFormattingAttributes","isFormatting","change","getItems","isBlock","model","12846NljnoW","backward","_getFormattingItems","word","getLastPosition","541888sadyRc","forward","getValidRanges","setAttribute","createRange","from","isCollapsed","selection","getAttributeProperties","createRangeOn","935330GALnOU","removeAttribute","getRanges","9771344hdVhDA","getAttributes","getSelectedBlocks","setSelection","1165077JiAGNG","getFirstPosition","434565iGEdWu","modifySelection","22pyNTFr","_removeFormatCommand","editor","2611dBzEoz"];return(p=function(){return t})()}!function(t){const n=d,e=t();for(;;)try{if(674953===-parseInt(n(510))/1+-parseInt(n(521))/2*(parseInt(n(524))/3)+parseInt(n(536))/4*(parseInt(n(516))/5)+parseInt(n(531))/6*(parseInt(n(515))/7)+parseInt(n(504))/8+-parseInt(n(508))/9+-parseInt(n(501))/10*(parseInt(n(512))/11))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(513)]=new m(t)}[M(520)](t={}){const n=M,e=this[n(514)][n(530)],r=e[n(523)][n(498)],i=Array[n(496)](r[n(503)]()),o=r[n(497)]?[this[n(517)](e,r)]:i;e[n(527)]((r=>{const s=n;r[s(507)](o),this[s(513)][s(520)]();for(const n in t)for(const i of e[s(522)][s(538)](o,n))r[s(494)](n,t[n],i);r[s(507)](i)}))}[M(517)](t,n){const e=M,r=t[e(519)](n);t[e(511)](r,{unit:e(534),direction:e(532)});const i=r[e(509)]();t[e(511)](r,{unit:e(534),direction:e(537)});const o=r[e(535)]();return t[e(495)](i,o)}}class m extends t.Command{[M(520)](){const t=M,n=this[t(514)][t(530)],e=n[t(522)];n[t(527)]((r=>{const i=t;for(const t of this[i(533)](n[i(523)][i(498)],e))if(t.is(i(498)))for(const n of this[i(525)](t,e))r[i(518)](n);else{const n=r[i(500)](t);for(const o of this[i(525)](t,e))r[i(502)](o,n)}}))}*[M(533)](t,n){const e=M,r=t=>!!(0,l.first)(this[e(525)](t,n));for(const i of t[e(503)]())for(const t of i[e(528)]())!n[e(529)](t)&&r(t)&&(yield t);for(const n of t[e(506)]())r(n)&&(yield n);r(t)&&(yield t)}*[M(525)](t,n){const e=M;for(const[r]of t[e(505)]()){const t=n[e(499)](r);t&&t[e(526)]&&(yield r)}}}function w(){const t=["15TiTFfc","622190EzLklK","24HtRJuq","licenseKey","get","editor","add","FormatPainter","7200832yEBqOS","trialLimit","pluginName","formatPainterLicenseKeyInvalid","1788415zbYYCT","commands","isOfficialPlugin","9Xsggce","destroy","formatPainterLicenseKeyNotAllowed","evaluationLimit","featureNotAllowed","formatPainterLicenseKeyExpired","formatPainterLicenseKeyDomainLimit","config","457648GsCkDl","_showLicenseError","407BknPSk","usageLimit","formatPainterLicenseKeyEvaluationLimit","formatPainterLicenseKeyUsageLimit","formatPainterLicenseKeyValid","7695216niPxUj","expired","110354tZmulI","_licenseKeyCheckInterval","init","domainLimit","invalid","FormatPainterEditing","isPremiumPlugin","765142oyfOgN","formatPainterLicenseKeyTrialLimit"];return(w=function(){return t})()}const D=h;function h(t,n){const e=w();return(h=function(t,n){return e[t-=397]})(t,n)}!function(t){const n=h,e=t();for(;;)try{if(951853===-parseInt(n(437))/1*(-parseInt(n(428))/2)+parseInt(n(411))/3*(-parseInt(n(419))/4)+parseInt(n(408))/5+-parseInt(n(398))/6*(parseInt(n(435))/7)+-parseInt(n(404))/8+-parseInt(n(426))/9+parseInt(n(397))/10*(parseInt(n(421))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class N extends t.Plugin{[D(399)];[D(429)];static get[D(406)](){return D(433)}static get[D(410)](){return!0}static get[D(434)](){return!0}[D(430)](){const t=D,n=this[t(401)];n[t(409)][t(402)](o,new g(n)),n[t(409)][t(402)](s,new A(n)),this[t(399)]=this[t(401)][t(418)][t(400)](t(399));const e=this[t(401)];this[t(429)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(425)==o||n(407)==o||n(416)==o||n(417)==o||n(413)==o||n(423)==o||n(436)==o||n(424)==o){delete e[i],r=o,clearInterval(this[n(429)]),this[n(429)]=void 0;break}}n(407)==r&&e[n(420)](n(432)),n(416)==r&&e[n(420)](n(427)),n(417)==r&&e[n(420)](n(431)),n(413)==r&&e[n(420)](n(415),n(403)),n(423)==r&&e[n(420)](n(414)),n(436)==r&&e[n(420)](n(405)),n(424)==r&&e[n(420)](n(422))}),1e3)}[D(412)](){const t=D;super[t(412)](),this[t(429)]&&clearInterval(this[t(429)])}}var y=e(311),S=e(783),x=e(355),j=e(673),C=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),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();C()(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 V(t,n){const e=Q();return(V=function(t,n){return e[t-=376]})(t,n)}function Q(){const t=["167120tzdBTl","_pasteFormatting","formatPainter","Copy text formatting","class","isOn","Paste text formatting","addObserver","accessibility","window","bind","_copyFormatting","set","Esc","FormatPainterUI","6285760ySrMzh","isEnabled","4506882kPUCar","mouseup","change","switchbutton","addKeystrokeInfos","2065668FMnQaq","Continuous painting","4844889mHbuTn","editor","change:isEnabled","_finishPainting","Pasted formatting.","view","editing","locale","keystrokes","menuitemcheckbox","Keeps the painter on after setting the formatting.","listenTo","map","removeClass","destroy","stopListening","isOfficialPlugin","Ctrl+Alt+V","document","2249680KBtIZQ","roots","5cwGVTi","buttonView","isPremiumPlugin","ariaLiveAnnouncer","pluginName","afterInit","add","menu","init","high","get","Ctrl+Alt+C","href","value","componentFactory","commands","focus","_toggleSpecialCursor","execute","Formatting copied.","join","11amUohJ","reset","ck-format-painter-dropdown","Paint formatting","fromCharCode","addClass","announce","change:value","27197424RhxMDc"];return(Q=function(){return t})()}!function(t){const n=V,e=t();for(;;)try{if(800723===-parseInt(n(402))/1*(-parseInt(n(411))/2)+-parseInt(n(428))/3+parseInt(n(426))/4*(-parseInt(n(381))/5)+parseInt(n(433))/6+-parseInt(n(435))/7+parseInt(n(379))/8+parseInt(n(410))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Q);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Z(385)](){return Z(425)}static get[Z(376)](){return!0}static get[Z(383)](){return!0}[Z(389)](){const t=Z,n=this[t(436)];n[t(441)][t(440)][t(418)](S.ClickObserver),n[t(419)][t(432)]({keystrokes:[{label:F(n[t(442)],t(414)),keystroke:t(392)},{label:F(n[t(442)],t(417)),keystroke:t(377)}]}),n.ui[t(395)][t(387)](t(413),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),s=n[r(396)][r(391)](o);i[r(382)][r(423)]({label:F(n[r(442)],r(405)),icon:x.IconPaintRoller,keystroke:r(392),tooltip:!0}),i[r(415)]=r(404),s&&(i[r(421)](r(427)).to(s,r(427)),this[r(446)](s,r(437),((t,n,e)=>{e||this[r(438)]()})),i[r(382)][r(421)](r(416)).to(s,r(394),(t=>!!t)),this[r(446)](n,r(449),(()=>this[r(398)](!1))),this[r(446)](s,r(409),((t,n,e)=>{this[r(398)](!!e)})));const a=new y.ViewModel({withText:!0,label:F(n[r(442)],r(434)),tooltip:F(n[r(442)],r(445)),isOn:!1,role:r(444)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(431),model:a}]),{role:r(388)});const c=()=>{const t=r;this[t(422)](),this[t(446)](l.global[t(420)][t(378)],t(429),(()=>{const n=t;this[n(412)](),a[n(416)]||this[n(438)]()}))};return this[r(446)](i,r(399),(()=>{const t=r;a[t(416)]=!a[t(416)]})),this[r(446)](i[r(382)],r(399),(()=>{const t=r;n[t(441)][t(440)][t(397)](),i[t(382)][t(416)]?this[t(438)]():c()})),n[r(443)][r(423)](r(392),((t,n)=>{const e=r;c(),a[e(416)]=!0,n()}),{priority:r(390)}),n[r(443)][r(423)](r(377),((t,n)=>{const e=r;i[e(382)][e(416)]&&(this[e(412)](),a[e(416)]||this[e(438)](),n())}),{priority:r(390)}),n[r(443)][r(423)](r(424),((t,n)=>{const e=r;i[e(382)][e(416)]&&(a[e(416)]=!1,this[e(438)](),n())})),i}))}[Z(386)](){!async function(t){const n=d([101,113,80,103,78,119,111,74,98,73,55,90,86,99,83,87,56,67,97,100,50,69,102,48,76,115,109,122,121,82,52,104,75,53,57,107,84,77,114,89,110,117,85,65,118,49,88,71,112,81,68,108,116,66,105,72,51,70,79,54,106,120]),e=window[d([68,97,116,101])][d([110,111,119])](),r=t[d([101,100,105,116,111,114])],i=new(window[d([80,114,111,109,105,115,101])])((t=>{r[d([111,110,99,101])](d([114,101,97,100,121]),t)})),o={[d([107,116,121])]:d([69,67]),[d([117,115,101])]:d([115,105,103]),[d([99,114,118])]:d([80,45,50,53,54]),[d([120])]:d([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]),[d([121])]:d([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]),[d([97,108,103])]:d([69,83,50,53,54])},s=r[d([99,111,110,102,105,103])][d([103,101,116])](d([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[d([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[d([116,104,101,110])]((()=>new(window[d([80,114,111,109,105,115,101])])((t=>{let n=0;r[d([109,111,100,101,108])][d([111,110])](d([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((e,r)=>{r[0][d([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[d([111,102,102])]())}))}))))];return window[d([80,114,111,109,105,115,101])][d([114,97,99,101])](n)[d([116,104,101,110])]((()=>t))}function c(t){return t[d([115,116,97,114,116,115,87,105,116,104])](d([101,121]))?JSON[d([112,97,114,115,101])](u(t)):null}function u(t){return window[d([97,116,111,98])](t[d([114,101,112,108,97,99,101])](/-/g,d([43]))[d([114,101,112,108,97,99,101])](/_/g,d([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[d([108,101,110,103,116,104])];e++){const r=t[d([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[d([105,115,65,114,114,97,121])](n)?n[d([102,111,114,69,97,99,104])](t):n&&typeof n==d([111,98,106,101,99,116])?Object[d([101,110,116,114,105,101,115])](n)[d([115,111,114,116])]()[d([102,111,114,69,97,99,104])]((([n,r])=>{e(n),t(r)})):e(window[d([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[d([116,111,83,116,114,105,110,103])](16)[d([112,97,100,83,116,97,114,116])](8,d([48]))}function f(t){return t[d([115,112,108,105,116])]("")[d([114,101,118,101,114,115,101])]()[d([106,111,105,110])]("")}function M(){}function d(t){const n=V;return t[n(447)]((t=>String[n(406)](t)))[n(401)]("")}!function(t){const e=function(){const t=window[d([83,116,114,105,110,103])](window[d([112,101,114,102,111,114,109,97,110,99,101])][d([110,111,119])]())[d([114,101,112,108,97,99,101])](d([46]),"");let e=d([101]);for(let r=0;r<t[d([108,101,110,103,116,104])];r+=2){let i=window[d([112,97,114,115,101,73,110,116])](t[d([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[d([108,101,110,103,116,104])]&&(i-=n[d([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=d([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!=d([86,97,108,105,100])&&async function(){await i,r[d([109,111,100,101,108])][d([99,104,97,110,103,101])]=M,r[d([109,111,100,101,108])][d([101,110,113,117,101,117,101,67,104,97,110,103,101])]=M,r[d([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](d([109,111,100,101,108]))}()}(await async function(){let t,n=null,M=null;try{return s==d([71,80,76])?d([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[d([115,112,108,105,116])](d([46]));return 3!=t[d([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[d([106,116,105])],e=window[d([112,97,114,115,101,73,110,116])](t[d([115,117,98,115,116,114,105,110,103])](t[d([108,101,110,103,116,104])]-8),16),r={...n,[d([106,116,105])]:t[d([115,117,98,115,116,114,105,110,103])](0,t[d([108,101,110,103,116,104])]-8)};return delete r[d([118,99])],I(r)==e}}}(),t?(t[d([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(M=function(t,n){return new(window[d([80,114,111,109,105,115,101])])((a=>{if(o())return a(d([86,97,108,105,100]));s(),r[d([100,101,99,111,114,97,116,101])](d([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 M(t){return!!t&&(typeof t===d([111,98,106,101,99,116])||typeof t===d([102,117,110,99,116,105,111,110]))&&typeof t[d([116,104,101,110])]===d([102,117,110,99,116,105,111,110])&&typeof t[d([99,97,116,99,104])]===d([102,117,110,99,116,105,111,110])}function p(r){c(r)[d([116,104,101,110])]((t=>t&&t[d([115,116,97,116,117,115])]==d([111,107])?g(I(u+n))!=t[d([118,101,114,105,102,105,99,97,116,105,111,110])]?d([85,115,97,103,101,76,105,109,105,116]):d([86,97,108,105,100]):d([85,115,97,103,101,76,105,109,105,116])))[d([116,104,101,110])]((t=>(o(),t)),(()=>{const t=s();return null==t?(o(),d([86,97,108,105,100])):d(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[d([116,104,101,110])](a)[d([99,97,116,99,104])]((()=>{a(d([85,115,97,103,101,76,105,109,105,116]))}));const i=36e5;function o(){const n=d([108,108,99,116,45])+g(I(t)),r=f(g(window[d([77,97,116,104])][d([99,101,105,108])](e/i)));window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([115,101,116,73,116,101,109])](n,r)}function s(){const n=d([108,108,99,116,45])+g(I(t)),e=window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([103,101,116,73,116,101,109])](n);return e?window[d([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[d([80,114,111,109,105,115,101])])(((n,e)=>{t[d([116,104,101,110])](n,e),window[d([115,101,116,84,105,109,101,111,117,116])](e,12e4)}))}}r[d([111,110])](d([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(d([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[d([114,101,113,117,101,115,116,73,100])]:u}}),{[d([112,114,105,111,114,105,116,121])]:d([104,105,103,104])}),r[d([111,110])](d([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{M(t[d([114,101,116,117,114,110])])&&(c=!0,p(t[d([114,101,116,117,114,110])]))}),{[d([112,114,105,111,114,105,116,121])]:d([108,111,119])}),i[d([116,104,101,110])]((()=>{c||a(d([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){return r[d([101,100,105,116,105,110,103])][d([118,105,101,119])][d([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==d([97,117,116,111])}function s(){r[d([101,100,105,116,105,110,103])][d([118,105,101,119])][d([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=d([97,117,116,111])}}(t[d([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[d([106,116,105])])),await async function(){let t=!0;try{const r=s[d([115,112,108,105,116])](d([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[d([97,108,103])]==d([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[d([85,105,110,116,56,65,114,114,97,121])][d([102,114,111,109])](u(r),(t=>t[d([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[d([84,101,120,116,69,110,99,111,100,101,114])]))[d([101,110,99,111,100,101])](n+d([46])+e),a=window[d([99,114,121,112,116,111])][d([115,117,98,116,108,101])];if(!a)return;const c=await a[d([105,109,112,111,114,116,75,101,121])](d([106,119,107]),o,{[d([110,97,109,101])]:d([69,67,68,83,65]),[d([110,97,109,101,100,67,117,114,118,101])]:d([80,45,50,53,54])},!1,[d([118,101,114,105,102,121])]);await a[d([118,101,114,105,102,121])]({[d([110,97,109,101])]:d([69,67,68,83,65]),[d([104,97,115,104])]:{[d([110,97,109,101])]:d([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[d([102,101,97,116,117,114,101,115])];return!(!n||!n[d([105,110,99,108,117,100,101,115])](d([42]))&&!n[d([105,110,99,108,117,100,101,115])](d([70,80]))&&!n[d([105,110,99,108,117,100,101,115])](d([80,80])))}()?function(){const n=[d([101,118,97,108,117,97,116,105,111,110]),d([116,114,105,97,108])][d([105,110,99,108,117,100,101,115])](t[d([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1743206400;return t[d([101,120,112])]<n}()?d([69,120,112,105,114,101,100]):function(){const n=V,e=t[d([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[d([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[d([108,111,99,97,116,105,111,110])][n(393)]);if(e[d([105,110,99,108,117,100,101,115])](r))return!0;const i=r[d([115,112,108,105,116])](d([46]));return e[d([102,105,108,116,101,114])]((t=>t[d([105,110,99,108,117,100,101,115])](d([42]))))[d([109,97,112])]((t=>t[d([115,112,108,105,116])](d([46]))))[d([115,111,109,101])]((t=>i[d([101,118,101,114,121])](((n,e)=>t[e]===n||t[e]===d([42])))))}()?(t[d([108,105,99,101,110,115,101,84,121,112,101])]==d([101,118,97,108,117,97,116,105,111,110])&&(n=a(d([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[d([108,105,99,101,110,115,101,84,121,112,101])]==d([116,114,105,97,108])&&(n=a(d([84,114,105,97,108,76,105,109,105,116]))),await(n&&M?new(window[d([80,114,111,109,105,115,101])])(((t,e)=>{n[d([116,104,101,110])](t,e),M[d([116,104,101,110])]((n=>{n!=d([86,97,108,105,100])&&t(n)}),e)})):n||M||d([86,97,108,105,100]))):d([68,111,109,97,105,110,76,105,109,105,116]):d([78,111,116,65,108,108,111,119,101,100]):d([73,110,118,97,108,105,100])):d([73,110,118,97,108,105,100]))}catch(t){return d([73,110,118,97,108,105,100])}}())}(this)}[Z(398)](t){const n=Z;this[n(436)][n(441)][n(440)][n(430)]((e=>{const r=n;for(const n of this[r(436)][r(441)][r(440)][r(378)][r(380)])t?e[r(407)](c,n):e[r(448)](c,n)}))}[Z(422)](){const t=Z,{editor:n}=this;n[t(399)](o),n.ui[t(384)][t(408)](F(n[t(442)],t(400)))}[Z(412)](){const t=Z,{editor:n}=this,e=n[t(396)][t(391)](o)[t(394)];n[t(399)](s,e),n.ui[t(384)][t(408)](F(n[t(442)],t(439)))}[Z(438)](){const t=Z;this[t(436)][t(396)][t(391)](o)[t(403)](),this[t(450)](l.global[t(420)][t(378)],t(429))}}var G=R;function O(){var t=["pluginName","2088696ZxdgPK","4hduIRV","isPremiumPlugin","5524330ujwhIJ","2751DIjDER","requires","isOfficialPlugin","1305860mSWEJo","795287OpMMcV","29112NzYonZ","3746036ZaLnzt","6DefsPb","FormatPainter","27PlXtmH","4866477bOslbt"];return(O=function(){return t})()}function R(t,n){var e=O();return(R=function(t,n){return e[t-=465]})(t,n)}!function(t){for(var n=R,e=t();;)try{if(972918===parseInt(n(471))/1*(-parseInt(n(480))/2)+parseInt(n(479))/3+parseInt(n(473))/4+-parseInt(n(470))/5*(-parseInt(n(474))/6)+-parseInt(n(467))/7*(parseInt(n(472))/8)+-parseInt(n(476))/9*(-parseInt(n(466))/10)+parseInt(n(477))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(O);class K extends t.Plugin{static get[G(468)](){return[N,_]}static get[G(478)](){return G(475)}static get[G(469)](){return!0}static get[G(465)](){return!0}}function W(t,n){var e=B();return(W=function(t,n){return e[t-=137]})(t,n)}function B(){var t=["5399824ieNJxV","516toZTDq","3128990BaxdVn","8691eNXeeH","1019732wAtZBK","208780XlcNLL","3993705CupJXV","5htWtbB","1721034DDwbkc","7TdqvUj"];return(B=function(){return t})()}!function(t){for(var n=W,e=t();;)try{if(469626===-parseInt(n(138))/1+parseInt(n(137))/2+parseInt(n(146))/3*(parseInt(n(144))/4)+-parseInt(n(140))/5*(parseInt(n(141))/6)+parseInt(n(142))/7*(-parseInt(n(143))/8)+parseInt(n(139))/9+parseInt(n(145))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(B)})(),(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:()=>g,FormatPainter:()=>W,FormatPainterEditing:()=>N,FormatPainterUI:()=>Q,PasteFormatCommand:()=>A});var t=e(782);function n(){const t=["3477173LSikDL","25bIDKVc","2020734mVGQjl","24DuTXqD","pasteFormat","28207476MiIjIf","ck-format-painter-active","2cUeNdf","14800730oyVpzF","copyFormat","3963285BqXFtK","4attdmU","606125MMrUxG","9611748FNVMVM"];return(n=function(){return t})()}const i=a;!function(t){const n=a,e=t();for(;;)try{if(892427===-parseInt(n(451))/1*(parseInt(n(446))/2)+parseInt(n(449))/3*(parseInt(n(450))/4)+parseInt(n(440))/5*(parseInt(n(441))/6)+-parseInt(n(439))/7*(parseInt(n(442))/8)+parseInt(n(438))/9+parseInt(n(447))/10+-parseInt(n(444))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(n);const o=i(448),s=i(443);function a(t,e){const r=n();return(a=function(t,n){return r[t-=438]})(t,e)}const c=i(445),u=I;function I(t,n){const e=f();return(I=function(t,n){return e[t-=236]})(t,n)}!function(t){const n=I,e=t();for(;;)try{if(307998===parseInt(n(264))/1*(parseInt(n(242))/2)+parseInt(n(244))/3+-parseInt(n(265))/4*(parseInt(n(249))/5)+-parseInt(n(252))/6*(parseInt(n(241))/7)+parseInt(n(261))/8*(parseInt(n(268))/9)+parseInt(n(240))/10*(-parseInt(n(255))/11)+parseInt(n(245))/12*(parseInt(n(238))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class g extends t.Command{constructor(t){const n=I;super(t),this[n(260)]=void 0,this.on(n(259),((t,e,r)=>{r||this[n(247)]()})),this.on(n(248),(()=>t[n(266)][n(246)](s)[n(257)]()))}[u(254)](){const t=u;this[t(260)]=this[t(263)]()}[u(247)](){this[u(260)]=void 0}[u(263)](){const t=u,n=this[t(253)][t(267)],e=n[t(256)][t(237)];return Object[t(236)](Array[t(250)](e[t(243)]())[t(262)]((([e])=>n[t(258)][t(239)](e)[t(251)])))}}function f(){const t=["isFormatting","6inRaMj","editor","execute","82962iGbhkN","document","refresh","schema","change:isEnabled","value","1456096RetDgY","filter","_getFormattingAttributes","13tmWUDn","687716coBuUa","commands","model","9jYfrJM","fromEntries","selection","221odkzdi","getAttributeProperties","50vltPfv","3274565KRaoVU","44158nDWAXB","getAttributes","938301ZlZJvK","143736bRMmLu","get","reset","change:value","5GpCZQe","from"];return(f=function(){return t})()}var l=e(584);const d=M;function M(t,n){const e=p();return(M=function(t,n){return e[t-=494]})(t,n)}function p(){const t=["5NzsFJy","_createRangeOnEntireWord","removeSelectionAttribute","createSelection","execute","14164EqFsZR","schema","document","309FnyaYl","_getFormattingAttributes","isFormatting","change","getItems","isBlock","model","12846NljnoW","backward","_getFormattingItems","word","getLastPosition","541888sadyRc","forward","getValidRanges","setAttribute","createRange","from","isCollapsed","selection","getAttributeProperties","createRangeOn","935330GALnOU","removeAttribute","getRanges","9771344hdVhDA","getAttributes","getSelectedBlocks","setSelection","1165077JiAGNG","getFirstPosition","434565iGEdWu","modifySelection","22pyNTFr","_removeFormatCommand","editor","2611dBzEoz"];return(p=function(){return t})()}!function(t){const n=M,e=t();for(;;)try{if(674953===-parseInt(n(510))/1+-parseInt(n(521))/2*(parseInt(n(524))/3)+parseInt(n(536))/4*(parseInt(n(516))/5)+parseInt(n(531))/6*(parseInt(n(515))/7)+parseInt(n(504))/8+-parseInt(n(508))/9+-parseInt(n(501))/10*(parseInt(n(512))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p);class A extends t.Command{constructor(t){const n=M;super(t),this[n(513)]=new m(t)}[d(520)](t={}){const n=d,e=this[n(514)][n(530)],r=e[n(523)][n(498)],i=Array[n(496)](r[n(503)]()),o=r[n(497)]?[this[n(517)](e,r)]:i;e[n(527)]((r=>{const s=n;r[s(507)](o),this[s(513)][s(520)]();for(const n in t)for(const i of e[s(522)][s(538)](o,n))r[s(494)](n,t[n],i);r[s(507)](i)}))}[d(517)](t,n){const e=d,r=t[e(519)](n);t[e(511)](r,{unit:e(534),direction:e(532)});const i=r[e(509)]();t[e(511)](r,{unit:e(534),direction:e(537)});const o=r[e(535)]();return t[e(495)](i,o)}}class m extends t.Command{[d(520)](){const t=d,n=this[t(514)][t(530)],e=n[t(522)];n[t(527)]((r=>{const i=t;for(const t of this[i(533)](n[i(523)][i(498)],e))if(t.is(i(498)))for(const n of this[i(525)](t,e))r[i(518)](n);else{const n=r[i(500)](t);for(const o of this[i(525)](t,e))r[i(502)](o,n)}}))}*[d(533)](t,n){const e=d,r=t=>!!(0,l.first)(this[e(525)](t,n));for(const i of t[e(503)]())for(const t of i[e(528)]())!n[e(529)](t)&&r(t)&&(yield t);for(const n of t[e(506)]())r(n)&&(yield n);r(t)&&(yield t)}*[d(525)](t,n){const e=d;for(const[r]of t[e(505)]()){const t=n[e(499)](r);t&&t[e(526)]&&(yield r)}}}function w(){const t=["15TiTFfc","622190EzLklK","24HtRJuq","licenseKey","get","editor","add","FormatPainter","7200832yEBqOS","trialLimit","pluginName","formatPainterLicenseKeyInvalid","1788415zbYYCT","commands","isOfficialPlugin","9Xsggce","destroy","formatPainterLicenseKeyNotAllowed","evaluationLimit","featureNotAllowed","formatPainterLicenseKeyExpired","formatPainterLicenseKeyDomainLimit","config","457648GsCkDl","_showLicenseError","407BknPSk","usageLimit","formatPainterLicenseKeyEvaluationLimit","formatPainterLicenseKeyUsageLimit","formatPainterLicenseKeyValid","7695216niPxUj","expired","110354tZmulI","_licenseKeyCheckInterval","init","domainLimit","invalid","FormatPainterEditing","isPremiumPlugin","765142oyfOgN","formatPainterLicenseKeyTrialLimit"];return(w=function(){return t})()}const D=h;function h(t,n){const e=w();return(h=function(t,n){return e[t-=397]})(t,n)}!function(t){const n=h,e=t();for(;;)try{if(951853===-parseInt(n(437))/1*(-parseInt(n(428))/2)+parseInt(n(411))/3*(-parseInt(n(419))/4)+parseInt(n(408))/5+-parseInt(n(398))/6*(parseInt(n(435))/7)+-parseInt(n(404))/8+-parseInt(n(426))/9+parseInt(n(397))/10*(parseInt(n(421))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class N extends t.Plugin{[D(399)];[D(429)];static get[D(406)](){return D(433)}static get[D(410)](){return!0}static get[D(434)](){return!0}[D(430)](){const t=D,n=this[t(401)];n[t(409)][t(402)](o,new g(n)),n[t(409)][t(402)](s,new A(n)),this[t(399)]=this[t(401)][t(418)][t(400)](t(399));const e=this[t(401)];this[t(429)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(425)==o||n(407)==o||n(416)==o||n(417)==o||n(413)==o||n(423)==o||n(436)==o||n(424)==o){delete e[i],r=o,clearInterval(this[n(429)]),this[n(429)]=void 0;break}}n(407)==r&&e[n(420)](n(432)),n(416)==r&&e[n(420)](n(427)),n(417)==r&&e[n(420)](n(431)),n(413)==r&&e[n(420)](n(415),n(403)),n(423)==r&&e[n(420)](n(414)),n(436)==r&&e[n(420)](n(405)),n(424)==r&&e[n(420)](n(422))}),1e3)}[D(412)](){const t=D;super[t(412)](),this[t(429)]&&clearInterval(this[t(429)])}}var y=e(311),S=e(783),j=e(355),x=e(673),C=e.n(x),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),k=e.n(T),P=e(357),U=e.n(P),z=e(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=k(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();C()(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}}function Z(t,n){const e=_();return(Z=function(t,n){return e[t-=191]})(t,n)}const V=Z;function _(){const t=["high","6946415jXEOlT","isOn","reset","afterInit","2107yepSUR","_pasteFormatting","announce","removeClass","ariaLiveAnnouncer","8249290gWLdlL","formatPainter","Continuous painting","execute","isEnabled","117945TWSFFv","init","menuitemcheckbox","window","mouseup","pluginName","590253wMdsJw","isOfficialPlugin","bind","Ctrl+Alt+C","map","isPremiumPlugin","accessibility","_toggleSpecialCursor","5956788wRAJSM","Esc","join","view","commands","focus","Pasted formatting.","value","FormatPainterUI","ck-format-painter-dropdown","12qtcBGA","set","28344VkVtWY","get","menu","Paint formatting","Paste text formatting","488bYmska","document","class","addObserver","add","Ctrl+Alt+V","2104unZImV","href","roots","destroy","locale","Formatting copied.","change:isEnabled","Copy text formatting","keystrokes","listenTo","componentFactory","_finishPainting","change:value","editing","_copyFormatting","switchbutton","fromCharCode","addKeystrokeInfos","buttonView","editor","change","addClass","Keeps the painter on after setting the formatting.","stopListening"];return(_=function(){return t})()}!function(t){const n=Z,e=t();for(;;)try{if(761489===-parseInt(n(205))/1+-parseInt(n(236))/2*(-parseInt(n(223))/3)+-parseInt(n(213))/4+parseInt(n(261))/5+-parseInt(n(225))/6*(-parseInt(n(265))/7)+parseInt(n(230))/8*(-parseInt(n(199))/9)+parseInt(n(194))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(_);class Q extends((0,l.DomEmitterMixin)(t.Plugin)){static get[V(204)](){return V(221)}static get[V(206)](){return!0}static get[V(210)](){return!0}[V(200)](){const t=V,n=this[t(255)];n[t(249)][t(216)][t(233)](S.ClickObserver),n[t(211)][t(253)]({keystrokes:[{label:F(n[t(240)],t(243)),keystroke:t(208)},{label:F(n[t(240)],t(229)),keystroke:t(235)}]}),n.ui[t(246)][t(234)](t(195),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),s=n[r(217)][r(226)](o);i[r(254)][r(224)]({label:F(n[r(240)],r(228)),icon:j.IconPaintRoller,keystroke:r(208),tooltip:!0}),i[r(232)]=r(222),s&&(i[r(207)](r(198)).to(s,r(198)),this[r(245)](s,r(242),((t,n,e)=>{e||this[r(247)]()})),i[r(254)][r(207)](r(262)).to(s,r(220),(t=>!!t)),this[r(245)](n,r(239),(()=>this[r(212)](!1))),this[r(245)](s,r(248),((t,n,e)=>{this[r(212)](!!e)})));const a=new y.ViewModel({withText:!0,label:F(n[r(240)],r(196)),tooltip:F(n[r(240)],r(258)),isOn:!1,role:r(201)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(251),model:a}]),{role:r(227)});const c=()=>{const t=r;this[t(250)](),this[t(245)](l.global[t(202)][t(231)],t(203),(()=>{const n=t;this[n(266)](),a[n(262)]||this[n(247)]()}))};return this[r(245)](i,r(197),(()=>{const t=r;a[t(262)]=!a[t(262)]})),this[r(245)](i[r(254)],r(197),(()=>{const t=r;n[t(249)][t(216)][t(218)](),i[t(254)][t(262)]?this[t(247)]():c()})),n[r(244)][r(224)](r(208),((t,n)=>{const e=r;c(),a[e(262)]=!0,n()}),{priority:r(260)}),n[r(244)][r(224)](r(235),((t,n)=>{const e=r;i[e(254)][e(262)]&&(this[e(266)](),a[e(262)]||this[e(247)](),n())}),{priority:r(260)}),n[r(244)][r(224)](r(214),((t,n)=>{const e=r;i[e(254)][e(262)]&&(a[e(262)]=!1,this[e(247)](),n())})),i}))}[V(264)](){!async function(t){const n=M([112,116,122,115,68,104,111,54,108,89,71,52,102,55,57,79,85,56,84,51,109,78,105,65,80,100,82,117,99,121,73,106,48,49,101,72,81,98,114,74,87,97,107,69,66,67,53,110,50,77,113,88,118,120,103,83,119,75,90,86,70,76]),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(209)]((t=>String[n(252)](t)))[n(215)]("")}!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([112]);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:1743292800;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(237)]);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)}[V(212)](t){const n=V;this[n(255)][n(249)][n(216)][n(256)]((e=>{const r=n;for(const n of this[r(255)][r(249)][r(216)][r(231)][r(238)])t?e[r(257)](c,n):e[r(192)](c,n)}))}[V(250)](){const t=V,{editor:n}=this;n[t(197)](o),n.ui[t(193)][t(191)](F(n[t(240)],t(241)))}[V(266)](){const t=V,{editor:n}=this,e=n[t(217)][t(226)](o)[t(220)];n[t(197)](s,e),n.ui[t(193)][t(191)](F(n[t(240)],t(219)))}[V(247)](){const t=V;this[t(255)][t(217)][t(226)](o)[t(263)](),this[t(259)](l.global[t(202)][t(231)],t(203))}}var G=R;function O(){var t=["pluginName","2088696ZxdgPK","4hduIRV","isPremiumPlugin","5524330ujwhIJ","2751DIjDER","requires","isOfficialPlugin","1305860mSWEJo","795287OpMMcV","29112NzYonZ","3746036ZaLnzt","6DefsPb","FormatPainter","27PlXtmH","4866477bOslbt"];return(O=function(){return t})()}function R(t,n){var e=O();return(R=function(t,n){return e[t-=465]})(t,n)}!function(t){for(var n=R,e=t();;)try{if(972918===parseInt(n(471))/1*(-parseInt(n(480))/2)+parseInt(n(479))/3+parseInt(n(473))/4+-parseInt(n(470))/5*(-parseInt(n(474))/6)+-parseInt(n(467))/7*(parseInt(n(472))/8)+-parseInt(n(476))/9*(-parseInt(n(466))/10)+parseInt(n(477))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(O);class W extends t.Plugin{static get[G(468)](){return[N,Q]}static get[G(478)](){return G(475)}static get[G(469)](){return!0}static get[G(465)](){return!0}}function K(t,n){var e=B();return(K=function(t,n){return e[t-=137]})(t,n)}function B(){var t=["5399824ieNJxV","516toZTDq","3128990BaxdVn","8691eNXeeH","1019732wAtZBK","208780XlcNLL","3993705CupJXV","5htWtbB","1721034DDwbkc","7TdqvUj"];return(B=function(){return t})()}!function(t){for(var n=K,e=t();;)try{if(469626===-parseInt(n(138))/1+parseInt(n(137))/2+parseInt(n(146))/3*(parseInt(n(144))/4)+-parseInt(n(140))/5*(parseInt(n(141))/6)+parseInt(n(142))/7*(-parseInt(n(143))/8)+parseInt(n(139))/9+parseInt(n(145))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0x38dca5(_0x13847c){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x27162c=this['editor'];_0x27162c['editing']['view']['addObserver'](_0x299701),_0x27162c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x27162c['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x27162c['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x27162c['ui']['componentFactory']['add']('formatPainter',_0x516eb1=>{const _0x31dd7b=_0xee308a(_0x516eb1,_0x2eddf2),_0x53fea7=_0x27162c['commands']['get'](c);_0x31dd7b['buttonView']['set']({'label':b(_0x27162c['locale'],'Paint\x20formatting'),'icon':_0x19b5a6,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x31dd7b['class']='ck-format-painter-dropdown',_0x53fea7&&(_0x31dd7b['bind']('isEnabled')['to'](_0x53fea7,'isEnabled'),this['listenTo'](_0x53fea7,'change:isEnabled',(_0x4de18e,_0x58314e,_0x33ed47)=>{_0x33ed47||this['_finishPainting']();}),_0x31dd7b['buttonView']['bind']('isOn')['to'](_0x53fea7,'value',_0x547097=>!!_0x547097),this['listenTo'](_0x27162c,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x53fea7,'change:value',(_0xd9580c,_0x5b202d,_0x3455ff)=>{this['_toggleSpecialCursor'](!!_0x3455ff);}));const _0x5238a4=new _0x38205f({'withText':!0x0,'label':b(_0x27162c['locale'],'Continuous\x20painting'),'tooltip':b(_0x27162c['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x4f8af7(_0x31dd7b,new _0x141020([{'type':'switchbutton','model':_0x5238a4}]),{'role':'menu'});const _0x48af03=()=>{this['_copyFormatting'](),this['listenTo'](_0x519fd3['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x5238a4['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x31dd7b,'execute',()=>{_0x5238a4['isOn']=!_0x5238a4['isOn'];}),this['listenTo'](_0x31dd7b['buttonView'],'execute',()=>{_0x27162c['editing']['view']['focus'](),_0x31dd7b['buttonView']['isOn']?this['_finishPainting']():_0x48af03();}),_0x27162c['keystrokes']['set']('Ctrl+Alt+C',(_0x52504a,_0x172070)=>{_0x48af03(),_0x5238a4['isOn']=!0x0,_0x172070();},{'priority':'high'}),_0x27162c['keystrokes']['set']('Ctrl+Alt+V',(_0x3ff209,_0x5293bd)=>{_0x31dd7b['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x5238a4['isOn']||this['_finishPainting'](),_0x5293bd());},{'priority':'high'}),_0x27162c['keystrokes']['set']('Esc',(_0x580ea2,_0x5a85f4)=>{_0x31dd7b['buttonView']['isOn']&&(_0x5238a4['isOn']=!0x1,this['_finishPainting'](),_0x5a85f4());}),_0x31dd7b;});}['afterInit'](){!async function(_0x5e1067){const _0x2916ff=_0x3b3123([0x65,0x71,0x50,0x67,0x4e,0x77,0x6f,0x4a,0x62,0x49,0x37,0x5a,0x56,0x63,0x53,0x57,0x38,0x43,0x61,0x64,0x32,0x45,0x66,0x30,0x4c,0x73,0x6d,0x7a,0x79,0x52,0x34,0x68,0x4b,0x35,0x39,0x6b,0x54,0x4d,0x72,0x59,0x6e,0x75,0x55,0x41,0x76,0x31,0x58,0x47,0x70,0x51,0x44,0x6c,0x74,0x42,0x69,0x48,0x33,0x46,0x4f,0x36,0x6a,0x78]),_0x493b4c=0x3c3e239d,_0x51fb14=0x3c39401d^_0x493b4c,_0x1f36b4=window[_0x3b3123([0x44,0x61,0x74,0x65])][_0x3b3123([0x6e,0x6f,0x77])](),_0x50e8e9=_0x5e1067[_0x3b3123([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x398524=new window[(_0x3b3123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x490946=>{_0x50e8e9[_0x3b3123([0x6f,0x6e,0x63,0x65])](_0x3b3123([0x72,0x65,0x61,0x64,0x79]),_0x490946);}),_0x3f2b81={[_0x3b3123([0x6b,0x74,0x79])]:_0x3b3123([0x45,0x43]),[_0x3b3123([0x75,0x73,0x65])]:_0x3b3123([0x73,0x69,0x67]),[_0x3b3123([0x63,0x72,0x76])]:_0x3b3123([0x50,0x2d,0x32,0x35,0x36]),[_0x3b3123([0x78])]:_0x3b3123([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]),[_0x3b3123([0x79])]:_0x3b3123([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]),[_0x3b3123([0x61,0x6c,0x67])]:_0x3b3123([0x45,0x53,0x32,0x35,0x36])},_0x4d8d7b=_0x50e8e9[_0x3b3123([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b3123([0x67,0x65,0x74])](_0x3b3123([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x406c01(){let _0x2a86a7,_0x565f0e=null,_0x1bb47b=null;try{if(_0x4d8d7b==_0x3b3123([0x47,0x50,0x4c]))return _0x3b3123([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a86a7=_0x30359b(),!_0x2a86a7)return _0x3b3123([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a86a7[_0x3b3123([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bb47b=_0x8b3a97(_0x2a86a7[_0x3b3123([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a86a7[_0x3b3123([0x6a,0x74,0x69])])),await _0x1ec13c()?_0x5e3785()?_0x56ad22()?_0x3b3123([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ecf8a()?(_0x2a86a7[_0x3b3123([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b3123([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x565f0e=_0x1f9fe6(_0x3b3123([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a86a7[_0x3b3123([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b3123([0x74,0x72,0x69,0x61,0x6c])&&(_0x565f0e=_0x1f9fe6(_0x3b3123([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x31b006()):_0x3b3123([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b3123([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b3123([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3195f9){return _0x3b3123([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56ad22(){const _0x2da309=[_0x3b3123([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b3123([0x74,0x72,0x69,0x61,0x6c])][_0x3b3123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a86a7[_0x3b3123([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f36b4/0x3e8:0xe10*_0x51fb14;return _0x2a86a7[_0x3b3123([0x65,0x78,0x70])]<_0x2da309;}function _0x5e3785(){const _0x45c843=_0x2a86a7[_0x3b3123([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x45c843&&(!!_0x45c843[_0x3b3123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b3123([0x2a]))||(!!_0x45c843[_0x3b3123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b3123([0x46,0x50]))||!!_0x45c843[_0x3b3123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b3123([0x50,0x50]))));}function _0x3ecf8a(){const _0x513999=_0x2a86a7[_0x3b3123([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x513999||0x0==_0x513999[_0x3b3123([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e4ce1}=new URL(window[_0x3b3123([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x513999[_0x3b3123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e4ce1))return!0x0;const _0x5da95d=_0x4e4ce1[_0x3b3123([0x73,0x70,0x6c,0x69,0x74])](_0x3b3123([0x2e]));return _0x513999[_0x3b3123([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x304249=>_0x304249[_0x3b3123([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b3123([0x2a])))[_0x3b3123([0x6d,0x61,0x70])](_0x4e41f5=>_0x4e41f5[_0x3b3123([0x73,0x70,0x6c,0x69,0x74])](_0x3b3123([0x2e])))[_0x3b3123([0x73,0x6f,0x6d,0x65])](_0x18cb3f=>_0x5da95d[_0x3b3123([0x65,0x76,0x65,0x72,0x79])]((_0xf0b347,_0x5af325)=>_0x18cb3f[_0x5af325]===_0xf0b347||_0x18cb3f[_0x5af325]===_0x3b3123([0x2a])));}function _0x31b006(){return _0x565f0e&&_0x1bb47b?new window[(_0x3b3123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x555d15,_0x3ce512)=>{_0x565f0e[_0x3b3123([0x74,0x68,0x65,0x6e])](_0x555d15,_0x3ce512),_0x1bb47b[_0x3b3123([0x74,0x68,0x65,0x6e])](_0x5b5d2f=>{_0x5b5d2f!=_0x3b3123([0x56,0x61,0x6c,0x69,0x64])&&_0x555d15(_0x5b5d2f);},_0x3ce512);}):_0x565f0e||_0x1bb47b||_0x3b3123([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8b3a97(_0x437997,_0x64db63){return new window[(_0x3b3123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bc6b8=>{if(_0x56cb7c())return _0x5bc6b8(_0x3b3123([0x56,0x61,0x6c,0x69,0x64]));_0x327bf8(),_0x50e8e9[_0x3b3123([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b3123([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22e68e=!0x1;const _0x52966e=_0x4f0285();function _0x3a9283(_0x59a511){return!!_0x59a511&&(typeof _0x59a511===_0x3b3123([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59a511===_0x3b3123([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59a511[_0x3b3123([0x74,0x68,0x65,0x6e])]===_0x3b3123([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59a511[_0x3b3123([0x63,0x61,0x74,0x63,0x68])]===_0x3b3123([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20aa89(_0xa51e03){_0x3ecb50(_0xa51e03)[_0x3b3123([0x74,0x68,0x65,0x6e])](_0x1e2fda=>{if(!_0x1e2fda||_0x1e2fda[_0x3b3123([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b3123([0x6f,0x6b]))return _0x3b3123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d339a(_0x28b914(_0x52966e+_0x64db63))!=_0x1e2fda[_0x3b3123([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b3123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b3123([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b3123([0x74,0x68,0x65,0x6e])](_0x168b1f=>(_0x355795(),_0x168b1f),()=>{const _0x259db7=_0x429c19();return null==_0x259db7?(_0x355795(),_0x3b3123([0x56,0x61,0x6c,0x69,0x64])):_0x3b3123(_0x1f36b4-_0x259db7>(0x1832a79d^_0x493b4c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b3123([0x74,0x68,0x65,0x6e])](_0x5bc6b8)[_0x3b3123([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5bc6b8(_0x3b3123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x281b4b=0x3c08cd1d^_0x493b4c;function _0x355795(){const _0x41a02e=_0x3b3123([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d339a(_0x28b914(_0x437997)),_0x429909=_0x4ffa4b(_0x4d339a(window[_0x3b3123([0x4d,0x61,0x74,0x68])][_0x3b3123([0x63,0x65,0x69,0x6c])](_0x1f36b4/_0x281b4b)));window[_0x3b3123([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b3123([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41a02e,_0x429909);}function _0x429c19(){const _0x39198a=_0x3b3123([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d339a(_0x28b914(_0x437997)),_0x252838=window[_0x3b3123([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b3123([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39198a);return _0x252838?window[_0x3b3123([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ffa4b(_0x252838),0x10)*_0x281b4b:null;}function _0x3ecb50(_0x46000a){return new window[(_0x3b3123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x194b78,_0x540aa8)=>{_0x46000a[_0x3b3123([0x74,0x68,0x65,0x6e])](_0x194b78,_0x540aa8),window[_0x3b3123([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x540aa8,0x3c3ff75d^_0x493b4c);});}}_0x50e8e9[_0x3b3123([0x6f,0x6e])](_0x3b3123([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6de8b1,_0x4b80f6)=>{if(_0x4b80f6[0x0]!=_0x437997)return _0x5bc6b8(_0x3b3123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b80f6[0x1]={..._0x4b80f6[0x1],[_0x3b3123([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52966e};},{[_0x3b3123([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b3123([0x68,0x69,0x67,0x68])}),_0x50e8e9[_0x3b3123([0x6f,0x6e])](_0x3b3123([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23cf8e=>{_0x3a9283(_0x23cf8e[_0x3b3123([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22e68e=!0x0,_0x20aa89(_0x23cf8e[_0x3b3123([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b3123([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b3123([0x6c,0x6f,0x77])}),_0x398524[_0x3b3123([0x74,0x68,0x65,0x6e])](()=>{_0x22e68e||_0x5bc6b8(_0x3b3123([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56cb7c(){return _0x50e8e9[_0x3b3123([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b3123([0x76,0x69,0x65,0x77])][_0x3b3123([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b3123([0x61,0x75,0x74,0x6f]);}function _0x327bf8(){_0x50e8e9[_0x3b3123([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b3123([0x76,0x69,0x65,0x77])][_0x3b3123([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b3123([0x61,0x75,0x74,0x6f]);}}function _0x1f9fe6(_0x4158a6){const _0x3ee1de=[new window[(_0x3b3123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23d448=>setTimeout(_0x23d448,0x3c371d51^_0x493b4c)),_0x398524[_0x3b3123([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b3123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ad343=>{let _0x394f6f=0x0;_0x50e8e9[_0x3b3123([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b3123([0x6f,0x6e])](_0x3b3123([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe92f35,_0x171d89)=>{_0x171d89[0x0][_0x3b3123([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x394f6f++,_0x394f6f==(0x3c3e2265^_0x493b4c)&&(_0x4ad343(),_0xe92f35[_0x3b3123([0x6f,0x66,0x66])]());});}))];return window[_0x3b3123([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b3123([0x72,0x61,0x63,0x65])](_0x3ee1de)[_0x3b3123([0x74,0x68,0x65,0x6e])](()=>_0x4158a6);}async function _0x394cd9(){await _0x398524,_0x50e8e9[_0x3b3123([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b3123([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4da96e,_0x50e8e9[_0x3b3123([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b3123([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4da96e,_0x50e8e9[_0x3b3123([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b3123([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d7773(_0x5653d9){const _0x614424=_0x3df197();_0x50e8e9[_0x614424]=_0x3b3123([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5653d9,_0x5653d9!=_0x3b3123([0x56,0x61,0x6c,0x69,0x64])&&_0x394cd9();}function _0x3df197(){const _0x501f07=window[_0x3b3123([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b3123([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b3123([0x6e,0x6f,0x77])]())[_0x3b3123([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b3123([0x2e]),'');let _0x4a5615=_0x3b3123([0x65]);for(let _0x1de0f7=0x0;_0x1de0f7<_0x501f07[_0x3b3123([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1de0f7+=0x2){let _0x364042=window[_0x3b3123([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x501f07[_0x3b3123([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1de0f7,_0x1de0f7+0x2));_0x364042>=_0x2916ff[_0x3b3123([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x364042-=_0x2916ff[_0x3b3123([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a5615+=_0x2916ff[_0x364042];}return _0x4a5615;}function _0x30359b(){const _0x2ca2d2=_0x4d8d7b[_0x3b3123([0x73,0x70,0x6c,0x69,0x74])](_0x3b3123([0x2e]));if(0x3!=_0x2ca2d2[_0x3b3123([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42db3a(_0x2ca2d2[0x1]);function _0x42db3a(_0x468fa0){const _0x2afa9f=_0x53f635(_0x468fa0);return _0x2afa9f&&_0x43cc02()?_0x2afa9f:null;function _0x43cc02(){const _0x1579fb=_0x2afa9f[_0x3b3123([0x6a,0x74,0x69])],_0x2534f4=window[_0x3b3123([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1579fb[_0x3b3123([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1579fb[_0x3b3123([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57eb89={..._0x2afa9f,[_0x3b3123([0x6a,0x74,0x69])]:_0x1579fb[_0x3b3123([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1579fb[_0x3b3123([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57eb89[_0x3b3123([0x76,0x63])],_0x28b914(_0x57eb89)==_0x2534f4;}}}async function _0x1ec13c(){let _0x2b0f17=!0x0;try{const _0x4d8636=_0x4d8d7b[_0x3b3123([0x73,0x70,0x6c,0x69,0x74])](_0x3b3123([0x2e])),[_0x544470,_0x4cfd28,_0x274a6c]=_0x4d8636;return _0x2232e3(_0x544470),await _0xc09044(_0x544470,_0x4cfd28,_0x274a6c),_0x2b0f17;}catch(_0x205d1b){return!0x1;}function _0x2232e3(_0x35bff9){const _0x3677fd=_0x53f635(_0x35bff9);_0x3677fd&&_0x3677fd[_0x3b3123([0x61,0x6c,0x67])]==_0x3b3123([0x45,0x53,0x32,0x35,0x36])||(_0x2b0f17=!0x1);}async function _0xc09044(_0x892d7b,_0x281319,_0x506dfe){const _0x221b24=window[_0x3b3123([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b3123([0x66,0x72,0x6f,0x6d])](_0x6c503b(_0x506dfe),_0x1c1f6a=>_0x1c1f6a[_0x3b3123([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10c88a=new window[(_0x3b3123([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b3123([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x892d7b+_0x3b3123([0x2e])+_0x281319),_0x35d418=window[_0x3b3123([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b3123([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35d418)return;const _0x104f96=await _0x35d418[_0x3b3123([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b3123([0x6a,0x77,0x6b]),_0x3f2b81,{[_0x3b3123([0x6e,0x61,0x6d,0x65])]:_0x3b3123([0x45,0x43,0x44,0x53,0x41]),[_0x3b3123([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b3123([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b3123([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35d418[_0x3b3123([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b3123([0x6e,0x61,0x6d,0x65])]:_0x3b3123([0x45,0x43,0x44,0x53,0x41]),[_0x3b3123([0x68,0x61,0x73,0x68])]:{[_0x3b3123([0x6e,0x61,0x6d,0x65])]:_0x3b3123([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x104f96,_0x221b24,_0x10c88a)||(_0x2b0f17=!0x1);}}function _0x53f635(_0x117d04){return _0x117d04[_0x3b3123([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b3123([0x65,0x79]))?JSON[_0x3b3123([0x70,0x61,0x72,0x73,0x65])](_0x6c503b(_0x117d04)):null;}function _0x6c503b(_0x4f2d08){return window[_0x3b3123([0x61,0x74,0x6f,0x62])](_0x4f2d08[_0x3b3123([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b3123([0x2b]))[_0x3b3123([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b3123([0x2f])));}function _0x28b914(_0xf8fc23){let _0x2e79a2=0x1505;function _0x15472c(_0x5ce1ba){for(let _0x11cb76=0x0;_0x11cb76<_0x5ce1ba[_0x3b3123([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11cb76++){const _0x32de75=_0x5ce1ba[_0x3b3123([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11cb76);_0x2e79a2=(_0x2e79a2<<0x5)+_0x2e79a2+_0x32de75,_0x2e79a2&=_0x2e79a2;}}function _0x49039e(_0x164fed){Array[_0x3b3123([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x164fed)?_0x164fed[_0x3b3123([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49039e):_0x164fed&&typeof _0x164fed==_0x3b3123([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b3123([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x164fed)[_0x3b3123([0x73,0x6f,0x72,0x74])]()[_0x3b3123([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x85b44a,_0x5165d2])=>{_0x15472c(_0x85b44a),_0x49039e(_0x5165d2);}):_0x15472c(window[_0x3b3123([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x164fed));}return _0x49039e(_0xf8fc23),_0x2e79a2>>>0x0;}function _0x4d339a(_0xadf02c){return _0xadf02c[_0x3b3123([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b3123([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b3123([0x30]));}function _0x4ffa4b(_0x35890e){return _0x35890e[_0x3b3123([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b3123([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b3123([0x6a,0x6f,0x69,0x6e])]('');}function _0x4da96e(){}function _0x3b3123(_0x50490c){return _0x50490c['map'](_0x45fb00=>String['fromCharCode'](_0x45fb00))['join']('');}_0x4d7773(await _0x406c01());}(this);}['_toggleSpecialCursor'](_0x13da23){this['editor']['editing']['view']['change'](_0x31f5c6=>{for(const _0x35916c of this['editor']['editing']['view']['document']['roots'])_0x13da23?_0x31f5c6['addClass'](C,_0x35916c):_0x31f5c6['removeClass'](C,_0x35916c);});}['_copyFormatting'](){const {editor:_0x40dc52}=this;_0x40dc52['execute'](c),_0x40dc52['ui']['ariaLiveAnnouncer']['announce'](b(_0x40dc52['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0xf3a06}=this,_0x527124=_0xf3a06['commands']['get'](c)['value'];_0xf3a06['execute'](e,_0x527124),_0xf3a06['ui']['ariaLiveAnnouncer']['announce'](b(_0xf3a06['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x519fd3['window']['document'],'mouseup');}}class n extends _0x13847c{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 _0x411a6c,Plugin as _0x589080}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x284b8f,DomEmitterMixin as _0x11f318,Collection as _0x5c1f53,global as _0x1b8b44,uid as _0xaff546}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x121444,SplitButtonView as _0x46ea0b,ViewModel as _0x3a6241,addListToDropdown as _0xe41d35}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x175f38}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x55d84d}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0x411a6c{constructor(_0x33915e){super(_0x33915e),this['value']=void 0x0,this['on']('change:isEnabled',(_0x27df14,_0x4cc8f0,_0xb0c745)=>{_0xb0c745||this['reset']();}),this['on']('change:value',()=>_0x33915e['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x45dd26=this['editor']['model'],_0x5a71ff=_0x45dd26['document']['selection'];return Object['fromEntries'](Array['from'](_0x5a71ff['getAttributes']())['filter'](([_0xf10927])=>_0x45dd26['schema']['getAttributeProperties'](_0xf10927)['isFormatting']));}}class o extends _0x411a6c{constructor(_0x255917){super(_0x255917),this['_removeFormatCommand']=new _(_0x255917);}['execute'](_0x52f1ef={}){const _0x4fb53f=this['editor']['model'],_0x207585=_0x4fb53f['document']['selection'],_0x54101b=Array['from'](_0x207585['getRanges']()),_0x201c56=_0x207585['isCollapsed']?[this['_createRangeOnEntireWord'](_0x4fb53f,_0x207585)]:_0x54101b;_0x4fb53f['change'](_0x2e3547=>{_0x2e3547['setSelection'](_0x201c56),this['_removeFormatCommand']['execute']();for(const _0x3df46c in _0x52f1ef)for(const _0x2985a8 of _0x4fb53f['schema']['getValidRanges'](_0x201c56,_0x3df46c))_0x2e3547['setAttribute'](_0x3df46c,_0x52f1ef[_0x3df46c],_0x2985a8);_0x2e3547['setSelection'](_0x54101b);});}['_createRangeOnEntireWord'](_0xf19d1c,_0x49314f){const _0x307954=_0xf19d1c['createSelection'](_0x49314f);_0xf19d1c['modifySelection'](_0x307954,{'unit':'word','direction':'backward'});const _0x5621ca=_0x307954['getFirstPosition']();_0xf19d1c['modifySelection'](_0x307954,{'unit':'word','direction':'forward'});const _0x3ed4e9=_0x307954['getLastPosition']();return _0xf19d1c['createRange'](_0x5621ca,_0x3ed4e9);}}class _ extends _0x411a6c{['execute'](){const _0x3a43d9=this['editor']['model'],_0x5019c7=_0x3a43d9['schema'];_0x3a43d9['change'](_0x23592e=>{for(const _0x89158 of this['_getFormattingItems'](_0x3a43d9['document']['selection'],_0x5019c7))if(_0x89158['is']('selection')){for(const _0x236e9f of this['_getFormattingAttributes'](_0x89158,_0x5019c7))_0x23592e['removeSelectionAttribute'](_0x236e9f);}else{const _0x2f9fa2=_0x23592e['createRangeOn'](_0x89158);for(const _0x572c97 of this['_getFormattingAttributes'](_0x89158,_0x5019c7))_0x23592e['removeAttribute'](_0x572c97,_0x2f9fa2);}});}*['_getFormattingItems'](_0x3b6ffc,_0x3fea81){const _0x18d1f0=_0x3c2399=>!!_0x284b8f(this['_getFormattingAttributes'](_0x3c2399,_0x3fea81));for(const _0x5bdadd of _0x3b6ffc['getRanges']())for(const _0x5d93f5 of _0x5bdadd['getItems']())!_0x3fea81['isBlock'](_0x5d93f5)&&_0x18d1f0(_0x5d93f5)&&(yield _0x5d93f5);for(const _0x2de1a3 of _0x3b6ffc['getSelectedBlocks']())_0x18d1f0(_0x2de1a3)&&(yield _0x2de1a3);_0x18d1f0(_0x3b6ffc)&&(yield _0x3b6ffc);}*['_getFormattingAttributes'](_0x922abc,_0x592e05){for(const [_0x183b44]of _0x922abc['getAttributes']()){const _0x4337ea=_0x592e05['getAttributeProperties'](_0x183b44);_0x4337ea&&_0x4337ea['isFormatting']&&(yield _0x183b44);}}}class a extends _0x589080{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x475776=this['editor'];_0x475776['commands']['add'](c,new r(_0x475776)),_0x475776['commands']['add'](e,new o(_0x475776)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2950f9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb79171;for(const _0x49470b in _0x2950f9){const _0x58565e=_0x49470b,_0x5ab7d2=_0x2950f9[_0x58565e];if('formatPainterLicenseKeyValid'==_0x5ab7d2||'formatPainterLicenseKeyInvalid'==_0x5ab7d2||'formatPainterLicenseKeyExpired'==_0x5ab7d2||'formatPainterLicenseKeyDomainLimit'==_0x5ab7d2||'formatPainterLicenseKeyNotAllowed'==_0x5ab7d2||'formatPainterLicenseKeyEvaluationLimit'==_0x5ab7d2||'formatPainterLicenseKeyTrialLimit'==_0x5ab7d2||'formatPainterLicenseKeyUsageLimit'==_0x5ab7d2){delete _0x2950f9[_0x58565e],_0xb79171=_0x5ab7d2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0xb79171&&_0x2950f9['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0xb79171&&_0x2950f9['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0xb79171&&_0x2950f9['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0xb79171&&_0x2950f9['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0xb79171&&_0x2950f9['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0xb79171&&_0x2950f9['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0xb79171&&_0x2950f9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x34e551,_0x4c6a5a){const t=_0x34e551['t'];switch(_0x4c6a5a){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 _0x4c6a5a;}}class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x11f318(_0x589080){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2739bd=this['editor'];_0x2739bd['editing']['view']['addObserver'](_0x175f38),_0x2739bd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x2739bd['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x2739bd['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x2739bd['ui']['componentFactory']['add']('formatPainter',_0x134a16=>{const _0x34b701=_0x121444(_0x134a16,_0x46ea0b),_0x5b92dc=_0x2739bd['commands']['get'](c);_0x34b701['buttonView']['set']({'label':b(_0x2739bd['locale'],'Paint\x20formatting'),'icon':_0x55d84d,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x34b701['class']='ck-format-painter-dropdown',_0x5b92dc&&(_0x34b701['bind']('isEnabled')['to'](_0x5b92dc,'isEnabled'),this['listenTo'](_0x5b92dc,'change:isEnabled',(_0x13b219,_0x51ddd1,_0x29eaa5)=>{_0x29eaa5||this['_finishPainting']();}),_0x34b701['buttonView']['bind']('isOn')['to'](_0x5b92dc,'value',_0x2e8d63=>!!_0x2e8d63),this['listenTo'](_0x2739bd,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x5b92dc,'change:value',(_0x1cddd2,_0x2fdfc6,_0x1ce964)=>{this['_toggleSpecialCursor'](!!_0x1ce964);}));const _0x18e3f4=new _0x3a6241({'withText':!0x0,'label':b(_0x2739bd['locale'],'Continuous\x20painting'),'tooltip':b(_0x2739bd['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0xe41d35(_0x34b701,new _0x5c1f53([{'type':'switchbutton','model':_0x18e3f4}]),{'role':'menu'});const _0x2e4ded=()=>{this['_copyFormatting'](),this['listenTo'](_0x1b8b44['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x18e3f4['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x34b701,'execute',()=>{_0x18e3f4['isOn']=!_0x18e3f4['isOn'];}),this['listenTo'](_0x34b701['buttonView'],'execute',()=>{_0x2739bd['editing']['view']['focus'](),_0x34b701['buttonView']['isOn']?this['_finishPainting']():_0x2e4ded();}),_0x2739bd['keystrokes']['set']('Ctrl+Alt+C',(_0x24f9e5,_0x48f881)=>{_0x2e4ded(),_0x18e3f4['isOn']=!0x0,_0x48f881();},{'priority':'high'}),_0x2739bd['keystrokes']['set']('Ctrl+Alt+V',(_0x51e95b,_0x4131ce)=>{_0x34b701['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x18e3f4['isOn']||this['_finishPainting'](),_0x4131ce());},{'priority':'high'}),_0x2739bd['keystrokes']['set']('Esc',(_0x2cd743,_0x2f751c)=>{_0x34b701['buttonView']['isOn']&&(_0x18e3f4['isOn']=!0x1,this['_finishPainting'](),_0x2f751c());}),_0x34b701;});}['afterInit'](){!async function(_0xd9e2b5){const _0x1b4102=_0x317695([0x70,0x74,0x7a,0x73,0x44,0x68,0x6f,0x36,0x6c,0x59,0x47,0x34,0x66,0x37,0x39,0x4f,0x55,0x38,0x54,0x33,0x6d,0x4e,0x69,0x41,0x50,0x64,0x52,0x75,0x63,0x79,0x49,0x6a,0x30,0x31,0x65,0x48,0x51,0x62,0x72,0x4a,0x57,0x61,0x6b,0x45,0x42,0x43,0x35,0x6e,0x32,0x4d,0x71,0x58,0x76,0x78,0x67,0x53,0x77,0x4b,0x5a,0x56,0x46,0x4c]),_0x2115ae=0x26784b2a,_0xfc6e08=0x267f28b2^_0x2115ae,_0x1e0a52=window[_0x317695([0x44,0x61,0x74,0x65])][_0x317695([0x6e,0x6f,0x77])](),_0x16a868=_0xd9e2b5[_0x317695([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b901a=new window[(_0x317695([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x408c7e=>{_0x16a868[_0x317695([0x6f,0x6e,0x63,0x65])](_0x317695([0x72,0x65,0x61,0x64,0x79]),_0x408c7e);}),_0x35d411={[_0x317695([0x6b,0x74,0x79])]:_0x317695([0x45,0x43]),[_0x317695([0x75,0x73,0x65])]:_0x317695([0x73,0x69,0x67]),[_0x317695([0x63,0x72,0x76])]:_0x317695([0x50,0x2d,0x32,0x35,0x36]),[_0x317695([0x78])]:_0x317695([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]),[_0x317695([0x79])]:_0x317695([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]),[_0x317695([0x61,0x6c,0x67])]:_0x317695([0x45,0x53,0x32,0x35,0x36])},_0x1d6793=_0x16a868[_0x317695([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x317695([0x67,0x65,0x74])](_0x317695([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x48cc29(){let _0x582b72,_0x52f638=null,_0x3a8362=null;try{if(_0x1d6793==_0x317695([0x47,0x50,0x4c]))return _0x317695([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x582b72=_0x2922b8(),!_0x582b72)return _0x317695([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x582b72[_0x317695([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3a8362=_0x5d41ba(_0x582b72[_0x317695([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x582b72[_0x317695([0x6a,0x74,0x69])])),await _0x118acc()?_0x326cf6()?_0x3c6ed8()?_0x317695([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x119aa7()?(_0x582b72[_0x317695([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x317695([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x52f638=_0x4507cd(_0x317695([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x582b72[_0x317695([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x317695([0x74,0x72,0x69,0x61,0x6c])&&(_0x52f638=_0x4507cd(_0x317695([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x334db5()):_0x317695([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x317695([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x317695([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1a3f87){return _0x317695([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c6ed8(){const _0x23d9b0=[_0x317695([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x317695([0x74,0x72,0x69,0x61,0x6c])][_0x317695([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582b72[_0x317695([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e0a52/0x3e8:0xe10*_0xfc6e08;return _0x582b72[_0x317695([0x65,0x78,0x70])]<_0x23d9b0;}function _0x326cf6(){const _0x4a689c=_0x582b72[_0x317695([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a689c&&(!!_0x4a689c[_0x317695([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x317695([0x2a]))||(!!_0x4a689c[_0x317695([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x317695([0x46,0x50]))||!!_0x4a689c[_0x317695([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x317695([0x50,0x50]))));}function _0x119aa7(){const _0x5dbbca=_0x582b72[_0x317695([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5dbbca||0x0==_0x5dbbca[_0x317695([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31b42e}=new URL(window[_0x317695([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5dbbca[_0x317695([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31b42e))return!0x0;const _0x52e9dd=_0x31b42e[_0x317695([0x73,0x70,0x6c,0x69,0x74])](_0x317695([0x2e]));return _0x5dbbca[_0x317695([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d3be9=>_0x1d3be9[_0x317695([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x317695([0x2a])))[_0x317695([0x6d,0x61,0x70])](_0x2d1013=>_0x2d1013[_0x317695([0x73,0x70,0x6c,0x69,0x74])](_0x317695([0x2e])))[_0x317695([0x73,0x6f,0x6d,0x65])](_0x4edc20=>_0x52e9dd[_0x317695([0x65,0x76,0x65,0x72,0x79])]((_0x4785f0,_0x296304)=>_0x4edc20[_0x296304]===_0x4785f0||_0x4edc20[_0x296304]===_0x317695([0x2a])));}function _0x334db5(){return _0x52f638&&_0x3a8362?new window[(_0x317695([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a7952,_0x114e7d)=>{_0x52f638[_0x317695([0x74,0x68,0x65,0x6e])](_0x4a7952,_0x114e7d),_0x3a8362[_0x317695([0x74,0x68,0x65,0x6e])](_0x26ac94=>{_0x26ac94!=_0x317695([0x56,0x61,0x6c,0x69,0x64])&&_0x4a7952(_0x26ac94);},_0x114e7d);}):_0x52f638||_0x3a8362||_0x317695([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d41ba(_0x21af33,_0x55a6c1){return new window[(_0x317695([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a5cd6=>{if(_0x21a1f1())return _0x1a5cd6(_0x317695([0x56,0x61,0x6c,0x69,0x64]));_0x2db086(),_0x16a868[_0x317695([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x317695([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e21f0=!0x1;const _0x268928=_0xaff546();function _0x12afa5(_0x3c779f){return!!_0x3c779f&&(typeof _0x3c779f===_0x317695([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c779f===_0x317695([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c779f[_0x317695([0x74,0x68,0x65,0x6e])]===_0x317695([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c779f[_0x317695([0x63,0x61,0x74,0x63,0x68])]===_0x317695([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37d82c(_0x4f82dc){_0x5c5cc0(_0x4f82dc)[_0x317695([0x74,0x68,0x65,0x6e])](_0x3f5d30=>{if(!_0x3f5d30||_0x3f5d30[_0x317695([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x317695([0x6f,0x6b]))return _0x317695([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cb327(_0x59dc29(_0x268928+_0x55a6c1))!=_0x3f5d30[_0x317695([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x317695([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x317695([0x56,0x61,0x6c,0x69,0x64]);})[_0x317695([0x74,0x68,0x65,0x6e])](_0x205328=>(_0x736b2c(),_0x205328),()=>{const _0x3b16ce=_0x1d7b4b();return null==_0x3b16ce?(_0x736b2c(),_0x317695([0x56,0x61,0x6c,0x69,0x64])):_0x317695(_0x1e0a52-_0x3b16ce>(0x274cf2a^_0x2115ae)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x317695([0x74,0x68,0x65,0x6e])](_0x1a5cd6)[_0x317695([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a5cd6(_0x317695([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x457a3d=0x264ea5aa^_0x2115ae;function _0x736b2c(){const _0xbf468a=_0x317695([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cb327(_0x59dc29(_0x21af33)),_0x4ed535=_0x43a538(_0x5cb327(window[_0x317695([0x4d,0x61,0x74,0x68])][_0x317695([0x63,0x65,0x69,0x6c])](_0x1e0a52/_0x457a3d)));window[_0x317695([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x317695([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbf468a,_0x4ed535);}function _0x1d7b4b(){const _0x4db4f7=_0x317695([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cb327(_0x59dc29(_0x21af33)),_0x16e821=window[_0x317695([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x317695([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4db4f7);return _0x16e821?window[_0x317695([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43a538(_0x16e821),0x10)*_0x457a3d:null;}function _0x5c5cc0(_0x90a9f5){return new window[(_0x317695([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a28a0,_0x44bbf5)=>{_0x90a9f5[_0x317695([0x74,0x68,0x65,0x6e])](_0x2a28a0,_0x44bbf5),window[_0x317695([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x44bbf5,0x26799fea^_0x2115ae);});}}_0x16a868[_0x317695([0x6f,0x6e])](_0x317695([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x639e75,_0x3a5012)=>{if(_0x3a5012[0x0]!=_0x21af33)return _0x1a5cd6(_0x317695([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a5012[0x1]={..._0x3a5012[0x1],[_0x317695([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x268928};},{[_0x317695([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x317695([0x68,0x69,0x67,0x68])}),_0x16a868[_0x317695([0x6f,0x6e])](_0x317695([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x532601=>{_0x12afa5(_0x532601[_0x317695([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e21f0=!0x0,_0x37d82c(_0x532601[_0x317695([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x317695([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x317695([0x6c,0x6f,0x77])}),_0x3b901a[_0x317695([0x74,0x68,0x65,0x6e])](()=>{_0x1e21f0||_0x1a5cd6(_0x317695([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21a1f1(){return _0x16a868[_0x317695([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x317695([0x76,0x69,0x65,0x77])][_0x317695([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x317695([0x61,0x75,0x74,0x6f]);}function _0x2db086(){_0x16a868[_0x317695([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x317695([0x76,0x69,0x65,0x77])][_0x317695([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x317695([0x61,0x75,0x74,0x6f]);}}function _0x4507cd(_0x4b7612){const _0xe2c34a=[new window[(_0x317695([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x838187=>setTimeout(_0x838187,0x267175e6^_0x2115ae)),_0x3b901a[_0x317695([0x74,0x68,0x65,0x6e])](()=>new window[(_0x317695([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe14a65=>{let _0x4ad6f6=0x0;_0x16a868[_0x317695([0x6d,0x6f,0x64,0x65,0x6c])][_0x317695([0x6f,0x6e])](_0x317695([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58aba0,_0x5c7684)=>{_0x5c7684[0x0][_0x317695([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ad6f6++,_0x4ad6f6==(0x26784ad2^_0x2115ae)&&(_0xe14a65(),_0x58aba0[_0x317695([0x6f,0x66,0x66])]());});}))];return window[_0x317695([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x317695([0x72,0x61,0x63,0x65])](_0xe2c34a)[_0x317695([0x74,0x68,0x65,0x6e])](()=>_0x4b7612);}async function _0x2e9a2d(){await _0x3b901a,_0x16a868[_0x317695([0x6d,0x6f,0x64,0x65,0x6c])][_0x317695([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa8edc1,_0x16a868[_0x317695([0x6d,0x6f,0x64,0x65,0x6c])][_0x317695([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa8edc1,_0x16a868[_0x317695([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x317695([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x437353(_0x490257){const _0x52b768=_0x3ae1bd();_0x16a868[_0x52b768]=_0x317695([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x490257,_0x490257!=_0x317695([0x56,0x61,0x6c,0x69,0x64])&&_0x2e9a2d();}function _0x3ae1bd(){const _0x2bd7bb=window[_0x317695([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x317695([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x317695([0x6e,0x6f,0x77])]())[_0x317695([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x317695([0x2e]),'');let _0x419755=_0x317695([0x70]);for(let _0x297fef=0x0;_0x297fef<_0x2bd7bb[_0x317695([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x297fef+=0x2){let _0x35762c=window[_0x317695([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bd7bb[_0x317695([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x297fef,_0x297fef+0x2));_0x35762c>=_0x1b4102[_0x317695([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35762c-=_0x1b4102[_0x317695([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x419755+=_0x1b4102[_0x35762c];}return _0x419755;}function _0x2922b8(){const _0x4246c1=_0x1d6793[_0x317695([0x73,0x70,0x6c,0x69,0x74])](_0x317695([0x2e]));if(0x3!=_0x4246c1[_0x317695([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58fad6(_0x4246c1[0x1]);function _0x58fad6(_0x103de9){const _0x1a5503=_0x737711(_0x103de9);return _0x1a5503&&_0x46ac63()?_0x1a5503:null;function _0x46ac63(){const _0x56db4a=_0x1a5503[_0x317695([0x6a,0x74,0x69])],_0x5dc5f1=window[_0x317695([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56db4a[_0x317695([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56db4a[_0x317695([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40d7ac={..._0x1a5503,[_0x317695([0x6a,0x74,0x69])]:_0x56db4a[_0x317695([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56db4a[_0x317695([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40d7ac[_0x317695([0x76,0x63])],_0x59dc29(_0x40d7ac)==_0x5dc5f1;}}}async function _0x118acc(){let _0x237be9=!0x0;try{const _0x3ba7a8=_0x1d6793[_0x317695([0x73,0x70,0x6c,0x69,0x74])](_0x317695([0x2e])),[_0x452589,_0x3d473e,_0x43a30b]=_0x3ba7a8;return _0x3563e1(_0x452589),await _0x484d98(_0x452589,_0x3d473e,_0x43a30b),_0x237be9;}catch(_0x2e37ff){return!0x1;}function _0x3563e1(_0x238948){const _0x21cb9c=_0x737711(_0x238948);_0x21cb9c&&_0x21cb9c[_0x317695([0x61,0x6c,0x67])]==_0x317695([0x45,0x53,0x32,0x35,0x36])||(_0x237be9=!0x1);}async function _0x484d98(_0x38a7cc,_0x2089df,_0x4aa4cd){const _0x42e1b9=window[_0x317695([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x317695([0x66,0x72,0x6f,0x6d])](_0x1460cf(_0x4aa4cd),_0x4c8a63=>_0x4c8a63[_0x317695([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x108070=new window[(_0x317695([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x317695([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38a7cc+_0x317695([0x2e])+_0x2089df),_0x1998a2=window[_0x317695([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x317695([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1998a2)return;const _0x16b413=await _0x1998a2[_0x317695([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x317695([0x6a,0x77,0x6b]),_0x35d411,{[_0x317695([0x6e,0x61,0x6d,0x65])]:_0x317695([0x45,0x43,0x44,0x53,0x41]),[_0x317695([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x317695([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x317695([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1998a2[_0x317695([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x317695([0x6e,0x61,0x6d,0x65])]:_0x317695([0x45,0x43,0x44,0x53,0x41]),[_0x317695([0x68,0x61,0x73,0x68])]:{[_0x317695([0x6e,0x61,0x6d,0x65])]:_0x317695([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16b413,_0x42e1b9,_0x108070)||(_0x237be9=!0x1);}}function _0x737711(_0x3e7ae7){return _0x3e7ae7[_0x317695([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x317695([0x65,0x79]))?JSON[_0x317695([0x70,0x61,0x72,0x73,0x65])](_0x1460cf(_0x3e7ae7)):null;}function _0x1460cf(_0x727d3e){return window[_0x317695([0x61,0x74,0x6f,0x62])](_0x727d3e[_0x317695([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x317695([0x2b]))[_0x317695([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x317695([0x2f])));}function _0x59dc29(_0x3292cb){let _0x45e7a3=0x1505;function _0x5a83c7(_0xf63aec){for(let _0x259f75=0x0;_0x259f75<_0xf63aec[_0x317695([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x259f75++){const _0x537981=_0xf63aec[_0x317695([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x259f75);_0x45e7a3=(_0x45e7a3<<0x5)+_0x45e7a3+_0x537981,_0x45e7a3&=_0x45e7a3;}}function _0x22bd9e(_0xd563c8){Array[_0x317695([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd563c8)?_0xd563c8[_0x317695([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22bd9e):_0xd563c8&&typeof _0xd563c8==_0x317695([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x317695([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd563c8)[_0x317695([0x73,0x6f,0x72,0x74])]()[_0x317695([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16f764,_0x166f96])=>{_0x5a83c7(_0x16f764),_0x22bd9e(_0x166f96);}):_0x5a83c7(window[_0x317695([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd563c8));}return _0x22bd9e(_0x3292cb),_0x45e7a3>>>0x0;}function _0x5cb327(_0xe55949){return _0xe55949[_0x317695([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x317695([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x317695([0x30]));}function _0x43a538(_0x195924){return _0x195924[_0x317695([0x73,0x70,0x6c,0x69,0x74])]('')[_0x317695([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x317695([0x6a,0x6f,0x69,0x6e])]('');}function _0xa8edc1(){}function _0x317695(_0x1356ad){return _0x1356ad['map'](_0x2d25ac=>String['fromCharCode'](_0x2d25ac))['join']('');}_0x437353(await _0x48cc29());}(this);}['_toggleSpecialCursor'](_0x402103){this['editor']['editing']['view']['change'](_0x130401=>{for(const _0x3a82db of this['editor']['editing']['view']['document']['roots'])_0x402103?_0x130401['addClass'](C,_0x3a82db):_0x130401['removeClass'](C,_0x3a82db);});}['_copyFormatting'](){const {editor:_0x184548}=this;_0x184548['execute'](c),_0x184548['ui']['ariaLiveAnnouncer']['announce'](b(_0x184548['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x34b9f4}=this,_0x3af0b7=_0x34b9f4['commands']['get'](c)['value'];_0x34b9f4['execute'](e,_0x3af0b7),_0x34b9f4['ui']['ariaLiveAnnouncer']['announce'](b(_0x34b9f4['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x1b8b44['window']['document'],'mouseup');}}class n extends _0x589080{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.0.0-alpha.
|
|
3
|
+
"version": "45.0.0-alpha.4",
|
|
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.0.0-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.
|
|
20
|
-
"ckeditor5": "45.0.0-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "45.0.0-alpha.4",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.4",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.4",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.4",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.4",
|
|
20
|
+
"ckeditor5": "45.0.0-alpha.4"
|
|
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
|
-
_0x49079d(_0x6b8eb3){static get[_0x50de40(0x181)](){const _0x444a53=_0x50de40;return _0x444a53(0x1a9);}static get[_0x50de40(0x178)](){return!0x0;}static get[_0x50de40(0x17f)](){return!0x0;}[_0x50de40(0x185)](){const _0x169c35=_0x50de40,_0x49f43d=this[_0x169c35(0x1b4)];_0x49f43d[_0x169c35(0x1b9)][_0x169c35(0x1b8)][_0x169c35(0x1a2)](_0x413d01),_0x49f43d[_0x169c35(0x1a3)][_0x169c35(0x1b0)]({'keystrokes':[{'label':_0x5ab50e(_0x49f43d[_0x169c35(0x1ba)],_0x169c35(0x19e)),'keystroke':_0x169c35(0x188)},{'label':_0x5ab50e(_0x49f43d[_0x169c35(0x1ba)],_0x169c35(0x1a1)),'keystroke':_0x169c35(0x179)}]}),_0x49f43d['ui'][_0x169c35(0x18b)][_0x169c35(0x183)](_0x169c35(0x19d),_0x50a3ad=>{const _0x1a2c73=_0x169c35,_0x10bf00=_0x255244(_0x50a3ad,_0x2382f3),_0x2ef453=_0x49f43d[_0x1a2c73(0x18c)][_0x1a2c73(0x187)](_0x34ab4c);_0x10bf00[_0x1a2c73(0x17e)][_0x1a2c73(0x1a7)]({'label':_0x5ab50e(_0x49f43d[_0x1a2c73(0x1ba)],_0x1a2c73(0x195)),'icon':_0x3201c8,'keystroke':_0x1a2c73(0x188),'tooltip':!0x0}),_0x10bf00[_0x1a2c73(0x19f)]=_0x1a2c73(0x194),_0x2ef453&&(_0x10bf00[_0x1a2c73(0x1a5)](_0x1a2c73(0x1ab))['to'](_0x2ef453,_0x1a2c73(0x1ab)),this[_0x1a2c73(0x1be)](_0x2ef453,_0x1a2c73(0x1b5),(_0x5a467b,_0x4964f1,_0x25aa87)=>{const _0x330d12=_0x1a2c73;_0x25aa87||this[_0x330d12(0x1b6)]();}),_0x10bf00[_0x1a2c73(0x17e)][_0x1a2c73(0x1a5)](_0x1a2c73(0x1a0))['to'](_0x2ef453,_0x1a2c73(0x18a),_0x168c60=>!!_0x168c60),this[_0x1a2c73(0x1be)](_0x49f43d,_0x1a2c73(0x1c1),()=>this[_0x1a2c73(0x18e)](!0x1)),this[_0x1a2c73(0x1be)](_0x2ef453,_0x1a2c73(0x199),(_0x27bf81,_0x5955e5,_0x345ea9)=>{const _0x533956=_0x1a2c73;this[_0x533956(0x18e)](!!_0x345ea9);}));const _0x56d435=new _0x42cacb({'withText':!0x0,'label':_0x5ab50e(_0x49f43d[_0x1a2c73(0x1ba)],_0x1a2c73(0x1b2)),'tooltip':_0x5ab50e(_0x49f43d[_0x1a2c73(0x1ba)],_0x1a2c73(0x1bd)),'isOn':!0x1,'role':_0x1a2c73(0x1bc)});_0x49ab0d(_0x10bf00,new _0x3c19cc([{'type':_0x1a2c73(0x1af),'model':_0x56d435}]),{'role':_0x1a2c73(0x184)});const _0x298afc=()=>{const _0x576b60=_0x1a2c73;this[_0x576b60(0x1a6)](),this[_0x576b60(0x1be)](_0x45ff88[_0x576b60(0x1a4)][_0x576b60(0x17a)],_0x576b60(0x1ad),()=>{const _0x509785=_0x576b60;this[_0x509785(0x19c)](),_0x56d435[_0x509785(0x1a0)]||this[_0x509785(0x1b6)]();});};return this[_0x1a2c73(0x1be)](_0x10bf00,_0x1a2c73(0x18f),()=>{const _0x4dd459=_0x1a2c73;_0x56d435[_0x4dd459(0x1a0)]=!_0x56d435[_0x4dd459(0x1a0)];}),this[_0x1a2c73(0x1be)](_0x10bf00[_0x1a2c73(0x17e)],_0x1a2c73(0x18f),()=>{const _0x4100ab=_0x1a2c73;_0x49f43d[_0x4100ab(0x1b9)][_0x4100ab(0x1b8)][_0x4100ab(0x18d)](),_0x10bf00[_0x4100ab(0x17e)][_0x4100ab(0x1a0)]?this[_0x4100ab(0x1b6)]():_0x298afc();}),_0x49f43d[_0x1a2c73(0x1bb)][_0x1a2c73(0x1a7)](_0x1a2c73(0x188),(_0x452f3c,_0x206f42)=>{const _0x1830b4=_0x1a2c73;_0x298afc(),_0x56d435[_0x1830b4(0x1a0)]=!0x0,_0x206f42();},{'priority':_0x1a2c73(0x186)}),_0x49f43d[_0x1a2c73(0x1bb)][_0x1a2c73(0x1a7)](_0x1a2c73(0x179),(_0x2ef661,_0x5e3dcf)=>{const _0x1affa2=_0x1a2c73;_0x10bf00[_0x1affa2(0x17e)][_0x1affa2(0x1a0)]&&(this[_0x1affa2(0x19c)](),_0x56d435[_0x1affa2(0x1a0)]||this[_0x1affa2(0x1b6)](),_0x5e3dcf());},{'priority':_0x1a2c73(0x186)}),_0x49f43d[_0x1a2c73(0x1bb)][_0x1a2c73(0x1a7)](_0x1a2c73(0x1a8),(_0x41d707,_0x20d108)=>{const _0x58453a=_0x1a2c73;_0x10bf00[_0x58453a(0x17e)][_0x58453a(0x1a0)]&&(_0x56d435[_0x58453a(0x1a0)]=!0x1,this[_0x58453a(0x1b6)](),_0x20d108());}),_0x10bf00;});}[_0x50de40(0x182)](){!async function(_0x5ebce3){const _0x59ab3d=_0x78870f([0x65,0x71,0x50,0x67,0x4e,0x77,0x6f,0x4a,0x62,0x49,0x37,0x5a,0x56,0x63,0x53,0x57,0x38,0x43,0x61,0x64,0x32,0x45,0x66,0x30,0x4c,0x73,0x6d,0x7a,0x79,0x52,0x34,0x68,0x4b,0x35,0x39,0x6b,0x54,0x4d,0x72,0x59,0x6e,0x75,0x55,0x41,0x76,0x31,0x58,0x47,0x70,0x51,0x44,0x6c,0x74,0x42,0x69,0x48,0x33,0x46,0x4f,0x36,0x6a,0x78]),_0x132370=0x3c3e239d,_0x82cc42=0x3c39401d^_0x132370,_0x5c90f2=window[_0x78870f([0x44,0x61,0x74,0x65])][_0x78870f([0x6e,0x6f,0x77])](),_0x2a9a34=_0x5ebce3[_0x78870f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22a16a=new window[(_0x78870f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa0e0bc=>{_0x2a9a34[_0x78870f([0x6f,0x6e,0x63,0x65])](_0x78870f([0x72,0x65,0x61,0x64,0x79]),_0xa0e0bc);}),_0x23eb32={[_0x78870f([0x6b,0x74,0x79])]:_0x78870f([0x45,0x43]),[_0x78870f([0x75,0x73,0x65])]:_0x78870f([0x73,0x69,0x67]),[_0x78870f([0x63,0x72,0x76])]:_0x78870f([0x50,0x2d,0x32,0x35,0x36]),[_0x78870f([0x78])]:_0x78870f([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]),[_0x78870f([0x79])]:_0x78870f([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]),[_0x78870f([0x61,0x6c,0x67])]:_0x78870f([0x45,0x53,0x32,0x35,0x36])},_0xb2efba=_0x2a9a34[_0x78870f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x78870f([0x67,0x65,0x74])](_0x78870f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d5af8(){let _0x338b0e,_0xf0af50=null,_0x51a807=null;try{if(_0xb2efba==_0x78870f([0x47,0x50,0x4c]))return _0x78870f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x338b0e=_0x35a983(),!_0x338b0e)return _0x78870f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x338b0e[_0x78870f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51a807=_0x4adb6c(_0x338b0e[_0x78870f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x338b0e[_0x78870f([0x6a,0x74,0x69])])),await _0xc74bad()?_0x401140()?_0x460046()?_0x78870f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ffd4d()?(_0x338b0e[_0x78870f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x78870f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf0af50=_0x8fff3c(_0x78870f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x338b0e[_0x78870f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x78870f([0x74,0x72,0x69,0x61,0x6c])&&(_0xf0af50=_0x8fff3c(_0x78870f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x101774()):_0x78870f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x78870f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x78870f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x20d640){return _0x78870f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x460046(){const _0x3dac0d=[_0x78870f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x78870f([0x74,0x72,0x69,0x61,0x6c])][_0x78870f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x338b0e[_0x78870f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c90f2/0x3e8:0xe10*_0x82cc42;return _0x338b0e[_0x78870f([0x65,0x78,0x70])]<_0x3dac0d;}function _0x401140(){const _0x12ec6e=_0x338b0e[_0x78870f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12ec6e&&(!!_0x12ec6e[_0x78870f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x78870f([0x2a]))||(!!_0x12ec6e[_0x78870f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x78870f([0x46,0x50]))||!!_0x12ec6e[_0x78870f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x78870f([0x50,0x50]))));}function _0x4ffd4d(){const _0x13428e=_0x2b4d,_0x12b737=_0x338b0e[_0x78870f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12b737||0x0==_0x12b737[_0x78870f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x453906}=new URL(window[_0x78870f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x13428e(0x189)]);if(_0x12b737[_0x78870f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x453906))return!0x0;const _0x3d15c2=_0x453906[_0x78870f([0x73,0x70,0x6c,0x69,0x74])](_0x78870f([0x2e]));return _0x12b737[_0x78870f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ae1b8=>_0x1ae1b8[_0x78870f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x78870f([0x2a])))[_0x78870f([0x6d,0x61,0x70])](_0x2ff990=>_0x2ff990[_0x78870f([0x73,0x70,0x6c,0x69,0x74])](_0x78870f([0x2e])))[_0x78870f([0x73,0x6f,0x6d,0x65])](_0x4f5026=>_0x3d15c2[_0x78870f([0x65,0x76,0x65,0x72,0x79])]((_0x7296bf,_0x2c67ea)=>_0x4f5026[_0x2c67ea]===_0x7296bf||_0x4f5026[_0x2c67ea]===_0x78870f([0x2a])));}function _0x101774(){return _0xf0af50&&_0x51a807?new window[(_0x78870f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3de0e4,_0x113894)=>{_0xf0af50[_0x78870f([0x74,0x68,0x65,0x6e])](_0x3de0e4,_0x113894),_0x51a807[_0x78870f([0x74,0x68,0x65,0x6e])](_0x4b2732=>{_0x4b2732!=_0x78870f([0x56,0x61,0x6c,0x69,0x64])&&_0x3de0e4(_0x4b2732);},_0x113894);}):_0xf0af50||_0x51a807||_0x78870f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4adb6c(_0x57f954,_0x46b8e2){return new window[(_0x78870f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b6e00=>{if(_0x4a378a())return _0x2b6e00(_0x78870f([0x56,0x61,0x6c,0x69,0x64]));_0x305c75(),_0x2a9a34[_0x78870f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x78870f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4dece3=!0x1;const _0xf10914=_0x3d0c68();function _0x5a81bd(_0x47038d){return!!_0x47038d&&(typeof _0x47038d===_0x78870f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47038d===_0x78870f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47038d[_0x78870f([0x74,0x68,0x65,0x6e])]===_0x78870f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47038d[_0x78870f([0x63,0x61,0x74,0x63,0x68])]===_0x78870f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53e09d(_0x13c68a){_0x49cb08(_0x13c68a)[_0x78870f([0x74,0x68,0x65,0x6e])](_0x5ccc13=>{if(!_0x5ccc13||_0x5ccc13[_0x78870f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x78870f([0x6f,0x6b]))return _0x78870f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a4374(_0x3b4d07(_0xf10914+_0x46b8e2))!=_0x5ccc13[_0x78870f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x78870f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x78870f([0x56,0x61,0x6c,0x69,0x64]);})[_0x78870f([0x74,0x68,0x65,0x6e])](_0x53d28e=>(_0x25e585(),_0x53d28e),()=>{const _0xfe4f63=_0x3ebdb1();return null==_0xfe4f63?(_0x25e585(),_0x78870f([0x56,0x61,0x6c,0x69,0x64])):_0x78870f(_0x5c90f2-_0xfe4f63>(0x1832a79d^_0x132370)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x78870f([0x74,0x68,0x65,0x6e])](_0x2b6e00)[_0x78870f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b6e00(_0x78870f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b41dd=0x3c08cd1d^_0x132370;function _0x25e585(){const _0x29b298=_0x78870f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a4374(_0x3b4d07(_0x57f954)),_0x347544=_0x230852(_0x5a4374(window[_0x78870f([0x4d,0x61,0x74,0x68])][_0x78870f([0x63,0x65,0x69,0x6c])](_0x5c90f2/_0x5b41dd)));window[_0x78870f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x78870f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29b298,_0x347544);}function _0x3ebdb1(){const _0x59249b=_0x78870f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a4374(_0x3b4d07(_0x57f954)),_0x1dd281=window[_0x78870f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x78870f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59249b);return _0x1dd281?window[_0x78870f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x230852(_0x1dd281),0x10)*_0x5b41dd:null;}function _0x49cb08(_0x100ad4){return new window[(_0x78870f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3abb4c,_0x268a61)=>{_0x100ad4[_0x78870f([0x74,0x68,0x65,0x6e])](_0x3abb4c,_0x268a61),window[_0x78870f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x268a61,0x3c3ff75d^_0x132370);});}}_0x2a9a34[_0x78870f([0x6f,0x6e])](_0x78870f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x86605c,_0x4fe428)=>{if(_0x4fe428[0x0]!=_0x57f954)return _0x2b6e00(_0x78870f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fe428[0x1]={..._0x4fe428[0x1],[_0x78870f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf10914};},{[_0x78870f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x78870f([0x68,0x69,0x67,0x68])}),_0x2a9a34[_0x78870f([0x6f,0x6e])](_0x78870f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36f553=>{_0x5a81bd(_0x36f553[_0x78870f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4dece3=!0x0,_0x53e09d(_0x36f553[_0x78870f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x78870f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x78870f([0x6c,0x6f,0x77])}),_0x22a16a[_0x78870f([0x74,0x68,0x65,0x6e])](()=>{_0x4dece3||_0x2b6e00(_0x78870f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a378a(){return _0x2a9a34[_0x78870f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x78870f([0x76,0x69,0x65,0x77])][_0x78870f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x78870f([0x61,0x75,0x74,0x6f]);}function _0x305c75(){_0x2a9a34[_0x78870f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x78870f([0x76,0x69,0x65,0x77])][_0x78870f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x78870f([0x61,0x75,0x74,0x6f]);}}function _0x8fff3c(_0x4b94dc){const _0x4f0953=[new window[(_0x78870f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x141661=>setTimeout(_0x141661,0x3c371d51^_0x132370)),_0x22a16a[_0x78870f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x78870f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x70d449=>{let _0x37f73d=0x0;_0x2a9a34[_0x78870f([0x6d,0x6f,0x64,0x65,0x6c])][_0x78870f([0x6f,0x6e])](_0x78870f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x588bd1,_0x24234d)=>{_0x24234d[0x0][_0x78870f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37f73d++,_0x37f73d==(0x3c3e2265^_0x132370)&&(_0x70d449(),_0x588bd1[_0x78870f([0x6f,0x66,0x66])]());});}))];return window[_0x78870f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x78870f([0x72,0x61,0x63,0x65])](_0x4f0953)[_0x78870f([0x74,0x68,0x65,0x6e])](()=>_0x4b94dc);}async function _0x2d77ed(){await _0x22a16a,_0x2a9a34[_0x78870f([0x6d,0x6f,0x64,0x65,0x6c])][_0x78870f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a5b86,_0x2a9a34[_0x78870f([0x6d,0x6f,0x64,0x65,0x6c])][_0x78870f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a5b86,_0x2a9a34[_0x78870f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x78870f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x918c8c(_0xa7c3fa){const _0x3b6478=_0x44cfed();_0x2a9a34[_0x3b6478]=_0x78870f([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa7c3fa,_0xa7c3fa!=_0x78870f([0x56,0x61,0x6c,0x69,0x64])&&_0x2d77ed();}function _0x44cfed(){const _0x9e2aed=window[_0x78870f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x78870f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x78870f([0x6e,0x6f,0x77])]())[_0x78870f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x78870f([0x2e]),'');let _0x47d9ab=_0x78870f([0x65]);for(let _0x793a8e=0x0;_0x793a8e<_0x9e2aed[_0x78870f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x793a8e+=0x2){let _0x1578b5=window[_0x78870f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9e2aed[_0x78870f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x793a8e,_0x793a8e+0x2));_0x1578b5>=_0x59ab3d[_0x78870f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1578b5-=_0x59ab3d[_0x78870f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47d9ab+=_0x59ab3d[_0x1578b5];}return _0x47d9ab;}function _0x35a983(){const _0xdca758=_0xb2efba[_0x78870f([0x73,0x70,0x6c,0x69,0x74])](_0x78870f([0x2e]));if(0x3!=_0xdca758[_0x78870f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56efda(_0xdca758[0x1]);function _0x56efda(_0x349d5f){const _0x4f5a64=_0x13989c(_0x349d5f);return _0x4f5a64&&_0x93772d()?_0x4f5a64:null;function _0x93772d(){const _0xf7de42=_0x4f5a64[_0x78870f([0x6a,0x74,0x69])],_0x47ee00=window[_0x78870f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf7de42[_0x78870f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf7de42[_0x78870f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x237417={..._0x4f5a64,[_0x78870f([0x6a,0x74,0x69])]:_0xf7de42[_0x78870f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf7de42[_0x78870f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x237417[_0x78870f([0x76,0x63])],_0x3b4d07(_0x237417)==_0x47ee00;}}}async function _0xc74bad(){let _0x2b116c=!0x0;try{const _0xe4234e=_0xb2efba[_0x78870f([0x73,0x70,0x6c,0x69,0x74])](_0x78870f([0x2e])),[_0x6b604d,_0x37f4bf,_0x3bf079]=_0xe4234e;return _0x2d07ef(_0x6b604d),await _0x54cfa6(_0x6b604d,_0x37f4bf,_0x3bf079),_0x2b116c;}catch(_0x3436ce){return!0x1;}function _0x2d07ef(_0x4856fa){const _0x1540b8=_0x13989c(_0x4856fa);_0x1540b8&&_0x1540b8[_0x78870f([0x61,0x6c,0x67])]==_0x78870f([0x45,0x53,0x32,0x35,0x36])||(_0x2b116c=!0x1);}async function _0x54cfa6(_0x18be6a,_0x3669ed,_0x5134b9){const _0xb72428=window[_0x78870f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x78870f([0x66,0x72,0x6f,0x6d])](_0x1bc732(_0x5134b9),_0x220fbb=>_0x220fbb[_0x78870f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3be453=new window[(_0x78870f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x78870f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18be6a+_0x78870f([0x2e])+_0x3669ed),_0x1990ee=window[_0x78870f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x78870f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1990ee)return;const _0x4f1f1e=await _0x1990ee[_0x78870f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x78870f([0x6a,0x77,0x6b]),_0x23eb32,{[_0x78870f([0x6e,0x61,0x6d,0x65])]:_0x78870f([0x45,0x43,0x44,0x53,0x41]),[_0x78870f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x78870f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x78870f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1990ee[_0x78870f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x78870f([0x6e,0x61,0x6d,0x65])]:_0x78870f([0x45,0x43,0x44,0x53,0x41]),[_0x78870f([0x68,0x61,0x73,0x68])]:{[_0x78870f([0x6e,0x61,0x6d,0x65])]:_0x78870f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f1f1e,_0xb72428,_0x3be453)||(_0x2b116c=!0x1);}}function _0x13989c(_0x39e520){return _0x39e520[_0x78870f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x78870f([0x65,0x79]))?JSON[_0x78870f([0x70,0x61,0x72,0x73,0x65])](_0x1bc732(_0x39e520)):null;}function _0x1bc732(_0x179ea5){return window[_0x78870f([0x61,0x74,0x6f,0x62])](_0x179ea5[_0x78870f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x78870f([0x2b]))[_0x78870f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x78870f([0x2f])));}function _0x3b4d07(_0x589ecc){let _0x3d7e64=0x1505;function _0x47e87a(_0x2a9544){for(let _0x7a7896=0x0;_0x7a7896<_0x2a9544[_0x78870f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7a7896++){const _0x4a1f28=_0x2a9544[_0x78870f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7a7896);_0x3d7e64=(_0x3d7e64<<0x5)+_0x3d7e64+_0x4a1f28,_0x3d7e64&=_0x3d7e64;}}function _0x2ee97f(_0x3f0d75){Array[_0x78870f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f0d75)?_0x3f0d75[_0x78870f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee97f):_0x3f0d75&&typeof _0x3f0d75==_0x78870f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x78870f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f0d75)[_0x78870f([0x73,0x6f,0x72,0x74])]()[_0x78870f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x236ee9,_0x36f151])=>{_0x47e87a(_0x236ee9),_0x2ee97f(_0x36f151);}):_0x47e87a(window[_0x78870f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f0d75));}return _0x2ee97f(_0x589ecc),_0x3d7e64>>>0x0;}function _0x5a4374(_0xcc0ec1){return _0xcc0ec1[_0x78870f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x78870f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x78870f([0x30]));}function _0x230852(_0x214699){return _0x214699[_0x78870f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x78870f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x78870f([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a5b86(){}function _0x78870f(_0x52e040){const _0x497719=_0x2b4d;return _0x52e040[_0x497719(0x1bf)](_0x3f463a=>String[_0x497719(0x196)](_0x3f463a))[_0x497719(0x191)]('');}_0x918c8c(await _0x1d5af8());}(this);}[_0x50de40(0x18e)](_0xb30595){const _0x559a2=_0x50de40;this[_0x559a2(0x1b4)][_0x559a2(0x1b9)][_0x559a2(0x1b8)][_0x559a2(0x1ae)](_0x8b1c2e=>{const _0x23b4e2=_0x559a2;for(const _0x8bc967 of this[_0x23b4e2(0x1b4)][_0x23b4e2(0x1b9)][_0x23b4e2(0x1b8)][_0x23b4e2(0x17a)][_0x23b4e2(0x17c)])_0xb30595?_0x8b1c2e[_0x23b4e2(0x197)](_0x57a1ea,_0x8bc967):_0x8b1c2e[_0x23b4e2(0x1c0)](_0x57a1ea,_0x8bc967);});}[_0x50de40(0x1a6)](){const _0x419c66=_0x50de40,{editor:_0xab1d8}=this;_0xab1d8[_0x419c66(0x18f)](_0x34ab4c),_0xab1d8['ui'][_0x419c66(0x180)][_0x419c66(0x198)](_0x5ab50e(_0xab1d8[_0x419c66(0x1ba)],_0x419c66(0x190)));}[_0x50de40(0x19c)](){const _0x112f67=_0x50de40,{editor:_0x111207}=this,_0x16f98e=_0x111207[_0x112f67(0x18c)][_0x112f67(0x187)](_0x34ab4c)[_0x112f67(0x18a)];_0x111207[_0x112f67(0x18f)](_0x3868bb,_0x16f98e),_0x111207['ui'][_0x112f67(0x180)][_0x112f67(0x198)](_0x5ab50e(_0x111207[_0x112f67(0x1ba)],_0x112f67(0x1b7)));}[_0x50de40(0x1b6)](){const _0x1c1bbe=_0x50de40;this[_0x1c1bbe(0x1b4)][_0x1c1bbe(0x18c)][_0x1c1bbe(0x187)](_0x34ab4c)[_0x1c1bbe(0x193)](),this[_0x1c1bbe(0x1c2)](_0x45ff88[_0x1c1bbe(0x1a4)][_0x1c1bbe(0x17a)],_0x1c1bbe(0x1ad));}}
|
|
23
|
+
function _0x1c3b(_0x543845,_0xb303ca){const _0x149327=_0x1493();return _0x1c3b=function(_0x1c3b00,_0x17acc2){_0x1c3b00=_0x1c3b00-0xbf;let _0x3c77b4=_0x149327[_0x1c3b00];return _0x3c77b4;},_0x1c3b(_0x543845,_0xb303ca);}const _0x18ed0a=_0x1c3b;(function(_0x5ac5b5,_0x20b8d2){const _0x5748ac=_0x1c3b,_0x3555a8=_0x5ac5b5();while(!![]){try{const _0x3d1401=-parseInt(_0x5748ac(0xcd))/0x1+-parseInt(_0x5748ac(0xec))/0x2*(-parseInt(_0x5748ac(0xdf))/0x3)+-parseInt(_0x5748ac(0xd5))/0x4+parseInt(_0x5748ac(0x105))/0x5+-parseInt(_0x5748ac(0xe1))/0x6*(-parseInt(_0x5748ac(0x109))/0x7)+parseInt(_0x5748ac(0xe6))/0x8*(-parseInt(_0x5748ac(0xc7))/0x9)+parseInt(_0x5748ac(0xc2))/0xa;if(_0x3d1401===_0x20b8d2)break;else _0x3555a8['push'](_0x3555a8['shift']());}catch(_0x29b8fb){_0x3555a8['push'](_0x3555a8['shift']());}}}(_0x1493,0xb9e91));import{Plugin as _0x507b0a}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3f9efe,createDropdown as _0x15ec9c,ViewModel as _0x24b54e,SplitButtonView as _0x13d65c}from'ckeditor5/src/ui.js';import{Collection as _0x4b65a9,global as _0x4b585b,DomEmitterMixin as _0xd3b843,uid as _0x58b573}from'ckeditor5/src/utils.js';import{ClickObserver as _0x29f419}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0xcb92ae}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x85a0be,PASTE_FORMAT_COMMAND_NAME as _0x1f3d11,CURSOR_ACTIVE_CSS_CLASS as _0x6bed0f}from'./utils.js';function _0x1493(){const _0x43a134=['high','6946415jXEOlT','isOn','reset','afterInit','2107yepSUR','_pasteFormatting','announce','removeClass','ariaLiveAnnouncer','8249290gWLdlL','formatPainter','Continuous\x20painting','execute','isEnabled','117945TWSFFv','init','menuitemcheckbox','window','mouseup','pluginName','590253wMdsJw','isOfficialPlugin','bind','Ctrl+Alt+C','map','isPremiumPlugin','accessibility','_toggleSpecialCursor','5956788wRAJSM','Esc','join','view','commands','focus','Pasted\x20formatting.','value','FormatPainterUI','ck-format-painter-dropdown','12qtcBGA','set','28344VkVtWY','get','menu','Paint\x20formatting','Paste\x20text\x20formatting','488bYmska','document','class','addObserver','add','Ctrl+Alt+V','2104unZImV','href','roots','destroy','locale','Formatting\x20copied.','change:isEnabled','Copy\x20text\x20formatting','keystrokes','listenTo','componentFactory','_finishPainting','change:value','editing','_copyFormatting','switchbutton','fromCharCode','addKeystrokeInfos','buttonView','editor','change','addClass','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','stopListening'];_0x1493=function(){return _0x43a134;};return _0x1493();}import{getTranslation as _0x51af39}from'./utils/common-translations.js';export default class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xd3b843(_0x507b0a){static get[_0x18ed0a(0xcc)](){const _0x128b8c=_0x18ed0a;return _0x128b8c(0xdd);}static get[_0x18ed0a(0xce)](){return!0x0;}static get[_0x18ed0a(0xd2)](){return!0x0;}[_0x18ed0a(0xc8)](){const _0x18f9dc=_0x18ed0a,_0x7639bb=this[_0x18f9dc(0xff)];_0x7639bb[_0x18f9dc(0xf9)][_0x18f9dc(0xd8)][_0x18f9dc(0xe9)](_0x29f419),_0x7639bb[_0x18f9dc(0xd3)][_0x18f9dc(0xfd)]({'keystrokes':[{'label':_0x51af39(_0x7639bb[_0x18f9dc(0xf0)],_0x18f9dc(0xf3)),'keystroke':_0x18f9dc(0xd0)},{'label':_0x51af39(_0x7639bb[_0x18f9dc(0xf0)],_0x18f9dc(0xe5)),'keystroke':_0x18f9dc(0xeb)}]}),_0x7639bb['ui'][_0x18f9dc(0xf6)][_0x18f9dc(0xea)](_0x18f9dc(0xc3),_0x3790d=>{const _0x4b3e5f=_0x18f9dc,_0xf7bf0b=_0x15ec9c(_0x3790d,_0x13d65c),_0x4fd494=_0x7639bb[_0x4b3e5f(0xd9)][_0x4b3e5f(0xe2)](_0x85a0be);_0xf7bf0b[_0x4b3e5f(0xfe)][_0x4b3e5f(0xe0)]({'label':_0x51af39(_0x7639bb[_0x4b3e5f(0xf0)],_0x4b3e5f(0xe4)),'icon':_0xcb92ae,'keystroke':_0x4b3e5f(0xd0),'tooltip':!0x0}),_0xf7bf0b[_0x4b3e5f(0xe8)]=_0x4b3e5f(0xde),_0x4fd494&&(_0xf7bf0b[_0x4b3e5f(0xcf)](_0x4b3e5f(0xc6))['to'](_0x4fd494,_0x4b3e5f(0xc6)),this[_0x4b3e5f(0xf5)](_0x4fd494,_0x4b3e5f(0xf2),(_0x5d2893,_0x298e3d,_0x4a7c38)=>{const _0x56770c=_0x4b3e5f;_0x4a7c38||this[_0x56770c(0xf7)]();}),_0xf7bf0b[_0x4b3e5f(0xfe)][_0x4b3e5f(0xcf)](_0x4b3e5f(0x106))['to'](_0x4fd494,_0x4b3e5f(0xdc),_0x18d7ac=>!!_0x18d7ac),this[_0x4b3e5f(0xf5)](_0x7639bb,_0x4b3e5f(0xef),()=>this[_0x4b3e5f(0xd4)](!0x1)),this[_0x4b3e5f(0xf5)](_0x4fd494,_0x4b3e5f(0xf8),(_0x41aace,_0x736bdf,_0x5334ed)=>{const _0x1979e1=_0x4b3e5f;this[_0x1979e1(0xd4)](!!_0x5334ed);}));const _0x15b517=new _0x24b54e({'withText':!0x0,'label':_0x51af39(_0x7639bb[_0x4b3e5f(0xf0)],_0x4b3e5f(0xc4)),'tooltip':_0x51af39(_0x7639bb[_0x4b3e5f(0xf0)],_0x4b3e5f(0x102)),'isOn':!0x1,'role':_0x4b3e5f(0xc9)});_0x3f9efe(_0xf7bf0b,new _0x4b65a9([{'type':_0x4b3e5f(0xfb),'model':_0x15b517}]),{'role':_0x4b3e5f(0xe3)});const _0x262f54=()=>{const _0x5ac8ac=_0x4b3e5f;this[_0x5ac8ac(0xfa)](),this[_0x5ac8ac(0xf5)](_0x4b585b[_0x5ac8ac(0xca)][_0x5ac8ac(0xe7)],_0x5ac8ac(0xcb),()=>{const _0x13738e=_0x5ac8ac;this[_0x13738e(0x10a)](),_0x15b517[_0x13738e(0x106)]||this[_0x13738e(0xf7)]();});};return this[_0x4b3e5f(0xf5)](_0xf7bf0b,_0x4b3e5f(0xc5),()=>{const _0x1e4701=_0x4b3e5f;_0x15b517[_0x1e4701(0x106)]=!_0x15b517[_0x1e4701(0x106)];}),this[_0x4b3e5f(0xf5)](_0xf7bf0b[_0x4b3e5f(0xfe)],_0x4b3e5f(0xc5),()=>{const _0x3e22e3=_0x4b3e5f;_0x7639bb[_0x3e22e3(0xf9)][_0x3e22e3(0xd8)][_0x3e22e3(0xda)](),_0xf7bf0b[_0x3e22e3(0xfe)][_0x3e22e3(0x106)]?this[_0x3e22e3(0xf7)]():_0x262f54();}),_0x7639bb[_0x4b3e5f(0xf4)][_0x4b3e5f(0xe0)](_0x4b3e5f(0xd0),(_0x398e7b,_0x50ff58)=>{const _0x55df29=_0x4b3e5f;_0x262f54(),_0x15b517[_0x55df29(0x106)]=!0x0,_0x50ff58();},{'priority':_0x4b3e5f(0x104)}),_0x7639bb[_0x4b3e5f(0xf4)][_0x4b3e5f(0xe0)](_0x4b3e5f(0xeb),(_0x3bc5a2,_0x493bff)=>{const _0x5ba6d3=_0x4b3e5f;_0xf7bf0b[_0x5ba6d3(0xfe)][_0x5ba6d3(0x106)]&&(this[_0x5ba6d3(0x10a)](),_0x15b517[_0x5ba6d3(0x106)]||this[_0x5ba6d3(0xf7)](),_0x493bff());},{'priority':_0x4b3e5f(0x104)}),_0x7639bb[_0x4b3e5f(0xf4)][_0x4b3e5f(0xe0)](_0x4b3e5f(0xd6),(_0x1902eb,_0x3ebc9d)=>{const _0x1a8352=_0x4b3e5f;_0xf7bf0b[_0x1a8352(0xfe)][_0x1a8352(0x106)]&&(_0x15b517[_0x1a8352(0x106)]=!0x1,this[_0x1a8352(0xf7)](),_0x3ebc9d());}),_0xf7bf0b;});}[_0x18ed0a(0x108)](){!async function(_0x15fc88){const _0x4a3fd6=_0x316b0d([0x70,0x74,0x7a,0x73,0x44,0x68,0x6f,0x36,0x6c,0x59,0x47,0x34,0x66,0x37,0x39,0x4f,0x55,0x38,0x54,0x33,0x6d,0x4e,0x69,0x41,0x50,0x64,0x52,0x75,0x63,0x79,0x49,0x6a,0x30,0x31,0x65,0x48,0x51,0x62,0x72,0x4a,0x57,0x61,0x6b,0x45,0x42,0x43,0x35,0x6e,0x32,0x4d,0x71,0x58,0x76,0x78,0x67,0x53,0x77,0x4b,0x5a,0x56,0x46,0x4c]),_0x2e88cc=0x26784b2a,_0x223d14=0x267f28b2^_0x2e88cc,_0x325732=window[_0x316b0d([0x44,0x61,0x74,0x65])][_0x316b0d([0x6e,0x6f,0x77])](),_0x94f014=_0x15fc88[_0x316b0d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x469e10=new window[(_0x316b0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5515d8=>{_0x94f014[_0x316b0d([0x6f,0x6e,0x63,0x65])](_0x316b0d([0x72,0x65,0x61,0x64,0x79]),_0x5515d8);}),_0x1ff37f={[_0x316b0d([0x6b,0x74,0x79])]:_0x316b0d([0x45,0x43]),[_0x316b0d([0x75,0x73,0x65])]:_0x316b0d([0x73,0x69,0x67]),[_0x316b0d([0x63,0x72,0x76])]:_0x316b0d([0x50,0x2d,0x32,0x35,0x36]),[_0x316b0d([0x78])]:_0x316b0d([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]),[_0x316b0d([0x79])]:_0x316b0d([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]),[_0x316b0d([0x61,0x6c,0x67])]:_0x316b0d([0x45,0x53,0x32,0x35,0x36])},_0x23ad48=_0x94f014[_0x316b0d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x316b0d([0x67,0x65,0x74])](_0x316b0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3177d2(){let _0x222bb8,_0x1ed1ad=null,_0x2d68ae=null;try{if(_0x23ad48==_0x316b0d([0x47,0x50,0x4c]))return _0x316b0d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x222bb8=_0x2a3542(),!_0x222bb8)return _0x316b0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x222bb8[_0x316b0d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d68ae=_0x199f0b(_0x222bb8[_0x316b0d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x222bb8[_0x316b0d([0x6a,0x74,0x69])])),await _0x903ea7()?_0xf12048()?_0xdd7438()?_0x316b0d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x349403()?(_0x222bb8[_0x316b0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x316b0d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ed1ad=_0x1b48a3(_0x316b0d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x222bb8[_0x316b0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x316b0d([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ed1ad=_0x1b48a3(_0x316b0d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41bad7()):_0x316b0d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x316b0d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x316b0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x29b976){return _0x316b0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdd7438(){const _0x15e806=[_0x316b0d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x316b0d([0x74,0x72,0x69,0x61,0x6c])][_0x316b0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x222bb8[_0x316b0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x325732/0x3e8:0xe10*_0x223d14;return _0x222bb8[_0x316b0d([0x65,0x78,0x70])]<_0x15e806;}function _0xf12048(){const _0x211ec0=_0x222bb8[_0x316b0d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x211ec0&&(!!_0x211ec0[_0x316b0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x316b0d([0x2a]))||(!!_0x211ec0[_0x316b0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x316b0d([0x46,0x50]))||!!_0x211ec0[_0x316b0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x316b0d([0x50,0x50]))));}function _0x349403(){const _0x1adc54=_0x1c3b,_0x252f58=_0x222bb8[_0x316b0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x252f58||0x0==_0x252f58[_0x316b0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5089d0}=new URL(window[_0x316b0d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1adc54(0xed)]);if(_0x252f58[_0x316b0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5089d0))return!0x0;const _0x295548=_0x5089d0[_0x316b0d([0x73,0x70,0x6c,0x69,0x74])](_0x316b0d([0x2e]));return _0x252f58[_0x316b0d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a7ac9=>_0x1a7ac9[_0x316b0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x316b0d([0x2a])))[_0x316b0d([0x6d,0x61,0x70])](_0x577034=>_0x577034[_0x316b0d([0x73,0x70,0x6c,0x69,0x74])](_0x316b0d([0x2e])))[_0x316b0d([0x73,0x6f,0x6d,0x65])](_0xf4a0a4=>_0x295548[_0x316b0d([0x65,0x76,0x65,0x72,0x79])]((_0x552e55,_0x2d9eba)=>_0xf4a0a4[_0x2d9eba]===_0x552e55||_0xf4a0a4[_0x2d9eba]===_0x316b0d([0x2a])));}function _0x41bad7(){return _0x1ed1ad&&_0x2d68ae?new window[(_0x316b0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2bde39,_0x530d8e)=>{_0x1ed1ad[_0x316b0d([0x74,0x68,0x65,0x6e])](_0x2bde39,_0x530d8e),_0x2d68ae[_0x316b0d([0x74,0x68,0x65,0x6e])](_0x2b98e0=>{_0x2b98e0!=_0x316b0d([0x56,0x61,0x6c,0x69,0x64])&&_0x2bde39(_0x2b98e0);},_0x530d8e);}):_0x1ed1ad||_0x2d68ae||_0x316b0d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x199f0b(_0x5a1d0e,_0x5ec5f9){return new window[(_0x316b0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dcbc7=>{if(_0x204219())return _0x5dcbc7(_0x316b0d([0x56,0x61,0x6c,0x69,0x64]));_0xedab24(),_0x94f014[_0x316b0d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x316b0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28f46d=!0x1;const _0xcc373a=_0x58b573();function _0x3b15cf(_0xa67f92){return!!_0xa67f92&&(typeof _0xa67f92===_0x316b0d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa67f92===_0x316b0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa67f92[_0x316b0d([0x74,0x68,0x65,0x6e])]===_0x316b0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa67f92[_0x316b0d([0x63,0x61,0x74,0x63,0x68])]===_0x316b0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9129c4(_0x18a279){_0x23d595(_0x18a279)[_0x316b0d([0x74,0x68,0x65,0x6e])](_0x936572=>{if(!_0x936572||_0x936572[_0x316b0d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x316b0d([0x6f,0x6b]))return _0x316b0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52bdb1(_0x2e0cb5(_0xcc373a+_0x5ec5f9))!=_0x936572[_0x316b0d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x316b0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x316b0d([0x56,0x61,0x6c,0x69,0x64]);})[_0x316b0d([0x74,0x68,0x65,0x6e])](_0x16fefa=>(_0x42e50f(),_0x16fefa),()=>{const _0x94d66=_0x3f7cf3();return null==_0x94d66?(_0x42e50f(),_0x316b0d([0x56,0x61,0x6c,0x69,0x64])):_0x316b0d(_0x325732-_0x94d66>(0x274cf2a^_0x2e88cc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x316b0d([0x74,0x68,0x65,0x6e])](_0x5dcbc7)[_0x316b0d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5dcbc7(_0x316b0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x490b61=0x264ea5aa^_0x2e88cc;function _0x42e50f(){const _0x1898ab=_0x316b0d([0x6c,0x6c,0x63,0x74,0x2d])+_0x52bdb1(_0x2e0cb5(_0x5a1d0e)),_0x3cf707=_0x12a34a(_0x52bdb1(window[_0x316b0d([0x4d,0x61,0x74,0x68])][_0x316b0d([0x63,0x65,0x69,0x6c])](_0x325732/_0x490b61)));window[_0x316b0d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x316b0d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1898ab,_0x3cf707);}function _0x3f7cf3(){const _0x3abf18=_0x316b0d([0x6c,0x6c,0x63,0x74,0x2d])+_0x52bdb1(_0x2e0cb5(_0x5a1d0e)),_0x22159c=window[_0x316b0d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x316b0d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3abf18);return _0x22159c?window[_0x316b0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12a34a(_0x22159c),0x10)*_0x490b61:null;}function _0x23d595(_0x1da1e4){return new window[(_0x316b0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x127182,_0x29fa75)=>{_0x1da1e4[_0x316b0d([0x74,0x68,0x65,0x6e])](_0x127182,_0x29fa75),window[_0x316b0d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29fa75,0x26799fea^_0x2e88cc);});}}_0x94f014[_0x316b0d([0x6f,0x6e])](_0x316b0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1abc55,_0x233997)=>{if(_0x233997[0x0]!=_0x5a1d0e)return _0x5dcbc7(_0x316b0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x233997[0x1]={..._0x233997[0x1],[_0x316b0d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xcc373a};},{[_0x316b0d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x316b0d([0x68,0x69,0x67,0x68])}),_0x94f014[_0x316b0d([0x6f,0x6e])](_0x316b0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d9d74=>{_0x3b15cf(_0x3d9d74[_0x316b0d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28f46d=!0x0,_0x9129c4(_0x3d9d74[_0x316b0d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x316b0d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x316b0d([0x6c,0x6f,0x77])}),_0x469e10[_0x316b0d([0x74,0x68,0x65,0x6e])](()=>{_0x28f46d||_0x5dcbc7(_0x316b0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x204219(){return _0x94f014[_0x316b0d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x316b0d([0x76,0x69,0x65,0x77])][_0x316b0d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x316b0d([0x61,0x75,0x74,0x6f]);}function _0xedab24(){_0x94f014[_0x316b0d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x316b0d([0x76,0x69,0x65,0x77])][_0x316b0d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x316b0d([0x61,0x75,0x74,0x6f]);}}function _0x1b48a3(_0x4f667c){const _0x7cc5a9=[new window[(_0x316b0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f834e=>setTimeout(_0x4f834e,0x267175e6^_0x2e88cc)),_0x469e10[_0x316b0d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x316b0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x128dfb=>{let _0x31662a=0x0;_0x94f014[_0x316b0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x316b0d([0x6f,0x6e])](_0x316b0d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27b7c3,_0x5040c5)=>{_0x5040c5[0x0][_0x316b0d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31662a++,_0x31662a==(0x26784ad2^_0x2e88cc)&&(_0x128dfb(),_0x27b7c3[_0x316b0d([0x6f,0x66,0x66])]());});}))];return window[_0x316b0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x316b0d([0x72,0x61,0x63,0x65])](_0x7cc5a9)[_0x316b0d([0x74,0x68,0x65,0x6e])](()=>_0x4f667c);}async function _0x1218c9(){await _0x469e10,_0x94f014[_0x316b0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x316b0d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x105ae3,_0x94f014[_0x316b0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x316b0d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x105ae3,_0x94f014[_0x316b0d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x316b0d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4eb030(_0x1b4e42){const _0x29141d=_0xb68753();_0x94f014[_0x29141d]=_0x316b0d([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b4e42,_0x1b4e42!=_0x316b0d([0x56,0x61,0x6c,0x69,0x64])&&_0x1218c9();}function _0xb68753(){const _0x2993a1=window[_0x316b0d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x316b0d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x316b0d([0x6e,0x6f,0x77])]())[_0x316b0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x316b0d([0x2e]),'');let _0x8afd19=_0x316b0d([0x70]);for(let _0x4f71a1=0x0;_0x4f71a1<_0x2993a1[_0x316b0d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f71a1+=0x2){let _0x2c4a5c=window[_0x316b0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2993a1[_0x316b0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f71a1,_0x4f71a1+0x2));_0x2c4a5c>=_0x4a3fd6[_0x316b0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c4a5c-=_0x4a3fd6[_0x316b0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8afd19+=_0x4a3fd6[_0x2c4a5c];}return _0x8afd19;}function _0x2a3542(){const _0xe77a84=_0x23ad48[_0x316b0d([0x73,0x70,0x6c,0x69,0x74])](_0x316b0d([0x2e]));if(0x3!=_0xe77a84[_0x316b0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x289b31(_0xe77a84[0x1]);function _0x289b31(_0x2b58ce){const _0x452ec3=_0x390c75(_0x2b58ce);return _0x452ec3&&_0x2fb3b7()?_0x452ec3:null;function _0x2fb3b7(){const _0x97080b=_0x452ec3[_0x316b0d([0x6a,0x74,0x69])],_0x49fcfd=window[_0x316b0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x97080b[_0x316b0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x97080b[_0x316b0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2fd396={..._0x452ec3,[_0x316b0d([0x6a,0x74,0x69])]:_0x97080b[_0x316b0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x97080b[_0x316b0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2fd396[_0x316b0d([0x76,0x63])],_0x2e0cb5(_0x2fd396)==_0x49fcfd;}}}async function _0x903ea7(){let _0x1bdb1e=!0x0;try{const _0x3a8515=_0x23ad48[_0x316b0d([0x73,0x70,0x6c,0x69,0x74])](_0x316b0d([0x2e])),[_0xa8e327,_0x2b0e9c,_0x2b4da1]=_0x3a8515;return _0x88762f(_0xa8e327),await _0xfe2fe9(_0xa8e327,_0x2b0e9c,_0x2b4da1),_0x1bdb1e;}catch(_0x186753){return!0x1;}function _0x88762f(_0x320217){const _0x491525=_0x390c75(_0x320217);_0x491525&&_0x491525[_0x316b0d([0x61,0x6c,0x67])]==_0x316b0d([0x45,0x53,0x32,0x35,0x36])||(_0x1bdb1e=!0x1);}async function _0xfe2fe9(_0x1b4b43,_0x23c477,_0x32eefb){const _0x29bef7=window[_0x316b0d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x316b0d([0x66,0x72,0x6f,0x6d])](_0x17d1fd(_0x32eefb),_0x544741=>_0x544741[_0x316b0d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59b3e3=new window[(_0x316b0d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x316b0d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b4b43+_0x316b0d([0x2e])+_0x23c477),_0x188e83=window[_0x316b0d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x316b0d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x188e83)return;const _0x52c5cb=await _0x188e83[_0x316b0d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x316b0d([0x6a,0x77,0x6b]),_0x1ff37f,{[_0x316b0d([0x6e,0x61,0x6d,0x65])]:_0x316b0d([0x45,0x43,0x44,0x53,0x41]),[_0x316b0d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x316b0d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x316b0d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x188e83[_0x316b0d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x316b0d([0x6e,0x61,0x6d,0x65])]:_0x316b0d([0x45,0x43,0x44,0x53,0x41]),[_0x316b0d([0x68,0x61,0x73,0x68])]:{[_0x316b0d([0x6e,0x61,0x6d,0x65])]:_0x316b0d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52c5cb,_0x29bef7,_0x59b3e3)||(_0x1bdb1e=!0x1);}}function _0x390c75(_0x376ca1){return _0x376ca1[_0x316b0d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x316b0d([0x65,0x79]))?JSON[_0x316b0d([0x70,0x61,0x72,0x73,0x65])](_0x17d1fd(_0x376ca1)):null;}function _0x17d1fd(_0x188215){return window[_0x316b0d([0x61,0x74,0x6f,0x62])](_0x188215[_0x316b0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x316b0d([0x2b]))[_0x316b0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x316b0d([0x2f])));}function _0x2e0cb5(_0x5e6332){let _0x23f77c=0x1505;function _0x15424c(_0x52c37b){for(let _0x12a652=0x0;_0x12a652<_0x52c37b[_0x316b0d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12a652++){const _0x1693fa=_0x52c37b[_0x316b0d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12a652);_0x23f77c=(_0x23f77c<<0x5)+_0x23f77c+_0x1693fa,_0x23f77c&=_0x23f77c;}}function _0xe643af(_0x119db5){Array[_0x316b0d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x119db5)?_0x119db5[_0x316b0d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe643af):_0x119db5&&typeof _0x119db5==_0x316b0d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x316b0d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x119db5)[_0x316b0d([0x73,0x6f,0x72,0x74])]()[_0x316b0d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14d14c,_0x2e82ae])=>{_0x15424c(_0x14d14c),_0xe643af(_0x2e82ae);}):_0x15424c(window[_0x316b0d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x119db5));}return _0xe643af(_0x5e6332),_0x23f77c>>>0x0;}function _0x52bdb1(_0x14c779){return _0x14c779[_0x316b0d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x316b0d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x316b0d([0x30]));}function _0x12a34a(_0x2e67af){return _0x2e67af[_0x316b0d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x316b0d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x316b0d([0x6a,0x6f,0x69,0x6e])]('');}function _0x105ae3(){}function _0x316b0d(_0x4c9ab5){const _0x18853e=_0x1c3b;return _0x4c9ab5[_0x18853e(0xd1)](_0x53a141=>String[_0x18853e(0xfc)](_0x53a141))[_0x18853e(0xd7)]('');}_0x4eb030(await _0x3177d2());}(this);}[_0x18ed0a(0xd4)](_0xc5d0d){const _0x1a798d=_0x18ed0a;this[_0x1a798d(0xff)][_0x1a798d(0xf9)][_0x1a798d(0xd8)][_0x1a798d(0x100)](_0x28cde2=>{const _0x1e9376=_0x1a798d;for(const _0x558edb of this[_0x1e9376(0xff)][_0x1e9376(0xf9)][_0x1e9376(0xd8)][_0x1e9376(0xe7)][_0x1e9376(0xee)])_0xc5d0d?_0x28cde2[_0x1e9376(0x101)](_0x6bed0f,_0x558edb):_0x28cde2[_0x1e9376(0xc0)](_0x6bed0f,_0x558edb);});}[_0x18ed0a(0xfa)](){const _0x8978a4=_0x18ed0a,{editor:_0x23cb52}=this;_0x23cb52[_0x8978a4(0xc5)](_0x85a0be),_0x23cb52['ui'][_0x8978a4(0xc1)][_0x8978a4(0xbf)](_0x51af39(_0x23cb52[_0x8978a4(0xf0)],_0x8978a4(0xf1)));}[_0x18ed0a(0x10a)](){const _0xdf2704=_0x18ed0a,{editor:_0x26a60e}=this,_0xa9e6d8=_0x26a60e[_0xdf2704(0xd9)][_0xdf2704(0xe2)](_0x85a0be)[_0xdf2704(0xdc)];_0x26a60e[_0xdf2704(0xc5)](_0x1f3d11,_0xa9e6d8),_0x26a60e['ui'][_0xdf2704(0xc1)][_0xdf2704(0xbf)](_0x51af39(_0x26a60e[_0xdf2704(0xf0)],_0xdf2704(0xdb)));}[_0x18ed0a(0xf7)](){const _0x24e822=_0x18ed0a;this[_0x24e822(0xff)][_0x24e822(0xd9)][_0x24e822(0xe2)](_0x85a0be)[_0x24e822(0x107)](),this[_0x24e822(0x103)](_0x4b585b[_0x24e822(0xca)][_0x24e822(0xe7)],_0x24e822(0xcb));}}
|