@ckeditor/ckeditor5-template 47.2.0-alpha.4 → 47.2.0-alpha.5
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/template.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/templateui.js +1 -1
package/build/template.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},265:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},374:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(a[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},450:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],c=0;c<t.length;c++){var o=t[c],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},774:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(c,o[e]):t.appendChild(c)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},899:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(453),i=n.n(r),s=n(374),a=n.n(s)()(i());a.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const c=a}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>Q,TemplateCommand:()=>s,TemplateEditing:()=>l,TemplateUI:()=>R});var t=n(782);const e=i;function i(t,e){const n=a();return(i=function(t,e){return n[t-=241]})(t,e)}!function(t){const e=i,n=t();for(;;)try{if(998524===parseInt(e(246))/1*(parseInt(e(244))/2)+-parseInt(e(248))/3+-parseInt(e(250))/4*(parseInt(e(261))/5)+parseInt(e(260))/6+-parseInt(e(241))/7*(parseInt(e(258))/8)+-parseInt(e(247))/9*(parseInt(e(256))/10)+parseInt(e(254))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class s extends t.Command{[e(242)](t){const n=e,{model:r}=this[n(259)];let i;switch(typeof t){case n(243):i=t;break;case n(252):i=t()}n(243)==typeof i&&r[n(251)](()=>{const t=n,e=this[t(259)][t(249)][t(253)][t(245)](i),s=this[t(259)][t(249)][t(255)](e);r[t(257)](s)})}}function a(){const t=["data","163636enGEBg","change","function","htmlProcessor","48408547cSQWcu","toModel","9400670XsSYrN","insertContent","12557704GXrmeG","editor","9768300MBmmQm","145lpvwUD","7AwUkwN","execute","string","124OWdwHQ","toView","6394hHuOQd","9iUiNIQ","5191770WvmFLh"];return(a=function(){return t})()}const c=o;function o(t,e){const n=u();return(o=function(t,e){return n[t-=252]})(t,e)}!function(t){const e=o,n=t();for(;;)try{if(402779===-parseInt(e(266))/1*(-parseInt(e(274))/2)+parseInt(e(290))/3*(-parseInt(e(292))/4)+-parseInt(e(294))/5+parseInt(e(257))/6*(parseInt(e(293))/7)+-parseInt(e(262))/8*(-parseInt(e(254))/9)+-parseInt(e(268))/10+-parseInt(e(286))/11*(parseInt(e(256))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(u);class l extends t.Plugin{[c(270)];[c(261)];static get[c(253)](){return c(291)}static get[c(276)](){return!0}static get[c(269)](){return!0}[c(255)](){const t=c,{editor:e}=this;e[t(273)][t(289)](t(267),new s(e)),this[t(270)]=this[t(252)][t(277)][t(284)](t(270));const n=this[t(252)];this[t(261)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(281)==s||e(271)==s||e(279)==s||e(260)==s||e(288)==s||e(278)==s||e(285)==s||e(258)==s){delete n[i],r=s,clearInterval(this[e(261)]),this[e(261)]=void 0;break}}e(271)==r&&n[e(265)](e(272)),e(279)==r&&n[e(265)](e(280)),e(260)==r&&n[e(265)](e(275)),e(288)==r&&n[e(265)](e(283),e(282)),e(278)==r&&n[e(265)](e(264)),e(285)==r&&n[e(265)](e(287)),e(258)==r&&n[e(265)](e(263))},1e3)}[c(259)](){const t=c;super[t(259)](),this[t(261)]&&clearInterval(this[t(261)])}}function u(){const t=["usageLimit","evaluationLimit","_showLicenseError","1KnGNmS","insertTemplate","3465930hfbamA","isPremiumPlugin","licenseKey","templateLicenseKeyInvalid","invalid","commands","1443198KOqyLv","domainLimit","isOfficialPlugin","config","templateLicenseKeyEvaluationLimit","templateLicenseKeyExpired","expired","templateLicenseKeyValid","Template","featureNotAllowed","get","templateLicenseKeyTrialLimit","35849AJrTjf","trialLimit","templateLicenseKeyNotAllowed","add","402wlvRhy","TemplateEditing","13792WsArTu","7XbytCO","1358380QAaMca","editor","pluginName","9zHfzpg","init","852fbxpCK","1426506agANrw","templateLicenseKeyUsageLimit","destroy","templateLicenseKeyDomainLimit","_licenseKeyCheckInterval","6040952mFATnY"];return(u=function(){return t})()}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=449]})(t,e)}function k(){const t=["32986jfLClJ","1575790DPCCbv","2189808ZTBoXY","forEach","4xdjwyr","clear","943866WZoqbm","set","highlightText","4vHUuHP","filter","addMany","isVisible","items","buttonView","sort","_resetFiltering","848025dUWLEl","map","size","isMatching","get","2371201BgQgpT","title","originalIndex","3514680noDYvY","length"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(233635===parseInt(e(461))/1*(-parseInt(e(457))/2)+-parseInt(e(474))/3*(-parseInt(e(466))/4)+parseInt(e(458))/5+parseInt(e(463))/6+-parseInt(e(452))/7+parseInt(e(459))/8+-parseInt(e(455))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(467)](t){const e=m;if(!t)return this[e(473)]();const n=new Map,r=this[e(470)][e(475)](r=>{const i=e,s=r[i(471)][i(450)](t);return r[i(469)]=!!s,r[i(471)][i(465)](s?t:null),s&&n[i(464)](r,s),r})[e(472)](g)[e(472)]((i=n,function(t,e){const n=h,r=i[n(451)](t),s=i[n(451)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(453)]&&!s[n(453)]?-1:!r[n(453)]&&s[n(453)]?1:0:0}));var i;return this[e(470)][e(462)](),this[e(470)][e(468)](r),{resultsCount:n[e(449)],totalItemsCount:this[e(470)][e(456)]}}[m(473)](){const t=m,e=this[t(470)][t(475)](t=>t)[t(472)](g);return e[t(460)](e=>{const n=t;e[n(469)]=!0,e[n(471)][n(465)](null)}),this[t(470)][t(462)](),this[t(470)][t(468)](e),{resultsCount:e[t(456)],totalItemsCount:e[t(456)]}}}function g(t,e){const n=m;return t[n(454)]-e[n(454)]}function v(t,e){var n=b();return(v=function(t,e){return n[t-=143]})(t,e)}var I=v;function b(){var t=["638723TqtFlK","231KfvYCP","78muZHrc","5553785KFhrKl","buttonView","originalIndex","16137tlftTI","3685212yKzCck","1079448WeHRUu","282006pwGlCO","17167032BFxORl"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(880534===parseInt(e(153))/1+-parseInt(e(144))/2*(-parseInt(e(148))/3)+parseInt(e(149))/4+-parseInt(e(145))/5+-parseInt(e(151))/6*(parseInt(e(143))/7)+-parseInt(e(150))/8+parseInt(e(152))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(147)];[I(146)];constructor(t,e){var n=I;super(t),this[n(147)]=e,this[n(146)]=null}}const x=T;function _(){const t=["description","element","62808HOVWSQ","520DKBVFB","ck-template-form__description","div","locale","push","match","add","option","9224VHeBXH","iconView","highlightText","titleView","textPartView","labelView","190TOrosn","destroy","22794120ACDAGe","text","descriptionView","remove","extendTemplate","isColorInherited","ck-button__label","span","52968pTcPMK","setTemplate","402050hgOxVw","204fmeYDK","1727778dGOEkn","children","templateDefinition","title","143202AivCHG","render","413zVfTRM","4383YPhxez","ck-template-button","ck-template-form__text-part","set","isMatching"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=459]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(963440===parseInt(e(488))/1+-parseInt(e(484))/2*(-parseInt(e(487))/3)+-parseInt(e(459))/4*(parseInt(e(474))/5)+-parseInt(e(492))/6*(parseInt(e(494))/7)+parseInt(e(468))/8*(-parseInt(e(495))/9)+parseInt(e(460))/10*(parseInt(e(486))/11)+-parseInt(e(476))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class C extends f.ButtonView{[x(490)];[x(472)];constructor(t,e){const n=x;super(t),this[n(490)]=e,this[n(472)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(498)]({withText:!0,class:n(496),role:n(467),icon:r}),this[n(469)][n(481)]=!1}[x(493)](){const t=x;super[t(493)](),this[t(472)]=new L(this[t(463)],this[t(490)],this[t(473)][t(501)].id),this[t(489)][t(479)](this[t(473)]),this[t(489)][t(466)](this[t(472)])}[x(475)](){const t=x;super[t(475)](),this[t(473)][t(475)]()}[x(499)](t){const e=x,{title:n,description:r}=this[e(490)],i=!!n[e(465)](t),s=!(!r||!r[e(465)](t));return i||s?{title:i,description:s}:null}[x(470)](t){const e=x;this[e(472)][e(470)](t)}}class L extends f.View{constructor(t,e,n){const r=x;super(t),this[r(491)]=e[r(491)],this[r(500)]=e[r(500)],this[r(471)]=new f.HighlightedTextView,this[r(471)][r(477)]=this[r(491)],this[r(471)][r(480)]({tag:r(483),attributes:{class:[r(482)],id:n}});const i=[this[r(471)]];this[r(500)]&&(this[r(478)]=new f.HighlightedTextView,this[r(478)][r(477)]=this[r(500)],this[r(478)][r(480)]({tag:"p",attributes:{class:[r(461)]}}),i[r(464)](this[r(478)])),this[r(485)]({tag:r(462),attributes:{class:["ck",r(497)]},children:i})}[x(470)](t){const e=x;this[e(471)][e(470)](t),this[e(500)]&&this[e(478)][e(470)](t)}}function V(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var A=n(450),P=n.n(A),K=n(774),O=n.n(K),S=n(265),M=n.n(S),N=n(410),E=n.n(N),B=n(238),z=n.n(B),j=n(899),H={attributes:{"data-cke":!0}};H.setAttributes=E(),H.insert=M().bind(null,"head"),H.domAPI=O(),H.insertStyleElement=z();P()(j.A,H);j.A&&j.A.locals&&j.A.locals;const D=G;function F(){const t=["isEnabled","templateDefinition","1456955VajPDm","config","listbox","860zxlKxy","get","9ffoijD","ck-template-list","No templates available.","template.definitions","2085314UpPogY","menuBar:insertTemplate","extendTemplate","init","length","href","5739goHHrJ","isPremiumPlugin","panelView","addMany","%0 templates found","commands","join","isOfficialPlugin","data","focus","Please try a different phrase or check the spelling.","fromCharCode","6REASFR","items","pluginName","564420JwOxbO","source","editing","TemplateUI","_createTemplateListView","537077Wkzfar","view","componentFactory","add","execute","delegate","3605305pfPqum","buttonView","reset","80qbFXzJ","query","Template",'No templates were found matching "%0".',"resultsCount","Insert template","set","ariaLiveAnnouncer","announce","search","title","change:isOpen","icon","insertTemplate","bind","map","children","ck-template-form","3270952KzrJyc","ck-template-button","afterInit","Search template"];return(F=function(){return t})()}function G(t,e){const n=F();return(G=function(t,e){return n[t-=245]})(t,e)}!function(t){const e=G,n=t();for(;;)try{if(393296===-parseInt(e(286))/1+-parseInt(e(281))/2+-parseInt(e(266))/3*(parseInt(e(254))/4)+parseInt(e(251))/5*(-parseInt(e(278))/6)+-parseInt(e(260))/7+parseInt(e(245))/8*(-parseInt(e(256))/9)+-parseInt(e(295))/10*(-parseInt(e(292))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class R extends t.Plugin{static get[D(280)](){return D(284)}static get[D(273)](){return!0}static get[D(267)](){return!0}[D(263)](){const t=D,{editor:e}=this,n=e[t(252)][t(255)](t(259))||[];e.ui[t(288)][t(289)](t(308),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(285)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:V(r,i(248))},class:i(312),infoView:{text:{notFound:{primary:t=>V(r,i(298),t),secondary:V(r,i(276))},noSearchableItems:{primary:V(r,i(258))}}}}),o=e[i(271)][i(255)](i(308));return c.on(i(304),(t,n)=>{const s=i;n[s(296)]&&n[s(296)][s(264)]&&e.ui[s(302)][s(303)](V(r,s(270),n[s(299)]))}),s[i(309)](i(249)).to(o),s[i(268)][i(311)][i(289)](c),s[i(293)][i(301)]({label:V(r,i(300)),icon:p.IconTemplate,tooltip:!0}),s.on(i(306),(t,e,n)=>{n||c[i(294)]()}),s}),e.ui[t(288)][t(289)](t(261),r=>{const i=t,s=e[i(271)][i(255)](i(308)),a=new f.MenuBarMenuView(r);a[i(293)][i(301)]({label:V(r,i(297)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(264)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(301)]({label:V(r,i(258))}),n[i(291)](i(290)).to(a),n.on(i(290),()=>{const t=i;e[t(283)][t(287)][t(275)]()}),t[i(311)][i(289)](n),c[i(279)][i(289)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(301)]({class:i(246),label:t[i(305)],icon:t[i(307)]||p.IconTemplateGeneric}),s[i(291)](i(290)).to(a),s.on(i(290),()=>{const n=i;e[n(290)](n(308),t[n(274)]),e[n(283)][n(287)][n(275)]()}),n[i(311)][i(289)](s),c[i(279)][i(289)](n)}return a[i(268)][i(311)][i(289)](c),a[i(309)](i(249)).to(s,i(249)),a})}[D(247)](){!async function(t){const e=h([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([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]),[h([121])]:h([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]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function o(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=G;return t[e(310)](t=>String[e(277)](t))[e(272)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([103]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=o(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(c=>{if(s())return c(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){o(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](c)[h([99,97,116,99,104])](()=>{c(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function o(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(o=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{o||c(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function a(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=a[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=o(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),c=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!c)return;const o=await c[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await c[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},o,i,a)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]||e[h([105,110,99,108,117,100,101,115])](h([84,82,73,76,73,85,77]))&&window[h([103,108,111,98])]&&window[h([103,108,111,98])][h([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1762041600;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=G,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(265)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=c(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=c(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[D(285)](t,e){const n=D,{editor:r}=this,i=new w(t);return i[n(262)]({attributes:{role:n(253),class:[n(257)]}}),i[n(279)][n(269)](e[n(310)]((e,i)=>{const s=n,a=new y(t,i),c=new C(t,e);return a[s(293)]=c,a[s(311)][s(289)](c),a[s(293)].on(s(290),t=>{const e=s;r[e(290)](e(308),t[e(282)][e(250)][e(274)]),r[e(283)][e(287)][e(275)]()}),a})),i}}function q(t,e){var n=Y();return(q=function(t,e){return n[t-=257]})(t,e)}var W=q;function Y(){var t=["isOfficialPlugin","2349137BbiWRz","9912294paLWuq","4323232kBWYdk","requires","pluginName","7658496GCbRQP","2qKAfAc","2611656SzppNa","1247402bAPysR","Template","8lAQlso","isPremiumPlugin","333675kHKRFz"];return(Y=function(){return t})()}!function(t){for(var e=q,n=t();;)try{if(809870===parseInt(e(261))/1*(parseInt(e(263))/2)+parseInt(e(262))/3+-parseInt(e(257))/4+-parseInt(e(267))/5+parseInt(e(260))/6+-parseInt(e(269))/7*(parseInt(e(265))/8)+-parseInt(e(270))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class Q extends t.Plugin{static get[W(258)](){return[l,R]}static get[W(259)](){return W(264)}static get[W(268)](){return!0}static get[W(266)](){return!0}}function U(){var t=["2255906wQCOyH","1589SGFFav","9GlGmtE","868997DlqPaC","2028gpKjGv","4040064xtuKyk","18875nwnuhi","1530660LBCzNg","21336lTqvHe","19522660iYhYeO"];return(U=function(){return t})()}function J(t,e){var n=U();return(J=function(t,e){return n[t-=312]})(t,e)}!function(t){for(var e=J,n=t();;)try{if(687845===-parseInt(e(314))/1+parseInt(e(321))/2+-parseInt(e(318))/3+parseInt(e(316))/4+parseInt(e(317))/5*(parseInt(e(315))/6)+-parseInt(e(312))/7*(-parseInt(e(319))/8)+-parseInt(e(313))/9*(parseInt(e(320))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},265:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},374:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(a[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},450:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],c=0;c<t.length;c++){var o=t[c],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},774:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(c,o[e]):t.appendChild(c)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},899:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(453),i=n.n(r),s=n(374),a=n.n(s)()(i());a.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const c=a}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>U,TemplateCommand:()=>s,TemplateEditing:()=>l,TemplateUI:()=>Q});var t=n(782);const e=i;function i(t,e){const n=a();return(i=function(t,e){return n[t-=241]})(t,e)}!function(t){const e=i,n=t();for(;;)try{if(998524===parseInt(e(246))/1*(parseInt(e(244))/2)+-parseInt(e(248))/3+-parseInt(e(250))/4*(parseInt(e(261))/5)+parseInt(e(260))/6+-parseInt(e(241))/7*(parseInt(e(258))/8)+-parseInt(e(247))/9*(parseInt(e(256))/10)+parseInt(e(254))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class s extends t.Command{[e(242)](t){const n=e,{model:r}=this[n(259)];let i;switch(typeof t){case n(243):i=t;break;case n(252):i=t()}n(243)==typeof i&&r[n(251)](()=>{const t=n,e=this[t(259)][t(249)][t(253)][t(245)](i),s=this[t(259)][t(249)][t(255)](e);r[t(257)](s)})}}function a(){const t=["data","163636enGEBg","change","function","htmlProcessor","48408547cSQWcu","toModel","9400670XsSYrN","insertContent","12557704GXrmeG","editor","9768300MBmmQm","145lpvwUD","7AwUkwN","execute","string","124OWdwHQ","toView","6394hHuOQd","9iUiNIQ","5191770WvmFLh"];return(a=function(){return t})()}const c=o;function o(t,e){const n=u();return(o=function(t,e){return n[t-=252]})(t,e)}!function(t){const e=o,n=t();for(;;)try{if(402779===-parseInt(e(266))/1*(-parseInt(e(274))/2)+parseInt(e(290))/3*(-parseInt(e(292))/4)+-parseInt(e(294))/5+parseInt(e(257))/6*(parseInt(e(293))/7)+-parseInt(e(262))/8*(-parseInt(e(254))/9)+-parseInt(e(268))/10+-parseInt(e(286))/11*(parseInt(e(256))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(u);class l extends t.Plugin{[c(270)];[c(261)];static get[c(253)](){return c(291)}static get[c(276)](){return!0}static get[c(269)](){return!0}[c(255)](){const t=c,{editor:e}=this;e[t(273)][t(289)](t(267),new s(e)),this[t(270)]=this[t(252)][t(277)][t(284)](t(270));const n=this[t(252)];this[t(261)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(281)==s||e(271)==s||e(279)==s||e(260)==s||e(288)==s||e(278)==s||e(285)==s||e(258)==s){delete n[i],r=s,clearInterval(this[e(261)]),this[e(261)]=void 0;break}}e(271)==r&&n[e(265)](e(272)),e(279)==r&&n[e(265)](e(280)),e(260)==r&&n[e(265)](e(275)),e(288)==r&&n[e(265)](e(283),e(282)),e(278)==r&&n[e(265)](e(264)),e(285)==r&&n[e(265)](e(287)),e(258)==r&&n[e(265)](e(263))},1e3)}[c(259)](){const t=c;super[t(259)](),this[t(261)]&&clearInterval(this[t(261)])}}function u(){const t=["usageLimit","evaluationLimit","_showLicenseError","1KnGNmS","insertTemplate","3465930hfbamA","isPremiumPlugin","licenseKey","templateLicenseKeyInvalid","invalid","commands","1443198KOqyLv","domainLimit","isOfficialPlugin","config","templateLicenseKeyEvaluationLimit","templateLicenseKeyExpired","expired","templateLicenseKeyValid","Template","featureNotAllowed","get","templateLicenseKeyTrialLimit","35849AJrTjf","trialLimit","templateLicenseKeyNotAllowed","add","402wlvRhy","TemplateEditing","13792WsArTu","7XbytCO","1358380QAaMca","editor","pluginName","9zHfzpg","init","852fbxpCK","1426506agANrw","templateLicenseKeyUsageLimit","destroy","templateLicenseKeyDomainLimit","_licenseKeyCheckInterval","6040952mFATnY"];return(u=function(){return t})()}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=k();return(h=function(t,e){return n[t-=449]})(t,e)}function k(){const t=["32986jfLClJ","1575790DPCCbv","2189808ZTBoXY","forEach","4xdjwyr","clear","943866WZoqbm","set","highlightText","4vHUuHP","filter","addMany","isVisible","items","buttonView","sort","_resetFiltering","848025dUWLEl","map","size","isMatching","get","2371201BgQgpT","title","originalIndex","3514680noDYvY","length"];return(k=function(){return t})()}!function(t){const e=h,n=t();for(;;)try{if(233635===parseInt(e(461))/1*(-parseInt(e(457))/2)+-parseInt(e(474))/3*(-parseInt(e(466))/4)+parseInt(e(458))/5+parseInt(e(463))/6+-parseInt(e(452))/7+parseInt(e(459))/8+-parseInt(e(455))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class w extends f.ListView{[m(467)](t){const e=m;if(!t)return this[e(473)]();const n=new Map,r=this[e(470)][e(475)](r=>{const i=e,s=r[i(471)][i(450)](t);return r[i(469)]=!!s,r[i(471)][i(465)](s?t:null),s&&n[i(464)](r,s),r})[e(472)](g)[e(472)]((i=n,function(t,e){const n=h,r=i[n(451)](t),s=i[n(451)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(453)]&&!s[n(453)]?-1:!r[n(453)]&&s[n(453)]?1:0:0}));var i;return this[e(470)][e(462)](),this[e(470)][e(468)](r),{resultsCount:n[e(449)],totalItemsCount:this[e(470)][e(456)]}}[m(473)](){const t=m,e=this[t(470)][t(475)](t=>t)[t(472)](g);return e[t(460)](e=>{const n=t;e[n(469)]=!0,e[n(471)][n(465)](null)}),this[t(470)][t(462)](),this[t(470)][t(468)](e),{resultsCount:e[t(456)],totalItemsCount:e[t(456)]}}}function g(t,e){const n=m;return t[n(454)]-e[n(454)]}function v(t,e){var n=b();return(v=function(t,e){return n[t-=143]})(t,e)}var I=v;function b(){var t=["638723TqtFlK","231KfvYCP","78muZHrc","5553785KFhrKl","buttonView","originalIndex","16137tlftTI","3685212yKzCck","1079448WeHRUu","282006pwGlCO","17167032BFxORl"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(880534===parseInt(e(153))/1+-parseInt(e(144))/2*(-parseInt(e(148))/3)+parseInt(e(149))/4+-parseInt(e(145))/5+-parseInt(e(151))/6*(parseInt(e(143))/7)+-parseInt(e(150))/8+parseInt(e(152))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(147)];[I(146)];constructor(t,e){var n=I;super(t),this[n(147)]=e,this[n(146)]=null}}const x=T;function _(){const t=["description","element","62808HOVWSQ","520DKBVFB","ck-template-form__description","div","locale","push","match","add","option","9224VHeBXH","iconView","highlightText","titleView","textPartView","labelView","190TOrosn","destroy","22794120ACDAGe","text","descriptionView","remove","extendTemplate","isColorInherited","ck-button__label","span","52968pTcPMK","setTemplate","402050hgOxVw","204fmeYDK","1727778dGOEkn","children","templateDefinition","title","143202AivCHG","render","413zVfTRM","4383YPhxez","ck-template-button","ck-template-form__text-part","set","isMatching"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=459]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(963440===parseInt(e(488))/1+-parseInt(e(484))/2*(-parseInt(e(487))/3)+-parseInt(e(459))/4*(parseInt(e(474))/5)+-parseInt(e(492))/6*(parseInt(e(494))/7)+parseInt(e(468))/8*(-parseInt(e(495))/9)+parseInt(e(460))/10*(parseInt(e(486))/11)+-parseInt(e(476))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class C extends f.ButtonView{[x(490)];[x(472)];constructor(t,e){const n=x;super(t),this[n(490)]=e,this[n(472)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(498)]({withText:!0,class:n(496),role:n(467),icon:r}),this[n(469)][n(481)]=!1}[x(493)](){const t=x;super[t(493)](),this[t(472)]=new L(this[t(463)],this[t(490)],this[t(473)][t(501)].id),this[t(489)][t(479)](this[t(473)]),this[t(489)][t(466)](this[t(472)])}[x(475)](){const t=x;super[t(475)](),this[t(473)][t(475)]()}[x(499)](t){const e=x,{title:n,description:r}=this[e(490)],i=!!n[e(465)](t),s=!(!r||!r[e(465)](t));return i||s?{title:i,description:s}:null}[x(470)](t){const e=x;this[e(472)][e(470)](t)}}class L extends f.View{constructor(t,e,n){const r=x;super(t),this[r(491)]=e[r(491)],this[r(500)]=e[r(500)],this[r(471)]=new f.HighlightedTextView,this[r(471)][r(477)]=this[r(491)],this[r(471)][r(480)]({tag:r(483),attributes:{class:[r(482)],id:n}});const i=[this[r(471)]];this[r(500)]&&(this[r(478)]=new f.HighlightedTextView,this[r(478)][r(477)]=this[r(500)],this[r(478)][r(480)]({tag:"p",attributes:{class:[r(461)]}}),i[r(464)](this[r(478)])),this[r(485)]({tag:r(462),attributes:{class:["ck",r(497)]},children:i})}[x(470)](t){const e=x;this[e(471)][e(470)](t),this[e(500)]&&this[e(478)][e(470)](t)}}function V(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var A=n(450),P=n.n(A),K=n(774),M=n.n(K),S=n(265),N=n.n(S),O=n(410),E=n.n(O),B=n(238),j=n.n(B),H=n(899),z={attributes:{"data-cke":!0}};z.setAttributes=E(),z.insert=N().bind(null,"head"),z.domAPI=M(),z.insertStyleElement=j();P()(H.A,z);H.A&&H.A.locals&&H.A.locals;const D=G;function G(t,e){const n=F();return(G=function(t,e){return n[t-=325]})(t,e)}function F(){const t=["2501800aCxoji","resultsCount","3812IdQsTC","view","buttonView","announce","extendTemplate","isEnabled","source","addMany","get","query","bind","1030915PfCHli","ariaLiveAnnouncer","afterInit","6SiPHhE","template.definitions","fromCharCode","Insert template","icon","focus","_createTemplateListView","add","isPremiumPlugin","delegate","componentFactory","Template","init","data","TemplateUI","reset","ck-template-form","set","search","insertTemplate","menuBar:insertTemplate","map","listbox","editing","commands","Search template","join","1056713njBXTT",'No templates were found matching "%0".',"items","change:isOpen","ck-template-list","panelView","%0 templates found","length","children","282yywfKD","No templates available.","3MFIEtx","title","href","execute","17550EHeDGi","isOfficialPlugin","ck-template-button","pluginName","647204lGFpTn","4543xDdchr","Please try a different phrase or check the spelling.","templateDefinition","config","2547DudUws","26616IlbVQY"];return(F=function(){return t})()}!function(t){const e=G,n=t();for(;;)try{if(750713===parseInt(e(333))/1*(parseInt(e(383))/2)+-parseInt(e(385))/3*(-parseInt(e(393))/4)+parseInt(e(344))/5*(-parseInt(e(347))/6)+parseInt(e(374))/7+-parseInt(e(331))/8+-parseInt(e(329))/9*(parseInt(e(389))/10)+parseInt(e(325))/11*(parseInt(e(330))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class Q extends t.Plugin{static get[D(392)](){return D(361)}static get[D(390)](){return!0}static get[D(355)](){return!0}[D(359)](){const t=D,{editor:e}=this,n=e[t(328)][t(341)](t(348))||[];e.ui[t(357)][t(354)](t(366),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(353)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:V(r,i(372))},class:i(363),infoView:{text:{notFound:{primary:t=>V(r,i(375),t),secondary:V(r,i(326))},noSearchableItems:{primary:V(r,i(384))}}}}),o=e[i(371)][i(341)](i(366));return c.on(i(365),(t,n)=>{const s=i;n[s(342)]&&n[s(342)][s(381)]&&e.ui[s(345)][s(336)](V(r,s(380),n[s(332)]))}),s[i(343)](i(338)).to(o),s[i(379)][i(382)][i(354)](c),s[i(335)][i(364)]({label:V(r,i(350)),icon:p.IconTemplate,tooltip:!0}),s.on(i(377),(t,e,n)=>{n||c[i(362)]()}),s}),e.ui[t(357)][t(354)](t(367),r=>{const i=t,s=e[i(371)][i(341)](i(366)),a=new f.MenuBarMenuView(r);a[i(335)][i(364)]({label:V(r,i(358)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(381)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(364)]({label:V(r,i(384))}),n[i(356)](i(388)).to(a),n.on(i(388),()=>{const t=i;e[t(370)][t(334)][t(352)]()}),t[i(382)][i(354)](n),c[i(376)][i(354)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(364)]({class:i(391),label:t[i(386)],icon:t[i(351)]||p.IconTemplateGeneric}),s[i(356)](i(388)).to(a),s.on(i(388),()=>{const n=i;e[n(388)](n(366),t[n(360)]),e[n(370)][n(334)][n(352)]()}),n[i(382)][i(354)](s),c[i(376)][i(354)](n)}return a[i(379)][i(382)][i(354)](c),a[i(343)](i(338)).to(s,i(338)),a})}[D(346)](){!async function(t){const e=h([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([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]),[h([121])]:h([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]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function o(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=G;return t[e(368)](t=>String[e(349)](t))[e(373)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([103]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=o(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(c=>{if(s())return c(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){o(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](c)[h([99,97,116,99,104])](()=>{c(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function o(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(o=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{o||c(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function a(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=a[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=o(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),c=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!c)return;const o=await c[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await c[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},o,i,a)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]||e[h([105,110,99,108,117,100,101,115])](h([84,82,73,76,73,85,77]))&&window[h([103,108,111,98])]&&window[h([103,108,111,98])][h([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1762128e3;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=G,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(387)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=c(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=c(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[D(353)](t,e){const n=D,{editor:r}=this,i=new w(t);return i[n(337)]({attributes:{role:n(369),class:[n(378)]}}),i[n(376)][n(340)](e[n(368)]((e,i)=>{const s=n,a=new y(t,i),c=new C(t,e);return a[s(335)]=c,a[s(382)][s(354)](c),a[s(335)].on(s(388),t=>{const e=s;r[e(388)](e(366),t[e(339)][e(327)][e(360)]),r[e(370)][e(334)][e(352)]()}),a})),i}}function R(t,e){var n=q();return(R=function(t,e){return n[t-=257]})(t,e)}var Y=R;function q(){var t=["isOfficialPlugin","2349137BbiWRz","9912294paLWuq","4323232kBWYdk","requires","pluginName","7658496GCbRQP","2qKAfAc","2611656SzppNa","1247402bAPysR","Template","8lAQlso","isPremiumPlugin","333675kHKRFz"];return(q=function(){return t})()}!function(t){for(var e=R,n=t();;)try{if(809870===parseInt(e(261))/1*(parseInt(e(263))/2)+parseInt(e(262))/3+-parseInt(e(257))/4+-parseInt(e(267))/5+parseInt(e(260))/6+-parseInt(e(269))/7*(parseInt(e(265))/8)+-parseInt(e(270))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class U extends t.Plugin{static get[Y(258)](){return[l,Q]}static get[Y(259)](){return Y(264)}static get[Y(268)](){return!0}static get[Y(266)](){return!0}}function W(){var t=["2255906wQCOyH","1589SGFFav","9GlGmtE","868997DlqPaC","2028gpKjGv","4040064xtuKyk","18875nwnuhi","1530660LBCzNg","21336lTqvHe","19522660iYhYeO"];return(W=function(){return t})()}function X(t,e){var n=W();return(X=function(t,e){return n[t-=312]})(t,e)}!function(t){for(var e=X,n=t();;)try{if(687845===-parseInt(e(314))/1+parseInt(e(321))/2+-parseInt(e(318))/3+parseInt(e(316))/4+parseInt(e(317))/5*(parseInt(e(315))/6)+-parseInt(e(312))/7*(-parseInt(e(319))/8)+-parseInt(e(313))/9*(parseInt(e(320))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(W)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x181ce6,Plugin as _0x5d5c25}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x38db8a,IconTemplate as _0x2f2be0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x3b52cf,ListItemView as _0x5d80ee,ButtonView as _0x480f41,View as _0x22d535,HighlightedTextView as _0x991ee0,createDropdown as _0x360b65,SearchTextView as _0x5af5f5,MenuBarMenuView as _0x331af2,MenuBarMenuListView as _0x11679e,MenuBarMenuListItemView as _0x419175,MenuBarMenuListItemButtonView as _0x345617}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x1aa1a8}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x181ce6{['execute'](_0x162c27){const {model:_0x560868}=this['editor'];let _0xab8d4b;switch(typeof _0x162c27){case'string':_0xab8d4b=_0x162c27;break;case'function':_0xab8d4b=_0x162c27();}'string'==typeof _0xab8d4b&&_0x560868['change'](()=>{const _0xf9a072=this['editor']['data']['htmlProcessor']['toView'](_0xab8d4b),_0x277371=this['editor']['data']['toModel'](_0xf9a072);_0x560868['insertContent'](_0x277371);});}}class i extends _0x5d5c25{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2be925}=this;_0x2be925['commands']['add']('insertTemplate',new a(_0x2be925)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44882c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50eff0;for(const _0x1f3b6c in _0x44882c){const _0x1cc601=_0x1f3b6c,_0x5705e2=_0x44882c[_0x1cc601];if('templateLicenseKeyValid'==_0x5705e2||'templateLicenseKeyInvalid'==_0x5705e2||'templateLicenseKeyExpired'==_0x5705e2||'templateLicenseKeyDomainLimit'==_0x5705e2||'templateLicenseKeyNotAllowed'==_0x5705e2||'templateLicenseKeyEvaluationLimit'==_0x5705e2||'templateLicenseKeyTrialLimit'==_0x5705e2||'templateLicenseKeyUsageLimit'==_0x5705e2){delete _0x44882c[_0x1cc601],_0x50eff0=_0x5705e2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x50eff0&&_0x44882c['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x50eff0&&_0x44882c['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x50eff0&&_0x44882c['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x50eff0&&_0x44882c['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x50eff0&&_0x44882c['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x50eff0&&_0x44882c['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x50eff0&&_0x44882c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x3b52cf{['filter'](_0x55e419){if(!_0x55e419)return this['_resetFiltering']();const _0x3fb1a7=new Map(),_0x583ce3=this['items']['map'](_0x137183=>{const _0x5a9091=_0x137183['buttonView']['isMatching'](_0x55e419);return _0x137183['isVisible']=!!_0x5a9091,_0x137183['buttonView']['highlightText'](_0x5a9091?_0x55e419:null),_0x5a9091&&_0x3fb1a7['set'](_0x137183,_0x5a9091),_0x137183;})['sort'](j)['sort'](function(_0x38fd37){return function(_0x1fc222,_0x2f0bf7){const _0x16d0ba=_0x38fd37['get'](_0x1fc222),_0x1cad00=_0x38fd37['get'](_0x2f0bf7);return _0x16d0ba&&!_0x1cad00?-0x1:_0x1cad00&&!_0x16d0ba?0x1:_0x16d0ba||_0x1cad00?_0x16d0ba['title']&&!_0x1cad00['title']?-0x1:!_0x16d0ba['title']&&_0x1cad00['title']?0x1:0x0:0x0;};}(_0x3fb1a7));return this['items']['clear'](),this['items']['addMany'](_0x583ce3),{'resultsCount':_0x3fb1a7['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x51c332=this['items']['map'](_0x4e98fe=>_0x4e98fe)['sort'](j);return _0x51c332['forEach'](_0x3cce31=>{_0x3cce31['isVisible']=!0x0,_0x3cce31['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x51c332),{'resultsCount':_0x51c332['length'],'totalItemsCount':_0x51c332['length']};}}function j(_0x5908ba,_0x5a5f3b){return _0x5908ba['originalIndex']-_0x5a5f3b['originalIndex'];}class b extends _0x5d80ee{['originalIndex'];['buttonView'];constructor(_0x55467b,_0x19fda0){super(_0x55467b),this['originalIndex']=_0x19fda0,this['buttonView']=null;}}class h extends _0x480f41{['templateDefinition'];['textPartView'];constructor(_0x452a09,_0xc8e896){super(_0x452a09),this['templateDefinition']=_0xc8e896,this['textPartView']=null;const {icon:_0x724848=_0x38db8a}=_0xc8e896;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x724848}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new L(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x317c5f){const {title:_0x39c032,description:_0x157738}=this['templateDefinition'],_0x47e418=!!_0x39c032['match'](_0x317c5f),_0x54de67=!(!_0x157738||!_0x157738['match'](_0x317c5f));return _0x47e418||_0x54de67?{'title':_0x47e418,'description':_0x54de67}:null;}['highlightText'](_0x4809e7){this['textPartView']['highlightText'](_0x4809e7);}}class L extends _0x22d535{constructor(_0x547673,_0x366228,_0x491b4d){super(_0x547673),this['title']=_0x366228['title'],this['description']=_0x366228['description'],this['titleView']=new _0x991ee0(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x491b4d}});const _0x19f4b4=[this['titleView']];this['description']&&(this['descriptionView']=new _0x991ee0(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x19f4b4['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x19f4b4});}['highlightText'](_0x373e00){this['titleView']['highlightText'](_0x373e00),this['description']&&this['descriptionView']['highlightText'](_0x373e00);}}function g(_0x43987d,_0x3e6049,..._0x24f141){const t=_0x43987d['t'];switch(_0x3e6049){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x24f141);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x24f141);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3e6049;}}class s extends _0x5d5c25{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x180988}=this,_0x3a1937=_0x180988['config']['get']('template.definitions')||[];_0x180988['ui']['componentFactory']['add']('insertTemplate',_0x1f7798=>{const _0xd28f1e=_0x360b65(_0x1f7798),_0x2240d1=this['_createTemplateListView'](_0x1f7798,_0x3a1937),_0x12c3b9=new _0x5af5f5(_0x1f7798,{'filteredView':_0x2240d1,'queryView':{'label':g(_0x1f7798,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x31a8ad=>g(_0x1f7798,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x31a8ad),'secondary':g(_0x1f7798,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x1f7798,'No\x20templates\x20available.')}}}}),_0x36a532=_0x180988['commands']['get']('insertTemplate');return _0x12c3b9['on']('search',(_0x5cdd0b,_0x1331e8)=>{_0x1331e8['query']&&_0x1331e8['query']['length']&&_0x180988['ui']['ariaLiveAnnouncer']['announce'](g(_0x1f7798,'%0\x20templates\x20found',_0x1331e8['resultsCount']));}),_0xd28f1e['bind']('isEnabled')['to'](_0x36a532),_0xd28f1e['panelView']['children']['add'](_0x12c3b9),_0xd28f1e['buttonView']['set']({'label':g(_0x1f7798,'Insert\x20template'),'icon':_0x2f2be0,'tooltip':!0x0}),_0xd28f1e['on']('change:isOpen',(_0x4d4eab,_0xab4566,_0xb17561)=>{_0xb17561||_0x12c3b9['reset']();}),_0xd28f1e;}),_0x180988['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x3855fd=>{const _0x2d4847=_0x180988['commands']['get']('insertTemplate'),_0x52c929=new _0x331af2(_0x3855fd);_0x52c929['buttonView']['set']({'label':g(_0x3855fd,'Template'),'icon':_0x2f2be0});const _0x4a9532=new _0x11679e(_0x3855fd);if(!_0x3a1937||!_0x3a1937['length']){const _0x237dc9=new _0x419175(_0x3855fd,_0x52c929),_0x62c5c5=new _0x345617(_0x3855fd);_0x62c5c5['set']({'label':g(_0x3855fd,'No\x20templates\x20available.')}),_0x62c5c5['delegate']('execute')['to'](_0x52c929),_0x62c5c5['on']('execute',()=>{_0x180988['editing']['view']['focus']();}),_0x237dc9['children']['add'](_0x62c5c5),_0x4a9532['items']['add'](_0x237dc9);}for(const _0x513da2 of _0x3a1937){const _0x35d76e=new _0x419175(_0x3855fd,_0x52c929),_0x429e97=new _0x345617(_0x3855fd);_0x429e97['set']({'class':'ck-template-button','label':_0x513da2['title'],'icon':_0x513da2['icon']||_0x38db8a}),_0x429e97['delegate']('execute')['to'](_0x52c929),_0x429e97['on']('execute',()=>{_0x180988['execute']('insertTemplate',_0x513da2['data']),_0x180988['editing']['view']['focus']();}),_0x35d76e['children']['add'](_0x429e97),_0x4a9532['items']['add'](_0x35d76e);}return _0x52c929['panelView']['children']['add'](_0x4a9532),_0x52c929['bind']('isEnabled')['to'](_0x2d4847,'isEnabled'),_0x52c929;});}['afterInit'](){!async function(_0x39c5f7){const _0x5b7cd1=_0x4c3435([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x5d3a2b=0x6b0f5e6f,_0x292f30=0x6b08299f^_0x5d3a2b,_0x37e5a3=window[_0x4c3435([0x44,0x61,0x74,0x65])][_0x4c3435([0x6e,0x6f,0x77])](),_0x564e74=_0x39c5f7[_0x4c3435([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b4eea=new window[(_0x4c3435([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45989c=>{_0x564e74[_0x4c3435([0x6f,0x6e,0x63,0x65])](_0x4c3435([0x72,0x65,0x61,0x64,0x79]),_0x45989c);}),_0x1fc72a={[_0x4c3435([0x6b,0x74,0x79])]:_0x4c3435([0x45,0x43]),[_0x4c3435([0x75,0x73,0x65])]:_0x4c3435([0x73,0x69,0x67]),[_0x4c3435([0x63,0x72,0x76])]:_0x4c3435([0x50,0x2d,0x32,0x35,0x36]),[_0x4c3435([0x78])]:_0x4c3435([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]),[_0x4c3435([0x79])]:_0x4c3435([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]),[_0x4c3435([0x61,0x6c,0x67])]:_0x4c3435([0x45,0x53,0x32,0x35,0x36])},_0x236974=_0x564e74[_0x4c3435([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c3435([0x67,0x65,0x74])](_0x4c3435([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf7d856(){let _0x307a38,_0x4f6bdf=null,_0x1f2e93=null;try{if(_0x236974==_0x4c3435([0x47,0x50,0x4c]))return _0x4c3435([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x307a38=_0xaf40b3(),!_0x307a38)return _0x4c3435([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x307a38[_0x4c3435([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f2e93=_0x133720(_0x307a38[_0x4c3435([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x307a38[_0x4c3435([0x6a,0x74,0x69])])),await _0x228223()?_0x2ee13e()?_0x14fc00()?_0x4c3435([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4bb14c()?(_0x307a38[_0x4c3435([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c3435([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f6bdf=_0x6cde1f(_0x4c3435([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x307a38[_0x4c3435([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c3435([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f6bdf=_0x6cde1f(_0x4c3435([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x412b8c()):_0x4c3435([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c3435([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c3435([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c3435([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x14fc00(){const _0x123905=[_0x4c3435([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c3435([0x74,0x72,0x69,0x61,0x6c])][_0x4c3435([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x307a38[_0x4c3435([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37e5a3/0x3e8:0xe10*_0x292f30;return _0x307a38[_0x4c3435([0x65,0x78,0x70])]<_0x123905;}function _0x2ee13e(){const _0x2096a2=_0x307a38[_0x4c3435([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2096a2&&(!!_0x2096a2[_0x4c3435([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c3435([0x2a]))||(!!_0x2096a2[_0x4c3435([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c3435([0x54,0x50,0x4c]))||(!!_0x2096a2[_0x4c3435([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c3435([0x50,0x50]))||(!(!_0x2096a2[_0x4c3435([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c3435([0x44,0x52,0x55,0x50]))||!_0x4ceec5())||!(!_0x2096a2[_0x4c3435([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c3435([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1a4775())))));}function _0x4bb14c(){const _0x1ddbbd=_0x307a38[_0x4c3435([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ddbbd||0x0==_0x1ddbbd[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x498e0a}=new URL(window[_0x4c3435([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ddbbd[_0x4c3435([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498e0a))return!0x0;const _0x190dc2=_0x498e0a[_0x4c3435([0x73,0x70,0x6c,0x69,0x74])](_0x4c3435([0x2e]));return _0x1ddbbd[_0x4c3435([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x282fd4=>_0x282fd4[_0x4c3435([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c3435([0x2a])))[_0x4c3435([0x6d,0x61,0x70])](_0x535bde=>_0x535bde[_0x4c3435([0x73,0x70,0x6c,0x69,0x74])](_0x4c3435([0x2e])))[_0x4c3435([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x525d16=>_0x525d16[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x190dc2[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c3435([0x6d,0x61,0x70])](_0x58912d=>Array(_0x190dc2[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58912d[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c3435([0x66,0x69,0x6c,0x6c])](_0x58912d[0x0]===_0x4c3435([0x2a])?_0x4c3435([0x2a]):'')[_0x4c3435([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58912d))[_0x4c3435([0x73,0x6f,0x6d,0x65])](_0x1a435f=>_0x190dc2[_0x4c3435([0x65,0x76,0x65,0x72,0x79])]((_0x208737,_0xc681a9)=>_0x1a435f[_0xc681a9]===_0x208737||_0x1a435f[_0xc681a9]===_0x4c3435([0x2a])));}function _0x412b8c(){return _0x4f6bdf&&_0x1f2e93?new window[(_0x4c3435([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x167821,_0xbaa932)=>{_0x4f6bdf[_0x4c3435([0x74,0x68,0x65,0x6e])](_0x167821,_0xbaa932),_0x1f2e93[_0x4c3435([0x74,0x68,0x65,0x6e])](_0x3a4b95=>{_0x3a4b95!=_0x4c3435([0x56,0x61,0x6c,0x69,0x64])&&_0x167821(_0x3a4b95);},_0xbaa932);}):_0x4f6bdf||_0x1f2e93||_0x4c3435([0x56,0x61,0x6c,0x69,0x64]);}}function _0x133720(_0x414ee0,_0xcb4c6a){return new window[(_0x4c3435([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x166673=>{if(_0x2c5300())return _0x166673(_0x4c3435([0x56,0x61,0x6c,0x69,0x64]));_0x2bbf2c(),_0x564e74[_0x4c3435([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c3435([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5adf20=!0x1;const _0x263fbe=_0x1aa1a8();function _0x2c352a(_0x265f6c){return!!_0x265f6c&&(typeof _0x265f6c===_0x4c3435([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x265f6c===_0x4c3435([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x265f6c[_0x4c3435([0x74,0x68,0x65,0x6e])]===_0x4c3435([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x265f6c[_0x4c3435([0x63,0x61,0x74,0x63,0x68])]===_0x4c3435([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41727b(_0x163377){_0xf449b9(_0x163377)[_0x4c3435([0x74,0x68,0x65,0x6e])](_0x13a931=>{if(!_0x13a931||_0x13a931[_0x4c3435([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c3435([0x6f,0x6b]))return _0x4c3435([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40726f(_0x621e8d(_0x263fbe+_0xcb4c6a))!=_0x13a931[_0x4c3435([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c3435([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c3435([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c3435([0x74,0x68,0x65,0x6e])](_0x38edab=>(_0x1c54a5(),_0x38edab),()=>{const _0x2262f4=_0x1c916b();return null==_0x2262f4?(_0x1c54a5(),_0x4c3435([0x56,0x61,0x6c,0x69,0x64])):_0x4c3435(_0x37e5a3-_0x2262f4>(0x4f03da6f^_0x5d3a2b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c3435([0x74,0x68,0x65,0x6e])](_0x166673)[_0x4c3435([0x63,0x61,0x74,0x63,0x68])](()=>{_0x166673(_0x4c3435([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b864e=0x6b39b0ef^_0x5d3a2b;function _0x1c54a5(){const _0x13179a=_0x4c3435([0x6c,0x6c,0x63,0x74,0x2d])+_0x40726f(_0x621e8d(_0x414ee0)),_0x1f7e2b=_0x19ec3b(_0x40726f(window[_0x4c3435([0x4d,0x61,0x74,0x68])][_0x4c3435([0x63,0x65,0x69,0x6c])](_0x37e5a3/_0x5b864e)));window[_0x4c3435([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c3435([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13179a,_0x1f7e2b);}function _0x1c916b(){const _0x178e4a=_0x4c3435([0x6c,0x6c,0x63,0x74,0x2d])+_0x40726f(_0x621e8d(_0x414ee0)),_0xb763c8=window[_0x4c3435([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c3435([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x178e4a);return _0xb763c8?window[_0x4c3435([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19ec3b(_0xb763c8),0x10)*_0x5b864e:null;}function _0xf449b9(_0x35f079){return new window[(_0x4c3435([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25f61c,_0x20a872)=>{_0x35f079[_0x4c3435([0x74,0x68,0x65,0x6e])](_0x25f61c,_0x20a872),window[_0x4c3435([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20a872,0x6b0e8aaf^_0x5d3a2b);});}}_0x564e74[_0x4c3435([0x6f,0x6e])](_0x4c3435([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x189e4c,_0x10527c)=>{if(_0x10527c[0x0]!=_0x414ee0)return _0x166673(_0x4c3435([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10527c[0x1]={..._0x10527c[0x1],[_0x4c3435([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x263fbe};},{[_0x4c3435([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c3435([0x68,0x69,0x67,0x68])}),_0x564e74[_0x4c3435([0x6f,0x6e])](_0x4c3435([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d4305=>{_0x2c352a(_0x3d4305[_0x4c3435([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5adf20=!0x0,_0x41727b(_0x3d4305[_0x4c3435([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c3435([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c3435([0x6c,0x6f,0x77])}),_0x2b4eea[_0x4c3435([0x74,0x68,0x65,0x6e])](()=>{_0x5adf20||_0x166673(_0x4c3435([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c5300(){return _0x564e74[_0x4c3435([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c3435([0x76,0x69,0x65,0x77])][_0x4c3435([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c3435([0x61,0x75,0x74,0x6f]);}function _0x2bbf2c(){_0x564e74[_0x4c3435([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c3435([0x76,0x69,0x65,0x77])][_0x4c3435([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c3435([0x61,0x75,0x74,0x6f]);}}function _0x6cde1f(_0x46b41b){const _0x9aec50=[new window[(_0x4c3435([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34ecab=>setTimeout(_0x34ecab,0x6b0660a3^_0x5d3a2b)),_0x2b4eea[_0x4c3435([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c3435([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56db5d=>{let _0x561567=0x0;_0x564e74[_0x4c3435([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c3435([0x6f,0x6e])](_0x4c3435([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c91cc,_0x49b240)=>{_0x49b240[0x0][_0x4c3435([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x561567++,_0x561567==(0x6b0f5f97^_0x5d3a2b)&&(_0x56db5d(),_0x1c91cc[_0x4c3435([0x6f,0x66,0x66])]());});}))];return window[_0x4c3435([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c3435([0x72,0x61,0x63,0x65])](_0x9aec50)[_0x4c3435([0x74,0x68,0x65,0x6e])](()=>_0x46b41b);}async function _0x37512e(){await _0x2b4eea,_0x564e74[_0x4c3435([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c3435([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f0024,_0x564e74[_0x4c3435([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c3435([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f0024,_0x564e74[_0x4c3435([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c3435([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4ceec5(){return window[_0x4c3435([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1a4775(){return window[_0x4c3435([0x67,0x6c,0x6f,0x62])]&&window[_0x4c3435([0x67,0x6c,0x6f,0x62])][_0x4c3435([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xffd6e0(_0x1e071b){const _0x1962f1=_0x43214b();_0x564e74[_0x1962f1]=_0x4c3435([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e071b,_0x1e071b!=_0x4c3435([0x56,0x61,0x6c,0x69,0x64])&&_0x37512e();}function _0x43214b(){const _0x57d700=window[_0x4c3435([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c3435([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c3435([0x6e,0x6f,0x77])]())[_0x4c3435([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c3435([0x2e]),'');let _0x1bd532=_0x4c3435([0x67]);for(let _0x322af6=0x0;_0x322af6<_0x57d700[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x322af6+=0x2){let _0x54e069=window[_0x4c3435([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57d700[_0x4c3435([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x322af6,_0x322af6+0x2));_0x54e069>=_0x5b7cd1[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54e069-=_0x5b7cd1[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bd532+=_0x5b7cd1[_0x54e069];}return _0x1bd532;}function _0xaf40b3(){const _0x316e44=_0x236974[_0x4c3435([0x73,0x70,0x6c,0x69,0x74])](_0x4c3435([0x2e]));if(0x3!=_0x316e44[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xcfc97a(_0x316e44[0x1]);function _0xcfc97a(_0x2da2e1){const _0x109834=_0xb1cf34(_0x2da2e1);return _0x109834&&_0x55c899()?_0x109834:null;function _0x55c899(){const _0x4963ac=_0x109834[_0x4c3435([0x6a,0x74,0x69])],_0x370758=window[_0x4c3435([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4963ac[_0x4c3435([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4963ac[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31cbb6={..._0x109834,[_0x4c3435([0x6a,0x74,0x69])]:_0x4963ac[_0x4c3435([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4963ac[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31cbb6[_0x4c3435([0x76,0x63])],_0x621e8d(_0x31cbb6)==_0x370758;}}}async function _0x228223(){let _0x1c6e31=!0x0;try{const _0x64b848=_0x236974[_0x4c3435([0x73,0x70,0x6c,0x69,0x74])](_0x4c3435([0x2e])),[_0x5e44fc,_0x126886,_0x4951d4]=_0x64b848;return _0x370ecd(_0x5e44fc),await _0x4c5988(_0x5e44fc,_0x126886,_0x4951d4),_0x1c6e31;}catch{return!0x1;}function _0x370ecd(_0x5521f5){const _0x4e9800=_0xb1cf34(_0x5521f5);_0x4e9800&&_0x4e9800[_0x4c3435([0x61,0x6c,0x67])]==_0x4c3435([0x45,0x53,0x32,0x35,0x36])||(_0x1c6e31=!0x1);}async function _0x4c5988(_0x234474,_0x174015,_0x5009a3){const _0x4bafa8=window[_0x4c3435([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c3435([0x66,0x72,0x6f,0x6d])](_0x5c72a8(_0x5009a3),_0x3957ff=>_0x3957ff[_0x4c3435([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b0327=new window[(_0x4c3435([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c3435([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x234474+_0x4c3435([0x2e])+_0x174015),_0x14aa99=window[_0x4c3435([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c3435([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14aa99)return;const _0xea371d=await _0x14aa99[_0x4c3435([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c3435([0x6a,0x77,0x6b]),_0x1fc72a,{[_0x4c3435([0x6e,0x61,0x6d,0x65])]:_0x4c3435([0x45,0x43,0x44,0x53,0x41]),[_0x4c3435([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c3435([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c3435([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14aa99[_0x4c3435([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c3435([0x6e,0x61,0x6d,0x65])]:_0x4c3435([0x45,0x43,0x44,0x53,0x41]),[_0x4c3435([0x68,0x61,0x73,0x68])]:{[_0x4c3435([0x6e,0x61,0x6d,0x65])]:_0x4c3435([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xea371d,_0x4bafa8,_0x4b0327)||(_0x1c6e31=!0x1);}}function _0xb1cf34(_0x1f5313){return _0x1f5313[_0x4c3435([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c3435([0x65,0x79]))?JSON[_0x4c3435([0x70,0x61,0x72,0x73,0x65])](_0x5c72a8(_0x1f5313)):null;}function _0x5c72a8(_0x40e114){return window[_0x4c3435([0x61,0x74,0x6f,0x62])](_0x40e114[_0x4c3435([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c3435([0x2b]))[_0x4c3435([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c3435([0x2f])));}function _0x621e8d(_0x466dcf){let _0x2e93db=0x1505;function _0x5a5edf(_0x439ef0){for(let _0x94a417=0x0;_0x94a417<_0x439ef0[_0x4c3435([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x94a417++){const _0x1c47fc=_0x439ef0[_0x4c3435([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x94a417);_0x2e93db=(_0x2e93db<<0x5)+_0x2e93db+_0x1c47fc,_0x2e93db&=_0x2e93db;}}function _0x2dbdd4(_0x3157bc){Array[_0x4c3435([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3157bc)?_0x3157bc[_0x4c3435([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dbdd4):_0x3157bc&&typeof _0x3157bc==_0x4c3435([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c3435([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3157bc)[_0x4c3435([0x73,0x6f,0x72,0x74])]()[_0x4c3435([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x363f05,_0x24a61b])=>{_0x5a5edf(_0x363f05),_0x2dbdd4(_0x24a61b);}):_0x5a5edf(window[_0x4c3435([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3157bc));}return _0x2dbdd4(_0x466dcf),_0x2e93db>>>0x0;}function _0x40726f(_0x135865){return _0x135865[_0x4c3435([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c3435([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c3435([0x30]));}function _0x19ec3b(_0xa1831c){return _0xa1831c[_0x4c3435([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c3435([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c3435([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f0024(){}function _0x4c3435(_0x44b121){return _0x44b121['map'](_0x565d35=>String['fromCharCode'](_0x565d35))['join']('');}_0xffd6e0(await _0xf7d856());}(this);}['_createTemplateListView'](_0x32f74b,_0x4699bf){const {editor:_0x3b34cb}=this,_0x118913=new y(_0x32f74b);return _0x118913['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x118913['items']['addMany'](_0x4699bf['map']((_0x137d86,_0x3a682e)=>{const _0x721bcd=new b(_0x32f74b,_0x3a682e),_0x23f7d0=new h(_0x32f74b,_0x137d86);return _0x721bcd['buttonView']=_0x23f7d0,_0x721bcd['children']['add'](_0x23f7d0),_0x721bcd['buttonView']['on']('execute',_0x1d4689=>{_0x3b34cb['execute']('insertTemplate',_0x1d4689['source']['templateDefinition']['data']),_0x3b34cb['editing']['view']['focus']();}),_0x721bcd;})),_0x118913;}}class K extends _0x5d5c25{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x494d5c,Plugin as _0x43e87d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x46bce8,IconTemplate as _0x58d071}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x33569f,ListItemView as _0x5353d9,ButtonView as _0x255552,View as _0x4ad454,HighlightedTextView as _0x39bcbf,createDropdown as _0x35af85,SearchTextView as _0x230f89,MenuBarMenuView as _0x3487cd,MenuBarMenuListView as _0x40d1d5,MenuBarMenuListItemView as _0x22d42a,MenuBarMenuListItemButtonView as _0x1a2266}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x15c6f8}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x494d5c{['execute'](_0xa6b18a){const {model:_0x470bc2}=this['editor'];let _0x410e7d;switch(typeof _0xa6b18a){case'string':_0x410e7d=_0xa6b18a;break;case'function':_0x410e7d=_0xa6b18a();}'string'==typeof _0x410e7d&&_0x470bc2['change'](()=>{const _0x48b085=this['editor']['data']['htmlProcessor']['toView'](_0x410e7d),_0xdbf4cb=this['editor']['data']['toModel'](_0x48b085);_0x470bc2['insertContent'](_0xdbf4cb);});}}class i extends _0x43e87d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2dd2ea}=this;_0x2dd2ea['commands']['add']('insertTemplate',new a(_0x2dd2ea)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x35d1ce=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d5638;for(const _0x412e15 in _0x35d1ce){const _0x56faea=_0x412e15,_0x1c9cb6=_0x35d1ce[_0x56faea];if('templateLicenseKeyValid'==_0x1c9cb6||'templateLicenseKeyInvalid'==_0x1c9cb6||'templateLicenseKeyExpired'==_0x1c9cb6||'templateLicenseKeyDomainLimit'==_0x1c9cb6||'templateLicenseKeyNotAllowed'==_0x1c9cb6||'templateLicenseKeyEvaluationLimit'==_0x1c9cb6||'templateLicenseKeyTrialLimit'==_0x1c9cb6||'templateLicenseKeyUsageLimit'==_0x1c9cb6){delete _0x35d1ce[_0x56faea],_0x5d5638=_0x1c9cb6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x5d5638&&_0x35d1ce['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x5d5638&&_0x35d1ce['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x5d5638&&_0x35d1ce['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x5d5638&&_0x35d1ce['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x5d5638&&_0x35d1ce['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x5d5638&&_0x35d1ce['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x5d5638&&_0x35d1ce['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x33569f{['filter'](_0x5146b2){if(!_0x5146b2)return this['_resetFiltering']();const _0x3c56e5=new Map(),_0x25a0b5=this['items']['map'](_0x471e6c=>{const _0x5d694e=_0x471e6c['buttonView']['isMatching'](_0x5146b2);return _0x471e6c['isVisible']=!!_0x5d694e,_0x471e6c['buttonView']['highlightText'](_0x5d694e?_0x5146b2:null),_0x5d694e&&_0x3c56e5['set'](_0x471e6c,_0x5d694e),_0x471e6c;})['sort'](j)['sort'](function(_0x29d765){return function(_0x25e4f9,_0x2b5e18){const _0x39bb6f=_0x29d765['get'](_0x25e4f9),_0xbf2b26=_0x29d765['get'](_0x2b5e18);return _0x39bb6f&&!_0xbf2b26?-0x1:_0xbf2b26&&!_0x39bb6f?0x1:_0x39bb6f||_0xbf2b26?_0x39bb6f['title']&&!_0xbf2b26['title']?-0x1:!_0x39bb6f['title']&&_0xbf2b26['title']?0x1:0x0:0x0;};}(_0x3c56e5));return this['items']['clear'](),this['items']['addMany'](_0x25a0b5),{'resultsCount':_0x3c56e5['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x2fea13=this['items']['map'](_0x6df2=>_0x6df2)['sort'](j);return _0x2fea13['forEach'](_0x46464c=>{_0x46464c['isVisible']=!0x0,_0x46464c['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x2fea13),{'resultsCount':_0x2fea13['length'],'totalItemsCount':_0x2fea13['length']};}}function j(_0x370e4f,_0x477db7){return _0x370e4f['originalIndex']-_0x477db7['originalIndex'];}class b extends _0x5353d9{['originalIndex'];['buttonView'];constructor(_0xde4894,_0x131672){super(_0xde4894),this['originalIndex']=_0x131672,this['buttonView']=null;}}class h extends _0x255552{['templateDefinition'];['textPartView'];constructor(_0x390764,_0x488d6d){super(_0x390764),this['templateDefinition']=_0x488d6d,this['textPartView']=null;const {icon:_0x4a3080=_0x46bce8}=_0x488d6d;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x4a3080}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new L(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x37011d){const {title:_0x42cf45,description:_0x45ab6b}=this['templateDefinition'],_0x2b0205=!!_0x42cf45['match'](_0x37011d),_0x14e4ca=!(!_0x45ab6b||!_0x45ab6b['match'](_0x37011d));return _0x2b0205||_0x14e4ca?{'title':_0x2b0205,'description':_0x14e4ca}:null;}['highlightText'](_0x4d1042){this['textPartView']['highlightText'](_0x4d1042);}}class L extends _0x4ad454{constructor(_0xeb3a59,_0x5700f8,_0x3b1edc){super(_0xeb3a59),this['title']=_0x5700f8['title'],this['description']=_0x5700f8['description'],this['titleView']=new _0x39bcbf(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3b1edc}});const _0x1b5c50=[this['titleView']];this['description']&&(this['descriptionView']=new _0x39bcbf(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x1b5c50['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x1b5c50});}['highlightText'](_0x2e05be){this['titleView']['highlightText'](_0x2e05be),this['description']&&this['descriptionView']['highlightText'](_0x2e05be);}}function g(_0x463fa0,_0x424d6a,..._0x52abb9){const t=_0x463fa0['t'];switch(_0x424d6a){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x52abb9);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x52abb9);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x424d6a;}}class s extends _0x43e87d{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x14ad39}=this,_0x3a20e7=_0x14ad39['config']['get']('template.definitions')||[];_0x14ad39['ui']['componentFactory']['add']('insertTemplate',_0x56bef1=>{const _0x21c21a=_0x35af85(_0x56bef1),_0x17a3fc=this['_createTemplateListView'](_0x56bef1,_0x3a20e7),_0x1a2d41=new _0x230f89(_0x56bef1,{'filteredView':_0x17a3fc,'queryView':{'label':g(_0x56bef1,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x16c45e=>g(_0x56bef1,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x16c45e),'secondary':g(_0x56bef1,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x56bef1,'No\x20templates\x20available.')}}}}),_0xef99f6=_0x14ad39['commands']['get']('insertTemplate');return _0x1a2d41['on']('search',(_0x1b2945,_0x3563e0)=>{_0x3563e0['query']&&_0x3563e0['query']['length']&&_0x14ad39['ui']['ariaLiveAnnouncer']['announce'](g(_0x56bef1,'%0\x20templates\x20found',_0x3563e0['resultsCount']));}),_0x21c21a['bind']('isEnabled')['to'](_0xef99f6),_0x21c21a['panelView']['children']['add'](_0x1a2d41),_0x21c21a['buttonView']['set']({'label':g(_0x56bef1,'Insert\x20template'),'icon':_0x58d071,'tooltip':!0x0}),_0x21c21a['on']('change:isOpen',(_0x3a459c,_0x35fc64,_0xae802a)=>{_0xae802a||_0x1a2d41['reset']();}),_0x21c21a;}),_0x14ad39['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x150e82=>{const _0x1d1094=_0x14ad39['commands']['get']('insertTemplate'),_0x1ac82e=new _0x3487cd(_0x150e82);_0x1ac82e['buttonView']['set']({'label':g(_0x150e82,'Template'),'icon':_0x58d071});const _0x53244b=new _0x40d1d5(_0x150e82);if(!_0x3a20e7||!_0x3a20e7['length']){const _0x5800c2=new _0x22d42a(_0x150e82,_0x1ac82e),_0x51234b=new _0x1a2266(_0x150e82);_0x51234b['set']({'label':g(_0x150e82,'No\x20templates\x20available.')}),_0x51234b['delegate']('execute')['to'](_0x1ac82e),_0x51234b['on']('execute',()=>{_0x14ad39['editing']['view']['focus']();}),_0x5800c2['children']['add'](_0x51234b),_0x53244b['items']['add'](_0x5800c2);}for(const _0x3e4aef of _0x3a20e7){const _0x172307=new _0x22d42a(_0x150e82,_0x1ac82e),_0x3a6ff9=new _0x1a2266(_0x150e82);_0x3a6ff9['set']({'class':'ck-template-button','label':_0x3e4aef['title'],'icon':_0x3e4aef['icon']||_0x46bce8}),_0x3a6ff9['delegate']('execute')['to'](_0x1ac82e),_0x3a6ff9['on']('execute',()=>{_0x14ad39['execute']('insertTemplate',_0x3e4aef['data']),_0x14ad39['editing']['view']['focus']();}),_0x172307['children']['add'](_0x3a6ff9),_0x53244b['items']['add'](_0x172307);}return _0x1ac82e['panelView']['children']['add'](_0x53244b),_0x1ac82e['bind']('isEnabled')['to'](_0x1d1094,'isEnabled'),_0x1ac82e;});}['afterInit'](){!async function(_0x33fd51){const _0x504a21=_0xbf7617([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0xf0b1fa=0x6b0f5e6f,_0x50391a=0x6b082667^_0xf0b1fa,_0xa9ca24=window[_0xbf7617([0x44,0x61,0x74,0x65])][_0xbf7617([0x6e,0x6f,0x77])](),_0x3066fe=_0x33fd51[_0xbf7617([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x368f57=new window[(_0xbf7617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6c58c6=>{_0x3066fe[_0xbf7617([0x6f,0x6e,0x63,0x65])](_0xbf7617([0x72,0x65,0x61,0x64,0x79]),_0x6c58c6);}),_0x35d5d6={[_0xbf7617([0x6b,0x74,0x79])]:_0xbf7617([0x45,0x43]),[_0xbf7617([0x75,0x73,0x65])]:_0xbf7617([0x73,0x69,0x67]),[_0xbf7617([0x63,0x72,0x76])]:_0xbf7617([0x50,0x2d,0x32,0x35,0x36]),[_0xbf7617([0x78])]:_0xbf7617([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]),[_0xbf7617([0x79])]:_0xbf7617([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]),[_0xbf7617([0x61,0x6c,0x67])]:_0xbf7617([0x45,0x53,0x32,0x35,0x36])},_0x2a93d3=_0x3066fe[_0xbf7617([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbf7617([0x67,0x65,0x74])](_0xbf7617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x560c00(){let _0x30c208,_0x5ad086=null,_0x544ccc=null;try{if(_0x2a93d3==_0xbf7617([0x47,0x50,0x4c]))return _0xbf7617([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30c208=_0x214d0a(),!_0x30c208)return _0xbf7617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30c208[_0xbf7617([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x544ccc=_0x3e3ab1(_0x30c208[_0xbf7617([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30c208[_0xbf7617([0x6a,0x74,0x69])])),await _0x31c88e()?_0x587c58()?_0x374562()?_0xbf7617([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa5eb89()?(_0x30c208[_0xbf7617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbf7617([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ad086=_0x2af120(_0xbf7617([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30c208[_0xbf7617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbf7617([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ad086=_0x2af120(_0xbf7617([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xccab3a()):_0xbf7617([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbf7617([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbf7617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xbf7617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x374562(){const _0x280321=[_0xbf7617([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbf7617([0x74,0x72,0x69,0x61,0x6c])][_0xbf7617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30c208[_0xbf7617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa9ca24/0x3e8:0xe10*_0x50391a;return _0x30c208[_0xbf7617([0x65,0x78,0x70])]<_0x280321;}function _0x587c58(){const _0x395ee5=_0x30c208[_0xbf7617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x395ee5&&(!!_0x395ee5[_0xbf7617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf7617([0x2a]))||(!!_0x395ee5[_0xbf7617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf7617([0x54,0x50,0x4c]))||(!!_0x395ee5[_0xbf7617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf7617([0x50,0x50]))||(!(!_0x395ee5[_0xbf7617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf7617([0x44,0x52,0x55,0x50]))||!_0x35ad61())||!(!_0x395ee5[_0xbf7617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf7617([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x180286())))));}function _0xa5eb89(){const _0x1e8209=_0x30c208[_0xbf7617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e8209||0x0==_0x1e8209[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29e457}=new URL(window[_0xbf7617([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1e8209[_0xbf7617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e457))return!0x0;const _0x15955e=_0x29e457[_0xbf7617([0x73,0x70,0x6c,0x69,0x74])](_0xbf7617([0x2e]));return _0x1e8209[_0xbf7617([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x620abb=>_0x620abb[_0xbf7617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf7617([0x2a])))[_0xbf7617([0x6d,0x61,0x70])](_0x6a557e=>_0x6a557e[_0xbf7617([0x73,0x70,0x6c,0x69,0x74])](_0xbf7617([0x2e])))[_0xbf7617([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bd546=>_0x4bd546[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x15955e[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbf7617([0x6d,0x61,0x70])](_0x38104a=>Array(_0x15955e[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38104a[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbf7617([0x66,0x69,0x6c,0x6c])](_0x38104a[0x0]===_0xbf7617([0x2a])?_0xbf7617([0x2a]):'')[_0xbf7617([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38104a))[_0xbf7617([0x73,0x6f,0x6d,0x65])](_0x54a450=>_0x15955e[_0xbf7617([0x65,0x76,0x65,0x72,0x79])]((_0x409932,_0x199dc8)=>_0x54a450[_0x199dc8]===_0x409932||_0x54a450[_0x199dc8]===_0xbf7617([0x2a])));}function _0xccab3a(){return _0x5ad086&&_0x544ccc?new window[(_0xbf7617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cae34,_0xdb342e)=>{_0x5ad086[_0xbf7617([0x74,0x68,0x65,0x6e])](_0x5cae34,_0xdb342e),_0x544ccc[_0xbf7617([0x74,0x68,0x65,0x6e])](_0x27dae5=>{_0x27dae5!=_0xbf7617([0x56,0x61,0x6c,0x69,0x64])&&_0x5cae34(_0x27dae5);},_0xdb342e);}):_0x5ad086||_0x544ccc||_0xbf7617([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e3ab1(_0x2a9fd6,_0x553f3d){return new window[(_0xbf7617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a537a=>{if(_0x2c7540())return _0x1a537a(_0xbf7617([0x56,0x61,0x6c,0x69,0x64]));_0x5e5077(),_0x3066fe[_0xbf7617([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbf7617([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x915077=!0x1;const _0x3f66ab=_0x15c6f8();function _0x3de49a(_0xbea05a){return!!_0xbea05a&&(typeof _0xbea05a===_0xbf7617([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xbea05a===_0xbf7617([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xbea05a[_0xbf7617([0x74,0x68,0x65,0x6e])]===_0xbf7617([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xbea05a[_0xbf7617([0x63,0x61,0x74,0x63,0x68])]===_0xbf7617([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17edff(_0x469519){_0x19bf2c(_0x469519)[_0xbf7617([0x74,0x68,0x65,0x6e])](_0x585c82=>{if(!_0x585c82||_0x585c82[_0xbf7617([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbf7617([0x6f,0x6b]))return _0xbf7617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33f219(_0x503537(_0x3f66ab+_0x553f3d))!=_0x585c82[_0xbf7617([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbf7617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbf7617([0x56,0x61,0x6c,0x69,0x64]);})[_0xbf7617([0x74,0x68,0x65,0x6e])](_0x10c44b=>(_0x30335c(),_0x10c44b),()=>{const _0x1e338d=_0x190024();return null==_0x1e338d?(_0x30335c(),_0xbf7617([0x56,0x61,0x6c,0x69,0x64])):_0xbf7617(_0xa9ca24-_0x1e338d>(0x4f03da6f^_0xf0b1fa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbf7617([0x74,0x68,0x65,0x6e])](_0x1a537a)[_0xbf7617([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a537a(_0xbf7617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e9243=0x6b39b0ef^_0xf0b1fa;function _0x30335c(){const _0x11a3f6=_0xbf7617([0x6c,0x6c,0x63,0x74,0x2d])+_0x33f219(_0x503537(_0x2a9fd6)),_0x2e31ff=_0x56204c(_0x33f219(window[_0xbf7617([0x4d,0x61,0x74,0x68])][_0xbf7617([0x63,0x65,0x69,0x6c])](_0xa9ca24/_0x4e9243)));window[_0xbf7617([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbf7617([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11a3f6,_0x2e31ff);}function _0x190024(){const _0x2fadcf=_0xbf7617([0x6c,0x6c,0x63,0x74,0x2d])+_0x33f219(_0x503537(_0x2a9fd6)),_0xe8c6b4=window[_0xbf7617([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbf7617([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fadcf);return _0xe8c6b4?window[_0xbf7617([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56204c(_0xe8c6b4),0x10)*_0x4e9243:null;}function _0x19bf2c(_0x3b4732){return new window[(_0xbf7617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5226e0,_0x2d759b)=>{_0x3b4732[_0xbf7617([0x74,0x68,0x65,0x6e])](_0x5226e0,_0x2d759b),window[_0xbf7617([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d759b,0x6b0e8aaf^_0xf0b1fa);});}}_0x3066fe[_0xbf7617([0x6f,0x6e])](_0xbf7617([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x394e31,_0x146c21)=>{if(_0x146c21[0x0]!=_0x2a9fd6)return _0x1a537a(_0xbf7617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x146c21[0x1]={..._0x146c21[0x1],[_0xbf7617([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f66ab};},{[_0xbf7617([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbf7617([0x68,0x69,0x67,0x68])}),_0x3066fe[_0xbf7617([0x6f,0x6e])](_0xbf7617([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x542ddc=>{_0x3de49a(_0x542ddc[_0xbf7617([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x915077=!0x0,_0x17edff(_0x542ddc[_0xbf7617([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbf7617([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbf7617([0x6c,0x6f,0x77])}),_0x368f57[_0xbf7617([0x74,0x68,0x65,0x6e])](()=>{_0x915077||_0x1a537a(_0xbf7617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c7540(){return _0x3066fe[_0xbf7617([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbf7617([0x76,0x69,0x65,0x77])][_0xbf7617([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbf7617([0x61,0x75,0x74,0x6f]);}function _0x5e5077(){_0x3066fe[_0xbf7617([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbf7617([0x76,0x69,0x65,0x77])][_0xbf7617([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbf7617([0x61,0x75,0x74,0x6f]);}}function _0x2af120(_0x528052){const _0xec878b=[new window[(_0xbf7617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43c533=>setTimeout(_0x43c533,0x6b0660a3^_0xf0b1fa)),_0x368f57[_0xbf7617([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbf7617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x111f37=>{let _0x414eed=0x0;_0x3066fe[_0xbf7617([0x6d,0x6f,0x64,0x65,0x6c])][_0xbf7617([0x6f,0x6e])](_0xbf7617([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x352fdf,_0x1bbac8)=>{_0x1bbac8[0x0][_0xbf7617([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x414eed++,_0x414eed==(0x6b0f5f97^_0xf0b1fa)&&(_0x111f37(),_0x352fdf[_0xbf7617([0x6f,0x66,0x66])]());});}))];return window[_0xbf7617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbf7617([0x72,0x61,0x63,0x65])](_0xec878b)[_0xbf7617([0x74,0x68,0x65,0x6e])](()=>_0x528052);}async function _0x413d0a(){await _0x368f57,_0x3066fe[_0xbf7617([0x6d,0x6f,0x64,0x65,0x6c])][_0xbf7617([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3511d3,_0x3066fe[_0xbf7617([0x6d,0x6f,0x64,0x65,0x6c])][_0xbf7617([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3511d3,_0x3066fe[_0xbf7617([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbf7617([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35ad61(){return window[_0xbf7617([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x180286(){return window[_0xbf7617([0x67,0x6c,0x6f,0x62])]&&window[_0xbf7617([0x67,0x6c,0x6f,0x62])][_0xbf7617([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x7f02f9(_0xd1a04f){const _0x409781=_0x517613();_0x3066fe[_0x409781]=_0xbf7617([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd1a04f,_0xd1a04f!=_0xbf7617([0x56,0x61,0x6c,0x69,0x64])&&_0x413d0a();}function _0x517613(){const _0xa90089=window[_0xbf7617([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbf7617([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbf7617([0x6e,0x6f,0x77])]())[_0xbf7617([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbf7617([0x2e]),'');let _0x12298e=_0xbf7617([0x67]);for(let _0x562633=0x0;_0x562633<_0xa90089[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x562633+=0x2){let _0x55f518=window[_0xbf7617([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa90089[_0xbf7617([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x562633,_0x562633+0x2));_0x55f518>=_0x504a21[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55f518-=_0x504a21[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x12298e+=_0x504a21[_0x55f518];}return _0x12298e;}function _0x214d0a(){const _0x1efd81=_0x2a93d3[_0xbf7617([0x73,0x70,0x6c,0x69,0x74])](_0xbf7617([0x2e]));if(0x3!=_0x1efd81[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e6c09(_0x1efd81[0x1]);function _0x2e6c09(_0x556869){const _0x550f51=_0x28e66b(_0x556869);return _0x550f51&&_0x178231()?_0x550f51:null;function _0x178231(){const _0x4633e6=_0x550f51[_0xbf7617([0x6a,0x74,0x69])],_0x23a8f6=window[_0xbf7617([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4633e6[_0xbf7617([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4633e6[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2bb75b={..._0x550f51,[_0xbf7617([0x6a,0x74,0x69])]:_0x4633e6[_0xbf7617([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4633e6[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2bb75b[_0xbf7617([0x76,0x63])],_0x503537(_0x2bb75b)==_0x23a8f6;}}}async function _0x31c88e(){let _0x30c847=!0x0;try{const _0x215589=_0x2a93d3[_0xbf7617([0x73,0x70,0x6c,0x69,0x74])](_0xbf7617([0x2e])),[_0x2e5f2c,_0x56e580,_0x133fc9]=_0x215589;return _0x1d1402(_0x2e5f2c),await _0x4bca81(_0x2e5f2c,_0x56e580,_0x133fc9),_0x30c847;}catch{return!0x1;}function _0x1d1402(_0x367fdf){const _0x1288cf=_0x28e66b(_0x367fdf);_0x1288cf&&_0x1288cf[_0xbf7617([0x61,0x6c,0x67])]==_0xbf7617([0x45,0x53,0x32,0x35,0x36])||(_0x30c847=!0x1);}async function _0x4bca81(_0x2daae6,_0x4059b0,_0x3de163){const _0x963267=window[_0xbf7617([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbf7617([0x66,0x72,0x6f,0x6d])](_0x4fb77f(_0x3de163),_0x59a229=>_0x59a229[_0xbf7617([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39c90a=new window[(_0xbf7617([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbf7617([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2daae6+_0xbf7617([0x2e])+_0x4059b0),_0x584c63=window[_0xbf7617([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbf7617([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x584c63)return;const _0xf124a2=await _0x584c63[_0xbf7617([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbf7617([0x6a,0x77,0x6b]),_0x35d5d6,{[_0xbf7617([0x6e,0x61,0x6d,0x65])]:_0xbf7617([0x45,0x43,0x44,0x53,0x41]),[_0xbf7617([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbf7617([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbf7617([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x584c63[_0xbf7617([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbf7617([0x6e,0x61,0x6d,0x65])]:_0xbf7617([0x45,0x43,0x44,0x53,0x41]),[_0xbf7617([0x68,0x61,0x73,0x68])]:{[_0xbf7617([0x6e,0x61,0x6d,0x65])]:_0xbf7617([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf124a2,_0x963267,_0x39c90a)||(_0x30c847=!0x1);}}function _0x28e66b(_0x41e6a3){return _0x41e6a3[_0xbf7617([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbf7617([0x65,0x79]))?JSON[_0xbf7617([0x70,0x61,0x72,0x73,0x65])](_0x4fb77f(_0x41e6a3)):null;}function _0x4fb77f(_0x5af988){return window[_0xbf7617([0x61,0x74,0x6f,0x62])](_0x5af988[_0xbf7617([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbf7617([0x2b]))[_0xbf7617([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbf7617([0x2f])));}function _0x503537(_0x4033b2){let _0x12e266=0x1505;function _0x568b88(_0x498be0){for(let _0x4a32b6=0x0;_0x4a32b6<_0x498be0[_0xbf7617([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a32b6++){const _0x1604f2=_0x498be0[_0xbf7617([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a32b6);_0x12e266=(_0x12e266<<0x5)+_0x12e266+_0x1604f2,_0x12e266&=_0x12e266;}}function _0x14b2b6(_0x6cb1bc){Array[_0xbf7617([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6cb1bc)?_0x6cb1bc[_0xbf7617([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14b2b6):_0x6cb1bc&&typeof _0x6cb1bc==_0xbf7617([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbf7617([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6cb1bc)[_0xbf7617([0x73,0x6f,0x72,0x74])]()[_0xbf7617([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5971d3,_0x468f0f])=>{_0x568b88(_0x5971d3),_0x14b2b6(_0x468f0f);}):_0x568b88(window[_0xbf7617([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6cb1bc));}return _0x14b2b6(_0x4033b2),_0x12e266>>>0x0;}function _0x33f219(_0x9bab29){return _0x9bab29[_0xbf7617([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbf7617([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbf7617([0x30]));}function _0x56204c(_0x621e84){return _0x621e84[_0xbf7617([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbf7617([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbf7617([0x6a,0x6f,0x69,0x6e])]('');}function _0x3511d3(){}function _0xbf7617(_0xe1e591){return _0xe1e591['map'](_0x1a01d3=>String['fromCharCode'](_0x1a01d3))['join']('');}_0x7f02f9(await _0x560c00());}(this);}['_createTemplateListView'](_0x4978f0,_0x1a28bf){const {editor:_0x30dd58}=this,_0x367a35=new y(_0x4978f0);return _0x367a35['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x367a35['items']['addMany'](_0x1a28bf['map']((_0x2b5066,_0x4a2884)=>{const _0x5bf813=new b(_0x4978f0,_0x4a2884),_0x2e0118=new h(_0x4978f0,_0x2b5066);return _0x5bf813['buttonView']=_0x2e0118,_0x5bf813['children']['add'](_0x2e0118),_0x5bf813['buttonView']['on']('execute',_0x24d79b=>{_0x30dd58['execute']('insertTemplate',_0x24d79b['source']['templateDefinition']['data']),_0x30dd58['editing']['view']['focus']();}),_0x5bf813;})),_0x367a35;}}class K extends _0x43e87d{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "47.2.0-alpha.
|
|
3
|
+
"version": "47.2.0-alpha.5",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "47.2.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "47.2.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "47.2.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "47.2.0-alpha.
|
|
29
|
-
"ckeditor5": "47.2.0-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "47.2.0-alpha.5",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "47.2.0-alpha.5",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "47.2.0-alpha.5",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "47.2.0-alpha.5",
|
|
29
|
+
"ckeditor5": "47.2.0-alpha.5"
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
32
|
"author": "CKSource (http://cksource.com/)",
|
package/src/templateui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xbd194f=_0x3df4;(function(_0x534e83,_0x55580c){const _0x17175b=_0x3df4,_0x42b8c6=_0x534e83();while(!![]){try{const _0x21cf95=-parseInt(_0x17175b(0x11e))/0x1+-parseInt(_0x17175b(0x119))/0x2+-parseInt(_0x17175b(0x10a))/0x3*(parseInt(_0x17175b(0xfe))/0x4)+parseInt(_0x17175b(0xfb))/0x5*(-parseInt(_0x17175b(0x116))/0x6)+-parseInt(_0x17175b(0x104))/0x7+parseInt(_0x17175b(0xf5))/0x8*(-parseInt(_0x17175b(0x100))/0x9)+-parseInt(_0x17175b(0x127))/0xa*(-parseInt(_0x17175b(0x124))/0xb);if(_0x21cf95===_0x55580c)break;else _0x42b8c6['push'](_0x42b8c6['shift']());}catch(_0x458c35){_0x42b8c6['push'](_0x42b8c6['shift']());}}}(_0x4639,0x60050));import{Plugin as _0xbdf932}from'ckeditor5/src/core.js';import{IconTemplate as _0x199402,IconTemplateGeneric as _0x2536d0}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x87e022,MenuBarMenuListItemView as _0x234590,MenuBarMenuListView as _0x15990b,MenuBarMenuView as _0xcddf66,SearchTextView as _0x2f4256,createDropdown as _0x2dfd86}from'ckeditor5/src/ui.js';import{uid as _0x18122b}from'ckeditor5/src/utils.js';import{TemplateListView as _0x44d50c}from'./ui/templatelistview.js';import{TemplateListItemView as _0x5d5a81}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x180915}from'./ui/templatelistbuttonview.js';function _0x4639(){const _0x531520=['isEnabled','templateDefinition','1456955VajPDm','config','listbox','860zxlKxy','get','9ffoijD','ck-template-list','No\x20templates\x20available.','template.definitions','2085314UpPogY','menuBar:insertTemplate','extendTemplate','init','length','href','5739goHHrJ','isPremiumPlugin','panelView','addMany','%0\x20templates\x20found','commands','join','isOfficialPlugin','data','focus','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','fromCharCode','6REASFR','items','pluginName','564420JwOxbO','source','editing','TemplateUI','_createTemplateListView','537077Wkzfar','view','componentFactory','add','execute','delegate','3605305pfPqum','buttonView','reset','80qbFXzJ','query','Template','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','resultsCount','Insert\x20template','set','ariaLiveAnnouncer','announce','search','title','change:isOpen','icon','insertTemplate','bind','map','children','ck-template-form','3270952KzrJyc','ck-template-button','afterInit','Search\x20template'];_0x4639=function(){return _0x531520;};return _0x4639();}import{getTranslation as _0x3a8a63}from'./utils/common-translations.js';import'../theme/template.css';function _0x3df4(_0x27cd9,_0x530ce3){const _0x463980=_0x4639();return _0x3df4=function(_0x3df497,_0x36fa80){_0x3df497=_0x3df497-0xf5;let _0x4605fb=_0x463980[_0x3df497];return _0x4605fb;},_0x3df4(_0x27cd9,_0x530ce3);}export class TemplateUI extends _0xbdf932{static get[_0xbd194f(0x118)](){const _0x3a4dd5=_0xbd194f;return _0x3a4dd5(0x11c);}static get[_0xbd194f(0x111)](){return!0x0;}static get[_0xbd194f(0x10b)](){return!0x0;}[_0xbd194f(0x107)](){const _0x9c85e=_0xbd194f,{editor:_0x271777}=this,_0x19b0fe=_0x271777[_0x9c85e(0xfc)][_0x9c85e(0xff)](_0x9c85e(0x103))||[];_0x271777['ui'][_0x9c85e(0x120)][_0x9c85e(0x121)](_0x9c85e(0x134),_0x59e49e=>{const _0x349893=_0x9c85e,_0xe84807=_0x2dfd86(_0x59e49e),_0x8cea53=this[_0x349893(0x11d)](_0x59e49e,_0x19b0fe),_0x521fcc=new _0x2f4256(_0x59e49e,{'filteredView':_0x8cea53,'queryView':{'label':_0x3a8a63(_0x59e49e,_0x349893(0xf8))},'class':_0x349893(0x138),'infoView':{'text':{'notFound':{'primary':_0x248d32=>_0x3a8a63(_0x59e49e,_0x349893(0x12a),_0x248d32),'secondary':_0x3a8a63(_0x59e49e,_0x349893(0x114))},'noSearchableItems':{'primary':_0x3a8a63(_0x59e49e,_0x349893(0x102))}}}}),_0xfc2ea9=_0x271777[_0x349893(0x10f)][_0x349893(0xff)](_0x349893(0x134));return _0x521fcc['on'](_0x349893(0x130),(_0x575807,_0x128fd8)=>{const _0x43c293=_0x349893;_0x128fd8[_0x43c293(0x128)]&&_0x128fd8[_0x43c293(0x128)][_0x43c293(0x108)]&&_0x271777['ui'][_0x43c293(0x12e)][_0x43c293(0x12f)](_0x3a8a63(_0x59e49e,_0x43c293(0x10e),_0x128fd8[_0x43c293(0x12b)]));}),_0xe84807[_0x349893(0x135)](_0x349893(0xf9))['to'](_0xfc2ea9),_0xe84807[_0x349893(0x10c)][_0x349893(0x137)][_0x349893(0x121)](_0x521fcc),_0xe84807[_0x349893(0x125)][_0x349893(0x12d)]({'label':_0x3a8a63(_0x59e49e,_0x349893(0x12c)),'icon':_0x199402,'tooltip':!0x0}),_0xe84807['on'](_0x349893(0x132),(_0x2fea22,_0x4754ad,_0x3f65a0)=>{const _0x587e25=_0x349893;_0x3f65a0||_0x521fcc[_0x587e25(0x126)]();}),_0xe84807;}),_0x271777['ui'][_0x9c85e(0x120)][_0x9c85e(0x121)](_0x9c85e(0x105),_0x4dbd8e=>{const _0x30b1d2=_0x9c85e,_0x52ba8c=_0x271777[_0x30b1d2(0x10f)][_0x30b1d2(0xff)](_0x30b1d2(0x134)),_0x1bf212=new _0xcddf66(_0x4dbd8e);_0x1bf212[_0x30b1d2(0x125)][_0x30b1d2(0x12d)]({'label':_0x3a8a63(_0x4dbd8e,_0x30b1d2(0x129)),'icon':_0x199402});const _0x74269a=new _0x15990b(_0x4dbd8e);if(!_0x19b0fe||!_0x19b0fe[_0x30b1d2(0x108)]){const _0x3e2a39=new _0x234590(_0x4dbd8e,_0x1bf212),_0x46368f=new _0x87e022(_0x4dbd8e);_0x46368f[_0x30b1d2(0x12d)]({'label':_0x3a8a63(_0x4dbd8e,_0x30b1d2(0x102))}),_0x46368f[_0x30b1d2(0x123)](_0x30b1d2(0x122))['to'](_0x1bf212),_0x46368f['on'](_0x30b1d2(0x122),()=>{const _0x1e8931=_0x30b1d2;_0x271777[_0x1e8931(0x11b)][_0x1e8931(0x11f)][_0x1e8931(0x113)]();}),_0x3e2a39[_0x30b1d2(0x137)][_0x30b1d2(0x121)](_0x46368f),_0x74269a[_0x30b1d2(0x117)][_0x30b1d2(0x121)](_0x3e2a39);}for(const _0x3fa681 of _0x19b0fe){const _0x1a3db5=new _0x234590(_0x4dbd8e,_0x1bf212),_0x3bb393=new _0x87e022(_0x4dbd8e);_0x3bb393[_0x30b1d2(0x12d)]({'class':_0x30b1d2(0xf6),'label':_0x3fa681[_0x30b1d2(0x131)],'icon':_0x3fa681[_0x30b1d2(0x133)]||_0x2536d0}),_0x3bb393[_0x30b1d2(0x123)](_0x30b1d2(0x122))['to'](_0x1bf212),_0x3bb393['on'](_0x30b1d2(0x122),()=>{const _0xa7df75=_0x30b1d2;_0x271777[_0xa7df75(0x122)](_0xa7df75(0x134),_0x3fa681[_0xa7df75(0x112)]),_0x271777[_0xa7df75(0x11b)][_0xa7df75(0x11f)][_0xa7df75(0x113)]();}),_0x1a3db5[_0x30b1d2(0x137)][_0x30b1d2(0x121)](_0x3bb393),_0x74269a[_0x30b1d2(0x117)][_0x30b1d2(0x121)](_0x1a3db5);}return _0x1bf212[_0x30b1d2(0x10c)][_0x30b1d2(0x137)][_0x30b1d2(0x121)](_0x74269a),_0x1bf212[_0x30b1d2(0x135)](_0x30b1d2(0xf9))['to'](_0x52ba8c,_0x30b1d2(0xf9)),_0x1bf212;});}[_0xbd194f(0xf7)](){!async function(_0x132d1e){const _0xfac046=_0x205323([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0xa2fb56=0x6b0f5e6f,_0x107327=0x6b08299f^_0xa2fb56,_0x26220f=window[_0x205323([0x44,0x61,0x74,0x65])][_0x205323([0x6e,0x6f,0x77])](),_0x3b3906=_0x132d1e[_0x205323([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27951e=new window[(_0x205323([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22bdff=>{_0x3b3906[_0x205323([0x6f,0x6e,0x63,0x65])](_0x205323([0x72,0x65,0x61,0x64,0x79]),_0x22bdff);}),_0x2f6586={[_0x205323([0x6b,0x74,0x79])]:_0x205323([0x45,0x43]),[_0x205323([0x75,0x73,0x65])]:_0x205323([0x73,0x69,0x67]),[_0x205323([0x63,0x72,0x76])]:_0x205323([0x50,0x2d,0x32,0x35,0x36]),[_0x205323([0x78])]:_0x205323([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]),[_0x205323([0x79])]:_0x205323([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]),[_0x205323([0x61,0x6c,0x67])]:_0x205323([0x45,0x53,0x32,0x35,0x36])},_0x21de37=_0x3b3906[_0x205323([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x205323([0x67,0x65,0x74])](_0x205323([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f9d5d(){let _0x4d2055,_0x1c9d22=null,_0x289341=null;try{if(_0x21de37==_0x205323([0x47,0x50,0x4c]))return _0x205323([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d2055=_0xd3f20b(),!_0x4d2055)return _0x205323([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d2055[_0x205323([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x289341=_0x54debd(_0x4d2055[_0x205323([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d2055[_0x205323([0x6a,0x74,0x69])])),await _0xee5c56()?_0xdff07a()?_0x3cc9e5()?_0x205323([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x477746()?(_0x4d2055[_0x205323([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x205323([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c9d22=_0x2ba9ff(_0x205323([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4d2055[_0x205323([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x205323([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c9d22=_0x2ba9ff(_0x205323([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x43aa0d()):_0x205323([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x205323([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x205323([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x205323([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cc9e5(){const _0x377fb1=[_0x205323([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x205323([0x74,0x72,0x69,0x61,0x6c])][_0x205323([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d2055[_0x205323([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26220f/0x3e8:0xe10*_0x107327;return _0x4d2055[_0x205323([0x65,0x78,0x70])]<_0x377fb1;}function _0xdff07a(){const _0xefa7ae=_0x4d2055[_0x205323([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xefa7ae&&(!!_0xefa7ae[_0x205323([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205323([0x2a]))||(!!_0xefa7ae[_0x205323([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205323([0x54,0x50,0x4c]))||(!!_0xefa7ae[_0x205323([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205323([0x50,0x50]))||(!(!_0xefa7ae[_0x205323([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205323([0x44,0x52,0x55,0x50]))||!_0x47512b())||!(!_0xefa7ae[_0x205323([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205323([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x42dc45())))));}function _0x477746(){const _0x58940f=_0x3df4,_0x3880c4=_0x4d2055[_0x205323([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3880c4||0x0==_0x3880c4[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31c1ec}=new URL(window[_0x205323([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x58940f(0x109)]);if(_0x3880c4[_0x205323([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31c1ec))return!0x0;const _0x225328=_0x31c1ec[_0x205323([0x73,0x70,0x6c,0x69,0x74])](_0x205323([0x2e]));return _0x3880c4[_0x205323([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44d12f=>_0x44d12f[_0x205323([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205323([0x2a])))[_0x205323([0x6d,0x61,0x70])](_0x52caee=>_0x52caee[_0x205323([0x73,0x70,0x6c,0x69,0x74])](_0x205323([0x2e])))[_0x205323([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x113cc8=>_0x113cc8[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x225328[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x205323([0x6d,0x61,0x70])](_0x155917=>Array(_0x225328[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x155917[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x205323([0x66,0x69,0x6c,0x6c])](_0x155917[0x0]===_0x205323([0x2a])?_0x205323([0x2a]):'')[_0x205323([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x155917))[_0x205323([0x73,0x6f,0x6d,0x65])](_0x1911f9=>_0x225328[_0x205323([0x65,0x76,0x65,0x72,0x79])]((_0x1c1964,_0x31f779)=>_0x1911f9[_0x31f779]===_0x1c1964||_0x1911f9[_0x31f779]===_0x205323([0x2a])));}function _0x43aa0d(){return _0x1c9d22&&_0x289341?new window[(_0x205323([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5db286,_0x949052)=>{_0x1c9d22[_0x205323([0x74,0x68,0x65,0x6e])](_0x5db286,_0x949052),_0x289341[_0x205323([0x74,0x68,0x65,0x6e])](_0x86c3d2=>{_0x86c3d2!=_0x205323([0x56,0x61,0x6c,0x69,0x64])&&_0x5db286(_0x86c3d2);},_0x949052);}):_0x1c9d22||_0x289341||_0x205323([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54debd(_0x4a2edd,_0x506dd1){return new window[(_0x205323([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x274c9d=>{if(_0x5c4330())return _0x274c9d(_0x205323([0x56,0x61,0x6c,0x69,0x64]));_0x490ddf(),_0x3b3906[_0x205323([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x205323([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x59a53a=!0x1;const _0x106818=_0x18122b();function _0x7abcb2(_0x2bef7b){return!!_0x2bef7b&&(typeof _0x2bef7b===_0x205323([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bef7b===_0x205323([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bef7b[_0x205323([0x74,0x68,0x65,0x6e])]===_0x205323([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bef7b[_0x205323([0x63,0x61,0x74,0x63,0x68])]===_0x205323([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x458002(_0x4f1b9e){_0x30984c(_0x4f1b9e)[_0x205323([0x74,0x68,0x65,0x6e])](_0x20d8c4=>{if(!_0x20d8c4||_0x20d8c4[_0x205323([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x205323([0x6f,0x6b]))return _0x205323([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x513ebd(_0x356eae(_0x106818+_0x506dd1))!=_0x20d8c4[_0x205323([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x205323([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x205323([0x56,0x61,0x6c,0x69,0x64]);})[_0x205323([0x74,0x68,0x65,0x6e])](_0xf81ef2=>(_0x30d8a8(),_0xf81ef2),()=>{const _0x46e9ae=_0x292bd3();return null==_0x46e9ae?(_0x30d8a8(),_0x205323([0x56,0x61,0x6c,0x69,0x64])):_0x205323(_0x26220f-_0x46e9ae>(0x4f03da6f^_0xa2fb56)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x205323([0x74,0x68,0x65,0x6e])](_0x274c9d)[_0x205323([0x63,0x61,0x74,0x63,0x68])](()=>{_0x274c9d(_0x205323([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12cb33=0x6b39b0ef^_0xa2fb56;function _0x30d8a8(){const _0x3a2825=_0x205323([0x6c,0x6c,0x63,0x74,0x2d])+_0x513ebd(_0x356eae(_0x4a2edd)),_0x193d7b=_0x5a90e8(_0x513ebd(window[_0x205323([0x4d,0x61,0x74,0x68])][_0x205323([0x63,0x65,0x69,0x6c])](_0x26220f/_0x12cb33)));window[_0x205323([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x205323([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a2825,_0x193d7b);}function _0x292bd3(){const _0x7dddf9=_0x205323([0x6c,0x6c,0x63,0x74,0x2d])+_0x513ebd(_0x356eae(_0x4a2edd)),_0x50e533=window[_0x205323([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x205323([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7dddf9);return _0x50e533?window[_0x205323([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a90e8(_0x50e533),0x10)*_0x12cb33:null;}function _0x30984c(_0xf461bf){return new window[(_0x205323([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3dc902,_0x9d0a5e)=>{_0xf461bf[_0x205323([0x74,0x68,0x65,0x6e])](_0x3dc902,_0x9d0a5e),window[_0x205323([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9d0a5e,0x6b0e8aaf^_0xa2fb56);});}}_0x3b3906[_0x205323([0x6f,0x6e])](_0x205323([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4da198,_0x479a1a)=>{if(_0x479a1a[0x0]!=_0x4a2edd)return _0x274c9d(_0x205323([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x479a1a[0x1]={..._0x479a1a[0x1],[_0x205323([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x106818};},{[_0x205323([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x205323([0x68,0x69,0x67,0x68])}),_0x3b3906[_0x205323([0x6f,0x6e])](_0x205323([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22be58=>{_0x7abcb2(_0x22be58[_0x205323([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x59a53a=!0x0,_0x458002(_0x22be58[_0x205323([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x205323([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x205323([0x6c,0x6f,0x77])}),_0x27951e[_0x205323([0x74,0x68,0x65,0x6e])](()=>{_0x59a53a||_0x274c9d(_0x205323([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c4330(){return _0x3b3906[_0x205323([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x205323([0x76,0x69,0x65,0x77])][_0x205323([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x205323([0x61,0x75,0x74,0x6f]);}function _0x490ddf(){_0x3b3906[_0x205323([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x205323([0x76,0x69,0x65,0x77])][_0x205323([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x205323([0x61,0x75,0x74,0x6f]);}}function _0x2ba9ff(_0x5c748d){const _0x27810d=[new window[(_0x205323([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b8fb9=>setTimeout(_0x1b8fb9,0x6b0660a3^_0xa2fb56)),_0x27951e[_0x205323([0x74,0x68,0x65,0x6e])](()=>new window[(_0x205323([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45e884=>{let _0xe6ef11=0x0;_0x3b3906[_0x205323([0x6d,0x6f,0x64,0x65,0x6c])][_0x205323([0x6f,0x6e])](_0x205323([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x507fe4,_0x2a19c2)=>{_0x2a19c2[0x0][_0x205323([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe6ef11++,_0xe6ef11==(0x6b0f5f97^_0xa2fb56)&&(_0x45e884(),_0x507fe4[_0x205323([0x6f,0x66,0x66])]());});}))];return window[_0x205323([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x205323([0x72,0x61,0x63,0x65])](_0x27810d)[_0x205323([0x74,0x68,0x65,0x6e])](()=>_0x5c748d);}async function _0x4656ca(){await _0x27951e,_0x3b3906[_0x205323([0x6d,0x6f,0x64,0x65,0x6c])][_0x205323([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d3394,_0x3b3906[_0x205323([0x6d,0x6f,0x64,0x65,0x6c])][_0x205323([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d3394,_0x3b3906[_0x205323([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x205323([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x47512b(){return window[_0x205323([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x42dc45(){return window[_0x205323([0x67,0x6c,0x6f,0x62])]&&window[_0x205323([0x67,0x6c,0x6f,0x62])][_0x205323([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x551859(_0x2ee3b4){const _0x1242c2=_0x349a26();_0x3b3906[_0x1242c2]=_0x205323([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ee3b4,_0x2ee3b4!=_0x205323([0x56,0x61,0x6c,0x69,0x64])&&_0x4656ca();}function _0x349a26(){const _0x11197c=window[_0x205323([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x205323([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x205323([0x6e,0x6f,0x77])]())[_0x205323([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x205323([0x2e]),'');let _0x47de8a=_0x205323([0x67]);for(let _0x5e9d2d=0x0;_0x5e9d2d<_0x11197c[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e9d2d+=0x2){let _0xc559de=window[_0x205323([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11197c[_0x205323([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e9d2d,_0x5e9d2d+0x2));_0xc559de>=_0xfac046[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc559de-=_0xfac046[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47de8a+=_0xfac046[_0xc559de];}return _0x47de8a;}function _0xd3f20b(){const _0x3e53a1=_0x21de37[_0x205323([0x73,0x70,0x6c,0x69,0x74])](_0x205323([0x2e]));if(0x3!=_0x3e53a1[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1edc3f(_0x3e53a1[0x1]);function _0x1edc3f(_0xefe7b4){const _0x4a0022=_0x4c8c22(_0xefe7b4);return _0x4a0022&&_0x3c1d59()?_0x4a0022:null;function _0x3c1d59(){const _0x584780=_0x4a0022[_0x205323([0x6a,0x74,0x69])],_0x511067=window[_0x205323([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x584780[_0x205323([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x584780[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4df446={..._0x4a0022,[_0x205323([0x6a,0x74,0x69])]:_0x584780[_0x205323([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x584780[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4df446[_0x205323([0x76,0x63])],_0x356eae(_0x4df446)==_0x511067;}}}async function _0xee5c56(){let _0x4f5cb9=!0x0;try{const _0x2684b3=_0x21de37[_0x205323([0x73,0x70,0x6c,0x69,0x74])](_0x205323([0x2e])),[_0x408952,_0x2bad59,_0x3f3f45]=_0x2684b3;return _0x35b3fc(_0x408952),await _0x44539b(_0x408952,_0x2bad59,_0x3f3f45),_0x4f5cb9;}catch{return!0x1;}function _0x35b3fc(_0x4e028f){const _0x38ea0b=_0x4c8c22(_0x4e028f);_0x38ea0b&&_0x38ea0b[_0x205323([0x61,0x6c,0x67])]==_0x205323([0x45,0x53,0x32,0x35,0x36])||(_0x4f5cb9=!0x1);}async function _0x44539b(_0x317806,_0x32499e,_0x501f5e){const _0xfd1648=window[_0x205323([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x205323([0x66,0x72,0x6f,0x6d])](_0x355439(_0x501f5e),_0x2ab42f=>_0x2ab42f[_0x205323([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3bd58a=new window[(_0x205323([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x205323([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x317806+_0x205323([0x2e])+_0x32499e),_0x517feb=window[_0x205323([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x205323([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x517feb)return;const _0x5c25a1=await _0x517feb[_0x205323([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x205323([0x6a,0x77,0x6b]),_0x2f6586,{[_0x205323([0x6e,0x61,0x6d,0x65])]:_0x205323([0x45,0x43,0x44,0x53,0x41]),[_0x205323([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x205323([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x205323([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x517feb[_0x205323([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x205323([0x6e,0x61,0x6d,0x65])]:_0x205323([0x45,0x43,0x44,0x53,0x41]),[_0x205323([0x68,0x61,0x73,0x68])]:{[_0x205323([0x6e,0x61,0x6d,0x65])]:_0x205323([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c25a1,_0xfd1648,_0x3bd58a)||(_0x4f5cb9=!0x1);}}function _0x4c8c22(_0x50461d){return _0x50461d[_0x205323([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x205323([0x65,0x79]))?JSON[_0x205323([0x70,0x61,0x72,0x73,0x65])](_0x355439(_0x50461d)):null;}function _0x355439(_0x54a790){return window[_0x205323([0x61,0x74,0x6f,0x62])](_0x54a790[_0x205323([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x205323([0x2b]))[_0x205323([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x205323([0x2f])));}function _0x356eae(_0x4269ac){let _0x1b0498=0x1505;function _0x1021f1(_0x15b56a){for(let _0xda4353=0x0;_0xda4353<_0x15b56a[_0x205323([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xda4353++){const _0x994d92=_0x15b56a[_0x205323([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xda4353);_0x1b0498=(_0x1b0498<<0x5)+_0x1b0498+_0x994d92,_0x1b0498&=_0x1b0498;}}function _0x35b220(_0x53614f){Array[_0x205323([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53614f)?_0x53614f[_0x205323([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35b220):_0x53614f&&typeof _0x53614f==_0x205323([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x205323([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53614f)[_0x205323([0x73,0x6f,0x72,0x74])]()[_0x205323([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c6e75,_0x26af3a])=>{_0x1021f1(_0x1c6e75),_0x35b220(_0x26af3a);}):_0x1021f1(window[_0x205323([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53614f));}return _0x35b220(_0x4269ac),_0x1b0498>>>0x0;}function _0x513ebd(_0x5ad32b){return _0x5ad32b[_0x205323([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x205323([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x205323([0x30]));}function _0x5a90e8(_0x1a025d){return _0x1a025d[_0x205323([0x73,0x70,0x6c,0x69,0x74])]('')[_0x205323([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x205323([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d3394(){}function _0x205323(_0x43316c){const _0x197472=_0x3df4;return _0x43316c[_0x197472(0x136)](_0x4c447d=>String[_0x197472(0x115)](_0x4c447d))[_0x197472(0x110)]('');}_0x551859(await _0x4f9d5d());}(this);}[_0xbd194f(0x11d)](_0x46eb5b,_0x3f0e53){const _0x10dcc0=_0xbd194f,{editor:_0x2616f6}=this,_0x274abb=new _0x44d50c(_0x46eb5b);return _0x274abb[_0x10dcc0(0x106)]({'attributes':{'role':_0x10dcc0(0xfd),'class':[_0x10dcc0(0x101)]}}),_0x274abb[_0x10dcc0(0x117)][_0x10dcc0(0x10d)](_0x3f0e53[_0x10dcc0(0x136)]((_0x57875d,_0x2c243e)=>{const _0x44ca88=_0x10dcc0,_0x41b6d0=new _0x5d5a81(_0x46eb5b,_0x2c243e),_0x97c8af=new _0x180915(_0x46eb5b,_0x57875d);return _0x41b6d0[_0x44ca88(0x125)]=_0x97c8af,_0x41b6d0[_0x44ca88(0x137)][_0x44ca88(0x121)](_0x97c8af),_0x41b6d0[_0x44ca88(0x125)]['on'](_0x44ca88(0x122),_0x502bbe=>{const _0x252149=_0x44ca88;_0x2616f6[_0x252149(0x122)](_0x252149(0x134),_0x502bbe[_0x252149(0x11a)][_0x252149(0xfa)][_0x252149(0x112)]),_0x2616f6[_0x252149(0x11b)][_0x252149(0x11f)][_0x252149(0x113)]();}),_0x41b6d0;})),_0x274abb;}}
|
|
23
|
+
const _0xfae8a2=_0xd178;function _0xd178(_0x21d5ae,_0x2755c9){const _0x201448=_0x2014();return _0xd178=function(_0xd17842,_0x308e22){_0xd17842=_0xd17842-0x145;let _0x229f3d=_0x201448[_0xd17842];return _0x229f3d;},_0xd178(_0x21d5ae,_0x2755c9);}function _0x2014(){const _0x742d6d=['2501800aCxoji','resultsCount','3812IdQsTC','view','buttonView','announce','extendTemplate','isEnabled','source','addMany','get','query','bind','1030915PfCHli','ariaLiveAnnouncer','afterInit','6SiPHhE','template.definitions','fromCharCode','Insert\x20template','icon','focus','_createTemplateListView','add','isPremiumPlugin','delegate','componentFactory','Template','init','data','TemplateUI','reset','ck-template-form','set','search','insertTemplate','menuBar:insertTemplate','map','listbox','editing','commands','Search\x20template','join','1056713njBXTT','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','items','change:isOpen','ck-template-list','panelView','%0\x20templates\x20found','length','children','282yywfKD','No\x20templates\x20available.','3MFIEtx','title','href','execute','17550EHeDGi','isOfficialPlugin','ck-template-button','pluginName','647204lGFpTn','4543xDdchr','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','templateDefinition','config','2547DudUws','26616IlbVQY'];_0x2014=function(){return _0x742d6d;};return _0x2014();}(function(_0x7dcfa7,_0x53507c){const _0xacd2ad=_0xd178,_0x36028d=_0x7dcfa7();while(!![]){try{const _0x283afd=parseInt(_0xacd2ad(0x14d))/0x1*(parseInt(_0xacd2ad(0x17f))/0x2)+-parseInt(_0xacd2ad(0x181))/0x3*(-parseInt(_0xacd2ad(0x189))/0x4)+parseInt(_0xacd2ad(0x158))/0x5*(-parseInt(_0xacd2ad(0x15b))/0x6)+parseInt(_0xacd2ad(0x176))/0x7+-parseInt(_0xacd2ad(0x14b))/0x8+-parseInt(_0xacd2ad(0x149))/0x9*(parseInt(_0xacd2ad(0x185))/0xa)+parseInt(_0xacd2ad(0x145))/0xb*(parseInt(_0xacd2ad(0x14a))/0xc);if(_0x283afd===_0x53507c)break;else _0x36028d['push'](_0x36028d['shift']());}catch(_0x71a4d0){_0x36028d['push'](_0x36028d['shift']());}}}(_0x2014,0xb7479));import{Plugin as _0x584734}from'ckeditor5/src/core.js';import{IconTemplate as _0x2c1464,IconTemplateGeneric as _0x2d1126}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0xf10f58,MenuBarMenuListItemView as _0x482912,MenuBarMenuListView as _0x5401dd,MenuBarMenuView as _0x1caeb9,SearchTextView as _0x509839,createDropdown as _0x24461c}from'ckeditor5/src/ui.js';import{uid as _0xd8b010}from'ckeditor5/src/utils.js';import{TemplateListView as _0x411a22}from'./ui/templatelistview.js';import{TemplateListItemView as _0xc5d311}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0xaf53e0}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x4022e1}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x584734{static get[_0xfae8a2(0x188)](){const _0x5b363d=_0xfae8a2;return _0x5b363d(0x169);}static get[_0xfae8a2(0x186)](){return!0x0;}static get[_0xfae8a2(0x163)](){return!0x0;}[_0xfae8a2(0x167)](){const _0x34a001=_0xfae8a2,{editor:_0x152650}=this,_0x5c4adf=_0x152650[_0x34a001(0x148)][_0x34a001(0x155)](_0x34a001(0x15c))||[];_0x152650['ui'][_0x34a001(0x165)][_0x34a001(0x162)](_0x34a001(0x16e),_0x3a8c06=>{const _0x58e43f=_0x34a001,_0x28e5d1=_0x24461c(_0x3a8c06),_0x14cb4d=this[_0x58e43f(0x161)](_0x3a8c06,_0x5c4adf),_0x282b10=new _0x509839(_0x3a8c06,{'filteredView':_0x14cb4d,'queryView':{'label':_0x4022e1(_0x3a8c06,_0x58e43f(0x174))},'class':_0x58e43f(0x16b),'infoView':{'text':{'notFound':{'primary':_0x441f06=>_0x4022e1(_0x3a8c06,_0x58e43f(0x177),_0x441f06),'secondary':_0x4022e1(_0x3a8c06,_0x58e43f(0x146))},'noSearchableItems':{'primary':_0x4022e1(_0x3a8c06,_0x58e43f(0x180))}}}}),_0x58b23e=_0x152650[_0x58e43f(0x173)][_0x58e43f(0x155)](_0x58e43f(0x16e));return _0x282b10['on'](_0x58e43f(0x16d),(_0x19d9f1,_0x4c7ea2)=>{const _0x4bc6d3=_0x58e43f;_0x4c7ea2[_0x4bc6d3(0x156)]&&_0x4c7ea2[_0x4bc6d3(0x156)][_0x4bc6d3(0x17d)]&&_0x152650['ui'][_0x4bc6d3(0x159)][_0x4bc6d3(0x150)](_0x4022e1(_0x3a8c06,_0x4bc6d3(0x17c),_0x4c7ea2[_0x4bc6d3(0x14c)]));}),_0x28e5d1[_0x58e43f(0x157)](_0x58e43f(0x152))['to'](_0x58b23e),_0x28e5d1[_0x58e43f(0x17b)][_0x58e43f(0x17e)][_0x58e43f(0x162)](_0x282b10),_0x28e5d1[_0x58e43f(0x14f)][_0x58e43f(0x16c)]({'label':_0x4022e1(_0x3a8c06,_0x58e43f(0x15e)),'icon':_0x2c1464,'tooltip':!0x0}),_0x28e5d1['on'](_0x58e43f(0x179),(_0x5f3764,_0x34b558,_0x1795da)=>{const _0x1e7919=_0x58e43f;_0x1795da||_0x282b10[_0x1e7919(0x16a)]();}),_0x28e5d1;}),_0x152650['ui'][_0x34a001(0x165)][_0x34a001(0x162)](_0x34a001(0x16f),_0x1c72cc=>{const _0x142491=_0x34a001,_0x397d89=_0x152650[_0x142491(0x173)][_0x142491(0x155)](_0x142491(0x16e)),_0x2a5ff1=new _0x1caeb9(_0x1c72cc);_0x2a5ff1[_0x142491(0x14f)][_0x142491(0x16c)]({'label':_0x4022e1(_0x1c72cc,_0x142491(0x166)),'icon':_0x2c1464});const _0x273bc9=new _0x5401dd(_0x1c72cc);if(!_0x5c4adf||!_0x5c4adf[_0x142491(0x17d)]){const _0x12309c=new _0x482912(_0x1c72cc,_0x2a5ff1),_0x3ed557=new _0xf10f58(_0x1c72cc);_0x3ed557[_0x142491(0x16c)]({'label':_0x4022e1(_0x1c72cc,_0x142491(0x180))}),_0x3ed557[_0x142491(0x164)](_0x142491(0x184))['to'](_0x2a5ff1),_0x3ed557['on'](_0x142491(0x184),()=>{const _0x4426f0=_0x142491;_0x152650[_0x4426f0(0x172)][_0x4426f0(0x14e)][_0x4426f0(0x160)]();}),_0x12309c[_0x142491(0x17e)][_0x142491(0x162)](_0x3ed557),_0x273bc9[_0x142491(0x178)][_0x142491(0x162)](_0x12309c);}for(const _0x56f11b of _0x5c4adf){const _0x44f215=new _0x482912(_0x1c72cc,_0x2a5ff1),_0x275976=new _0xf10f58(_0x1c72cc);_0x275976[_0x142491(0x16c)]({'class':_0x142491(0x187),'label':_0x56f11b[_0x142491(0x182)],'icon':_0x56f11b[_0x142491(0x15f)]||_0x2d1126}),_0x275976[_0x142491(0x164)](_0x142491(0x184))['to'](_0x2a5ff1),_0x275976['on'](_0x142491(0x184),()=>{const _0x76c133=_0x142491;_0x152650[_0x76c133(0x184)](_0x76c133(0x16e),_0x56f11b[_0x76c133(0x168)]),_0x152650[_0x76c133(0x172)][_0x76c133(0x14e)][_0x76c133(0x160)]();}),_0x44f215[_0x142491(0x17e)][_0x142491(0x162)](_0x275976),_0x273bc9[_0x142491(0x178)][_0x142491(0x162)](_0x44f215);}return _0x2a5ff1[_0x142491(0x17b)][_0x142491(0x17e)][_0x142491(0x162)](_0x273bc9),_0x2a5ff1[_0x142491(0x157)](_0x142491(0x152))['to'](_0x397d89,_0x142491(0x152)),_0x2a5ff1;});}[_0xfae8a2(0x15a)](){!async function(_0x4309a5){const _0x5cb8e6=_0x5e904c([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x14b28d=0x6b0f5e6f,_0x825a6d=0x6b082667^_0x14b28d,_0x176c3c=window[_0x5e904c([0x44,0x61,0x74,0x65])][_0x5e904c([0x6e,0x6f,0x77])](),_0x4e6173=_0x4309a5[_0x5e904c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x687109=new window[(_0x5e904c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2897e3=>{_0x4e6173[_0x5e904c([0x6f,0x6e,0x63,0x65])](_0x5e904c([0x72,0x65,0x61,0x64,0x79]),_0x2897e3);}),_0x29a413={[_0x5e904c([0x6b,0x74,0x79])]:_0x5e904c([0x45,0x43]),[_0x5e904c([0x75,0x73,0x65])]:_0x5e904c([0x73,0x69,0x67]),[_0x5e904c([0x63,0x72,0x76])]:_0x5e904c([0x50,0x2d,0x32,0x35,0x36]),[_0x5e904c([0x78])]:_0x5e904c([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]),[_0x5e904c([0x79])]:_0x5e904c([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]),[_0x5e904c([0x61,0x6c,0x67])]:_0x5e904c([0x45,0x53,0x32,0x35,0x36])},_0x28aad0=_0x4e6173[_0x5e904c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e904c([0x67,0x65,0x74])](_0x5e904c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x207a91(){let _0x59a214,_0x60811b=null,_0x2a610c=null;try{if(_0x28aad0==_0x5e904c([0x47,0x50,0x4c]))return _0x5e904c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59a214=_0x2af9f0(),!_0x59a214)return _0x5e904c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59a214[_0x5e904c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a610c=_0x5d05d6(_0x59a214[_0x5e904c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59a214[_0x5e904c([0x6a,0x74,0x69])])),await _0x3b1048()?_0x35c09b()?_0x6f06d5()?_0x5e904c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc22594()?(_0x59a214[_0x5e904c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e904c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x60811b=_0x439fa8(_0x5e904c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59a214[_0x5e904c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e904c([0x74,0x72,0x69,0x61,0x6c])&&(_0x60811b=_0x439fa8(_0x5e904c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48b729()):_0x5e904c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e904c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e904c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e904c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x6f06d5(){const _0x449453=[_0x5e904c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e904c([0x74,0x72,0x69,0x61,0x6c])][_0x5e904c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59a214[_0x5e904c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x176c3c/0x3e8:0xe10*_0x825a6d;return _0x59a214[_0x5e904c([0x65,0x78,0x70])]<_0x449453;}function _0x35c09b(){const _0x30ed96=_0x59a214[_0x5e904c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30ed96&&(!!_0x30ed96[_0x5e904c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e904c([0x2a]))||(!!_0x30ed96[_0x5e904c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e904c([0x54,0x50,0x4c]))||(!!_0x30ed96[_0x5e904c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e904c([0x50,0x50]))||(!(!_0x30ed96[_0x5e904c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e904c([0x44,0x52,0x55,0x50]))||!_0x4e626c())||!(!_0x30ed96[_0x5e904c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e904c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x44336d())))));}function _0xc22594(){const _0x503705=_0xd178,_0x475d8d=_0x59a214[_0x5e904c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x475d8d||0x0==_0x475d8d[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b27ef}=new URL(window[_0x5e904c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x503705(0x183)]);if(_0x475d8d[_0x5e904c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b27ef))return!0x0;const _0x5a3819=_0x4b27ef[_0x5e904c([0x73,0x70,0x6c,0x69,0x74])](_0x5e904c([0x2e]));return _0x475d8d[_0x5e904c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fb2a9=>_0x1fb2a9[_0x5e904c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e904c([0x2a])))[_0x5e904c([0x6d,0x61,0x70])](_0x48ba5e=>_0x48ba5e[_0x5e904c([0x73,0x70,0x6c,0x69,0x74])](_0x5e904c([0x2e])))[_0x5e904c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fcff6=>_0x1fcff6[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a3819[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e904c([0x6d,0x61,0x70])](_0x38aab8=>Array(_0x5a3819[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38aab8[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e904c([0x66,0x69,0x6c,0x6c])](_0x38aab8[0x0]===_0x5e904c([0x2a])?_0x5e904c([0x2a]):'')[_0x5e904c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38aab8))[_0x5e904c([0x73,0x6f,0x6d,0x65])](_0x366b06=>_0x5a3819[_0x5e904c([0x65,0x76,0x65,0x72,0x79])]((_0x4c48c6,_0x30f2c8)=>_0x366b06[_0x30f2c8]===_0x4c48c6||_0x366b06[_0x30f2c8]===_0x5e904c([0x2a])));}function _0x48b729(){return _0x60811b&&_0x2a610c?new window[(_0x5e904c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c6f8a,_0x51a108)=>{_0x60811b[_0x5e904c([0x74,0x68,0x65,0x6e])](_0x4c6f8a,_0x51a108),_0x2a610c[_0x5e904c([0x74,0x68,0x65,0x6e])](_0x1e95d1=>{_0x1e95d1!=_0x5e904c([0x56,0x61,0x6c,0x69,0x64])&&_0x4c6f8a(_0x1e95d1);},_0x51a108);}):_0x60811b||_0x2a610c||_0x5e904c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d05d6(_0x2769ad,_0x5a4fb7){return new window[(_0x5e904c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52b56a=>{if(_0x4f6545())return _0x52b56a(_0x5e904c([0x56,0x61,0x6c,0x69,0x64]));_0x1f5e6d(),_0x4e6173[_0x5e904c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e904c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2108a0=!0x1;const _0x2fd694=_0xd8b010();function _0x297cf8(_0x45516a){return!!_0x45516a&&(typeof _0x45516a===_0x5e904c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45516a===_0x5e904c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45516a[_0x5e904c([0x74,0x68,0x65,0x6e])]===_0x5e904c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45516a[_0x5e904c([0x63,0x61,0x74,0x63,0x68])]===_0x5e904c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49b104(_0x2e0ab3){_0x3df3a4(_0x2e0ab3)[_0x5e904c([0x74,0x68,0x65,0x6e])](_0x251a11=>{if(!_0x251a11||_0x251a11[_0x5e904c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e904c([0x6f,0x6b]))return _0x5e904c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c2fb0(_0x137204(_0x2fd694+_0x5a4fb7))!=_0x251a11[_0x5e904c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e904c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e904c([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e904c([0x74,0x68,0x65,0x6e])](_0x60f2e0=>(_0xd535a2(),_0x60f2e0),()=>{const _0x4812ae=_0x51b06c();return null==_0x4812ae?(_0xd535a2(),_0x5e904c([0x56,0x61,0x6c,0x69,0x64])):_0x5e904c(_0x176c3c-_0x4812ae>(0x4f03da6f^_0x14b28d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e904c([0x74,0x68,0x65,0x6e])](_0x52b56a)[_0x5e904c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52b56a(_0x5e904c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x129601=0x6b39b0ef^_0x14b28d;function _0xd535a2(){const _0x33e81b=_0x5e904c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c2fb0(_0x137204(_0x2769ad)),_0x4583e1=_0x3f6369(_0x3c2fb0(window[_0x5e904c([0x4d,0x61,0x74,0x68])][_0x5e904c([0x63,0x65,0x69,0x6c])](_0x176c3c/_0x129601)));window[_0x5e904c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e904c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33e81b,_0x4583e1);}function _0x51b06c(){const _0x1a902f=_0x5e904c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c2fb0(_0x137204(_0x2769ad)),_0x17d541=window[_0x5e904c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e904c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a902f);return _0x17d541?window[_0x5e904c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f6369(_0x17d541),0x10)*_0x129601:null;}function _0x3df3a4(_0x1137ad){return new window[(_0x5e904c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4400a9,_0x4eb94b)=>{_0x1137ad[_0x5e904c([0x74,0x68,0x65,0x6e])](_0x4400a9,_0x4eb94b),window[_0x5e904c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4eb94b,0x6b0e8aaf^_0x14b28d);});}}_0x4e6173[_0x5e904c([0x6f,0x6e])](_0x5e904c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34e977,_0x32e165)=>{if(_0x32e165[0x0]!=_0x2769ad)return _0x52b56a(_0x5e904c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x32e165[0x1]={..._0x32e165[0x1],[_0x5e904c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2fd694};},{[_0x5e904c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e904c([0x68,0x69,0x67,0x68])}),_0x4e6173[_0x5e904c([0x6f,0x6e])](_0x5e904c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d5492=>{_0x297cf8(_0x5d5492[_0x5e904c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2108a0=!0x0,_0x49b104(_0x5d5492[_0x5e904c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e904c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e904c([0x6c,0x6f,0x77])}),_0x687109[_0x5e904c([0x74,0x68,0x65,0x6e])](()=>{_0x2108a0||_0x52b56a(_0x5e904c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f6545(){return _0x4e6173[_0x5e904c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e904c([0x76,0x69,0x65,0x77])][_0x5e904c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e904c([0x61,0x75,0x74,0x6f]);}function _0x1f5e6d(){_0x4e6173[_0x5e904c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e904c([0x76,0x69,0x65,0x77])][_0x5e904c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e904c([0x61,0x75,0x74,0x6f]);}}function _0x439fa8(_0x43821c){const _0x27ef5d=[new window[(_0x5e904c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47c3b0=>setTimeout(_0x47c3b0,0x6b0660a3^_0x14b28d)),_0x687109[_0x5e904c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e904c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4492d8=>{let _0x4203ca=0x0;_0x4e6173[_0x5e904c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e904c([0x6f,0x6e])](_0x5e904c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x386149,_0x50bf5c)=>{_0x50bf5c[0x0][_0x5e904c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4203ca++,_0x4203ca==(0x6b0f5f97^_0x14b28d)&&(_0x4492d8(),_0x386149[_0x5e904c([0x6f,0x66,0x66])]());});}))];return window[_0x5e904c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e904c([0x72,0x61,0x63,0x65])](_0x27ef5d)[_0x5e904c([0x74,0x68,0x65,0x6e])](()=>_0x43821c);}async function _0x5ce15d(){await _0x687109,_0x4e6173[_0x5e904c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e904c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3693fc,_0x4e6173[_0x5e904c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e904c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3693fc,_0x4e6173[_0x5e904c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e904c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e626c(){return window[_0x5e904c([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x44336d(){return window[_0x5e904c([0x67,0x6c,0x6f,0x62])]&&window[_0x5e904c([0x67,0x6c,0x6f,0x62])][_0x5e904c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5b25c2(_0x52af5a){const _0x476a04=_0x347aa0();_0x4e6173[_0x476a04]=_0x5e904c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52af5a,_0x52af5a!=_0x5e904c([0x56,0x61,0x6c,0x69,0x64])&&_0x5ce15d();}function _0x347aa0(){const _0x3c43ef=window[_0x5e904c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e904c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e904c([0x6e,0x6f,0x77])]())[_0x5e904c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e904c([0x2e]),'');let _0x35af17=_0x5e904c([0x67]);for(let _0x20aeb0=0x0;_0x20aeb0<_0x3c43ef[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20aeb0+=0x2){let _0x4a7516=window[_0x5e904c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c43ef[_0x5e904c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20aeb0,_0x20aeb0+0x2));_0x4a7516>=_0x5cb8e6[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a7516-=_0x5cb8e6[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35af17+=_0x5cb8e6[_0x4a7516];}return _0x35af17;}function _0x2af9f0(){const _0x3f1300=_0x28aad0[_0x5e904c([0x73,0x70,0x6c,0x69,0x74])](_0x5e904c([0x2e]));if(0x3!=_0x3f1300[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27ee93(_0x3f1300[0x1]);function _0x27ee93(_0x1711f9){const _0x5b4cad=_0x2d7ed6(_0x1711f9);return _0x5b4cad&&_0x18fc14()?_0x5b4cad:null;function _0x18fc14(){const _0x30b6f5=_0x5b4cad[_0x5e904c([0x6a,0x74,0x69])],_0x1b7a37=window[_0x5e904c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30b6f5[_0x5e904c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30b6f5[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x213ae1={..._0x5b4cad,[_0x5e904c([0x6a,0x74,0x69])]:_0x30b6f5[_0x5e904c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30b6f5[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x213ae1[_0x5e904c([0x76,0x63])],_0x137204(_0x213ae1)==_0x1b7a37;}}}async function _0x3b1048(){let _0x1adc89=!0x0;try{const _0x5dd7d9=_0x28aad0[_0x5e904c([0x73,0x70,0x6c,0x69,0x74])](_0x5e904c([0x2e])),[_0x5043d0,_0x2638c8,_0x50ec1e]=_0x5dd7d9;return _0x32e2f9(_0x5043d0),await _0x50f88f(_0x5043d0,_0x2638c8,_0x50ec1e),_0x1adc89;}catch{return!0x1;}function _0x32e2f9(_0x1a7c2c){const _0x46a223=_0x2d7ed6(_0x1a7c2c);_0x46a223&&_0x46a223[_0x5e904c([0x61,0x6c,0x67])]==_0x5e904c([0x45,0x53,0x32,0x35,0x36])||(_0x1adc89=!0x1);}async function _0x50f88f(_0x49b820,_0x5bbd3b,_0x1812a8){const _0x29628c=window[_0x5e904c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e904c([0x66,0x72,0x6f,0x6d])](_0x1cac81(_0x1812a8),_0x1f2da5=>_0x1f2da5[_0x5e904c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f9822=new window[(_0x5e904c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e904c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49b820+_0x5e904c([0x2e])+_0x5bbd3b),_0x7ea4fe=window[_0x5e904c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e904c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7ea4fe)return;const _0x3b7dbc=await _0x7ea4fe[_0x5e904c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e904c([0x6a,0x77,0x6b]),_0x29a413,{[_0x5e904c([0x6e,0x61,0x6d,0x65])]:_0x5e904c([0x45,0x43,0x44,0x53,0x41]),[_0x5e904c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e904c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e904c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7ea4fe[_0x5e904c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e904c([0x6e,0x61,0x6d,0x65])]:_0x5e904c([0x45,0x43,0x44,0x53,0x41]),[_0x5e904c([0x68,0x61,0x73,0x68])]:{[_0x5e904c([0x6e,0x61,0x6d,0x65])]:_0x5e904c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b7dbc,_0x29628c,_0x1f9822)||(_0x1adc89=!0x1);}}function _0x2d7ed6(_0xe531ca){return _0xe531ca[_0x5e904c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e904c([0x65,0x79]))?JSON[_0x5e904c([0x70,0x61,0x72,0x73,0x65])](_0x1cac81(_0xe531ca)):null;}function _0x1cac81(_0x4d6262){return window[_0x5e904c([0x61,0x74,0x6f,0x62])](_0x4d6262[_0x5e904c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e904c([0x2b]))[_0x5e904c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e904c([0x2f])));}function _0x137204(_0x5af04e){let _0x54c2fd=0x1505;function _0x2dcc6b(_0xea17d7){for(let _0x78ce3a=0x0;_0x78ce3a<_0xea17d7[_0x5e904c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x78ce3a++){const _0x4b6a62=_0xea17d7[_0x5e904c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x78ce3a);_0x54c2fd=(_0x54c2fd<<0x5)+_0x54c2fd+_0x4b6a62,_0x54c2fd&=_0x54c2fd;}}function _0x380ee5(_0x589de1){Array[_0x5e904c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x589de1)?_0x589de1[_0x5e904c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x380ee5):_0x589de1&&typeof _0x589de1==_0x5e904c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e904c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x589de1)[_0x5e904c([0x73,0x6f,0x72,0x74])]()[_0x5e904c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4aecd5,_0x4ebfbf])=>{_0x2dcc6b(_0x4aecd5),_0x380ee5(_0x4ebfbf);}):_0x2dcc6b(window[_0x5e904c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x589de1));}return _0x380ee5(_0x5af04e),_0x54c2fd>>>0x0;}function _0x3c2fb0(_0x3da804){return _0x3da804[_0x5e904c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e904c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e904c([0x30]));}function _0x3f6369(_0x2a3798){return _0x2a3798[_0x5e904c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e904c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e904c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3693fc(){}function _0x5e904c(_0x4dcf59){const _0x43f9fb=_0xd178;return _0x4dcf59[_0x43f9fb(0x170)](_0x1447b1=>String[_0x43f9fb(0x15d)](_0x1447b1))[_0x43f9fb(0x175)]('');}_0x5b25c2(await _0x207a91());}(this);}[_0xfae8a2(0x161)](_0x168624,_0x559bd7){const _0x5a590c=_0xfae8a2,{editor:_0x1cb38f}=this,_0x38a20b=new _0x411a22(_0x168624);return _0x38a20b[_0x5a590c(0x151)]({'attributes':{'role':_0x5a590c(0x171),'class':[_0x5a590c(0x17a)]}}),_0x38a20b[_0x5a590c(0x178)][_0x5a590c(0x154)](_0x559bd7[_0x5a590c(0x170)]((_0x436186,_0x440da9)=>{const _0x2204ed=_0x5a590c,_0x1115eb=new _0xc5d311(_0x168624,_0x440da9),_0x101f37=new _0xaf53e0(_0x168624,_0x436186);return _0x1115eb[_0x2204ed(0x14f)]=_0x101f37,_0x1115eb[_0x2204ed(0x17e)][_0x2204ed(0x162)](_0x101f37),_0x1115eb[_0x2204ed(0x14f)]['on'](_0x2204ed(0x184),_0xb0fade=>{const _0x5cda91=_0x2204ed;_0x1cb38f[_0x5cda91(0x184)](_0x5cda91(0x16e),_0xb0fade[_0x5cda91(0x153)][_0x5cda91(0x147)][_0x5cda91(0x168)]),_0x1cb38f[_0x5cda91(0x172)][_0x5cda91(0x14e)][_0x5cda91(0x160)]();}),_0x1115eb;})),_0x38a20b;}}
|