@ckeditor/ckeditor5-case-change 47.4.0-alpha.3 → 47.4.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/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-2026, 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 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:()=>L,CaseChangeCommand:()=>a,CaseChangeEditing:()=>l,CaseChangeUI:()=>I});var e=n(782),t=n(584);const r=i;function i(e,t){const n=o();return(i=function(e,t){return n[e-=500]})(e,t)}function o(){const e=["checkChild","1467027HxGRsH","174680jAloZe","editor","getRanges","getWalker","_findAncestorTextBlock","_replaceTextNodeData","parent","change","isEnabled","$textProxy","createSelection","2LzBUfv","element","selection","_getElementsAllowingText","285969ALgxfn","refresh","startOffset","createText","_getTextNodesRangeLimited","createRangeIn","getItems","$text","createRangeOn","getAttributes","model","data","getIntersection","572400EgiknB","7PFUuFI","document","_transformCallback","execute","add","getChildren","126416vEOmAF","getFirstPosition","from","688410MsjJQp","_modifyContent","substring","has","reduce","_getElementTextContent","endOffset","schema","insertContent","setSelection","isCollapsed","item","151538XxPQmZ","_getAffectedRanges","isLimit"];return(o=function(){return e})()}!function(e){const t=i,n=e();for(;;)try{if(116019===-parseInt(t(501))/1+parseInt(t(517))/2*(parseInt(t(521))/3)+parseInt(t(534))/4+-parseInt(t(506))/5+parseInt(t(544))/6*(-parseInt(t(535))/7)+parseInt(t(541))/8+parseInt(t(505))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(537)];constructor(e,t){const n=r;super(e),this[n(537)]=t}[r(538)](){const e=r,t=this[e(507)][e(531)],n=Array[e(543)](this[e(502)]()),s=Array[e(543)](t[e(536)][e(519)][e(508)]());t[e(513)](t=>{const r=e;for(const e of n)this[r(545)](e,t);t[r(553)](s)})}[r(522)](){const e=r;for(const t of this[e(502)]())for(const n of t)if(n[e(500)].is(e(515)))return void(this[e(514)]=!0);this[e(514)]=!1}[r(502)](){const e=r,t=this[e(507)][e(531)],n=t[e(536)][e(519)];if(n[e(554)]){const s=this[e(510)](n[e(542)]()[e(512)]);return s?[t[e(526)](s)]:[]}return n[e(508)]()}[r(545)](e,t){const n=r;for(const s of this[n(520)](e)){const r=this[n(549)](s),i=this[n(537)](r);for(const r of this[n(525)](s,e))this[n(511)](r,i,t)}}[r(510)](e){const t=r,n=this[t(507)][t(531)][t(551)];if(e.is(t(518))&&n[t(504)](e,t(528)))return e;const s=e[t(512)];return!s||n[t(503)](e)?null:this[t(510)](s)}*[r(520)](e){const t=r,n=new Set;for(const{item:s}of e[t(509)]()){const e=this[t(510)](s);e&&!n[t(547)](e)&&(n[t(539)](e),yield e)}}[r(549)](e){const t=r;return Array[t(543)](e[t(540)]())[t(548)]((e,n)=>e+(n.is(t(528))?n[t(532)]:" "),"")}*[r(525)](e,t){const n=r,s=t[n(533)](this[n(507)][n(531)][n(526)](e));if(s)for(const t of s[n(527)]())t.is(n(515))&&t[n(512)]==e&&(yield t)}[r(511)](e,t,n){const s=r,i=t[s(546)](e[s(523)],e[s(550)]);if(i===e[s(532)])return;const o=e[s(530)]();this[s(507)][s(531)][s(552)](n[s(524)](i,o),n[s(516)](n[s(529)](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=d();return(f=function(e,t){return n[e-=411]})(e,t)}!function(e){const t=f,n=e();for(;;)try{if(668681===-parseInt(t(471))/1*(parseInt(t(438))/2)+-parseInt(t(429))/3+-parseInt(t(461))/4+parseInt(t(442))/5*(-parseInt(t(452))/6)+-parseInt(t(446))/7*(-parseInt(t(443))/8)+parseInt(t(423))/9+parseInt(t(440))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(d);class l extends e.Plugin{[u(414)]=0;static get[u(430)](){return u(453)}static get[u(418)](){return!0}static get[u(425)](){return!0}[u(441)](){const e=u,t=this[e(411)],n=t[e(415)][e(431)],s=function(t=[]){const n=e;return n(465)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(433)](e)}(t[e(470)][e(444)](e(412))),r={changeCaseUpper:new a(t,t=>t[e(419)](n)),changeCaseLower:new a(t,t=>t[e(460)](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(413)](/ +/g)){const a=o[n(462)],c=e[n(466)](r,a);c[n(458)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(458)]}const o=e[n(466)](r);return o[n(458)]&&(s+=t(o,r,i)),s}(t=e,(e,n,s)=>{const o=f,a=e[o(460)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(426)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[o(419)](i))});var t,r,i})};for(const[n,s]of Object[e(454)](r))t[e(472)][e(420)](n,s),s.on(e(457),()=>{this[e(424)](n)});this[e(422)](t[e(432)][e(416)][e(445)],e(459),()=>{this[e(414)]=0}),t[e(467)][e(464)](e(436),(n,s)=>{const r=e,i=h(this[r(411)][r(415)]),o=i[this[r(414)]%i[r(458)]][r(468)];t[r(457)](o),this[r(414)]++,s()})}[u(455)](){!async function(e){const n=g([69,77,68,83,51,100,115,76,111,74,89,48,110,98,101,57,99,109,108,67,114,88,121,97,90,56,122,112,80,113,78,54,106,120,84,104,102,55,103,119,66,105,50,75,70,79,86,85,87,82,65,71,49,52,72,81,73,107,117,116,53,118]),s=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],i=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),o={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([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]),[g([121])]:g([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]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function l(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const s=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,s])=>{n(t),e(s)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function d(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=f;return e[t(449)](e=>String[t(417)](e))[t(437)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([69]);for(let s=0;s<e[g([108,101,110,103,116,104])];s+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await i,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),s={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete s[g([118,99])],l(s)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(o())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([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 p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function w(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(l(f+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(i(),e),()=>{const e=o();return null==e?(i(),g([86,97,108,105,100])):g(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function i(){const t=g([108,108,99,116,45])+h(l(e)),n=d(h(window[g([77,97,116,104])][g([99,101,105,108])](s/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function o(){const t=g([108,108,99,116,45])+h(l(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](d(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([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(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:f}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(u=!0,w(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),i[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const s=a[g([115,112,108,105,116])](g([46])),[r,i,o]=s;return t(r),await n(r,i,o),e}catch{return!1}function t(t){const n=c(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(s),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),o,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([67,67]))&&!t[g([105,110,99,108,117,100,101,115])](g([80,80])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1768089600;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=f,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[g([108,111,99,97,116,105,111,110])][t(463)]);if(n[g([105,110,99,108,117,100,101,115])](s))return!0;const r=s[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),i[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,s)=>{s[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[u(424)](e){const t=u,{ui:n,locale:s}=this[t(411)],r=h(s)[t(451)](n=>n[t(468)]===e)[t(447)][t(469)]();n[t(434)][t(456)](c(s,t(435),r))}}function h(e){const t=u;return[{label:c(e,t(427)),commandName:t(439)},{label:c(e,t(448)),commandName:t(428)},{label:c(e,t(421)),commandName:t(450)}]}function d(){const e=["commandName","toLowerCase","config","64007QzAhfW","commands","editor","caseChange.titleCase.excludeWords","matchAll","_currentCommandIndex","locale","view","fromCharCode","isOfficialPlugin","toLocaleUpperCase","add","Title Case","listenTo","4259196uodeec","_announceCaseChangeOperation","isPremiumPlugin","replace","UPPERCASE","changeCaseLower","110502qbRuFY","pluginName","contentLanguage","editing","includes","ariaLiveAnnouncer","Changed case to %0","shift+f3","join","6iLHDIp","changeCaseUpper","12061980sikIPh","init","1935920gqIzhb","24egAfbr","get","document","2888865LqHfBU","label","lowercase","map","changeCaseTitle","find","12QqVNPr","CaseChangeEditing","entries","afterInit","announce","execute","length","selectionChange","toLocaleLowerCase","4982492VVBOiK","index","href","set","function","substring","keystrokes"];return(d=function(){return e})()}var p=n(311),g=n(355);const w=m;function m(e,t){const n=C();return(m=function(e,t){return n[e-=293]})(e,t)}function C(){const e=["Shift+F3","domainLimit","_licenseKeyCheckInterval","235pHxfHA","componentFactory","132mBUSGd","menu","3kBpOxa","CaseChangeUI","CaseChange","bind","menuitemradio","push","locale","isPremiumPlugin","_createMenuBarMenuView","_setButtonProperties","546880UNbvsN","init","listenTo","_registerComponents","editor","button","53948vvEuzN","toMany","evaluationLimit","pluginName","destroy","extendTemplate","items","model","buttonView","isEnabled","isOfficialPlugin","panelView","expired","caseChangeLicenseKeyDomainLimit","caseChangeLicenseKeyInvalid","caseChange","commandName","8iBSclv","Shift+f3","set","invalid","accessibility","36nhTJUe","caseChangeLicenseKeyExpired","view","326956NqBreW","menuBar:caseChange","23334LbWzSY","caseChangeLicenseKeyNotAllowed","keys","focus","licenseKey","1324610zRlayt","1310683VsGdJb","source","Change text case","Case change","label","some","execute","get","_createDropdownView","commands","featureNotAllowed","children","add","addKeystrokeInfos","usageLimit","_getListItemDefinitionsAndCommands","caseChangeLicenseKeyValid","delegate","618358OHDDYB","editing","caseChangeLicenseKeyEvaluationLimit","8TlZrfl","config","ck-case-change-dropdown","_showLicenseError","caseChangeLicenseKeyUsageLimit"];return(C=function(){return e})()}!function(e){const t=m,n=e();for(;;)try{if(119649===-parseInt(t(374))/1*(parseInt(t(320))/2)+-parseInt(t(304))/3*(parseInt(t(345))/4)+parseInt(t(300))/5*(parseInt(t(347))/6)+-parseInt(t(352))/7*(parseInt(t(337))/8)+parseInt(t(342))/9*(-parseInt(t(314))/10)+parseInt(t(353))/11+-parseInt(t(302))/12*(-parseInt(t(371))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class I extends e.Plugin{[w(351)];[w(299)];static get[w(323)](){return w(305)}static get[w(330)](){return!0}static get[w(311)](){return!0}[w(315)](){const e=w,t=this[e(318)];this[e(317)](),t[e(341)][e(366)]({keystrokes:[{label:c(t[e(310)],e(355)),keystroke:e(338),mayRequireFn:!0}]}),this[e(351)]=this[e(318)][e(293)][e(360)](e(351));const n=this[e(318)];this[e(299)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(369)==i||t(334)==i||t(343)==i||t(333)==i||t(348)==i||t(373)==i||t(296)==i){delete n[r],s=i,clearInterval(this[t(299)]),this[t(299)]=void 0;break}}t(334)==s&&n[t(295)](t(340)),t(343)==s&&n[t(295)](t(332)),t(333)==s&&n[t(295)](t(298)),t(348)==s&&n[t(295)](t(363),t(306)),t(373)==s&&n[t(295)](t(322)),t(296)==s&&n[t(295)](t(367))},1e3)}[w(324)](){const e=w;super[e(324)](),this[e(299)]&&clearInterval(this[e(299)])}[w(317)](){const e=w,t=this[e(318)],{itemDefinitions:n,commands:s}=this[e(368)]();t.ui[e(301)][e(365)](e(335),()=>this[e(361)](n,s)),t.ui[e(301)][e(365)](e(346),()=>this[e(312)](n,s))}[w(312)](e,t){const n=w,s=this[n(318)],r=s[n(310)],i=new p.MenuBarMenuView(r),o=new p.MenuBarMenuListView(r);o[n(339)]({ariaLabel:c(r,n(356)),role:n(303)}),this[n(313)](i[n(328)]),i[n(307)](n(329))[n(321)](t,n(329),(...e)=>e[n(358)](e=>e));for(const t of e){const e=new p.MenuBarMenuListItemView(r,i),a=new p.MenuBarMenuListItemButtonView(r);a[n(370)](n(359)).to(i),a[n(307)](...Object[n(349)](t[n(327)])).to(t[n(327)]),a.on(n(359),()=>{const e=n;s[e(359)](t[e(327)][e(336)]),s[e(372)][e(344)][e(350)]()}),e[n(364)][n(365)](a),o[n(326)][n(365)](e)}return i[n(331)][n(364)][n(365)](o),i}[w(361)](e,t){const n=w,s=this[n(318)],r=(0,p.createDropdown)(s[n(310)]);return this[n(313)](r[n(328)]),r[n(328)][n(339)]({tooltip:!0}),r[n(325)]({attributes:{class:[n(294)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(310)],n(356)),role:n(303)}),r[n(307)](n(329))[n(321)](t,n(329),(...e)=>e[n(358)](e=>e)),this[n(316)](r,n(359),e=>{const t=n;s[t(359)](e[t(354)][t(336)]),s[t(372)][t(344)][t(350)]()}),r}[w(313)](e){const t=w,n=this[t(318)];e[t(339)]({label:c(n[t(310)],t(356)),icon:g.IconCaseChange,keystroke:t(297)})}[w(368)](){const e=w,n=new t.Collection,s=[];for(const t of h(this[e(318)][e(310)])){const r=this[e(318)][e(362)][e(360)](t[e(336)]),i=new p.UIModel({commandName:t[e(336)],label:t[e(357)],role:e(308),withText:!0});i[e(307)](e(329)).to(r,e(329)),n[e(365)]({type:e(319),model:i}),s[e(309)](r)}return{itemDefinitions:n,commands:s}}}function y(){var e=["1023798cIxZNJ","2043579WgCdjh","isOfficialPlugin","195928vcwrHF","requires","CaseChange","199549HlQYEr","2458352xDUrcb","6FSVcAT","2112692yEzHPL","isPremiumPlugin","pluginName","5izhTze","1943451KIlyfn"];return(y=function(){return e})()}function b(e,t){var n=y();return(b=function(e,t){return n[e-=445]})(e,t)}var x=b;!function(e){for(var t=b,n=e();;)try{if(359697===-parseInt(t(452))/1*(-parseInt(t(457))/2)+parseInt(t(450))/3+parseInt(t(458))/4*(-parseInt(t(447))/5)+parseInt(t(449))/6+-parseInt(t(455))/7+-parseInt(t(456))/8+-parseInt(t(448))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(y);class L extends e.Plugin{static get[x(453)](){return[l,I]}static get[x(446)](){return x(454)}static get[x(451)](){return!0}static get[x(445)](){return!0}}function v(e,t){var n=P();return(v=function(e,t){return n[e-=328]})(e,t)}function P(){var e=["60QsoXXD","4675880bNwlDg","1635234cCBGzY","1563548JHappq","724194PBXplC","575023ySrNYr","12712184ZzIRJM","47516GNjDBT"];return(P=function(){return e})()}!function(e){for(var t=v,n=e();;)try{if(505344===parseInt(t(330))/1+parseInt(t(329))/2+parseInt(t(335))/3+-parseInt(t(328))/4+parseInt(t(334))/5+-parseInt(t(333))/6*(-parseInt(t(332))/7)+-parseInt(t(331))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P)})(),(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:()=>L,CaseChangeCommand:()=>a,CaseChangeEditing:()=>f,CaseChangeUI:()=>I});var e=n(782),t=n(584);const r=i;function i(e,t){const n=o();return(i=function(e,t){return n[e-=500]})(e,t)}function o(){const e=["checkChild","1467027HxGRsH","174680jAloZe","editor","getRanges","getWalker","_findAncestorTextBlock","_replaceTextNodeData","parent","change","isEnabled","$textProxy","createSelection","2LzBUfv","element","selection","_getElementsAllowingText","285969ALgxfn","refresh","startOffset","createText","_getTextNodesRangeLimited","createRangeIn","getItems","$text","createRangeOn","getAttributes","model","data","getIntersection","572400EgiknB","7PFUuFI","document","_transformCallback","execute","add","getChildren","126416vEOmAF","getFirstPosition","from","688410MsjJQp","_modifyContent","substring","has","reduce","_getElementTextContent","endOffset","schema","insertContent","setSelection","isCollapsed","item","151538XxPQmZ","_getAffectedRanges","isLimit"];return(o=function(){return e})()}!function(e){const t=i,n=e();for(;;)try{if(116019===-parseInt(t(501))/1+parseInt(t(517))/2*(parseInt(t(521))/3)+parseInt(t(534))/4+-parseInt(t(506))/5+parseInt(t(544))/6*(-parseInt(t(535))/7)+parseInt(t(541))/8+parseInt(t(505))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(537)];constructor(e,t){const n=r;super(e),this[n(537)]=t}[r(538)](){const e=r,t=this[e(507)][e(531)],n=Array[e(543)](this[e(502)]()),s=Array[e(543)](t[e(536)][e(519)][e(508)]());t[e(513)](t=>{const r=e;for(const e of n)this[r(545)](e,t);t[r(553)](s)})}[r(522)](){const e=r;for(const t of this[e(502)]())for(const n of t)if(n[e(500)].is(e(515)))return void(this[e(514)]=!0);this[e(514)]=!1}[r(502)](){const e=r,t=this[e(507)][e(531)],n=t[e(536)][e(519)];if(n[e(554)]){const s=this[e(510)](n[e(542)]()[e(512)]);return s?[t[e(526)](s)]:[]}return n[e(508)]()}[r(545)](e,t){const n=r;for(const s of this[n(520)](e)){const r=this[n(549)](s),i=this[n(537)](r);for(const r of this[n(525)](s,e))this[n(511)](r,i,t)}}[r(510)](e){const t=r,n=this[t(507)][t(531)][t(551)];if(e.is(t(518))&&n[t(504)](e,t(528)))return e;const s=e[t(512)];return!s||n[t(503)](e)?null:this[t(510)](s)}*[r(520)](e){const t=r,n=new Set;for(const{item:s}of e[t(509)]()){const e=this[t(510)](s);e&&!n[t(547)](e)&&(n[t(539)](e),yield e)}}[r(549)](e){const t=r;return Array[t(543)](e[t(540)]())[t(548)]((e,n)=>e+(n.is(t(528))?n[t(532)]:" "),"")}*[r(525)](e,t){const n=r,s=t[n(533)](this[n(507)][n(531)][n(526)](e));if(s)for(const t of s[n(527)]())t.is(n(515))&&t[n(512)]==e&&(yield t)}[r(511)](e,t,n){const s=r,i=t[s(546)](e[s(523)],e[s(550)]);if(i===e[s(532)])return;const o=e[s(530)]();this[s(507)][s(531)][s(552)](n[s(524)](i,o),n[s(516)](n[s(529)](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(161806===parseInt(t(195))/1*(parseInt(t(208))/2)+-parseInt(t(210))/3+-parseInt(t(180))/4*(-parseInt(t(212))/5)+-parseInt(t(187))/6*(parseInt(t(192))/7)+-parseInt(t(217))/8*(-parseInt(t(176))/9)+-parseInt(t(165))/10+-parseInt(t(179))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);class f extends e.Plugin{[u(214)]=0;static get[u(216)](){return u(201)}static get[u(219)](){return!0}static get[u(198)](){return!0}[u(182)](){const e=u,t=this[e(167)],n=t[e(160)][e(209)],s=function(t=[]){const n=e;return n(178)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(193)](e)}(t[e(172)][e(168)](e(189))),r={changeCaseUpper:new a(t,t=>t[e(205)](n)),changeCaseLower:new a(t,t=>t[e(199)](n)),changeCaseTitle:new a(t,e=>{return r=s,i=n,function(e,t){const n=l;let s="",r=0,i=0;for(const o of e[n(157)](/ +/g)){const a=o[n(218)],c=e[n(173)](r,a);c[n(200)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(200)]}const o=e[n(173)](r);return o[n(200)]&&(s+=t(o,r,i)),s}(t=e,(e,n,s)=>{const o=l,a=e[o(199)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(159)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[o(205)](i))});var t,r,i})};for(const[n,s]of Object[e(175)](r))t[e(204)][e(166)](n,s),s.on(e(194),()=>{this[e(171)](n)});this[e(164)](t[e(211)][e(174)][e(191)],e(196),()=>{this[e(214)]=0}),t[e(206)][e(213)](e(186),(n,s)=>{const r=e,i=d(this[r(167)][r(160)]),o=i[this[r(214)]%i[r(200)]][r(162)];t[r(194)](o),this[r(214)]++,s()})}[u(161)](){!async function(e){const n=g([69,77,68,83,51,100,115,76,111,74,89,48,110,98,101,57,99,109,108,67,114,88,121,97,90,56,122,112,80,113,78,54,106,120,84,104,102,55,103,119,66,105,50,75,70,79,86,85,87,82,65,71,49,52,72,81,73,107,117,116,53,118]),s=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],i=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),o={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([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]),[g([121])]:g([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]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function f(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const s=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,s])=>{n(t),e(s)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function d(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=l;return e[t(207)](e=>String[t(215)](e))[t(184)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([69]);for(let s=0;s<e[g([108,101,110,103,116,104])];s+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await i,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),s={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete s[g([118,99])],f(s)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(o())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function w(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(f(l+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(i(),e),()=>{const e=o();return null==e?(i(),g([86,97,108,105,100])):g(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function i(){const t=g([108,108,99,116,45])+h(f(e)),n=d(h(window[g([77,97,116,104])][g([99,101,105,108])](s/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function o(){const t=g([108,108,99,116,45])+h(f(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](d(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([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(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(u=!0,w(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),i[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const s=a[g([115,112,108,105,116])](g([46])),[r,i,o]=s;return t(r),await n(r,i,o),e}catch{return!1}function t(t){const n=c(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(s),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),o,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([67,67]))&&!t[g([105,110,99,108,117,100,101,115])](g([80,80])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1768176e3;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=l,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[g([108,111,99,97,116,105,111,110])][t(177)]);if(n[g([105,110,99,108,117,100,101,115])](s))return!0;const r=s[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),i[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,s)=>{s[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[u(171)](e){const t=u,{ui:n,locale:s}=this[t(167)],r=d(s)[t(185)](n=>n[t(162)]===e)[t(197)][t(169)]();n[t(163)][t(170)](c(s,t(202),r))}}function l(e,t){const n=h();return(l=function(e,t){return n[e-=157]})(e,t)}function h(){const e=["selectionChange","label","isPremiumPlugin","toLocaleLowerCase","length","CaseChangeEditing","Changed case to %0","UPPERCASE","commands","toLocaleUpperCase","keystrokes","map","96QTsSsz","contentLanguage","312528nplaQy","editing","25FmaYUM","set","_currentCommandIndex","fromCharCode","pluginName","6672iasfVg","index","isOfficialPlugin","matchAll","Title Case","replace","locale","afterInit","commandName","ariaLiveAnnouncer","listenTo","938960MtJKmp","add","editor","get","toLowerCase","announce","_announceCaseChangeOperation","config","substring","view","entries","2844EQyCrs","href","function","2630628nACTfB","209368wpvZCM","changeCaseUpper","init","changeCaseTitle","join","find","shift+f3","12iWvIPa","lowercase","caseChange.titleCase.excludeWords","changeCaseLower","document","792974mJglNw","includes","execute","6257LcgLNz"];return(h=function(){return e})()}function d(e){const t=u;return[{label:c(e,t(203)),commandName:t(181)},{label:c(e,t(188)),commandName:t(190)},{label:c(e,t(158)),commandName:t(183)}]}var p=n(311),g=n(355);const w=m;function m(e,t){const n=C();return(m=function(e,t){return n[e-=293]})(e,t)}function C(){const e=["Shift+F3","domainLimit","_licenseKeyCheckInterval","235pHxfHA","componentFactory","132mBUSGd","menu","3kBpOxa","CaseChangeUI","CaseChange","bind","menuitemradio","push","locale","isPremiumPlugin","_createMenuBarMenuView","_setButtonProperties","546880UNbvsN","init","listenTo","_registerComponents","editor","button","53948vvEuzN","toMany","evaluationLimit","pluginName","destroy","extendTemplate","items","model","buttonView","isEnabled","isOfficialPlugin","panelView","expired","caseChangeLicenseKeyDomainLimit","caseChangeLicenseKeyInvalid","caseChange","commandName","8iBSclv","Shift+f3","set","invalid","accessibility","36nhTJUe","caseChangeLicenseKeyExpired","view","326956NqBreW","menuBar:caseChange","23334LbWzSY","caseChangeLicenseKeyNotAllowed","keys","focus","licenseKey","1324610zRlayt","1310683VsGdJb","source","Change text case","Case change","label","some","execute","get","_createDropdownView","commands","featureNotAllowed","children","add","addKeystrokeInfos","usageLimit","_getListItemDefinitionsAndCommands","caseChangeLicenseKeyValid","delegate","618358OHDDYB","editing","caseChangeLicenseKeyEvaluationLimit","8TlZrfl","config","ck-case-change-dropdown","_showLicenseError","caseChangeLicenseKeyUsageLimit"];return(C=function(){return e})()}!function(e){const t=m,n=e();for(;;)try{if(119649===-parseInt(t(374))/1*(parseInt(t(320))/2)+-parseInt(t(304))/3*(parseInt(t(345))/4)+parseInt(t(300))/5*(parseInt(t(347))/6)+-parseInt(t(352))/7*(parseInt(t(337))/8)+parseInt(t(342))/9*(-parseInt(t(314))/10)+parseInt(t(353))/11+-parseInt(t(302))/12*(-parseInt(t(371))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class I extends e.Plugin{[w(351)];[w(299)];static get[w(323)](){return w(305)}static get[w(330)](){return!0}static get[w(311)](){return!0}[w(315)](){const e=w,t=this[e(318)];this[e(317)](),t[e(341)][e(366)]({keystrokes:[{label:c(t[e(310)],e(355)),keystroke:e(338),mayRequireFn:!0}]}),this[e(351)]=this[e(318)][e(293)][e(360)](e(351));const n=this[e(318)];this[e(299)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(369)==i||t(334)==i||t(343)==i||t(333)==i||t(348)==i||t(373)==i||t(296)==i){delete n[r],s=i,clearInterval(this[t(299)]),this[t(299)]=void 0;break}}t(334)==s&&n[t(295)](t(340)),t(343)==s&&n[t(295)](t(332)),t(333)==s&&n[t(295)](t(298)),t(348)==s&&n[t(295)](t(363),t(306)),t(373)==s&&n[t(295)](t(322)),t(296)==s&&n[t(295)](t(367))},1e3)}[w(324)](){const e=w;super[e(324)](),this[e(299)]&&clearInterval(this[e(299)])}[w(317)](){const e=w,t=this[e(318)],{itemDefinitions:n,commands:s}=this[e(368)]();t.ui[e(301)][e(365)](e(335),()=>this[e(361)](n,s)),t.ui[e(301)][e(365)](e(346),()=>this[e(312)](n,s))}[w(312)](e,t){const n=w,s=this[n(318)],r=s[n(310)],i=new p.MenuBarMenuView(r),o=new p.MenuBarMenuListView(r);o[n(339)]({ariaLabel:c(r,n(356)),role:n(303)}),this[n(313)](i[n(328)]),i[n(307)](n(329))[n(321)](t,n(329),(...e)=>e[n(358)](e=>e));for(const t of e){const e=new p.MenuBarMenuListItemView(r,i),a=new p.MenuBarMenuListItemButtonView(r);a[n(370)](n(359)).to(i),a[n(307)](...Object[n(349)](t[n(327)])).to(t[n(327)]),a.on(n(359),()=>{const e=n;s[e(359)](t[e(327)][e(336)]),s[e(372)][e(344)][e(350)]()}),e[n(364)][n(365)](a),o[n(326)][n(365)](e)}return i[n(331)][n(364)][n(365)](o),i}[w(361)](e,t){const n=w,s=this[n(318)],r=(0,p.createDropdown)(s[n(310)]);return this[n(313)](r[n(328)]),r[n(328)][n(339)]({tooltip:!0}),r[n(325)]({attributes:{class:[n(294)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(310)],n(356)),role:n(303)}),r[n(307)](n(329))[n(321)](t,n(329),(...e)=>e[n(358)](e=>e)),this[n(316)](r,n(359),e=>{const t=n;s[t(359)](e[t(354)][t(336)]),s[t(372)][t(344)][t(350)]()}),r}[w(313)](e){const t=w,n=this[t(318)];e[t(339)]({label:c(n[t(310)],t(356)),icon:g.IconCaseChange,keystroke:t(297)})}[w(368)](){const e=w,n=new t.Collection,s=[];for(const t of d(this[e(318)][e(310)])){const r=this[e(318)][e(362)][e(360)](t[e(336)]),i=new p.UIModel({commandName:t[e(336)],label:t[e(357)],role:e(308),withText:!0});i[e(307)](e(329)).to(r,e(329)),n[e(365)]({type:e(319),model:i}),s[e(309)](r)}return{itemDefinitions:n,commands:s}}}function y(){var e=["1023798cIxZNJ","2043579WgCdjh","isOfficialPlugin","195928vcwrHF","requires","CaseChange","199549HlQYEr","2458352xDUrcb","6FSVcAT","2112692yEzHPL","isPremiumPlugin","pluginName","5izhTze","1943451KIlyfn"];return(y=function(){return e})()}function x(e,t){var n=y();return(x=function(e,t){return n[e-=445]})(e,t)}var b=x;!function(e){for(var t=x,n=e();;)try{if(359697===-parseInt(t(452))/1*(-parseInt(t(457))/2)+parseInt(t(450))/3+parseInt(t(458))/4*(-parseInt(t(447))/5)+parseInt(t(449))/6+-parseInt(t(455))/7+-parseInt(t(456))/8+-parseInt(t(448))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(y);class L extends e.Plugin{static get[b(453)](){return[f,I]}static get[b(446)](){return b(454)}static get[b(451)](){return!0}static get[b(445)](){return!0}}function v(e,t){var n=T();return(v=function(e,t){return n[e-=328]})(e,t)}function T(){var e=["60QsoXXD","4675880bNwlDg","1635234cCBGzY","1563548JHappq","724194PBXplC","575023ySrNYr","12712184ZzIRJM","47516GNjDBT"];return(T=function(){return e})()}!function(e){for(var t=v,n=e();;)try{if(505344===parseInt(t(330))/1+parseInt(t(329))/2+parseInt(t(335))/3+-parseInt(t(328))/4+parseInt(t(334))/5+-parseInt(t(333))/6*(-parseInt(t(332))/7)+-parseInt(t(331))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T)})(),(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 _0x12b40c,Plugin as _0x520046}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x3a910b,Collection as _0x5c0baa}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x484f6e,MenuBarMenuListView as _0x436997,MenuBarMenuListItemView as _0x27aeaf,MenuBarMenuListItemButtonView as _0x3f17ed,createDropdown as _0x286fa4,addListToDropdown as _0x21e8f7,UIModel as _0x29923f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x3d7056}from'@ckeditor/ckeditor5-icons/dist/index.js';class c extends _0x12b40c{['_transformCallback'];constructor(_0x2d8d01,_0x363ba9){super(_0x2d8d01),this['_transformCallback']=_0x363ba9;}['execute'](){const _0x4fe769=this['editor']['model'],_0x1d5c9f=Array['from'](this['_getAffectedRanges']()),_0x41f8f7=Array['from'](_0x4fe769['document']['selection']['getRanges']());_0x4fe769['change'](_0x52b649=>{for(const _0x70e8dd of _0x1d5c9f)this['_modifyContent'](_0x70e8dd,_0x52b649);_0x52b649['setSelection'](_0x41f8f7);});}['refresh'](){for(const _0x2523a3 of this['_getAffectedRanges']())for(const _0x30ef77 of _0x2523a3)if(_0x30ef77['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x370177=this['editor']['model'],_0x3cecbd=_0x370177['document']['selection'];if(_0x3cecbd['isCollapsed']){const _0x447ecd=this['_findAncestorTextBlock'](_0x3cecbd['getFirstPosition']()['parent']);return _0x447ecd?[_0x370177['createRangeIn'](_0x447ecd)]:[];}return _0x3cecbd['getRanges']();}['_modifyContent'](_0x120de1,_0x10cdc2){for(const _0x14e88f of this['_getElementsAllowingText'](_0x120de1)){const _0x1e39cc=this['_getElementTextContent'](_0x14e88f),_0x35b112=this['_transformCallback'](_0x1e39cc);for(const _0x2954bc of this['_getTextNodesRangeLimited'](_0x14e88f,_0x120de1))this['_replaceTextNodeData'](_0x2954bc,_0x35b112,_0x10cdc2);}}['_findAncestorTextBlock'](_0x5087e4){const _0x3573f1=this['editor']['model']['schema'];if(_0x5087e4['is']('element')&&_0x3573f1['checkChild'](_0x5087e4,'$text'))return _0x5087e4;const _0xd59900=_0x5087e4['parent'];return!_0xd59900||_0x3573f1['isLimit'](_0x5087e4)?null:this['_findAncestorTextBlock'](_0xd59900);}*['_getElementsAllowingText'](_0x12a742){const _0x5ca35e=new Set();for(const {item:_0x46416f}of _0x12a742['getWalker']()){const _0x2ac5c8=this['_findAncestorTextBlock'](_0x46416f);_0x2ac5c8&&!_0x5ca35e['has'](_0x2ac5c8)&&(_0x5ca35e['add'](_0x2ac5c8),yield _0x2ac5c8);}}['_getElementTextContent'](_0x2a290b){return Array['from'](_0x2a290b['getChildren']())['reduce']((_0xe79ee1,_0x442c9a)=>_0xe79ee1+(_0x442c9a['is']('$text')?_0x442c9a['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x2f8cd8,_0x32497a){const _0x120266=_0x32497a['getIntersection'](this['editor']['model']['createRangeIn'](_0x2f8cd8));if(_0x120266){for(const _0x1eff39 of _0x120266['getItems']())_0x1eff39['is']('$textProxy')&&_0x1eff39['parent']==_0x2f8cd8&&(yield _0x1eff39);}}['_replaceTextNodeData'](_0x8d58c6,_0x5569be,_0x57841c){const _0x470559=_0x5569be['substring'](_0x8d58c6['startOffset'],_0x8d58c6['endOffset']);if(_0x470559===_0x8d58c6['data'])return;const _0x3e92df=_0x8d58c6['getAttributes']();this['editor']['model']['insertContent'](_0x57841c['createText'](_0x470559,_0x3e92df),_0x57841c['createSelection'](_0x57841c['createRangeOn'](_0x8d58c6)));}}function u(_0x45504f,_0x5902e9,..._0x29bc24){const t=_0x45504f['t'];switch(_0x5902e9){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',..._0x29bc24);default:return _0x5902e9;}}class r extends _0x520046{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3a2192=this['editor'],_0xf9bb14=_0x3a2192['locale']['contentLanguage'],_0x1c3e58=function(_0x2a4ba2=[]){return'function'==typeof _0x2a4ba2?_0x2a4ba2:(_0x229562,{wordIndex:_0x1b660a})=>_0x1b660a>0x0&&_0x2a4ba2['includes'](_0x229562);}(_0x3a2192['config']['get']('caseChange.titleCase.excludeWords')),_0x38c269={'changeCaseUpper':new c(_0x3a2192,_0x297e74=>_0x297e74['toLocaleUpperCase'](_0xf9bb14)),'changeCaseLower':new c(_0x3a2192,_0xb7f5cd=>_0xb7f5cd['toLocaleLowerCase'](_0xf9bb14)),'changeCaseTitle':new c(_0x3a2192,_0x482027=>function(_0x15c735,_0x5a2db4,_0x439b73){return function(_0x243285,_0x126657){let _0x17cbaa='',_0x2aa4d4=0x0,_0x2df19d=0x0;for(const _0x52e7e4 of _0x243285['matchAll'](/ +/g)){const _0x1a03ac=_0x52e7e4['index'],_0x57f8d5=_0x243285['substring'](_0x2aa4d4,_0x1a03ac);_0x57f8d5['length']&&(_0x17cbaa+=_0x126657(_0x57f8d5,_0x2aa4d4,_0x2df19d++)),_0x17cbaa+=_0x52e7e4[0x0],_0x2aa4d4=_0x1a03ac+_0x52e7e4[0x0]['length'];}const _0x4cec3e=_0x243285['substring'](_0x2aa4d4);return _0x4cec3e['length']&&(_0x17cbaa+=_0x126657(_0x4cec3e,_0x2aa4d4,_0x2df19d)),_0x17cbaa;}(_0x15c735,(_0x24f01b,_0x2c24cd,_0x3bd310)=>{const _0x145282=_0x24f01b['toLocaleLowerCase'](_0x439b73);return _0x5a2db4(_0x145282,{'charOffset':_0x2c24cd,'wordIndex':_0x3bd310,'blockText':_0x15c735})?_0x145282:_0x145282['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x33d3a5=>_0x33d3a5['toLocaleUpperCase'](_0x439b73));});}(_0x482027,_0x1c3e58,_0xf9bb14))};for(const [_0x4e3db1,_0x505318]of Object['entries'](_0x38c269))_0x3a2192['commands']['add'](_0x4e3db1,_0x505318),_0x505318['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x4e3db1);});this['listenTo'](_0x3a2192['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x3a2192['keystrokes']['set']('shift+f3',(_0x1f2217,_0x1a7288)=>{const _0x52a33b=y(this['editor']['locale']),_0x121deb=_0x52a33b[this['_currentCommandIndex']%_0x52a33b['length']]['commandName'];_0x3a2192['execute'](_0x121deb),this['_currentCommandIndex']++,_0x1a7288();});}['afterInit'](){!async function(_0x1de798){const _0x1ad704=_0x3096a4([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x3917a4=0x334129cd,_0x472549=0x3346574d^_0x3917a4,_0x4d800b=window[_0x3096a4([0x44,0x61,0x74,0x65])][_0x3096a4([0x6e,0x6f,0x77])](),_0xe76ceb=_0x1de798[_0x3096a4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd8f033=new window[(_0x3096a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57623a=>{_0xe76ceb[_0x3096a4([0x6f,0x6e,0x63,0x65])](_0x3096a4([0x72,0x65,0x61,0x64,0x79]),_0x57623a);}),_0x18b320={[_0x3096a4([0x6b,0x74,0x79])]:_0x3096a4([0x45,0x43]),[_0x3096a4([0x75,0x73,0x65])]:_0x3096a4([0x73,0x69,0x67]),[_0x3096a4([0x63,0x72,0x76])]:_0x3096a4([0x50,0x2d,0x32,0x35,0x36]),[_0x3096a4([0x78])]:_0x3096a4([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]),[_0x3096a4([0x79])]:_0x3096a4([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]),[_0x3096a4([0x61,0x6c,0x67])]:_0x3096a4([0x45,0x53,0x32,0x35,0x36])},_0x2481f7=_0xe76ceb[_0x3096a4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3096a4([0x67,0x65,0x74])](_0x3096a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4529ef(){let _0x203752,_0x2a403b=null,_0x28817e=null;try{if(_0x2481f7==_0x3096a4([0x47,0x50,0x4c]))return _0x3096a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x203752=_0x52bbd5(),!_0x203752)return _0x3096a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x203752[_0x3096a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28817e=_0x521381(_0x203752[_0x3096a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x203752[_0x3096a4([0x6a,0x74,0x69])])),await _0x758476()?_0x1b32ee()?_0x2e3e90()?_0x3096a4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b931e()?(_0x203752[_0x3096a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3096a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a403b=_0x2782ea(_0x3096a4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d9445()):_0x3096a4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3096a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3096a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3096a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e3e90(){const _0x246aec=[_0x3096a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3096a4([0x74,0x72,0x69,0x61,0x6c])][_0x3096a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x203752[_0x3096a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d800b/0x3e8:0xe10*_0x472549;return _0x203752[_0x3096a4([0x65,0x78,0x70])]<_0x246aec;}function _0x1b32ee(){const _0x5adef1=_0x203752[_0x3096a4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5adef1&&(!!_0x5adef1[_0x3096a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3096a4([0x2a]))||(!!_0x5adef1[_0x3096a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3096a4([0x43,0x43]))||!!_0x5adef1[_0x3096a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3096a4([0x50,0x50]))));}function _0x5b931e(){const _0xa14228=_0x203752[_0x3096a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa14228||0x0==_0xa14228[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f163c}=new URL(window[_0x3096a4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa14228[_0x3096a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f163c))return!0x0;const _0x30e85e=_0x4f163c[_0x3096a4([0x73,0x70,0x6c,0x69,0x74])](_0x3096a4([0x2e]));return _0xa14228[_0x3096a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x447c9f=>_0x447c9f[_0x3096a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3096a4([0x2a])))[_0x3096a4([0x6d,0x61,0x70])](_0x2dc23a=>_0x2dc23a[_0x3096a4([0x73,0x70,0x6c,0x69,0x74])](_0x3096a4([0x2e])))[_0x3096a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5502b8=>_0x5502b8[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30e85e[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3096a4([0x6d,0x61,0x70])](_0x46a60c=>Array(_0x30e85e[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46a60c[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3096a4([0x66,0x69,0x6c,0x6c])](_0x46a60c[0x0]===_0x3096a4([0x2a])?_0x3096a4([0x2a]):'')[_0x3096a4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46a60c))[_0x3096a4([0x73,0x6f,0x6d,0x65])](_0x5ea30c=>_0x30e85e[_0x3096a4([0x65,0x76,0x65,0x72,0x79])]((_0x1a91c9,_0x1eb01f)=>_0x5ea30c[_0x1eb01f]===_0x1a91c9||_0x5ea30c[_0x1eb01f]===_0x3096a4([0x2a])));}function _0x2d9445(){return _0x2a403b&&_0x28817e?new window[(_0x3096a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42eb08,_0x1f0cda)=>{_0x2a403b[_0x3096a4([0x74,0x68,0x65,0x6e])](_0x42eb08,_0x1f0cda),_0x28817e[_0x3096a4([0x74,0x68,0x65,0x6e])](_0x1dd14a=>{_0x1dd14a!=_0x3096a4([0x56,0x61,0x6c,0x69,0x64])&&_0x42eb08(_0x1dd14a);},_0x1f0cda);}):_0x2a403b||_0x28817e||_0x3096a4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x521381(_0x2d56f9,_0x54e845){return new window[(_0x3096a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8dcf85=>{if(_0x10483c())return _0x8dcf85(_0x3096a4([0x56,0x61,0x6c,0x69,0x64]));_0x4332f8(),_0xe76ceb[_0x3096a4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3096a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x196a5e=!0x1;const _0x250250=_0x3a910b();function _0x5804b5(_0x13489){return!!_0x13489&&(typeof _0x13489===_0x3096a4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13489===_0x3096a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13489[_0x3096a4([0x74,0x68,0x65,0x6e])]===_0x3096a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13489[_0x3096a4([0x63,0x61,0x74,0x63,0x68])]===_0x3096a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f98a8(_0xd6e8ce){_0x3ef635(_0xd6e8ce)[_0x3096a4([0x74,0x68,0x65,0x6e])](_0xc51951=>{if(!_0xc51951||_0xc51951[_0x3096a4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3096a4([0x6f,0x6b]))return _0x3096a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b3055(_0x5e434d(_0x250250+_0x54e845))!=_0xc51951[_0x3096a4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3096a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3096a4([0x56,0x61,0x6c,0x69,0x64]);})[_0x3096a4([0x74,0x68,0x65,0x6e])](_0x816ffe=>(_0x325be4(),_0x816ffe),()=>{const _0x5bab75=_0x445356();return null==_0x5bab75?(_0x325be4(),_0x3096a4([0x56,0x61,0x6c,0x69,0x64])):_0x3096a4(_0x4d800b-_0x5bab75>(0x174dadcd^_0x3917a4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3096a4([0x74,0x68,0x65,0x6e])](_0x8dcf85)[_0x3096a4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8dcf85(_0x3096a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23d269=0x3377c74d^_0x3917a4;function _0x325be4(){const _0x4490ae=_0x3096a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b3055(_0x5e434d(_0x2d56f9)),_0x2c406a=_0x46b060(_0x1b3055(window[_0x3096a4([0x4d,0x61,0x74,0x68])][_0x3096a4([0x63,0x65,0x69,0x6c])](_0x4d800b/_0x23d269)));window[_0x3096a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3096a4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4490ae,_0x2c406a);}function _0x445356(){const _0x586855=_0x3096a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b3055(_0x5e434d(_0x2d56f9)),_0x589a23=window[_0x3096a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3096a4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x586855);return _0x589a23?window[_0x3096a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46b060(_0x589a23),0x10)*_0x23d269:null;}function _0x3ef635(_0x5aa501){return new window[(_0x3096a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6078a3,_0x45d561)=>{_0x5aa501[_0x3096a4([0x74,0x68,0x65,0x6e])](_0x6078a3,_0x45d561),window[_0x3096a4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x45d561,0x3340fd0d^_0x3917a4);});}}_0xe76ceb[_0x3096a4([0x6f,0x6e])](_0x3096a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x312c2b,_0x4670f7)=>{if(_0x4670f7[0x0]!=_0x2d56f9)return _0x8dcf85(_0x3096a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4670f7[0x1]={..._0x4670f7[0x1],[_0x3096a4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x250250};},{[_0x3096a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3096a4([0x68,0x69,0x67,0x68])}),_0xe76ceb[_0x3096a4([0x6f,0x6e])](_0x3096a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d8460=>{_0x5804b5(_0x4d8460[_0x3096a4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x196a5e=!0x0,_0x2f98a8(_0x4d8460[_0x3096a4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3096a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3096a4([0x6c,0x6f,0x77])}),_0xd8f033[_0x3096a4([0x74,0x68,0x65,0x6e])](()=>{_0x196a5e||_0x8dcf85(_0x3096a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10483c(){return _0xe76ceb[_0x3096a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3096a4([0x76,0x69,0x65,0x77])][_0x3096a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3096a4([0x61,0x75,0x74,0x6f]);}function _0x4332f8(){_0xe76ceb[_0x3096a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3096a4([0x76,0x69,0x65,0x77])][_0x3096a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3096a4([0x61,0x75,0x74,0x6f]);}}function _0x2782ea(_0xd4f8f9){const _0x3b3a9f=[new window[(_0x3096a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x63fa7b=>setTimeout(_0x63fa7b,0x33481701^_0x3917a4)),_0xd8f033[_0x3096a4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3096a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e2b7=>{let _0x42bc31=0x0;_0xe76ceb[_0x3096a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3096a4([0x6f,0x6e])](_0x3096a4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51e588,_0x420b13)=>{_0x420b13[0x0][_0x3096a4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42bc31++,_0x42bc31==(0x33412c25^_0x3917a4)&&(_0x36e2b7(),_0x51e588[_0x3096a4([0x6f,0x66,0x66])]());});}))];return window[_0x3096a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3096a4([0x72,0x61,0x63,0x65])](_0x3b3a9f)[_0x3096a4([0x74,0x68,0x65,0x6e])](()=>_0xd4f8f9);}async function _0x210e7c(){await _0xd8f033,_0xe76ceb[_0x3096a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3096a4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ea8c4,_0xe76ceb[_0x3096a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3096a4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ea8c4,_0xe76ceb[_0x3096a4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3096a4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc6fe7c(_0x7495d9){const _0x1b4e19=_0x317349();_0xe76ceb[_0x1b4e19]=_0x3096a4([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7495d9,_0x7495d9!=_0x3096a4([0x56,0x61,0x6c,0x69,0x64])&&_0x210e7c();}function _0x317349(){const _0xa08839=window[_0x3096a4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3096a4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3096a4([0x6e,0x6f,0x77])]())[_0x3096a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3096a4([0x2e]),'');let _0x11d20a=_0x3096a4([0x45]);for(let _0x3c37fd=0x0;_0x3c37fd<_0xa08839[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c37fd+=0x2){let _0x1eec80=window[_0x3096a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa08839[_0x3096a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c37fd,_0x3c37fd+0x2));_0x1eec80>=_0x1ad704[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1eec80-=_0x1ad704[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11d20a+=_0x1ad704[_0x1eec80];}return _0x11d20a;}function _0x52bbd5(){const _0x3ad8b2=_0x2481f7[_0x3096a4([0x73,0x70,0x6c,0x69,0x74])](_0x3096a4([0x2e]));if(0x3!=_0x3ad8b2[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a121a(_0x3ad8b2[0x1]);function _0x4a121a(_0x464cce){const _0x5a0d4c=_0x5217d4(_0x464cce);return _0x5a0d4c&&_0x23ed71()?_0x5a0d4c:null;function _0x23ed71(){const _0x29c47f=_0x5a0d4c[_0x3096a4([0x6a,0x74,0x69])],_0x4a14a1=window[_0x3096a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29c47f[_0x3096a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29c47f[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1542ee={..._0x5a0d4c,[_0x3096a4([0x6a,0x74,0x69])]:_0x29c47f[_0x3096a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29c47f[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1542ee[_0x3096a4([0x76,0x63])],_0x5e434d(_0x1542ee)==_0x4a14a1;}}}async function _0x758476(){let _0x321447=!0x0;try{const _0x55afcf=_0x2481f7[_0x3096a4([0x73,0x70,0x6c,0x69,0x74])](_0x3096a4([0x2e])),[_0x2b228f,_0x213cde,_0x4d5973]=_0x55afcf;return _0x113361(_0x2b228f),await _0x213567(_0x2b228f,_0x213cde,_0x4d5973),_0x321447;}catch{return!0x1;}function _0x113361(_0x454ed4){const _0x138ca7=_0x5217d4(_0x454ed4);_0x138ca7&&_0x138ca7[_0x3096a4([0x61,0x6c,0x67])]==_0x3096a4([0x45,0x53,0x32,0x35,0x36])||(_0x321447=!0x1);}async function _0x213567(_0x2f660b,_0x2ef17b,_0x48ecc2){const _0x29f9ae=window[_0x3096a4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3096a4([0x66,0x72,0x6f,0x6d])](_0x4b395e(_0x48ecc2),_0x16a6e3=>_0x16a6e3[_0x3096a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x567a65=new window[(_0x3096a4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3096a4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f660b+_0x3096a4([0x2e])+_0x2ef17b),_0x37aa8f=window[_0x3096a4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3096a4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37aa8f)return;const _0x38520c=await _0x37aa8f[_0x3096a4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3096a4([0x6a,0x77,0x6b]),_0x18b320,{[_0x3096a4([0x6e,0x61,0x6d,0x65])]:_0x3096a4([0x45,0x43,0x44,0x53,0x41]),[_0x3096a4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3096a4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3096a4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37aa8f[_0x3096a4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3096a4([0x6e,0x61,0x6d,0x65])]:_0x3096a4([0x45,0x43,0x44,0x53,0x41]),[_0x3096a4([0x68,0x61,0x73,0x68])]:{[_0x3096a4([0x6e,0x61,0x6d,0x65])]:_0x3096a4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38520c,_0x29f9ae,_0x567a65)||(_0x321447=!0x1);}}function _0x5217d4(_0x387a3c){return _0x387a3c[_0x3096a4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3096a4([0x65,0x79]))?JSON[_0x3096a4([0x70,0x61,0x72,0x73,0x65])](_0x4b395e(_0x387a3c)):null;}function _0x4b395e(_0x4cbe1d){return window[_0x3096a4([0x61,0x74,0x6f,0x62])](_0x4cbe1d[_0x3096a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3096a4([0x2b]))[_0x3096a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3096a4([0x2f])));}function _0x5e434d(_0x5aad42){let _0x3bb22d=0x1505;function _0x1605e2(_0x12104d){for(let _0x2f53a3=0x0;_0x2f53a3<_0x12104d[_0x3096a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f53a3++){const _0x1c4217=_0x12104d[_0x3096a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f53a3);_0x3bb22d=(_0x3bb22d<<0x5)+_0x3bb22d+_0x1c4217,_0x3bb22d&=_0x3bb22d;}}function _0x2c765a(_0x4903af){Array[_0x3096a4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4903af)?_0x4903af[_0x3096a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c765a):_0x4903af&&typeof _0x4903af==_0x3096a4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3096a4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4903af)[_0x3096a4([0x73,0x6f,0x72,0x74])]()[_0x3096a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45137d,_0xc26e6f])=>{_0x1605e2(_0x45137d),_0x2c765a(_0xc26e6f);}):_0x1605e2(window[_0x3096a4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4903af));}return _0x2c765a(_0x5aad42),_0x3bb22d>>>0x0;}function _0x1b3055(_0x3b3eb9){return _0x3b3eb9[_0x3096a4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3096a4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3096a4([0x30]));}function _0x46b060(_0x36f42a){return _0x36f42a[_0x3096a4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3096a4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3096a4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ea8c4(){}function _0x3096a4(_0x4ed54c){return _0x4ed54c['map'](_0x107809=>String['fromCharCode'](_0x107809))['join']('');}_0xc6fe7c(await _0x4529ef());}(this);}['_announceCaseChangeOperation'](_0x44a2ee){const {ui:_0x4880ee,locale:_0x23170b}=this['editor'],_0x24541b=y(_0x23170b)['find'](_0x190c37=>_0x190c37['commandName']===_0x44a2ee)['label']['toLowerCase']();_0x4880ee['ariaLiveAnnouncer']['announce'](u(_0x23170b,'Changed\x20case\x20to\x20%0',_0x24541b));}}function y(_0x42b232){return[{'label':u(_0x42b232,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x42b232,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x42b232,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x520046{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x534834=this['editor'];this['_registerComponents'](),_0x534834['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x534834['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x58c380=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x36962f;for(const _0x3ceed1 in _0x58c380){const _0x3681d6=_0x3ceed1,_0x1170c2=_0x58c380[_0x3681d6];if('caseChangeLicenseKeyValid'==_0x1170c2||'caseChangeLicenseKeyInvalid'==_0x1170c2||'caseChangeLicenseKeyExpired'==_0x1170c2||'caseChangeLicenseKeyDomainLimit'==_0x1170c2||'caseChangeLicenseKeyNotAllowed'==_0x1170c2||'caseChangeLicenseKeyEvaluationLimit'==_0x1170c2||'caseChangeLicenseKeyUsageLimit'==_0x1170c2){delete _0x58c380[_0x3681d6],_0x36962f=_0x1170c2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x36962f&&_0x58c380['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x36962f&&_0x58c380['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x36962f&&_0x58c380['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x36962f&&_0x58c380['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x36962f&&_0x58c380['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x36962f&&_0x58c380['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x2cedb4=this['editor'],{itemDefinitions:_0x3331f7,commands:_0xe0235a}=this['_getListItemDefinitionsAndCommands']();_0x2cedb4['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x3331f7,_0xe0235a)),_0x2cedb4['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x3331f7,_0xe0235a));}['_createMenuBarMenuView'](_0x2ad9a5,_0x5e6149){const _0x3b3f0b=this['editor'],_0x261f8e=_0x3b3f0b['locale'],_0x5d84e7=new _0x484f6e(_0x261f8e),_0x2893e0=new _0x436997(_0x261f8e);_0x2893e0['set']({'ariaLabel':u(_0x261f8e,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x5d84e7['buttonView']),_0x5d84e7['bind']('isEnabled')['toMany'](_0x5e6149,'isEnabled',(..._0x570f96)=>_0x570f96['some'](_0x20630c=>_0x20630c));for(const _0x11d1da of _0x2ad9a5){const _0x14c90c=new _0x27aeaf(_0x261f8e,_0x5d84e7),_0x5decfa=new _0x3f17ed(_0x261f8e);_0x5decfa['delegate']('execute')['to'](_0x5d84e7),_0x5decfa['bind'](...Object['keys'](_0x11d1da['model']))['to'](_0x11d1da['model']),_0x5decfa['on']('execute',()=>{_0x3b3f0b['execute'](_0x11d1da['model']['commandName']),_0x3b3f0b['editing']['view']['focus']();}),_0x14c90c['children']['add'](_0x5decfa),_0x2893e0['items']['add'](_0x14c90c);}return _0x5d84e7['panelView']['children']['add'](_0x2893e0),_0x5d84e7;}['_createDropdownView'](_0x26774b,_0x514e80){const _0x197fd6=this['editor'],_0x989369=_0x286fa4(_0x197fd6['locale']);return this['_setButtonProperties'](_0x989369['buttonView']),_0x989369['buttonView']['set']({'tooltip':!0x0}),_0x989369['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x21e8f7(_0x989369,_0x26774b,{'ariaLabel':u(_0x197fd6['locale'],'Case\x20change'),'role':'menu'}),_0x989369['bind']('isEnabled')['toMany'](_0x514e80,'isEnabled',(..._0x3a0788)=>_0x3a0788['some'](_0x276c2b=>_0x276c2b)),this['listenTo'](_0x989369,'execute',_0x265b99=>{_0x197fd6['execute'](_0x265b99['source']['commandName']),_0x197fd6['editing']['view']['focus']();}),_0x989369;}['_setButtonProperties'](_0x3c9fe2){const _0x33a9d9=this['editor'];_0x3c9fe2['set']({'label':u(_0x33a9d9['locale'],'Case\x20change'),'icon':_0x3d7056,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x3d5a28=new _0x5c0baa(),_0x522792=[];for(const _0x15e80b of y(this['editor']['locale'])){const _0x5972b8=this['editor']['commands']['get'](_0x15e80b['commandName']),_0xe80999=new _0x29923f({'commandName':_0x15e80b['commandName'],'label':_0x15e80b['label'],'role':'menuitemradio','withText':!0x0});_0xe80999['bind']('isEnabled')['to'](_0x5972b8,'isEnabled'),_0x3d5a28['add']({'type':'button','model':_0xe80999}),_0x522792['push'](_0x5972b8);}return{'itemDefinitions':_0x3d5a28,'commands':_0x522792};}}class w extends _0x520046{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 _0x4806eb,Plugin as _0x25827d}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x56f82a,Collection as _0x10f8bc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x5aa702,MenuBarMenuListView as _0x22d51c,MenuBarMenuListItemView as _0x2141ce,MenuBarMenuListItemButtonView as _0x11d390,createDropdown as _0x2734cd,addListToDropdown as _0x40c662,UIModel as _0x30237c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x3d66fd}from'@ckeditor/ckeditor5-icons/dist/index.js';class c extends _0x4806eb{['_transformCallback'];constructor(_0x458db0,_0x32be10){super(_0x458db0),this['_transformCallback']=_0x32be10;}['execute'](){const _0x32efdc=this['editor']['model'],_0xc8c0e3=Array['from'](this['_getAffectedRanges']()),_0x3367b6=Array['from'](_0x32efdc['document']['selection']['getRanges']());_0x32efdc['change'](_0x3dc08a=>{for(const _0x5ddc96 of _0xc8c0e3)this['_modifyContent'](_0x5ddc96,_0x3dc08a);_0x3dc08a['setSelection'](_0x3367b6);});}['refresh'](){for(const _0x2d0010 of this['_getAffectedRanges']())for(const _0x31cd7c of _0x2d0010)if(_0x31cd7c['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x5a1b37=this['editor']['model'],_0x129068=_0x5a1b37['document']['selection'];if(_0x129068['isCollapsed']){const _0x1fe80f=this['_findAncestorTextBlock'](_0x129068['getFirstPosition']()['parent']);return _0x1fe80f?[_0x5a1b37['createRangeIn'](_0x1fe80f)]:[];}return _0x129068['getRanges']();}['_modifyContent'](_0x196430,_0x30a06c){for(const _0x54b022 of this['_getElementsAllowingText'](_0x196430)){const _0x464d67=this['_getElementTextContent'](_0x54b022),_0x11e12e=this['_transformCallback'](_0x464d67);for(const _0x3022c7 of this['_getTextNodesRangeLimited'](_0x54b022,_0x196430))this['_replaceTextNodeData'](_0x3022c7,_0x11e12e,_0x30a06c);}}['_findAncestorTextBlock'](_0x447f35){const _0x2ee8b3=this['editor']['model']['schema'];if(_0x447f35['is']('element')&&_0x2ee8b3['checkChild'](_0x447f35,'$text'))return _0x447f35;const _0x3bf5d3=_0x447f35['parent'];return!_0x3bf5d3||_0x2ee8b3['isLimit'](_0x447f35)?null:this['_findAncestorTextBlock'](_0x3bf5d3);}*['_getElementsAllowingText'](_0x29ec28){const _0x4c1db1=new Set();for(const {item:_0x1dd515}of _0x29ec28['getWalker']()){const _0x2f3d1a=this['_findAncestorTextBlock'](_0x1dd515);_0x2f3d1a&&!_0x4c1db1['has'](_0x2f3d1a)&&(_0x4c1db1['add'](_0x2f3d1a),yield _0x2f3d1a);}}['_getElementTextContent'](_0x47121f){return Array['from'](_0x47121f['getChildren']())['reduce']((_0x214353,_0xbf0a08)=>_0x214353+(_0xbf0a08['is']('$text')?_0xbf0a08['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0xb54ef9,_0x38df0f){const _0x1f592f=_0x38df0f['getIntersection'](this['editor']['model']['createRangeIn'](_0xb54ef9));if(_0x1f592f){for(const _0xd7d299 of _0x1f592f['getItems']())_0xd7d299['is']('$textProxy')&&_0xd7d299['parent']==_0xb54ef9&&(yield _0xd7d299);}}['_replaceTextNodeData'](_0x5a6a05,_0x2a0994,_0x411340){const _0x5c2d7c=_0x2a0994['substring'](_0x5a6a05['startOffset'],_0x5a6a05['endOffset']);if(_0x5c2d7c===_0x5a6a05['data'])return;const _0x1c4676=_0x5a6a05['getAttributes']();this['editor']['model']['insertContent'](_0x411340['createText'](_0x5c2d7c,_0x1c4676),_0x411340['createSelection'](_0x411340['createRangeOn'](_0x5a6a05)));}}function u(_0x57abcb,_0x52e580,..._0x201fa4){const t=_0x57abcb['t'];switch(_0x52e580){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',..._0x201fa4);default:return _0x52e580;}}class r extends _0x25827d{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x213d43=this['editor'],_0x3e523a=_0x213d43['locale']['contentLanguage'],_0x3582e7=function(_0xb16f16=[]){return'function'==typeof _0xb16f16?_0xb16f16:(_0x1df61b,{wordIndex:_0x37751e})=>_0x37751e>0x0&&_0xb16f16['includes'](_0x1df61b);}(_0x213d43['config']['get']('caseChange.titleCase.excludeWords')),_0x416d64={'changeCaseUpper':new c(_0x213d43,_0x26dbdf=>_0x26dbdf['toLocaleUpperCase'](_0x3e523a)),'changeCaseLower':new c(_0x213d43,_0x210ff1=>_0x210ff1['toLocaleLowerCase'](_0x3e523a)),'changeCaseTitle':new c(_0x213d43,_0x45d5b2=>function(_0x1a8150,_0x11a1d6,_0x4b6a3c){return function(_0x2fe2fd,_0x4dc331){let _0x4fff83='',_0x562570=0x0,_0x438ed6=0x0;for(const _0xd5d823 of _0x2fe2fd['matchAll'](/ +/g)){const _0x97a1df=_0xd5d823['index'],_0x5a7562=_0x2fe2fd['substring'](_0x562570,_0x97a1df);_0x5a7562['length']&&(_0x4fff83+=_0x4dc331(_0x5a7562,_0x562570,_0x438ed6++)),_0x4fff83+=_0xd5d823[0x0],_0x562570=_0x97a1df+_0xd5d823[0x0]['length'];}const _0xb5308d=_0x2fe2fd['substring'](_0x562570);return _0xb5308d['length']&&(_0x4fff83+=_0x4dc331(_0xb5308d,_0x562570,_0x438ed6)),_0x4fff83;}(_0x1a8150,(_0x4905c7,_0x4ce945,_0x398b0c)=>{const _0x4a2111=_0x4905c7['toLocaleLowerCase'](_0x4b6a3c);return _0x11a1d6(_0x4a2111,{'charOffset':_0x4ce945,'wordIndex':_0x398b0c,'blockText':_0x1a8150})?_0x4a2111:_0x4a2111['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x5371ee=>_0x5371ee['toLocaleUpperCase'](_0x4b6a3c));});}(_0x45d5b2,_0x3582e7,_0x3e523a))};for(const [_0x28b919,_0x3f87d2]of Object['entries'](_0x416d64))_0x213d43['commands']['add'](_0x28b919,_0x3f87d2),_0x3f87d2['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x28b919);});this['listenTo'](_0x213d43['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x213d43['keystrokes']['set']('shift+f3',(_0x24367b,_0x5ec0f6)=>{const _0x1da007=y(this['editor']['locale']),_0x3d85f8=_0x1da007[this['_currentCommandIndex']%_0x1da007['length']]['commandName'];_0x213d43['execute'](_0x3d85f8),this['_currentCommandIndex']++,_0x5ec0f6();});}['afterInit'](){!async function(_0x440c0a){const _0x1c8ab3=_0x46c40e([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0xb0bb18=0x334129cd,_0x4a05a0=0x33465755^_0xb0bb18,_0x2ada40=window[_0x46c40e([0x44,0x61,0x74,0x65])][_0x46c40e([0x6e,0x6f,0x77])](),_0x42a914=_0x440c0a[_0x46c40e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x305144=new window[(_0x46c40e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c3f64=>{_0x42a914[_0x46c40e([0x6f,0x6e,0x63,0x65])](_0x46c40e([0x72,0x65,0x61,0x64,0x79]),_0x4c3f64);}),_0x508f4a={[_0x46c40e([0x6b,0x74,0x79])]:_0x46c40e([0x45,0x43]),[_0x46c40e([0x75,0x73,0x65])]:_0x46c40e([0x73,0x69,0x67]),[_0x46c40e([0x63,0x72,0x76])]:_0x46c40e([0x50,0x2d,0x32,0x35,0x36]),[_0x46c40e([0x78])]:_0x46c40e([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]),[_0x46c40e([0x79])]:_0x46c40e([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]),[_0x46c40e([0x61,0x6c,0x67])]:_0x46c40e([0x45,0x53,0x32,0x35,0x36])},_0x45d41b=_0x42a914[_0x46c40e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46c40e([0x67,0x65,0x74])](_0x46c40e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a1642(){let _0x3b3e9e,_0x1466f7=null,_0x136f28=null;try{if(_0x45d41b==_0x46c40e([0x47,0x50,0x4c]))return _0x46c40e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b3e9e=_0x2339e6(),!_0x3b3e9e)return _0x46c40e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b3e9e[_0x46c40e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x136f28=_0x3ea8e6(_0x3b3e9e[_0x46c40e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b3e9e[_0x46c40e([0x6a,0x74,0x69])])),await _0x10e4e2()?_0x42fabf()?_0x23943e()?_0x46c40e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x80c61b()?(_0x3b3e9e[_0x46c40e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46c40e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1466f7=_0x421f32(_0x46c40e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ac485()):_0x46c40e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46c40e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46c40e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46c40e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23943e(){const _0x46574f=[_0x46c40e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46c40e([0x74,0x72,0x69,0x61,0x6c])][_0x46c40e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b3e9e[_0x46c40e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ada40/0x3e8:0xe10*_0x4a05a0;return _0x3b3e9e[_0x46c40e([0x65,0x78,0x70])]<_0x46574f;}function _0x42fabf(){const _0x592c7e=_0x3b3e9e[_0x46c40e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x592c7e&&(!!_0x592c7e[_0x46c40e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c40e([0x2a]))||(!!_0x592c7e[_0x46c40e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c40e([0x43,0x43]))||!!_0x592c7e[_0x46c40e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c40e([0x50,0x50]))));}function _0x80c61b(){const _0x51b3ab=_0x3b3e9e[_0x46c40e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51b3ab||0x0==_0x51b3ab[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x472d98}=new URL(window[_0x46c40e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x51b3ab[_0x46c40e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x472d98))return!0x0;const _0x4c9f06=_0x472d98[_0x46c40e([0x73,0x70,0x6c,0x69,0x74])](_0x46c40e([0x2e]));return _0x51b3ab[_0x46c40e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x388eab=>_0x388eab[_0x46c40e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c40e([0x2a])))[_0x46c40e([0x6d,0x61,0x70])](_0x3007b1=>_0x3007b1[_0x46c40e([0x73,0x70,0x6c,0x69,0x74])](_0x46c40e([0x2e])))[_0x46c40e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf9dede=>_0xf9dede[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c9f06[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46c40e([0x6d,0x61,0x70])](_0x107bd1=>Array(_0x4c9f06[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x107bd1[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46c40e([0x66,0x69,0x6c,0x6c])](_0x107bd1[0x0]===_0x46c40e([0x2a])?_0x46c40e([0x2a]):'')[_0x46c40e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x107bd1))[_0x46c40e([0x73,0x6f,0x6d,0x65])](_0x2e5154=>_0x4c9f06[_0x46c40e([0x65,0x76,0x65,0x72,0x79])]((_0x575fb3,_0x142a58)=>_0x2e5154[_0x142a58]===_0x575fb3||_0x2e5154[_0x142a58]===_0x46c40e([0x2a])));}function _0x4ac485(){return _0x1466f7&&_0x136f28?new window[(_0x46c40e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c7334,_0x1b40db)=>{_0x1466f7[_0x46c40e([0x74,0x68,0x65,0x6e])](_0x1c7334,_0x1b40db),_0x136f28[_0x46c40e([0x74,0x68,0x65,0x6e])](_0x38a8e1=>{_0x38a8e1!=_0x46c40e([0x56,0x61,0x6c,0x69,0x64])&&_0x1c7334(_0x38a8e1);},_0x1b40db);}):_0x1466f7||_0x136f28||_0x46c40e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ea8e6(_0xa23719,_0x371046){return new window[(_0x46c40e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xecf2a0=>{if(_0x22f2c5())return _0xecf2a0(_0x46c40e([0x56,0x61,0x6c,0x69,0x64]));_0x2d97c6(),_0x42a914[_0x46c40e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46c40e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x136960=!0x1;const _0x1579ea=_0x56f82a();function _0x5c1e44(_0x2a984e){return!!_0x2a984e&&(typeof _0x2a984e===_0x46c40e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a984e===_0x46c40e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a984e[_0x46c40e([0x74,0x68,0x65,0x6e])]===_0x46c40e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a984e[_0x46c40e([0x63,0x61,0x74,0x63,0x68])]===_0x46c40e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe980ba(_0x368652){_0x14adae(_0x368652)[_0x46c40e([0x74,0x68,0x65,0x6e])](_0x20692b=>{if(!_0x20692b||_0x20692b[_0x46c40e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46c40e([0x6f,0x6b]))return _0x46c40e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f67ed(_0x1d53be(_0x1579ea+_0x371046))!=_0x20692b[_0x46c40e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46c40e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46c40e([0x56,0x61,0x6c,0x69,0x64]);})[_0x46c40e([0x74,0x68,0x65,0x6e])](_0x372f24=>(_0x2e5440(),_0x372f24),()=>{const _0x1ca83d=_0xbd1835();return null==_0x1ca83d?(_0x2e5440(),_0x46c40e([0x56,0x61,0x6c,0x69,0x64])):_0x46c40e(_0x2ada40-_0x1ca83d>(0x174dadcd^_0xb0bb18)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46c40e([0x74,0x68,0x65,0x6e])](_0xecf2a0)[_0x46c40e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xecf2a0(_0x46c40e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe8373f=0x3377c74d^_0xb0bb18;function _0x2e5440(){const _0x5d7405=_0x46c40e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f67ed(_0x1d53be(_0xa23719)),_0xad5920=_0x465cff(_0x4f67ed(window[_0x46c40e([0x4d,0x61,0x74,0x68])][_0x46c40e([0x63,0x65,0x69,0x6c])](_0x2ada40/_0xe8373f)));window[_0x46c40e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46c40e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d7405,_0xad5920);}function _0xbd1835(){const _0x2c63f=_0x46c40e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f67ed(_0x1d53be(_0xa23719)),_0xa980ab=window[_0x46c40e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46c40e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c63f);return _0xa980ab?window[_0x46c40e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x465cff(_0xa980ab),0x10)*_0xe8373f:null;}function _0x14adae(_0x10ded3){return new window[(_0x46c40e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x451a87,_0x218efe)=>{_0x10ded3[_0x46c40e([0x74,0x68,0x65,0x6e])](_0x451a87,_0x218efe),window[_0x46c40e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x218efe,0x3340fd0d^_0xb0bb18);});}}_0x42a914[_0x46c40e([0x6f,0x6e])](_0x46c40e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e63a5,_0x212f5e)=>{if(_0x212f5e[0x0]!=_0xa23719)return _0xecf2a0(_0x46c40e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x212f5e[0x1]={..._0x212f5e[0x1],[_0x46c40e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1579ea};},{[_0x46c40e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46c40e([0x68,0x69,0x67,0x68])}),_0x42a914[_0x46c40e([0x6f,0x6e])](_0x46c40e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55e012=>{_0x5c1e44(_0x55e012[_0x46c40e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x136960=!0x0,_0xe980ba(_0x55e012[_0x46c40e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46c40e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46c40e([0x6c,0x6f,0x77])}),_0x305144[_0x46c40e([0x74,0x68,0x65,0x6e])](()=>{_0x136960||_0xecf2a0(_0x46c40e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22f2c5(){return _0x42a914[_0x46c40e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46c40e([0x76,0x69,0x65,0x77])][_0x46c40e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46c40e([0x61,0x75,0x74,0x6f]);}function _0x2d97c6(){_0x42a914[_0x46c40e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46c40e([0x76,0x69,0x65,0x77])][_0x46c40e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46c40e([0x61,0x75,0x74,0x6f]);}}function _0x421f32(_0x5fe5fc){const _0x2a1fee=[new window[(_0x46c40e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43f42f=>setTimeout(_0x43f42f,0x33481701^_0xb0bb18)),_0x305144[_0x46c40e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46c40e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3200fa=>{let _0xe8252f=0x0;_0x42a914[_0x46c40e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46c40e([0x6f,0x6e])](_0x46c40e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5eec1c,_0x1fecc8)=>{_0x1fecc8[0x0][_0x46c40e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe8252f++,_0xe8252f==(0x33412c25^_0xb0bb18)&&(_0x3200fa(),_0x5eec1c[_0x46c40e([0x6f,0x66,0x66])]());});}))];return window[_0x46c40e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46c40e([0x72,0x61,0x63,0x65])](_0x2a1fee)[_0x46c40e([0x74,0x68,0x65,0x6e])](()=>_0x5fe5fc);}async function _0x5e20e6(){await _0x305144,_0x42a914[_0x46c40e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46c40e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5653f5,_0x42a914[_0x46c40e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46c40e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5653f5,_0x42a914[_0x46c40e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46c40e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3902d6(_0x10d2b0){const _0x1a42b5=_0x3b7527();_0x42a914[_0x1a42b5]=_0x46c40e([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10d2b0,_0x10d2b0!=_0x46c40e([0x56,0x61,0x6c,0x69,0x64])&&_0x5e20e6();}function _0x3b7527(){const _0x12af70=window[_0x46c40e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46c40e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46c40e([0x6e,0x6f,0x77])]())[_0x46c40e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46c40e([0x2e]),'');let _0x148862=_0x46c40e([0x45]);for(let _0x7224ce=0x0;_0x7224ce<_0x12af70[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7224ce+=0x2){let _0x161edc=window[_0x46c40e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12af70[_0x46c40e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7224ce,_0x7224ce+0x2));_0x161edc>=_0x1c8ab3[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x161edc-=_0x1c8ab3[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x148862+=_0x1c8ab3[_0x161edc];}return _0x148862;}function _0x2339e6(){const _0x1ced7c=_0x45d41b[_0x46c40e([0x73,0x70,0x6c,0x69,0x74])](_0x46c40e([0x2e]));if(0x3!=_0x1ced7c[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x284d7f(_0x1ced7c[0x1]);function _0x284d7f(_0x3bbc59){const _0x4131c5=_0x4f339c(_0x3bbc59);return _0x4131c5&&_0x4bf090()?_0x4131c5:null;function _0x4bf090(){const _0x4fb10e=_0x4131c5[_0x46c40e([0x6a,0x74,0x69])],_0x5b9fea=window[_0x46c40e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fb10e[_0x46c40e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4fb10e[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cc27e={..._0x4131c5,[_0x46c40e([0x6a,0x74,0x69])]:_0x4fb10e[_0x46c40e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4fb10e[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cc27e[_0x46c40e([0x76,0x63])],_0x1d53be(_0x1cc27e)==_0x5b9fea;}}}async function _0x10e4e2(){let _0x3a2ae0=!0x0;try{const _0x15fd89=_0x45d41b[_0x46c40e([0x73,0x70,0x6c,0x69,0x74])](_0x46c40e([0x2e])),[_0x1ad9e6,_0x2c2943,_0x3d8a5f]=_0x15fd89;return _0x49e1b1(_0x1ad9e6),await _0x5aa04b(_0x1ad9e6,_0x2c2943,_0x3d8a5f),_0x3a2ae0;}catch{return!0x1;}function _0x49e1b1(_0x53e799){const _0x5793d8=_0x4f339c(_0x53e799);_0x5793d8&&_0x5793d8[_0x46c40e([0x61,0x6c,0x67])]==_0x46c40e([0x45,0x53,0x32,0x35,0x36])||(_0x3a2ae0=!0x1);}async function _0x5aa04b(_0x124877,_0x9d7f2b,_0x3f0f4b){const _0x426180=window[_0x46c40e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46c40e([0x66,0x72,0x6f,0x6d])](_0x472e14(_0x3f0f4b),_0x54352e=>_0x54352e[_0x46c40e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53692c=new window[(_0x46c40e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46c40e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x124877+_0x46c40e([0x2e])+_0x9d7f2b),_0x12ca23=window[_0x46c40e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46c40e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12ca23)return;const _0x1ce342=await _0x12ca23[_0x46c40e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46c40e([0x6a,0x77,0x6b]),_0x508f4a,{[_0x46c40e([0x6e,0x61,0x6d,0x65])]:_0x46c40e([0x45,0x43,0x44,0x53,0x41]),[_0x46c40e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46c40e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46c40e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12ca23[_0x46c40e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46c40e([0x6e,0x61,0x6d,0x65])]:_0x46c40e([0x45,0x43,0x44,0x53,0x41]),[_0x46c40e([0x68,0x61,0x73,0x68])]:{[_0x46c40e([0x6e,0x61,0x6d,0x65])]:_0x46c40e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ce342,_0x426180,_0x53692c)||(_0x3a2ae0=!0x1);}}function _0x4f339c(_0x357609){return _0x357609[_0x46c40e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46c40e([0x65,0x79]))?JSON[_0x46c40e([0x70,0x61,0x72,0x73,0x65])](_0x472e14(_0x357609)):null;}function _0x472e14(_0x521d4b){return window[_0x46c40e([0x61,0x74,0x6f,0x62])](_0x521d4b[_0x46c40e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46c40e([0x2b]))[_0x46c40e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46c40e([0x2f])));}function _0x1d53be(_0x39d376){let _0x5799b2=0x1505;function _0x56b21e(_0x3b5f87){for(let _0x235924=0x0;_0x235924<_0x3b5f87[_0x46c40e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x235924++){const _0x36db82=_0x3b5f87[_0x46c40e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x235924);_0x5799b2=(_0x5799b2<<0x5)+_0x5799b2+_0x36db82,_0x5799b2&=_0x5799b2;}}function _0x31bf91(_0xa6fe9c){Array[_0x46c40e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa6fe9c)?_0xa6fe9c[_0x46c40e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31bf91):_0xa6fe9c&&typeof _0xa6fe9c==_0x46c40e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46c40e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa6fe9c)[_0x46c40e([0x73,0x6f,0x72,0x74])]()[_0x46c40e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b86ef,_0x4b6cf8])=>{_0x56b21e(_0x3b86ef),_0x31bf91(_0x4b6cf8);}):_0x56b21e(window[_0x46c40e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa6fe9c));}return _0x31bf91(_0x39d376),_0x5799b2>>>0x0;}function _0x4f67ed(_0x1dd160){return _0x1dd160[_0x46c40e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46c40e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46c40e([0x30]));}function _0x465cff(_0x24a02b){return _0x24a02b[_0x46c40e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46c40e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46c40e([0x6a,0x6f,0x69,0x6e])]('');}function _0x5653f5(){}function _0x46c40e(_0x401019){return _0x401019['map'](_0x52cadc=>String['fromCharCode'](_0x52cadc))['join']('');}_0x3902d6(await _0x1a1642());}(this);}['_announceCaseChangeOperation'](_0x1fb39d){const {ui:_0x7d94f2,locale:_0x49bcde}=this['editor'],_0x58c2c1=y(_0x49bcde)['find'](_0x5b0d3d=>_0x5b0d3d['commandName']===_0x1fb39d)['label']['toLowerCase']();_0x7d94f2['ariaLiveAnnouncer']['announce'](u(_0x49bcde,'Changed\x20case\x20to\x20%0',_0x58c2c1));}}function y(_0x5efb41){return[{'label':u(_0x5efb41,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x5efb41,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x5efb41,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x25827d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3fc1dc=this['editor'];this['_registerComponents'](),_0x3fc1dc['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x3fc1dc['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2297b0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x57f78c;for(const _0x3e62bf in _0x2297b0){const _0x5740d3=_0x3e62bf,_0x2bb5bd=_0x2297b0[_0x5740d3];if('caseChangeLicenseKeyValid'==_0x2bb5bd||'caseChangeLicenseKeyInvalid'==_0x2bb5bd||'caseChangeLicenseKeyExpired'==_0x2bb5bd||'caseChangeLicenseKeyDomainLimit'==_0x2bb5bd||'caseChangeLicenseKeyNotAllowed'==_0x2bb5bd||'caseChangeLicenseKeyEvaluationLimit'==_0x2bb5bd||'caseChangeLicenseKeyUsageLimit'==_0x2bb5bd){delete _0x2297b0[_0x5740d3],_0x57f78c=_0x2bb5bd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x57f78c&&_0x2297b0['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x57f78c&&_0x2297b0['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x57f78c&&_0x2297b0['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x57f78c&&_0x2297b0['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x57f78c&&_0x2297b0['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x57f78c&&_0x2297b0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x48c83f=this['editor'],{itemDefinitions:_0x5f0a88,commands:_0x735e9c}=this['_getListItemDefinitionsAndCommands']();_0x48c83f['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x5f0a88,_0x735e9c)),_0x48c83f['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x5f0a88,_0x735e9c));}['_createMenuBarMenuView'](_0x5ed591,_0x477070){const _0x5543c4=this['editor'],_0xc32be1=_0x5543c4['locale'],_0x30e438=new _0x5aa702(_0xc32be1),_0x30abd1=new _0x22d51c(_0xc32be1);_0x30abd1['set']({'ariaLabel':u(_0xc32be1,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x30e438['buttonView']),_0x30e438['bind']('isEnabled')['toMany'](_0x477070,'isEnabled',(..._0x4c4724)=>_0x4c4724['some'](_0x5d161c=>_0x5d161c));for(const _0x2fdb7c of _0x5ed591){const _0x4d5bee=new _0x2141ce(_0xc32be1,_0x30e438),_0x12cc12=new _0x11d390(_0xc32be1);_0x12cc12['delegate']('execute')['to'](_0x30e438),_0x12cc12['bind'](...Object['keys'](_0x2fdb7c['model']))['to'](_0x2fdb7c['model']),_0x12cc12['on']('execute',()=>{_0x5543c4['execute'](_0x2fdb7c['model']['commandName']),_0x5543c4['editing']['view']['focus']();}),_0x4d5bee['children']['add'](_0x12cc12),_0x30abd1['items']['add'](_0x4d5bee);}return _0x30e438['panelView']['children']['add'](_0x30abd1),_0x30e438;}['_createDropdownView'](_0x492622,_0x59a1f5){const _0x30b6b7=this['editor'],_0x307b44=_0x2734cd(_0x30b6b7['locale']);return this['_setButtonProperties'](_0x307b44['buttonView']),_0x307b44['buttonView']['set']({'tooltip':!0x0}),_0x307b44['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x40c662(_0x307b44,_0x492622,{'ariaLabel':u(_0x30b6b7['locale'],'Case\x20change'),'role':'menu'}),_0x307b44['bind']('isEnabled')['toMany'](_0x59a1f5,'isEnabled',(..._0x34cd7d)=>_0x34cd7d['some'](_0x210ccd=>_0x210ccd)),this['listenTo'](_0x307b44,'execute',_0x410d53=>{_0x30b6b7['execute'](_0x410d53['source']['commandName']),_0x30b6b7['editing']['view']['focus']();}),_0x307b44;}['_setButtonProperties'](_0x30c9ee){const _0x450211=this['editor'];_0x30c9ee['set']({'label':u(_0x450211['locale'],'Case\x20change'),'icon':_0x3d66fd,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x36bae9=new _0x10f8bc(),_0x46b7b0=[];for(const _0x38445d of y(this['editor']['locale'])){const _0x561e71=this['editor']['commands']['get'](_0x38445d['commandName']),_0x3ceda4=new _0x30237c({'commandName':_0x38445d['commandName'],'label':_0x38445d['label'],'role':'menuitemradio','withText':!0x0});_0x3ceda4['bind']('isEnabled')['to'](_0x561e71,'isEnabled'),_0x36bae9['add']({'type':'button','model':_0x3ceda4}),_0x46b7b0['push'](_0x561e71);}return{'itemDefinitions':_0x36bae9,'commands':_0x46b7b0};}}class w extends _0x25827d{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": "47.4.0-alpha.
|
|
3
|
+
"version": "47.4.0-alpha.4",
|
|
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": "47.4.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-icons": "47.4.0-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-ui": "47.4.0-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-utils": "47.4.0-alpha.
|
|
34
|
-
"ckeditor5": "47.4.0-alpha.
|
|
30
|
+
"@ckeditor/ckeditor5-core": "47.4.0-alpha.4",
|
|
31
|
+
"@ckeditor/ckeditor5-icons": "47.4.0-alpha.4",
|
|
32
|
+
"@ckeditor/ckeditor5-ui": "47.4.0-alpha.4",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "47.4.0-alpha.4",
|
|
34
|
+
"ckeditor5": "47.4.0-alpha.4"
|
|
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 _0x4f9dc6=_0x2af9;(function(_0x1db2e0,_0x3b6d91){const _0xbea0b2=_0x2af9,_0x15abb2=_0x1db2e0();while(!![]){try{const _0x5c7562=-parseInt(_0xbea0b2(0x1d7))/0x1*(parseInt(_0xbea0b2(0x1b6))/0x2)+-parseInt(_0xbea0b2(0x1ad))/0x3+-parseInt(_0xbea0b2(0x1cd))/0x4+parseInt(_0xbea0b2(0x1ba))/0x5*(-parseInt(_0xbea0b2(0x1c4))/0x6)+-parseInt(_0xbea0b2(0x1be))/0x7*(-parseInt(_0xbea0b2(0x1bb))/0x8)+parseInt(_0xbea0b2(0x1a7))/0x9+parseInt(_0xbea0b2(0x1b8))/0xa;if(_0x5c7562===_0x3b6d91)break;else _0x15abb2['push'](_0x15abb2['shift']());}catch(_0x528ca5){_0x15abb2['push'](_0x15abb2['shift']());}}}(_0x1dd0,0xa3409));function _0x2af9(_0x3838a5,_0x25d9d6){const _0x1dd0ed=_0x1dd0();return _0x2af9=function(_0x2af96c,_0x384548){_0x2af96c=_0x2af96c-0x19b;let _0x41130e=_0x1dd0ed[_0x2af96c];return _0x41130e;},_0x2af9(_0x3838a5,_0x25d9d6);}import{Plugin as _0x590e67}from'ckeditor5/src/core.js';import{uid as _0x4377e3}from'ckeditor5/src/utils.js';import{CaseChangeCommand as _0x5c262e}from'./casechangecommand.js';import{getTranslation as _0x3699f6}from'./utils/common-translations.js';export class CaseChangeEditing extends _0x590e67{[_0x4f9dc6(0x19e)]=0x0;static get[_0x4f9dc6(0x1ae)](){const _0x47dc75=_0x4f9dc6;return _0x47dc75(0x1c5);}static get[_0x4f9dc6(0x1a2)](){return!0x0;}static get[_0x4f9dc6(0x1a9)](){return!0x0;}[_0x4f9dc6(0x1b9)](){const _0x18f9a2=_0x4f9dc6,_0x3053fe=this[_0x18f9a2(0x19b)],_0x39147a=_0x3053fe[_0x18f9a2(0x19f)][_0x18f9a2(0x1af)],_0x46a406=function(_0x497faf=[]){const _0x3df089=_0x18f9a2;return _0x3df089(0x1d1)==typeof _0x497faf?_0x497faf:(_0x3c1ac4,{wordIndex:_0x44ab87})=>_0x44ab87>0x0&&_0x497faf[_0x3df089(0x1b1)](_0x3c1ac4);}(_0x3053fe[_0x18f9a2(0x1d6)][_0x18f9a2(0x1bc)](_0x18f9a2(0x19c))),_0x5685d4={'changeCaseUpper':new _0x5c262e(_0x3053fe,_0x8c536b=>_0x8c536b[_0x18f9a2(0x1a3)](_0x39147a)),'changeCaseLower':new _0x5c262e(_0x3053fe,_0x8921e=>_0x8921e[_0x18f9a2(0x1cc)](_0x39147a)),'changeCaseTitle':new _0x5c262e(_0x3053fe,_0x1387f8=>function(_0x1a4e06,_0x3fe7c5,_0xeffcb4){return function(_0x219515,_0xe887a1){const _0xce6fe2=_0x2af9;let _0x24bec0='',_0x51accb=0x0,_0x1e2d75=0x0;for(const _0x585006 of _0x219515[_0xce6fe2(0x19d)](/ +/g)){const _0x1950a6=_0x585006[_0xce6fe2(0x1ce)],_0x7a313a=_0x219515[_0xce6fe2(0x1d2)](_0x51accb,_0x1950a6);_0x7a313a[_0xce6fe2(0x1ca)]&&(_0x24bec0+=_0xe887a1(_0x7a313a,_0x51accb,_0x1e2d75++)),_0x24bec0+=_0x585006[0x0],_0x51accb=_0x1950a6+_0x585006[0x0][_0xce6fe2(0x1ca)];}const _0xd77322=_0x219515[_0xce6fe2(0x1d2)](_0x51accb);return _0xd77322[_0xce6fe2(0x1ca)]&&(_0x24bec0+=_0xe887a1(_0xd77322,_0x51accb,_0x1e2d75)),_0x24bec0;}(_0x1a4e06,(_0x2d1ebb,_0x148795,_0x45bfb5)=>{const _0xf97a8c=_0x2af9,_0x5c7a3a=_0x2d1ebb[_0xf97a8c(0x1cc)](_0xeffcb4);return _0x3fe7c5(_0x5c7a3a,{'charOffset':_0x148795,'wordIndex':_0x45bfb5,'blockText':_0x1a4e06})?_0x5c7a3a:_0x5c7a3a[_0xf97a8c(0x1aa)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x110746=>_0x110746[_0xf97a8c(0x1a3)](_0xeffcb4));});}(_0x1387f8,_0x46a406,_0x39147a))};for(const [_0x3b34e9,_0xe90b70]of Object[_0x18f9a2(0x1c6)](_0x5685d4))_0x3053fe[_0x18f9a2(0x1d8)][_0x18f9a2(0x1a4)](_0x3b34e9,_0xe90b70),_0xe90b70['on'](_0x18f9a2(0x1c9),()=>{const _0x24a78b=_0x18f9a2;this[_0x24a78b(0x1a8)](_0x3b34e9);});this[_0x18f9a2(0x1a6)](_0x3053fe[_0x18f9a2(0x1b0)][_0x18f9a2(0x1a0)][_0x18f9a2(0x1bd)],_0x18f9a2(0x1cb),()=>{const _0x4b6744=_0x18f9a2;this[_0x4b6744(0x19e)]=0x0;}),_0x3053fe[_0x18f9a2(0x1d3)][_0x18f9a2(0x1d0)](_0x18f9a2(0x1b4),(_0x8bc96,_0x10b37b)=>{const _0x518604=_0x18f9a2,_0x42f001=_getOptions(this[_0x518604(0x19b)][_0x518604(0x19f)]),_0x42cb74=_0x42f001[this[_0x518604(0x19e)]%_0x42f001[_0x518604(0x1ca)]][_0x518604(0x1d4)];_0x3053fe[_0x518604(0x1c9)](_0x42cb74),this[_0x518604(0x19e)]++,_0x10b37b();});}[_0x4f9dc6(0x1c7)](){!async function(_0x5358dc){const _0x5932d8=_0x41030b([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x1cae18=0x334129cd,_0x1af463=0x3346574d^_0x1cae18,_0x1fc964=window[_0x41030b([0x44,0x61,0x74,0x65])][_0x41030b([0x6e,0x6f,0x77])](),_0x2d1881=_0x5358dc[_0x41030b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a9c99=new window[(_0x41030b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f91b8=>{_0x2d1881[_0x41030b([0x6f,0x6e,0x63,0x65])](_0x41030b([0x72,0x65,0x61,0x64,0x79]),_0x1f91b8);}),_0x272a78={[_0x41030b([0x6b,0x74,0x79])]:_0x41030b([0x45,0x43]),[_0x41030b([0x75,0x73,0x65])]:_0x41030b([0x73,0x69,0x67]),[_0x41030b([0x63,0x72,0x76])]:_0x41030b([0x50,0x2d,0x32,0x35,0x36]),[_0x41030b([0x78])]:_0x41030b([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]),[_0x41030b([0x79])]:_0x41030b([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]),[_0x41030b([0x61,0x6c,0x67])]:_0x41030b([0x45,0x53,0x32,0x35,0x36])},_0x1bf757=_0x2d1881[_0x41030b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41030b([0x67,0x65,0x74])](_0x41030b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b8427(){let _0x57e2ab,_0x4bca1c=null,_0x18d934=null;try{if(_0x1bf757==_0x41030b([0x47,0x50,0x4c]))return _0x41030b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57e2ab=_0x5af276(),!_0x57e2ab)return _0x41030b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57e2ab[_0x41030b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18d934=_0xa5cfc9(_0x57e2ab[_0x41030b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57e2ab[_0x41030b([0x6a,0x74,0x69])])),await _0x3a5fa8()?_0x3ed177()?_0x2b9255()?_0x41030b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x422499()?(_0x57e2ab[_0x41030b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41030b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4bca1c=_0x48111f(_0x41030b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28900c()):_0x41030b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41030b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41030b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x41030b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b9255(){const _0x4ed17c=[_0x41030b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41030b([0x74,0x72,0x69,0x61,0x6c])][_0x41030b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57e2ab[_0x41030b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fc964/0x3e8:0xe10*_0x1af463;return _0x57e2ab[_0x41030b([0x65,0x78,0x70])]<_0x4ed17c;}function _0x3ed177(){const _0x485f41=_0x57e2ab[_0x41030b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x485f41&&(!!_0x485f41[_0x41030b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41030b([0x2a]))||(!!_0x485f41[_0x41030b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41030b([0x43,0x43]))||!!_0x485f41[_0x41030b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41030b([0x50,0x50]))));}function _0x422499(){const _0xd156a=_0x2af9,_0x13611b=_0x57e2ab[_0x41030b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13611b||0x0==_0x13611b[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5256ee}=new URL(window[_0x41030b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xd156a(0x1cf)]);if(_0x13611b[_0x41030b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5256ee))return!0x0;const _0x406510=_0x5256ee[_0x41030b([0x73,0x70,0x6c,0x69,0x74])](_0x41030b([0x2e]));return _0x13611b[_0x41030b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d25aa=>_0x4d25aa[_0x41030b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41030b([0x2a])))[_0x41030b([0x6d,0x61,0x70])](_0x1b550e=>_0x1b550e[_0x41030b([0x73,0x70,0x6c,0x69,0x74])](_0x41030b([0x2e])))[_0x41030b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x407ce1=>_0x407ce1[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x406510[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41030b([0x6d,0x61,0x70])](_0x521c4d=>Array(_0x406510[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x521c4d[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41030b([0x66,0x69,0x6c,0x6c])](_0x521c4d[0x0]===_0x41030b([0x2a])?_0x41030b([0x2a]):'')[_0x41030b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x521c4d))[_0x41030b([0x73,0x6f,0x6d,0x65])](_0x300511=>_0x406510[_0x41030b([0x65,0x76,0x65,0x72,0x79])]((_0x234577,_0x3d4513)=>_0x300511[_0x3d4513]===_0x234577||_0x300511[_0x3d4513]===_0x41030b([0x2a])));}function _0x28900c(){return _0x4bca1c&&_0x18d934?new window[(_0x41030b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bb343,_0x5b7b7a)=>{_0x4bca1c[_0x41030b([0x74,0x68,0x65,0x6e])](_0x5bb343,_0x5b7b7a),_0x18d934[_0x41030b([0x74,0x68,0x65,0x6e])](_0x1983be=>{_0x1983be!=_0x41030b([0x56,0x61,0x6c,0x69,0x64])&&_0x5bb343(_0x1983be);},_0x5b7b7a);}):_0x4bca1c||_0x18d934||_0x41030b([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa5cfc9(_0x13885b,_0x4bd873){return new window[(_0x41030b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b1b26=>{if(_0x44645e())return _0x1b1b26(_0x41030b([0x56,0x61,0x6c,0x69,0x64]));_0x6cd399(),_0x2d1881[_0x41030b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41030b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ee226=!0x1;const _0x32ea38=_0x4377e3();function _0x4a52ef(_0x27e8c3){return!!_0x27e8c3&&(typeof _0x27e8c3===_0x41030b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27e8c3===_0x41030b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27e8c3[_0x41030b([0x74,0x68,0x65,0x6e])]===_0x41030b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27e8c3[_0x41030b([0x63,0x61,0x74,0x63,0x68])]===_0x41030b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5011ff(_0x20a243){_0x8d3da6(_0x20a243)[_0x41030b([0x74,0x68,0x65,0x6e])](_0x3fed24=>{if(!_0x3fed24||_0x3fed24[_0x41030b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41030b([0x6f,0x6b]))return _0x41030b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d3adb(_0x1a0cbd(_0x32ea38+_0x4bd873))!=_0x3fed24[_0x41030b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41030b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41030b([0x56,0x61,0x6c,0x69,0x64]);})[_0x41030b([0x74,0x68,0x65,0x6e])](_0x12609e=>(_0x371aec(),_0x12609e),()=>{const _0x4e6f72=_0x371f33();return null==_0x4e6f72?(_0x371aec(),_0x41030b([0x56,0x61,0x6c,0x69,0x64])):_0x41030b(_0x1fc964-_0x4e6f72>(0x174dadcd^_0x1cae18)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41030b([0x74,0x68,0x65,0x6e])](_0x1b1b26)[_0x41030b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b1b26(_0x41030b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x746d01=0x3377c74d^_0x1cae18;function _0x371aec(){const _0xf260e0=_0x41030b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d3adb(_0x1a0cbd(_0x13885b)),_0xe2cfb=_0x1889ea(_0x1d3adb(window[_0x41030b([0x4d,0x61,0x74,0x68])][_0x41030b([0x63,0x65,0x69,0x6c])](_0x1fc964/_0x746d01)));window[_0x41030b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41030b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf260e0,_0xe2cfb);}function _0x371f33(){const _0x4b3d1e=_0x41030b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d3adb(_0x1a0cbd(_0x13885b)),_0x5c9e89=window[_0x41030b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41030b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b3d1e);return _0x5c9e89?window[_0x41030b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1889ea(_0x5c9e89),0x10)*_0x746d01:null;}function _0x8d3da6(_0x382c7c){return new window[(_0x41030b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x149d02,_0x820f71)=>{_0x382c7c[_0x41030b([0x74,0x68,0x65,0x6e])](_0x149d02,_0x820f71),window[_0x41030b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x820f71,0x3340fd0d^_0x1cae18);});}}_0x2d1881[_0x41030b([0x6f,0x6e])](_0x41030b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x45cb48,_0xb950b4)=>{if(_0xb950b4[0x0]!=_0x13885b)return _0x1b1b26(_0x41030b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb950b4[0x1]={..._0xb950b4[0x1],[_0x41030b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32ea38};},{[_0x41030b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41030b([0x68,0x69,0x67,0x68])}),_0x2d1881[_0x41030b([0x6f,0x6e])](_0x41030b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c1afa=>{_0x4a52ef(_0x2c1afa[_0x41030b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ee226=!0x0,_0x5011ff(_0x2c1afa[_0x41030b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41030b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41030b([0x6c,0x6f,0x77])}),_0x4a9c99[_0x41030b([0x74,0x68,0x65,0x6e])](()=>{_0x1ee226||_0x1b1b26(_0x41030b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44645e(){return _0x2d1881[_0x41030b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41030b([0x76,0x69,0x65,0x77])][_0x41030b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41030b([0x61,0x75,0x74,0x6f]);}function _0x6cd399(){_0x2d1881[_0x41030b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41030b([0x76,0x69,0x65,0x77])][_0x41030b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41030b([0x61,0x75,0x74,0x6f]);}}function _0x48111f(_0x501ff7){const _0x1c972a=[new window[(_0x41030b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x280734=>setTimeout(_0x280734,0x33481701^_0x1cae18)),_0x4a9c99[_0x41030b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41030b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c6741=>{let _0x51a4ba=0x0;_0x2d1881[_0x41030b([0x6d,0x6f,0x64,0x65,0x6c])][_0x41030b([0x6f,0x6e])](_0x41030b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14480a,_0x3532ca)=>{_0x3532ca[0x0][_0x41030b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51a4ba++,_0x51a4ba==(0x33412c25^_0x1cae18)&&(_0x3c6741(),_0x14480a[_0x41030b([0x6f,0x66,0x66])]());});}))];return window[_0x41030b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41030b([0x72,0x61,0x63,0x65])](_0x1c972a)[_0x41030b([0x74,0x68,0x65,0x6e])](()=>_0x501ff7);}async function _0x36cc66(){await _0x4a9c99,_0x2d1881[_0x41030b([0x6d,0x6f,0x64,0x65,0x6c])][_0x41030b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2eb158,_0x2d1881[_0x41030b([0x6d,0x6f,0x64,0x65,0x6c])][_0x41030b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2eb158,_0x2d1881[_0x41030b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41030b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5780a8(_0x416adc){const _0xdf0add=_0x30b541();_0x2d1881[_0xdf0add]=_0x41030b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x416adc,_0x416adc!=_0x41030b([0x56,0x61,0x6c,0x69,0x64])&&_0x36cc66();}function _0x30b541(){const _0x4b107b=window[_0x41030b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41030b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41030b([0x6e,0x6f,0x77])]())[_0x41030b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41030b([0x2e]),'');let _0xdef41e=_0x41030b([0x45]);for(let _0x40cce9=0x0;_0x40cce9<_0x4b107b[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40cce9+=0x2){let _0x44222e=window[_0x41030b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b107b[_0x41030b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40cce9,_0x40cce9+0x2));_0x44222e>=_0x5932d8[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44222e-=_0x5932d8[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xdef41e+=_0x5932d8[_0x44222e];}return _0xdef41e;}function _0x5af276(){const _0x59f1e4=_0x1bf757[_0x41030b([0x73,0x70,0x6c,0x69,0x74])](_0x41030b([0x2e]));if(0x3!=_0x59f1e4[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x355e56(_0x59f1e4[0x1]);function _0x355e56(_0xfa03c4){const _0x1b3674=_0x1f8c65(_0xfa03c4);return _0x1b3674&&_0x311bc5()?_0x1b3674:null;function _0x311bc5(){const _0x299fa5=_0x1b3674[_0x41030b([0x6a,0x74,0x69])],_0x4a2fd4=window[_0x41030b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x299fa5[_0x41030b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x299fa5[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x281024={..._0x1b3674,[_0x41030b([0x6a,0x74,0x69])]:_0x299fa5[_0x41030b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x299fa5[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x281024[_0x41030b([0x76,0x63])],_0x1a0cbd(_0x281024)==_0x4a2fd4;}}}async function _0x3a5fa8(){let _0x5e6e52=!0x0;try{const _0x40e794=_0x1bf757[_0x41030b([0x73,0x70,0x6c,0x69,0x74])](_0x41030b([0x2e])),[_0x3290e9,_0x588082,_0x1e93d1]=_0x40e794;return _0x18cc26(_0x3290e9),await _0x53e729(_0x3290e9,_0x588082,_0x1e93d1),_0x5e6e52;}catch{return!0x1;}function _0x18cc26(_0x280644){const _0x906e03=_0x1f8c65(_0x280644);_0x906e03&&_0x906e03[_0x41030b([0x61,0x6c,0x67])]==_0x41030b([0x45,0x53,0x32,0x35,0x36])||(_0x5e6e52=!0x1);}async function _0x53e729(_0x2fb621,_0x44a625,_0x5b5cfe){const _0x55e63f=window[_0x41030b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41030b([0x66,0x72,0x6f,0x6d])](_0x103634(_0x5b5cfe),_0x2b22ce=>_0x2b22ce[_0x41030b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d9b65=new window[(_0x41030b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41030b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2fb621+_0x41030b([0x2e])+_0x44a625),_0x641b=window[_0x41030b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41030b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x641b)return;const _0x2967d3=await _0x641b[_0x41030b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41030b([0x6a,0x77,0x6b]),_0x272a78,{[_0x41030b([0x6e,0x61,0x6d,0x65])]:_0x41030b([0x45,0x43,0x44,0x53,0x41]),[_0x41030b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41030b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41030b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x641b[_0x41030b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41030b([0x6e,0x61,0x6d,0x65])]:_0x41030b([0x45,0x43,0x44,0x53,0x41]),[_0x41030b([0x68,0x61,0x73,0x68])]:{[_0x41030b([0x6e,0x61,0x6d,0x65])]:_0x41030b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2967d3,_0x55e63f,_0x5d9b65)||(_0x5e6e52=!0x1);}}function _0x1f8c65(_0x30f8b4){return _0x30f8b4[_0x41030b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41030b([0x65,0x79]))?JSON[_0x41030b([0x70,0x61,0x72,0x73,0x65])](_0x103634(_0x30f8b4)):null;}function _0x103634(_0x10566b){return window[_0x41030b([0x61,0x74,0x6f,0x62])](_0x10566b[_0x41030b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41030b([0x2b]))[_0x41030b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41030b([0x2f])));}function _0x1a0cbd(_0x4878f1){let _0x2db701=0x1505;function _0x152cab(_0x483e55){for(let _0x2c8a29=0x0;_0x2c8a29<_0x483e55[_0x41030b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c8a29++){const _0x450207=_0x483e55[_0x41030b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c8a29);_0x2db701=(_0x2db701<<0x5)+_0x2db701+_0x450207,_0x2db701&=_0x2db701;}}function _0x401602(_0x517d21){Array[_0x41030b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x517d21)?_0x517d21[_0x41030b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x401602):_0x517d21&&typeof _0x517d21==_0x41030b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41030b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x517d21)[_0x41030b([0x73,0x6f,0x72,0x74])]()[_0x41030b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x23e015,_0x32da7b])=>{_0x152cab(_0x23e015),_0x401602(_0x32da7b);}):_0x152cab(window[_0x41030b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x517d21));}return _0x401602(_0x4878f1),_0x2db701>>>0x0;}function _0x1d3adb(_0x2a7188){return _0x2a7188[_0x41030b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41030b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41030b([0x30]));}function _0x1889ea(_0x1bb243){return _0x1bb243[_0x41030b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41030b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41030b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2eb158(){}function _0x41030b(_0x31210e){const _0x4407ba=_0x2af9;return _0x31210e[_0x4407ba(0x1c1)](_0x3f5236=>String[_0x4407ba(0x1a1)](_0x3f5236))[_0x4407ba(0x1b5)]('');}_0x5780a8(await _0x4b8427());}(this);}[_0x4f9dc6(0x1a8)](_0x44d9a9){const _0x590dd8=_0x4f9dc6,{ui:_0x370238,locale:_0x32869c}=this[_0x590dd8(0x19b)],_0x3c33d3=_getOptions(_0x32869c)[_0x590dd8(0x1c3)](_0x456afa=>_0x456afa[_0x590dd8(0x1d4)]===_0x44d9a9)[_0x590dd8(0x1bf)][_0x590dd8(0x1d5)]();_0x370238[_0x590dd8(0x1b2)][_0x590dd8(0x1c8)](_0x3699f6(_0x32869c,_0x590dd8(0x1b3),_0x3c33d3));}}export function _getOptions(_0x4e18d5){const _0x398df9=_0x4f9dc6;return[{'label':_0x3699f6(_0x4e18d5,_0x398df9(0x1ab)),'commandName':_0x398df9(0x1b7)},{'label':_0x3699f6(_0x4e18d5,_0x398df9(0x1c0)),'commandName':_0x398df9(0x1ac)},{'label':_0x3699f6(_0x4e18d5,_0x398df9(0x1a5)),'commandName':_0x398df9(0x1c2)}];}function _0x1dd0(){const _0x14f064=['commandName','toLowerCase','config','64007QzAhfW','commands','editor','caseChange.titleCase.excludeWords','matchAll','_currentCommandIndex','locale','view','fromCharCode','isOfficialPlugin','toLocaleUpperCase','add','Title\x20Case','listenTo','4259196uodeec','_announceCaseChangeOperation','isPremiumPlugin','replace','UPPERCASE','changeCaseLower','110502qbRuFY','pluginName','contentLanguage','editing','includes','ariaLiveAnnouncer','Changed\x20case\x20to\x20%0','shift+f3','join','6iLHDIp','changeCaseUpper','12061980sikIPh','init','1935920gqIzhb','24egAfbr','get','document','2888865LqHfBU','label','lowercase','map','changeCaseTitle','find','12QqVNPr','CaseChangeEditing','entries','afterInit','announce','execute','length','selectionChange','toLocaleLowerCase','4982492VVBOiK','index','href','set','function','substring','keystrokes'];_0x1dd0=function(){return _0x14f064;};return _0x1dd0();}
|
|
23
|
+
const _0x5e0ebd=_0x446c;(function(_0x9326b1,_0x32f75d){const _0x1824c9=_0x446c,_0x553d9b=_0x9326b1();while(!![]){try{const _0x5cab62=parseInt(_0x1824c9(0xc3))/0x1*(parseInt(_0x1824c9(0xd0))/0x2)+-parseInt(_0x1824c9(0xd2))/0x3+-parseInt(_0x1824c9(0xb4))/0x4*(-parseInt(_0x1824c9(0xd4))/0x5)+-parseInt(_0x1824c9(0xbb))/0x6*(parseInt(_0x1824c9(0xc0))/0x7)+-parseInt(_0x1824c9(0xd9))/0x8*(-parseInt(_0x1824c9(0xb0))/0x9)+-parseInt(_0x1824c9(0xa5))/0xa+-parseInt(_0x1824c9(0xb3))/0xb;if(_0x5cab62===_0x32f75d)break;else _0x553d9b['push'](_0x553d9b['shift']());}catch(_0x6c543b){_0x553d9b['push'](_0x553d9b['shift']());}}}(_0xd72d,0x2780e));import{Plugin as _0x11a354}from'ckeditor5/src/core.js';import{uid as _0x21fdaa}from'ckeditor5/src/utils.js';import{CaseChangeCommand as _0x15d016}from'./casechangecommand.js';import{getTranslation as _0x305402}from'./utils/common-translations.js';export class CaseChangeEditing extends _0x11a354{[_0x5e0ebd(0xd6)]=0x0;static get[_0x5e0ebd(0xd8)](){const _0x464c26=_0x5e0ebd;return _0x464c26(0xc9);}static get[_0x5e0ebd(0xdb)](){return!0x0;}static get[_0x5e0ebd(0xc6)](){return!0x0;}[_0x5e0ebd(0xb6)](){const _0x35a751=_0x5e0ebd,_0x42562c=this[_0x35a751(0xa7)],_0x1c8009=_0x42562c[_0x35a751(0xa0)][_0x35a751(0xd1)],_0x15fa41=function(_0x126588=[]){const _0x153db0=_0x35a751;return _0x153db0(0xb2)==typeof _0x126588?_0x126588:(_0x24ef08,{wordIndex:_0x5da1de})=>_0x5da1de>0x0&&_0x126588[_0x153db0(0xc1)](_0x24ef08);}(_0x42562c[_0x35a751(0xac)][_0x35a751(0xa8)](_0x35a751(0xbd))),_0x1769d0={'changeCaseUpper':new _0x15d016(_0x42562c,_0x285c83=>_0x285c83[_0x35a751(0xcd)](_0x1c8009)),'changeCaseLower':new _0x15d016(_0x42562c,_0x149cc3=>_0x149cc3[_0x35a751(0xc7)](_0x1c8009)),'changeCaseTitle':new _0x15d016(_0x42562c,_0x36e76c=>function(_0x2f9195,_0x73d88f,_0x3af099){return function(_0x35671c,_0x518532){const _0x4b5b55=_0x446c;let _0x189992='',_0x512888=0x0,_0x334cf3=0x0;for(const _0x30fcd2 of _0x35671c[_0x4b5b55(0x9d)](/ +/g)){const _0x461efd=_0x30fcd2[_0x4b5b55(0xda)],_0x4bcac8=_0x35671c[_0x4b5b55(0xad)](_0x512888,_0x461efd);_0x4bcac8[_0x4b5b55(0xc8)]&&(_0x189992+=_0x518532(_0x4bcac8,_0x512888,_0x334cf3++)),_0x189992+=_0x30fcd2[0x0],_0x512888=_0x461efd+_0x30fcd2[0x0][_0x4b5b55(0xc8)];}const _0x5f3a43=_0x35671c[_0x4b5b55(0xad)](_0x512888);return _0x5f3a43[_0x4b5b55(0xc8)]&&(_0x189992+=_0x518532(_0x5f3a43,_0x512888,_0x334cf3)),_0x189992;}(_0x2f9195,(_0x26503b,_0x12f154,_0x152aac)=>{const _0x6b6efb=_0x446c,_0x2e6481=_0x26503b[_0x6b6efb(0xc7)](_0x3af099);return _0x73d88f(_0x2e6481,{'charOffset':_0x12f154,'wordIndex':_0x152aac,'blockText':_0x2f9195})?_0x2e6481:_0x2e6481[_0x6b6efb(0x9f)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x28171b=>_0x28171b[_0x6b6efb(0xcd)](_0x3af099));});}(_0x36e76c,_0x15fa41,_0x1c8009))};for(const [_0x1fcf36,_0x3af0da]of Object[_0x35a751(0xaf)](_0x1769d0))_0x42562c[_0x35a751(0xcc)][_0x35a751(0xa6)](_0x1fcf36,_0x3af0da),_0x3af0da['on'](_0x35a751(0xc2),()=>{const _0x146639=_0x35a751;this[_0x146639(0xab)](_0x1fcf36);});this[_0x35a751(0xa4)](_0x42562c[_0x35a751(0xd3)][_0x35a751(0xae)][_0x35a751(0xbf)],_0x35a751(0xc4),()=>{const _0x32234c=_0x35a751;this[_0x32234c(0xd6)]=0x0;}),_0x42562c[_0x35a751(0xce)][_0x35a751(0xd5)](_0x35a751(0xba),(_0x3da488,_0x26dd76)=>{const _0x25baab=_0x35a751,_0x3a14c3=_getOptions(this[_0x25baab(0xa7)][_0x25baab(0xa0)]),_0x15ffd3=_0x3a14c3[this[_0x25baab(0xd6)]%_0x3a14c3[_0x25baab(0xc8)]][_0x25baab(0xa2)];_0x42562c[_0x25baab(0xc2)](_0x15ffd3),this[_0x25baab(0xd6)]++,_0x26dd76();});}[_0x5e0ebd(0xa1)](){!async function(_0x382372){const _0x5e7dc0=_0x301013([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0xf21f6c=0x334129cd,_0x27458b=0x33465755^_0xf21f6c,_0x497d78=window[_0x301013([0x44,0x61,0x74,0x65])][_0x301013([0x6e,0x6f,0x77])](),_0x38555e=_0x382372[_0x301013([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25d115=new window[(_0x301013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x279b5f=>{_0x38555e[_0x301013([0x6f,0x6e,0x63,0x65])](_0x301013([0x72,0x65,0x61,0x64,0x79]),_0x279b5f);}),_0x3bc8e9={[_0x301013([0x6b,0x74,0x79])]:_0x301013([0x45,0x43]),[_0x301013([0x75,0x73,0x65])]:_0x301013([0x73,0x69,0x67]),[_0x301013([0x63,0x72,0x76])]:_0x301013([0x50,0x2d,0x32,0x35,0x36]),[_0x301013([0x78])]:_0x301013([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]),[_0x301013([0x79])]:_0x301013([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]),[_0x301013([0x61,0x6c,0x67])]:_0x301013([0x45,0x53,0x32,0x35,0x36])},_0x9c33df=_0x38555e[_0x301013([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x301013([0x67,0x65,0x74])](_0x301013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf07717(){let _0x38ced6,_0xd37e50=null,_0x176673=null;try{if(_0x9c33df==_0x301013([0x47,0x50,0x4c]))return _0x301013([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38ced6=_0x3f2a0f(),!_0x38ced6)return _0x301013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38ced6[_0x301013([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x176673=_0x152cae(_0x38ced6[_0x301013([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38ced6[_0x301013([0x6a,0x74,0x69])])),await _0x313411()?_0x247cdc()?_0x4e5f29()?_0x301013([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f27c1()?(_0x38ced6[_0x301013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x301013([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd37e50=_0x1e0386(_0x301013([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x288fb3()):_0x301013([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x301013([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x301013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x301013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e5f29(){const _0x286b5b=[_0x301013([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x301013([0x74,0x72,0x69,0x61,0x6c])][_0x301013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38ced6[_0x301013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x497d78/0x3e8:0xe10*_0x27458b;return _0x38ced6[_0x301013([0x65,0x78,0x70])]<_0x286b5b;}function _0x247cdc(){const _0x46fee6=_0x38ced6[_0x301013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46fee6&&(!!_0x46fee6[_0x301013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301013([0x2a]))||(!!_0x46fee6[_0x301013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301013([0x43,0x43]))||!!_0x46fee6[_0x301013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301013([0x50,0x50]))));}function _0x5f27c1(){const _0xeeff47=_0x446c,_0xa41ec4=_0x38ced6[_0x301013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa41ec4||0x0==_0xa41ec4[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8e35fa}=new URL(window[_0x301013([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xeeff47(0xb1)]);if(_0xa41ec4[_0x301013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8e35fa))return!0x0;const _0x3171a5=_0x8e35fa[_0x301013([0x73,0x70,0x6c,0x69,0x74])](_0x301013([0x2e]));return _0xa41ec4[_0x301013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14f721=>_0x14f721[_0x301013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301013([0x2a])))[_0x301013([0x6d,0x61,0x70])](_0x5d99cb=>_0x5d99cb[_0x301013([0x73,0x70,0x6c,0x69,0x74])](_0x301013([0x2e])))[_0x301013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35df18=>_0x35df18[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3171a5[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x301013([0x6d,0x61,0x70])](_0xf0bde=>Array(_0x3171a5[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf0bde[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x301013([0x66,0x69,0x6c,0x6c])](_0xf0bde[0x0]===_0x301013([0x2a])?_0x301013([0x2a]):'')[_0x301013([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf0bde))[_0x301013([0x73,0x6f,0x6d,0x65])](_0x4b4584=>_0x3171a5[_0x301013([0x65,0x76,0x65,0x72,0x79])]((_0x228703,_0x4f818e)=>_0x4b4584[_0x4f818e]===_0x228703||_0x4b4584[_0x4f818e]===_0x301013([0x2a])));}function _0x288fb3(){return _0xd37e50&&_0x176673?new window[(_0x301013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x581005,_0x41dea7)=>{_0xd37e50[_0x301013([0x74,0x68,0x65,0x6e])](_0x581005,_0x41dea7),_0x176673[_0x301013([0x74,0x68,0x65,0x6e])](_0x1946bd=>{_0x1946bd!=_0x301013([0x56,0x61,0x6c,0x69,0x64])&&_0x581005(_0x1946bd);},_0x41dea7);}):_0xd37e50||_0x176673||_0x301013([0x56,0x61,0x6c,0x69,0x64]);}}function _0x152cae(_0x1cd8b6,_0x6d8c4){return new window[(_0x301013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24664c=>{if(_0x1dd42e())return _0x24664c(_0x301013([0x56,0x61,0x6c,0x69,0x64]));_0x1bb3e0(),_0x38555e[_0x301013([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x301013([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1485ae=!0x1;const _0x7f995c=_0x21fdaa();function _0x18c224(_0x48a790){return!!_0x48a790&&(typeof _0x48a790===_0x301013([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x48a790===_0x301013([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x48a790[_0x301013([0x74,0x68,0x65,0x6e])]===_0x301013([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x48a790[_0x301013([0x63,0x61,0x74,0x63,0x68])]===_0x301013([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33601c(_0x16f905){_0x51f00b(_0x16f905)[_0x301013([0x74,0x68,0x65,0x6e])](_0x4f81b3=>{if(!_0x4f81b3||_0x4f81b3[_0x301013([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x301013([0x6f,0x6b]))return _0x301013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ff5ab(_0x56c513(_0x7f995c+_0x6d8c4))!=_0x4f81b3[_0x301013([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x301013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x301013([0x56,0x61,0x6c,0x69,0x64]);})[_0x301013([0x74,0x68,0x65,0x6e])](_0x4fbc8a=>(_0x1b0a29(),_0x4fbc8a),()=>{const _0x4ba64a=_0x44b92d();return null==_0x4ba64a?(_0x1b0a29(),_0x301013([0x56,0x61,0x6c,0x69,0x64])):_0x301013(_0x497d78-_0x4ba64a>(0x174dadcd^_0xf21f6c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x301013([0x74,0x68,0x65,0x6e])](_0x24664c)[_0x301013([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24664c(_0x301013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f5410=0x3377c74d^_0xf21f6c;function _0x1b0a29(){const _0x7b9d31=_0x301013([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ff5ab(_0x56c513(_0x1cd8b6)),_0x474406=_0x36d8af(_0x2ff5ab(window[_0x301013([0x4d,0x61,0x74,0x68])][_0x301013([0x63,0x65,0x69,0x6c])](_0x497d78/_0x5f5410)));window[_0x301013([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x301013([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7b9d31,_0x474406);}function _0x44b92d(){const _0x307f0d=_0x301013([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ff5ab(_0x56c513(_0x1cd8b6)),_0x5c1dad=window[_0x301013([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x301013([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x307f0d);return _0x5c1dad?window[_0x301013([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36d8af(_0x5c1dad),0x10)*_0x5f5410:null;}function _0x51f00b(_0x2e51da){return new window[(_0x301013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ab4a3,_0x65a0d)=>{_0x2e51da[_0x301013([0x74,0x68,0x65,0x6e])](_0x1ab4a3,_0x65a0d),window[_0x301013([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x65a0d,0x3340fd0d^_0xf21f6c);});}}_0x38555e[_0x301013([0x6f,0x6e])](_0x301013([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bc4fc,_0x5f2e9b)=>{if(_0x5f2e9b[0x0]!=_0x1cd8b6)return _0x24664c(_0x301013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f2e9b[0x1]={..._0x5f2e9b[0x1],[_0x301013([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7f995c};},{[_0x301013([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x301013([0x68,0x69,0x67,0x68])}),_0x38555e[_0x301013([0x6f,0x6e])](_0x301013([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x506028=>{_0x18c224(_0x506028[_0x301013([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1485ae=!0x0,_0x33601c(_0x506028[_0x301013([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x301013([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x301013([0x6c,0x6f,0x77])}),_0x25d115[_0x301013([0x74,0x68,0x65,0x6e])](()=>{_0x1485ae||_0x24664c(_0x301013([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1dd42e(){return _0x38555e[_0x301013([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x301013([0x76,0x69,0x65,0x77])][_0x301013([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x301013([0x61,0x75,0x74,0x6f]);}function _0x1bb3e0(){_0x38555e[_0x301013([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x301013([0x76,0x69,0x65,0x77])][_0x301013([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x301013([0x61,0x75,0x74,0x6f]);}}function _0x1e0386(_0x26b1ba){const _0x51c296=[new window[(_0x301013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16584e=>setTimeout(_0x16584e,0x33481701^_0xf21f6c)),_0x25d115[_0x301013([0x74,0x68,0x65,0x6e])](()=>new window[(_0x301013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30e2c9=>{let _0x582c30=0x0;_0x38555e[_0x301013([0x6d,0x6f,0x64,0x65,0x6c])][_0x301013([0x6f,0x6e])](_0x301013([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x479db4,_0x36c7e8)=>{_0x36c7e8[0x0][_0x301013([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x582c30++,_0x582c30==(0x33412c25^_0xf21f6c)&&(_0x30e2c9(),_0x479db4[_0x301013([0x6f,0x66,0x66])]());});}))];return window[_0x301013([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x301013([0x72,0x61,0x63,0x65])](_0x51c296)[_0x301013([0x74,0x68,0x65,0x6e])](()=>_0x26b1ba);}async function _0xda0be5(){await _0x25d115,_0x38555e[_0x301013([0x6d,0x6f,0x64,0x65,0x6c])][_0x301013([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x31cf07,_0x38555e[_0x301013([0x6d,0x6f,0x64,0x65,0x6c])][_0x301013([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x31cf07,_0x38555e[_0x301013([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x301013([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f357f(_0x5d15cd){const _0x15fccd=_0x3e0af6();_0x38555e[_0x15fccd]=_0x301013([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d15cd,_0x5d15cd!=_0x301013([0x56,0x61,0x6c,0x69,0x64])&&_0xda0be5();}function _0x3e0af6(){const _0xabd82a=window[_0x301013([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x301013([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x301013([0x6e,0x6f,0x77])]())[_0x301013([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x301013([0x2e]),'');let _0x34d122=_0x301013([0x45]);for(let _0x35dad4=0x0;_0x35dad4<_0xabd82a[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35dad4+=0x2){let _0x353fd2=window[_0x301013([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xabd82a[_0x301013([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35dad4,_0x35dad4+0x2));_0x353fd2>=_0x5e7dc0[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x353fd2-=_0x5e7dc0[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34d122+=_0x5e7dc0[_0x353fd2];}return _0x34d122;}function _0x3f2a0f(){const _0x3b55fc=_0x9c33df[_0x301013([0x73,0x70,0x6c,0x69,0x74])](_0x301013([0x2e]));if(0x3!=_0x3b55fc[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37d6e1(_0x3b55fc[0x1]);function _0x37d6e1(_0x2e026a){const _0x27f300=_0x584236(_0x2e026a);return _0x27f300&&_0x551795()?_0x27f300:null;function _0x551795(){const _0x363df9=_0x27f300[_0x301013([0x6a,0x74,0x69])],_0x4109b1=window[_0x301013([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x363df9[_0x301013([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x363df9[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21edde={..._0x27f300,[_0x301013([0x6a,0x74,0x69])]:_0x363df9[_0x301013([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x363df9[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21edde[_0x301013([0x76,0x63])],_0x56c513(_0x21edde)==_0x4109b1;}}}async function _0x313411(){let _0x5506b6=!0x0;try{const _0x45e5f6=_0x9c33df[_0x301013([0x73,0x70,0x6c,0x69,0x74])](_0x301013([0x2e])),[_0x3f8a89,_0x378a82,_0x55f065]=_0x45e5f6;return _0x766d50(_0x3f8a89),await _0x568339(_0x3f8a89,_0x378a82,_0x55f065),_0x5506b6;}catch{return!0x1;}function _0x766d50(_0x52201a){const _0x237e0e=_0x584236(_0x52201a);_0x237e0e&&_0x237e0e[_0x301013([0x61,0x6c,0x67])]==_0x301013([0x45,0x53,0x32,0x35,0x36])||(_0x5506b6=!0x1);}async function _0x568339(_0x20373e,_0x4ffbc9,_0x61c4f2){const _0xc7c23f=window[_0x301013([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x301013([0x66,0x72,0x6f,0x6d])](_0x5e5379(_0x61c4f2),_0x34432c=>_0x34432c[_0x301013([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x409f0f=new window[(_0x301013([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x301013([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20373e+_0x301013([0x2e])+_0x4ffbc9),_0x53cf47=window[_0x301013([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x301013([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53cf47)return;const _0x1e366d=await _0x53cf47[_0x301013([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x301013([0x6a,0x77,0x6b]),_0x3bc8e9,{[_0x301013([0x6e,0x61,0x6d,0x65])]:_0x301013([0x45,0x43,0x44,0x53,0x41]),[_0x301013([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x301013([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x301013([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53cf47[_0x301013([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x301013([0x6e,0x61,0x6d,0x65])]:_0x301013([0x45,0x43,0x44,0x53,0x41]),[_0x301013([0x68,0x61,0x73,0x68])]:{[_0x301013([0x6e,0x61,0x6d,0x65])]:_0x301013([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e366d,_0xc7c23f,_0x409f0f)||(_0x5506b6=!0x1);}}function _0x584236(_0x4285b2){return _0x4285b2[_0x301013([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x301013([0x65,0x79]))?JSON[_0x301013([0x70,0x61,0x72,0x73,0x65])](_0x5e5379(_0x4285b2)):null;}function _0x5e5379(_0x5d85e4){return window[_0x301013([0x61,0x74,0x6f,0x62])](_0x5d85e4[_0x301013([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x301013([0x2b]))[_0x301013([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x301013([0x2f])));}function _0x56c513(_0x4df093){let _0x3de246=0x1505;function _0x257889(_0xebedd0){for(let _0x496b1f=0x0;_0x496b1f<_0xebedd0[_0x301013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x496b1f++){const _0x26c414=_0xebedd0[_0x301013([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x496b1f);_0x3de246=(_0x3de246<<0x5)+_0x3de246+_0x26c414,_0x3de246&=_0x3de246;}}function _0x182952(_0x5f566f){Array[_0x301013([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f566f)?_0x5f566f[_0x301013([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x182952):_0x5f566f&&typeof _0x5f566f==_0x301013([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x301013([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f566f)[_0x301013([0x73,0x6f,0x72,0x74])]()[_0x301013([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xad0e72,_0x471c45])=>{_0x257889(_0xad0e72),_0x182952(_0x471c45);}):_0x257889(window[_0x301013([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f566f));}return _0x182952(_0x4df093),_0x3de246>>>0x0;}function _0x2ff5ab(_0x28556f){return _0x28556f[_0x301013([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x301013([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x301013([0x30]));}function _0x36d8af(_0xbcef1f){return _0xbcef1f[_0x301013([0x73,0x70,0x6c,0x69,0x74])]('')[_0x301013([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x301013([0x6a,0x6f,0x69,0x6e])]('');}function _0x31cf07(){}function _0x301013(_0x34cec1){const _0x316680=_0x446c;return _0x34cec1[_0x316680(0xcf)](_0x2bee00=>String[_0x316680(0xd7)](_0x2bee00))[_0x316680(0xb8)]('');}_0x4f357f(await _0xf07717());}(this);}[_0x5e0ebd(0xab)](_0xda7859){const _0x26b3af=_0x5e0ebd,{ui:_0x4a0769,locale:_0x44ca1d}=this[_0x26b3af(0xa7)],_0x476b90=_getOptions(_0x44ca1d)[_0x26b3af(0xb9)](_0x1a07c2=>_0x1a07c2[_0x26b3af(0xa2)]===_0xda7859)[_0x26b3af(0xc5)][_0x26b3af(0xa9)]();_0x4a0769[_0x26b3af(0xa3)][_0x26b3af(0xaa)](_0x305402(_0x44ca1d,_0x26b3af(0xca),_0x476b90));}}function _0x446c(_0x1f4fd1,_0x44be7b){const _0xd72d0d=_0xd72d();return _0x446c=function(_0x446c46,_0x1b45d1){_0x446c46=_0x446c46-0x9d;let _0x3ffe70=_0xd72d0d[_0x446c46];return _0x3ffe70;},_0x446c(_0x1f4fd1,_0x44be7b);}function _0xd72d(){const _0x3acd6c=['selectionChange','label','isPremiumPlugin','toLocaleLowerCase','length','CaseChangeEditing','Changed\x20case\x20to\x20%0','UPPERCASE','commands','toLocaleUpperCase','keystrokes','map','96QTsSsz','contentLanguage','312528nplaQy','editing','25FmaYUM','set','_currentCommandIndex','fromCharCode','pluginName','6672iasfVg','index','isOfficialPlugin','matchAll','Title\x20Case','replace','locale','afterInit','commandName','ariaLiveAnnouncer','listenTo','938960MtJKmp','add','editor','get','toLowerCase','announce','_announceCaseChangeOperation','config','substring','view','entries','2844EQyCrs','href','function','2630628nACTfB','209368wpvZCM','changeCaseUpper','init','changeCaseTitle','join','find','shift+f3','12iWvIPa','lowercase','caseChange.titleCase.excludeWords','changeCaseLower','document','792974mJglNw','includes','execute','6257LcgLNz'];_0xd72d=function(){return _0x3acd6c;};return _0xd72d();}export function _getOptions(_0x20981b){const _0xbffc04=_0x5e0ebd;return[{'label':_0x305402(_0x20981b,_0xbffc04(0xcb)),'commandName':_0xbffc04(0xb5)},{'label':_0x305402(_0x20981b,_0xbffc04(0xbc)),'commandName':_0xbffc04(0xbe)},{'label':_0x305402(_0x20981b,_0xbffc04(0x9e)),'commandName':_0xbffc04(0xb7)}];}
|