@ckeditor/ckeditor5-case-change
Version:
Case change feature for CKEditor 5.
5 lines • 22.5 kB
JavaScript
!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Case change":"Case change","Change text case":"Change text case","Changed case to %0":"Changed case to %0",lowercase:"lowercase","Title Case":"Title Case",UPPERCASE:"UPPERCASE"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
/*!
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/(()=>{var e={237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{CaseChange:()=>x,CaseChangeCommand:()=>a,CaseChangeEditing:()=>h,CaseChangeUI:()=>I});var e=n(782),t=n(584);const r=i;function i(e,t){const n=o();return(i=function(e,t){return n[e-=441]})(e,t)}function o(){const e=["getItems","isEnabled","createRangeOn","selection","21931150LRKtev","3511144PAgXKO","add","$textProxy","setSelection","createSelection","editor","change","_replaceTextNodeData","has","_getElementTextContent","6eeYEoK","5614784DKTJoq","_findAncestorTextBlock","_getElementsAllowingText","endOffset","schema","from","startOffset","refresh","document","getFirstPosition","_getTextNodesRangeLimited","isCollapsed","getChildren","getRanges","9Axhjtg","model","parent","700900MJpWVc","item","element","_transformCallback","getAttributes","getIntersection","insertContent","execute","213qBUHyp","404409GoaggH","getWalker","substring","createText","$text","_modifyContent","isLimit","reduce","3433135qDgDSY","10010RcMPBZ","_getAffectedRanges","createRangeIn","checkChild","data"];return(o=function(){return e})()}!function(e){const t=i,n=e();for(;;)try{if(429219===-parseInt(t(467))/1+-parseInt(t(476))/2*(-parseInt(t(466))/3)+parseInt(t(458))/4+parseInt(t(475))/5*(-parseInt(t(496))/6)+-parseInt(t(486))/7+-parseInt(t(441))/8+-parseInt(t(455))/9*(-parseInt(t(485))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(461)];constructor(e,t){const n=r;super(e),this[n(461)]=t}[r(465)](){const e=r,t=this[e(491)][e(456)],n=Array[e(446)](this[e(477)]()),s=Array[e(446)](t[e(449)][e(484)][e(454)]());t[e(492)](t=>{const r=e;for(const e of n)this[r(472)](e,t);t[r(489)](s)})}[r(448)](){const e=r;for(const t of this[e(477)]())for(const n of t)if(n[e(459)].is(e(488)))return void(this[e(482)]=!0);this[e(482)]=!1}[r(477)](){const e=r,t=this[e(491)][e(456)],n=t[e(449)][e(484)];if(n[e(452)]){const s=this[e(442)](n[e(450)]()[e(457)]);return s?[t[e(478)](s)]:[]}return n[e(454)]()}[r(472)](e,t){const n=r;for(const s of this[n(443)](e)){const r=this[n(495)](s),i=this[n(461)](r);for(const r of this[n(451)](s,e))this[n(493)](r,i,t)}}[r(442)](e){const t=r,n=this[t(491)][t(456)][t(445)];if(e.is(t(460))&&n[t(479)](e,t(471)))return e;const s=e[t(457)];return!s||n[t(473)](e)?null:this[t(442)](s)}*[r(443)](e){const t=r,n=new Set;for(const{item:s}of e[t(468)]()){const e=this[t(442)](s);e&&!n[t(494)](e)&&(n[t(487)](e),yield e)}}[r(495)](e){const t=r;return Array[t(446)](e[t(453)]())[t(474)]((e,n)=>e+(n.is(t(471))?n[t(480)]:" "),"")}*[r(451)](e,t){const n=r,s=t[n(463)](this[n(491)][n(456)][n(478)](e));if(s)for(const t of s[n(481)]())t.is(n(488))&&t[n(457)]==e&&(yield t)}[r(493)](e,t,n){const s=r,i=t[s(469)](e[s(447)],e[s(444)]);if(i===e[s(480)])return;const o=e[s(462)]();this[s(491)][s(456)][s(464)](n[s(470)](i,o),n[s(490)](n[s(483)](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}}function u(){const e=["editor","ariaLiveAnnouncer","map","execute","caseChange.titleCase.excludeWords","includes","toLocaleUpperCase","isPremiumPlugin","Changed case to %0","_currentCommandIndex","6251ZGuXFb","length","label","join","shift+f3","locale","listenTo","set","entries","_announceCaseChangeOperation","get","changeCaseLower","substring","keystrokes","matchAll","selectionChange","Title Case","115048IFGchN","announce","changeCaseUpper","changeCaseTitle","isOfficialPlugin","config","editing","lowercase","242022LdmbTo","document","afterInit","href","init","commandName","pluginName","UPPERCASE","toLocaleLowerCase","contentLanguage","toLowerCase","replace","find","2916nVssAa","3049200PBscMn","CaseChangeEditing","36525250lqbyjZ","2AdqWWc","fromCharCode","commands","index","3344970ozrfFe","2503023ifPsqB","view","function","add","153lIQbID"];return(u=function(){return e})()}const f=l;function l(e,t){const n=u();return(l=function(e,t){return n[e-=210]})(e,t)}!function(e){const t=l,n=e();for(;;)try{if(466393===-parseInt(t(223))/1+-parseInt(t(240))/2*(parseInt(t(245))/3)+-parseInt(t(237))/4+-parseInt(t(244))/5+parseInt(t(236))/6*(-parseInt(t(260))/7)+-parseInt(t(215))/8*(parseInt(t(249))/9)+parseInt(t(239))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(u);class h extends e.Plugin{[f(259)]=0;static get[f(229)](){return f(238)}static get[f(219)](){return!0}static get[f(257)](){return!0}[f(227)](){const e=f,t=this[e(250)],n=t[e(265)][e(232)],s=function(t=[]){const n=e;return n(247)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(255)](e)}(t[e(220)][e(270)](e(254))),r={changeCaseUpper:new a(t,t=>t[e(256)](n)),changeCaseLower:new a(t,t=>t[e(231)](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(212)](/ +/g)){const a=o[n(243)],c=e[n(210)](r,a);c[n(261)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(261)]}const o=e[n(210)](r);return o[n(261)]&&(s+=t(o,r,i)),s}(t=e,(e,n,s)=>{const o=l,a=e[o(231)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(234)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[o(256)](i))});var t,r,i})};for(const[n,s]of Object[e(268)](r))t[e(242)][e(248)](n,s),s.on(e(253),()=>{this[e(269)](n)});this[e(266)](t[e(221)][e(246)][e(224)],e(213),()=>{this[e(259)]=0}),t[e(211)][e(267)](e(264),(n,s)=>{const r=e,i=d(this[r(250)][r(265)]),o=i[this[r(259)]%i[r(261)]][r(228)];t[r(253)](o),this[r(259)]++,s()})}[f(225)](){!async function(e){const n=w([86,81,80,69,101,122,119,49,108,73,87,107,98,55,54,70,82,77,109,116,72,114,115,76,53,104,85,103,65,57,102,120,118,71,75,79,67,106,97,99,51,100,83,66,105,56,74,112,121,88,78,110,68,117,50,113,89,90,84,111,48,52]),s=window[w([68,97,116,101])][w([110,111,119])](),r=e[w([101,100,105,116,111,114])],i=new(window[w([80,114,111,109,105,115,101])])(e=>{r[w([111,110,99,101])](w([114,101,97,100,121]),e)}),o={[w([107,116,121])]:w([69,67]),[w([117,115,101])]:w([115,105,103]),[w([99,114,118])]:w([80,45,50,53,54]),[w([120])]:w([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[w([121])]:w([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[w([97,108,103])]:w([69,83,50,53,54])},a=r[w([99,111,110,102,105,103])][w([103,101,116])](w([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[w([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),i[w([116,104,101,110])](()=>new(window[w([80,114,111,109,105,115,101])])(e=>{let t=0;r[w([109,111,100,101,108])][w([111,110])](w([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,s)=>{s[0][w([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[w([111,102,102])]())})}))];return window[w([80,114,111,109,105,115,101])][w([114,97,99,101])](t)[w([116,104,101,110])](()=>e)}function u(e){return e[w([115,116,97,114,116,115,87,105,116,104])](w([101,121]))?JSON[w([112,97,114,115,101])](f(e)):null}function f(e){return window[w([97,116,111,98])](e[w([114,101,112,108,97,99,101])](/-/g,w([43]))[w([114,101,112,108,97,99,101])](/_/g,w([47])))}function h(e){let t=5381;function n(e){for(let n=0;n<e[w([108,101,110,103,116,104])];n++){const s=e[w([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[w([105,115,65,114,114,97,121])](t)?t[w([102,111,114,69,97,99,104])](e):t&&typeof t==w([111,98,106,101,99,116])?Object[w([101,110,116,114,105,101,115])](t)[w([115,111,114,116])]()[w([102,111,114,69,97,99,104])](([t,s])=>{n(t),e(s)}):n(window[w([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[w([116,111,83,116,114,105,110,103])](16)[w([112,97,100,83,116,97,114,116])](8,w([48]))}function p(e){return e[w([115,112,108,105,116])]("")[w([114,101,118,101,114,115,101])]()[w([106,111,105,110])]("")}function g(){}function w(e){const t=l;return e[t(252)](e=>String[t(241)](e))[t(263)]("")}!function(e){const t=function(){const e=window[w([83,116,114,105,110,103])](window[w([112,101,114,102,111,114,109,97,110,99,101])][w([110,111,119])]())[w([114,101,112,108,97,99,101])](w([46]),"");let t=w([86]);for(let s=0;s<e[w([108,101,110,103,116,104])];s+=2){let r=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[w([108,101,110,103,116,104])]&&(r-=n[w([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=w([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=w([86,97,108,105,100])&&async function(){await i,r[w([109,111,100,101,108])][w([99,104,97,110,103,101])]=g,r[w([109,111,100,101,108])][w([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[w([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](w([109,111,100,101,108]))}()}(await async function(){let e,n=null,g=null;try{return a==w([71,80,76])?w([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[w([115,112,108,105,116])](w([46]));return 3!=e[w([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[w([106,116,105])],n=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](e[w([108,101,110,103,116,104])]-8),16),s={...t,[w([106,116,105])]:e[w([115,117,98,115,116,114,105,110,103])](0,e[w([108,101,110,103,116,104])]-8)};return delete s[w([118,99])],h(s)==n}}}(),e?(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,n){return new(window[w([80,114,111,109,105,115,101])])(c=>{if(o())return c(w([86,97,108,105,100]));a(),r[w([100,101,99,111,114,97,116,101])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const f=(0,t.uid)();function l(e){return!!e&&(typeof e===w([111,98,106,101,99,116])||typeof e===w([102,117,110,99,116,105,111,110]))&&typeof e[w([116,104,101,110])]===w([102,117,110,99,116,105,111,110])&&typeof e[w([99,97,116,99,104])]===w([102,117,110,99,116,105,111,110])}function g(t){a(t)[w([116,104,101,110])](e=>e&&e[w([115,116,97,116,117,115])]==w([111,107])?d(h(f+n))!=e[w([118,101,114,105,102,105,99,97,116,105,111,110])]?w([85,115,97,103,101,76,105,109,105,116]):w([86,97,108,105,100]):w([85,115,97,103,101,76,105,109,105,116]))[w([116,104,101,110])](e=>(i(),e),()=>{const e=o();return null==e?(i(),w([86,97,108,105,100])):w(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[w([116,104,101,110])](c)[w([99,97,116,99,104])](()=>{c(w([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function i(){const t=w([108,108,99,116,45])+d(h(e)),n=p(d(window[w([77,97,116,104])][w([99,101,105,108])](s/r)));window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([115,101,116,73,116,101,109])](t,n)}function o(){const t=w([108,108,99,116,45])+d(h(e)),n=window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([103,101,116,73,116,101,109])](t);return n?window[w([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[w([80,114,111,109,105,115,101])])((t,n)=>{e[w([116,104,101,110])](t,n),window[w([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[w([111,110])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(w([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[w([114,101,113,117,101,115,116,73,100])]:f}},{[w([112,114,105,111,114,105,116,121])]:w([104,105,103,104])}),r[w([111,110])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{l(e[w([114,101,116,117,114,110])])&&(u=!0,g(e[w([114,101,116,117,114,110])]))},{[w([112,114,105,111,114,105,116,121])]:w([108,111,119])}),i[w([116,104,101,110])](()=>{u||c(w([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==w([97,117,116,111])}function a(){r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=w([97,117,116,111])}}(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[w([106,116,105])])),await async function(){let e=!0;try{const s=a[w([115,112,108,105,116])](w([46])),[r,i,o]=s;return t(r),await n(r,i,o),e}catch{return!1}function t(t){const n=u(t);n&&n[w([97,108,103])]==w([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[w([85,105,110,116,56,65,114,114,97,121])][w([102,114,111,109])](f(s),e=>e[w([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[w([84,101,120,116,69,110,99,111,100,101,114])]))[w([101,110,99,111,100,101])](t+w([46])+n),a=window[w([99,114,121,112,116,111])][w([115,117,98,116,108,101])];if(!a)return;const c=await a[w([105,109,112,111,114,116,75,101,121])](w([106,119,107]),o,{[w([110,97,109,101])]:w([69,67,68,83,65]),[w([110,97,109,101,100,67,117,114,118,101])]:w([80,45,50,53,54])},!1,[w([118,101,114,105,102,121])]);await a[w([118,101,114,105,102,121])]({[w([110,97,109,101])]:w([69,67,68,83,65]),[w([104,97,115,104])]:{[w([110,97,109,101])]:w([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[w([102,101,97,116,117,114,101,115])];return!(!t||!t[w([105,110,99,108,117,100,101,115])](w([42]))&&!t[w([105,110,99,108,117,100,101,115])](w([67,67]))&&!t[w([105,110,99,108,117,100,101,115])](w([80,80])))}()?function(){const t=[w([101,118,97,108,117,97,116,105,111,110]),w([116,114,105,97,108])][w([105,110,99,108,117,100,101,115])](e[w([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1754870400;return e[w([101,120,112])]<t}()?w([69,120,112,105,114,101,100]):function(){const t=l,n=e[w([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[w([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[w([108,111,99,97,116,105,111,110])][t(226)]);if(n[w([105,110,99,108,117,100,101,115])](s))return!0;const r=s[w([115,112,108,105,116])](w([46]));return n[w([102,105,108,116,101,114])](e=>e[w([105,110,99,108,117,100,101,115])](w([42])))[w([109,97,112])](e=>e[w([115,112,108,105,116])](w([46])))[w([102,105,108,116,101,114])](e=>e[w([108,101,110,103,116,104])]<=r[w([108,101,110,103,116,104])])[w([109,97,112])](e=>Array(r[w([108,101,110,103,116,104])]-e[w([108,101,110,103,116,104])])[w([102,105,108,108])](e[0]===w([42])?w([42]):"")[w([99,111,110,99,97,116])](e))[w([115,111,109,101])](e=>r[w([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===w([42])))}()?(e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([101,118,97,108,117,97,116,105,111,110])&&(n=c(w([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([116,114,105,97,108])&&(n=c(w([84,114,105,97,108,76,105,109,105,116]))),await(n&&g?new(window[w([80,114,111,109,105,115,101])])((e,t)=>{n[w([116,104,101,110])](e,t),g[w([116,104,101,110])](t=>{t!=w([86,97,108,105,100])&&e(t)},t)}):n||g||w([86,97,108,105,100]))):w([68,111,109,97,105,110,76,105,109,105,116]):w([78,111,116,65,108,108,111,119,101,100]):w([73,110,118,97,108,105,100])):w([73,110,118,97,108,105,100]))}catch{return w([73,110,118,97,108,105,100])}}())}(this)}[f(269)](e){const t=f,{ui:n,locale:s}=this[t(250)],r=d(s)[t(235)](n=>n[t(228)]===e)[t(262)][t(233)]();n[t(251)][t(216)](c(s,t(258),r))}}function d(e){const t=f;return[{label:c(e,t(230)),commandName:t(217)},{label:c(e,t(222)),commandName:t(271)},{label:c(e,t(214)),commandName:t(218)}]}var p=n(311),g=n(355);function w(){const e=["destroy","6nrqFEz","_registerComponents","evaluationLimit","isPremiumPlugin","locale","items","menuBar:caseChange","invalid","Case change","expired","caseChangeLicenseKeyExpired","listenTo","1983192qeDevX","2146585gcDcnp","caseChange","bind","isOfficialPlugin","_getListItemDefinitionsAndCommands","8002nzdJdp","execute","buttonView","commandName","caseChangeLicenseKeyInvalid","900968ZhjTZY","init","7630436CkjgeY","_showLicenseError","Shift+F3","_licenseKeyCheckInterval","source","addKeystrokeInfos","trialLimit","some","accessibility","24jrRuII","ck-case-change-dropdown","isEnabled","get","focus","button","panelView","toMany","editing","caseChangeLicenseKeyUsageLimit","45HQqIhO","domainLimit","menuitemradio","view","editor","featureNotAllowed","caseChangeLicenseKeyValid","caseChangeLicenseKeyDomainLimit","2052043CMCQQT","model","caseChangeLicenseKeyNotAllowed","8072250XaqCvD","children","3tigoNY","delegate","143vTwpLd","_setButtonProperties","caseChangeLicenseKeyTrialLimit","CaseChangeUI","CaseChange","_createDropdownView","push","config","label","commands","extendTemplate","_createMenuBarMenuView","add","pluginName","caseChangeLicenseKeyEvaluationLimit","Change text case","set","keys","componentFactory","licenseKey","usageLimit","menu","Shift+f3"];return(w=function(){return e})()}const m=C;function C(e,t){const n=w();return(C=function(e,t){return n[e-=275]})(e,t)}!function(e){const t=C,n=e();for(;;)try{if(734287===parseInt(t(291))/1*(parseInt(t(333))/2)+-parseInt(t(289))/3*(-parseInt(t(338))/4)+-parseInt(t(328))/5+parseInt(t(315))/6*(-parseInt(t(284))/7)+-parseInt(t(327))/8*(-parseInt(t(276))/9)+parseInt(t(287))/10+parseInt(t(340))/11*(-parseInt(t(349))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(w);class I extends e.Plugin{[m(310)];[m(343)];static get[m(304)](){return m(294)}static get[m(331)](){return!0}static get[m(318)](){return!0}[m(339)](){const e=m,t=this[e(280)];this[e(316)](),t[e(348)][e(345)]({keystrokes:[{label:c(t[e(319)],e(306)),keystroke:e(313),mayRequireFn:!0}]}),this[e(310)]=this[e(280)][e(298)][e(352)](e(310));const n=this[e(280)];this[e(343)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(282)==i||t(337)==i||t(325)==i||t(283)==i||t(286)==i||t(305)==i||t(293)==i||t(275)==i){delete n[r],s=i,clearInterval(this[t(343)]),this[t(343)]=void 0;break}}t(337)==s&&n[t(341)](t(322)),t(325)==s&&n[t(341)](t(324)),t(283)==s&&n[t(341)](t(277)),t(286)==s&&n[t(341)](t(281),t(295)),t(305)==s&&n[t(341)](t(317)),t(293)==s&&n[t(341)](t(346)),t(275)==s&&n[t(341)](t(311))},1e3)}[m(314)](){const e=m;super[e(314)](),this[e(343)]&&clearInterval(this[e(343)])}[m(316)](){const e=m,t=this[e(280)],{itemDefinitions:n,commands:s}=this[e(332)]();t.ui[e(309)][e(303)](e(329),()=>this[e(296)](n,s)),t.ui[e(309)][e(303)](e(321),()=>this[e(302)](n,s))}[m(302)](e,t){const n=m,s=this[n(280)],r=s[n(319)],i=new p.MenuBarMenuView(r),o=new p.MenuBarMenuListView(r);o[n(307)]({ariaLabel:c(r,n(323)),role:n(312)}),this[n(292)](i[n(335)]),i[n(330)](n(351))[n(356)](t,n(351),(...e)=>e[n(347)](e=>e));for(const t of e){const e=new p.MenuBarMenuListItemView(r,i),a=new p.MenuBarMenuListItemButtonView(r);a[n(290)](n(334)).to(i),a[n(330)](...Object[n(308)](t[n(285)])).to(t[n(285)]),a.on(n(334),()=>{const e=n;s[e(334)](t[e(285)][e(336)]),s[e(357)][e(279)][e(353)]()}),e[n(288)][n(303)](a),o[n(320)][n(303)](e)}return i[n(355)][n(288)][n(303)](o),i}[m(296)](e,t){const n=m,s=this[n(280)],r=(0,p.createDropdown)(s[n(319)]);return this[n(292)](r[n(335)]),r[n(335)][n(307)]({tooltip:!0}),r[n(301)]({attributes:{class:[n(350)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(319)],n(323)),role:n(312)}),r[n(330)](n(351))[n(356)](t,n(351),(...e)=>e[n(347)](e=>e)),this[n(326)](r,n(334),e=>{const t=n;s[t(334)](e[t(344)][t(336)]),s[t(357)][t(279)][t(353)]()}),r}[m(292)](e){const t=m,n=this[t(280)];e[t(307)]({label:c(n[t(319)],t(323)),icon:g.IconCaseChange,keystroke:t(342)})}[m(332)](){const e=m,n=new t.Collection,s=[];for(const t of d(this[e(280)][e(319)])){const r=this[e(280)][e(300)][e(352)](t[e(336)]),i=new p.UIModel({commandName:t[e(336)],label:t[e(299)],role:e(278),withText:!0});i[e(330)](e(351)).to(r,e(351)),n[e(303)]({type:e(354),model:i}),s[e(297)](r)}return{itemDefinitions:n,commands:s}}}var y=b;function b(e,t){var n=L();return(b=function(e,t){return n[e-=141]})(e,t)}function L(){var e=["CaseChange","1782iRTqxS","342909EDAsuV","12358QsAgDR","680qLONOL","53bGaAVX","299fLXqyx","isPremiumPlugin","2430911USMMco","isOfficialPlugin","72NZAXgB","148356ltZhKn","22286mBBusK","31292WeGaaP","8VZEqEB","requires","pluginName","1315crZjTy"];return(L=function(){return e})()}!function(e){for(var t=b,n=e();;)try{if(198335===parseInt(t(155))/1*(parseInt(t(153))/2)+-parseInt(t(142))/3*(-parseInt(t(145))/4)+parseInt(t(149))/5*(-parseInt(t(151))/6)+-parseInt(t(158))/7+parseInt(t(146))/8*(-parseInt(t(152))/9)+parseInt(t(154))/10*(-parseInt(t(144))/11)+-parseInt(t(143))/12*(-parseInt(t(156))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(L);class x extends e.Plugin{static get[y(147)](){return[h,I]}static get[y(148)](){return y(150)}static get[y(141)](){return!0}static get[y(157)](){return!0}}function P(e,t){var n=T();return(P=function(e,t){return n[e-=152]})(e,t)}function T(){var e=["5BEJCOw","4457761ygZQiu","146272cxLTKi","4QyMKpe","4ecbciP","1625382INgyow","105968dCIMZV","2211sRPCvQ","10460ntMIHK","4974678jzraND","5152272PtizQX"];return(T=function(){return e})()}!function(e){for(var t=P,n=e();;)try{if(470051===parseInt(t(161))/1*(parseInt(t(152))/2)+parseInt(t(153))/3*(-parseInt(t(162))/4)+-parseInt(t(159))/5*(-parseInt(t(158))/6)+parseInt(t(160))/7+-parseInt(t(154))/8+-parseInt(t(157))/9+-parseInt(t(156))/10*(parseInt(t(155))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T)})(),(window.CKEditor5=window.CKEditor5||{}).caseChange=s})();