@ckeditor/ckeditor5-format-painter 46.0.1-alpha.11 → 46.0.1-alpha.13
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"Continuous painting":"Continuous painting","Copy text formatting":"Copy text formatting","Formatting copied.":"Formatting copied.","Keeps the painter on after setting the formatting.":"Keeps the painter on after setting the formatting.","Paint formatting":"Paint formatting","Paste text formatting":"Paste text formatting","Pasted formatting.":"Pasted formatting."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e}).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),I=s()(i()),g=c()(u);I.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${g}) 3 3,text}`,""]);const f=I},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(l);else{var d=i(l,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:d,references:1})}s.push(g)}return s}function i(t,n){var e=n.domAPI(n);e.update(t);return function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap&&n.supports===t.supports&&n.layer===t.layer)return;e.update(t=n)}else e.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=e(o[s]);n[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var I=e(o[u]);0===n[I].references&&(n[I].updater(),n.splice(I,1))}o=c}}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>W,FormatPainterEditing:()=>N,FormatPainterUI:()=>V,PasteFormatCommand:()=>A});var t=e(782);function n(t,e){const r=o();return(n=function(t,n){return r[t-=130]})(t,e)}const i=n;function o(){const t=["2345481hyTojL","ck-format-painter-active","928568UaMHZa","pasteFormat","copyFormat","8yHEtNg","225164hFFoep","5192350cscaeT","12jNKQDY","835012JGPOpG","507795yadKVy","945826EBfMla"];return(o=function(){return t})()}!function(t){const e=n,r=t();for(;;)try{if(525238===-parseInt(e(138))/1+-parseInt(e(141))/2+-parseInt(e(130))/3+-parseInt(e(134))/4+parseInt(e(139))/5+parseInt(e(140))/6*(parseInt(e(131))/7)+parseInt(e(137))/8*(parseInt(e(132))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);const s=i(136),a=i(135),c=i(133),u=g;function I(){const t=["108139KJNnpE","fromEntries","72oHeFPG","commands","195258iNeuyI","from","isFormatting","2868QVyJLx","_getFormattingAttributes","get","execute","reset","65abeENA","selection","getAttributeProperties","editor","543100vAZojs","11527720CZWkOB","change:isEnabled","value","212337UmxfmX","change:value","2536LFsIWN","filter","schema","model","refresh","getAttributes","466788jpfRNW","document"];return(I=function(){return t})()}function g(t,n){const e=I();return(g=function(t,n){return e[t-=445]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(332379===-parseInt(n(463))/1+-parseInt(n(449))/2+parseInt(n(470))/3*(parseInt(n(455))/4)+-parseInt(n(445))/5*(parseInt(n(467))/6)+-parseInt(n(461))/7*(parseInt(n(465))/8)+-parseInt(n(453))/9+parseInt(n(450))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class f extends t.Command{constructor(t){const n=g;super(t),this[n(452)]=void 0,this.on(n(451),(t,e,r)=>{r||this[n(474)]()}),this.on(n(454),()=>t[n(466)][n(472)](a)[n(459)]())}[u(473)](){const t=u;this[t(452)]=this[t(471)]()}[u(474)](){this[u(452)]=void 0}[u(471)](){const t=u,n=this[t(448)][t(458)],e=n[t(462)][t(446)];return Object[t(464)](Array[t(468)](e[t(460)]())[t(456)](([e])=>n[t(457)][t(447)](e)[t(469)]))}}var l=e(584);const d=p;function M(){const t=["getLastPosition","16139904ltJEkv","3012023VtLyUb","getFirstPosition","16610sINHSj","_getFormattingAttributes","_createRangeOnEntireWord","isCollapsed","word","createSelection","createRange","_removeFormatCommand","getItems","schema","getValidRanges","getRanges","2DzeKWv","from","_getFormattingItems","setAttribute","editor","43592pWVkLP","setSelection","createRangeOn","getAttributeProperties","document","model","backward","removeSelectionAttribute","11tJOSRn","execute","removeAttribute","687839jmrwYL","4299282WlvqaY","getAttributes","modifySelection","isFormatting","8mUhtAd","forward","change","1653610duovqy","getSelectedBlocks","isBlock","219UBjlMt","selection","1488oOjgam"];return(M=function(){return t})()}function p(t,n){const e=M();return(p=function(t,n){return e[t-=454]})(t,n)}!function(t){const n=p,e=t();for(;;)try{if(510899===parseInt(n(467))/1*(-parseInt(n(497))/2)+-parseInt(n(478))/3*(-parseInt(n(456))/4)+parseInt(n(485))/5*(-parseInt(n(480))/6)+parseInt(n(483))/7*(-parseInt(n(472))/8)+parseInt(n(468))/9+parseInt(n(475))/10*(-parseInt(n(464))/11)+parseInt(n(482))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(M);class A extends t.Command{constructor(t){const n=p;super(t),this[n(492)]=new m(t)}[d(465)](t={}){const n=d,e=this[n(455)][n(461)],r=e[n(460)][n(479)],i=Array[n(498)](r[n(496)]()),o=r[n(488)]?[this[n(487)](e,r)]:i;e[n(474)](r=>{const s=n;r[s(457)](o),this[s(492)][s(465)]();for(const n in t)for(const i of e[s(494)][s(495)](o,n))r[s(454)](n,t[n],i);r[s(457)](i)})}[d(487)](t,n){const e=d,r=t[e(490)](n);t[e(470)](r,{unit:e(489),direction:e(462)});const i=r[e(484)]();t[e(470)](r,{unit:e(489),direction:e(473)});const o=r[e(481)]();return t[e(491)](i,o)}}class m extends t.Command{[d(465)](){const t=d,n=this[t(455)][t(461)],e=n[t(494)];n[t(474)](r=>{const i=t;for(const t of this[i(499)](n[i(460)][i(479)],e))if(t.is(i(479)))for(const n of this[i(486)](t,e))r[i(463)](n);else{const n=r[i(458)](t);for(const o of this[i(486)](t,e))r[i(466)](o,n)}})}*[d(499)](t,n){const e=d,r=t=>!!(0,l.first)(this[e(486)](t,n));for(const i of t[e(496)]())for(const t of i[e(493)]())!n[e(477)](t)&&r(t)&&(yield t);for(const n of t[e(476)]())r(n)&&(yield n);r(t)&&(yield t)}*[d(486)](t,n){const e=d;for(const[r]of t[e(469)]()){const t=n[e(459)](r);t&&t[e(471)]&&(yield r)}}}const w=D;function h(){const t=["formatPainterLicenseKeyInvalid","formatPainterLicenseKeyValid","formatPainterLicenseKeyEvaluationLimit","147IsKDhG","domainLimit","expired","_licenseKeyCheckInterval","formatPainterLicenseKeyExpired","31396FinHcu","6830109MhjtHQ","formatPainterLicenseKeyTrialLimit","config","editor","5275830RdEEyl","3860790iwEYaN","invalid","init","formatPainterLicenseKeyDomainLimit","isPremiumPlugin","9GYwqbs","licenseKey","pluginName","evaluationLimit","trialLimit","add","625201FbxZvS","1725944uFHQBG","commands","usageLimit","FormatPainterEditing","formatPainterLicenseKeyNotAllowed","destroy","formatPainterLicenseKeyUsageLimit","featureNotAllowed","_showLicenseError","FormatPainter","get","isOfficialPlugin","165368wmwBfL"];return(h=function(){return t})()}function D(t,n){const e=h();return(D=function(t,n){return e[t-=367]})(t,n)}!function(t){const n=D,e=t();for(;;)try{if(683335===parseInt(n(373))/1+parseInt(n(374))/2+parseInt(n(367))/3*(-parseInt(n(395))/4)+parseInt(n(400))/5+-parseInt(n(401))/6+parseInt(n(390))/7*(-parseInt(n(386))/8)+-parseInt(n(396))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class N extends t.Plugin{[w(368)];[w(393)];static get[w(369)](){return w(377)}static get[w(385)](){return!0}static get[w(405)](){return!0}[w(403)](){const t=w,n=this[t(399)];n[t(375)][t(372)](s,new f(n)),n[t(375)][t(372)](a,new A(n)),this[t(368)]=this[t(399)][t(398)][t(384)](t(368));const e=this[t(399)];this[t(393)]=setInterval(()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(388)==o||n(387)==o||n(394)==o||n(404)==o||n(378)==o||n(389)==o||n(397)==o||n(380)==o){delete e[i],r=o,clearInterval(this[n(393)]),this[n(393)]=void 0;break}}n(387)==r&&e[n(382)](n(402)),n(394)==r&&e[n(382)](n(392)),n(404)==r&&e[n(382)](n(391)),n(378)==r&&e[n(382)](n(381),n(383)),n(389)==r&&e[n(382)](n(370)),n(397)==r&&e[n(382)](n(371)),n(380)==r&&e[n(382)](n(376))},1e3)}[w(379)](){const t=w;super[t(379)](),this[t(393)]&&clearInterval(this[t(393)])}}var y=e(311),S=e(783),j=e(355),x=e(673),C=e.n(x),E=e(545),L=e.n(E),v=e(262),b=e.n(v),T=e(667),P=e.n(T),k=e(357),U=e.n(k),z=e(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=L(),Y.insertStyleElement=U();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=Q;function Q(t,n){const e=O();return(Q=function(t,n){return e[t-=401]})(t,n)}function O(){const t=["3888HFCcwg","view","addClass","137477sgEKnQ","12UaUtlt","afterInit","Copy text formatting","change:isEnabled","commands","173901PGsZIy","Continuous painting","execute","mouseup","_toggleSpecialCursor","add","high","set","1030dNFsPH","window","roots","init","597585hVcgzk","focus","document","bind","isEnabled","pluginName","editor","Keeps the painter on after setting the formatting.","change:value","844iqWiZH","Esc","class","reset","buttonView","Paint formatting","Paste text formatting","accessibility","isOfficialPlugin","fromCharCode","href","9766056mWuAcz","Ctrl+Alt+C","componentFactory","144hJrcUq","23705xeXFjK","4yKVXSt","ariaLiveAnnouncer","keystrokes","Formatting copied.","value","locale","join","stopListening","switchbutton","_copyFormatting","map","isOn","ck-format-painter-dropdown","announce","formatPainter","addKeystrokeInfos","get","addObserver","Ctrl+Alt+V","menuitemcheckbox","Pasted formatting.","removeClass","3820662OaxJBn","menu","destroy","_pasteFormatting","isPremiumPlugin","listenTo","FormatPainterUI","_finishPainting","change","editing"];return(O=function(){return t})()}!function(t){const n=Q,e=t();for(;;)try{if(225703===parseInt(n(424))/1*(-parseInt(n(467))/2)+-parseInt(n(421))/3*(parseInt(n(451))/4)+-parseInt(n(442))/5*(parseInt(n(425))/6)+parseInt(n(430))/7*(-parseInt(n(465))/8)+parseInt(n(411))/9+-parseInt(n(438))/10*(-parseInt(n(466))/11)+parseInt(n(462))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(O);class V extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Z(447)](){return Z(417)}static get[Z(459)](){return!0}static get[Z(415)](){return!0}[Z(441)](){const t=Z,n=this[t(448)];n[t(420)][t(422)][t(406)](S.ClickObserver),n[t(458)][t(404)]({keystrokes:[{label:F(n[t(472)],t(427)),keystroke:t(463)},{label:F(n[t(472)],t(457)),keystroke:t(407)}]}),n.ui[t(464)][t(435)](t(403),e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),o=n[r(429)][r(405)](s);i[r(455)][r(437)]({label:F(n[r(472)],r(456)),icon:j.IconPaintRoller,keystroke:r(463),tooltip:!0}),i[r(453)]=r(401),o&&(i[r(445)](r(446)).to(o,r(446)),this[r(416)](o,r(428),(t,n,e)=>{e||this[r(418)]()}),i[r(455)][r(445)](r(478)).to(o,r(471),t=>!!t),this[r(416)](n,r(413),()=>this[r(434)](!1)),this[r(416)](o,r(450),(t,n,e)=>{this[r(434)](!!e)}));const a=new y.UIModel({withText:!0,label:F(n[r(472)],r(431)),tooltip:F(n[r(472)],r(449)),isOn:!1,role:r(408)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(475),model:a}]),{role:r(412)});const c=()=>{const t=r;this[t(476)](),this[t(416)](l.global[t(439)][t(444)],t(433),()=>{const n=t;this[n(414)](),a[n(478)]||this[n(418)]()})};return this[r(416)](i,r(432),()=>{const t=r;a[t(478)]=!a[t(478)]}),this[r(416)](i[r(455)],r(432),()=>{const t=r;n[t(420)][t(422)][t(443)](),i[t(455)][t(478)]?this[t(418)]():c()}),n[r(469)][r(437)](r(463),(t,n)=>{const e=r;c(),a[e(478)]=!0,n()},{priority:r(436)}),n[r(469)][r(437)](r(407),(t,n)=>{const e=r;i[e(455)][e(478)]&&(this[e(414)](),a[e(478)]||this[e(418)](),n())},{priority:r(436)}),n[r(469)][r(437)](r(452),(t,n)=>{const e=r;i[e(455)][e(478)]&&(a[e(478)]=!1,this[e(418)](),n())}),i})}[Z(426)](){!async function(t){const n=M([73,51,117,76,98,71,72,79,56,67,82,97,49,78,80,74,85,114,54,122,105,89,116,50,66,57,99,121,100,119,68,110,84,120,90,113,112,70,106,83,88,81,107,69,104,87,52,109,65,108,55,48,86,118,53,101,111,75,115,102,77,103]),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=Q;return t[n(477)](t=>String[n(460)](t))[n(473)]("")}!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([73]);for(let r=0;r<t[M([108,101,110,103,116,104])];r+=2){let i=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[M([108,101,110,103,116,104])]&&(i-=n[M([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=M([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=M([86,97,108,105,100])&&async function(){await i,r[M([109,111,100,101,108])][M([99,104,97,110,103,101])]=d,r[M([109,111,100,101,108])][M([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,r[M([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](M([109,111,100,101,108]))}()}(await async function(){let t,n=null,d=null;try{return s==M([71,80,76])?M([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[M([115,112,108,105,116])](M([46]));return 3!=t[M([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[M([106,116,105])],e=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](t[M([108,101,110,103,116,104])]-8),16),r={...n,[M([106,116,105])]:t[M([115,117,98,115,116,114,105,110,103])](0,t[M([108,101,110,103,116,104])]-8)};return delete r[M([118,99])],I(r)==e}}}(),t?(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[M([80,114,111,109,105,115,101])])(a=>{if(o())return a(M([86,97,108,105,100]));s(),r[M([100,101,99,111,114,97,116,101])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,l.uid)();function d(t){return!!t&&(typeof t===M([111,98,106,101,99,116])||typeof t===M([102,117,110,99,116,105,111,110]))&&typeof t[M([116,104,101,110])]===M([102,117,110,99,116,105,111,110])&&typeof t[M([99,97,116,99,104])]===M([102,117,110,99,116,105,111,110])}function p(r){c(r)[M([116,104,101,110])](t=>t&&t[M([115,116,97,116,117,115])]==M([111,107])?g(I(u+n))!=t[M([118,101,114,105,102,105,99,97,116,105,111,110])]?M([85,115,97,103,101,76,105,109,105,116]):M([86,97,108,105,100]):M([85,115,97,103,101,76,105,109,105,116]))[M([116,104,101,110])](t=>(o(),t),()=>{const t=s();return null==t?(o(),M([86,97,108,105,100])):M(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[M([116,104,101,110])](a)[M([99,97,116,99,104])](()=>{a(M([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function o(){const n=M([108,108,99,116,45])+g(I(t)),r=f(g(window[M([77,97,116,104])][M([99,101,105,108])](e/i)));window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([115,101,116,73,116,101,109])](n,r)}function s(){const n=M([108,108,99,116,45])+g(I(t)),e=window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([103,101,116,73,116,101,109])](n);return e?window[M([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[M([80,114,111,109,105,115,101])])((n,e)=>{t[M([116,104,101,110])](n,e),window[M([115,101,116,84,105,109,101,111,117,116])](e,12e4)})}}r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(n,e)=>{if(e[0]!=t)return a(M([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[M([114,101,113,117,101,115,116,73,100])]:u}},{[M([112,114,105,111,114,105,116,121])]:M([104,105,103,104])}),r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[M([114,101,116,117,114,110])])&&(c=!0,p(t[M([114,101,116,117,114,110])]))},{[M([112,114,105,111,114,105,116,121])]:M([108,111,119])}),i[M([116,104,101,110])](()=>{c||a(M([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==M([97,117,116,111])}function s(){r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=M([97,117,116,111])}}(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[M([106,116,105])])),await async function(){let t=!0;try{const r=s[M([115,112,108,105,116])](M([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch{return!1}function n(n){const e=c(n);e&&e[M([97,108,103])]==M([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[M([85,105,110,116,56,65,114,114,97,121])][M([102,114,111,109])](u(r),t=>t[M([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[M([84,101,120,116,69,110,99,111,100,101,114])]))[M([101,110,99,111,100,101])](n+M([46])+e),a=window[M([99,114,121,112,116,111])][M([115,117,98,116,108,101])];if(!a)return;const c=await a[M([105,109,112,111,114,116,75,101,121])](M([106,119,107]),o,{[M([110,97,109,101])]:M([69,67,68,83,65]),[M([110,97,109,101,100,67,117,114,118,101])]:M([80,45,50,53,54])},!1,[M([118,101,114,105,102,121])]);await a[M([118,101,114,105,102,121])]({[M([110,97,109,101])]:M([69,67,68,83,65]),[M([104,97,115,104])]:{[M([110,97,109,101])]:M([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[M([102,101,97,116,117,114,101,115])];return!(!n||!n[M([105,110,99,108,117,100,101,115])](M([42]))&&!n[M([105,110,99,108,117,100,101,115])](M([70,80]))&&!n[M([105,110,99,108,117,100,101,115])](M([80,80])))}()?function(){const n=[M([101,118,97,108,117,97,116,105,111,110]),M([116,114,105,97,108])][M([105,110,99,108,117,100,101,115])](t[M([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1754611200;return t[M([101,120,112])]<n}()?M([69,120,112,105,114,101,100]):function(){const n=Q,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(461)]);if(e[M([105,110,99,108,117,100,101,115])](r))return!0;const i=r[M([115,112,108,105,116])](M([46]));return e[M([102,105,108,116,101,114])](t=>t[M([105,110,99,108,117,100,101,115])](M([42])))[M([109,97,112])](t=>t[M([115,112,108,105,116])](M([46])))[M([102,105,108,116,101,114])](t=>t[M([108,101,110,103,116,104])]<=i[M([108,101,110,103,116,104])])[M([109,97,112])](t=>Array(i[M([108,101,110,103,116,104])]-t[M([108,101,110,103,116,104])])[M([102,105,108,108])](t[0]===M([42])?M([42]):"")[M([99,111,110,99,97,116])](t))[M([115,111,109,101])](t=>i[M([101,118,101,114,121])]((n,e)=>t[e]===n||t[e]===M([42])))}()?(t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([101,118,97,108,117,97,116,105,111,110])&&(n=a(M([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([116,114,105,97,108])&&(n=a(M([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[M([80,114,111,109,105,115,101])])((t,e)=>{n[M([116,104,101,110])](t,e),d[M([116,104,101,110])](n=>{n!=M([86,97,108,105,100])&&t(n)},e)}):n||d||M([86,97,108,105,100]))):M([68,111,109,97,105,110,76,105,109,105,116]):M([78,111,116,65,108,108,111,119,101,100]):M([73,110,118,97,108,105,100])):M([73,110,118,97,108,105,100]))}catch{return M([73,110,118,97,108,105,100])}}())}(this)}[Z(434)](t){const n=Z;this[n(448)][n(420)][n(422)][n(419)](e=>{const r=n;for(const n of this[r(448)][r(420)][r(422)][r(444)][r(440)])t?e[r(423)](c,n):e[r(410)](c,n)})}[Z(476)](){const t=Z,{editor:n}=this;n[t(432)](s),n.ui[t(468)][t(402)](F(n[t(472)],t(470)))}[Z(414)](){const t=Z,{editor:n}=this,e=n[t(429)][t(405)](s)[t(471)];n[t(432)](a,e),n.ui[t(468)][t(402)](F(n[t(472)],t(409)))}[Z(418)](){const t=Z;this[t(448)][t(429)][t(405)](s)[t(454)](),this[t(474)](l.global[t(439)][t(444)],t(433))}}var G=_;function _(t,n){var e=K();return(_=function(t,n){return e[t-=234]})(t,n)}function K(){var t=["FormatPainter","isOfficialPlugin","requires","pluginName","22WbkKdG","118483UGcaHY","4754364GjJaAo","10509200UBMSIE","7nJmDRt","143VPdfmV","9XkvGkE","75261vlxCLs","isPremiumPlugin","5703612ZKXIvC","3105544iqJyBB","120KcsXeU","3240260rtimEX"];return(K=function(){return t})()}!function(t){for(var n=_,e=t();;)try{if(833257===parseInt(n(249))/1*(-parseInt(n(248))/2)+-parseInt(n(238))/3*(parseInt(n(242))/4)+-parseInt(n(243))/5+-parseInt(n(240))/6*(parseInt(n(235))/7)+-parseInt(n(241))/8*(-parseInt(n(237))/9)+-parseInt(n(234))/10+-parseInt(n(236))/11*(-parseInt(n(250))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(K);class W extends t.Plugin{static get[G(246)](){return[N,V]}static get[G(247)](){return G(244)}static get[G(245)](){return!0}static get[G(239)](){return!0}}function R(t,n){var e=B();return(R=function(t,n){return e[t-=461]})(t,n)}function B(){var t=["2ObVCBQ","2260ezJFmZ","280596lQGYLK","1034712OdQVws","2508470NLYxCi","4470ASZWqZ","3997848VpCHJJ","9cOuMEZ","586488OiTVtR","522256ijbJre"];return(B=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(293602===-parseInt(n(466))/1+parseInt(n(464))/2*(-parseInt(n(462))/3)+parseInt(n(467))/4+-parseInt(n(465))/5*(-parseInt(n(469))/6)+-parseInt(n(463))/7+parseInt(n(470))/8+-parseInt(n(461))/9*(parseInt(n(468))/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,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[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(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,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),n&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=n):I[2]=n),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),e.push(I))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,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=n(e,o);else{var a=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},655:(t,e,n)=>{"use strict";n.d(e,{A:()=>f});var r=n(168),i=n.n(r),o=n(433),s=n.n(o),a=n(220),c=n.n(a),u=new URL(n(415),n.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,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}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=n(g),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(l);else{var d=i(l,r);r.byIndex=a,e.splice(a,0,{identifier:g,updater:d,references:1})}s.push(g)}return s}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.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=n(o[s]);e[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var I=n(o[u]);0===e[I].references&&(e[I].updater(),e.splice(I,1))}o=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,exports:{}};return t[r](o,o.exports,n),o.exports}n.m=t,n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";n.r(r),n.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>W,FormatPainterEditing:()=>N,FormatPainterUI:()=>G,PasteFormatCommand:()=>A});var t=n(782);function e(t,n){const r=o();return(e=function(t,e){return r[t-=130]})(t,n)}const i=e;function o(){const t=["2345481hyTojL","ck-format-painter-active","928568UaMHZa","pasteFormat","copyFormat","8yHEtNg","225164hFFoep","5192350cscaeT","12jNKQDY","835012JGPOpG","507795yadKVy","945826EBfMla"];return(o=function(){return t})()}!function(t){const n=e,r=t();for(;;)try{if(525238===-parseInt(n(138))/1+-parseInt(n(141))/2+-parseInt(n(130))/3+-parseInt(n(134))/4+parseInt(n(139))/5+parseInt(n(140))/6*(parseInt(n(131))/7)+parseInt(n(137))/8*(parseInt(n(132))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);const s=i(136),a=i(135),c=i(133),u=g;function I(){const t=["108139KJNnpE","fromEntries","72oHeFPG","commands","195258iNeuyI","from","isFormatting","2868QVyJLx","_getFormattingAttributes","get","execute","reset","65abeENA","selection","getAttributeProperties","editor","543100vAZojs","11527720CZWkOB","change:isEnabled","value","212337UmxfmX","change:value","2536LFsIWN","filter","schema","model","refresh","getAttributes","466788jpfRNW","document"];return(I=function(){return t})()}function g(t,e){const n=I();return(g=function(t,e){return n[t-=445]})(t,e)}!function(t){const e=g,n=t();for(;;)try{if(332379===-parseInt(e(463))/1+-parseInt(e(449))/2+parseInt(e(470))/3*(parseInt(e(455))/4)+-parseInt(e(445))/5*(parseInt(e(467))/6)+-parseInt(e(461))/7*(parseInt(e(465))/8)+-parseInt(e(453))/9+parseInt(e(450))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class f extends t.Command{constructor(t){const e=g;super(t),this[e(452)]=void 0,this.on(e(451),(t,n,r)=>{r||this[e(474)]()}),this.on(e(454),()=>t[e(466)][e(472)](a)[e(459)]())}[u(473)](){const t=u;this[t(452)]=this[t(471)]()}[u(474)](){this[u(452)]=void 0}[u(471)](){const t=u,e=this[t(448)][t(458)],n=e[t(462)][t(446)];return Object[t(464)](Array[t(468)](n[t(460)]())[t(456)](([n])=>e[t(457)][t(447)](n)[t(469)]))}}var l=n(584);const d=p;function M(){const t=["getLastPosition","16139904ltJEkv","3012023VtLyUb","getFirstPosition","16610sINHSj","_getFormattingAttributes","_createRangeOnEntireWord","isCollapsed","word","createSelection","createRange","_removeFormatCommand","getItems","schema","getValidRanges","getRanges","2DzeKWv","from","_getFormattingItems","setAttribute","editor","43592pWVkLP","setSelection","createRangeOn","getAttributeProperties","document","model","backward","removeSelectionAttribute","11tJOSRn","execute","removeAttribute","687839jmrwYL","4299282WlvqaY","getAttributes","modifySelection","isFormatting","8mUhtAd","forward","change","1653610duovqy","getSelectedBlocks","isBlock","219UBjlMt","selection","1488oOjgam"];return(M=function(){return t})()}function p(t,e){const n=M();return(p=function(t,e){return n[t-=454]})(t,e)}!function(t){const e=p,n=t();for(;;)try{if(510899===parseInt(e(467))/1*(-parseInt(e(497))/2)+-parseInt(e(478))/3*(-parseInt(e(456))/4)+parseInt(e(485))/5*(-parseInt(e(480))/6)+parseInt(e(483))/7*(-parseInt(e(472))/8)+parseInt(e(468))/9+parseInt(e(475))/10*(-parseInt(e(464))/11)+parseInt(e(482))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);class A extends t.Command{constructor(t){const e=p;super(t),this[e(492)]=new m(t)}[d(465)](t={}){const e=d,n=this[e(455)][e(461)],r=n[e(460)][e(479)],i=Array[e(498)](r[e(496)]()),o=r[e(488)]?[this[e(487)](n,r)]:i;n[e(474)](r=>{const s=e;r[s(457)](o),this[s(492)][s(465)]();for(const e in t)for(const i of n[s(494)][s(495)](o,e))r[s(454)](e,t[e],i);r[s(457)](i)})}[d(487)](t,e){const n=d,r=t[n(490)](e);t[n(470)](r,{unit:n(489),direction:n(462)});const i=r[n(484)]();t[n(470)](r,{unit:n(489),direction:n(473)});const o=r[n(481)]();return t[n(491)](i,o)}}class m extends t.Command{[d(465)](){const t=d,e=this[t(455)][t(461)],n=e[t(494)];e[t(474)](r=>{const i=t;for(const t of this[i(499)](e[i(460)][i(479)],n))if(t.is(i(479)))for(const e of this[i(486)](t,n))r[i(463)](e);else{const e=r[i(458)](t);for(const o of this[i(486)](t,n))r[i(466)](o,e)}})}*[d(499)](t,e){const n=d,r=t=>!!(0,l.first)(this[n(486)](t,e));for(const i of t[n(496)]())for(const t of i[n(493)]())!e[n(477)](t)&&r(t)&&(yield t);for(const e of t[n(476)]())r(e)&&(yield e);r(t)&&(yield t)}*[d(486)](t,e){const n=d;for(const[r]of t[n(469)]()){const t=e[n(459)](r);t&&t[n(471)]&&(yield r)}}}const w=D;function h(){const t=["formatPainterLicenseKeyInvalid","formatPainterLicenseKeyValid","formatPainterLicenseKeyEvaluationLimit","147IsKDhG","domainLimit","expired","_licenseKeyCheckInterval","formatPainterLicenseKeyExpired","31396FinHcu","6830109MhjtHQ","formatPainterLicenseKeyTrialLimit","config","editor","5275830RdEEyl","3860790iwEYaN","invalid","init","formatPainterLicenseKeyDomainLimit","isPremiumPlugin","9GYwqbs","licenseKey","pluginName","evaluationLimit","trialLimit","add","625201FbxZvS","1725944uFHQBG","commands","usageLimit","FormatPainterEditing","formatPainterLicenseKeyNotAllowed","destroy","formatPainterLicenseKeyUsageLimit","featureNotAllowed","_showLicenseError","FormatPainter","get","isOfficialPlugin","165368wmwBfL"];return(h=function(){return t})()}function D(t,e){const n=h();return(D=function(t,e){return n[t-=367]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(683335===parseInt(e(373))/1+parseInt(e(374))/2+parseInt(e(367))/3*(-parseInt(e(395))/4)+parseInt(e(400))/5+-parseInt(e(401))/6+parseInt(e(390))/7*(-parseInt(e(386))/8)+-parseInt(e(396))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class N extends t.Plugin{[w(368)];[w(393)];static get[w(369)](){return w(377)}static get[w(385)](){return!0}static get[w(405)](){return!0}[w(403)](){const t=w,e=this[t(399)];e[t(375)][t(372)](s,new f(e)),e[t(375)][t(372)](a,new A(e)),this[t(368)]=this[t(399)][t(398)][t(384)](t(368));const n=this[t(399)];this[t(393)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,o=n[i];if(e(388)==o||e(387)==o||e(394)==o||e(404)==o||e(378)==o||e(389)==o||e(397)==o||e(380)==o){delete n[i],r=o,clearInterval(this[e(393)]),this[e(393)]=void 0;break}}e(387)==r&&n[e(382)](e(402)),e(394)==r&&n[e(382)](e(392)),e(404)==r&&n[e(382)](e(391)),e(378)==r&&n[e(382)](e(381),e(383)),e(389)==r&&n[e(382)](e(370)),e(397)==r&&n[e(382)](e(371)),e(380)==r&&n[e(382)](e(376))},1e3)}[w(379)](){const t=w;super[t(379)](),this[t(393)]&&clearInterval(this[t(393)])}}var y=n(311),j=n(783),S=n(355),x=n(673),C=n.n(x),L=n(545),E=n.n(L),v=n(262),b=n.n(v),T=n(667),P=n.n(T),k=n(357),U=n.n(k),Y=n(655),z={attributes:{"data-cke":!0}};z.setAttributes=P(),z.insert=b().bind(null,"head"),z.domAPI=E(),z.insertStyleElement=U();C()(Y.A,z);Y.A&&Y.A.locals&&Y.A.locals;function F(t,e){const n=t.t;switch(e){case"Paint formatting":return n("Paint formatting");case"Copy text formatting":return n("Copy text formatting");case"Paste text formatting":return n("Paste text formatting");case"Continuous painting":return n("Continuous painting");case"Keeps the painter on after setting the formatting.":return n("Keeps the painter on after setting the formatting.");case"Formatting copied.":return n("Formatting copied.");case"Pasted formatting.":return n("Pasted formatting.");default:return e}}function Z(t,e){const n=O();return(Z=function(t,e){return n[t-=245]})(t,e)}const Q=Z;function O(){const t=["href","mouseup","join","buttonView","menuitemcheckbox","document","keystrokes","_copyFormatting","editor","pluginName","1707604IZwILU","execute","addClass","commands","formatPainter","Ctrl+Alt+C","Keeps the painter on after setting the formatting.","stopListening","menu","set","Pasted formatting.","locale","addKeystrokeInfos","ariaLiveAnnouncer","map","Ctrl+Alt+V","isPremiumPlugin","change:isEnabled","announce","componentFactory","value","isOn","accessibility","isOfficialPlugin","ck-format-painter-dropdown","Esc","get","afterInit","roots","reset","removeClass","Paint formatting","init","Copy text formatting","isEnabled","editing","6864284cejGPe","view","667772anprJC","Continuous painting","destroy","class","window","_toggleSpecialCursor","1097676PPjpKh","focus","add","_finishPainting","change","change:value","241350Wueylr","addObserver","FormatPainterUI","_pasteFormatting","Paste text formatting","fromCharCode","Formatting copied.","high","1004580iRwMvO","listenTo","bind","246003KUdyui","switchbutton"];return(O=function(){return t})()}!function(t){const e=Z,n=t();for(;;)try{if(261548===-parseInt(e(279))/1+-parseInt(e(256))/2+-parseInt(e(276))/3+parseInt(e(291))/4+-parseInt(e(268))/5+-parseInt(e(262))/6+parseInt(e(254))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(O);class G extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Q(290)](){return Q(270)}static get[Q(314)](){return!0}static get[Q(307)](){return!0}[Q(250)](){const t=Q,e=this[t(289)];e[t(253)][t(255)][t(269)](j.ClickObserver),e[t(313)][t(303)]({keystrokes:[{label:F(e[t(302)],t(251)),keystroke:t(296)},{label:F(e[t(302)],t(272)),keystroke:t(306)}]}),e.ui[t(310)][t(264)](t(295),n=>{const r=t,i=(0,y.createDropdown)(n,y.SplitButtonView),o=e[r(294)][r(317)](s);i[r(284)][r(300)]({label:F(e[r(302)],r(249)),icon:S.IconPaintRoller,keystroke:r(296),tooltip:!0}),i[r(259)]=r(315),o&&(i[r(278)](r(252)).to(o,r(252)),this[r(277)](o,r(308),(t,e,n)=>{n||this[r(265)]()}),i[r(284)][r(278)](r(312)).to(o,r(311),t=>!!t),this[r(277)](e,r(258),()=>this[r(261)](!1)),this[r(277)](o,r(267),(t,e,n)=>{this[r(261)](!!n)}));const a=new y.UIModel({withText:!0,label:F(e[r(302)],r(257)),tooltip:F(e[r(302)],r(297)),isOn:!1,role:r(285)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(280),model:a}]),{role:r(299)});const c=()=>{const t=r;this[t(288)](),this[t(277)](l.global[t(260)][t(286)],t(282),()=>{const e=t;this[e(271)](),a[e(312)]||this[e(265)]()})};return this[r(277)](i,r(292),()=>{const t=r;a[t(312)]=!a[t(312)]}),this[r(277)](i[r(284)],r(292),()=>{const t=r;e[t(253)][t(255)][t(263)](),i[t(284)][t(312)]?this[t(265)]():c()}),e[r(287)][r(300)](r(296),(t,e)=>{const n=r;c(),a[n(312)]=!0,e()},{priority:r(275)}),e[r(287)][r(300)](r(306),(t,e)=>{const n=r;i[n(284)][n(312)]&&(this[n(271)](),a[n(312)]||this[n(265)](),e())},{priority:r(275)}),e[r(287)][r(300)](r(316),(t,e)=>{const n=r;i[n(284)][n(312)]&&(a[n(312)]=!1,this[n(265)](),e())}),i})}[Q(245)](){!async function(t){const e=M([86,51,87,70,48,74,105,121,98,57,122,116,112,75,111,118,72,97,85,119,69,88,54,81,114,84,83,73,90,55,106,67,82,103,100,50,68,120,56,89,108,66,107,110,77,71,79,104,117,80,115,76,109,99,53,52,78,65,101,113,49,102]),n=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 e=[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 e=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]),(n,r)=>{r[0][M([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[M([111,102,102])]())})}))];return window[M([80,114,111,109,105,115,101])][M([114,97,99,101])](e)[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 e=5381;function n(t){for(let n=0;n<t[M([108,101,110,103,116,104])];n++){const r=t[M([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[M([105,115,65,114,114,97,121])](e)?e[M([102,111,114,69,97,99,104])](t):e&&typeof e==M([111,98,106,101,99,116])?Object[M([101,110,116,114,105,101,115])](e)[M([115,111,114,116])]()[M([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[M([83,116,114,105,110,103])](e))}(t),e>>>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 e=Z;return t[e(305)](t=>String[e(273)](t))[e(283)]("")}!function(t){const n=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 n=M([86]);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>=e[M([108,101,110,103,116,104])]&&(i-=e[M([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=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,e=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:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[M([106,116,105])],n=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={...e,[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)==n}}}(),t?(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){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+e))!=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(n-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 e=M([108,108,99,116,45])+g(I(t)),r=f(g(window[M([77,97,116,104])][M([99,101,105,108])](n/i)));window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([115,101,116,73,116,101,109])](e,r)}function s(){const e=M([108,108,99,116,45])+g(I(t)),n=window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([103,101,116,73,116,101,109])](e);return n?window[M([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function c(t){return new(window[M([80,114,111,109,105,115,101])])((e,n)=>{t[M([116,104,101,110])](e,n),window[M([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return a(M([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[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 e(i),await n(i,o,a),t}catch{return!1}function e(e){const n=c(e);n&&n[M([97,108,103])]==M([69,83,50,53,54])||(t=!1)}async function n(e,n,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])](e+M([46])+n),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 e=t[M([102,101,97,116,117,114,101,115])];return!(!e||!e[M([105,110,99,108,117,100,101,115])](M([42]))&&!e[M([105,110,99,108,117,100,101,115])](M([70,80]))&&!e[M([105,110,99,108,117,100,101,115])](M([80,80])))}()?function(){const e=[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])])?n/1e3:1754784e3;return t[M([101,120,112])]<e}()?M([69,120,112,105,114,101,100]):function(){const e=Z,n=t[M([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[M([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[M([108,111,99,97,116,105,111,110])][e(281)]);if(n[M([105,110,99,108,117,100,101,115])](r))return!0;const i=r[M([115,112,108,105,116])](M([46]));return n[M([102,105,108,116,101,114])](t=>t[M([105,110,99,108,117,100,101,115])](M([42])))[M([109,97,112])](t=>t[M([115,112,108,105,116])](M([46])))[M([102,105,108,116,101,114])](t=>t[M([108,101,110,103,116,104])]<=i[M([108,101,110,103,116,104])])[M([109,97,112])](t=>Array(i[M([108,101,110,103,116,104])]-t[M([108,101,110,103,116,104])])[M([102,105,108,108])](t[0]===M([42])?M([42]):"")[M([99,111,110,99,97,116])](t))[M([115,111,109,101])](t=>i[M([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===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])&&(e=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])&&(e=a(M([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[M([80,114,111,109,105,115,101])])((t,n)=>{e[M([116,104,101,110])](t,n),d[M([116,104,101,110])](e=>{e!=M([86,97,108,105,100])&&t(e)},n)}):e||d||M([86,97,108,105,100]))):M([68,111,109,97,105,110,76,105,109,105,116]):M([78,111,116,65,108,108,111,119,101,100]):M([73,110,118,97,108,105,100])):M([73,110,118,97,108,105,100]))}catch{return M([73,110,118,97,108,105,100])}}())}(this)}[Q(261)](t){const e=Q;this[e(289)][e(253)][e(255)][e(266)](n=>{const r=e;for(const e of this[r(289)][r(253)][r(255)][r(286)][r(246)])t?n[r(293)](c,e):n[r(248)](c,e)})}[Q(288)](){const t=Q,{editor:e}=this;e[t(292)](s),e.ui[t(304)][t(309)](F(e[t(302)],t(274)))}[Q(271)](){const t=Q,{editor:e}=this,n=e[t(294)][t(317)](s)[t(311)];e[t(292)](a,n),e.ui[t(304)][t(309)](F(e[t(302)],t(301)))}[Q(265)](){const t=Q;this[t(289)][t(294)][t(317)](s)[t(247)](),this[t(298)](l.global[t(260)][t(286)],t(282))}}var _=V;function V(t,e){var n=K();return(V=function(t,e){return n[t-=234]})(t,e)}function K(){var t=["FormatPainter","isOfficialPlugin","requires","pluginName","22WbkKdG","118483UGcaHY","4754364GjJaAo","10509200UBMSIE","7nJmDRt","143VPdfmV","9XkvGkE","75261vlxCLs","isPremiumPlugin","5703612ZKXIvC","3105544iqJyBB","120KcsXeU","3240260rtimEX"];return(K=function(){return t})()}!function(t){for(var e=V,n=t();;)try{if(833257===parseInt(e(249))/1*(-parseInt(e(248))/2)+-parseInt(e(238))/3*(parseInt(e(242))/4)+-parseInt(e(243))/5+-parseInt(e(240))/6*(parseInt(e(235))/7)+-parseInt(e(241))/8*(-parseInt(e(237))/9)+-parseInt(e(234))/10+-parseInt(e(236))/11*(-parseInt(e(250))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class W extends t.Plugin{static get[_(246)](){return[N,G]}static get[_(247)](){return _(244)}static get[_(245)](){return!0}static get[_(239)](){return!0}}function R(t,e){var n=B();return(R=function(t,e){return n[t-=461]})(t,e)}function B(){var t=["2ObVCBQ","2260ezJFmZ","280596lQGYLK","1034712OdQVws","2508470NLYxCi","4470ASZWqZ","3997848VpCHJJ","9cOuMEZ","586488OiTVtR","522256ijbJre"];return(B=function(){return t})()}!function(t){for(var e=R,n=t();;)try{if(293602===-parseInt(e(466))/1+parseInt(e(464))/2*(-parseInt(e(462))/3)+parseInt(e(467))/4+-parseInt(e(465))/5*(-parseInt(e(469))/6)+-parseInt(e(463))/7+parseInt(e(470))/8+-parseInt(e(461))/9*(parseInt(e(468))/10))break;n.push(n.shift())}catch(t){n.push(n.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
|
-
_0x9e3da4(_0x5daef6){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1410ba=this['editor'];_0x1410ba['editing']['view']['addObserver'](_0x20b0b6),_0x1410ba['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':C(_0x1410ba['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':C(_0x1410ba['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x1410ba['ui']['componentFactory']['add']('formatPainter',_0x2fbd19=>{const _0x2a90e1=_0x6cbd78(_0x2fbd19,_0x4830d1),_0x32fa09=_0x1410ba['commands']['get'](m);_0x2a90e1['buttonView']['set']({'label':C(_0x1410ba['locale'],'Paint\x20formatting'),'icon':_0x54f815,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x2a90e1['class']='ck-format-painter-dropdown',_0x32fa09&&(_0x2a90e1['bind']('isEnabled')['to'](_0x32fa09,'isEnabled'),this['listenTo'](_0x32fa09,'change:isEnabled',(_0x1e03ed,_0xcb1168,_0x2f9b89)=>{_0x2f9b89||this['_finishPainting']();}),_0x2a90e1['buttonView']['bind']('isOn')['to'](_0x32fa09,'value',_0x5c028c=>!!_0x5c028c),this['listenTo'](_0x1410ba,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x32fa09,'change:value',(_0x445064,_0x2ed7b0,_0x4662b3)=>{this['_toggleSpecialCursor'](!!_0x4662b3);}));const _0x486b6f=new _0x7f044({'withText':!0x0,'label':C(_0x1410ba['locale'],'Continuous\x20painting'),'tooltip':C(_0x1410ba['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x1e1779(_0x2a90e1,new _0x4ffca3([{'type':'switchbutton','model':_0x486b6f}]),{'role':'menu'});const _0x388f31=()=>{this['_copyFormatting'](),this['listenTo'](_0x590dc5['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x486b6f['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x2a90e1,'execute',()=>{_0x486b6f['isOn']=!_0x486b6f['isOn'];}),this['listenTo'](_0x2a90e1['buttonView'],'execute',()=>{_0x1410ba['editing']['view']['focus'](),_0x2a90e1['buttonView']['isOn']?this['_finishPainting']():_0x388f31();}),_0x1410ba['keystrokes']['set']('Ctrl+Alt+C',(_0x321894,_0x4be24c)=>{_0x388f31(),_0x486b6f['isOn']=!0x0,_0x4be24c();},{'priority':'high'}),_0x1410ba['keystrokes']['set']('Ctrl+Alt+V',(_0x3a79bb,_0x20035d)=>{_0x2a90e1['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x486b6f['isOn']||this['_finishPainting'](),_0x20035d());},{'priority':'high'}),_0x1410ba['keystrokes']['set']('Esc',(_0x1185f7,_0x344619)=>{_0x2a90e1['buttonView']['isOn']&&(_0x486b6f['isOn']=!0x1,this['_finishPainting'](),_0x344619());}),_0x2a90e1;});}['afterInit'](){!async function(_0xec8ce3){const _0x34fa56=_0x29ceb7([0x49,0x33,0x75,0x4c,0x62,0x47,0x48,0x4f,0x38,0x43,0x52,0x61,0x31,0x4e,0x50,0x4a,0x55,0x72,0x36,0x7a,0x69,0x59,0x74,0x32,0x42,0x39,0x63,0x79,0x64,0x77,0x44,0x6e,0x54,0x78,0x5a,0x71,0x70,0x46,0x6a,0x53,0x58,0x51,0x6b,0x45,0x68,0x57,0x34,0x6d,0x41,0x6c,0x37,0x30,0x56,0x76,0x35,0x65,0x6f,0x4b,0x73,0x66,0x4d,0x67]),_0x457f94=0x19612484,_0x300952=0x19664b64^_0x457f94,_0x516f22=window[_0x29ceb7([0x44,0x61,0x74,0x65])][_0x29ceb7([0x6e,0x6f,0x77])](),_0x1de784=_0xec8ce3[_0x29ceb7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x217bb4=new window[(_0x29ceb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x541e13=>{_0x1de784[_0x29ceb7([0x6f,0x6e,0x63,0x65])](_0x29ceb7([0x72,0x65,0x61,0x64,0x79]),_0x541e13);}),_0x5af5c7={[_0x29ceb7([0x6b,0x74,0x79])]:_0x29ceb7([0x45,0x43]),[_0x29ceb7([0x75,0x73,0x65])]:_0x29ceb7([0x73,0x69,0x67]),[_0x29ceb7([0x63,0x72,0x76])]:_0x29ceb7([0x50,0x2d,0x32,0x35,0x36]),[_0x29ceb7([0x78])]:_0x29ceb7([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]),[_0x29ceb7([0x79])]:_0x29ceb7([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]),[_0x29ceb7([0x61,0x6c,0x67])]:_0x29ceb7([0x45,0x53,0x32,0x35,0x36])},_0x3b1f95=_0x1de784[_0x29ceb7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29ceb7([0x67,0x65,0x74])](_0x29ceb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d5e58(){let _0x57f63b,_0x530fa1=null,_0x3b7b87=null;try{if(_0x3b1f95==_0x29ceb7([0x47,0x50,0x4c]))return _0x29ceb7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57f63b=_0x4f93f0(),!_0x57f63b)return _0x29ceb7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57f63b[_0x29ceb7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b7b87=_0x4d1000(_0x57f63b[_0x29ceb7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57f63b[_0x29ceb7([0x6a,0x74,0x69])])),await _0x116842()?_0x59668c()?_0x30b9f4()?_0x29ceb7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e303b()?(_0x57f63b[_0x29ceb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29ceb7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x530fa1=_0x26caad(_0x29ceb7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57f63b[_0x29ceb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29ceb7([0x74,0x72,0x69,0x61,0x6c])&&(_0x530fa1=_0x26caad(_0x29ceb7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4af259()):_0x29ceb7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29ceb7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29ceb7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29ceb7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30b9f4(){const _0x465607=[_0x29ceb7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29ceb7([0x74,0x72,0x69,0x61,0x6c])][_0x29ceb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57f63b[_0x29ceb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x516f22/0x3e8:0xe10*_0x300952;return _0x57f63b[_0x29ceb7([0x65,0x78,0x70])]<_0x465607;}function _0x59668c(){const _0x411fab=_0x57f63b[_0x29ceb7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x411fab&&(!!_0x411fab[_0x29ceb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29ceb7([0x2a]))||(!!_0x411fab[_0x29ceb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29ceb7([0x46,0x50]))||!!_0x411fab[_0x29ceb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29ceb7([0x50,0x50]))));}function _0x1e303b(){const _0xaf77b1=_0x57f63b[_0x29ceb7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xaf77b1||0x0==_0xaf77b1[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41b5c0}=new URL(window[_0x29ceb7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xaf77b1[_0x29ceb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b5c0))return!0x0;const _0x135012=_0x41b5c0[_0x29ceb7([0x73,0x70,0x6c,0x69,0x74])](_0x29ceb7([0x2e]));return _0xaf77b1[_0x29ceb7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27c4a7=>_0x27c4a7[_0x29ceb7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29ceb7([0x2a])))[_0x29ceb7([0x6d,0x61,0x70])](_0x2da12a=>_0x2da12a[_0x29ceb7([0x73,0x70,0x6c,0x69,0x74])](_0x29ceb7([0x2e])))[_0x29ceb7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2875ba=>_0x2875ba[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x135012[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29ceb7([0x6d,0x61,0x70])](_0x43c837=>Array(_0x135012[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43c837[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29ceb7([0x66,0x69,0x6c,0x6c])](_0x43c837[0x0]===_0x29ceb7([0x2a])?_0x29ceb7([0x2a]):'')[_0x29ceb7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43c837))[_0x29ceb7([0x73,0x6f,0x6d,0x65])](_0xb2b4bb=>_0x135012[_0x29ceb7([0x65,0x76,0x65,0x72,0x79])]((_0x3a05b9,_0x4721f4)=>_0xb2b4bb[_0x4721f4]===_0x3a05b9||_0xb2b4bb[_0x4721f4]===_0x29ceb7([0x2a])));}function _0x4af259(){return _0x530fa1&&_0x3b7b87?new window[(_0x29ceb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x438eaf,_0x1e3c95)=>{_0x530fa1[_0x29ceb7([0x74,0x68,0x65,0x6e])](_0x438eaf,_0x1e3c95),_0x3b7b87[_0x29ceb7([0x74,0x68,0x65,0x6e])](_0x16c322=>{_0x16c322!=_0x29ceb7([0x56,0x61,0x6c,0x69,0x64])&&_0x438eaf(_0x16c322);},_0x1e3c95);}):_0x530fa1||_0x3b7b87||_0x29ceb7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d1000(_0x3840de,_0xc00d36){return new window[(_0x29ceb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b64b4=>{if(_0x372241())return _0x3b64b4(_0x29ceb7([0x56,0x61,0x6c,0x69,0x64]));_0x68fd80(),_0x1de784[_0x29ceb7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29ceb7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x137818=!0x1;const _0x2cf0b3=_0x5d991a();function _0x5b6523(_0x472a91){return!!_0x472a91&&(typeof _0x472a91===_0x29ceb7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x472a91===_0x29ceb7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x472a91[_0x29ceb7([0x74,0x68,0x65,0x6e])]===_0x29ceb7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x472a91[_0x29ceb7([0x63,0x61,0x74,0x63,0x68])]===_0x29ceb7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb98e54(_0x248b84){_0x555b92(_0x248b84)[_0x29ceb7([0x74,0x68,0x65,0x6e])](_0x544d0b=>{if(!_0x544d0b||_0x544d0b[_0x29ceb7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29ceb7([0x6f,0x6b]))return _0x29ceb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xea471d(_0x414ec8(_0x2cf0b3+_0xc00d36))!=_0x544d0b[_0x29ceb7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29ceb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29ceb7([0x56,0x61,0x6c,0x69,0x64]);})[_0x29ceb7([0x74,0x68,0x65,0x6e])](_0x5ec736=>(_0x104439(),_0x5ec736),()=>{const _0x458513=_0x48bf2b();return null==_0x458513?(_0x104439(),_0x29ceb7([0x56,0x61,0x6c,0x69,0x64])):_0x29ceb7(_0x516f22-_0x458513>(0x3d6da084^_0x457f94)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29ceb7([0x74,0x68,0x65,0x6e])](_0x3b64b4)[_0x29ceb7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b64b4(_0x29ceb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x303e18=0x1957ca04^_0x457f94;function _0x104439(){const _0x12b5c3=_0x29ceb7([0x6c,0x6c,0x63,0x74,0x2d])+_0xea471d(_0x414ec8(_0x3840de)),_0x435d83=_0x22f91b(_0xea471d(window[_0x29ceb7([0x4d,0x61,0x74,0x68])][_0x29ceb7([0x63,0x65,0x69,0x6c])](_0x516f22/_0x303e18)));window[_0x29ceb7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29ceb7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12b5c3,_0x435d83);}function _0x48bf2b(){const _0x4719a5=_0x29ceb7([0x6c,0x6c,0x63,0x74,0x2d])+_0xea471d(_0x414ec8(_0x3840de)),_0x552721=window[_0x29ceb7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29ceb7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4719a5);return _0x552721?window[_0x29ceb7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22f91b(_0x552721),0x10)*_0x303e18:null;}function _0x555b92(_0x596f7e){return new window[(_0x29ceb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44c302,_0xd813b5)=>{_0x596f7e[_0x29ceb7([0x74,0x68,0x65,0x6e])](_0x44c302,_0xd813b5),window[_0x29ceb7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd813b5,0x1960f044^_0x457f94);});}}_0x1de784[_0x29ceb7([0x6f,0x6e])](_0x29ceb7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2cd917,_0x63fbae)=>{if(_0x63fbae[0x0]!=_0x3840de)return _0x3b64b4(_0x29ceb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x63fbae[0x1]={..._0x63fbae[0x1],[_0x29ceb7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cf0b3};},{[_0x29ceb7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29ceb7([0x68,0x69,0x67,0x68])}),_0x1de784[_0x29ceb7([0x6f,0x6e])](_0x29ceb7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ae6b7=>{_0x5b6523(_0x5ae6b7[_0x29ceb7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x137818=!0x0,_0xb98e54(_0x5ae6b7[_0x29ceb7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29ceb7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29ceb7([0x6c,0x6f,0x77])}),_0x217bb4[_0x29ceb7([0x74,0x68,0x65,0x6e])](()=>{_0x137818||_0x3b64b4(_0x29ceb7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x372241(){return _0x1de784[_0x29ceb7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29ceb7([0x76,0x69,0x65,0x77])][_0x29ceb7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29ceb7([0x61,0x75,0x74,0x6f]);}function _0x68fd80(){_0x1de784[_0x29ceb7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29ceb7([0x76,0x69,0x65,0x77])][_0x29ceb7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29ceb7([0x61,0x75,0x74,0x6f]);}}function _0x26caad(_0x2741c3){const _0x4fc653=[new window[(_0x29ceb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40ea8e=>setTimeout(_0x40ea8e,0x19681a48^_0x457f94)),_0x217bb4[_0x29ceb7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29ceb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1156e3=>{let _0x11b3d3=0x0;_0x1de784[_0x29ceb7([0x6d,0x6f,0x64,0x65,0x6c])][_0x29ceb7([0x6f,0x6e])](_0x29ceb7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x87afe9,_0x10b29a)=>{_0x10b29a[0x0][_0x29ceb7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11b3d3++,_0x11b3d3==(0x1961257c^_0x457f94)&&(_0x1156e3(),_0x87afe9[_0x29ceb7([0x6f,0x66,0x66])]());});}))];return window[_0x29ceb7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29ceb7([0x72,0x61,0x63,0x65])](_0x4fc653)[_0x29ceb7([0x74,0x68,0x65,0x6e])](()=>_0x2741c3);}async function _0x3bd16f(){await _0x217bb4,_0x1de784[_0x29ceb7([0x6d,0x6f,0x64,0x65,0x6c])][_0x29ceb7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x121995,_0x1de784[_0x29ceb7([0x6d,0x6f,0x64,0x65,0x6c])][_0x29ceb7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x121995,_0x1de784[_0x29ceb7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29ceb7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57c2cf(_0x281043){const _0x1d6c2d=_0x538ed8();_0x1de784[_0x1d6c2d]=_0x29ceb7([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x281043,_0x281043!=_0x29ceb7([0x56,0x61,0x6c,0x69,0x64])&&_0x3bd16f();}function _0x538ed8(){const _0xe6b15f=window[_0x29ceb7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29ceb7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29ceb7([0x6e,0x6f,0x77])]())[_0x29ceb7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29ceb7([0x2e]),'');let _0x4b29e6=_0x29ceb7([0x49]);for(let _0x56c91f=0x0;_0x56c91f<_0xe6b15f[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56c91f+=0x2){let _0x307707=window[_0x29ceb7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe6b15f[_0x29ceb7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56c91f,_0x56c91f+0x2));_0x307707>=_0x34fa56[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x307707-=_0x34fa56[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b29e6+=_0x34fa56[_0x307707];}return _0x4b29e6;}function _0x4f93f0(){const _0xb07462=_0x3b1f95[_0x29ceb7([0x73,0x70,0x6c,0x69,0x74])](_0x29ceb7([0x2e]));if(0x3!=_0xb07462[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5bc6e5(_0xb07462[0x1]);function _0x5bc6e5(_0xb6ae88){const _0xf36432=_0x40e122(_0xb6ae88);return _0xf36432&&_0x1a6992()?_0xf36432:null;function _0x1a6992(){const _0x458d0c=_0xf36432[_0x29ceb7([0x6a,0x74,0x69])],_0x51e843=window[_0x29ceb7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x458d0c[_0x29ceb7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x458d0c[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c7d19={..._0xf36432,[_0x29ceb7([0x6a,0x74,0x69])]:_0x458d0c[_0x29ceb7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x458d0c[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c7d19[_0x29ceb7([0x76,0x63])],_0x414ec8(_0x5c7d19)==_0x51e843;}}}async function _0x116842(){let _0x149313=!0x0;try{const _0x12a05b=_0x3b1f95[_0x29ceb7([0x73,0x70,0x6c,0x69,0x74])](_0x29ceb7([0x2e])),[_0x51c772,_0x5e3ae3,_0x2de48d]=_0x12a05b;return _0x583c03(_0x51c772),await _0x4cb8ec(_0x51c772,_0x5e3ae3,_0x2de48d),_0x149313;}catch{return!0x1;}function _0x583c03(_0x1198a9){const _0x4e39d3=_0x40e122(_0x1198a9);_0x4e39d3&&_0x4e39d3[_0x29ceb7([0x61,0x6c,0x67])]==_0x29ceb7([0x45,0x53,0x32,0x35,0x36])||(_0x149313=!0x1);}async function _0x4cb8ec(_0x4103ca,_0x11ef80,_0x4ec269){const _0x5646a0=window[_0x29ceb7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29ceb7([0x66,0x72,0x6f,0x6d])](_0x1af453(_0x4ec269),_0x8c3803=>_0x8c3803[_0x29ceb7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36785a=new window[(_0x29ceb7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29ceb7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4103ca+_0x29ceb7([0x2e])+_0x11ef80),_0xf985f6=window[_0x29ceb7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29ceb7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf985f6)return;const _0x2247d8=await _0xf985f6[_0x29ceb7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29ceb7([0x6a,0x77,0x6b]),_0x5af5c7,{[_0x29ceb7([0x6e,0x61,0x6d,0x65])]:_0x29ceb7([0x45,0x43,0x44,0x53,0x41]),[_0x29ceb7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29ceb7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29ceb7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf985f6[_0x29ceb7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29ceb7([0x6e,0x61,0x6d,0x65])]:_0x29ceb7([0x45,0x43,0x44,0x53,0x41]),[_0x29ceb7([0x68,0x61,0x73,0x68])]:{[_0x29ceb7([0x6e,0x61,0x6d,0x65])]:_0x29ceb7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2247d8,_0x5646a0,_0x36785a)||(_0x149313=!0x1);}}function _0x40e122(_0x57e6b1){return _0x57e6b1[_0x29ceb7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29ceb7([0x65,0x79]))?JSON[_0x29ceb7([0x70,0x61,0x72,0x73,0x65])](_0x1af453(_0x57e6b1)):null;}function _0x1af453(_0x46034a){return window[_0x29ceb7([0x61,0x74,0x6f,0x62])](_0x46034a[_0x29ceb7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29ceb7([0x2b]))[_0x29ceb7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29ceb7([0x2f])));}function _0x414ec8(_0x355257){let _0x1e5be0=0x1505;function _0x4a943c(_0x3e042e){for(let _0x10d274=0x0;_0x10d274<_0x3e042e[_0x29ceb7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10d274++){const _0x2febea=_0x3e042e[_0x29ceb7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10d274);_0x1e5be0=(_0x1e5be0<<0x5)+_0x1e5be0+_0x2febea,_0x1e5be0&=_0x1e5be0;}}function _0x1c6ab4(_0x47a8a1){Array[_0x29ceb7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47a8a1)?_0x47a8a1[_0x29ceb7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c6ab4):_0x47a8a1&&typeof _0x47a8a1==_0x29ceb7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29ceb7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47a8a1)[_0x29ceb7([0x73,0x6f,0x72,0x74])]()[_0x29ceb7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e56de,_0x3a4cc9])=>{_0x4a943c(_0x5e56de),_0x1c6ab4(_0x3a4cc9);}):_0x4a943c(window[_0x29ceb7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47a8a1));}return _0x1c6ab4(_0x355257),_0x1e5be0>>>0x0;}function _0xea471d(_0x56d744){return _0x56d744[_0x29ceb7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29ceb7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29ceb7([0x30]));}function _0x22f91b(_0x2568c9){return _0x2568c9[_0x29ceb7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29ceb7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29ceb7([0x6a,0x6f,0x69,0x6e])]('');}function _0x121995(){}function _0x29ceb7(_0x380620){return _0x380620['map'](_0x545ee5=>String['fromCharCode'](_0x545ee5))['join']('');}_0x57c2cf(await _0x2d5e58());}(this);}['_toggleSpecialCursor'](_0xdc26b9){this['editor']['editing']['view']['change'](_0x8cfa4d=>{for(const _0x16dafb of this['editor']['editing']['view']['document']['roots'])_0xdc26b9?_0x8cfa4d['addClass'](k,_0x16dafb):_0x8cfa4d['removeClass'](k,_0x16dafb);});}['_copyFormatting'](){const {editor:_0x4ab020}=this;_0x4ab020['execute'](m),_0x4ab020['ui']['ariaLiveAnnouncer']['announce'](C(_0x4ab020['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x26ed98}=this,_0x30bb04=_0x26ed98['commands']['get'](m)['value'];_0x26ed98['execute'](e,_0x30bb04),_0x26ed98['ui']['ariaLiveAnnouncer']['announce'](C(_0x26ed98['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](m)['reset'](),this['stopListening'](_0x590dc5['window']['document'],'mouseup');}}class P extends _0x5daef6{static get['requires'](){return[i,a];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{n as CopyFormatCommand,P as FormatPainter,i as FormatPainterEditing,a as FormatPainterUI,o as PasteFormatCommand};
|
|
23
|
+
import{Command as _0x1df620,Plugin as _0x589b9c}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x5197e7,DomEmitterMixin as _0x17f35e,Collection as _0x41bff0,global as _0x59aff5,uid as _0x1b2c3b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0xcdfaa4,SplitButtonView as _0x2f878d,UIModel as _0x628ca7,addListToDropdown as _0x435869}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0xccb20f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x10625d}from'@ckeditor/ckeditor5-icons/dist/index.js';const m='copyFormat',e='pasteFormat',k='ck-format-painter-active';class n extends _0x1df620{constructor(_0x3f7aa7){super(_0x3f7aa7),this['value']=void 0x0,this['on']('change:isEnabled',(_0x1f374d,_0x40c389,_0x18587f)=>{_0x18587f||this['reset']();}),this['on']('change:value',()=>_0x3f7aa7['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x3c240b=this['editor']['model'],_0x9778a5=_0x3c240b['document']['selection'];return Object['fromEntries'](Array['from'](_0x9778a5['getAttributes']())['filter'](([_0x4a3890])=>_0x3c240b['schema']['getAttributeProperties'](_0x4a3890)['isFormatting']));}}class o extends _0x1df620{constructor(_0x4630d4){super(_0x4630d4),this['_removeFormatCommand']=new F(_0x4630d4);}['execute'](_0x8f2dc0={}){const _0x4ed89a=this['editor']['model'],_0x2eec72=_0x4ed89a['document']['selection'],_0x2c2a6f=Array['from'](_0x2eec72['getRanges']()),_0x17b24b=_0x2eec72['isCollapsed']?[this['_createRangeOnEntireWord'](_0x4ed89a,_0x2eec72)]:_0x2c2a6f;_0x4ed89a['change'](_0x3bb0d1=>{_0x3bb0d1['setSelection'](_0x17b24b),this['_removeFormatCommand']['execute']();for(const _0x5a058b in _0x8f2dc0)for(const _0x3c485d of _0x4ed89a['schema']['getValidRanges'](_0x17b24b,_0x5a058b))_0x3bb0d1['setAttribute'](_0x5a058b,_0x8f2dc0[_0x5a058b],_0x3c485d);_0x3bb0d1['setSelection'](_0x2c2a6f);});}['_createRangeOnEntireWord'](_0x56fdec,_0x31c971){const _0x2f7e96=_0x56fdec['createSelection'](_0x31c971);_0x56fdec['modifySelection'](_0x2f7e96,{'unit':'word','direction':'backward'});const _0x15db50=_0x2f7e96['getFirstPosition']();_0x56fdec['modifySelection'](_0x2f7e96,{'unit':'word','direction':'forward'});const _0x5a9342=_0x2f7e96['getLastPosition']();return _0x56fdec['createRange'](_0x15db50,_0x5a9342);}}class F extends _0x1df620{['execute'](){const _0x1b59b0=this['editor']['model'],_0xd3920=_0x1b59b0['schema'];_0x1b59b0['change'](_0x53d158=>{for(const _0x1c3e3d of this['_getFormattingItems'](_0x1b59b0['document']['selection'],_0xd3920))if(_0x1c3e3d['is']('selection')){for(const _0xb2949c of this['_getFormattingAttributes'](_0x1c3e3d,_0xd3920))_0x53d158['removeSelectionAttribute'](_0xb2949c);}else{const _0x42c687=_0x53d158['createRangeOn'](_0x1c3e3d);for(const _0x5c2434 of this['_getFormattingAttributes'](_0x1c3e3d,_0xd3920))_0x53d158['removeAttribute'](_0x5c2434,_0x42c687);}});}*['_getFormattingItems'](_0x35f2ed,_0xddef11){const _0x4171ec=_0x5b16f6=>!!_0x5197e7(this['_getFormattingAttributes'](_0x5b16f6,_0xddef11));for(const _0x429970 of _0x35f2ed['getRanges']())for(const _0xe20854 of _0x429970['getItems']())!_0xddef11['isBlock'](_0xe20854)&&_0x4171ec(_0xe20854)&&(yield _0xe20854);for(const _0x4b0e05 of _0x35f2ed['getSelectedBlocks']())_0x4171ec(_0x4b0e05)&&(yield _0x4b0e05);_0x4171ec(_0x35f2ed)&&(yield _0x35f2ed);}*['_getFormattingAttributes'](_0x24e1aa,_0x13b668){for(const [_0x5ea46d]of _0x24e1aa['getAttributes']()){const _0x31cf57=_0x13b668['getAttributeProperties'](_0x5ea46d);_0x31cf57&&_0x31cf57['isFormatting']&&(yield _0x5ea46d);}}}class i extends _0x589b9c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x7a1d5a=this['editor'];_0x7a1d5a['commands']['add'](m,new n(_0x7a1d5a)),_0x7a1d5a['commands']['add'](e,new o(_0x7a1d5a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x328af6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x31bf99;for(const _0xbf8be3 in _0x328af6){const _0x8b6735=_0xbf8be3,_0x49d355=_0x328af6[_0x8b6735];if('formatPainterLicenseKeyValid'==_0x49d355||'formatPainterLicenseKeyInvalid'==_0x49d355||'formatPainterLicenseKeyExpired'==_0x49d355||'formatPainterLicenseKeyDomainLimit'==_0x49d355||'formatPainterLicenseKeyNotAllowed'==_0x49d355||'formatPainterLicenseKeyEvaluationLimit'==_0x49d355||'formatPainterLicenseKeyTrialLimit'==_0x49d355||'formatPainterLicenseKeyUsageLimit'==_0x49d355){delete _0x328af6[_0x8b6735],_0x31bf99=_0x49d355,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x31bf99&&_0x328af6['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x31bf99&&_0x328af6['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x31bf99&&_0x328af6['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x31bf99&&_0x328af6['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x31bf99&&_0x328af6['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x31bf99&&_0x328af6['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x31bf99&&_0x328af6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function C(_0x82b1ca,_0x3544d6){const t=_0x82b1ca['t'];switch(_0x3544d6){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 _0x3544d6;}}class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x17f35e(_0x589b9c){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x388ef7=this['editor'];_0x388ef7['editing']['view']['addObserver'](_0xccb20f),_0x388ef7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':C(_0x388ef7['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':C(_0x388ef7['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x388ef7['ui']['componentFactory']['add']('formatPainter',_0x1cf8b8=>{const _0x393f4e=_0xcdfaa4(_0x1cf8b8,_0x2f878d),_0x499550=_0x388ef7['commands']['get'](m);_0x393f4e['buttonView']['set']({'label':C(_0x388ef7['locale'],'Paint\x20formatting'),'icon':_0x10625d,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x393f4e['class']='ck-format-painter-dropdown',_0x499550&&(_0x393f4e['bind']('isEnabled')['to'](_0x499550,'isEnabled'),this['listenTo'](_0x499550,'change:isEnabled',(_0x1d6146,_0x1fab1e,_0x23fc82)=>{_0x23fc82||this['_finishPainting']();}),_0x393f4e['buttonView']['bind']('isOn')['to'](_0x499550,'value',_0x20a33e=>!!_0x20a33e),this['listenTo'](_0x388ef7,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x499550,'change:value',(_0x4051b8,_0x2a6043,_0x29fcfe)=>{this['_toggleSpecialCursor'](!!_0x29fcfe);}));const _0x24530e=new _0x628ca7({'withText':!0x0,'label':C(_0x388ef7['locale'],'Continuous\x20painting'),'tooltip':C(_0x388ef7['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x435869(_0x393f4e,new _0x41bff0([{'type':'switchbutton','model':_0x24530e}]),{'role':'menu'});const _0x38e3e3=()=>{this['_copyFormatting'](),this['listenTo'](_0x59aff5['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x24530e['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x393f4e,'execute',()=>{_0x24530e['isOn']=!_0x24530e['isOn'];}),this['listenTo'](_0x393f4e['buttonView'],'execute',()=>{_0x388ef7['editing']['view']['focus'](),_0x393f4e['buttonView']['isOn']?this['_finishPainting']():_0x38e3e3();}),_0x388ef7['keystrokes']['set']('Ctrl+Alt+C',(_0x1788d9,_0x26f70d)=>{_0x38e3e3(),_0x24530e['isOn']=!0x0,_0x26f70d();},{'priority':'high'}),_0x388ef7['keystrokes']['set']('Ctrl+Alt+V',(_0x10c71f,_0x1076ab)=>{_0x393f4e['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x24530e['isOn']||this['_finishPainting'](),_0x1076ab());},{'priority':'high'}),_0x388ef7['keystrokes']['set']('Esc',(_0x50ee35,_0x397f64)=>{_0x393f4e['buttonView']['isOn']&&(_0x24530e['isOn']=!0x1,this['_finishPainting'](),_0x397f64());}),_0x393f4e;});}['afterInit'](){!async function(_0x4bdd84){const _0xeafd0a=_0x42a7a3([0x56,0x33,0x57,0x46,0x30,0x4a,0x69,0x79,0x62,0x39,0x7a,0x74,0x70,0x4b,0x6f,0x76,0x48,0x61,0x55,0x77,0x45,0x58,0x36,0x51,0x72,0x54,0x53,0x49,0x5a,0x37,0x6a,0x43,0x52,0x67,0x64,0x32,0x44,0x78,0x38,0x59,0x6c,0x42,0x6b,0x6e,0x4d,0x47,0x4f,0x68,0x75,0x50,0x73,0x4c,0x6d,0x63,0x35,0x34,0x4e,0x41,0x65,0x71,0x31,0x66]),_0x3e6d2c=0x295c1a27,_0x43ce25=0x295b6a37^_0x3e6d2c,_0x335342=window[_0x42a7a3([0x44,0x61,0x74,0x65])][_0x42a7a3([0x6e,0x6f,0x77])](),_0x437ceb=_0x4bdd84[_0x42a7a3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xbd24=new window[(_0x42a7a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3830ec=>{_0x437ceb[_0x42a7a3([0x6f,0x6e,0x63,0x65])](_0x42a7a3([0x72,0x65,0x61,0x64,0x79]),_0x3830ec);}),_0x4eece8={[_0x42a7a3([0x6b,0x74,0x79])]:_0x42a7a3([0x45,0x43]),[_0x42a7a3([0x75,0x73,0x65])]:_0x42a7a3([0x73,0x69,0x67]),[_0x42a7a3([0x63,0x72,0x76])]:_0x42a7a3([0x50,0x2d,0x32,0x35,0x36]),[_0x42a7a3([0x78])]:_0x42a7a3([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]),[_0x42a7a3([0x79])]:_0x42a7a3([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]),[_0x42a7a3([0x61,0x6c,0x67])]:_0x42a7a3([0x45,0x53,0x32,0x35,0x36])},_0x151d69=_0x437ceb[_0x42a7a3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42a7a3([0x67,0x65,0x74])](_0x42a7a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf4b83a(){let _0x1e2401,_0x2bda16=null,_0x163a68=null;try{if(_0x151d69==_0x42a7a3([0x47,0x50,0x4c]))return _0x42a7a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e2401=_0x212c52(),!_0x1e2401)return _0x42a7a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e2401[_0x42a7a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x163a68=_0x5bb12d(_0x1e2401[_0x42a7a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e2401[_0x42a7a3([0x6a,0x74,0x69])])),await _0x54f663()?_0x5b7c08()?_0x3e2f35()?_0x42a7a3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c9fcf()?(_0x1e2401[_0x42a7a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42a7a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bda16=_0x552e1f(_0x42a7a3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1e2401[_0x42a7a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42a7a3([0x74,0x72,0x69,0x61,0x6c])&&(_0x2bda16=_0x552e1f(_0x42a7a3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2042b5()):_0x42a7a3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42a7a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42a7a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42a7a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e2f35(){const _0x37fa5f=[_0x42a7a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42a7a3([0x74,0x72,0x69,0x61,0x6c])][_0x42a7a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2401[_0x42a7a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x335342/0x3e8:0xe10*_0x43ce25;return _0x1e2401[_0x42a7a3([0x65,0x78,0x70])]<_0x37fa5f;}function _0x5b7c08(){const _0x44139e=_0x1e2401[_0x42a7a3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44139e&&(!!_0x44139e[_0x42a7a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42a7a3([0x2a]))||(!!_0x44139e[_0x42a7a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42a7a3([0x46,0x50]))||!!_0x44139e[_0x42a7a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42a7a3([0x50,0x50]))));}function _0x3c9fcf(){const _0x8f70b2=_0x1e2401[_0x42a7a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8f70b2||0x0==_0x8f70b2[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48f10a}=new URL(window[_0x42a7a3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x8f70b2[_0x42a7a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48f10a))return!0x0;const _0x15b640=_0x48f10a[_0x42a7a3([0x73,0x70,0x6c,0x69,0x74])](_0x42a7a3([0x2e]));return _0x8f70b2[_0x42a7a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x112434=>_0x112434[_0x42a7a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42a7a3([0x2a])))[_0x42a7a3([0x6d,0x61,0x70])](_0xc337d0=>_0xc337d0[_0x42a7a3([0x73,0x70,0x6c,0x69,0x74])](_0x42a7a3([0x2e])))[_0x42a7a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d266f=>_0x2d266f[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x15b640[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42a7a3([0x6d,0x61,0x70])](_0x12c95a=>Array(_0x15b640[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12c95a[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42a7a3([0x66,0x69,0x6c,0x6c])](_0x12c95a[0x0]===_0x42a7a3([0x2a])?_0x42a7a3([0x2a]):'')[_0x42a7a3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12c95a))[_0x42a7a3([0x73,0x6f,0x6d,0x65])](_0x49adf2=>_0x15b640[_0x42a7a3([0x65,0x76,0x65,0x72,0x79])]((_0x58bbb4,_0x3e6801)=>_0x49adf2[_0x3e6801]===_0x58bbb4||_0x49adf2[_0x3e6801]===_0x42a7a3([0x2a])));}function _0x2042b5(){return _0x2bda16&&_0x163a68?new window[(_0x42a7a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x328faa,_0x3052c6)=>{_0x2bda16[_0x42a7a3([0x74,0x68,0x65,0x6e])](_0x328faa,_0x3052c6),_0x163a68[_0x42a7a3([0x74,0x68,0x65,0x6e])](_0xcb348c=>{_0xcb348c!=_0x42a7a3([0x56,0x61,0x6c,0x69,0x64])&&_0x328faa(_0xcb348c);},_0x3052c6);}):_0x2bda16||_0x163a68||_0x42a7a3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bb12d(_0x57fdd9,_0x4d4bd4){return new window[(_0x42a7a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x534a3d=>{if(_0x1465ce())return _0x534a3d(_0x42a7a3([0x56,0x61,0x6c,0x69,0x64]));_0x17d9d3(),_0x437ceb[_0x42a7a3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42a7a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39c6ac=!0x1;const _0x485afe=_0x1b2c3b();function _0x582407(_0x1f7c04){return!!_0x1f7c04&&(typeof _0x1f7c04===_0x42a7a3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f7c04===_0x42a7a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f7c04[_0x42a7a3([0x74,0x68,0x65,0x6e])]===_0x42a7a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f7c04[_0x42a7a3([0x63,0x61,0x74,0x63,0x68])]===_0x42a7a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2b1c3c(_0x49ba41){_0x49d3e1(_0x49ba41)[_0x42a7a3([0x74,0x68,0x65,0x6e])](_0x5dd71f=>{if(!_0x5dd71f||_0x5dd71f[_0x42a7a3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42a7a3([0x6f,0x6b]))return _0x42a7a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f6866(_0x552ce0(_0x485afe+_0x4d4bd4))!=_0x5dd71f[_0x42a7a3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42a7a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42a7a3([0x56,0x61,0x6c,0x69,0x64]);})[_0x42a7a3([0x74,0x68,0x65,0x6e])](_0x2c0353=>(_0xf9f17(),_0x2c0353),()=>{const _0xeaea31=_0x593f3d();return null==_0xeaea31?(_0xf9f17(),_0x42a7a3([0x56,0x61,0x6c,0x69,0x64])):_0x42a7a3(_0x335342-_0xeaea31>(0xd509e27^_0x3e6d2c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42a7a3([0x74,0x68,0x65,0x6e])](_0x534a3d)[_0x42a7a3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x534a3d(_0x42a7a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37b287=0x296af4a7^_0x3e6d2c;function _0xf9f17(){const _0x248868=_0x42a7a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f6866(_0x552ce0(_0x57fdd9)),_0x22ace0=_0x327efd(_0x4f6866(window[_0x42a7a3([0x4d,0x61,0x74,0x68])][_0x42a7a3([0x63,0x65,0x69,0x6c])](_0x335342/_0x37b287)));window[_0x42a7a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42a7a3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x248868,_0x22ace0);}function _0x593f3d(){const _0x3f3b22=_0x42a7a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f6866(_0x552ce0(_0x57fdd9)),_0x2ecf8d=window[_0x42a7a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42a7a3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f3b22);return _0x2ecf8d?window[_0x42a7a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x327efd(_0x2ecf8d),0x10)*_0x37b287:null;}function _0x49d3e1(_0x77b0f7){return new window[(_0x42a7a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5df4a7,_0x369bef)=>{_0x77b0f7[_0x42a7a3([0x74,0x68,0x65,0x6e])](_0x5df4a7,_0x369bef),window[_0x42a7a3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x369bef,0x295dcee7^_0x3e6d2c);});}}_0x437ceb[_0x42a7a3([0x6f,0x6e])](_0x42a7a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22ab3b,_0x21b7ea)=>{if(_0x21b7ea[0x0]!=_0x57fdd9)return _0x534a3d(_0x42a7a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21b7ea[0x1]={..._0x21b7ea[0x1],[_0x42a7a3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x485afe};},{[_0x42a7a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42a7a3([0x68,0x69,0x67,0x68])}),_0x437ceb[_0x42a7a3([0x6f,0x6e])](_0x42a7a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c081e=>{_0x582407(_0x2c081e[_0x42a7a3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39c6ac=!0x0,_0x2b1c3c(_0x2c081e[_0x42a7a3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42a7a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42a7a3([0x6c,0x6f,0x77])}),_0xbd24[_0x42a7a3([0x74,0x68,0x65,0x6e])](()=>{_0x39c6ac||_0x534a3d(_0x42a7a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1465ce(){return _0x437ceb[_0x42a7a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42a7a3([0x76,0x69,0x65,0x77])][_0x42a7a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42a7a3([0x61,0x75,0x74,0x6f]);}function _0x17d9d3(){_0x437ceb[_0x42a7a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42a7a3([0x76,0x69,0x65,0x77])][_0x42a7a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42a7a3([0x61,0x75,0x74,0x6f]);}}function _0x552e1f(_0x1cef69){const _0x17bc66=[new window[(_0x42a7a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x538ff6=>setTimeout(_0x538ff6,0x295524eb^_0x3e6d2c)),_0xbd24[_0x42a7a3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42a7a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a0207=>{let _0x565694=0x0;_0x437ceb[_0x42a7a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x42a7a3([0x6f,0x6e])](_0x42a7a3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39f805,_0x3b6ece)=>{_0x3b6ece[0x0][_0x42a7a3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x565694++,_0x565694==(0x295c1bdf^_0x3e6d2c)&&(_0x1a0207(),_0x39f805[_0x42a7a3([0x6f,0x66,0x66])]());});}))];return window[_0x42a7a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42a7a3([0x72,0x61,0x63,0x65])](_0x17bc66)[_0x42a7a3([0x74,0x68,0x65,0x6e])](()=>_0x1cef69);}async function _0x50827a(){await _0xbd24,_0x437ceb[_0x42a7a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x42a7a3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a533d,_0x437ceb[_0x42a7a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x42a7a3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a533d,_0x437ceb[_0x42a7a3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42a7a3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f04bf(_0x563a47){const _0x1b5618=_0x29fcad();_0x437ceb[_0x1b5618]=_0x42a7a3([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x563a47,_0x563a47!=_0x42a7a3([0x56,0x61,0x6c,0x69,0x64])&&_0x50827a();}function _0x29fcad(){const _0x5024bf=window[_0x42a7a3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42a7a3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42a7a3([0x6e,0x6f,0x77])]())[_0x42a7a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42a7a3([0x2e]),'');let _0x54f1bd=_0x42a7a3([0x56]);for(let _0x492446=0x0;_0x492446<_0x5024bf[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x492446+=0x2){let _0x10d2d7=window[_0x42a7a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5024bf[_0x42a7a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x492446,_0x492446+0x2));_0x10d2d7>=_0xeafd0a[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10d2d7-=_0xeafd0a[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54f1bd+=_0xeafd0a[_0x10d2d7];}return _0x54f1bd;}function _0x212c52(){const _0x55b821=_0x151d69[_0x42a7a3([0x73,0x70,0x6c,0x69,0x74])](_0x42a7a3([0x2e]));if(0x3!=_0x55b821[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x130402(_0x55b821[0x1]);function _0x130402(_0x6a7a1e){const _0x1990a0=_0x385a5a(_0x6a7a1e);return _0x1990a0&&_0xbdcf68()?_0x1990a0:null;function _0xbdcf68(){const _0x173487=_0x1990a0[_0x42a7a3([0x6a,0x74,0x69])],_0x3a9c92=window[_0x42a7a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x173487[_0x42a7a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x173487[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44fdb2={..._0x1990a0,[_0x42a7a3([0x6a,0x74,0x69])]:_0x173487[_0x42a7a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x173487[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44fdb2[_0x42a7a3([0x76,0x63])],_0x552ce0(_0x44fdb2)==_0x3a9c92;}}}async function _0x54f663(){let _0x2dd09e=!0x0;try{const _0x369d41=_0x151d69[_0x42a7a3([0x73,0x70,0x6c,0x69,0x74])](_0x42a7a3([0x2e])),[_0x52fb1a,_0x276314,_0x51b75f]=_0x369d41;return _0x46920c(_0x52fb1a),await _0xc2d700(_0x52fb1a,_0x276314,_0x51b75f),_0x2dd09e;}catch{return!0x1;}function _0x46920c(_0x252b51){const _0x442781=_0x385a5a(_0x252b51);_0x442781&&_0x442781[_0x42a7a3([0x61,0x6c,0x67])]==_0x42a7a3([0x45,0x53,0x32,0x35,0x36])||(_0x2dd09e=!0x1);}async function _0xc2d700(_0x1a0166,_0x5646d6,_0x162766){const _0x3c9312=window[_0x42a7a3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42a7a3([0x66,0x72,0x6f,0x6d])](_0x49cd0c(_0x162766),_0x4b6f4e=>_0x4b6f4e[_0x42a7a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1dd125=new window[(_0x42a7a3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42a7a3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a0166+_0x42a7a3([0x2e])+_0x5646d6),_0x466e49=window[_0x42a7a3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42a7a3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x466e49)return;const _0x2a142d=await _0x466e49[_0x42a7a3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42a7a3([0x6a,0x77,0x6b]),_0x4eece8,{[_0x42a7a3([0x6e,0x61,0x6d,0x65])]:_0x42a7a3([0x45,0x43,0x44,0x53,0x41]),[_0x42a7a3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42a7a3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42a7a3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x466e49[_0x42a7a3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42a7a3([0x6e,0x61,0x6d,0x65])]:_0x42a7a3([0x45,0x43,0x44,0x53,0x41]),[_0x42a7a3([0x68,0x61,0x73,0x68])]:{[_0x42a7a3([0x6e,0x61,0x6d,0x65])]:_0x42a7a3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a142d,_0x3c9312,_0x1dd125)||(_0x2dd09e=!0x1);}}function _0x385a5a(_0x351ed3){return _0x351ed3[_0x42a7a3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42a7a3([0x65,0x79]))?JSON[_0x42a7a3([0x70,0x61,0x72,0x73,0x65])](_0x49cd0c(_0x351ed3)):null;}function _0x49cd0c(_0x4f3ef2){return window[_0x42a7a3([0x61,0x74,0x6f,0x62])](_0x4f3ef2[_0x42a7a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42a7a3([0x2b]))[_0x42a7a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42a7a3([0x2f])));}function _0x552ce0(_0x535a26){let _0x2abd0c=0x1505;function _0xba08ca(_0x1fbd8a){for(let _0x5ead75=0x0;_0x5ead75<_0x1fbd8a[_0x42a7a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ead75++){const _0x37b542=_0x1fbd8a[_0x42a7a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ead75);_0x2abd0c=(_0x2abd0c<<0x5)+_0x2abd0c+_0x37b542,_0x2abd0c&=_0x2abd0c;}}function _0x49e3ba(_0x2f9484){Array[_0x42a7a3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f9484)?_0x2f9484[_0x42a7a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49e3ba):_0x2f9484&&typeof _0x2f9484==_0x42a7a3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42a7a3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f9484)[_0x42a7a3([0x73,0x6f,0x72,0x74])]()[_0x42a7a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd28ae2,_0x52b636])=>{_0xba08ca(_0xd28ae2),_0x49e3ba(_0x52b636);}):_0xba08ca(window[_0x42a7a3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f9484));}return _0x49e3ba(_0x535a26),_0x2abd0c>>>0x0;}function _0x4f6866(_0xc5b1aa){return _0xc5b1aa[_0x42a7a3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42a7a3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42a7a3([0x30]));}function _0x327efd(_0x724957){return _0x724957[_0x42a7a3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42a7a3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42a7a3([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a533d(){}function _0x42a7a3(_0x267c42){return _0x267c42['map'](_0x2e716c=>String['fromCharCode'](_0x2e716c))['join']('');}_0x5f04bf(await _0xf4b83a());}(this);}['_toggleSpecialCursor'](_0x981885){this['editor']['editing']['view']['change'](_0x31035e=>{for(const _0x11741d of this['editor']['editing']['view']['document']['roots'])_0x981885?_0x31035e['addClass'](k,_0x11741d):_0x31035e['removeClass'](k,_0x11741d);});}['_copyFormatting'](){const {editor:_0x4c799c}=this;_0x4c799c['execute'](m),_0x4c799c['ui']['ariaLiveAnnouncer']['announce'](C(_0x4c799c['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x4d83a0}=this,_0x3133cd=_0x4d83a0['commands']['get'](m)['value'];_0x4d83a0['execute'](e,_0x3133cd),_0x4d83a0['ui']['ariaLiveAnnouncer']['announce'](C(_0x4d83a0['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](m)['reset'](),this['stopListening'](_0x59aff5['window']['document'],'mouseup');}}class P extends _0x589b9c{static get['requires'](){return[i,a];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{n as CopyFormatCommand,P as FormatPainter,i as FormatPainterEditing,a as FormatPainterUI,o as PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.13",
|
|
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": "46.0.1-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
20
|
-
"ckeditor5": "46.0.1-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.13",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.13",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.13",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.13",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.13",
|
|
20
|
+
"ckeditor5": "46.0.1-alpha.13"
|
|
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
|
-
_0x38f40d(_0x3d7913){static get[_0x3f044b(0x1bf)](){const _0xb0400f=_0x3f044b;return _0xb0400f(0x1a1);}static get[_0x3f044b(0x1cb)](){return!0x0;}static get[_0x3f044b(0x19f)](){return!0x0;}[_0x3f044b(0x1b9)](){const _0x3b7c6d=_0x3f044b,_0x392f7a=this[_0x3b7c6d(0x1c0)];_0x392f7a[_0x3b7c6d(0x1a4)][_0x3b7c6d(0x1a6)][_0x3b7c6d(0x196)](_0x4ee578),_0x392f7a[_0x3b7c6d(0x1ca)][_0x3b7c6d(0x194)]({'keystrokes':[{'label':_0x5a24bc(_0x392f7a[_0x3b7c6d(0x1d8)],_0x3b7c6d(0x1ab)),'keystroke':_0x3b7c6d(0x1cf)},{'label':_0x5a24bc(_0x392f7a[_0x3b7c6d(0x1d8)],_0x3b7c6d(0x1c9)),'keystroke':_0x3b7c6d(0x197)}]}),_0x392f7a['ui'][_0x3b7c6d(0x1d0)][_0x3b7c6d(0x1b3)](_0x3b7c6d(0x193),_0x48b392=>{const _0x2f0019=_0x3b7c6d,_0x3f17c5=_0x172d54(_0x48b392,_0x219ff1),_0x2df89f=_0x392f7a[_0x2f0019(0x1ad)][_0x2f0019(0x195)](_0x2ede64);_0x3f17c5[_0x2f0019(0x1c7)][_0x2f0019(0x1b5)]({'label':_0x5a24bc(_0x392f7a[_0x2f0019(0x1d8)],_0x2f0019(0x1c8)),'icon':_0x50b8c6,'keystroke':_0x2f0019(0x1cf),'tooltip':!0x0}),_0x3f17c5[_0x2f0019(0x1c5)]=_0x2f0019(0x191),_0x2df89f&&(_0x3f17c5[_0x2f0019(0x1bd)](_0x2f0019(0x1be))['to'](_0x2df89f,_0x2f0019(0x1be)),this[_0x2f0019(0x1a0)](_0x2df89f,_0x2f0019(0x1ac),(_0x527f95,_0x3ccf17,_0xede643)=>{const _0x2d6bc3=_0x2f0019;_0xede643||this[_0x2d6bc3(0x1a2)]();}),_0x3f17c5[_0x2f0019(0x1c7)][_0x2f0019(0x1bd)](_0x2f0019(0x1de))['to'](_0x2df89f,_0x2f0019(0x1d7),_0x40c704=>!!_0x40c704),this[_0x2f0019(0x1a0)](_0x392f7a,_0x2f0019(0x19d),()=>this[_0x2f0019(0x1b2)](!0x1)),this[_0x2f0019(0x1a0)](_0x2df89f,_0x2f0019(0x1c2),(_0x5e2438,_0xe9a3ec,_0x591d3b)=>{const _0x41a6da=_0x2f0019;this[_0x41a6da(0x1b2)](!!_0x591d3b);}));const _0x411027=new _0x3f952b({'withText':!0x0,'label':_0x5a24bc(_0x392f7a[_0x2f0019(0x1d8)],_0x2f0019(0x1af)),'tooltip':_0x5a24bc(_0x392f7a[_0x2f0019(0x1d8)],_0x2f0019(0x1c1)),'isOn':!0x1,'role':_0x2f0019(0x198)});_0x4904a0(_0x3f17c5,new _0x116848([{'type':_0x2f0019(0x1db),'model':_0x411027}]),{'role':_0x2f0019(0x19c)});const _0x2918d4=()=>{const _0xa92582=_0x2f0019;this[_0xa92582(0x1dc)](),this[_0xa92582(0x1a0)](_0x293c72[_0xa92582(0x1b7)][_0xa92582(0x1bc)],_0xa92582(0x1b1),()=>{const _0x2385c3=_0xa92582;this[_0x2385c3(0x19e)](),_0x411027[_0x2385c3(0x1de)]||this[_0x2385c3(0x1a2)]();});};return this[_0x2f0019(0x1a0)](_0x3f17c5,_0x2f0019(0x1b0),()=>{const _0x15060b=_0x2f0019;_0x411027[_0x15060b(0x1de)]=!_0x411027[_0x15060b(0x1de)];}),this[_0x2f0019(0x1a0)](_0x3f17c5[_0x2f0019(0x1c7)],_0x2f0019(0x1b0),()=>{const _0x11cb94=_0x2f0019;_0x392f7a[_0x11cb94(0x1a4)][_0x11cb94(0x1a6)][_0x11cb94(0x1bb)](),_0x3f17c5[_0x11cb94(0x1c7)][_0x11cb94(0x1de)]?this[_0x11cb94(0x1a2)]():_0x2918d4();}),_0x392f7a[_0x2f0019(0x1d5)][_0x2f0019(0x1b5)](_0x2f0019(0x1cf),(_0x521f9d,_0x537b0d)=>{const _0xe38d9d=_0x2f0019;_0x2918d4(),_0x411027[_0xe38d9d(0x1de)]=!0x0,_0x537b0d();},{'priority':_0x2f0019(0x1b4)}),_0x392f7a[_0x2f0019(0x1d5)][_0x2f0019(0x1b5)](_0x2f0019(0x197),(_0x2cb006,_0x44c4ad)=>{const _0x22a322=_0x2f0019;_0x3f17c5[_0x22a322(0x1c7)][_0x22a322(0x1de)]&&(this[_0x22a322(0x19e)](),_0x411027[_0x22a322(0x1de)]||this[_0x22a322(0x1a2)](),_0x44c4ad());},{'priority':_0x2f0019(0x1b4)}),_0x392f7a[_0x2f0019(0x1d5)][_0x2f0019(0x1b5)](_0x2f0019(0x1c4),(_0x52ae48,_0x476ec7)=>{const _0x10a7a7=_0x2f0019;_0x3f17c5[_0x10a7a7(0x1c7)][_0x10a7a7(0x1de)]&&(_0x411027[_0x10a7a7(0x1de)]=!0x1,this[_0x10a7a7(0x1a2)](),_0x476ec7());}),_0x3f17c5;});}[_0x3f044b(0x1aa)](){!async function(_0xd0ba17){const _0xbfdd9d=_0x1ffe96([0x49,0x33,0x75,0x4c,0x62,0x47,0x48,0x4f,0x38,0x43,0x52,0x61,0x31,0x4e,0x50,0x4a,0x55,0x72,0x36,0x7a,0x69,0x59,0x74,0x32,0x42,0x39,0x63,0x79,0x64,0x77,0x44,0x6e,0x54,0x78,0x5a,0x71,0x70,0x46,0x6a,0x53,0x58,0x51,0x6b,0x45,0x68,0x57,0x34,0x6d,0x41,0x6c,0x37,0x30,0x56,0x76,0x35,0x65,0x6f,0x4b,0x73,0x66,0x4d,0x67]),_0x7bc349=0x19612484,_0x4f4586=0x19664b64^_0x7bc349,_0x2cbb68=window[_0x1ffe96([0x44,0x61,0x74,0x65])][_0x1ffe96([0x6e,0x6f,0x77])](),_0xf81ae8=_0xd0ba17[_0x1ffe96([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa9e76a=new window[(_0x1ffe96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x580c50=>{_0xf81ae8[_0x1ffe96([0x6f,0x6e,0x63,0x65])](_0x1ffe96([0x72,0x65,0x61,0x64,0x79]),_0x580c50);}),_0x51aa70={[_0x1ffe96([0x6b,0x74,0x79])]:_0x1ffe96([0x45,0x43]),[_0x1ffe96([0x75,0x73,0x65])]:_0x1ffe96([0x73,0x69,0x67]),[_0x1ffe96([0x63,0x72,0x76])]:_0x1ffe96([0x50,0x2d,0x32,0x35,0x36]),[_0x1ffe96([0x78])]:_0x1ffe96([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]),[_0x1ffe96([0x79])]:_0x1ffe96([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]),[_0x1ffe96([0x61,0x6c,0x67])]:_0x1ffe96([0x45,0x53,0x32,0x35,0x36])},_0x4e7683=_0xf81ae8[_0x1ffe96([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ffe96([0x67,0x65,0x74])](_0x1ffe96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xac4a1c(){let _0x4a14bb,_0x188822=null,_0x53cedc=null;try{if(_0x4e7683==_0x1ffe96([0x47,0x50,0x4c]))return _0x1ffe96([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a14bb=_0x56a39b(),!_0x4a14bb)return _0x1ffe96([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a14bb[_0x1ffe96([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53cedc=_0x30a3a6(_0x4a14bb[_0x1ffe96([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a14bb[_0x1ffe96([0x6a,0x74,0x69])])),await _0x37b9aa()?_0x39c061()?_0x37c04c()?_0x1ffe96([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c10fd()?(_0x4a14bb[_0x1ffe96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ffe96([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x188822=_0x533f4b(_0x1ffe96([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a14bb[_0x1ffe96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ffe96([0x74,0x72,0x69,0x61,0x6c])&&(_0x188822=_0x533f4b(_0x1ffe96([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x159a7d()):_0x1ffe96([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ffe96([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ffe96([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ffe96([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37c04c(){const _0x41f30e=[_0x1ffe96([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ffe96([0x74,0x72,0x69,0x61,0x6c])][_0x1ffe96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a14bb[_0x1ffe96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2cbb68/0x3e8:0xe10*_0x4f4586;return _0x4a14bb[_0x1ffe96([0x65,0x78,0x70])]<_0x41f30e;}function _0x39c061(){const _0x1b9607=_0x4a14bb[_0x1ffe96([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1b9607&&(!!_0x1b9607[_0x1ffe96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ffe96([0x2a]))||(!!_0x1b9607[_0x1ffe96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ffe96([0x46,0x50]))||!!_0x1b9607[_0x1ffe96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ffe96([0x50,0x50]))));}function _0x5c10fd(){const _0x37e4ee=_0x5841,_0x10b093=_0x4a14bb[_0x1ffe96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10b093||0x0==_0x10b093[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x338e67}=new URL(window[_0x1ffe96([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x37e4ee(0x1cd)]);if(_0x10b093[_0x1ffe96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x338e67))return!0x0;const _0x6413ac=_0x338e67[_0x1ffe96([0x73,0x70,0x6c,0x69,0x74])](_0x1ffe96([0x2e]));return _0x10b093[_0x1ffe96([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x167a88=>_0x167a88[_0x1ffe96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ffe96([0x2a])))[_0x1ffe96([0x6d,0x61,0x70])](_0x5ac012=>_0x5ac012[_0x1ffe96([0x73,0x70,0x6c,0x69,0x74])](_0x1ffe96([0x2e])))[_0x1ffe96([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e7e12=>_0x3e7e12[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x6413ac[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ffe96([0x6d,0x61,0x70])](_0x2a060b=>Array(_0x6413ac[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a060b[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ffe96([0x66,0x69,0x6c,0x6c])](_0x2a060b[0x0]===_0x1ffe96([0x2a])?_0x1ffe96([0x2a]):'')[_0x1ffe96([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a060b))[_0x1ffe96([0x73,0x6f,0x6d,0x65])](_0x2da31e=>_0x6413ac[_0x1ffe96([0x65,0x76,0x65,0x72,0x79])]((_0x443324,_0x528cf8)=>_0x2da31e[_0x528cf8]===_0x443324||_0x2da31e[_0x528cf8]===_0x1ffe96([0x2a])));}function _0x159a7d(){return _0x188822&&_0x53cedc?new window[(_0x1ffe96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5694e3,_0x21ca51)=>{_0x188822[_0x1ffe96([0x74,0x68,0x65,0x6e])](_0x5694e3,_0x21ca51),_0x53cedc[_0x1ffe96([0x74,0x68,0x65,0x6e])](_0x558698=>{_0x558698!=_0x1ffe96([0x56,0x61,0x6c,0x69,0x64])&&_0x5694e3(_0x558698);},_0x21ca51);}):_0x188822||_0x53cedc||_0x1ffe96([0x56,0x61,0x6c,0x69,0x64]);}}function _0x30a3a6(_0x354559,_0x5530c9){return new window[(_0x1ffe96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2180ad=>{if(_0x5ebc06())return _0x2180ad(_0x1ffe96([0x56,0x61,0x6c,0x69,0x64]));_0x522ad4(),_0xf81ae8[_0x1ffe96([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ffe96([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x254b88=!0x1;const _0x497f04=_0x302908();function _0x1f8553(_0x3bdf4c){return!!_0x3bdf4c&&(typeof _0x3bdf4c===_0x1ffe96([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3bdf4c===_0x1ffe96([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3bdf4c[_0x1ffe96([0x74,0x68,0x65,0x6e])]===_0x1ffe96([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3bdf4c[_0x1ffe96([0x63,0x61,0x74,0x63,0x68])]===_0x1ffe96([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5be15a(_0x41c561){_0x13e257(_0x41c561)[_0x1ffe96([0x74,0x68,0x65,0x6e])](_0x3ac63c=>{if(!_0x3ac63c||_0x3ac63c[_0x1ffe96([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ffe96([0x6f,0x6b]))return _0x1ffe96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1fce93(_0x41db06(_0x497f04+_0x5530c9))!=_0x3ac63c[_0x1ffe96([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ffe96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ffe96([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ffe96([0x74,0x68,0x65,0x6e])](_0xabd272=>(_0x2dcbeb(),_0xabd272),()=>{const _0x4dce59=_0x320490();return null==_0x4dce59?(_0x2dcbeb(),_0x1ffe96([0x56,0x61,0x6c,0x69,0x64])):_0x1ffe96(_0x2cbb68-_0x4dce59>(0x3d6da084^_0x7bc349)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ffe96([0x74,0x68,0x65,0x6e])](_0x2180ad)[_0x1ffe96([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2180ad(_0x1ffe96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x35a57a=0x1957ca04^_0x7bc349;function _0x2dcbeb(){const _0x5111db=_0x1ffe96([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fce93(_0x41db06(_0x354559)),_0x4a8c6d=_0x228bf2(_0x1fce93(window[_0x1ffe96([0x4d,0x61,0x74,0x68])][_0x1ffe96([0x63,0x65,0x69,0x6c])](_0x2cbb68/_0x35a57a)));window[_0x1ffe96([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ffe96([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5111db,_0x4a8c6d);}function _0x320490(){const _0x460577=_0x1ffe96([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fce93(_0x41db06(_0x354559)),_0x53b557=window[_0x1ffe96([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ffe96([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x460577);return _0x53b557?window[_0x1ffe96([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x228bf2(_0x53b557),0x10)*_0x35a57a:null;}function _0x13e257(_0x4a3598){return new window[(_0x1ffe96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21d71c,_0x295f83)=>{_0x4a3598[_0x1ffe96([0x74,0x68,0x65,0x6e])](_0x21d71c,_0x295f83),window[_0x1ffe96([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x295f83,0x1960f044^_0x7bc349);});}}_0xf81ae8[_0x1ffe96([0x6f,0x6e])](_0x1ffe96([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xec74b2,_0x356001)=>{if(_0x356001[0x0]!=_0x354559)return _0x2180ad(_0x1ffe96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x356001[0x1]={..._0x356001[0x1],[_0x1ffe96([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x497f04};},{[_0x1ffe96([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ffe96([0x68,0x69,0x67,0x68])}),_0xf81ae8[_0x1ffe96([0x6f,0x6e])](_0x1ffe96([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf787e7=>{_0x1f8553(_0xf787e7[_0x1ffe96([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x254b88=!0x0,_0x5be15a(_0xf787e7[_0x1ffe96([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ffe96([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ffe96([0x6c,0x6f,0x77])}),_0xa9e76a[_0x1ffe96([0x74,0x68,0x65,0x6e])](()=>{_0x254b88||_0x2180ad(_0x1ffe96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ebc06(){return _0xf81ae8[_0x1ffe96([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ffe96([0x76,0x69,0x65,0x77])][_0x1ffe96([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ffe96([0x61,0x75,0x74,0x6f]);}function _0x522ad4(){_0xf81ae8[_0x1ffe96([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ffe96([0x76,0x69,0x65,0x77])][_0x1ffe96([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ffe96([0x61,0x75,0x74,0x6f]);}}function _0x533f4b(_0xcc3019){const _0x591c2b=[new window[(_0x1ffe96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x234674=>setTimeout(_0x234674,0x19681a48^_0x7bc349)),_0xa9e76a[_0x1ffe96([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ffe96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41d0d0=>{let _0xbee21f=0x0;_0xf81ae8[_0x1ffe96([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ffe96([0x6f,0x6e])](_0x1ffe96([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x93e3b4,_0x4b6e88)=>{_0x4b6e88[0x0][_0x1ffe96([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbee21f++,_0xbee21f==(0x1961257c^_0x7bc349)&&(_0x41d0d0(),_0x93e3b4[_0x1ffe96([0x6f,0x66,0x66])]());});}))];return window[_0x1ffe96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ffe96([0x72,0x61,0x63,0x65])](_0x591c2b)[_0x1ffe96([0x74,0x68,0x65,0x6e])](()=>_0xcc3019);}async function _0x4d01a2(){await _0xa9e76a,_0xf81ae8[_0x1ffe96([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ffe96([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x37d19a,_0xf81ae8[_0x1ffe96([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ffe96([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x37d19a,_0xf81ae8[_0x1ffe96([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ffe96([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x34b97a(_0x33c82d){const _0x3d7db9=_0x537e17();_0xf81ae8[_0x3d7db9]=_0x1ffe96([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33c82d,_0x33c82d!=_0x1ffe96([0x56,0x61,0x6c,0x69,0x64])&&_0x4d01a2();}function _0x537e17(){const _0xc6306e=window[_0x1ffe96([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ffe96([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ffe96([0x6e,0x6f,0x77])]())[_0x1ffe96([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ffe96([0x2e]),'');let _0x1cef15=_0x1ffe96([0x49]);for(let _0x28907d=0x0;_0x28907d<_0xc6306e[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28907d+=0x2){let _0x6de36c=window[_0x1ffe96([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc6306e[_0x1ffe96([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28907d,_0x28907d+0x2));_0x6de36c>=_0xbfdd9d[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6de36c-=_0xbfdd9d[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1cef15+=_0xbfdd9d[_0x6de36c];}return _0x1cef15;}function _0x56a39b(){const _0x5ecce7=_0x4e7683[_0x1ffe96([0x73,0x70,0x6c,0x69,0x74])](_0x1ffe96([0x2e]));if(0x3!=_0x5ecce7[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x51eef6(_0x5ecce7[0x1]);function _0x51eef6(_0x31541d){const _0x3807a5=_0x5d52f5(_0x31541d);return _0x3807a5&&_0x4e1efd()?_0x3807a5:null;function _0x4e1efd(){const _0x911896=_0x3807a5[_0x1ffe96([0x6a,0x74,0x69])],_0x2ddd0d=window[_0x1ffe96([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x911896[_0x1ffe96([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x911896[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e450d={..._0x3807a5,[_0x1ffe96([0x6a,0x74,0x69])]:_0x911896[_0x1ffe96([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x911896[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e450d[_0x1ffe96([0x76,0x63])],_0x41db06(_0x2e450d)==_0x2ddd0d;}}}async function _0x37b9aa(){let _0x3208a1=!0x0;try{const _0x2bd3a2=_0x4e7683[_0x1ffe96([0x73,0x70,0x6c,0x69,0x74])](_0x1ffe96([0x2e])),[_0x202baf,_0x41975c,_0x4f0b0d]=_0x2bd3a2;return _0x3a6bad(_0x202baf),await _0x4dfc0e(_0x202baf,_0x41975c,_0x4f0b0d),_0x3208a1;}catch{return!0x1;}function _0x3a6bad(_0x41871e){const _0x2f178c=_0x5d52f5(_0x41871e);_0x2f178c&&_0x2f178c[_0x1ffe96([0x61,0x6c,0x67])]==_0x1ffe96([0x45,0x53,0x32,0x35,0x36])||(_0x3208a1=!0x1);}async function _0x4dfc0e(_0x387b7c,_0x3a1c22,_0x445add){const _0x290b7c=window[_0x1ffe96([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ffe96([0x66,0x72,0x6f,0x6d])](_0x1a9904(_0x445add),_0x26ca6a=>_0x26ca6a[_0x1ffe96([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42410d=new window[(_0x1ffe96([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ffe96([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x387b7c+_0x1ffe96([0x2e])+_0x3a1c22),_0x5c5e61=window[_0x1ffe96([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ffe96([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c5e61)return;const _0x1573ba=await _0x5c5e61[_0x1ffe96([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ffe96([0x6a,0x77,0x6b]),_0x51aa70,{[_0x1ffe96([0x6e,0x61,0x6d,0x65])]:_0x1ffe96([0x45,0x43,0x44,0x53,0x41]),[_0x1ffe96([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ffe96([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ffe96([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c5e61[_0x1ffe96([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ffe96([0x6e,0x61,0x6d,0x65])]:_0x1ffe96([0x45,0x43,0x44,0x53,0x41]),[_0x1ffe96([0x68,0x61,0x73,0x68])]:{[_0x1ffe96([0x6e,0x61,0x6d,0x65])]:_0x1ffe96([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1573ba,_0x290b7c,_0x42410d)||(_0x3208a1=!0x1);}}function _0x5d52f5(_0x3cef27){return _0x3cef27[_0x1ffe96([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ffe96([0x65,0x79]))?JSON[_0x1ffe96([0x70,0x61,0x72,0x73,0x65])](_0x1a9904(_0x3cef27)):null;}function _0x1a9904(_0xe430c){return window[_0x1ffe96([0x61,0x74,0x6f,0x62])](_0xe430c[_0x1ffe96([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ffe96([0x2b]))[_0x1ffe96([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ffe96([0x2f])));}function _0x41db06(_0x389807){let _0x277a71=0x1505;function _0x307731(_0x4db3dc){for(let _0x4d3b81=0x0;_0x4d3b81<_0x4db3dc[_0x1ffe96([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d3b81++){const _0x3f5f5a=_0x4db3dc[_0x1ffe96([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d3b81);_0x277a71=(_0x277a71<<0x5)+_0x277a71+_0x3f5f5a,_0x277a71&=_0x277a71;}}function _0x1f8bc4(_0x20de0c){Array[_0x1ffe96([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20de0c)?_0x20de0c[_0x1ffe96([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f8bc4):_0x20de0c&&typeof _0x20de0c==_0x1ffe96([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ffe96([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20de0c)[_0x1ffe96([0x73,0x6f,0x72,0x74])]()[_0x1ffe96([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13bdcc,_0x450186])=>{_0x307731(_0x13bdcc),_0x1f8bc4(_0x450186);}):_0x307731(window[_0x1ffe96([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20de0c));}return _0x1f8bc4(_0x389807),_0x277a71>>>0x0;}function _0x1fce93(_0x22f655){return _0x22f655[_0x1ffe96([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ffe96([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ffe96([0x30]));}function _0x228bf2(_0x577fb3){return _0x577fb3[_0x1ffe96([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ffe96([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ffe96([0x6a,0x6f,0x69,0x6e])]('');}function _0x37d19a(){}function _0x1ffe96(_0xdc4bc4){const _0x460c18=_0x5841;return _0xdc4bc4[_0x460c18(0x1dd)](_0x198d75=>String[_0x460c18(0x1cc)](_0x198d75))[_0x460c18(0x1d9)]('');}_0x34b97a(await _0xac4a1c());}(this);}[_0x3f044b(0x1b2)](_0x5bb8bd){const _0x16c33e=_0x3f044b;this[_0x16c33e(0x1c0)][_0x16c33e(0x1a4)][_0x16c33e(0x1a6)][_0x16c33e(0x1a3)](_0x5d5374=>{const _0x3e1f15=_0x16c33e;for(const _0x4d4162 of this[_0x3e1f15(0x1c0)][_0x3e1f15(0x1a4)][_0x3e1f15(0x1a6)][_0x3e1f15(0x1bc)][_0x3e1f15(0x1b8)])_0x5bb8bd?_0x5d5374[_0x3e1f15(0x1a7)](_0x4162e3,_0x4d4162):_0x5d5374[_0x3e1f15(0x19a)](_0x4162e3,_0x4d4162);});}[_0x3f044b(0x1dc)](){const _0x5a036b=_0x3f044b,{editor:_0x3c757c}=this;_0x3c757c[_0x5a036b(0x1b0)](_0x2ede64),_0x3c757c['ui'][_0x5a036b(0x1d4)][_0x5a036b(0x192)](_0x5a24bc(_0x3c757c[_0x5a036b(0x1d8)],_0x5a036b(0x1d6)));}[_0x3f044b(0x19e)](){const _0x125f2a=_0x3f044b,{editor:_0x269dae}=this,_0xbed0b6=_0x269dae[_0x125f2a(0x1ad)][_0x125f2a(0x195)](_0x2ede64)[_0x125f2a(0x1d7)];_0x269dae[_0x125f2a(0x1b0)](_0x1483f4,_0xbed0b6),_0x269dae['ui'][_0x125f2a(0x1d4)][_0x125f2a(0x192)](_0x5a24bc(_0x269dae[_0x125f2a(0x1d8)],_0x125f2a(0x199)));}[_0x3f044b(0x1a2)](){const _0x3f3623=_0x3f044b;this[_0x3f3623(0x1c0)][_0x3f3623(0x1ad)][_0x3f3623(0x195)](_0x2ede64)[_0x3f3623(0x1c6)](),this[_0x3f3623(0x1da)](_0x293c72[_0x3f3623(0x1b7)][_0x3f3623(0x1bc)],_0x3f3623(0x1b1));}}
|
|
23
|
+
function _0x10c3(_0x297fbd,_0x11ce0b){const _0xdc90cc=_0xdc90();return _0x10c3=function(_0x10c342,_0x4e6496){_0x10c342=_0x10c342-0xf5;let _0x2f2005=_0xdc90cc[_0x10c342];return _0x2f2005;},_0x10c3(_0x297fbd,_0x11ce0b);}const _0x4f897b=_0x10c3;(function(_0x419aff,_0x4050ab){const _0x364dde=_0x10c3,_0x58eab8=_0x419aff();while(!![]){try{const _0x4f0b69=-parseInt(_0x364dde(0x117))/0x1+-parseInt(_0x364dde(0x100))/0x2+-parseInt(_0x364dde(0x114))/0x3+parseInt(_0x364dde(0x123))/0x4+-parseInt(_0x364dde(0x10c))/0x5+-parseInt(_0x364dde(0x106))/0x6+parseInt(_0x364dde(0xfe))/0x7;if(_0x4f0b69===_0x4050ab)break;else _0x58eab8['push'](_0x58eab8['shift']());}catch(_0x23e73f){_0x58eab8['push'](_0x58eab8['shift']());}}}(_0xdc90,0x3fdac));import{Plugin as _0x5d34a4}from'ckeditor5/src/core.js';import{addListToDropdown as _0x27ad75,createDropdown as _0x20d4c3,UIModel as _0x49d3b9,SplitButtonView as _0x2df74b}from'ckeditor5/src/ui.js';import{Collection as _0x54a7b9,global as _0x453073,DomEmitterMixin as _0x40c390,uid as _0x188f52}from'ckeditor5/src/utils.js';import{ClickObserver as _0x205528}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0x588a13}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x31eab7,PASTE_FORMAT_COMMAND_NAME as _0x12a433,CURSOR_ACTIVE_CSS_CLASS as _0x3f361e}from'./utils.js';import{getTranslation as _0x4a184c}from'./utils/common-translations.js';function _0xdc90(){const _0x46a485=['href','mouseup','join','buttonView','menuitemcheckbox','document','keystrokes','_copyFormatting','editor','pluginName','1707604IZwILU','execute','addClass','commands','formatPainter','Ctrl+Alt+C','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','stopListening','menu','set','Pasted\x20formatting.','locale','addKeystrokeInfos','ariaLiveAnnouncer','map','Ctrl+Alt+V','isPremiumPlugin','change:isEnabled','announce','componentFactory','value','isOn','accessibility','isOfficialPlugin','ck-format-painter-dropdown','Esc','get','afterInit','roots','reset','removeClass','Paint\x20formatting','init','Copy\x20text\x20formatting','isEnabled','editing','6864284cejGPe','view','667772anprJC','Continuous\x20painting','destroy','class','window','_toggleSpecialCursor','1097676PPjpKh','focus','add','_finishPainting','change','change:value','241350Wueylr','addObserver','FormatPainterUI','_pasteFormatting','Paste\x20text\x20formatting','fromCharCode','Formatting\x20copied.','high','1004580iRwMvO','listenTo','bind','246003KUdyui','switchbutton'];_0xdc90=function(){return _0x46a485;};return _0xdc90();}export class FormatPainterUI extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x40c390(_0x5d34a4){static get[_0x4f897b(0x122)](){const _0x4bff60=_0x4f897b;return _0x4bff60(0x10e);}static get[_0x4f897b(0x13a)](){return!0x0;}static get[_0x4f897b(0x133)](){return!0x0;}[_0x4f897b(0xfa)](){const _0x5b8622=_0x4f897b,_0xed9c3c=this[_0x5b8622(0x121)];_0xed9c3c[_0x5b8622(0xfd)][_0x5b8622(0xff)][_0x5b8622(0x10d)](_0x205528),_0xed9c3c[_0x5b8622(0x139)][_0x5b8622(0x12f)]({'keystrokes':[{'label':_0x4a184c(_0xed9c3c[_0x5b8622(0x12e)],_0x5b8622(0xfb)),'keystroke':_0x5b8622(0x128)},{'label':_0x4a184c(_0xed9c3c[_0x5b8622(0x12e)],_0x5b8622(0x110)),'keystroke':_0x5b8622(0x132)}]}),_0xed9c3c['ui'][_0x5b8622(0x136)][_0x5b8622(0x108)](_0x5b8622(0x127),_0x1fdb67=>{const _0x3ef0aa=_0x5b8622,_0x3294ca=_0x20d4c3(_0x1fdb67,_0x2df74b),_0x3f9a35=_0xed9c3c[_0x3ef0aa(0x126)][_0x3ef0aa(0x13d)](_0x31eab7);_0x3294ca[_0x3ef0aa(0x11c)][_0x3ef0aa(0x12c)]({'label':_0x4a184c(_0xed9c3c[_0x3ef0aa(0x12e)],_0x3ef0aa(0xf9)),'icon':_0x588a13,'keystroke':_0x3ef0aa(0x128),'tooltip':!0x0}),_0x3294ca[_0x3ef0aa(0x103)]=_0x3ef0aa(0x13b),_0x3f9a35&&(_0x3294ca[_0x3ef0aa(0x116)](_0x3ef0aa(0xfc))['to'](_0x3f9a35,_0x3ef0aa(0xfc)),this[_0x3ef0aa(0x115)](_0x3f9a35,_0x3ef0aa(0x134),(_0xbb8652,_0x2057e5,_0x5402a6)=>{const _0x4ce9a4=_0x3ef0aa;_0x5402a6||this[_0x4ce9a4(0x109)]();}),_0x3294ca[_0x3ef0aa(0x11c)][_0x3ef0aa(0x116)](_0x3ef0aa(0x138))['to'](_0x3f9a35,_0x3ef0aa(0x137),_0x2aa522=>!!_0x2aa522),this[_0x3ef0aa(0x115)](_0xed9c3c,_0x3ef0aa(0x102),()=>this[_0x3ef0aa(0x105)](!0x1)),this[_0x3ef0aa(0x115)](_0x3f9a35,_0x3ef0aa(0x10b),(_0x20748a,_0x391319,_0x5edc76)=>{const _0x190b1d=_0x3ef0aa;this[_0x190b1d(0x105)](!!_0x5edc76);}));const _0x551674=new _0x49d3b9({'withText':!0x0,'label':_0x4a184c(_0xed9c3c[_0x3ef0aa(0x12e)],_0x3ef0aa(0x101)),'tooltip':_0x4a184c(_0xed9c3c[_0x3ef0aa(0x12e)],_0x3ef0aa(0x129)),'isOn':!0x1,'role':_0x3ef0aa(0x11d)});_0x27ad75(_0x3294ca,new _0x54a7b9([{'type':_0x3ef0aa(0x118),'model':_0x551674}]),{'role':_0x3ef0aa(0x12b)});const _0x1b168f=()=>{const _0x1b5dff=_0x3ef0aa;this[_0x1b5dff(0x120)](),this[_0x1b5dff(0x115)](_0x453073[_0x1b5dff(0x104)][_0x1b5dff(0x11e)],_0x1b5dff(0x11a),()=>{const _0x37d24c=_0x1b5dff;this[_0x37d24c(0x10f)](),_0x551674[_0x37d24c(0x138)]||this[_0x37d24c(0x109)]();});};return this[_0x3ef0aa(0x115)](_0x3294ca,_0x3ef0aa(0x124),()=>{const _0x3a1655=_0x3ef0aa;_0x551674[_0x3a1655(0x138)]=!_0x551674[_0x3a1655(0x138)];}),this[_0x3ef0aa(0x115)](_0x3294ca[_0x3ef0aa(0x11c)],_0x3ef0aa(0x124),()=>{const _0x53c51c=_0x3ef0aa;_0xed9c3c[_0x53c51c(0xfd)][_0x53c51c(0xff)][_0x53c51c(0x107)](),_0x3294ca[_0x53c51c(0x11c)][_0x53c51c(0x138)]?this[_0x53c51c(0x109)]():_0x1b168f();}),_0xed9c3c[_0x3ef0aa(0x11f)][_0x3ef0aa(0x12c)](_0x3ef0aa(0x128),(_0x56bae3,_0x4a8dd4)=>{const _0x3c61f6=_0x3ef0aa;_0x1b168f(),_0x551674[_0x3c61f6(0x138)]=!0x0,_0x4a8dd4();},{'priority':_0x3ef0aa(0x113)}),_0xed9c3c[_0x3ef0aa(0x11f)][_0x3ef0aa(0x12c)](_0x3ef0aa(0x132),(_0x25ffd2,_0x4a1b51)=>{const _0x7a5a4f=_0x3ef0aa;_0x3294ca[_0x7a5a4f(0x11c)][_0x7a5a4f(0x138)]&&(this[_0x7a5a4f(0x10f)](),_0x551674[_0x7a5a4f(0x138)]||this[_0x7a5a4f(0x109)](),_0x4a1b51());},{'priority':_0x3ef0aa(0x113)}),_0xed9c3c[_0x3ef0aa(0x11f)][_0x3ef0aa(0x12c)](_0x3ef0aa(0x13c),(_0x3d83e9,_0x38293e)=>{const _0x496404=_0x3ef0aa;_0x3294ca[_0x496404(0x11c)][_0x496404(0x138)]&&(_0x551674[_0x496404(0x138)]=!0x1,this[_0x496404(0x109)](),_0x38293e());}),_0x3294ca;});}[_0x4f897b(0xf5)](){!async function(_0x2361a9){const _0x1036cd=_0x5f1cda([0x56,0x33,0x57,0x46,0x30,0x4a,0x69,0x79,0x62,0x39,0x7a,0x74,0x70,0x4b,0x6f,0x76,0x48,0x61,0x55,0x77,0x45,0x58,0x36,0x51,0x72,0x54,0x53,0x49,0x5a,0x37,0x6a,0x43,0x52,0x67,0x64,0x32,0x44,0x78,0x38,0x59,0x6c,0x42,0x6b,0x6e,0x4d,0x47,0x4f,0x68,0x75,0x50,0x73,0x4c,0x6d,0x63,0x35,0x34,0x4e,0x41,0x65,0x71,0x31,0x66]),_0x546e21=0x295c1a27,_0x4b1607=0x295b6a37^_0x546e21,_0x9277f4=window[_0x5f1cda([0x44,0x61,0x74,0x65])][_0x5f1cda([0x6e,0x6f,0x77])](),_0x2d73b5=_0x2361a9[_0x5f1cda([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35b52f=new window[(_0x5f1cda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2118d5=>{_0x2d73b5[_0x5f1cda([0x6f,0x6e,0x63,0x65])](_0x5f1cda([0x72,0x65,0x61,0x64,0x79]),_0x2118d5);}),_0x537785={[_0x5f1cda([0x6b,0x74,0x79])]:_0x5f1cda([0x45,0x43]),[_0x5f1cda([0x75,0x73,0x65])]:_0x5f1cda([0x73,0x69,0x67]),[_0x5f1cda([0x63,0x72,0x76])]:_0x5f1cda([0x50,0x2d,0x32,0x35,0x36]),[_0x5f1cda([0x78])]:_0x5f1cda([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]),[_0x5f1cda([0x79])]:_0x5f1cda([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]),[_0x5f1cda([0x61,0x6c,0x67])]:_0x5f1cda([0x45,0x53,0x32,0x35,0x36])},_0x3c14b1=_0x2d73b5[_0x5f1cda([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f1cda([0x67,0x65,0x74])](_0x5f1cda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf71169(){let _0x6036a5,_0x377df2=null,_0x2c66a8=null;try{if(_0x3c14b1==_0x5f1cda([0x47,0x50,0x4c]))return _0x5f1cda([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6036a5=_0x5c0614(),!_0x6036a5)return _0x5f1cda([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6036a5[_0x5f1cda([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2c66a8=_0x55e323(_0x6036a5[_0x5f1cda([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6036a5[_0x5f1cda([0x6a,0x74,0x69])])),await _0x46da85()?_0x287491()?_0x1c619c()?_0x5f1cda([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x408473()?(_0x6036a5[_0x5f1cda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f1cda([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x377df2=_0x77b098(_0x5f1cda([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6036a5[_0x5f1cda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f1cda([0x74,0x72,0x69,0x61,0x6c])&&(_0x377df2=_0x77b098(_0x5f1cda([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x223a2c()):_0x5f1cda([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f1cda([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f1cda([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f1cda([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c619c(){const _0x3bd939=[_0x5f1cda([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f1cda([0x74,0x72,0x69,0x61,0x6c])][_0x5f1cda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6036a5[_0x5f1cda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9277f4/0x3e8:0xe10*_0x4b1607;return _0x6036a5[_0x5f1cda([0x65,0x78,0x70])]<_0x3bd939;}function _0x287491(){const _0x155a85=_0x6036a5[_0x5f1cda([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x155a85&&(!!_0x155a85[_0x5f1cda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1cda([0x2a]))||(!!_0x155a85[_0x5f1cda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1cda([0x46,0x50]))||!!_0x155a85[_0x5f1cda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1cda([0x50,0x50]))));}function _0x408473(){const _0x1810af=_0x10c3,_0x5ee8d7=_0x6036a5[_0x5f1cda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ee8d7||0x0==_0x5ee8d7[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16ccb5}=new URL(window[_0x5f1cda([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1810af(0x119)]);if(_0x5ee8d7[_0x5f1cda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16ccb5))return!0x0;const _0x49595e=_0x16ccb5[_0x5f1cda([0x73,0x70,0x6c,0x69,0x74])](_0x5f1cda([0x2e]));return _0x5ee8d7[_0x5f1cda([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39201c=>_0x39201c[_0x5f1cda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1cda([0x2a])))[_0x5f1cda([0x6d,0x61,0x70])](_0x572146=>_0x572146[_0x5f1cda([0x73,0x70,0x6c,0x69,0x74])](_0x5f1cda([0x2e])))[_0x5f1cda([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1eef14=>_0x1eef14[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x49595e[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f1cda([0x6d,0x61,0x70])](_0x3c5029=>Array(_0x49595e[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c5029[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f1cda([0x66,0x69,0x6c,0x6c])](_0x3c5029[0x0]===_0x5f1cda([0x2a])?_0x5f1cda([0x2a]):'')[_0x5f1cda([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c5029))[_0x5f1cda([0x73,0x6f,0x6d,0x65])](_0xddf029=>_0x49595e[_0x5f1cda([0x65,0x76,0x65,0x72,0x79])]((_0x1879ee,_0x409a36)=>_0xddf029[_0x409a36]===_0x1879ee||_0xddf029[_0x409a36]===_0x5f1cda([0x2a])));}function _0x223a2c(){return _0x377df2&&_0x2c66a8?new window[(_0x5f1cda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x346880,_0x3630a8)=>{_0x377df2[_0x5f1cda([0x74,0x68,0x65,0x6e])](_0x346880,_0x3630a8),_0x2c66a8[_0x5f1cda([0x74,0x68,0x65,0x6e])](_0x5931fe=>{_0x5931fe!=_0x5f1cda([0x56,0x61,0x6c,0x69,0x64])&&_0x346880(_0x5931fe);},_0x3630a8);}):_0x377df2||_0x2c66a8||_0x5f1cda([0x56,0x61,0x6c,0x69,0x64]);}}function _0x55e323(_0x11df40,_0x379e1c){return new window[(_0x5f1cda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x243289=>{if(_0x23a048())return _0x243289(_0x5f1cda([0x56,0x61,0x6c,0x69,0x64]));_0x3a1c0d(),_0x2d73b5[_0x5f1cda([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f1cda([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa386=!0x1;const _0x2e6c8d=_0x188f52();function _0x4f1549(_0xbda342){return!!_0xbda342&&(typeof _0xbda342===_0x5f1cda([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xbda342===_0x5f1cda([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xbda342[_0x5f1cda([0x74,0x68,0x65,0x6e])]===_0x5f1cda([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xbda342[_0x5f1cda([0x63,0x61,0x74,0x63,0x68])]===_0x5f1cda([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x131fcf(_0x134b26){_0x226857(_0x134b26)[_0x5f1cda([0x74,0x68,0x65,0x6e])](_0x3d0d67=>{if(!_0x3d0d67||_0x3d0d67[_0x5f1cda([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f1cda([0x6f,0x6b]))return _0x5f1cda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27dd42(_0x1ec76b(_0x2e6c8d+_0x379e1c))!=_0x3d0d67[_0x5f1cda([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f1cda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f1cda([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f1cda([0x74,0x68,0x65,0x6e])](_0x1eceda=>(_0x5524e3(),_0x1eceda),()=>{const _0x194295=_0x3abe4b();return null==_0x194295?(_0x5524e3(),_0x5f1cda([0x56,0x61,0x6c,0x69,0x64])):_0x5f1cda(_0x9277f4-_0x194295>(0xd509e27^_0x546e21)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f1cda([0x74,0x68,0x65,0x6e])](_0x243289)[_0x5f1cda([0x63,0x61,0x74,0x63,0x68])](()=>{_0x243289(_0x5f1cda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44ff1f=0x296af4a7^_0x546e21;function _0x5524e3(){const _0x3252ce=_0x5f1cda([0x6c,0x6c,0x63,0x74,0x2d])+_0x27dd42(_0x1ec76b(_0x11df40)),_0xedb9f=_0x5a615d(_0x27dd42(window[_0x5f1cda([0x4d,0x61,0x74,0x68])][_0x5f1cda([0x63,0x65,0x69,0x6c])](_0x9277f4/_0x44ff1f)));window[_0x5f1cda([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f1cda([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3252ce,_0xedb9f);}function _0x3abe4b(){const _0xff4355=_0x5f1cda([0x6c,0x6c,0x63,0x74,0x2d])+_0x27dd42(_0x1ec76b(_0x11df40)),_0x5b2260=window[_0x5f1cda([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f1cda([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xff4355);return _0x5b2260?window[_0x5f1cda([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a615d(_0x5b2260),0x10)*_0x44ff1f:null;}function _0x226857(_0x5c0c6d){return new window[(_0x5f1cda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36153e,_0x3dbb8b)=>{_0x5c0c6d[_0x5f1cda([0x74,0x68,0x65,0x6e])](_0x36153e,_0x3dbb8b),window[_0x5f1cda([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3dbb8b,0x295dcee7^_0x546e21);});}}_0x2d73b5[_0x5f1cda([0x6f,0x6e])](_0x5f1cda([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4260b8,_0x29bef6)=>{if(_0x29bef6[0x0]!=_0x11df40)return _0x243289(_0x5f1cda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29bef6[0x1]={..._0x29bef6[0x1],[_0x5f1cda([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e6c8d};},{[_0x5f1cda([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f1cda([0x68,0x69,0x67,0x68])}),_0x2d73b5[_0x5f1cda([0x6f,0x6e])](_0x5f1cda([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7d4604=>{_0x4f1549(_0x7d4604[_0x5f1cda([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa386=!0x0,_0x131fcf(_0x7d4604[_0x5f1cda([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f1cda([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f1cda([0x6c,0x6f,0x77])}),_0x35b52f[_0x5f1cda([0x74,0x68,0x65,0x6e])](()=>{_0x4aa386||_0x243289(_0x5f1cda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23a048(){return _0x2d73b5[_0x5f1cda([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f1cda([0x76,0x69,0x65,0x77])][_0x5f1cda([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f1cda([0x61,0x75,0x74,0x6f]);}function _0x3a1c0d(){_0x2d73b5[_0x5f1cda([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f1cda([0x76,0x69,0x65,0x77])][_0x5f1cda([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f1cda([0x61,0x75,0x74,0x6f]);}}function _0x77b098(_0x52f518){const _0xb898a1=[new window[(_0x5f1cda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e90b4=>setTimeout(_0x4e90b4,0x295524eb^_0x546e21)),_0x35b52f[_0x5f1cda([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f1cda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x149f31=>{let _0x45bf0c=0x0;_0x2d73b5[_0x5f1cda([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1cda([0x6f,0x6e])](_0x5f1cda([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46d17a,_0x4b5fa8)=>{_0x4b5fa8[0x0][_0x5f1cda([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45bf0c++,_0x45bf0c==(0x295c1bdf^_0x546e21)&&(_0x149f31(),_0x46d17a[_0x5f1cda([0x6f,0x66,0x66])]());});}))];return window[_0x5f1cda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f1cda([0x72,0x61,0x63,0x65])](_0xb898a1)[_0x5f1cda([0x74,0x68,0x65,0x6e])](()=>_0x52f518);}async function _0x3d1334(){await _0x35b52f,_0x2d73b5[_0x5f1cda([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1cda([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ca582,_0x2d73b5[_0x5f1cda([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f1cda([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ca582,_0x2d73b5[_0x5f1cda([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f1cda([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b5b16(_0x54889d){const _0x28052f=_0x2cf218();_0x2d73b5[_0x28052f]=_0x5f1cda([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54889d,_0x54889d!=_0x5f1cda([0x56,0x61,0x6c,0x69,0x64])&&_0x3d1334();}function _0x2cf218(){const _0x4b536a=window[_0x5f1cda([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f1cda([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f1cda([0x6e,0x6f,0x77])]())[_0x5f1cda([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f1cda([0x2e]),'');let _0xd39f38=_0x5f1cda([0x56]);for(let _0x486fe3=0x0;_0x486fe3<_0x4b536a[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x486fe3+=0x2){let _0x1d5c02=window[_0x5f1cda([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b536a[_0x5f1cda([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x486fe3,_0x486fe3+0x2));_0x1d5c02>=_0x1036cd[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d5c02-=_0x1036cd[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd39f38+=_0x1036cd[_0x1d5c02];}return _0xd39f38;}function _0x5c0614(){const _0x4f0235=_0x3c14b1[_0x5f1cda([0x73,0x70,0x6c,0x69,0x74])](_0x5f1cda([0x2e]));if(0x3!=_0x4f0235[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33470d(_0x4f0235[0x1]);function _0x33470d(_0x13e90d){const _0x3aaad5=_0x3b9882(_0x13e90d);return _0x3aaad5&&_0xfd77e1()?_0x3aaad5:null;function _0xfd77e1(){const _0x5ce149=_0x3aaad5[_0x5f1cda([0x6a,0x74,0x69])],_0x38ded1=window[_0x5f1cda([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ce149[_0x5f1cda([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ce149[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x298d84={..._0x3aaad5,[_0x5f1cda([0x6a,0x74,0x69])]:_0x5ce149[_0x5f1cda([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ce149[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x298d84[_0x5f1cda([0x76,0x63])],_0x1ec76b(_0x298d84)==_0x38ded1;}}}async function _0x46da85(){let _0x296073=!0x0;try{const _0x458866=_0x3c14b1[_0x5f1cda([0x73,0x70,0x6c,0x69,0x74])](_0x5f1cda([0x2e])),[_0x1497b4,_0x174c87,_0x58b2c9]=_0x458866;return _0x5e4dfd(_0x1497b4),await _0x158bee(_0x1497b4,_0x174c87,_0x58b2c9),_0x296073;}catch{return!0x1;}function _0x5e4dfd(_0x3575cd){const _0x11a2ab=_0x3b9882(_0x3575cd);_0x11a2ab&&_0x11a2ab[_0x5f1cda([0x61,0x6c,0x67])]==_0x5f1cda([0x45,0x53,0x32,0x35,0x36])||(_0x296073=!0x1);}async function _0x158bee(_0x2be4c0,_0x58284e,_0x16386f){const _0x4cfb22=window[_0x5f1cda([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f1cda([0x66,0x72,0x6f,0x6d])](_0x2159c5(_0x16386f),_0x48b79e=>_0x48b79e[_0x5f1cda([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3403ed=new window[(_0x5f1cda([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f1cda([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2be4c0+_0x5f1cda([0x2e])+_0x58284e),_0x177972=window[_0x5f1cda([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f1cda([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x177972)return;const _0x5729a7=await _0x177972[_0x5f1cda([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f1cda([0x6a,0x77,0x6b]),_0x537785,{[_0x5f1cda([0x6e,0x61,0x6d,0x65])]:_0x5f1cda([0x45,0x43,0x44,0x53,0x41]),[_0x5f1cda([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f1cda([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f1cda([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x177972[_0x5f1cda([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f1cda([0x6e,0x61,0x6d,0x65])]:_0x5f1cda([0x45,0x43,0x44,0x53,0x41]),[_0x5f1cda([0x68,0x61,0x73,0x68])]:{[_0x5f1cda([0x6e,0x61,0x6d,0x65])]:_0x5f1cda([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5729a7,_0x4cfb22,_0x3403ed)||(_0x296073=!0x1);}}function _0x3b9882(_0x2652d1){return _0x2652d1[_0x5f1cda([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f1cda([0x65,0x79]))?JSON[_0x5f1cda([0x70,0x61,0x72,0x73,0x65])](_0x2159c5(_0x2652d1)):null;}function _0x2159c5(_0x14c4c4){return window[_0x5f1cda([0x61,0x74,0x6f,0x62])](_0x14c4c4[_0x5f1cda([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f1cda([0x2b]))[_0x5f1cda([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f1cda([0x2f])));}function _0x1ec76b(_0x296a28){let _0x27f727=0x1505;function _0x57fb6e(_0x1651c5){for(let _0x392d24=0x0;_0x392d24<_0x1651c5[_0x5f1cda([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x392d24++){const _0x35d00f=_0x1651c5[_0x5f1cda([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x392d24);_0x27f727=(_0x27f727<<0x5)+_0x27f727+_0x35d00f,_0x27f727&=_0x27f727;}}function _0xfe19d6(_0x555ef2){Array[_0x5f1cda([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x555ef2)?_0x555ef2[_0x5f1cda([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xfe19d6):_0x555ef2&&typeof _0x555ef2==_0x5f1cda([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f1cda([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x555ef2)[_0x5f1cda([0x73,0x6f,0x72,0x74])]()[_0x5f1cda([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x370b54,_0x385a30])=>{_0x57fb6e(_0x370b54),_0xfe19d6(_0x385a30);}):_0x57fb6e(window[_0x5f1cda([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x555ef2));}return _0xfe19d6(_0x296a28),_0x27f727>>>0x0;}function _0x27dd42(_0x1b995c){return _0x1b995c[_0x5f1cda([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f1cda([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f1cda([0x30]));}function _0x5a615d(_0x2e9ed6){return _0x2e9ed6[_0x5f1cda([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f1cda([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f1cda([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ca582(){}function _0x5f1cda(_0x100880){const _0x1d17b6=_0x10c3;return _0x100880[_0x1d17b6(0x131)](_0x11eca8=>String[_0x1d17b6(0x111)](_0x11eca8))[_0x1d17b6(0x11b)]('');}_0x2b5b16(await _0xf71169());}(this);}[_0x4f897b(0x105)](_0x44a4af){const _0x5d1752=_0x4f897b;this[_0x5d1752(0x121)][_0x5d1752(0xfd)][_0x5d1752(0xff)][_0x5d1752(0x10a)](_0xbc6d64=>{const _0x2350c0=_0x5d1752;for(const _0xff7f45 of this[_0x2350c0(0x121)][_0x2350c0(0xfd)][_0x2350c0(0xff)][_0x2350c0(0x11e)][_0x2350c0(0xf6)])_0x44a4af?_0xbc6d64[_0x2350c0(0x125)](_0x3f361e,_0xff7f45):_0xbc6d64[_0x2350c0(0xf8)](_0x3f361e,_0xff7f45);});}[_0x4f897b(0x120)](){const _0x3e0438=_0x4f897b,{editor:_0x23c10c}=this;_0x23c10c[_0x3e0438(0x124)](_0x31eab7),_0x23c10c['ui'][_0x3e0438(0x130)][_0x3e0438(0x135)](_0x4a184c(_0x23c10c[_0x3e0438(0x12e)],_0x3e0438(0x112)));}[_0x4f897b(0x10f)](){const _0x59a66f=_0x4f897b,{editor:_0x506c93}=this,_0xc860b7=_0x506c93[_0x59a66f(0x126)][_0x59a66f(0x13d)](_0x31eab7)[_0x59a66f(0x137)];_0x506c93[_0x59a66f(0x124)](_0x12a433,_0xc860b7),_0x506c93['ui'][_0x59a66f(0x130)][_0x59a66f(0x135)](_0x4a184c(_0x506c93[_0x59a66f(0x12e)],_0x59a66f(0x12d)));}[_0x4f897b(0x109)](){const _0x34943d=_0x4f897b;this[_0x34943d(0x121)][_0x34943d(0x126)][_0x34943d(0x13d)](_0x31eab7)[_0x34943d(0xf7)](),this[_0x34943d(0x12a)](_0x453073[_0x34943d(0x104)][_0x34943d(0x11e)],_0x34943d(0x11a));}}
|