@ckeditor/ckeditor5-case-change 46.0.1-alpha.0 → 46.0.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/case-change.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/casechangeediting.js +1 -1
package/build/case-change.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{CaseChange:()=>x,CaseChangeCommand:()=>a,CaseChangeEditing:()=>f,CaseChangeUI:()=>I});var e=n(782),t=n(584);function r(){const e=["getWalker","6XtMfBi","editor","createRangeIn","createRangeOn","endOffset","_getElementTextContent","2557712hxpfSj","selection","model","_findAncestorTextBlock","132HEtDEa","$textProxy","parent","insertContent","getRanges","change","24920IUKjll","data","from","createText","has","798QLIvHO","_transformCallback","setSelection","execute","getAttributes","getFirstPosition","$text","isEnabled","getChildren","getIntersection","826145tpyAfQ","getItems","_getElementsAllowingText","5693480pfpGOP","isCollapsed","schema","14991504lOoJcv","_replaceTextNodeData","createSelection","_getAffectedRanges","item","reduce","startOffset","checkChild","document","substring","3uzWCqJ","_modifyContent","refresh","isLimit","element","983286LdYJuF","8858oQafCi","_getTextNodesRangeLimited","add"];return(r=function(){return e})()}const o=i;function i(e,t){const n=r();return(i=function(e,t){return n[e-=463]})(e,t)}!function(e){const t=i,n=e();for(;;)try{if(549181===parseInt(t(518))/1*(-parseInt(t(504))/2)+parseInt(t(498))/3*(parseInt(t(514))/4)+-parseInt(t(482))/5*(-parseInt(t(508))/6)+-parseInt(t(472))/7*(parseInt(t(467))/8)+-parseInt(t(503))/9+-parseInt(t(485))/10+parseInt(t(488))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[o(473)];constructor(e,t){const n=o;super(e),this[n(473)]=t}[o(475)](){const e=o,t=this[e(509)][e(516)],n=Array[e(469)](this[e(491)]()),s=Array[e(469)](t[e(496)][e(515)][e(465)]());t[e(466)](t=>{const r=e;for(const e of n)this[r(499)](e,t);t[r(474)](s)})}[o(500)](){const e=o;for(const t of this[e(491)]())for(const n of t)if(n[e(492)].is(e(519)))return void(this[e(479)]=!0);this[e(479)]=!1}[o(491)](){const e=o,t=this[e(509)][e(516)],n=t[e(496)][e(515)];if(n[e(486)]){const s=this[e(517)](n[e(477)]()[e(463)]);return s?[t[e(510)](s)]:[]}return n[e(465)]()}[o(499)](e,t){const n=o;for(const s of this[n(484)](e)){const r=this[n(513)](s),o=this[n(473)](r);for(const r of this[n(505)](s,e))this[n(489)](r,o,t)}}[o(517)](e){const t=o,n=this[t(509)][t(516)][t(487)];if(e.is(t(502))&&n[t(495)](e,t(478)))return e;const s=e[t(463)];return!s||n[t(501)](e)?null:this[t(517)](s)}*[o(484)](e){const t=o,n=new Set;for(const{item:s}of e[t(507)]()){const e=this[t(517)](s);e&&!n[t(471)](e)&&(n[t(506)](e),yield e)}}[o(513)](e){const t=o;return Array[t(469)](e[t(480)]())[t(493)]((e,n)=>e+(n.is(t(478))?n[t(468)]:" "),"")}*[o(505)](e,t){const n=o,s=t[n(481)](this[n(509)][n(516)][n(510)](e));if(s)for(const t of s[n(483)]())t.is(n(519))&&t[n(463)]==e&&(yield t)}[o(489)](e,t,n){const s=o,r=t[s(497)](e[s(494)],e[s(512)]);if(r===e[s(468)])return;const i=e[s(476)]();this[s(509)][s(516)][s(464)](n[s(470)](r,i),n[s(490)](n[s(511)](e)))}}function c(e,t,...n){const s=e.t;switch(t){case"Case change":return s("Case change");case"UPPERCASE":return s("UPPERCASE");case"lowercase":return s("lowercase");case"Title Case":return s("Title Case");case"Change text case":return s("Change text case");case"Changed case to %0":return s("Changed case to %0",...n);default:return t}}const u=l;!function(e){const t=l,n=e();for(;;)try{if(682344===parseInt(t(423))/1*(parseInt(t(395))/2)+-parseInt(t(431))/3*(parseInt(t(393))/4)+-parseInt(t(440))/5+parseInt(t(450))/6+parseInt(t(391))/7+-parseInt(t(433))/8*(parseInt(t(424))/9)+parseInt(t(441))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(d);class f extends e.Plugin{[u(389)]=0;static get[u(390)](){return u(409)}static get[u(425)](){return!0}static get[u(392)](){return!0}[u(445)](){const e=u,t=this[e(404)],n=t[e(411)][e(422)],s=function(t=[]){const n=e;return n(410)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(439)](e)}(t[e(437)][e(438)](e(427))),r={changeCaseUpper:new a(t,t=>t[e(405)](n)),changeCaseLower:new a(t,t=>t[e(418)](n)),changeCaseTitle:new a(t,e=>{return r=s,o=n,function(e,t){const n=l;let s="",r=0,o=0;for(const i of e[n(394)](/ +/g)){const a=i[n(415)],c=e[n(434)](r,a);c[n(407)]&&(s+=t(c,r,o++)),s+=i[0],r=a+i[0][n(407)]}const i=e[n(434)](r);return i[n(407)]&&(s+=t(i,r,o)),s}(t=e,(e,n,s)=>{const i=l,a=e[i(418)](o);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[i(414)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[i(405)](o))});var t,r,o})};for(const[n,s]of Object[e(406)](r))t[e(442)][e(398)](n,s),s.on(e(428),()=>{this[e(435)](n)});this[e(397)](t[e(417)][e(412)][e(402)],e(403),()=>{this[e(389)]=0}),t[e(421)][e(429)](e(413),(n,s)=>{const r=e,o=h(this[r(404)][r(411)]),i=o[this[r(389)]%o[r(407)]][r(436)];t[r(428)](i),this[r(389)]++,s()})}[u(432)](){!async function(e){const n=w([83,48,78,116,112,72,80,97,70,102,65,74,77,66,100,118,122,53,50,69,86,51,76,104,110,52,101,119,68,89,109,121,113,88,99,90,105,85,84,81,57,56,55,114,107,54,75,115,111,67,82,108,71,98,79,106,103,49,87,117,120,73]),s=window[w([68,97,116,101])][w([110,111,119])](),r=e[w([101,100,105,116,111,114])],o=new(window[w([80,114,111,109,105,115,101])])(e=>{r[w([111,110,99,101])](w([114,101,97,100,121]),e)}),i={[w([107,116,121])]:w([69,67]),[w([117,115,101])]:w([115,105,103]),[w([99,114,118])]:w([80,45,50,53,54]),[w([120])]:w([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]),[w([121])]:w([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]),[w([97,108,103])]:w([69,83,50,53,54])},a=r[w([99,111,110,102,105,103])][w([103,101,116])](w([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[w([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[w([116,104,101,110])](()=>new(window[w([80,114,111,109,105,115,101])])(e=>{let t=0;r[w([109,111,100,101,108])][w([111,110])](w([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,s)=>{s[0][w([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[w([111,102,102])]())})}))];return window[w([80,114,111,109,105,115,101])][w([114,97,99,101])](t)[w([116,104,101,110])](()=>e)}function u(e){return e[w([115,116,97,114,116,115,87,105,116,104])](w([101,121]))?JSON[w([112,97,114,115,101])](f(e)):null}function f(e){return window[w([97,116,111,98])](e[w([114,101,112,108,97,99,101])](/-/g,w([43]))[w([114,101,112,108,97,99,101])](/_/g,w([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[w([108,101,110,103,116,104])];n++){const s=e[w([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[w([105,115,65,114,114,97,121])](t)?t[w([102,111,114,69,97,99,104])](e):t&&typeof t==w([111,98,106,101,99,116])?Object[w([101,110,116,114,105,101,115])](t)[w([115,111,114,116])]()[w([102,111,114,69,97,99,104])](([t,s])=>{n(t),e(s)}):n(window[w([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[w([116,111,83,116,114,105,110,103])](16)[w([112,97,100,83,116,97,114,116])](8,w([48]))}function p(e){return e[w([115,112,108,105,116])]("")[w([114,101,118,101,114,115,101])]()[w([106,111,105,110])]("")}function g(){}function w(e){const t=l;return e[t(396)](e=>String[t(401)](e))[t(416)]("")}!function(e){const t=function(){const e=window[w([83,116,114,105,110,103])](window[w([112,101,114,102,111,114,109,97,110,99,101])][w([110,111,119])]())[w([114,101,112,108,97,99,101])](w([46]),"");let t=w([83]);for(let s=0;s<e[w([108,101,110,103,116,104])];s+=2){let r=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[w([108,101,110,103,116,104])]&&(r-=n[w([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=w([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=w([86,97,108,105,100])&&async function(){await o,r[w([109,111,100,101,108])][w([99,104,97,110,103,101])]=g,r[w([109,111,100,101,108])][w([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[w([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](w([109,111,100,101,108]))}()}(await async function(){let e,n=null,g=null;try{return a==w([71,80,76])?w([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[w([115,112,108,105,116])](w([46]));return 3!=e[w([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[w([106,116,105])],n=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](e[w([108,101,110,103,116,104])]-8),16),s={...t,[w([106,116,105])]:e[w([115,117,98,115,116,114,105,110,103])](0,e[w([108,101,110,103,116,104])]-8)};return delete s[w([118,99])],d(s)==n}}}(),e?(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,n){return new(window[w([80,114,111,109,105,115,101])])(c=>{if(i())return c(w([86,97,108,105,100]));a(),r[w([100,101,99,111,114,97,116,101])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const f=(0,t.uid)();function l(e){return!!e&&(typeof e===w([111,98,106,101,99,116])||typeof e===w([102,117,110,99,116,105,111,110]))&&typeof e[w([116,104,101,110])]===w([102,117,110,99,116,105,111,110])&&typeof e[w([99,97,116,99,104])]===w([102,117,110,99,116,105,111,110])}function g(t){a(t)[w([116,104,101,110])](e=>e&&e[w([115,116,97,116,117,115])]==w([111,107])?h(d(f+n))!=e[w([118,101,114,105,102,105,99,97,116,105,111,110])]?w([85,115,97,103,101,76,105,109,105,116]):w([86,97,108,105,100]):w([85,115,97,103,101,76,105,109,105,116]))[w([116,104,101,110])](e=>(o(),e),()=>{const e=i();return null==e?(o(),w([86,97,108,105,100])):w(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[w([116,104,101,110])](c)[w([99,97,116,99,104])](()=>{c(w([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=w([108,108,99,116,45])+h(d(e)),n=p(h(window[w([77,97,116,104])][w([99,101,105,108])](s/r)));window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([115,101,116,73,116,101,109])](t,n)}function i(){const t=w([108,108,99,116,45])+h(d(e)),n=window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([103,101,116,73,116,101,109])](t);return n?window[w([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[w([80,114,111,109,105,115,101])])((t,n)=>{e[w([116,104,101,110])](t,n),window[w([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[w([111,110])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(w([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[w([114,101,113,117,101,115,116,73,100])]:f}},{[w([112,114,105,111,114,105,116,121])]:w([104,105,103,104])}),r[w([111,110])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{l(e[w([114,101,116,117,114,110])])&&(u=!0,g(e[w([114,101,116,117,114,110])]))},{[w([112,114,105,111,114,105,116,121])]:w([108,111,119])}),o[w([116,104,101,110])](()=>{u||c(w([85,115,97,103,101,76,105,109,105,116]))})});function i(){return r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==w([97,117,116,111])}function a(){r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=w([97,117,116,111])}}(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[w([106,116,105])])),await async function(){let e=!0;try{const s=a[w([115,112,108,105,116])](w([46])),[r,o,i]=s;return t(r),await n(r,o,i),e}catch{return!1}function t(t){const n=u(t);n&&n[w([97,108,103])]==w([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[w([85,105,110,116,56,65,114,114,97,121])][w([102,114,111,109])](f(s),e=>e[w([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[w([84,101,120,116,69,110,99,111,100,101,114])]))[w([101,110,99,111,100,101])](t+w([46])+n),a=window[w([99,114,121,112,116,111])][w([115,117,98,116,108,101])];if(!a)return;const c=await a[w([105,109,112,111,114,116,75,101,121])](w([106,119,107]),i,{[w([110,97,109,101])]:w([69,67,68,83,65]),[w([110,97,109,101,100,67,117,114,118,101])]:w([80,45,50,53,54])},!1,[w([118,101,114,105,102,121])]);await a[w([118,101,114,105,102,121])]({[w([110,97,109,101])]:w([69,67,68,83,65]),[w([104,97,115,104])]:{[w([110,97,109,101])]:w([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[w([102,101,97,116,117,114,101,115])];return!(!t||!t[w([105,110,99,108,117,100,101,115])](w([42]))&&!t[w([105,110,99,108,117,100,101,115])](w([67,67]))&&!t[w([105,110,99,108,117,100,101,115])](w([80,80])))}()?function(){const t=[w([101,118,97,108,117,97,116,105,111,110]),w([116,114,105,97,108])][w([105,110,99,108,117,100,101,115])](e[w([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1753833600;return e[w([101,120,112])]<t}()?w([69,120,112,105,114,101,100]):function(){const t=l,n=e[w([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[w([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[w([108,111,99,97,116,105,111,110])][t(449)]);if(n[w([105,110,99,108,117,100,101,115])](s))return!0;const r=s[w([115,112,108,105,116])](w([46]));return n[w([102,105,108,116,101,114])](e=>e[w([105,110,99,108,117,100,101,115])](w([42])))[w([109,97,112])](e=>e[w([115,112,108,105,116])](w([46])))[w([102,105,108,116,101,114])](e=>e[w([108,101,110,103,116,104])]<=r[w([108,101,110,103,116,104])])[w([109,97,112])](e=>Array(r[w([108,101,110,103,116,104])]-e[w([108,101,110,103,116,104])])[w([102,105,108,108])](e[0]===w([42])?w([42]):"")[w([99,111,110,99,97,116])](e))[w([115,111,109,101])](e=>r[w([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===w([42])))}()?(e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([101,118,97,108,117,97,116,105,111,110])&&(n=c(w([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([116,114,105,97,108])&&(n=c(w([84,114,105,97,108,76,105,109,105,116]))),await(n&&g?new(window[w([80,114,111,109,105,115,101])])((e,t)=>{n[w([116,104,101,110])](e,t),g[w([116,104,101,110])](t=>{t!=w([86,97,108,105,100])&&e(t)},t)}):n||g||w([86,97,108,105,100]))):w([68,111,109,97,105,110,76,105,109,105,116]):w([78,111,116,65,108,108,111,119,101,100]):w([73,110,118,97,108,105,100])):w([73,110,118,97,108,105,100]))}catch{return w([73,110,118,97,108,105,100])}}())}(this)}[u(435)](e){const t=u,{ui:n,locale:s}=this[t(404)],r=h(s)[t(420)](n=>n[t(436)]===e)[t(408)][t(426)]();n[t(419)][t(430)](c(s,t(443),r))}}function l(e,t){const n=d();return(l=function(e,t){return n[e-=389]})(e,t)}function d(){const e=["3433308kXtdmi","_currentCommandIndex","pluginName","1264942rpcNfe","isPremiumPlugin","4fofIyd","matchAll","2260142SdXqDn","map","listenTo","add","changeCaseTitle","UPPERCASE","fromCharCode","document","selectionChange","editor","toLocaleUpperCase","entries","length","label","CaseChangeEditing","function","locale","view","shift+f3","replace","index","join","editing","toLocaleLowerCase","ariaLiveAnnouncer","find","keystrokes","contentLanguage","1SdatqY","450NTLZqY","isOfficialPlugin","toLowerCase","caseChange.titleCase.excludeWords","execute","set","announce","414501CBTdEG","afterInit","173608gjbeOI","substring","_announceCaseChangeOperation","commandName","config","get","includes","2823320eFMaTz","5872300KxUfFD","commands","Changed case to %0","lowercase","init","Title Case","changeCaseUpper","changeCaseLower","href"];return(d=function(){return e})()}function h(e){const t=u;return[{label:c(e,t(400)),commandName:t(447)},{label:c(e,t(444)),commandName:t(448)},{label:c(e,t(446)),commandName:t(399)}]}var p=n(311),g=n(355);const w=C;function C(e,t){const n=m();return(C=function(e,t){return n[e-=354]})(e,t)}function m(){const e=["trialLimit","config","menuitemradio","caseChange","37806neeoao","caseChangeLicenseKeyNotAllowed","execute","caseChangeLicenseKeyUsageLimit","891424uPSuvj","items","CaseChangeUI","menuBar:caseChange","caseChangeLicenseKeyValid","accessibility","Shift+f3","expired","_createDropdownView","licenseKey","_createMenuBarMenuView","extendTemplate","editing","delegate","listenTo","isOfficialPlugin","menu","_registerComponents","usageLimit","ck-case-change-dropdown","init","toMany","commands","Case change","focus","set","_licenseKeyCheckInterval","1585276tFIDCg","push","1786110Jwbwsq","buttonView","button","commandName","14709wUgBMz","keys","isPremiumPlugin","420eLTbSx","Shift+F3","caseChangeLicenseKeyTrialLimit","panelView","some","_showLicenseError","_getListItemDefinitionsAndCommands","_setButtonProperties","view","bind","source","componentFactory","featureNotAllowed","invalid","caseChangeLicenseKeyExpired","editor","evaluationLimit","caseChangeLicenseKeyEvaluationLimit","328627fnfVEI","children","CaseChange","model","label","addKeystrokeInfos","Change text case","add","caseChangeLicenseKeyInvalid","caseChangeLicenseKeyDomainLimit","pluginName","domainLimit","602613VBcgtC","isEnabled","destroy","get","locale","148XusCjo","48dyyiLs"];return(m=function(){return e})()}!function(e){const t=C,n=e();for(;;)try{if(290241===-parseInt(t(397))/1+-parseInt(t(424))/2+-parseInt(t(376))/3*(-parseInt(t(414))/4)+parseInt(t(379))/5*(parseInt(t(420))/6)+-parseInt(t(370))/7+-parseInt(t(415))/8*(-parseInt(t(409))/9)+parseInt(t(372))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class I extends e.Plugin{[w(433)];[w(369)];static get[w(407)](){return w(426)}static get[w(358)](){return!0}static get[w(378)](){return!0}[w(363)](){const e=w,t=this[e(394)];this[e(360)](),t[e(429)][e(402)]({keystrokes:[{label:c(t[e(413)],e(403)),keystroke:e(430),mayRequireFn:!0}]}),this[e(433)]=this[e(394)][e(417)][e(412)](e(433));const n=this[e(394)];this[e(369)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,o=n[r];if(t(428)==o||t(405)==o||t(393)==o||t(406)==o||t(421)==o||t(396)==o||t(381)==o||t(423)==o){delete n[r],s=o,clearInterval(this[t(369)]),this[t(369)]=void 0;break}}t(405)==s&&n[t(384)](t(392)),t(393)==s&&n[t(384)](t(431)),t(406)==s&&n[t(384)](t(408)),t(421)==s&&n[t(384)](t(391),t(399)),t(396)==s&&n[t(384)](t(395)),t(381)==s&&n[t(384)](t(416)),t(423)==s&&n[t(384)](t(361))},1e3)}[w(411)](){const e=w;super[e(411)](),this[e(369)]&&clearInterval(this[e(369)])}[w(360)](){const e=w,t=this[e(394)],{itemDefinitions:n,commands:s}=this[e(385)]();t.ui[e(390)][e(404)](e(419),()=>this[e(432)](n,s)),t.ui[e(390)][e(404)](e(427),()=>this[e(434)](n,s))}[w(434)](e,t){const n=w,s=this[n(394)],r=s[n(413)],o=new p.MenuBarMenuView(r),i=new p.MenuBarMenuListView(r);i[n(368)]({ariaLabel:c(r,n(366)),role:n(359)}),this[n(386)](o[n(373)]),o[n(388)](n(410))[n(364)](t,n(410),(...e)=>e[n(383)](e=>e));for(const t of e){const e=new p.MenuBarMenuListItemView(r,o),a=new p.MenuBarMenuListItemButtonView(r);a[n(356)](n(422)).to(o),a[n(388)](...Object[n(377)](t[n(400)])).to(t[n(400)]),a.on(n(422),()=>{const e=n;s[e(422)](t[e(400)][e(375)]),s[e(355)][e(387)][e(367)]()}),e[n(398)][n(404)](a),i[n(425)][n(404)](e)}return o[n(382)][n(398)][n(404)](i),o}[w(432)](e,t){const n=w,s=this[n(394)],r=(0,p.createDropdown)(s[n(413)]);return this[n(386)](r[n(373)]),r[n(373)][n(368)]({tooltip:!0}),r[n(354)]({attributes:{class:[n(362)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(413)],n(366)),role:n(359)}),r[n(388)](n(410))[n(364)](t,n(410),(...e)=>e[n(383)](e=>e)),this[n(357)](r,n(422),e=>{const t=n;s[t(422)](e[t(389)][t(375)]),s[t(355)][t(387)][t(367)]()}),r}[w(386)](e){const t=w,n=this[t(394)];e[t(368)]({label:c(n[t(413)],t(366)),icon:g.IconCaseChange,keystroke:t(380)})}[w(385)](){const e=w,n=new t.Collection,s=[];for(const t of h(this[e(394)][e(413)])){const r=this[e(394)][e(365)][e(412)](t[e(375)]),o=new p.UIModel({commandName:t[e(375)],label:t[e(401)],role:e(418),withText:!0});o[e(388)](e(410)).to(r,e(410)),n[e(404)]({type:e(374),model:o}),s[e(371)](r)}return{itemDefinitions:n,commands:s}}}var y=b;function L(){var e=["CaseChange","10qJHjVv","216174ohayIQ","90720PPSIrI","35tbtlZb","19612KDMSdU","1250632MfEMtL","263724zoviLp","requires","pluginName","6DPRkaL","isPremiumPlugin","773715JPJFUa","isOfficialPlugin","7EKDvxM","32131pCiDER"];return(L=function(){return e})()}function b(e,t){var n=L();return(b=function(e,t){return n[e-=203]})(e,t)}!function(e){for(var t=b,n=e();;)try{if(184064===-parseInt(t(215))/1*(-parseInt(t(216))/2)+-parseInt(t(205))/3*(parseInt(t(218))/4)+-parseInt(t(207))/5+-parseInt(t(213))/6+parseInt(t(209))/7*(parseInt(t(217))/8)+parseInt(t(214))/9+-parseInt(t(212))/10*(parseInt(t(210))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(L);class x extends e.Plugin{static get[y(203)](){return[f,I]}static get[y(204)](){return y(211)}static get[y(208)](){return!0}static get[y(206)](){return!0}}function v(){var e=["2212314qRRoMp","163qiQwct","1124BoLALD","2258225xxgtxb","4533837JJhBRR","5211080OQtndg","1260258UJDbzo","1569280cOCofM"];return(v=function(){return e})()}function P(e,t){var n=v();return(P=function(e,t){return n[e-=404]})(e,t)}!function(e){for(var t=P,n=e();;)try{if(359340===parseInt(t(408))/1*(-parseInt(t(409))/2)+-parseInt(t(405))/3+parseInt(t(406))/4+-parseInt(t(410))/5+-parseInt(t(407))/6+parseInt(t(411))/7+parseInt(t(404))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).caseChange=s})();
|
|
5
|
+
*/(()=>{var e={237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{CaseChange:()=>x,CaseChangeCommand:()=>a,CaseChangeEditing:()=>h,CaseChangeUI:()=>I});var e=n(782),t=n(584);function r(){const e=["getWalker","6XtMfBi","editor","createRangeIn","createRangeOn","endOffset","_getElementTextContent","2557712hxpfSj","selection","model","_findAncestorTextBlock","132HEtDEa","$textProxy","parent","insertContent","getRanges","change","24920IUKjll","data","from","createText","has","798QLIvHO","_transformCallback","setSelection","execute","getAttributes","getFirstPosition","$text","isEnabled","getChildren","getIntersection","826145tpyAfQ","getItems","_getElementsAllowingText","5693480pfpGOP","isCollapsed","schema","14991504lOoJcv","_replaceTextNodeData","createSelection","_getAffectedRanges","item","reduce","startOffset","checkChild","document","substring","3uzWCqJ","_modifyContent","refresh","isLimit","element","983286LdYJuF","8858oQafCi","_getTextNodesRangeLimited","add"];return(r=function(){return e})()}const i=o;function o(e,t){const n=r();return(o=function(e,t){return n[e-=463]})(e,t)}!function(e){const t=o,n=e();for(;;)try{if(549181===parseInt(t(518))/1*(-parseInt(t(504))/2)+parseInt(t(498))/3*(parseInt(t(514))/4)+-parseInt(t(482))/5*(-parseInt(t(508))/6)+-parseInt(t(472))/7*(parseInt(t(467))/8)+-parseInt(t(503))/9+-parseInt(t(485))/10+parseInt(t(488))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[i(473)];constructor(e,t){const n=i;super(e),this[n(473)]=t}[i(475)](){const e=i,t=this[e(509)][e(516)],n=Array[e(469)](this[e(491)]()),s=Array[e(469)](t[e(496)][e(515)][e(465)]());t[e(466)](t=>{const r=e;for(const e of n)this[r(499)](e,t);t[r(474)](s)})}[i(500)](){const e=i;for(const t of this[e(491)]())for(const n of t)if(n[e(492)].is(e(519)))return void(this[e(479)]=!0);this[e(479)]=!1}[i(491)](){const e=i,t=this[e(509)][e(516)],n=t[e(496)][e(515)];if(n[e(486)]){const s=this[e(517)](n[e(477)]()[e(463)]);return s?[t[e(510)](s)]:[]}return n[e(465)]()}[i(499)](e,t){const n=i;for(const s of this[n(484)](e)){const r=this[n(513)](s),i=this[n(473)](r);for(const r of this[n(505)](s,e))this[n(489)](r,i,t)}}[i(517)](e){const t=i,n=this[t(509)][t(516)][t(487)];if(e.is(t(502))&&n[t(495)](e,t(478)))return e;const s=e[t(463)];return!s||n[t(501)](e)?null:this[t(517)](s)}*[i(484)](e){const t=i,n=new Set;for(const{item:s}of e[t(507)]()){const e=this[t(517)](s);e&&!n[t(471)](e)&&(n[t(506)](e),yield e)}}[i(513)](e){const t=i;return Array[t(469)](e[t(480)]())[t(493)]((e,n)=>e+(n.is(t(478))?n[t(468)]:" "),"")}*[i(505)](e,t){const n=i,s=t[n(481)](this[n(509)][n(516)][n(510)](e));if(s)for(const t of s[n(483)]())t.is(n(519))&&t[n(463)]==e&&(yield t)}[i(489)](e,t,n){const s=i,r=t[s(497)](e[s(494)],e[s(512)]);if(r===e[s(468)])return;const o=e[s(476)]();this[s(509)][s(516)][s(464)](n[s(470)](r,o),n[s(490)](n[s(511)](e)))}}function c(e,t,...n){const s=e.t;switch(t){case"Case change":return s("Case change");case"UPPERCASE":return s("UPPERCASE");case"lowercase":return s("lowercase");case"Title Case":return s("Title Case");case"Change text case":return s("Change text case");case"Changed case to %0":return s("Changed case to %0",...n);default:return t}}const u=f;function f(e,t){const n=l();return(f=function(e,t){return n[e-=446]})(e,t)}function l(){const e=["join","includes","fromCharCode","3704043QzOkfu","toLocaleLowerCase","init","announce","1723122AWFwzG","_announceCaseChangeOperation","replace","165755kZWEhq","ariaLiveAnnouncer","contentLanguage","432iwmjuo","href","toLocaleUpperCase","changeCaseLower","entries","commandName","label","view","2127270BwbPgP","isOfficialPlugin","locale","execute","515467vPyLqG","listenTo","changeCaseTitle","pluginName","CaseChangeEditing","979400inRFkP","_currentCommandIndex","commands","shift+f3","keystrokes","toLowerCase","313768QQVcNd","config","editor","add","editing","document","afterInit","find","lowercase","Title Case","40qDFutA","matchAll","get","Changed case to %0","function","substring","set","selectionChange","caseChange.titleCase.excludeWords","isPremiumPlugin","length","map","changeCaseUpper","UPPERCASE","index"];return(l=function(){return e})()}!function(e){const t=f,n=e();for(;;)try{if(438685===-parseInt(t(464))/1+-parseInt(t(469))/2+parseInt(t(460))/3+-parseInt(t(485))/4*(parseInt(t(449))/5)+-parseInt(t(446))/6+-parseInt(t(503))/7+-parseInt(t(475))/8*(-parseInt(t(452))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);class h extends e.Plugin{[u(470)]=0;static get[u(467)](){return u(468)}static get[u(461)](){return!0}static get[u(494)](){return!0}[u(505)](){const e=u,t=this[e(477)],n=t[e(462)][e(451)],s=function(t=[]){const n=e;return n(489)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(501)](e)}(t[e(476)][e(487)](e(493))),r={changeCaseUpper:new a(t,t=>t[e(454)](n)),changeCaseLower:new a(t,t=>t[e(504)](n)),changeCaseTitle:new a(t,e=>{return r=s,i=n,function(e,t){const n=f;let s="",r=0,i=0;for(const o of e[n(486)](/ +/g)){const a=o[n(499)],c=e[n(490)](r,a);c[n(495)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(495)]}const o=e[n(490)](r);return o[n(495)]&&(s+=t(o,r,i)),s}(t=e,(e,n,s)=>{const o=f,a=e[o(504)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(448)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[o(454)](i))});var t,r,i})};for(const[n,s]of Object[e(456)](r))t[e(471)][e(478)](n,s),s.on(e(463),()=>{this[e(447)](n)});this[e(465)](t[e(479)][e(459)][e(480)],e(492),()=>{this[e(470)]=0}),t[e(473)][e(491)](e(472),(n,s)=>{const r=e,i=d(this[r(477)][r(462)]),o=i[this[r(470)]%i[r(495)]][r(457)];t[r(463)](o),this[r(470)]++,s()})}[u(481)](){!async function(e){const n=w([82,50,102,105,98,120,55,118,119,80,121,106,104,68,110,73,69,77,100,112,66,114,85,87,83,65,111,113,48,78,79,115,99,88,49,51,54,76,52,57,89,103,53,67,70,86,74,71,72,90,109,108,101,97,75,117,116,122,81,56,107,84]),s=window[w([68,97,116,101])][w([110,111,119])](),r=e[w([101,100,105,116,111,114])],i=new(window[w([80,114,111,109,105,115,101])])(e=>{r[w([111,110,99,101])](w([114,101,97,100,121]),e)}),o={[w([107,116,121])]:w([69,67]),[w([117,115,101])]:w([115,105,103]),[w([99,114,118])]:w([80,45,50,53,54]),[w([120])]:w([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]),[w([121])]:w([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]),[w([97,108,103])]:w([69,83,50,53,54])},a=r[w([99,111,110,102,105,103])][w([103,101,116])](w([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[w([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),i[w([116,104,101,110])](()=>new(window[w([80,114,111,109,105,115,101])])(e=>{let t=0;r[w([109,111,100,101,108])][w([111,110])](w([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,s)=>{s[0][w([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[w([111,102,102])]())})}))];return window[w([80,114,111,109,105,115,101])][w([114,97,99,101])](t)[w([116,104,101,110])](()=>e)}function u(e){return e[w([115,116,97,114,116,115,87,105,116,104])](w([101,121]))?JSON[w([112,97,114,115,101])](l(e)):null}function l(e){return window[w([97,116,111,98])](e[w([114,101,112,108,97,99,101])](/-/g,w([43]))[w([114,101,112,108,97,99,101])](/_/g,w([47])))}function h(e){let t=5381;function n(e){for(let n=0;n<e[w([108,101,110,103,116,104])];n++){const s=e[w([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[w([105,115,65,114,114,97,121])](t)?t[w([102,111,114,69,97,99,104])](e):t&&typeof t==w([111,98,106,101,99,116])?Object[w([101,110,116,114,105,101,115])](t)[w([115,111,114,116])]()[w([102,111,114,69,97,99,104])](([t,s])=>{n(t),e(s)}):n(window[w([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[w([116,111,83,116,114,105,110,103])](16)[w([112,97,100,83,116,97,114,116])](8,w([48]))}function p(e){return e[w([115,112,108,105,116])]("")[w([114,101,118,101,114,115,101])]()[w([106,111,105,110])]("")}function g(){}function w(e){const t=f;return e[t(496)](e=>String[t(502)](e))[t(500)]("")}!function(e){const t=function(){const e=window[w([83,116,114,105,110,103])](window[w([112,101,114,102,111,114,109,97,110,99,101])][w([110,111,119])]())[w([114,101,112,108,97,99,101])](w([46]),"");let t=w([82]);for(let s=0;s<e[w([108,101,110,103,116,104])];s+=2){let r=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[w([108,101,110,103,116,104])]&&(r-=n[w([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=w([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=w([86,97,108,105,100])&&async function(){await i,r[w([109,111,100,101,108])][w([99,104,97,110,103,101])]=g,r[w([109,111,100,101,108])][w([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[w([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](w([109,111,100,101,108]))}()}(await async function(){let e,n=null,g=null;try{return a==w([71,80,76])?w([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[w([115,112,108,105,116])](w([46]));return 3!=e[w([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[w([106,116,105])],n=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](e[w([108,101,110,103,116,104])]-8),16),s={...t,[w([106,116,105])]:e[w([115,117,98,115,116,114,105,110,103])](0,e[w([108,101,110,103,116,104])]-8)};return delete s[w([118,99])],h(s)==n}}}(),e?(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,n){return new(window[w([80,114,111,109,105,115,101])])(c=>{if(o())return c(w([86,97,108,105,100]));a(),r[w([100,101,99,111,114,97,116,101])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const f=(0,t.uid)();function l(e){return!!e&&(typeof e===w([111,98,106,101,99,116])||typeof e===w([102,117,110,99,116,105,111,110]))&&typeof e[w([116,104,101,110])]===w([102,117,110,99,116,105,111,110])&&typeof e[w([99,97,116,99,104])]===w([102,117,110,99,116,105,111,110])}function g(t){a(t)[w([116,104,101,110])](e=>e&&e[w([115,116,97,116,117,115])]==w([111,107])?d(h(f+n))!=e[w([118,101,114,105,102,105,99,97,116,105,111,110])]?w([85,115,97,103,101,76,105,109,105,116]):w([86,97,108,105,100]):w([85,115,97,103,101,76,105,109,105,116]))[w([116,104,101,110])](e=>(i(),e),()=>{const e=o();return null==e?(i(),w([86,97,108,105,100])):w(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[w([116,104,101,110])](c)[w([99,97,116,99,104])](()=>{c(w([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function i(){const t=w([108,108,99,116,45])+d(h(e)),n=p(d(window[w([77,97,116,104])][w([99,101,105,108])](s/r)));window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([115,101,116,73,116,101,109])](t,n)}function o(){const t=w([108,108,99,116,45])+d(h(e)),n=window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([103,101,116,73,116,101,109])](t);return n?window[w([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[w([80,114,111,109,105,115,101])])((t,n)=>{e[w([116,104,101,110])](t,n),window[w([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[w([111,110])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(w([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[w([114,101,113,117,101,115,116,73,100])]:f}},{[w([112,114,105,111,114,105,116,121])]:w([104,105,103,104])}),r[w([111,110])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{l(e[w([114,101,116,117,114,110])])&&(u=!0,g(e[w([114,101,116,117,114,110])]))},{[w([112,114,105,111,114,105,116,121])]:w([108,111,119])}),i[w([116,104,101,110])](()=>{u||c(w([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==w([97,117,116,111])}function a(){r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=w([97,117,116,111])}}(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[w([106,116,105])])),await async function(){let e=!0;try{const s=a[w([115,112,108,105,116])](w([46])),[r,i,o]=s;return t(r),await n(r,i,o),e}catch{return!1}function t(t){const n=u(t);n&&n[w([97,108,103])]==w([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[w([85,105,110,116,56,65,114,114,97,121])][w([102,114,111,109])](l(s),e=>e[w([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[w([84,101,120,116,69,110,99,111,100,101,114])]))[w([101,110,99,111,100,101])](t+w([46])+n),a=window[w([99,114,121,112,116,111])][w([115,117,98,116,108,101])];if(!a)return;const c=await a[w([105,109,112,111,114,116,75,101,121])](w([106,119,107]),o,{[w([110,97,109,101])]:w([69,67,68,83,65]),[w([110,97,109,101,100,67,117,114,118,101])]:w([80,45,50,53,54])},!1,[w([118,101,114,105,102,121])]);await a[w([118,101,114,105,102,121])]({[w([110,97,109,101])]:w([69,67,68,83,65]),[w([104,97,115,104])]:{[w([110,97,109,101])]:w([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[w([102,101,97,116,117,114,101,115])];return!(!t||!t[w([105,110,99,108,117,100,101,115])](w([42]))&&!t[w([105,110,99,108,117,100,101,115])](w([67,67]))&&!t[w([105,110,99,108,117,100,101,115])](w([80,80])))}()?function(){const t=[w([101,118,97,108,117,97,116,105,111,110]),w([116,114,105,97,108])][w([105,110,99,108,117,100,101,115])](e[w([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:175392e4;return e[w([101,120,112])]<t}()?w([69,120,112,105,114,101,100]):function(){const t=f,n=e[w([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[w([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[w([108,111,99,97,116,105,111,110])][t(453)]);if(n[w([105,110,99,108,117,100,101,115])](s))return!0;const r=s[w([115,112,108,105,116])](w([46]));return n[w([102,105,108,116,101,114])](e=>e[w([105,110,99,108,117,100,101,115])](w([42])))[w([109,97,112])](e=>e[w([115,112,108,105,116])](w([46])))[w([102,105,108,116,101,114])](e=>e[w([108,101,110,103,116,104])]<=r[w([108,101,110,103,116,104])])[w([109,97,112])](e=>Array(r[w([108,101,110,103,116,104])]-e[w([108,101,110,103,116,104])])[w([102,105,108,108])](e[0]===w([42])?w([42]):"")[w([99,111,110,99,97,116])](e))[w([115,111,109,101])](e=>r[w([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===w([42])))}()?(e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([101,118,97,108,117,97,116,105,111,110])&&(n=c(w([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([116,114,105,97,108])&&(n=c(w([84,114,105,97,108,76,105,109,105,116]))),await(n&&g?new(window[w([80,114,111,109,105,115,101])])((e,t)=>{n[w([116,104,101,110])](e,t),g[w([116,104,101,110])](t=>{t!=w([86,97,108,105,100])&&e(t)},t)}):n||g||w([86,97,108,105,100]))):w([68,111,109,97,105,110,76,105,109,105,116]):w([78,111,116,65,108,108,111,119,101,100]):w([73,110,118,97,108,105,100])):w([73,110,118,97,108,105,100]))}catch{return w([73,110,118,97,108,105,100])}}())}(this)}[u(447)](e){const t=u,{ui:n,locale:s}=this[t(477)],r=d(s)[t(482)](n=>n[t(457)]===e)[t(458)][t(474)]();n[t(450)][t(506)](c(s,t(488),r))}}function d(e){const t=u;return[{label:c(e,t(498)),commandName:t(497)},{label:c(e,t(483)),commandName:t(455)},{label:c(e,t(484)),commandName:t(466)}]}var p=n(311),g=n(355);const w=C;function C(e,t){const n=m();return(C=function(e,t){return n[e-=354]})(e,t)}function m(){const e=["trialLimit","config","menuitemradio","caseChange","37806neeoao","caseChangeLicenseKeyNotAllowed","execute","caseChangeLicenseKeyUsageLimit","891424uPSuvj","items","CaseChangeUI","menuBar:caseChange","caseChangeLicenseKeyValid","accessibility","Shift+f3","expired","_createDropdownView","licenseKey","_createMenuBarMenuView","extendTemplate","editing","delegate","listenTo","isOfficialPlugin","menu","_registerComponents","usageLimit","ck-case-change-dropdown","init","toMany","commands","Case change","focus","set","_licenseKeyCheckInterval","1585276tFIDCg","push","1786110Jwbwsq","buttonView","button","commandName","14709wUgBMz","keys","isPremiumPlugin","420eLTbSx","Shift+F3","caseChangeLicenseKeyTrialLimit","panelView","some","_showLicenseError","_getListItemDefinitionsAndCommands","_setButtonProperties","view","bind","source","componentFactory","featureNotAllowed","invalid","caseChangeLicenseKeyExpired","editor","evaluationLimit","caseChangeLicenseKeyEvaluationLimit","328627fnfVEI","children","CaseChange","model","label","addKeystrokeInfos","Change text case","add","caseChangeLicenseKeyInvalid","caseChangeLicenseKeyDomainLimit","pluginName","domainLimit","602613VBcgtC","isEnabled","destroy","get","locale","148XusCjo","48dyyiLs"];return(m=function(){return e})()}!function(e){const t=C,n=e();for(;;)try{if(290241===-parseInt(t(397))/1+-parseInt(t(424))/2+-parseInt(t(376))/3*(-parseInt(t(414))/4)+parseInt(t(379))/5*(parseInt(t(420))/6)+-parseInt(t(370))/7+-parseInt(t(415))/8*(-parseInt(t(409))/9)+parseInt(t(372))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class I extends e.Plugin{[w(433)];[w(369)];static get[w(407)](){return w(426)}static get[w(358)](){return!0}static get[w(378)](){return!0}[w(363)](){const e=w,t=this[e(394)];this[e(360)](),t[e(429)][e(402)]({keystrokes:[{label:c(t[e(413)],e(403)),keystroke:e(430),mayRequireFn:!0}]}),this[e(433)]=this[e(394)][e(417)][e(412)](e(433));const n=this[e(394)];this[e(369)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(428)==i||t(405)==i||t(393)==i||t(406)==i||t(421)==i||t(396)==i||t(381)==i||t(423)==i){delete n[r],s=i,clearInterval(this[t(369)]),this[t(369)]=void 0;break}}t(405)==s&&n[t(384)](t(392)),t(393)==s&&n[t(384)](t(431)),t(406)==s&&n[t(384)](t(408)),t(421)==s&&n[t(384)](t(391),t(399)),t(396)==s&&n[t(384)](t(395)),t(381)==s&&n[t(384)](t(416)),t(423)==s&&n[t(384)](t(361))},1e3)}[w(411)](){const e=w;super[e(411)](),this[e(369)]&&clearInterval(this[e(369)])}[w(360)](){const e=w,t=this[e(394)],{itemDefinitions:n,commands:s}=this[e(385)]();t.ui[e(390)][e(404)](e(419),()=>this[e(432)](n,s)),t.ui[e(390)][e(404)](e(427),()=>this[e(434)](n,s))}[w(434)](e,t){const n=w,s=this[n(394)],r=s[n(413)],i=new p.MenuBarMenuView(r),o=new p.MenuBarMenuListView(r);o[n(368)]({ariaLabel:c(r,n(366)),role:n(359)}),this[n(386)](i[n(373)]),i[n(388)](n(410))[n(364)](t,n(410),(...e)=>e[n(383)](e=>e));for(const t of e){const e=new p.MenuBarMenuListItemView(r,i),a=new p.MenuBarMenuListItemButtonView(r);a[n(356)](n(422)).to(i),a[n(388)](...Object[n(377)](t[n(400)])).to(t[n(400)]),a.on(n(422),()=>{const e=n;s[e(422)](t[e(400)][e(375)]),s[e(355)][e(387)][e(367)]()}),e[n(398)][n(404)](a),o[n(425)][n(404)](e)}return i[n(382)][n(398)][n(404)](o),i}[w(432)](e,t){const n=w,s=this[n(394)],r=(0,p.createDropdown)(s[n(413)]);return this[n(386)](r[n(373)]),r[n(373)][n(368)]({tooltip:!0}),r[n(354)]({attributes:{class:[n(362)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(413)],n(366)),role:n(359)}),r[n(388)](n(410))[n(364)](t,n(410),(...e)=>e[n(383)](e=>e)),this[n(357)](r,n(422),e=>{const t=n;s[t(422)](e[t(389)][t(375)]),s[t(355)][t(387)][t(367)]()}),r}[w(386)](e){const t=w,n=this[t(394)];e[t(368)]({label:c(n[t(413)],t(366)),icon:g.IconCaseChange,keystroke:t(380)})}[w(385)](){const e=w,n=new t.Collection,s=[];for(const t of d(this[e(394)][e(413)])){const r=this[e(394)][e(365)][e(412)](t[e(375)]),i=new p.UIModel({commandName:t[e(375)],label:t[e(401)],role:e(418),withText:!0});i[e(388)](e(410)).to(r,e(410)),n[e(404)]({type:e(374),model:i}),s[e(371)](r)}return{itemDefinitions:n,commands:s}}}var y=b;function L(){var e=["CaseChange","10qJHjVv","216174ohayIQ","90720PPSIrI","35tbtlZb","19612KDMSdU","1250632MfEMtL","263724zoviLp","requires","pluginName","6DPRkaL","isPremiumPlugin","773715JPJFUa","isOfficialPlugin","7EKDvxM","32131pCiDER"];return(L=function(){return e})()}function b(e,t){var n=L();return(b=function(e,t){return n[e-=203]})(e,t)}!function(e){for(var t=b,n=e();;)try{if(184064===-parseInt(t(215))/1*(-parseInt(t(216))/2)+-parseInt(t(205))/3*(parseInt(t(218))/4)+-parseInt(t(207))/5+-parseInt(t(213))/6+parseInt(t(209))/7*(parseInt(t(217))/8)+parseInt(t(214))/9+-parseInt(t(212))/10*(parseInt(t(210))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(L);class x extends e.Plugin{static get[y(203)](){return[h,I]}static get[y(204)](){return y(211)}static get[y(208)](){return!0}static get[y(206)](){return!0}}function P(){var e=["2212314qRRoMp","163qiQwct","1124BoLALD","2258225xxgtxb","4533837JJhBRR","5211080OQtndg","1260258UJDbzo","1569280cOCofM"];return(P=function(){return e})()}function v(e,t){var n=P();return(v=function(e,t){return n[e-=404]})(e,t)}!function(e){for(var t=v,n=e();;)try{if(359340===parseInt(t(408))/1*(-parseInt(t(409))/2)+-parseInt(t(405))/3+parseInt(t(406))/4+-parseInt(t(410))/5+-parseInt(t(407))/6+parseInt(t(411))/7+parseInt(t(404))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).caseChange=s})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x349734,Plugin as _0x5e89db}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0xab5e51,Collection as _0x3a4c95}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x14d4b0,MenuBarMenuListView as _0x6f0212,MenuBarMenuListItemView as _0x5582a7,MenuBarMenuListItemButtonView as _0x49bd86,createDropdown as _0x4a9618,addListToDropdown as _0xacc0bd,UIModel as _0x347a6c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x21197b}from'@ckeditor/ckeditor5-icons/dist/index.js';class c extends _0x349734{['_transformCallback'];constructor(_0x950c04,_0x4f08da){super(_0x950c04),this['_transformCallback']=_0x4f08da;}['execute'](){const _0x80bb98=this['editor']['model'],_0x56ef59=Array['from'](this['_getAffectedRanges']()),_0x5e0874=Array['from'](_0x80bb98['document']['selection']['getRanges']());_0x80bb98['change'](_0x442ec8=>{for(const _0x53c02b of _0x56ef59)this['_modifyContent'](_0x53c02b,_0x442ec8);_0x442ec8['setSelection'](_0x5e0874);});}['refresh'](){for(const _0xf49c99 of this['_getAffectedRanges']())for(const _0xcf4e5e of _0xf49c99)if(_0xcf4e5e['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x5df514=this['editor']['model'],_0x9f8759=_0x5df514['document']['selection'];if(_0x9f8759['isCollapsed']){const _0x10f05b=this['_findAncestorTextBlock'](_0x9f8759['getFirstPosition']()['parent']);return _0x10f05b?[_0x5df514['createRangeIn'](_0x10f05b)]:[];}return _0x9f8759['getRanges']();}['_modifyContent'](_0x14ab1f,_0x13a703){for(const _0x275aba of this['_getElementsAllowingText'](_0x14ab1f)){const _0x599fe8=this['_getElementTextContent'](_0x275aba),_0x3a3a0b=this['_transformCallback'](_0x599fe8);for(const _0x4cf7f9 of this['_getTextNodesRangeLimited'](_0x275aba,_0x14ab1f))this['_replaceTextNodeData'](_0x4cf7f9,_0x3a3a0b,_0x13a703);}}['_findAncestorTextBlock'](_0x47f126){const _0x35a1d5=this['editor']['model']['schema'];if(_0x47f126['is']('element')&&_0x35a1d5['checkChild'](_0x47f126,'$text'))return _0x47f126;const _0x3390b9=_0x47f126['parent'];return!_0x3390b9||_0x35a1d5['isLimit'](_0x47f126)?null:this['_findAncestorTextBlock'](_0x3390b9);}*['_getElementsAllowingText'](_0x2114a5){const _0x16ce7b=new Set();for(const {item:_0x5b606f}of _0x2114a5['getWalker']()){const _0x367b67=this['_findAncestorTextBlock'](_0x5b606f);_0x367b67&&!_0x16ce7b['has'](_0x367b67)&&(_0x16ce7b['add'](_0x367b67),yield _0x367b67);}}['_getElementTextContent'](_0x1a2a7e){return Array['from'](_0x1a2a7e['getChildren']())['reduce']((_0x52b24d,_0x5a16a4)=>_0x52b24d+(_0x5a16a4['is']('$text')?_0x5a16a4['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x48e50,_0x5cb9be){const _0x452262=_0x5cb9be['getIntersection'](this['editor']['model']['createRangeIn'](_0x48e50));if(_0x452262){for(const _0x4a3ffc of _0x452262['getItems']())_0x4a3ffc['is']('$textProxy')&&_0x4a3ffc['parent']==_0x48e50&&(yield _0x4a3ffc);}}['_replaceTextNodeData'](_0x1170a4,_0x16a739,_0x2cb973){const _0x5445a1=_0x16a739['substring'](_0x1170a4['startOffset'],_0x1170a4['endOffset']);if(_0x5445a1===_0x1170a4['data'])return;const _0x2e8d4d=_0x1170a4['getAttributes']();this['editor']['model']['insertContent'](_0x2cb973['createText'](_0x5445a1,_0x2e8d4d),_0x2cb973['createSelection'](_0x2cb973['createRangeOn'](_0x1170a4)));}}function u(_0x3afb99,_0x134dd1,..._0x419fea){const t=_0x3afb99['t'];switch(_0x134dd1){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x419fea);default:return _0x134dd1;}}class r extends _0x5e89db{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x270453=this['editor'],_0x410a4d=_0x270453['locale']['contentLanguage'],_0x571541=function(_0x1d5293=[]){return'function'==typeof _0x1d5293?_0x1d5293:(_0x4d833f,{wordIndex:_0x26c9ca})=>_0x26c9ca>0x0&&_0x1d5293['includes'](_0x4d833f);}(_0x270453['config']['get']('caseChange.titleCase.excludeWords')),_0x4e924d={'changeCaseUpper':new c(_0x270453,_0x4f5fa7=>_0x4f5fa7['toLocaleUpperCase'](_0x410a4d)),'changeCaseLower':new c(_0x270453,_0x5da203=>_0x5da203['toLocaleLowerCase'](_0x410a4d)),'changeCaseTitle':new c(_0x270453,_0x42b91a=>function(_0x1efb41,_0x3f6293,_0xce25e5){return function(_0x100c9f,_0x171ede){let _0x349d51='',_0x3963ec=0x0,_0x4ea8e3=0x0;for(const _0x5867c6 of _0x100c9f['matchAll'](/ +/g)){const _0x3db1c7=_0x5867c6['index'],_0x37ed06=_0x100c9f['substring'](_0x3963ec,_0x3db1c7);_0x37ed06['length']&&(_0x349d51+=_0x171ede(_0x37ed06,_0x3963ec,_0x4ea8e3++)),_0x349d51+=_0x5867c6[0x0],_0x3963ec=_0x3db1c7+_0x5867c6[0x0]['length'];}const _0x4b02df=_0x100c9f['substring'](_0x3963ec);return _0x4b02df['length']&&(_0x349d51+=_0x171ede(_0x4b02df,_0x3963ec,_0x4ea8e3)),_0x349d51;}(_0x1efb41,(_0x22baa4,_0x12b7d3,_0x493154)=>{const _0x265f94=_0x22baa4['toLocaleLowerCase'](_0xce25e5);return _0x3f6293(_0x265f94,{'charOffset':_0x12b7d3,'wordIndex':_0x493154,'blockText':_0x1efb41})?_0x265f94:_0x265f94['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x1c8f22=>_0x1c8f22['toLocaleUpperCase'](_0xce25e5));});}(_0x42b91a,_0x571541,_0x410a4d))};for(const [_0x2787f4,_0x172cbc]of Object['entries'](_0x4e924d))_0x270453['commands']['add'](_0x2787f4,_0x172cbc),_0x172cbc['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x2787f4);});this['listenTo'](_0x270453['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x270453['keystrokes']['set']('shift+f3',(_0x14cc3a,_0x16868c)=>{const _0x53cedc=y(this['editor']['locale']),_0x5aea24=_0x53cedc[this['_currentCommandIndex']%_0x53cedc['length']]['commandName'];_0x270453['execute'](_0x5aea24),this['_currentCommandIndex']++,_0x16868c();});}['afterInit'](){!async function(_0x20c7ba){const _0x5e354c=_0x487766([0x53,0x30,0x4e,0x74,0x70,0x48,0x50,0x61,0x46,0x66,0x41,0x4a,0x4d,0x42,0x64,0x76,0x7a,0x35,0x32,0x45,0x56,0x33,0x4c,0x68,0x6e,0x34,0x65,0x77,0x44,0x59,0x6d,0x79,0x71,0x58,0x63,0x5a,0x69,0x55,0x54,0x51,0x39,0x38,0x37,0x72,0x6b,0x36,0x4b,0x73,0x6f,0x43,0x52,0x6c,0x47,0x62,0x4f,0x6a,0x67,0x31,0x57,0x75,0x78,0x49]),_0x401ba8=0x77e5e035,_0x459e14=0x77e28f3d^_0x401ba8,_0x55763a=window[_0x487766([0x44,0x61,0x74,0x65])][_0x487766([0x6e,0x6f,0x77])](),_0x348f31=_0x20c7ba[_0x487766([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb2160=new window[(_0x487766([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x385bee=>{_0x348f31[_0x487766([0x6f,0x6e,0x63,0x65])](_0x487766([0x72,0x65,0x61,0x64,0x79]),_0x385bee);}),_0x46cd52={[_0x487766([0x6b,0x74,0x79])]:_0x487766([0x45,0x43]),[_0x487766([0x75,0x73,0x65])]:_0x487766([0x73,0x69,0x67]),[_0x487766([0x63,0x72,0x76])]:_0x487766([0x50,0x2d,0x32,0x35,0x36]),[_0x487766([0x78])]:_0x487766([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]),[_0x487766([0x79])]:_0x487766([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]),[_0x487766([0x61,0x6c,0x67])]:_0x487766([0x45,0x53,0x32,0x35,0x36])},_0x3a48f3=_0x348f31[_0x487766([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x487766([0x67,0x65,0x74])](_0x487766([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf3e970(){let _0x1d3fce,_0x3da266=null,_0x9d7faf=null;try{if(_0x3a48f3==_0x487766([0x47,0x50,0x4c]))return _0x487766([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d3fce=_0x259d4a(),!_0x1d3fce)return _0x487766([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d3fce[_0x487766([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9d7faf=_0xa9cc50(_0x1d3fce[_0x487766([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d3fce[_0x487766([0x6a,0x74,0x69])])),await _0x46b5c8()?_0x1c0fae()?_0x3f57a6()?_0x487766([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b47a5()?(_0x1d3fce[_0x487766([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x487766([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3da266=_0x5c684b(_0x487766([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d3fce[_0x487766([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x487766([0x74,0x72,0x69,0x61,0x6c])&&(_0x3da266=_0x5c684b(_0x487766([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x113697()):_0x487766([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x487766([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x487766([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x487766([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f57a6(){const _0x491aa7=[_0x487766([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x487766([0x74,0x72,0x69,0x61,0x6c])][_0x487766([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d3fce[_0x487766([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55763a/0x3e8:0xe10*_0x459e14;return _0x1d3fce[_0x487766([0x65,0x78,0x70])]<_0x491aa7;}function _0x1c0fae(){const _0x25a95f=_0x1d3fce[_0x487766([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25a95f&&(!!_0x25a95f[_0x487766([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x487766([0x2a]))||(!!_0x25a95f[_0x487766([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x487766([0x43,0x43]))||!!_0x25a95f[_0x487766([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x487766([0x50,0x50]))));}function _0x1b47a5(){const _0x4552b7=_0x1d3fce[_0x487766([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4552b7||0x0==_0x4552b7[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54abbd}=new URL(window[_0x487766([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4552b7[_0x487766([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54abbd))return!0x0;const _0x1d4da0=_0x54abbd[_0x487766([0x73,0x70,0x6c,0x69,0x74])](_0x487766([0x2e]));return _0x4552b7[_0x487766([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44cf2e=>_0x44cf2e[_0x487766([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x487766([0x2a])))[_0x487766([0x6d,0x61,0x70])](_0x516e0c=>_0x516e0c[_0x487766([0x73,0x70,0x6c,0x69,0x74])](_0x487766([0x2e])))[_0x487766([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c91e7=>_0x3c91e7[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d4da0[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x487766([0x6d,0x61,0x70])](_0x4caa45=>Array(_0x1d4da0[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4caa45[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x487766([0x66,0x69,0x6c,0x6c])](_0x4caa45[0x0]===_0x487766([0x2a])?_0x487766([0x2a]):'')[_0x487766([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4caa45))[_0x487766([0x73,0x6f,0x6d,0x65])](_0x49e811=>_0x1d4da0[_0x487766([0x65,0x76,0x65,0x72,0x79])]((_0x148d53,_0x3bf8e1)=>_0x49e811[_0x3bf8e1]===_0x148d53||_0x49e811[_0x3bf8e1]===_0x487766([0x2a])));}function _0x113697(){return _0x3da266&&_0x9d7faf?new window[(_0x487766([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52425a,_0x2b3288)=>{_0x3da266[_0x487766([0x74,0x68,0x65,0x6e])](_0x52425a,_0x2b3288),_0x9d7faf[_0x487766([0x74,0x68,0x65,0x6e])](_0x43e0fe=>{_0x43e0fe!=_0x487766([0x56,0x61,0x6c,0x69,0x64])&&_0x52425a(_0x43e0fe);},_0x2b3288);}):_0x3da266||_0x9d7faf||_0x487766([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa9cc50(_0x2f3a49,_0x26ea66){return new window[(_0x487766([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x707e1a=>{if(_0x286a94())return _0x707e1a(_0x487766([0x56,0x61,0x6c,0x69,0x64]));_0x3af38c(),_0x348f31[_0x487766([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x487766([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e998f=!0x1;const _0x101e79=_0xab5e51();function _0x46864e(_0x543d19){return!!_0x543d19&&(typeof _0x543d19===_0x487766([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x543d19===_0x487766([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x543d19[_0x487766([0x74,0x68,0x65,0x6e])]===_0x487766([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x543d19[_0x487766([0x63,0x61,0x74,0x63,0x68])]===_0x487766([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40e2de(_0x5d9b65){_0x1f919c(_0x5d9b65)[_0x487766([0x74,0x68,0x65,0x6e])](_0x5a32c5=>{if(!_0x5a32c5||_0x5a32c5[_0x487766([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x487766([0x6f,0x6b]))return _0x487766([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x9735b5(_0x334a15(_0x101e79+_0x26ea66))!=_0x5a32c5[_0x487766([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x487766([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x487766([0x56,0x61,0x6c,0x69,0x64]);})[_0x487766([0x74,0x68,0x65,0x6e])](_0x29e1b2=>(_0xa2a753(),_0x29e1b2),()=>{const _0x18c35a=_0x3345eb();return null==_0x18c35a?(_0xa2a753(),_0x487766([0x56,0x61,0x6c,0x69,0x64])):_0x487766(_0x55763a-_0x18c35a>(0x53e96435^_0x401ba8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x487766([0x74,0x68,0x65,0x6e])](_0x707e1a)[_0x487766([0x63,0x61,0x74,0x63,0x68])](()=>{_0x707e1a(_0x487766([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb09456=0x77d30eb5^_0x401ba8;function _0xa2a753(){const _0x347973=_0x487766([0x6c,0x6c,0x63,0x74,0x2d])+_0x9735b5(_0x334a15(_0x2f3a49)),_0x39cf35=_0xa62431(_0x9735b5(window[_0x487766([0x4d,0x61,0x74,0x68])][_0x487766([0x63,0x65,0x69,0x6c])](_0x55763a/_0xb09456)));window[_0x487766([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x487766([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x347973,_0x39cf35);}function _0x3345eb(){const _0x48610b=_0x487766([0x6c,0x6c,0x63,0x74,0x2d])+_0x9735b5(_0x334a15(_0x2f3a49)),_0x39ba6a=window[_0x487766([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x487766([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48610b);return _0x39ba6a?window[_0x487766([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa62431(_0x39ba6a),0x10)*_0xb09456:null;}function _0x1f919c(_0xc83dc4){return new window[(_0x487766([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfd9cbf,_0x461440)=>{_0xc83dc4[_0x487766([0x74,0x68,0x65,0x6e])](_0xfd9cbf,_0x461440),window[_0x487766([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x461440,0x77e434f5^_0x401ba8);});}}_0x348f31[_0x487766([0x6f,0x6e])](_0x487766([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x228308,_0x5e0ad9)=>{if(_0x5e0ad9[0x0]!=_0x2f3a49)return _0x707e1a(_0x487766([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e0ad9[0x1]={..._0x5e0ad9[0x1],[_0x487766([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x101e79};},{[_0x487766([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x487766([0x68,0x69,0x67,0x68])}),_0x348f31[_0x487766([0x6f,0x6e])](_0x487766([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e75a9=>{_0x46864e(_0x5e75a9[_0x487766([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e998f=!0x0,_0x40e2de(_0x5e75a9[_0x487766([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x487766([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x487766([0x6c,0x6f,0x77])}),_0xb2160[_0x487766([0x74,0x68,0x65,0x6e])](()=>{_0x4e998f||_0x707e1a(_0x487766([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x286a94(){return _0x348f31[_0x487766([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x487766([0x76,0x69,0x65,0x77])][_0x487766([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x487766([0x61,0x75,0x74,0x6f]);}function _0x3af38c(){_0x348f31[_0x487766([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x487766([0x76,0x69,0x65,0x77])][_0x487766([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x487766([0x61,0x75,0x74,0x6f]);}}function _0x5c684b(_0x2695dc){const _0xacd65b=[new window[(_0x487766([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f0212=>setTimeout(_0x1f0212,0x77ecdef9^_0x401ba8)),_0xb2160[_0x487766([0x74,0x68,0x65,0x6e])](()=>new window[(_0x487766([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c5a49=>{let _0x4f0003=0x0;_0x348f31[_0x487766([0x6d,0x6f,0x64,0x65,0x6c])][_0x487766([0x6f,0x6e])](_0x487766([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e8776,_0x4f6225)=>{_0x4f6225[0x0][_0x487766([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f0003++,_0x4f0003==(0x77e5e1cd^_0x401ba8)&&(_0x2c5a49(),_0x2e8776[_0x487766([0x6f,0x66,0x66])]());});}))];return window[_0x487766([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x487766([0x72,0x61,0x63,0x65])](_0xacd65b)[_0x487766([0x74,0x68,0x65,0x6e])](()=>_0x2695dc);}async function _0x3f3dae(){await _0xb2160,_0x348f31[_0x487766([0x6d,0x6f,0x64,0x65,0x6c])][_0x487766([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbc3d21,_0x348f31[_0x487766([0x6d,0x6f,0x64,0x65,0x6c])][_0x487766([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbc3d21,_0x348f31[_0x487766([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x487766([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x199237(_0x3875f1){const _0x5d90b8=_0x11ea87();_0x348f31[_0x5d90b8]=_0x487766([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3875f1,_0x3875f1!=_0x487766([0x56,0x61,0x6c,0x69,0x64])&&_0x3f3dae();}function _0x11ea87(){const _0x431fce=window[_0x487766([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x487766([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x487766([0x6e,0x6f,0x77])]())[_0x487766([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x487766([0x2e]),'');let _0x40d8d7=_0x487766([0x53]);for(let _0x581a84=0x0;_0x581a84<_0x431fce[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x581a84+=0x2){let _0x2cdf99=window[_0x487766([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x431fce[_0x487766([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x581a84,_0x581a84+0x2));_0x2cdf99>=_0x5e354c[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cdf99-=_0x5e354c[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40d8d7+=_0x5e354c[_0x2cdf99];}return _0x40d8d7;}function _0x259d4a(){const _0x4dd828=_0x3a48f3[_0x487766([0x73,0x70,0x6c,0x69,0x74])](_0x487766([0x2e]));if(0x3!=_0x4dd828[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x412126(_0x4dd828[0x1]);function _0x412126(_0x374751){const _0x402bfb=_0x4b6e95(_0x374751);return _0x402bfb&&_0x56a3c8()?_0x402bfb:null;function _0x56a3c8(){const _0x5c5a04=_0x402bfb[_0x487766([0x6a,0x74,0x69])],_0x4f6a84=window[_0x487766([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c5a04[_0x487766([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c5a04[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x232be4={..._0x402bfb,[_0x487766([0x6a,0x74,0x69])]:_0x5c5a04[_0x487766([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c5a04[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x232be4[_0x487766([0x76,0x63])],_0x334a15(_0x232be4)==_0x4f6a84;}}}async function _0x46b5c8(){let _0x1bccd5=!0x0;try{const _0x205430=_0x3a48f3[_0x487766([0x73,0x70,0x6c,0x69,0x74])](_0x487766([0x2e])),[_0x46e015,_0x3947e4,_0x2a6c7f]=_0x205430;return _0x3beb78(_0x46e015),await _0x3a3922(_0x46e015,_0x3947e4,_0x2a6c7f),_0x1bccd5;}catch{return!0x1;}function _0x3beb78(_0x56f4a8){const _0x324242=_0x4b6e95(_0x56f4a8);_0x324242&&_0x324242[_0x487766([0x61,0x6c,0x67])]==_0x487766([0x45,0x53,0x32,0x35,0x36])||(_0x1bccd5=!0x1);}async function _0x3a3922(_0x5c593f,_0x50d22f,_0x51c7fd){const _0x31c94f=window[_0x487766([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x487766([0x66,0x72,0x6f,0x6d])](_0x20e0a3(_0x51c7fd),_0x1eedf3=>_0x1eedf3[_0x487766([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x592863=new window[(_0x487766([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x487766([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c593f+_0x487766([0x2e])+_0x50d22f),_0x1eabb2=window[_0x487766([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x487766([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1eabb2)return;const _0x3d5329=await _0x1eabb2[_0x487766([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x487766([0x6a,0x77,0x6b]),_0x46cd52,{[_0x487766([0x6e,0x61,0x6d,0x65])]:_0x487766([0x45,0x43,0x44,0x53,0x41]),[_0x487766([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x487766([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x487766([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1eabb2[_0x487766([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x487766([0x6e,0x61,0x6d,0x65])]:_0x487766([0x45,0x43,0x44,0x53,0x41]),[_0x487766([0x68,0x61,0x73,0x68])]:{[_0x487766([0x6e,0x61,0x6d,0x65])]:_0x487766([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d5329,_0x31c94f,_0x592863)||(_0x1bccd5=!0x1);}}function _0x4b6e95(_0x36b086){return _0x36b086[_0x487766([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x487766([0x65,0x79]))?JSON[_0x487766([0x70,0x61,0x72,0x73,0x65])](_0x20e0a3(_0x36b086)):null;}function _0x20e0a3(_0x207643){return window[_0x487766([0x61,0x74,0x6f,0x62])](_0x207643[_0x487766([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x487766([0x2b]))[_0x487766([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x487766([0x2f])));}function _0x334a15(_0x5ed3dc){let _0x5087eb=0x1505;function _0x60c47d(_0x11dadd){for(let _0x4844f8=0x0;_0x4844f8<_0x11dadd[_0x487766([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4844f8++){const _0x326de0=_0x11dadd[_0x487766([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4844f8);_0x5087eb=(_0x5087eb<<0x5)+_0x5087eb+_0x326de0,_0x5087eb&=_0x5087eb;}}function _0x57ed53(_0x9104dc){Array[_0x487766([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9104dc)?_0x9104dc[_0x487766([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57ed53):_0x9104dc&&typeof _0x9104dc==_0x487766([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x487766([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9104dc)[_0x487766([0x73,0x6f,0x72,0x74])]()[_0x487766([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27bd85,_0x349d04])=>{_0x60c47d(_0x27bd85),_0x57ed53(_0x349d04);}):_0x60c47d(window[_0x487766([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9104dc));}return _0x57ed53(_0x5ed3dc),_0x5087eb>>>0x0;}function _0x9735b5(_0x314cca){return _0x314cca[_0x487766([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x487766([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x487766([0x30]));}function _0xa62431(_0x1a9ec3){return _0x1a9ec3[_0x487766([0x73,0x70,0x6c,0x69,0x74])]('')[_0x487766([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x487766([0x6a,0x6f,0x69,0x6e])]('');}function _0xbc3d21(){}function _0x487766(_0x3dfa3d){return _0x3dfa3d['map'](_0x20902c=>String['fromCharCode'](_0x20902c))['join']('');}_0x199237(await _0xf3e970());}(this);}['_announceCaseChangeOperation'](_0x208b55){const {ui:_0xeb12f6,locale:_0x532571}=this['editor'],_0x485e83=y(_0x532571)['find'](_0x1bf8ef=>_0x1bf8ef['commandName']===_0x208b55)['label']['toLowerCase']();_0xeb12f6['ariaLiveAnnouncer']['announce'](u(_0x532571,'Changed\x20case\x20to\x20%0',_0x485e83));}}function y(_0x3cc8cd){return[{'label':u(_0x3cc8cd,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x3cc8cd,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x3cc8cd,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x5e89db{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4c8ec9=this['editor'];this['_registerComponents'](),_0x4c8ec9['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x4c8ec9['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x164591=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x247d88;for(const _0x251315 in _0x164591){const _0x53773b=_0x251315,_0x19e1b6=_0x164591[_0x53773b];if('caseChangeLicenseKeyValid'==_0x19e1b6||'caseChangeLicenseKeyInvalid'==_0x19e1b6||'caseChangeLicenseKeyExpired'==_0x19e1b6||'caseChangeLicenseKeyDomainLimit'==_0x19e1b6||'caseChangeLicenseKeyNotAllowed'==_0x19e1b6||'caseChangeLicenseKeyEvaluationLimit'==_0x19e1b6||'caseChangeLicenseKeyTrialLimit'==_0x19e1b6||'caseChangeLicenseKeyUsageLimit'==_0x19e1b6){delete _0x164591[_0x53773b],_0x247d88=_0x19e1b6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x247d88&&_0x164591['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x247d88&&_0x164591['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x247d88&&_0x164591['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x247d88&&_0x164591['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x247d88&&_0x164591['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x247d88&&_0x164591['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x247d88&&_0x164591['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x5959d1=this['editor'],{itemDefinitions:_0x5f3ac5,commands:_0x304bd3}=this['_getListItemDefinitionsAndCommands']();_0x5959d1['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x5f3ac5,_0x304bd3)),_0x5959d1['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x5f3ac5,_0x304bd3));}['_createMenuBarMenuView'](_0x3c4974,_0x838b8c){const _0x50480b=this['editor'],_0x1ecaf5=_0x50480b['locale'],_0x588ec3=new _0x14d4b0(_0x1ecaf5),_0x4e848b=new _0x6f0212(_0x1ecaf5);_0x4e848b['set']({'ariaLabel':u(_0x1ecaf5,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x588ec3['buttonView']),_0x588ec3['bind']('isEnabled')['toMany'](_0x838b8c,'isEnabled',(..._0xe4ab39)=>_0xe4ab39['some'](_0x4571c1=>_0x4571c1));for(const _0x484b56 of _0x3c4974){const _0x2416fb=new _0x5582a7(_0x1ecaf5,_0x588ec3),_0x6111b4=new _0x49bd86(_0x1ecaf5);_0x6111b4['delegate']('execute')['to'](_0x588ec3),_0x6111b4['bind'](...Object['keys'](_0x484b56['model']))['to'](_0x484b56['model']),_0x6111b4['on']('execute',()=>{_0x50480b['execute'](_0x484b56['model']['commandName']),_0x50480b['editing']['view']['focus']();}),_0x2416fb['children']['add'](_0x6111b4),_0x4e848b['items']['add'](_0x2416fb);}return _0x588ec3['panelView']['children']['add'](_0x4e848b),_0x588ec3;}['_createDropdownView'](_0x427a37,_0x41ef51){const _0x560c54=this['editor'],_0x34f1a5=_0x4a9618(_0x560c54['locale']);return this['_setButtonProperties'](_0x34f1a5['buttonView']),_0x34f1a5['buttonView']['set']({'tooltip':!0x0}),_0x34f1a5['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0xacc0bd(_0x34f1a5,_0x427a37,{'ariaLabel':u(_0x560c54['locale'],'Case\x20change'),'role':'menu'}),_0x34f1a5['bind']('isEnabled')['toMany'](_0x41ef51,'isEnabled',(..._0x23f84e)=>_0x23f84e['some'](_0x37a1e7=>_0x37a1e7)),this['listenTo'](_0x34f1a5,'execute',_0x441bf4=>{_0x560c54['execute'](_0x441bf4['source']['commandName']),_0x560c54['editing']['view']['focus']();}),_0x34f1a5;}['_setButtonProperties'](_0x4df613){const _0x229348=this['editor'];_0x4df613['set']({'label':u(_0x229348['locale'],'Case\x20change'),'icon':_0x21197b,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x14d891=new _0x3a4c95(),_0x34d2f6=[];for(const _0xd6710c of y(this['editor']['locale'])){const _0x2dabff=this['editor']['commands']['get'](_0xd6710c['commandName']),_0x419237=new _0x347a6c({'commandName':_0xd6710c['commandName'],'label':_0xd6710c['label'],'role':'menuitemradio','withText':!0x0});_0x419237['bind']('isEnabled')['to'](_0x2dabff,'isEnabled'),_0x14d891['add']({'type':'button','model':_0x419237}),_0x34d2f6['push'](_0x2dabff);}return{'itemDefinitions':_0x14d891,'commands':_0x34d2f6};}}class w extends _0x5e89db{static get['requires'](){return[r,i];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{w as CaseChange,c as CaseChangeCommand,r as CaseChangeEditing,i as CaseChangeUI};
|
|
23
|
+
import{Command as _0x2a0361,Plugin as _0x5988d2}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x4f87a9,Collection as _0x43b17b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x47ee7b,MenuBarMenuListView as _0x45f9bf,MenuBarMenuListItemView as _0x313fee,MenuBarMenuListItemButtonView as _0x521145,createDropdown as _0x215e36,addListToDropdown as _0x512ce2,UIModel as _0x361c84}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x49b933}from'@ckeditor/ckeditor5-icons/dist/index.js';class c extends _0x2a0361{['_transformCallback'];constructor(_0x12d860,_0x306a43){super(_0x12d860),this['_transformCallback']=_0x306a43;}['execute'](){const _0x5dcfd8=this['editor']['model'],_0x56d528=Array['from'](this['_getAffectedRanges']()),_0x17ef3b=Array['from'](_0x5dcfd8['document']['selection']['getRanges']());_0x5dcfd8['change'](_0x3b23e4=>{for(const _0x12d88f of _0x56d528)this['_modifyContent'](_0x12d88f,_0x3b23e4);_0x3b23e4['setSelection'](_0x17ef3b);});}['refresh'](){for(const _0x787d18 of this['_getAffectedRanges']())for(const _0x260da1 of _0x787d18)if(_0x260da1['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x54929b=this['editor']['model'],_0x3883e4=_0x54929b['document']['selection'];if(_0x3883e4['isCollapsed']){const _0x28c329=this['_findAncestorTextBlock'](_0x3883e4['getFirstPosition']()['parent']);return _0x28c329?[_0x54929b['createRangeIn'](_0x28c329)]:[];}return _0x3883e4['getRanges']();}['_modifyContent'](_0x2a2bdc,_0x48f48d){for(const _0x11b646 of this['_getElementsAllowingText'](_0x2a2bdc)){const _0x298c52=this['_getElementTextContent'](_0x11b646),_0x203595=this['_transformCallback'](_0x298c52);for(const _0x4364c1 of this['_getTextNodesRangeLimited'](_0x11b646,_0x2a2bdc))this['_replaceTextNodeData'](_0x4364c1,_0x203595,_0x48f48d);}}['_findAncestorTextBlock'](_0x55a585){const _0x4ac786=this['editor']['model']['schema'];if(_0x55a585['is']('element')&&_0x4ac786['checkChild'](_0x55a585,'$text'))return _0x55a585;const _0xda70b1=_0x55a585['parent'];return!_0xda70b1||_0x4ac786['isLimit'](_0x55a585)?null:this['_findAncestorTextBlock'](_0xda70b1);}*['_getElementsAllowingText'](_0x1ae5dd){const _0x2631ea=new Set();for(const {item:_0x54f3ed}of _0x1ae5dd['getWalker']()){const _0x179be5=this['_findAncestorTextBlock'](_0x54f3ed);_0x179be5&&!_0x2631ea['has'](_0x179be5)&&(_0x2631ea['add'](_0x179be5),yield _0x179be5);}}['_getElementTextContent'](_0xff8d1b){return Array['from'](_0xff8d1b['getChildren']())['reduce']((_0x5051fd,_0x2178a5)=>_0x5051fd+(_0x2178a5['is']('$text')?_0x2178a5['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x2a6e9c,_0x29565d){const _0x55fbfc=_0x29565d['getIntersection'](this['editor']['model']['createRangeIn'](_0x2a6e9c));if(_0x55fbfc){for(const _0x877bd9 of _0x55fbfc['getItems']())_0x877bd9['is']('$textProxy')&&_0x877bd9['parent']==_0x2a6e9c&&(yield _0x877bd9);}}['_replaceTextNodeData'](_0x543c2d,_0x1cde74,_0x1d1924){const _0xfa1e11=_0x1cde74['substring'](_0x543c2d['startOffset'],_0x543c2d['endOffset']);if(_0xfa1e11===_0x543c2d['data'])return;const _0x42c240=_0x543c2d['getAttributes']();this['editor']['model']['insertContent'](_0x1d1924['createText'](_0xfa1e11,_0x42c240),_0x1d1924['createSelection'](_0x1d1924['createRangeOn'](_0x543c2d)));}}function u(_0x162aa3,_0x3b2e81,..._0x1a7ba1){const t=_0x162aa3['t'];switch(_0x3b2e81){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x1a7ba1);default:return _0x3b2e81;}}class r extends _0x5988d2{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x31f070=this['editor'],_0x40eeb1=_0x31f070['locale']['contentLanguage'],_0x332e93=function(_0x589a4f=[]){return'function'==typeof _0x589a4f?_0x589a4f:(_0x20bf9c,{wordIndex:_0x3c3fae})=>_0x3c3fae>0x0&&_0x589a4f['includes'](_0x20bf9c);}(_0x31f070['config']['get']('caseChange.titleCase.excludeWords')),_0x20f3d2={'changeCaseUpper':new c(_0x31f070,_0x48179d=>_0x48179d['toLocaleUpperCase'](_0x40eeb1)),'changeCaseLower':new c(_0x31f070,_0x25996a=>_0x25996a['toLocaleLowerCase'](_0x40eeb1)),'changeCaseTitle':new c(_0x31f070,_0x51d7c4=>function(_0x169e00,_0x3253e8,_0x149563){return function(_0x12255a,_0x4323b6){let _0x42cd1f='',_0x419e2f=0x0,_0x10826f=0x0;for(const _0x13b994 of _0x12255a['matchAll'](/ +/g)){const _0x4a8d7f=_0x13b994['index'],_0x2a7a4b=_0x12255a['substring'](_0x419e2f,_0x4a8d7f);_0x2a7a4b['length']&&(_0x42cd1f+=_0x4323b6(_0x2a7a4b,_0x419e2f,_0x10826f++)),_0x42cd1f+=_0x13b994[0x0],_0x419e2f=_0x4a8d7f+_0x13b994[0x0]['length'];}const _0x409fbd=_0x12255a['substring'](_0x419e2f);return _0x409fbd['length']&&(_0x42cd1f+=_0x4323b6(_0x409fbd,_0x419e2f,_0x10826f)),_0x42cd1f;}(_0x169e00,(_0x59547a,_0xaa23ea,_0x3bf923)=>{const _0x17d141=_0x59547a['toLocaleLowerCase'](_0x149563);return _0x3253e8(_0x17d141,{'charOffset':_0xaa23ea,'wordIndex':_0x3bf923,'blockText':_0x169e00})?_0x17d141:_0x17d141['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0xc258a6=>_0xc258a6['toLocaleUpperCase'](_0x149563));});}(_0x51d7c4,_0x332e93,_0x40eeb1))};for(const [_0x2dbf00,_0x32789a]of Object['entries'](_0x20f3d2))_0x31f070['commands']['add'](_0x2dbf00,_0x32789a),_0x32789a['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x2dbf00);});this['listenTo'](_0x31f070['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x31f070['keystrokes']['set']('shift+f3',(_0x39901a,_0x3978c2)=>{const _0x3649a0=y(this['editor']['locale']),_0x4ad39a=_0x3649a0[this['_currentCommandIndex']%_0x3649a0['length']]['commandName'];_0x31f070['execute'](_0x4ad39a),this['_currentCommandIndex']++,_0x3978c2();});}['afterInit'](){!async function(_0x109234){const _0x51175b=_0x1549c2([0x52,0x32,0x66,0x69,0x62,0x78,0x37,0x76,0x77,0x50,0x79,0x6a,0x68,0x44,0x6e,0x49,0x45,0x4d,0x64,0x70,0x42,0x72,0x55,0x57,0x53,0x41,0x6f,0x71,0x30,0x4e,0x4f,0x73,0x63,0x58,0x31,0x33,0x36,0x4c,0x34,0x39,0x59,0x67,0x35,0x43,0x46,0x56,0x4a,0x47,0x48,0x5a,0x6d,0x6c,0x65,0x61,0x4b,0x75,0x74,0x7a,0x51,0x38,0x6b,0x54]),_0x5de086=0x7248bbc6,_0x1d055b=0x724fd4e6^_0x5de086,_0x1ae8ce=window[_0x1549c2([0x44,0x61,0x74,0x65])][_0x1549c2([0x6e,0x6f,0x77])](),_0x548ba7=_0x109234[_0x1549c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x487e11=new window[(_0x1549c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36b9b6=>{_0x548ba7[_0x1549c2([0x6f,0x6e,0x63,0x65])](_0x1549c2([0x72,0x65,0x61,0x64,0x79]),_0x36b9b6);}),_0x48ec9e={[_0x1549c2([0x6b,0x74,0x79])]:_0x1549c2([0x45,0x43]),[_0x1549c2([0x75,0x73,0x65])]:_0x1549c2([0x73,0x69,0x67]),[_0x1549c2([0x63,0x72,0x76])]:_0x1549c2([0x50,0x2d,0x32,0x35,0x36]),[_0x1549c2([0x78])]:_0x1549c2([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]),[_0x1549c2([0x79])]:_0x1549c2([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]),[_0x1549c2([0x61,0x6c,0x67])]:_0x1549c2([0x45,0x53,0x32,0x35,0x36])},_0x139cf5=_0x548ba7[_0x1549c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1549c2([0x67,0x65,0x74])](_0x1549c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8bd8ff(){let _0x33c658,_0x54a142=null,_0x15a314=null;try{if(_0x139cf5==_0x1549c2([0x47,0x50,0x4c]))return _0x1549c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x33c658=_0x5ce291(),!_0x33c658)return _0x1549c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x33c658[_0x1549c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15a314=_0x3fdb64(_0x33c658[_0x1549c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x33c658[_0x1549c2([0x6a,0x74,0x69])])),await _0x4d4f89()?_0x18c381()?_0x2b6997()?_0x1549c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56bcec()?(_0x33c658[_0x1549c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1549c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54a142=_0x43e2d5(_0x1549c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x33c658[_0x1549c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1549c2([0x74,0x72,0x69,0x61,0x6c])&&(_0x54a142=_0x43e2d5(_0x1549c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x392f4c()):_0x1549c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1549c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1549c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1549c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b6997(){const _0x4c2176=[_0x1549c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1549c2([0x74,0x72,0x69,0x61,0x6c])][_0x1549c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33c658[_0x1549c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ae8ce/0x3e8:0xe10*_0x1d055b;return _0x33c658[_0x1549c2([0x65,0x78,0x70])]<_0x4c2176;}function _0x18c381(){const _0xc3c435=_0x33c658[_0x1549c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xc3c435&&(!!_0xc3c435[_0x1549c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1549c2([0x2a]))||(!!_0xc3c435[_0x1549c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1549c2([0x43,0x43]))||!!_0xc3c435[_0x1549c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1549c2([0x50,0x50]))));}function _0x56bcec(){const _0x1f6e9b=_0x33c658[_0x1549c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f6e9b||0x0==_0x1f6e9b[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x398100}=new URL(window[_0x1549c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1f6e9b[_0x1549c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398100))return!0x0;const _0x4020ba=_0x398100[_0x1549c2([0x73,0x70,0x6c,0x69,0x74])](_0x1549c2([0x2e]));return _0x1f6e9b[_0x1549c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47717d=>_0x47717d[_0x1549c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1549c2([0x2a])))[_0x1549c2([0x6d,0x61,0x70])](_0x32ebf5=>_0x32ebf5[_0x1549c2([0x73,0x70,0x6c,0x69,0x74])](_0x1549c2([0x2e])))[_0x1549c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x989783=>_0x989783[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4020ba[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1549c2([0x6d,0x61,0x70])](_0x563901=>Array(_0x4020ba[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x563901[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1549c2([0x66,0x69,0x6c,0x6c])](_0x563901[0x0]===_0x1549c2([0x2a])?_0x1549c2([0x2a]):'')[_0x1549c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x563901))[_0x1549c2([0x73,0x6f,0x6d,0x65])](_0x55931f=>_0x4020ba[_0x1549c2([0x65,0x76,0x65,0x72,0x79])]((_0x3b7515,_0x422d68)=>_0x55931f[_0x422d68]===_0x3b7515||_0x55931f[_0x422d68]===_0x1549c2([0x2a])));}function _0x392f4c(){return _0x54a142&&_0x15a314?new window[(_0x1549c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48de6e,_0x22898b)=>{_0x54a142[_0x1549c2([0x74,0x68,0x65,0x6e])](_0x48de6e,_0x22898b),_0x15a314[_0x1549c2([0x74,0x68,0x65,0x6e])](_0x50de1c=>{_0x50de1c!=_0x1549c2([0x56,0x61,0x6c,0x69,0x64])&&_0x48de6e(_0x50de1c);},_0x22898b);}):_0x54a142||_0x15a314||_0x1549c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3fdb64(_0x48ebcd,_0x40acda){return new window[(_0x1549c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a7722=>{if(_0x22e6b4())return _0x2a7722(_0x1549c2([0x56,0x61,0x6c,0x69,0x64]));_0xb15be9(),_0x548ba7[_0x1549c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1549c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bcef6=!0x1;const _0x416909=_0x4f87a9();function _0x5479de(_0x57d9cd){return!!_0x57d9cd&&(typeof _0x57d9cd===_0x1549c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57d9cd===_0x1549c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57d9cd[_0x1549c2([0x74,0x68,0x65,0x6e])]===_0x1549c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57d9cd[_0x1549c2([0x63,0x61,0x74,0x63,0x68])]===_0x1549c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4dce70(_0xfd2d8e){_0xca6982(_0xfd2d8e)[_0x1549c2([0x74,0x68,0x65,0x6e])](_0x26a867=>{if(!_0x26a867||_0x26a867[_0x1549c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1549c2([0x6f,0x6b]))return _0x1549c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4703ea(_0x1c3fd7(_0x416909+_0x40acda))!=_0x26a867[_0x1549c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1549c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1549c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1549c2([0x74,0x68,0x65,0x6e])](_0x2b545c=>(_0x331b8c(),_0x2b545c),()=>{const _0x25a05c=_0x365262();return null==_0x25a05c?(_0x331b8c(),_0x1549c2([0x56,0x61,0x6c,0x69,0x64])):_0x1549c2(_0x1ae8ce-_0x25a05c>(0x56443fc6^_0x5de086)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1549c2([0x74,0x68,0x65,0x6e])](_0x2a7722)[_0x1549c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a7722(_0x1549c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e3679=0x727e5546^_0x5de086;function _0x331b8c(){const _0x17d35a=_0x1549c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4703ea(_0x1c3fd7(_0x48ebcd)),_0x3bdaf9=_0x6c0946(_0x4703ea(window[_0x1549c2([0x4d,0x61,0x74,0x68])][_0x1549c2([0x63,0x65,0x69,0x6c])](_0x1ae8ce/_0x1e3679)));window[_0x1549c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1549c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17d35a,_0x3bdaf9);}function _0x365262(){const _0x2fcddd=_0x1549c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4703ea(_0x1c3fd7(_0x48ebcd)),_0x18a6e6=window[_0x1549c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1549c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fcddd);return _0x18a6e6?window[_0x1549c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6c0946(_0x18a6e6),0x10)*_0x1e3679:null;}function _0xca6982(_0x3e9e19){return new window[(_0x1549c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x438663,_0x303453)=>{_0x3e9e19[_0x1549c2([0x74,0x68,0x65,0x6e])](_0x438663,_0x303453),window[_0x1549c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x303453,0x72496f06^_0x5de086);});}}_0x548ba7[_0x1549c2([0x6f,0x6e])](_0x1549c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x293f6d,_0x198498)=>{if(_0x198498[0x0]!=_0x48ebcd)return _0x2a7722(_0x1549c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x198498[0x1]={..._0x198498[0x1],[_0x1549c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x416909};},{[_0x1549c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1549c2([0x68,0x69,0x67,0x68])}),_0x548ba7[_0x1549c2([0x6f,0x6e])](_0x1549c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x158fdc=>{_0x5479de(_0x158fdc[_0x1549c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bcef6=!0x0,_0x4dce70(_0x158fdc[_0x1549c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1549c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1549c2([0x6c,0x6f,0x77])}),_0x487e11[_0x1549c2([0x74,0x68,0x65,0x6e])](()=>{_0x3bcef6||_0x2a7722(_0x1549c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22e6b4(){return _0x548ba7[_0x1549c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1549c2([0x76,0x69,0x65,0x77])][_0x1549c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1549c2([0x61,0x75,0x74,0x6f]);}function _0xb15be9(){_0x548ba7[_0x1549c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1549c2([0x76,0x69,0x65,0x77])][_0x1549c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1549c2([0x61,0x75,0x74,0x6f]);}}function _0x43e2d5(_0x4d1bc1){const _0x6305d5=[new window[(_0x1549c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x398925=>setTimeout(_0x398925,0x7241850a^_0x5de086)),_0x487e11[_0x1549c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1549c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x208022=>{let _0xddacc2=0x0;_0x548ba7[_0x1549c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1549c2([0x6f,0x6e])](_0x1549c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e25c0,_0x33095b)=>{_0x33095b[0x0][_0x1549c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xddacc2++,_0xddacc2==(0x7248ba3e^_0x5de086)&&(_0x208022(),_0x4e25c0[_0x1549c2([0x6f,0x66,0x66])]());});}))];return window[_0x1549c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1549c2([0x72,0x61,0x63,0x65])](_0x6305d5)[_0x1549c2([0x74,0x68,0x65,0x6e])](()=>_0x4d1bc1);}async function _0x577b34(){await _0x487e11,_0x548ba7[_0x1549c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1549c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56c706,_0x548ba7[_0x1549c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1549c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56c706,_0x548ba7[_0x1549c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1549c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ee0da(_0x544573){const _0x302be5=_0x2b329c();_0x548ba7[_0x302be5]=_0x1549c2([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x544573,_0x544573!=_0x1549c2([0x56,0x61,0x6c,0x69,0x64])&&_0x577b34();}function _0x2b329c(){const _0x591053=window[_0x1549c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1549c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1549c2([0x6e,0x6f,0x77])]())[_0x1549c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1549c2([0x2e]),'');let _0x5ab494=_0x1549c2([0x52]);for(let _0x24c2f2=0x0;_0x24c2f2<_0x591053[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24c2f2+=0x2){let _0x3d95bd=window[_0x1549c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x591053[_0x1549c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24c2f2,_0x24c2f2+0x2));_0x3d95bd>=_0x51175b[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d95bd-=_0x51175b[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ab494+=_0x51175b[_0x3d95bd];}return _0x5ab494;}function _0x5ce291(){const _0x320869=_0x139cf5[_0x1549c2([0x73,0x70,0x6c,0x69,0x74])](_0x1549c2([0x2e]));if(0x3!=_0x320869[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18f14a(_0x320869[0x1]);function _0x18f14a(_0xecb82f){const _0x24ee0e=_0x96d19d(_0xecb82f);return _0x24ee0e&&_0x39c6a3()?_0x24ee0e:null;function _0x39c6a3(){const _0x74e268=_0x24ee0e[_0x1549c2([0x6a,0x74,0x69])],_0x463afd=window[_0x1549c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x74e268[_0x1549c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x74e268[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21c9da={..._0x24ee0e,[_0x1549c2([0x6a,0x74,0x69])]:_0x74e268[_0x1549c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x74e268[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21c9da[_0x1549c2([0x76,0x63])],_0x1c3fd7(_0x21c9da)==_0x463afd;}}}async function _0x4d4f89(){let _0x3435fb=!0x0;try{const _0x5763ed=_0x139cf5[_0x1549c2([0x73,0x70,0x6c,0x69,0x74])](_0x1549c2([0x2e])),[_0x4cbe5c,_0x392f26,_0x26667b]=_0x5763ed;return _0x9de4f(_0x4cbe5c),await _0x1d1428(_0x4cbe5c,_0x392f26,_0x26667b),_0x3435fb;}catch{return!0x1;}function _0x9de4f(_0x2bb6e9){const _0x50b955=_0x96d19d(_0x2bb6e9);_0x50b955&&_0x50b955[_0x1549c2([0x61,0x6c,0x67])]==_0x1549c2([0x45,0x53,0x32,0x35,0x36])||(_0x3435fb=!0x1);}async function _0x1d1428(_0x43eebb,_0x48edf7,_0x4f521d){const _0xc6c0dd=window[_0x1549c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1549c2([0x66,0x72,0x6f,0x6d])](_0x19cf6a(_0x4f521d),_0x124f10=>_0x124f10[_0x1549c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ad380=new window[(_0x1549c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1549c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43eebb+_0x1549c2([0x2e])+_0x48edf7),_0x41f07d=window[_0x1549c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1549c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41f07d)return;const _0xa08a0b=await _0x41f07d[_0x1549c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1549c2([0x6a,0x77,0x6b]),_0x48ec9e,{[_0x1549c2([0x6e,0x61,0x6d,0x65])]:_0x1549c2([0x45,0x43,0x44,0x53,0x41]),[_0x1549c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1549c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1549c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41f07d[_0x1549c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1549c2([0x6e,0x61,0x6d,0x65])]:_0x1549c2([0x45,0x43,0x44,0x53,0x41]),[_0x1549c2([0x68,0x61,0x73,0x68])]:{[_0x1549c2([0x6e,0x61,0x6d,0x65])]:_0x1549c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa08a0b,_0xc6c0dd,_0x4ad380)||(_0x3435fb=!0x1);}}function _0x96d19d(_0x445c58){return _0x445c58[_0x1549c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1549c2([0x65,0x79]))?JSON[_0x1549c2([0x70,0x61,0x72,0x73,0x65])](_0x19cf6a(_0x445c58)):null;}function _0x19cf6a(_0x29d112){return window[_0x1549c2([0x61,0x74,0x6f,0x62])](_0x29d112[_0x1549c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1549c2([0x2b]))[_0x1549c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1549c2([0x2f])));}function _0x1c3fd7(_0x2ddb3d){let _0xdcdc5a=0x1505;function _0x14ca2f(_0x1b9959){for(let _0x306df1=0x0;_0x306df1<_0x1b9959[_0x1549c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x306df1++){const _0x46348a=_0x1b9959[_0x1549c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x306df1);_0xdcdc5a=(_0xdcdc5a<<0x5)+_0xdcdc5a+_0x46348a,_0xdcdc5a&=_0xdcdc5a;}}function _0x4540e1(_0x1d9771){Array[_0x1549c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d9771)?_0x1d9771[_0x1549c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4540e1):_0x1d9771&&typeof _0x1d9771==_0x1549c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1549c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d9771)[_0x1549c2([0x73,0x6f,0x72,0x74])]()[_0x1549c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x723c2a,_0x5f548f])=>{_0x14ca2f(_0x723c2a),_0x4540e1(_0x5f548f);}):_0x14ca2f(window[_0x1549c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d9771));}return _0x4540e1(_0x2ddb3d),_0xdcdc5a>>>0x0;}function _0x4703ea(_0x1a8425){return _0x1a8425[_0x1549c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1549c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1549c2([0x30]));}function _0x6c0946(_0x22ed8d){return _0x22ed8d[_0x1549c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1549c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1549c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x56c706(){}function _0x1549c2(_0x3a2962){return _0x3a2962['map'](_0xaa349b=>String['fromCharCode'](_0xaa349b))['join']('');}_0x2ee0da(await _0x8bd8ff());}(this);}['_announceCaseChangeOperation'](_0x197f58){const {ui:_0x343e3a,locale:_0x57bfdf}=this['editor'],_0x4192f1=y(_0x57bfdf)['find'](_0x904283=>_0x904283['commandName']===_0x197f58)['label']['toLowerCase']();_0x343e3a['ariaLiveAnnouncer']['announce'](u(_0x57bfdf,'Changed\x20case\x20to\x20%0',_0x4192f1));}}function y(_0x205985){return[{'label':u(_0x205985,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x205985,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x205985,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x5988d2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1fac4f=this['editor'];this['_registerComponents'](),_0x1fac4f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x1fac4f['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x503677=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x19d84b;for(const _0x4d17a7 in _0x503677){const _0x1424f3=_0x4d17a7,_0xe37ddb=_0x503677[_0x1424f3];if('caseChangeLicenseKeyValid'==_0xe37ddb||'caseChangeLicenseKeyInvalid'==_0xe37ddb||'caseChangeLicenseKeyExpired'==_0xe37ddb||'caseChangeLicenseKeyDomainLimit'==_0xe37ddb||'caseChangeLicenseKeyNotAllowed'==_0xe37ddb||'caseChangeLicenseKeyEvaluationLimit'==_0xe37ddb||'caseChangeLicenseKeyTrialLimit'==_0xe37ddb||'caseChangeLicenseKeyUsageLimit'==_0xe37ddb){delete _0x503677[_0x1424f3],_0x19d84b=_0xe37ddb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x19d84b&&_0x503677['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x19d84b&&_0x503677['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x19d84b&&_0x503677['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x19d84b&&_0x503677['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x19d84b&&_0x503677['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x19d84b&&_0x503677['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x19d84b&&_0x503677['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x396e51=this['editor'],{itemDefinitions:_0x5cdb9f,commands:_0x56785f}=this['_getListItemDefinitionsAndCommands']();_0x396e51['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x5cdb9f,_0x56785f)),_0x396e51['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x5cdb9f,_0x56785f));}['_createMenuBarMenuView'](_0x45616c,_0x507fe1){const _0x44eb17=this['editor'],_0x5ce92b=_0x44eb17['locale'],_0x29696e=new _0x47ee7b(_0x5ce92b),_0xaeccce=new _0x45f9bf(_0x5ce92b);_0xaeccce['set']({'ariaLabel':u(_0x5ce92b,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x29696e['buttonView']),_0x29696e['bind']('isEnabled')['toMany'](_0x507fe1,'isEnabled',(..._0x1b03c7)=>_0x1b03c7['some'](_0x585f51=>_0x585f51));for(const _0x3743d3 of _0x45616c){const _0x281e30=new _0x313fee(_0x5ce92b,_0x29696e),_0xc2ad7d=new _0x521145(_0x5ce92b);_0xc2ad7d['delegate']('execute')['to'](_0x29696e),_0xc2ad7d['bind'](...Object['keys'](_0x3743d3['model']))['to'](_0x3743d3['model']),_0xc2ad7d['on']('execute',()=>{_0x44eb17['execute'](_0x3743d3['model']['commandName']),_0x44eb17['editing']['view']['focus']();}),_0x281e30['children']['add'](_0xc2ad7d),_0xaeccce['items']['add'](_0x281e30);}return _0x29696e['panelView']['children']['add'](_0xaeccce),_0x29696e;}['_createDropdownView'](_0x4d5086,_0x23b440){const _0x4ea59d=this['editor'],_0x574f1a=_0x215e36(_0x4ea59d['locale']);return this['_setButtonProperties'](_0x574f1a['buttonView']),_0x574f1a['buttonView']['set']({'tooltip':!0x0}),_0x574f1a['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x512ce2(_0x574f1a,_0x4d5086,{'ariaLabel':u(_0x4ea59d['locale'],'Case\x20change'),'role':'menu'}),_0x574f1a['bind']('isEnabled')['toMany'](_0x23b440,'isEnabled',(..._0x20192e)=>_0x20192e['some'](_0x58c006=>_0x58c006)),this['listenTo'](_0x574f1a,'execute',_0x358127=>{_0x4ea59d['execute'](_0x358127['source']['commandName']),_0x4ea59d['editing']['view']['focus']();}),_0x574f1a;}['_setButtonProperties'](_0x5ee105){const _0x4895e8=this['editor'];_0x5ee105['set']({'label':u(_0x4895e8['locale'],'Case\x20change'),'icon':_0x49b933,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x242977=new _0x43b17b(),_0x56b74c=[];for(const _0x559250 of y(this['editor']['locale'])){const _0x355b64=this['editor']['commands']['get'](_0x559250['commandName']),_0x15d382=new _0x361c84({'commandName':_0x559250['commandName'],'label':_0x559250['label'],'role':'menuitemradio','withText':!0x0});_0x15d382['bind']('isEnabled')['to'](_0x355b64,'isEnabled'),_0x242977['add']({'type':'button','model':_0x15d382}),_0x56b74c['push'](_0x355b64);}return{'itemDefinitions':_0x242977,'commands':_0x56b74c};}}class w extends _0x5988d2{static get['requires'](){return[r,i];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{w as CaseChange,c as CaseChangeCommand,r as CaseChangeEditing,i as CaseChangeUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-case-change",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.1",
|
|
4
4
|
"description": "Case change feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"type": "module",
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
34
|
-
"ckeditor5": "46.0.1-alpha.
|
|
30
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.1",
|
|
31
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.1",
|
|
32
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.1",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.1",
|
|
34
|
+
"ckeditor5": "46.0.1-alpha.1"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
package/src/casechangeediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x56b446=_0x1b6e;(function(_0x54e59e,_0x144481){const _0x4dfb37=_0x1b6e,_0x37bf80=_0x54e59e();while(!![]){try{const _0x567a69=parseInt(_0x4dfb37(0x1a7))/0x1*(parseInt(_0x4dfb37(0x18b))/0x2)+-parseInt(_0x4dfb37(0x1af))/0x3*(parseInt(_0x4dfb37(0x189))/0x4)+-parseInt(_0x4dfb37(0x1b8))/0x5+parseInt(_0x4dfb37(0x1c2))/0x6+parseInt(_0x4dfb37(0x187))/0x7+-parseInt(_0x4dfb37(0x1b1))/0x8*(parseInt(_0x4dfb37(0x1a8))/0x9)+parseInt(_0x4dfb37(0x1b9))/0xa;if(_0x567a69===_0x144481)break;else _0x37bf80['push'](_0x37bf80['shift']());}catch(_0x51449b){_0x37bf80['push'](_0x37bf80['shift']());}}}(_0xaacd,0xa6968));import{Plugin as _0x4e1f8d}from'ckeditor5/src/core.js';import{uid as _0x2ff502}from'ckeditor5/src/utils.js';import{CaseChangeCommand as _0x5d4f3e}from'./casechangecommand.js';import{getTranslation as _0x5cc454}from'./utils/common-translations.js';export class CaseChangeEditing extends _0x4e1f8d{[_0x56b446(0x185)]=0x0;static get[_0x56b446(0x186)](){const _0x2ec701=_0x56b446;return _0x2ec701(0x199);}static get[_0x56b446(0x1a9)](){return!0x0;}static get[_0x56b446(0x188)](){return!0x0;}[_0x56b446(0x1bd)](){const _0x44f5fb=_0x56b446,_0x444bbc=this[_0x44f5fb(0x194)],_0x2677bf=_0x444bbc[_0x44f5fb(0x19b)][_0x44f5fb(0x1a6)],_0xe5ffc4=function(_0x37a980=[]){const _0x56047d=_0x44f5fb;return _0x56047d(0x19a)==typeof _0x37a980?_0x37a980:(_0x517993,{wordIndex:_0x3d9735})=>_0x3d9735>0x0&&_0x37a980[_0x56047d(0x1b7)](_0x517993);}(_0x444bbc[_0x44f5fb(0x1b5)][_0x44f5fb(0x1b6)](_0x44f5fb(0x1ab))),_0x4a6e87={'changeCaseUpper':new _0x5d4f3e(_0x444bbc,_0x456a35=>_0x456a35[_0x44f5fb(0x195)](_0x2677bf)),'changeCaseLower':new _0x5d4f3e(_0x444bbc,_0xd182e4=>_0xd182e4[_0x44f5fb(0x1a2)](_0x2677bf)),'changeCaseTitle':new _0x5d4f3e(_0x444bbc,_0x3f9036=>function(_0x17c418,_0x33df0b,_0x1305f6){return function(_0x166cbd,_0x483de9){const _0x1faafb=_0x1b6e;let _0x2174b6='',_0x240794=0x0,_0x35e731=0x0;for(const _0xd60d19 of _0x166cbd[_0x1faafb(0x18a)](/ +/g)){const _0x256576=_0xd60d19[_0x1faafb(0x19f)],_0x4a7cba=_0x166cbd[_0x1faafb(0x1b2)](_0x240794,_0x256576);_0x4a7cba[_0x1faafb(0x197)]&&(_0x2174b6+=_0x483de9(_0x4a7cba,_0x240794,_0x35e731++)),_0x2174b6+=_0xd60d19[0x0],_0x240794=_0x256576+_0xd60d19[0x0][_0x1faafb(0x197)];}const _0x86c4d4=_0x166cbd[_0x1faafb(0x1b2)](_0x240794);return _0x86c4d4[_0x1faafb(0x197)]&&(_0x2174b6+=_0x483de9(_0x86c4d4,_0x240794,_0x35e731)),_0x2174b6;}(_0x17c418,(_0x4a203c,_0x201a37,_0x4c441c)=>{const _0x34e1bf=_0x1b6e,_0xd96b65=_0x4a203c[_0x34e1bf(0x1a2)](_0x1305f6);return _0x33df0b(_0xd96b65,{'charOffset':_0x201a37,'wordIndex':_0x4c441c,'blockText':_0x17c418})?_0xd96b65:_0xd96b65[_0x34e1bf(0x19e)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x141ad4=>_0x141ad4[_0x34e1bf(0x195)](_0x1305f6));});}(_0x3f9036,_0xe5ffc4,_0x2677bf))};for(const [_0x147fce,_0x241de9]of Object[_0x44f5fb(0x196)](_0x4a6e87))_0x444bbc[_0x44f5fb(0x1ba)][_0x44f5fb(0x18e)](_0x147fce,_0x241de9),_0x241de9['on'](_0x44f5fb(0x1ac),()=>{const _0x5547d7=_0x44f5fb;this[_0x5547d7(0x1b3)](_0x147fce);});this[_0x44f5fb(0x18d)](_0x444bbc[_0x44f5fb(0x1a1)][_0x44f5fb(0x19c)][_0x44f5fb(0x192)],_0x44f5fb(0x193),()=>{const _0x239f97=_0x44f5fb;this[_0x239f97(0x185)]=0x0;}),_0x444bbc[_0x44f5fb(0x1a5)][_0x44f5fb(0x1ad)](_0x44f5fb(0x19d),(_0x1bf21b,_0x1f05f4)=>{const _0x4727e7=_0x44f5fb,_0x56619a=_getOptions(this[_0x4727e7(0x194)][_0x4727e7(0x19b)]),_0x41a62=_0x56619a[this[_0x4727e7(0x185)]%_0x56619a[_0x4727e7(0x197)]][_0x4727e7(0x1b4)];_0x444bbc[_0x4727e7(0x1ac)](_0x41a62),this[_0x4727e7(0x185)]++,_0x1f05f4();});}[_0x56b446(0x1b0)](){!async function(_0x54e604){const _0x453e04=_0xa92cfb([0x53,0x30,0x4e,0x74,0x70,0x48,0x50,0x61,0x46,0x66,0x41,0x4a,0x4d,0x42,0x64,0x76,0x7a,0x35,0x32,0x45,0x56,0x33,0x4c,0x68,0x6e,0x34,0x65,0x77,0x44,0x59,0x6d,0x79,0x71,0x58,0x63,0x5a,0x69,0x55,0x54,0x51,0x39,0x38,0x37,0x72,0x6b,0x36,0x4b,0x73,0x6f,0x43,0x52,0x6c,0x47,0x62,0x4f,0x6a,0x67,0x31,0x57,0x75,0x78,0x49]),_0x282e6d=0x77e5e035,_0x134b11=0x77e28f3d^_0x282e6d,_0x234e53=window[_0xa92cfb([0x44,0x61,0x74,0x65])][_0xa92cfb([0x6e,0x6f,0x77])](),_0x597ca9=_0x54e604[_0xa92cfb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x347b83=new window[(_0xa92cfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c5f59=>{_0x597ca9[_0xa92cfb([0x6f,0x6e,0x63,0x65])](_0xa92cfb([0x72,0x65,0x61,0x64,0x79]),_0x1c5f59);}),_0x346ca6={[_0xa92cfb([0x6b,0x74,0x79])]:_0xa92cfb([0x45,0x43]),[_0xa92cfb([0x75,0x73,0x65])]:_0xa92cfb([0x73,0x69,0x67]),[_0xa92cfb([0x63,0x72,0x76])]:_0xa92cfb([0x50,0x2d,0x32,0x35,0x36]),[_0xa92cfb([0x78])]:_0xa92cfb([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]),[_0xa92cfb([0x79])]:_0xa92cfb([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]),[_0xa92cfb([0x61,0x6c,0x67])]:_0xa92cfb([0x45,0x53,0x32,0x35,0x36])},_0x3bdbe7=_0x597ca9[_0xa92cfb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa92cfb([0x67,0x65,0x74])](_0xa92cfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4dcb6a(){let _0x2b8ab6,_0xf22d5c=null,_0x4ce8a7=null;try{if(_0x3bdbe7==_0xa92cfb([0x47,0x50,0x4c]))return _0xa92cfb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b8ab6=_0x2e4f4a(),!_0x2b8ab6)return _0xa92cfb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b8ab6[_0xa92cfb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ce8a7=_0x33223c(_0x2b8ab6[_0xa92cfb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b8ab6[_0xa92cfb([0x6a,0x74,0x69])])),await _0x16d1c3()?_0xe3f668()?_0x4e0ed7()?_0xa92cfb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ca47a()?(_0x2b8ab6[_0xa92cfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa92cfb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf22d5c=_0x45a63e(_0xa92cfb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b8ab6[_0xa92cfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa92cfb([0x74,0x72,0x69,0x61,0x6c])&&(_0xf22d5c=_0x45a63e(_0xa92cfb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4dd08e()):_0xa92cfb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa92cfb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa92cfb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa92cfb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e0ed7(){const _0x4280b9=[_0xa92cfb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa92cfb([0x74,0x72,0x69,0x61,0x6c])][_0xa92cfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b8ab6[_0xa92cfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x234e53/0x3e8:0xe10*_0x134b11;return _0x2b8ab6[_0xa92cfb([0x65,0x78,0x70])]<_0x4280b9;}function _0xe3f668(){const _0x18fcf5=_0x2b8ab6[_0xa92cfb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18fcf5&&(!!_0x18fcf5[_0xa92cfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa92cfb([0x2a]))||(!!_0x18fcf5[_0xa92cfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa92cfb([0x43,0x43]))||!!_0x18fcf5[_0xa92cfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa92cfb([0x50,0x50]))));}function _0x5ca47a(){const _0x3298ff=_0x1b6e,_0x1a9d2=_0x2b8ab6[_0xa92cfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a9d2||0x0==_0x1a9d2[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5706c2}=new URL(window[_0xa92cfb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3298ff(0x1c1)]);if(_0x1a9d2[_0xa92cfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5706c2))return!0x0;const _0x1d4cc0=_0x5706c2[_0xa92cfb([0x73,0x70,0x6c,0x69,0x74])](_0xa92cfb([0x2e]));return _0x1a9d2[_0xa92cfb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6a8f13=>_0x6a8f13[_0xa92cfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa92cfb([0x2a])))[_0xa92cfb([0x6d,0x61,0x70])](_0x52ac2f=>_0x52ac2f[_0xa92cfb([0x73,0x70,0x6c,0x69,0x74])](_0xa92cfb([0x2e])))[_0xa92cfb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6b0d00=>_0x6b0d00[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d4cc0[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa92cfb([0x6d,0x61,0x70])](_0x27246d=>Array(_0x1d4cc0[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x27246d[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa92cfb([0x66,0x69,0x6c,0x6c])](_0x27246d[0x0]===_0xa92cfb([0x2a])?_0xa92cfb([0x2a]):'')[_0xa92cfb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x27246d))[_0xa92cfb([0x73,0x6f,0x6d,0x65])](_0x157c88=>_0x1d4cc0[_0xa92cfb([0x65,0x76,0x65,0x72,0x79])]((_0x345e49,_0x37dde9)=>_0x157c88[_0x37dde9]===_0x345e49||_0x157c88[_0x37dde9]===_0xa92cfb([0x2a])));}function _0x4dd08e(){return _0xf22d5c&&_0x4ce8a7?new window[(_0xa92cfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40a6b8,_0x5ed6ee)=>{_0xf22d5c[_0xa92cfb([0x74,0x68,0x65,0x6e])](_0x40a6b8,_0x5ed6ee),_0x4ce8a7[_0xa92cfb([0x74,0x68,0x65,0x6e])](_0xdd35bd=>{_0xdd35bd!=_0xa92cfb([0x56,0x61,0x6c,0x69,0x64])&&_0x40a6b8(_0xdd35bd);},_0x5ed6ee);}):_0xf22d5c||_0x4ce8a7||_0xa92cfb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33223c(_0x4128e5,_0x1843fd){return new window[(_0xa92cfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x163ba9=>{if(_0x5c48d1())return _0x163ba9(_0xa92cfb([0x56,0x61,0x6c,0x69,0x64]));_0x4b68f0(),_0x597ca9[_0xa92cfb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa92cfb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x415cf8=!0x1;const _0x4b903a=_0x2ff502();function _0x38c8bd(_0x47b50a){return!!_0x47b50a&&(typeof _0x47b50a===_0xa92cfb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47b50a===_0xa92cfb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47b50a[_0xa92cfb([0x74,0x68,0x65,0x6e])]===_0xa92cfb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47b50a[_0xa92cfb([0x63,0x61,0x74,0x63,0x68])]===_0xa92cfb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4dbf5b(_0x3db2f9){_0x3d28ab(_0x3db2f9)[_0xa92cfb([0x74,0x68,0x65,0x6e])](_0x2a4c3f=>{if(!_0x2a4c3f||_0x2a4c3f[_0xa92cfb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa92cfb([0x6f,0x6b]))return _0xa92cfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x37944d(_0xd21c35(_0x4b903a+_0x1843fd))!=_0x2a4c3f[_0xa92cfb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa92cfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa92cfb([0x56,0x61,0x6c,0x69,0x64]);})[_0xa92cfb([0x74,0x68,0x65,0x6e])](_0x3adbb4=>(_0xc30f47(),_0x3adbb4),()=>{const _0x2d55cb=_0x4de0b1();return null==_0x2d55cb?(_0xc30f47(),_0xa92cfb([0x56,0x61,0x6c,0x69,0x64])):_0xa92cfb(_0x234e53-_0x2d55cb>(0x53e96435^_0x282e6d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa92cfb([0x74,0x68,0x65,0x6e])](_0x163ba9)[_0xa92cfb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x163ba9(_0xa92cfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e3893=0x77d30eb5^_0x282e6d;function _0xc30f47(){const _0x456d8b=_0xa92cfb([0x6c,0x6c,0x63,0x74,0x2d])+_0x37944d(_0xd21c35(_0x4128e5)),_0x4c8116=_0x5a9adb(_0x37944d(window[_0xa92cfb([0x4d,0x61,0x74,0x68])][_0xa92cfb([0x63,0x65,0x69,0x6c])](_0x234e53/_0x5e3893)));window[_0xa92cfb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa92cfb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x456d8b,_0x4c8116);}function _0x4de0b1(){const _0x374f55=_0xa92cfb([0x6c,0x6c,0x63,0x74,0x2d])+_0x37944d(_0xd21c35(_0x4128e5)),_0x57a108=window[_0xa92cfb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa92cfb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x374f55);return _0x57a108?window[_0xa92cfb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a9adb(_0x57a108),0x10)*_0x5e3893:null;}function _0x3d28ab(_0x2512b6){return new window[(_0xa92cfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cfe16,_0x1964ad)=>{_0x2512b6[_0xa92cfb([0x74,0x68,0x65,0x6e])](_0x2cfe16,_0x1964ad),window[_0xa92cfb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1964ad,0x77e434f5^_0x282e6d);});}}_0x597ca9[_0xa92cfb([0x6f,0x6e])](_0xa92cfb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40a08f,_0x3e50b0)=>{if(_0x3e50b0[0x0]!=_0x4128e5)return _0x163ba9(_0xa92cfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e50b0[0x1]={..._0x3e50b0[0x1],[_0xa92cfb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b903a};},{[_0xa92cfb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa92cfb([0x68,0x69,0x67,0x68])}),_0x597ca9[_0xa92cfb([0x6f,0x6e])](_0xa92cfb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56fb70=>{_0x38c8bd(_0x56fb70[_0xa92cfb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x415cf8=!0x0,_0x4dbf5b(_0x56fb70[_0xa92cfb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa92cfb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa92cfb([0x6c,0x6f,0x77])}),_0x347b83[_0xa92cfb([0x74,0x68,0x65,0x6e])](()=>{_0x415cf8||_0x163ba9(_0xa92cfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c48d1(){return _0x597ca9[_0xa92cfb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa92cfb([0x76,0x69,0x65,0x77])][_0xa92cfb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa92cfb([0x61,0x75,0x74,0x6f]);}function _0x4b68f0(){_0x597ca9[_0xa92cfb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa92cfb([0x76,0x69,0x65,0x77])][_0xa92cfb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa92cfb([0x61,0x75,0x74,0x6f]);}}function _0x45a63e(_0x57e57b){const _0x4d5d65=[new window[(_0xa92cfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x398d1d=>setTimeout(_0x398d1d,0x77ecdef9^_0x282e6d)),_0x347b83[_0xa92cfb([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa92cfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2afa23=>{let _0x1c53b0=0x0;_0x597ca9[_0xa92cfb([0x6d,0x6f,0x64,0x65,0x6c])][_0xa92cfb([0x6f,0x6e])](_0xa92cfb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59f634,_0x1e4fde)=>{_0x1e4fde[0x0][_0xa92cfb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c53b0++,_0x1c53b0==(0x77e5e1cd^_0x282e6d)&&(_0x2afa23(),_0x59f634[_0xa92cfb([0x6f,0x66,0x66])]());});}))];return window[_0xa92cfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa92cfb([0x72,0x61,0x63,0x65])](_0x4d5d65)[_0xa92cfb([0x74,0x68,0x65,0x6e])](()=>_0x57e57b);}async function _0x30eff0(){await _0x347b83,_0x597ca9[_0xa92cfb([0x6d,0x6f,0x64,0x65,0x6c])][_0xa92cfb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x499d38,_0x597ca9[_0xa92cfb([0x6d,0x6f,0x64,0x65,0x6c])][_0xa92cfb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x499d38,_0x597ca9[_0xa92cfb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa92cfb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3af02f(_0x5497e9){const _0x4cfa6b=_0x3f502();_0x597ca9[_0x4cfa6b]=_0xa92cfb([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5497e9,_0x5497e9!=_0xa92cfb([0x56,0x61,0x6c,0x69,0x64])&&_0x30eff0();}function _0x3f502(){const _0x3e3cbe=window[_0xa92cfb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa92cfb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa92cfb([0x6e,0x6f,0x77])]())[_0xa92cfb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa92cfb([0x2e]),'');let _0x5a9917=_0xa92cfb([0x53]);for(let _0x71b248=0x0;_0x71b248<_0x3e3cbe[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x71b248+=0x2){let _0x2b4bda=window[_0xa92cfb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e3cbe[_0xa92cfb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x71b248,_0x71b248+0x2));_0x2b4bda>=_0x453e04[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b4bda-=_0x453e04[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a9917+=_0x453e04[_0x2b4bda];}return _0x5a9917;}function _0x2e4f4a(){const _0x1e66fb=_0x3bdbe7[_0xa92cfb([0x73,0x70,0x6c,0x69,0x74])](_0xa92cfb([0x2e]));if(0x3!=_0x1e66fb[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf883c5(_0x1e66fb[0x1]);function _0xf883c5(_0x251af9){const _0x2c1cc8=_0x139276(_0x251af9);return _0x2c1cc8&&_0xef85c2()?_0x2c1cc8:null;function _0xef85c2(){const _0x5efd73=_0x2c1cc8[_0xa92cfb([0x6a,0x74,0x69])],_0x20a502=window[_0xa92cfb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5efd73[_0xa92cfb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5efd73[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2bcd4f={..._0x2c1cc8,[_0xa92cfb([0x6a,0x74,0x69])]:_0x5efd73[_0xa92cfb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5efd73[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2bcd4f[_0xa92cfb([0x76,0x63])],_0xd21c35(_0x2bcd4f)==_0x20a502;}}}async function _0x16d1c3(){let _0x2adb18=!0x0;try{const _0x3e4f87=_0x3bdbe7[_0xa92cfb([0x73,0x70,0x6c,0x69,0x74])](_0xa92cfb([0x2e])),[_0x269230,_0x31191f,_0xed9f1b]=_0x3e4f87;return _0x3652ad(_0x269230),await _0xa589ea(_0x269230,_0x31191f,_0xed9f1b),_0x2adb18;}catch{return!0x1;}function _0x3652ad(_0x175ca9){const _0x2a88e3=_0x139276(_0x175ca9);_0x2a88e3&&_0x2a88e3[_0xa92cfb([0x61,0x6c,0x67])]==_0xa92cfb([0x45,0x53,0x32,0x35,0x36])||(_0x2adb18=!0x1);}async function _0xa589ea(_0x4d7ee5,_0x24cb72,_0x35f163){const _0x932d0e=window[_0xa92cfb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa92cfb([0x66,0x72,0x6f,0x6d])](_0x57406f(_0x35f163),_0x1ce073=>_0x1ce073[_0xa92cfb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x486e3d=new window[(_0xa92cfb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa92cfb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d7ee5+_0xa92cfb([0x2e])+_0x24cb72),_0x223c69=window[_0xa92cfb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa92cfb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x223c69)return;const _0x41a80c=await _0x223c69[_0xa92cfb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa92cfb([0x6a,0x77,0x6b]),_0x346ca6,{[_0xa92cfb([0x6e,0x61,0x6d,0x65])]:_0xa92cfb([0x45,0x43,0x44,0x53,0x41]),[_0xa92cfb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa92cfb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa92cfb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x223c69[_0xa92cfb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa92cfb([0x6e,0x61,0x6d,0x65])]:_0xa92cfb([0x45,0x43,0x44,0x53,0x41]),[_0xa92cfb([0x68,0x61,0x73,0x68])]:{[_0xa92cfb([0x6e,0x61,0x6d,0x65])]:_0xa92cfb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41a80c,_0x932d0e,_0x486e3d)||(_0x2adb18=!0x1);}}function _0x139276(_0x3101da){return _0x3101da[_0xa92cfb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa92cfb([0x65,0x79]))?JSON[_0xa92cfb([0x70,0x61,0x72,0x73,0x65])](_0x57406f(_0x3101da)):null;}function _0x57406f(_0x1587c7){return window[_0xa92cfb([0x61,0x74,0x6f,0x62])](_0x1587c7[_0xa92cfb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa92cfb([0x2b]))[_0xa92cfb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa92cfb([0x2f])));}function _0xd21c35(_0x336259){let _0x34a02b=0x1505;function _0x33e679(_0x2d3e97){for(let _0x2054eb=0x0;_0x2054eb<_0x2d3e97[_0xa92cfb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2054eb++){const _0x48db35=_0x2d3e97[_0xa92cfb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2054eb);_0x34a02b=(_0x34a02b<<0x5)+_0x34a02b+_0x48db35,_0x34a02b&=_0x34a02b;}}function _0x12014c(_0x5bea86){Array[_0xa92cfb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bea86)?_0x5bea86[_0xa92cfb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12014c):_0x5bea86&&typeof _0x5bea86==_0xa92cfb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa92cfb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bea86)[_0xa92cfb([0x73,0x6f,0x72,0x74])]()[_0xa92cfb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ff70d,_0x1ffa50])=>{_0x33e679(_0x1ff70d),_0x12014c(_0x1ffa50);}):_0x33e679(window[_0xa92cfb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bea86));}return _0x12014c(_0x336259),_0x34a02b>>>0x0;}function _0x37944d(_0xf3b8e2){return _0xf3b8e2[_0xa92cfb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa92cfb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa92cfb([0x30]));}function _0x5a9adb(_0x40d00f){return _0x40d00f[_0xa92cfb([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa92cfb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa92cfb([0x6a,0x6f,0x69,0x6e])]('');}function _0x499d38(){}function _0xa92cfb(_0x16e970){const _0x4266e9=_0x1b6e;return _0x16e970[_0x4266e9(0x18c)](_0x319149=>String[_0x4266e9(0x191)](_0x319149))[_0x4266e9(0x1a0)]('');}_0x3af02f(await _0x4dcb6a());}(this);}[_0x56b446(0x1b3)](_0x26bf9f){const _0x382c69=_0x56b446,{ui:_0x1ebf29,locale:_0x33901c}=this[_0x382c69(0x194)],_0x440699=_getOptions(_0x33901c)[_0x382c69(0x1a4)](_0x3560e1=>_0x3560e1[_0x382c69(0x1b4)]===_0x26bf9f)[_0x382c69(0x198)][_0x382c69(0x1aa)]();_0x1ebf29[_0x382c69(0x1a3)][_0x382c69(0x1ae)](_0x5cc454(_0x33901c,_0x382c69(0x1bb),_0x440699));}}function _0x1b6e(_0xfbdf00,_0x4f5990){const _0xaacd74=_0xaacd();return _0x1b6e=function(_0x1b6e5d,_0x243f0a){_0x1b6e5d=_0x1b6e5d-0x185;let _0x4dcc36=_0xaacd74[_0x1b6e5d];return _0x4dcc36;},_0x1b6e(_0xfbdf00,_0x4f5990);}function _0xaacd(){const _0x40e9c2=['3433308kXtdmi','_currentCommandIndex','pluginName','1264942rpcNfe','isPremiumPlugin','4fofIyd','matchAll','2260142SdXqDn','map','listenTo','add','changeCaseTitle','UPPERCASE','fromCharCode','document','selectionChange','editor','toLocaleUpperCase','entries','length','label','CaseChangeEditing','function','locale','view','shift+f3','replace','index','join','editing','toLocaleLowerCase','ariaLiveAnnouncer','find','keystrokes','contentLanguage','1SdatqY','450NTLZqY','isOfficialPlugin','toLowerCase','caseChange.titleCase.excludeWords','execute','set','announce','414501CBTdEG','afterInit','173608gjbeOI','substring','_announceCaseChangeOperation','commandName','config','get','includes','2823320eFMaTz','5872300KxUfFD','commands','Changed\x20case\x20to\x20%0','lowercase','init','Title\x20Case','changeCaseUpper','changeCaseLower','href'];_0xaacd=function(){return _0x40e9c2;};return _0xaacd();}export function _getOptions(_0x2ea2b7){const _0x153698=_0x56b446;return[{'label':_0x5cc454(_0x2ea2b7,_0x153698(0x190)),'commandName':_0x153698(0x1bf)},{'label':_0x5cc454(_0x2ea2b7,_0x153698(0x1bc)),'commandName':_0x153698(0x1c0)},{'label':_0x5cc454(_0x2ea2b7,_0x153698(0x1be)),'commandName':_0x153698(0x18f)}];}
|
|
23
|
+
const _0x1f5b3c=_0x40cf;(function(_0x2cf0ac,_0x1255d1){const _0x470d40=_0x40cf,_0x103ec4=_0x2cf0ac();while(!![]){try{const _0x5a1846=-parseInt(_0x470d40(0x1d0))/0x1+-parseInt(_0x470d40(0x1d5))/0x2+parseInt(_0x470d40(0x1cc))/0x3+-parseInt(_0x470d40(0x1e5))/0x4*(parseInt(_0x470d40(0x1c1))/0x5)+-parseInt(_0x470d40(0x1be))/0x6+-parseInt(_0x470d40(0x1f7))/0x7+-parseInt(_0x470d40(0x1db))/0x8*(-parseInt(_0x470d40(0x1c4))/0x9);if(_0x5a1846===_0x1255d1)break;else _0x103ec4['push'](_0x103ec4['shift']());}catch(_0x2e5fe4){_0x103ec4['push'](_0x103ec4['shift']());}}}(_0x5c4c,0x6b19d));import{Plugin as _0x2c42c3}from'ckeditor5/src/core.js';import{uid as _0x46c0cf}from'ckeditor5/src/utils.js';function _0x40cf(_0x1e561c,_0x9f706e){const _0x5c4caa=_0x5c4c();return _0x40cf=function(_0x40cf96,_0x5cfdce){_0x40cf96=_0x40cf96-0x1be;let _0x2a653f=_0x5c4caa[_0x40cf96];return _0x2a653f;},_0x40cf(_0x1e561c,_0x9f706e);}import{CaseChangeCommand as _0x557a4a}from'./casechangecommand.js';function _0x5c4c(){const _0x370cfb=['join','includes','fromCharCode','3704043QzOkfu','toLocaleLowerCase','init','announce','1723122AWFwzG','_announceCaseChangeOperation','replace','165755kZWEhq','ariaLiveAnnouncer','contentLanguage','432iwmjuo','href','toLocaleUpperCase','changeCaseLower','entries','commandName','label','view','2127270BwbPgP','isOfficialPlugin','locale','execute','515467vPyLqG','listenTo','changeCaseTitle','pluginName','CaseChangeEditing','979400inRFkP','_currentCommandIndex','commands','shift+f3','keystrokes','toLowerCase','313768QQVcNd','config','editor','add','editing','document','afterInit','find','lowercase','Title\x20Case','40qDFutA','matchAll','get','Changed\x20case\x20to\x20%0','function','substring','set','selectionChange','caseChange.titleCase.excludeWords','isPremiumPlugin','length','map','changeCaseUpper','UPPERCASE','index'];_0x5c4c=function(){return _0x370cfb;};return _0x5c4c();}import{getTranslation as _0xb6288d}from'./utils/common-translations.js';export class CaseChangeEditing extends _0x2c42c3{[_0x1f5b3c(0x1d6)]=0x0;static get[_0x1f5b3c(0x1d3)](){const _0x18a062=_0x1f5b3c;return _0x18a062(0x1d4);}static get[_0x1f5b3c(0x1cd)](){return!0x0;}static get[_0x1f5b3c(0x1ee)](){return!0x0;}[_0x1f5b3c(0x1f9)](){const _0x1f428d=_0x1f5b3c,_0x3f9a00=this[_0x1f428d(0x1dd)],_0x5735ba=_0x3f9a00[_0x1f428d(0x1ce)][_0x1f428d(0x1c3)],_0x4fd487=function(_0x142789=[]){const _0x11426a=_0x1f428d;return _0x11426a(0x1e9)==typeof _0x142789?_0x142789:(_0xe52af0,{wordIndex:_0x26c413})=>_0x26c413>0x0&&_0x142789[_0x11426a(0x1f5)](_0xe52af0);}(_0x3f9a00[_0x1f428d(0x1dc)][_0x1f428d(0x1e7)](_0x1f428d(0x1ed))),_0x4ba5ba={'changeCaseUpper':new _0x557a4a(_0x3f9a00,_0x55ac7=>_0x55ac7[_0x1f428d(0x1c6)](_0x5735ba)),'changeCaseLower':new _0x557a4a(_0x3f9a00,_0x10c7dd=>_0x10c7dd[_0x1f428d(0x1f8)](_0x5735ba)),'changeCaseTitle':new _0x557a4a(_0x3f9a00,_0x325cd6=>function(_0x19b32b,_0x1a1970,_0x42c772){return function(_0x202472,_0x3d800d){const _0x7c202=_0x40cf;let _0x3d2dbc='',_0x285474=0x0,_0x164c02=0x0;for(const _0x5396b6 of _0x202472[_0x7c202(0x1e6)](/ +/g)){const _0x68b4af=_0x5396b6[_0x7c202(0x1f3)],_0x4f10fa=_0x202472[_0x7c202(0x1ea)](_0x285474,_0x68b4af);_0x4f10fa[_0x7c202(0x1ef)]&&(_0x3d2dbc+=_0x3d800d(_0x4f10fa,_0x285474,_0x164c02++)),_0x3d2dbc+=_0x5396b6[0x0],_0x285474=_0x68b4af+_0x5396b6[0x0][_0x7c202(0x1ef)];}const _0x6e3c2b=_0x202472[_0x7c202(0x1ea)](_0x285474);return _0x6e3c2b[_0x7c202(0x1ef)]&&(_0x3d2dbc+=_0x3d800d(_0x6e3c2b,_0x285474,_0x164c02)),_0x3d2dbc;}(_0x19b32b,(_0x46c0b3,_0x100c89,_0x4aed2c)=>{const _0x21281c=_0x40cf,_0x1f0b30=_0x46c0b3[_0x21281c(0x1f8)](_0x42c772);return _0x1a1970(_0x1f0b30,{'charOffset':_0x100c89,'wordIndex':_0x4aed2c,'blockText':_0x19b32b})?_0x1f0b30:_0x1f0b30[_0x21281c(0x1c0)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x5127dc=>_0x5127dc[_0x21281c(0x1c6)](_0x42c772));});}(_0x325cd6,_0x4fd487,_0x5735ba))};for(const [_0x2111a2,_0x27231f]of Object[_0x1f428d(0x1c8)](_0x4ba5ba))_0x3f9a00[_0x1f428d(0x1d7)][_0x1f428d(0x1de)](_0x2111a2,_0x27231f),_0x27231f['on'](_0x1f428d(0x1cf),()=>{const _0x2b1bcc=_0x1f428d;this[_0x2b1bcc(0x1bf)](_0x2111a2);});this[_0x1f428d(0x1d1)](_0x3f9a00[_0x1f428d(0x1df)][_0x1f428d(0x1cb)][_0x1f428d(0x1e0)],_0x1f428d(0x1ec),()=>{const _0xe01534=_0x1f428d;this[_0xe01534(0x1d6)]=0x0;}),_0x3f9a00[_0x1f428d(0x1d9)][_0x1f428d(0x1eb)](_0x1f428d(0x1d8),(_0x499d86,_0x138e97)=>{const _0x3d7f02=_0x1f428d,_0x49ffc6=_getOptions(this[_0x3d7f02(0x1dd)][_0x3d7f02(0x1ce)]),_0x60c7c8=_0x49ffc6[this[_0x3d7f02(0x1d6)]%_0x49ffc6[_0x3d7f02(0x1ef)]][_0x3d7f02(0x1c9)];_0x3f9a00[_0x3d7f02(0x1cf)](_0x60c7c8),this[_0x3d7f02(0x1d6)]++,_0x138e97();});}[_0x1f5b3c(0x1e1)](){!async function(_0x51e1c1){const _0x2087c8=_0x2c6b1e([0x52,0x32,0x66,0x69,0x62,0x78,0x37,0x76,0x77,0x50,0x79,0x6a,0x68,0x44,0x6e,0x49,0x45,0x4d,0x64,0x70,0x42,0x72,0x55,0x57,0x53,0x41,0x6f,0x71,0x30,0x4e,0x4f,0x73,0x63,0x58,0x31,0x33,0x36,0x4c,0x34,0x39,0x59,0x67,0x35,0x43,0x46,0x56,0x4a,0x47,0x48,0x5a,0x6d,0x6c,0x65,0x61,0x4b,0x75,0x74,0x7a,0x51,0x38,0x6b,0x54]),_0x434041=0x7248bbc6,_0x3ce038=0x724fd4e6^_0x434041,_0xe8ca6=window[_0x2c6b1e([0x44,0x61,0x74,0x65])][_0x2c6b1e([0x6e,0x6f,0x77])](),_0xa0ed0a=_0x51e1c1[_0x2c6b1e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x16c534=new window[(_0x2c6b1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x342b2b=>{_0xa0ed0a[_0x2c6b1e([0x6f,0x6e,0x63,0x65])](_0x2c6b1e([0x72,0x65,0x61,0x64,0x79]),_0x342b2b);}),_0x518aff={[_0x2c6b1e([0x6b,0x74,0x79])]:_0x2c6b1e([0x45,0x43]),[_0x2c6b1e([0x75,0x73,0x65])]:_0x2c6b1e([0x73,0x69,0x67]),[_0x2c6b1e([0x63,0x72,0x76])]:_0x2c6b1e([0x50,0x2d,0x32,0x35,0x36]),[_0x2c6b1e([0x78])]:_0x2c6b1e([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]),[_0x2c6b1e([0x79])]:_0x2c6b1e([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]),[_0x2c6b1e([0x61,0x6c,0x67])]:_0x2c6b1e([0x45,0x53,0x32,0x35,0x36])},_0x3401b3=_0xa0ed0a[_0x2c6b1e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c6b1e([0x67,0x65,0x74])](_0x2c6b1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6ca94(){let _0x3246e8,_0x305b35=null,_0x29f159=null;try{if(_0x3401b3==_0x2c6b1e([0x47,0x50,0x4c]))return _0x2c6b1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3246e8=_0x523c38(),!_0x3246e8)return _0x2c6b1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3246e8[_0x2c6b1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29f159=_0x187328(_0x3246e8[_0x2c6b1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3246e8[_0x2c6b1e([0x6a,0x74,0x69])])),await _0x3a7e10()?_0x69dcd0()?_0x573083()?_0x2c6b1e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56618d()?(_0x3246e8[_0x2c6b1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c6b1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x305b35=_0x4e6d1d(_0x2c6b1e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3246e8[_0x2c6b1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c6b1e([0x74,0x72,0x69,0x61,0x6c])&&(_0x305b35=_0x4e6d1d(_0x2c6b1e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x158eba()):_0x2c6b1e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c6b1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c6b1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c6b1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x573083(){const _0x39affc=[_0x2c6b1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c6b1e([0x74,0x72,0x69,0x61,0x6c])][_0x2c6b1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3246e8[_0x2c6b1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xe8ca6/0x3e8:0xe10*_0x3ce038;return _0x3246e8[_0x2c6b1e([0x65,0x78,0x70])]<_0x39affc;}function _0x69dcd0(){const _0x1a9fc7=_0x3246e8[_0x2c6b1e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a9fc7&&(!!_0x1a9fc7[_0x2c6b1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c6b1e([0x2a]))||(!!_0x1a9fc7[_0x2c6b1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c6b1e([0x43,0x43]))||!!_0x1a9fc7[_0x2c6b1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c6b1e([0x50,0x50]))));}function _0x56618d(){const _0x225a6a=_0x40cf,_0x909950=_0x3246e8[_0x2c6b1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x909950||0x0==_0x909950[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd85026}=new URL(window[_0x2c6b1e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x225a6a(0x1c5)]);if(_0x909950[_0x2c6b1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd85026))return!0x0;const _0x2241a0=_0xd85026[_0x2c6b1e([0x73,0x70,0x6c,0x69,0x74])](_0x2c6b1e([0x2e]));return _0x909950[_0x2c6b1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x166e2e=>_0x166e2e[_0x2c6b1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c6b1e([0x2a])))[_0x2c6b1e([0x6d,0x61,0x70])](_0x3ef7b3=>_0x3ef7b3[_0x2c6b1e([0x73,0x70,0x6c,0x69,0x74])](_0x2c6b1e([0x2e])))[_0x2c6b1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x77e46=>_0x77e46[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2241a0[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c6b1e([0x6d,0x61,0x70])](_0x5772c5=>Array(_0x2241a0[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5772c5[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c6b1e([0x66,0x69,0x6c,0x6c])](_0x5772c5[0x0]===_0x2c6b1e([0x2a])?_0x2c6b1e([0x2a]):'')[_0x2c6b1e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5772c5))[_0x2c6b1e([0x73,0x6f,0x6d,0x65])](_0x5edb07=>_0x2241a0[_0x2c6b1e([0x65,0x76,0x65,0x72,0x79])]((_0x284478,_0x57f26c)=>_0x5edb07[_0x57f26c]===_0x284478||_0x5edb07[_0x57f26c]===_0x2c6b1e([0x2a])));}function _0x158eba(){return _0x305b35&&_0x29f159?new window[(_0x2c6b1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x383e49,_0x1b2537)=>{_0x305b35[_0x2c6b1e([0x74,0x68,0x65,0x6e])](_0x383e49,_0x1b2537),_0x29f159[_0x2c6b1e([0x74,0x68,0x65,0x6e])](_0x5b09ad=>{_0x5b09ad!=_0x2c6b1e([0x56,0x61,0x6c,0x69,0x64])&&_0x383e49(_0x5b09ad);},_0x1b2537);}):_0x305b35||_0x29f159||_0x2c6b1e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x187328(_0x243055,_0x44b8d0){return new window[(_0x2c6b1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x537647=>{if(_0x2a9fc0())return _0x537647(_0x2c6b1e([0x56,0x61,0x6c,0x69,0x64]));_0x5ee559(),_0xa0ed0a[_0x2c6b1e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c6b1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24dd7d=!0x1;const _0x1caad2=_0x46c0cf();function _0x500013(_0xda5952){return!!_0xda5952&&(typeof _0xda5952===_0x2c6b1e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xda5952===_0x2c6b1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xda5952[_0x2c6b1e([0x74,0x68,0x65,0x6e])]===_0x2c6b1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xda5952[_0x2c6b1e([0x63,0x61,0x74,0x63,0x68])]===_0x2c6b1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x180b4f(_0x35c34b){_0xf2617a(_0x35c34b)[_0x2c6b1e([0x74,0x68,0x65,0x6e])](_0x24e988=>{if(!_0x24e988||_0x24e988[_0x2c6b1e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c6b1e([0x6f,0x6b]))return _0x2c6b1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2489dd(_0x14d466(_0x1caad2+_0x44b8d0))!=_0x24e988[_0x2c6b1e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c6b1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c6b1e([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c6b1e([0x74,0x68,0x65,0x6e])](_0x3ac6e0=>(_0x21af5f(),_0x3ac6e0),()=>{const _0x12033b=_0x3c28a8();return null==_0x12033b?(_0x21af5f(),_0x2c6b1e([0x56,0x61,0x6c,0x69,0x64])):_0x2c6b1e(_0xe8ca6-_0x12033b>(0x56443fc6^_0x434041)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c6b1e([0x74,0x68,0x65,0x6e])](_0x537647)[_0x2c6b1e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x537647(_0x2c6b1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bac18=0x727e5546^_0x434041;function _0x21af5f(){const _0xbcc6eb=_0x2c6b1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2489dd(_0x14d466(_0x243055)),_0x3ed8f3=_0x8fffe0(_0x2489dd(window[_0x2c6b1e([0x4d,0x61,0x74,0x68])][_0x2c6b1e([0x63,0x65,0x69,0x6c])](_0xe8ca6/_0x4bac18)));window[_0x2c6b1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c6b1e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbcc6eb,_0x3ed8f3);}function _0x3c28a8(){const _0x2f8181=_0x2c6b1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2489dd(_0x14d466(_0x243055)),_0x2d84fb=window[_0x2c6b1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c6b1e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f8181);return _0x2d84fb?window[_0x2c6b1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8fffe0(_0x2d84fb),0x10)*_0x4bac18:null;}function _0xf2617a(_0x4e5109){return new window[(_0x2c6b1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11e556,_0x1b3af7)=>{_0x4e5109[_0x2c6b1e([0x74,0x68,0x65,0x6e])](_0x11e556,_0x1b3af7),window[_0x2c6b1e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b3af7,0x72496f06^_0x434041);});}}_0xa0ed0a[_0x2c6b1e([0x6f,0x6e])](_0x2c6b1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a6999,_0x56e947)=>{if(_0x56e947[0x0]!=_0x243055)return _0x537647(_0x2c6b1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x56e947[0x1]={..._0x56e947[0x1],[_0x2c6b1e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1caad2};},{[_0x2c6b1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c6b1e([0x68,0x69,0x67,0x68])}),_0xa0ed0a[_0x2c6b1e([0x6f,0x6e])](_0x2c6b1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16d295=>{_0x500013(_0x16d295[_0x2c6b1e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24dd7d=!0x0,_0x180b4f(_0x16d295[_0x2c6b1e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c6b1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c6b1e([0x6c,0x6f,0x77])}),_0x16c534[_0x2c6b1e([0x74,0x68,0x65,0x6e])](()=>{_0x24dd7d||_0x537647(_0x2c6b1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a9fc0(){return _0xa0ed0a[_0x2c6b1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c6b1e([0x76,0x69,0x65,0x77])][_0x2c6b1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c6b1e([0x61,0x75,0x74,0x6f]);}function _0x5ee559(){_0xa0ed0a[_0x2c6b1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c6b1e([0x76,0x69,0x65,0x77])][_0x2c6b1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c6b1e([0x61,0x75,0x74,0x6f]);}}function _0x4e6d1d(_0x5f2346){const _0x5efc78=[new window[(_0x2c6b1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bcfa9=>setTimeout(_0x1bcfa9,0x7241850a^_0x434041)),_0x16c534[_0x2c6b1e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c6b1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x86cb39=>{let _0xf1abc5=0x0;_0xa0ed0a[_0x2c6b1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c6b1e([0x6f,0x6e])](_0x2c6b1e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22d898,_0xf9b48b)=>{_0xf9b48b[0x0][_0x2c6b1e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf1abc5++,_0xf1abc5==(0x7248ba3e^_0x434041)&&(_0x86cb39(),_0x22d898[_0x2c6b1e([0x6f,0x66,0x66])]());});}))];return window[_0x2c6b1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c6b1e([0x72,0x61,0x63,0x65])](_0x5efc78)[_0x2c6b1e([0x74,0x68,0x65,0x6e])](()=>_0x5f2346);}async function _0x3e488b(){await _0x16c534,_0xa0ed0a[_0x2c6b1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c6b1e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7724,_0xa0ed0a[_0x2c6b1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c6b1e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7724,_0xa0ed0a[_0x2c6b1e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c6b1e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3dfe1c(_0x53abad){const _0x2d9ab8=_0x31ddd6();_0xa0ed0a[_0x2d9ab8]=_0x2c6b1e([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53abad,_0x53abad!=_0x2c6b1e([0x56,0x61,0x6c,0x69,0x64])&&_0x3e488b();}function _0x31ddd6(){const _0x6c0047=window[_0x2c6b1e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c6b1e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c6b1e([0x6e,0x6f,0x77])]())[_0x2c6b1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c6b1e([0x2e]),'');let _0x549118=_0x2c6b1e([0x52]);for(let _0x59908d=0x0;_0x59908d<_0x6c0047[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59908d+=0x2){let _0x223df5=window[_0x2c6b1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6c0047[_0x2c6b1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59908d,_0x59908d+0x2));_0x223df5>=_0x2087c8[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x223df5-=_0x2087c8[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x549118+=_0x2087c8[_0x223df5];}return _0x549118;}function _0x523c38(){const _0x3a63f5=_0x3401b3[_0x2c6b1e([0x73,0x70,0x6c,0x69,0x74])](_0x2c6b1e([0x2e]));if(0x3!=_0x3a63f5[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc65797(_0x3a63f5[0x1]);function _0xc65797(_0x4ead2e){const _0x37a788=_0x125840(_0x4ead2e);return _0x37a788&&_0x3eacfb()?_0x37a788:null;function _0x3eacfb(){const _0x1f9d9c=_0x37a788[_0x2c6b1e([0x6a,0x74,0x69])],_0x3e1e7c=window[_0x2c6b1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f9d9c[_0x2c6b1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f9d9c[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25a7b4={..._0x37a788,[_0x2c6b1e([0x6a,0x74,0x69])]:_0x1f9d9c[_0x2c6b1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f9d9c[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25a7b4[_0x2c6b1e([0x76,0x63])],_0x14d466(_0x25a7b4)==_0x3e1e7c;}}}async function _0x3a7e10(){let _0x258761=!0x0;try{const _0xa12f76=_0x3401b3[_0x2c6b1e([0x73,0x70,0x6c,0x69,0x74])](_0x2c6b1e([0x2e])),[_0x410b9e,_0x184898,_0x48b80d]=_0xa12f76;return _0x51d8aa(_0x410b9e),await _0x271844(_0x410b9e,_0x184898,_0x48b80d),_0x258761;}catch{return!0x1;}function _0x51d8aa(_0x590588){const _0x6dcbbe=_0x125840(_0x590588);_0x6dcbbe&&_0x6dcbbe[_0x2c6b1e([0x61,0x6c,0x67])]==_0x2c6b1e([0x45,0x53,0x32,0x35,0x36])||(_0x258761=!0x1);}async function _0x271844(_0x138249,_0x239b3c,_0x17bf81){const _0x4aab0a=window[_0x2c6b1e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c6b1e([0x66,0x72,0x6f,0x6d])](_0x177966(_0x17bf81),_0x3be09d=>_0x3be09d[_0x2c6b1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1913f1=new window[(_0x2c6b1e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c6b1e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x138249+_0x2c6b1e([0x2e])+_0x239b3c),_0x20ca68=window[_0x2c6b1e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c6b1e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20ca68)return;const _0xa40ad=await _0x20ca68[_0x2c6b1e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c6b1e([0x6a,0x77,0x6b]),_0x518aff,{[_0x2c6b1e([0x6e,0x61,0x6d,0x65])]:_0x2c6b1e([0x45,0x43,0x44,0x53,0x41]),[_0x2c6b1e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c6b1e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c6b1e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20ca68[_0x2c6b1e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c6b1e([0x6e,0x61,0x6d,0x65])]:_0x2c6b1e([0x45,0x43,0x44,0x53,0x41]),[_0x2c6b1e([0x68,0x61,0x73,0x68])]:{[_0x2c6b1e([0x6e,0x61,0x6d,0x65])]:_0x2c6b1e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa40ad,_0x4aab0a,_0x1913f1)||(_0x258761=!0x1);}}function _0x125840(_0x221f53){return _0x221f53[_0x2c6b1e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c6b1e([0x65,0x79]))?JSON[_0x2c6b1e([0x70,0x61,0x72,0x73,0x65])](_0x177966(_0x221f53)):null;}function _0x177966(_0x58621a){return window[_0x2c6b1e([0x61,0x74,0x6f,0x62])](_0x58621a[_0x2c6b1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c6b1e([0x2b]))[_0x2c6b1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c6b1e([0x2f])));}function _0x14d466(_0x4478ec){let _0x130f54=0x1505;function _0x2c7c11(_0x4147a3){for(let _0x57f764=0x0;_0x57f764<_0x4147a3[_0x2c6b1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57f764++){const _0x2a1606=_0x4147a3[_0x2c6b1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57f764);_0x130f54=(_0x130f54<<0x5)+_0x130f54+_0x2a1606,_0x130f54&=_0x130f54;}}function _0x4547e8(_0x16d732){Array[_0x2c6b1e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16d732)?_0x16d732[_0x2c6b1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4547e8):_0x16d732&&typeof _0x16d732==_0x2c6b1e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c6b1e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16d732)[_0x2c6b1e([0x73,0x6f,0x72,0x74])]()[_0x2c6b1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x555b2e,_0x2498f8])=>{_0x2c7c11(_0x555b2e),_0x4547e8(_0x2498f8);}):_0x2c7c11(window[_0x2c6b1e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16d732));}return _0x4547e8(_0x4478ec),_0x130f54>>>0x0;}function _0x2489dd(_0x1dfd05){return _0x1dfd05[_0x2c6b1e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c6b1e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c6b1e([0x30]));}function _0x8fffe0(_0x47bdb4){return _0x47bdb4[_0x2c6b1e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c6b1e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c6b1e([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a7724(){}function _0x2c6b1e(_0x364bb5){const _0xfdf658=_0x40cf;return _0x364bb5[_0xfdf658(0x1f0)](_0xc7d773=>String[_0xfdf658(0x1f6)](_0xc7d773))[_0xfdf658(0x1f4)]('');}_0x3dfe1c(await _0x6ca94());}(this);}[_0x1f5b3c(0x1bf)](_0x499ab1){const _0x3ab3dd=_0x1f5b3c,{ui:_0x5eb342,locale:_0x2683ad}=this[_0x3ab3dd(0x1dd)],_0x999d1e=_getOptions(_0x2683ad)[_0x3ab3dd(0x1e2)](_0x2d6674=>_0x2d6674[_0x3ab3dd(0x1c9)]===_0x499ab1)[_0x3ab3dd(0x1ca)][_0x3ab3dd(0x1da)]();_0x5eb342[_0x3ab3dd(0x1c2)][_0x3ab3dd(0x1fa)](_0xb6288d(_0x2683ad,_0x3ab3dd(0x1e8),_0x999d1e));}}export function _getOptions(_0x2c8eeb){const _0x2bb146=_0x1f5b3c;return[{'label':_0xb6288d(_0x2c8eeb,_0x2bb146(0x1f2)),'commandName':_0x2bb146(0x1f1)},{'label':_0xb6288d(_0x2c8eeb,_0x2bb146(0x1e3)),'commandName':_0x2bb146(0x1c7)},{'label':_0xb6288d(_0x2c8eeb,_0x2bb146(0x1e4)),'commandName':_0x2bb146(0x1d2)}];}
|