@ckeditor/ckeditor5-template 46.0.1-alpha.10 → 46.0.1-alpha.11
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={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(168),i=n.n(r),s=n(433),c=n.n(s)()(i());c.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 a=c},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(r)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(c[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[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}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},c=[],a=0;a<t.length;a++){var o=t[a],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=a,e.splice(a,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}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 c=0;c<s.length;c++){var a=n(s[c]);e[a].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}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},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:()=>u,TemplateUI:()=>F});var t=n(782);function e(t,n){const r=c();return(e=function(t,e){return r[t-=148]})(t,n)}const i=e;!function(t){const n=e,r=t();for(;;)try{if(846253===parseInt(n(162))/1+-parseInt(n(158))/2+parseInt(n(163))/3+parseInt(n(150))/4*(-parseInt(n(148))/5)+-parseInt(n(157))/6+-parseInt(n(159))/7+parseInt(n(166))/8*(parseInt(n(165))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class s extends t.Command{[i(160)](t){const e=i,{model:n}=this[e(154)];let r;switch(typeof t){case e(151):r=t;break;case e(156):r=t()}e(151)==typeof r&&n[e(155)](()=>{const t=e,i=this[t(154)][t(152)][t(164)][t(153)](r),s=this[t(154)][t(152)][t(161)](i);n[t(149)](s)})}}function c(){const t=["data","toView","editor","change","function","6306390VQKEZa","3266390LJFoOz","7857528AxRRsq","execute","toModel","1615580ruvUve","2890908rnUfln","htmlProcessor","1056933WfLOLS","200WmKvGv","4310620wsSPQo","insertContent","4UqaWSP","string"];return(c=function(){return t})()}const a=o;function o(t,e){const n=l();return(o=function(t,e){return n[t-=178]})(t,e)}function l(){const t=["pluginName","98RQdvVP","21604llkBBB","featureNotAllowed","get","359768pqnHPe","12884980IzlOOq","domainLimit","templateLicenseKeyExpired","15vqZIoO","30134yZdEQU","12144CiblGc","usageLimit","templateLicenseKeyUsageLimit","insertTemplate","templateLicenseKeyInvalid","licenseKey","1824QGxbBF","templateLicenseKeyTrialLimit","destroy","templateLicenseKeyEvaluationLimit","Template","editor","init","204KYxLzz","isOfficialPlugin","11393802RNInQi","931482RkxYSM","invalid","133xDOAOd","commands","_showLicenseError","TemplateEditing","trialLimit","add","templateLicenseKeyNotAllowed","expired","isPremiumPlugin","templateLicenseKeyValid","templateLicenseKeyDomainLimit","_licenseKeyCheckInterval","config","evaluationLimit"];return(l=function(){return t})()}!function(t){const e=o,n=t();for(;;)try{if(747256===-parseInt(e(182))/1*(-parseInt(e(216))/2)+parseInt(e(183))/3*(parseInt(e(196))/4)+-parseInt(e(181))/5*(-parseInt(e(199))/6)+-parseInt(e(201))/7*(-parseInt(e(220))/8)+-parseInt(e(198))/9+-parseInt(e(178))/10+parseInt(e(217))/11*(parseInt(e(189))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[a(188)];[a(212)];static get[a(215)](){return a(204)}static get[a(197)](){return!0}static get[a(209)](){return!0}[a(195)](){const t=a,{editor:e}=this;e[t(202)][t(206)](t(186),new s(e)),this[t(188)]=this[t(194)][t(213)][t(219)](t(188));const n=this[t(194)];this[t(212)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(210)==s||e(187)==s||e(180)==s||e(211)==s||e(207)==s||e(192)==s||e(190)==s||e(185)==s){delete n[i],r=s,clearInterval(this[e(212)]),this[e(212)]=void 0;break}}e(187)==r&&n[e(203)](e(200)),e(180)==r&&n[e(203)](e(208)),e(211)==r&&n[e(203)](e(179)),e(207)==r&&n[e(203)](e(218),e(193)),e(192)==r&&n[e(203)](e(214)),e(190)==r&&n[e(203)](e(205)),e(185)==r&&n[e(203)](e(184))},1e3)}[a(191)](){const t=a;super[t(191)](),this[t(212)]&&clearInterval(this[t(212)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=w();return(h=function(t,e){return n[t-=190]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(243651===-parseInt(e(207))/1*(-parseInt(e(197))/2)+parseInt(e(208))/3+parseInt(e(194))/4*(parseInt(e(210))/5)+-parseInt(e(190))/6*(-parseInt(e(212))/7)+parseInt(e(193))/8+-parseInt(e(205))/9*(-parseInt(e(199))/10)+-parseInt(e(217))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class k extends f.ListView{[m(204)](t){const e=m;if(!t)return this[e(218)]();const n=new Map,r=this[e(203)][e(216)](r=>{const i=e,s=r[i(202)][i(206)](t);return r[i(195)]=!!s,r[i(202)][i(209)](s?t:null),s&&n[i(213)](r,s),r})[e(211)](g)[e(211)]((i=n,function(t,e){const n=h,r=i[n(198)](t),s=i[n(198)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(192)]&&!s[n(192)]?-1:!r[n(192)]&&s[n(192)]?1:0:0}));var i;return this[e(203)][e(200)](),this[e(203)][e(196)](r),{resultsCount:n[e(201)],totalItemsCount:this[e(203)][e(191)]}}[m(218)](){const t=m,e=this[t(203)][t(216)](t=>t)[t(211)](g);return e[t(214)](e=>{const n=t;e[n(195)]=!0,e[n(202)][n(209)](null)}),this[t(203)][t(200)](),this[t(203)][t(196)](e),{resultsCount:e[t(191)],totalItemsCount:e[t(191)]}}}function w(){const t=["770748pEWnFQ","length","title","188248JXAqpp","312czspjV","isVisible","addMany","16212LaiDow","get","375070kCsqLF","clear","size","buttonView","items","filter","81zonznA","isMatching","43PSzSFD","329547IVeKId","highlightText","5925eztUUg","sort","21IQcjIv","set","forEach","originalIndex","map","11590194ZuUIfF","_resetFiltering"];return(w=function(){return t})()}function g(t,e){const n=m;return t[n(215)]-e[n(215)]}var I=b;function v(){var t=["2QGXEMl","originalIndex","4hmsUEX","451498rUJsjY","buttonView","31780826tpIBLH","1195857iafOXj","2016iYnHrO","34713CvwFjh","3712266cbBfXG","1804641KobLZr","10dmYnQM","1881525qvEhbP"];return(v=function(){return t})()}function b(t,e){var n=v();return(b=function(t,e){return n[t-=325]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(695986===-parseInt(e(327))/1+-parseInt(e(337))/2*(parseInt(e(334))/3)+-parseInt(e(326))/4*(parseInt(e(336))/5)+parseInt(e(333))/6+-parseInt(e(332))/7*(parseInt(e(331))/8)+-parseInt(e(330))/9*(parseInt(e(335))/10)+parseInt(e(329))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class y extends f.ListItemView{[I(325)];[I(328)];constructor(t,e){var n=I;super(t),this[n(325)]=e,this[n(328)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=176]})(t,e)}function T(){const t=["3742860nFVpcN","descriptionView","setTemplate","element","isMatching","586425hbzDAL","iconView","description","div","3872393UuvFsd","highlightText","8fOCbxI","text","727616fduKrH","set","title","75LMDZFK","ck-template-form__text-part","isColorInherited","destroy","render","locale","titleView","push","ck-template-form__description","16698xzpOff","templateDefinition","1108895RhIqvm","children","match","6UUCLLZ","option","ck-button__label","ck-template-button","textPartView","add","extendTemplate","3201759iMTkGY","remove","labelView","span"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(300361===parseInt(e(206))/1+-parseInt(e(185))/2*(-parseInt(e(176))/3)+-parseInt(e(214))/4+parseInt(e(187))/5*(parseInt(e(190))/6)+parseInt(e(210))/7*(-parseInt(e(212))/8)+-parseInt(e(197))/9+parseInt(e(201))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(186)];[x(194)];constructor(t,e){const n=x;super(t),this[n(186)]=e,this[n(194)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(215)]({withText:!0,class:n(193),role:n(191),icon:r}),this[n(207)][n(178)]=!1}[x(180)](){const t=x;super[t(180)](),this[t(194)]=new M(this[t(181)],this[t(186)],this[t(199)][t(204)].id),this[t(188)][t(198)](this[t(199)]),this[t(188)][t(195)](this[t(194)])}[x(179)](){const t=x;super[t(179)](),this[t(199)][t(179)]()}[x(205)](t){const e=x,{title:n,description:r}=this[e(186)],i=!!n[e(189)](t),s=!(!r||!r[e(189)](t));return i||s?{title:i,description:s}:null}[x(211)](t){const e=x;this[e(194)][e(211)](t)}}class M extends f.View{constructor(t,e,n){const r=x;super(t),this[r(216)]=e[r(216)],this[r(208)]=e[r(208)],this[r(182)]=new f.HighlightedTextView,this[r(182)][r(213)]=this[r(216)],this[r(182)][r(196)]({tag:r(200),attributes:{class:[r(192)],id:n}});const i=[this[r(182)]];this[r(208)]&&(this[r(202)]=new f.HighlightedTextView,this[r(202)][r(213)]=this[r(208)],this[r(202)][r(196)]({tag:"p",attributes:{class:[r(184)]}}),i[r(183)](this[r(202)])),this[r(203)]({tag:r(209),attributes:{class:["ck",r(177)]},children:i})}[x(211)](t){const e=x;this[e(182)][e(211)](t),this[e(208)]&&this[e(202)][e(211)](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 O=n(673),P=n.n(O),S=n(545),N=n.n(S),C=n(262),E=n.n(C),A=n(667),z=n.n(A),K=n(357),U=n.n(K),j=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=z(),B.insert=E().bind(null,"head"),B.domAPI=N(),B.insertStyleElement=U();P()(j.A,B);j.A&&j.A.locals&&j.A.locals;const D=q;function q(t,e){const n=R();return(q=function(t,e){return n[t-=342]})(t,e)}function R(){const t=["insertTemplate","Insert template","5576151OcDslD","isPremiumPlugin","bind","443710HVORgP","focus","Please try a different phrase or check the spelling.","execute","editing","template.definitions","pluginName","change:isOpen","9227080rNzCCq","354wTIRZT","Template","isOfficialPlugin","reset","38705kNdhSR","399764HuDBLv","data","items","menuBar:insertTemplate","%0 templates found","ariaLiveAnnouncer","2GXiMNK","join","buttonView","set","ck-template-list","config","8248833lJGqNQ","panelView","init","10cDNNiO","fromCharCode","addMany","href","ck-template-button","extendTemplate","isEnabled","map","delegate","icon","view","ck-template-form","afterInit","templateDefinition","resultsCount","commands","_createTemplateListView","title","TemplateUI",'No templates were found matching "%0".',"add","No templates available.","source","children","get","length","Search template","query","listbox","announce","2643420WLehlu","componentFactory","search"];return(R=function(){return t})()}!function(t){const e=q,n=t();for(;;)try{if(608181===-parseInt(e(342))/1*(-parseInt(e(362))/2)+parseInt(e(401))/3+parseInt(e(356))/4+-parseInt(e(355))/5*(-parseInt(e(351))/6)+parseInt(e(406))/7+-parseInt(e(350))/8+parseInt(e(368))/9*(-parseInt(e(371))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);class F extends t.Plugin{static get[D(348)](){return D(389)}static get[D(353)](){return!0}static get[D(407)](){return!0}[D(370)](){const t=D,{editor:e}=this,n=e[t(367)][t(395)](t(347))||[];e.ui[t(402)][t(391)](t(404),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(387)](r,n),a=new f.SearchTextView(r,{filteredView:c,queryView:{label:V(r,i(397))},class:i(382),infoView:{text:{notFound:{primary:t=>V(r,i(390),t),secondary:V(r,i(344))},noSearchableItems:{primary:V(r,i(392))}}}}),o=e[i(386)][i(395)](i(404));return a.on(i(403),(t,n)=>{const s=i;n[s(398)]&&n[s(398)][s(396)]&&e.ui[s(361)][s(400)](V(r,s(360),n[s(385)]))}),s[i(408)](i(377)).to(o),s[i(369)][i(394)][i(391)](a),s[i(364)][i(365)]({label:V(r,i(405)),icon:p.IconTemplate,tooltip:!0}),s.on(i(349),(t,e,n)=>{n||a[i(354)]()}),s}),e.ui[t(402)][t(391)](t(359),r=>{const i=t,s=e[i(386)][i(395)](i(404)),c=new f.MenuBarMenuView(r);c[i(364)][i(365)]({label:V(r,i(352)),icon:p.IconTemplate});const a=new f.MenuBarMenuListView(r);if(!n||!n[i(396)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(365)]({label:V(r,i(392))}),n[i(379)](i(345)).to(c),n.on(i(345),()=>{const t=i;e[t(346)][t(381)][t(343)]()}),t[i(394)][i(391)](n),a[i(358)][i(391)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(365)]({class:i(375),label:t[i(388)],icon:t[i(380)]||p.IconTemplateGeneric}),s[i(379)](i(345)).to(c),s.on(i(345),()=>{const n=i;e[n(345)](n(404),t[n(357)]),e[n(346)][n(381)][n(343)]()}),n[i(394)][i(391)](s),a[i(358)][i(391)](n)}return c[i(369)][i(394)][i(391)](a),c[i(408)](i(377)).to(s,i(377)),c})}[D(383)](){!async function(t){const e=h([75,82,69,90,120,65,86,87,68,51,105,50,49,104,107,80,117,84,109,57,103,122,115,53,70,78,97,106,77,118,113,67,48,54,98,108,114,71,110,55,88,99,79,81,56,119,100,83,73,116,102,111,121,112,85,72,74,89,66,101,52,76]),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])},c=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function a(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=q;return t[e(378)](t=>String[e(372)](t))[e(363)]("")}!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([75]);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 c==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[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])])(a=>{if(s())return a(h([86,97,108,105,100]));c(),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=c();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])](a)[h([99,97,116,99,104])](()=>{a(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 c(){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 a(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||a(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 c(){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=c[h([115,112,108,105,116])](h([46])),[i,s,a]=r;return e(i),await n(i,s,a),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)),c=(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),a=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!a)return;const o=await a[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 a[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,c)||(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])]))}()?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:1754524800;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=q,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(374)]);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=a(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=a(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(387)](t,e){const n=D,{editor:r}=this,i=new k(t);return i[n(376)]({attributes:{role:n(399),class:[n(366)]}}),i[n(358)][n(373)](e[n(378)]((e,i)=>{const s=n,c=new y(t,i),a=new L(t,e);return c[s(364)]=a,c[s(394)][s(391)](a),c[s(364)].on(s(345),t=>{const e=s;r[e(345)](e(404),t[e(393)][e(384)][e(357)]),r[e(346)][e(381)][e(343)]()}),c})),i}}var H=Z;function G(){var t=["15uWaFOU","Template","isPremiumPlugin","pluginName","65351xmwaTX","requires","1813124qZHvgR","885488EgskUN","7YUqUMu","286398Imybzx","13245975ddmTzP","9202928dtoHMO","4468812aWNqIB","isOfficialPlugin"];return(G=function(){return t})()}function Z(t,e){var n=G();return(Z=function(t,e){return n[t-=107]})(t,e)}!function(t){for(var e=Z,n=t();;)try{if(783134===parseInt(e(114))/1+parseInt(e(117))/2+parseInt(e(108))/3+-parseInt(e(116))/4*(-parseInt(e(110))/5)+-parseInt(e(119))/6*(-parseInt(e(118))/7)+-parseInt(e(107))/8+-parseInt(e(120))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class Q extends t.Plugin{static get[H(115)](){return[u,F]}static get[H(113)](){return H(111)}static get[H(109)](){return!0}static get[H(112)](){return!0}}function W(t,e){var n=X();return(W=function(t,e){return n[t-=303]})(t,e)}function X(){var t=["2266736BbnRlW","99UIfrZk","4455044ininxE","219860zWmZJe","244klujsm","42lmSXhD","30906AiPgMG","1SJUcDe","53823ClZGeL","2285366wDRLPE","458915MLKXHg"];return(X=function(){return t})()}!function(t){for(var e=W,n=t();;)try{if(582409===-parseInt(e(304))/1*(parseInt(e(306))/2)+-parseInt(e(303))/3*(-parseInt(e(312))/4)+-parseInt(e(307))/5*(-parseInt(e(313))/6)+parseInt(e(305))/7+parseInt(e(308))/8+parseInt(e(309))/9*(-parseInt(e(311))/10)+parseInt(e(310))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(168),i=n.n(r),s=n(433),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},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,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}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var 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)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var 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}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},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:()=>G,TemplateCommand:()=>s,TemplateEditing:()=>u,TemplateUI:()=>R});var t=n(782);function e(t,n){const r=a();return(e=function(t,e){return r[t-=148]})(t,n)}const i=e;!function(t){const n=e,r=t();for(;;)try{if(846253===parseInt(n(162))/1+-parseInt(n(158))/2+parseInt(n(163))/3+parseInt(n(150))/4*(-parseInt(n(148))/5)+-parseInt(n(157))/6+-parseInt(n(159))/7+parseInt(n(166))/8*(parseInt(n(165))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class s extends t.Command{[i(160)](t){const e=i,{model:n}=this[e(154)];let r;switch(typeof t){case e(151):r=t;break;case e(156):r=t()}e(151)==typeof r&&n[e(155)](()=>{const t=e,i=this[t(154)][t(152)][t(164)][t(153)](r),s=this[t(154)][t(152)][t(161)](i);n[t(149)](s)})}}function a(){const t=["data","toView","editor","change","function","6306390VQKEZa","3266390LJFoOz","7857528AxRRsq","execute","toModel","1615580ruvUve","2890908rnUfln","htmlProcessor","1056933WfLOLS","200WmKvGv","4310620wsSPQo","insertContent","4UqaWSP","string"];return(a=function(){return t})()}const c=o;function o(t,e){const n=l();return(o=function(t,e){return n[t-=178]})(t,e)}function l(){const t=["pluginName","98RQdvVP","21604llkBBB","featureNotAllowed","get","359768pqnHPe","12884980IzlOOq","domainLimit","templateLicenseKeyExpired","15vqZIoO","30134yZdEQU","12144CiblGc","usageLimit","templateLicenseKeyUsageLimit","insertTemplate","templateLicenseKeyInvalid","licenseKey","1824QGxbBF","templateLicenseKeyTrialLimit","destroy","templateLicenseKeyEvaluationLimit","Template","editor","init","204KYxLzz","isOfficialPlugin","11393802RNInQi","931482RkxYSM","invalid","133xDOAOd","commands","_showLicenseError","TemplateEditing","trialLimit","add","templateLicenseKeyNotAllowed","expired","isPremiumPlugin","templateLicenseKeyValid","templateLicenseKeyDomainLimit","_licenseKeyCheckInterval","config","evaluationLimit"];return(l=function(){return t})()}!function(t){const e=o,n=t();for(;;)try{if(747256===-parseInt(e(182))/1*(-parseInt(e(216))/2)+parseInt(e(183))/3*(parseInt(e(196))/4)+-parseInt(e(181))/5*(-parseInt(e(199))/6)+-parseInt(e(201))/7*(-parseInt(e(220))/8)+-parseInt(e(198))/9+-parseInt(e(178))/10+parseInt(e(217))/11*(parseInt(e(189))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[c(188)];[c(212)];static get[c(215)](){return c(204)}static get[c(197)](){return!0}static get[c(209)](){return!0}[c(195)](){const t=c,{editor:e}=this;e[t(202)][t(206)](t(186),new s(e)),this[t(188)]=this[t(194)][t(213)][t(219)](t(188));const n=this[t(194)];this[t(212)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(210)==s||e(187)==s||e(180)==s||e(211)==s||e(207)==s||e(192)==s||e(190)==s||e(185)==s){delete n[i],r=s,clearInterval(this[e(212)]),this[e(212)]=void 0;break}}e(187)==r&&n[e(203)](e(200)),e(180)==r&&n[e(203)](e(208)),e(211)==r&&n[e(203)](e(179)),e(207)==r&&n[e(203)](e(218),e(193)),e(192)==r&&n[e(203)](e(214)),e(190)==r&&n[e(203)](e(205)),e(185)==r&&n[e(203)](e(184))},1e3)}[c(191)](){const t=c;super[t(191)](),this[t(212)]&&clearInterval(this[t(212)])}}var p=n(355),f=n(311),d=n(584);const m=h;function h(t,e){const n=w();return(h=function(t,e){return n[t-=190]})(t,e)}!function(t){const e=h,n=t();for(;;)try{if(243651===-parseInt(e(207))/1*(-parseInt(e(197))/2)+parseInt(e(208))/3+parseInt(e(194))/4*(parseInt(e(210))/5)+-parseInt(e(190))/6*(-parseInt(e(212))/7)+parseInt(e(193))/8+-parseInt(e(205))/9*(-parseInt(e(199))/10)+-parseInt(e(217))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class k extends f.ListView{[m(204)](t){const e=m;if(!t)return this[e(218)]();const n=new Map,r=this[e(203)][e(216)](r=>{const i=e,s=r[i(202)][i(206)](t);return r[i(195)]=!!s,r[i(202)][i(209)](s?t:null),s&&n[i(213)](r,s),r})[e(211)](g)[e(211)]((i=n,function(t,e){const n=h,r=i[n(198)](t),s=i[n(198)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(192)]&&!s[n(192)]?-1:!r[n(192)]&&s[n(192)]?1:0:0}));var i;return this[e(203)][e(200)](),this[e(203)][e(196)](r),{resultsCount:n[e(201)],totalItemsCount:this[e(203)][e(191)]}}[m(218)](){const t=m,e=this[t(203)][t(216)](t=>t)[t(211)](g);return e[t(214)](e=>{const n=t;e[n(195)]=!0,e[n(202)][n(209)](null)}),this[t(203)][t(200)](),this[t(203)][t(196)](e),{resultsCount:e[t(191)],totalItemsCount:e[t(191)]}}}function w(){const t=["770748pEWnFQ","length","title","188248JXAqpp","312czspjV","isVisible","addMany","16212LaiDow","get","375070kCsqLF","clear","size","buttonView","items","filter","81zonznA","isMatching","43PSzSFD","329547IVeKId","highlightText","5925eztUUg","sort","21IQcjIv","set","forEach","originalIndex","map","11590194ZuUIfF","_resetFiltering"];return(w=function(){return t})()}function g(t,e){const n=m;return t[n(215)]-e[n(215)]}var I=b;function v(){var t=["2QGXEMl","originalIndex","4hmsUEX","451498rUJsjY","buttonView","31780826tpIBLH","1195857iafOXj","2016iYnHrO","34713CvwFjh","3712266cbBfXG","1804641KobLZr","10dmYnQM","1881525qvEhbP"];return(v=function(){return t})()}function b(t,e){var n=v();return(b=function(t,e){return n[t-=325]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(695986===-parseInt(e(327))/1+-parseInt(e(337))/2*(parseInt(e(334))/3)+-parseInt(e(326))/4*(parseInt(e(336))/5)+parseInt(e(333))/6+-parseInt(e(332))/7*(parseInt(e(331))/8)+-parseInt(e(330))/9*(parseInt(e(335))/10)+parseInt(e(329))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class y extends f.ListItemView{[I(325)];[I(328)];constructor(t,e){var n=I;super(t),this[n(325)]=e,this[n(328)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=176]})(t,e)}function T(){const t=["3742860nFVpcN","descriptionView","setTemplate","element","isMatching","586425hbzDAL","iconView","description","div","3872393UuvFsd","highlightText","8fOCbxI","text","727616fduKrH","set","title","75LMDZFK","ck-template-form__text-part","isColorInherited","destroy","render","locale","titleView","push","ck-template-form__description","16698xzpOff","templateDefinition","1108895RhIqvm","children","match","6UUCLLZ","option","ck-button__label","ck-template-button","textPartView","add","extendTemplate","3201759iMTkGY","remove","labelView","span"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(300361===parseInt(e(206))/1+-parseInt(e(185))/2*(-parseInt(e(176))/3)+-parseInt(e(214))/4+parseInt(e(187))/5*(parseInt(e(190))/6)+parseInt(e(210))/7*(-parseInt(e(212))/8)+-parseInt(e(197))/9+parseInt(e(201))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(186)];[x(194)];constructor(t,e){const n=x;super(t),this[n(186)]=e,this[n(194)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(215)]({withText:!0,class:n(193),role:n(191),icon:r}),this[n(207)][n(178)]=!1}[x(180)](){const t=x;super[t(180)](),this[t(194)]=new M(this[t(181)],this[t(186)],this[t(199)][t(204)].id),this[t(188)][t(198)](this[t(199)]),this[t(188)][t(195)](this[t(194)])}[x(179)](){const t=x;super[t(179)](),this[t(199)][t(179)]()}[x(205)](t){const e=x,{title:n,description:r}=this[e(186)],i=!!n[e(189)](t),s=!(!r||!r[e(189)](t));return i||s?{title:i,description:s}:null}[x(211)](t){const e=x;this[e(194)][e(211)](t)}}class M extends f.View{constructor(t,e,n){const r=x;super(t),this[r(216)]=e[r(216)],this[r(208)]=e[r(208)],this[r(182)]=new f.HighlightedTextView,this[r(182)][r(213)]=this[r(216)],this[r(182)][r(196)]({tag:r(200),attributes:{class:[r(192)],id:n}});const i=[this[r(182)]];this[r(208)]&&(this[r(202)]=new f.HighlightedTextView,this[r(202)][r(213)]=this[r(208)],this[r(202)][r(196)]({tag:"p",attributes:{class:[r(184)]}}),i[r(183)](this[r(202)])),this[r(203)]({tag:r(209),attributes:{class:["ck",r(177)]},children:i})}[x(211)](t){const e=x;this[e(182)][e(211)](t),this[e(208)]&&this[e(202)][e(211)](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 E=n(673),O=n.n(E),P=n(545),S=n.n(P),C=n(262),N=n.n(C),A=n(667),K=n.n(A),z=n(357),U=n.n(z),j=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=K(),B.insert=N().bind(null,"head"),B.domAPI=S(),B.insertStyleElement=U();O()(j.A,B);j.A&&j.A.locals&&j.A.locals;const D=q;function q(t,e){const n=F();return(q=function(t,e){return n[t-=243]})(t,e)}function F(){const t=["editing","91381eaOjEo","view","ck-template-list","125658tluBaU","ariaLiveAnnouncer","extendTemplate","items","reset",'No templates were found matching "%0".',"templateDefinition","85168UtjgLt","%0 templates found","delegate","init","search","Search template","listbox","buttonView","query","fromCharCode","ck-template-button","Insert template","children","16808VJEqrT","title","6dNusWM","insertTemplate","commands","add","isEnabled","_createTemplateListView","ck-template-form","focus","get","announce","join","isOfficialPlugin","map","5DeNtvg","set","resultsCount","template.definitions","203588gbVATD","372IAlKMo","No templates available.","800IzvRcO","Please try a different phrase or check the spelling.","TemplateUI","change:isOpen","Template","icon","54TInxKY","length","source","bind","pluginName","data","componentFactory","afterInit","config","isPremiumPlugin","30810sEQQBK","panelView","execute","addMany","746706ieICDs","menuBar:insertTemplate","128EHRnwM","href"];return(F=function(){return t})()}!function(t){const e=q,n=t();for(;;)try{if(340140===-parseInt(e(304))/1*(-parseInt(e(259))/2)+-parseInt(e(295))/3*(-parseInt(e(301))/4)+parseInt(e(272))/5*(parseInt(e(299))/6)+-parseInt(e(276))/7+parseInt(e(244))/8*(parseInt(e(285))/9)+parseInt(e(279))/10*(-parseInt(e(257))/11)+parseInt(e(277))/12*(-parseInt(e(307))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class R extends t.Plugin{static get[D(289)](){return D(281)}static get[D(270)](){return!0}static get[D(294)](){return!0}[D(247)](){const t=D,{editor:e}=this,n=e[t(293)][t(267)](t(275))||[];e.ui[t(291)][t(262)](t(260),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(264)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:V(r,i(249))},class:i(265),infoView:{text:{notFound:{primary:t=>V(r,i(312),t),secondary:V(r,i(280))},noSearchableItems:{primary:V(r,i(278))}}}}),o=e[i(261)][i(267)](i(260));return c.on(i(248),(t,n)=>{const s=i;n[s(252)]&&n[s(252)][s(286)]&&e.ui[s(308)][s(268)](V(r,s(245),n[s(274)]))}),s[i(288)](i(263)).to(o),s[i(296)][i(256)][i(262)](c),s[i(251)][i(273)]({label:V(r,i(255)),icon:p.IconTemplate,tooltip:!0}),s.on(i(282),(t,e,n)=>{n||c[i(311)]()}),s}),e.ui[t(291)][t(262)](t(300),r=>{const i=t,s=e[i(261)][i(267)](i(260)),a=new f.MenuBarMenuView(r);a[i(251)][i(273)]({label:V(r,i(283)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(286)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(273)]({label:V(r,i(278))}),n[i(246)](i(297)).to(a),n.on(i(297),()=>{const t=i;e[t(303)][t(305)][t(266)]()}),t[i(256)][i(262)](n),c[i(310)][i(262)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(273)]({class:i(254),label:t[i(258)],icon:t[i(284)]||p.IconTemplateGeneric}),s[i(246)](i(297)).to(a),s.on(i(297),()=>{const n=i;e[n(297)](n(260),t[n(290)]),e[n(303)][n(305)][n(266)]()}),n[i(256)][i(262)](s),c[i(310)][i(262)](n)}return a[i(296)][i(256)][i(262)](c),a[i(288)](i(263)).to(s,i(263)),a})}[D(292)](){!async function(t){const e=h([80,50,57,119,53,78,102,111,87,88,120,81,113,72,76,68,77,82,49,56,122,107,70,75,105,69,85,112,65,71,115,74,67,98,100,99,66,48,52,79,110,106,86,108,101,114,89,109,97,117,51,73,84,104,55,103,90,83,118,54,116,121]),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=q;return t[e(271)](t=>String[e(253)](t))[e(269)]("")}!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([80]);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])]))}()?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:1754611200;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=q,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(302)]);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(264)](t,e){const n=D,{editor:r}=this,i=new k(t);return i[n(309)]({attributes:{role:n(250),class:[n(306)]}}),i[n(310)][n(298)](e[n(271)]((e,i)=>{const s=n,a=new y(t,i),c=new L(t,e);return a[s(251)]=c,a[s(256)][s(262)](c),a[s(251)].on(s(297),t=>{const e=s;r[e(297)](e(260),t[e(287)][e(243)][e(290)]),r[e(303)][e(305)][e(266)]()}),a})),i}}var H=Z;function Q(){var t=["15uWaFOU","Template","isPremiumPlugin","pluginName","65351xmwaTX","requires","1813124qZHvgR","885488EgskUN","7YUqUMu","286398Imybzx","13245975ddmTzP","9202928dtoHMO","4468812aWNqIB","isOfficialPlugin"];return(Q=function(){return t})()}function Z(t,e){var n=Q();return(Z=function(t,e){return n[t-=107]})(t,e)}!function(t){for(var e=Z,n=t();;)try{if(783134===parseInt(e(114))/1+parseInt(e(117))/2+parseInt(e(108))/3+-parseInt(e(116))/4*(-parseInt(e(110))/5)+-parseInt(e(119))/6*(-parseInt(e(118))/7)+-parseInt(e(107))/8+-parseInt(e(120))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class G extends t.Plugin{static get[H(115)](){return[u,R]}static get[H(113)](){return H(111)}static get[H(109)](){return!0}static get[H(112)](){return!0}}function W(t,e){var n=X();return(W=function(t,e){return n[t-=303]})(t,e)}function X(){var t=["2266736BbnRlW","99UIfrZk","4455044ininxE","219860zWmZJe","244klujsm","42lmSXhD","30906AiPgMG","1SJUcDe","53823ClZGeL","2285366wDRLPE","458915MLKXHg"];return(X=function(){return t})()}!function(t){for(var e=W,n=t();;)try{if(582409===-parseInt(e(304))/1*(parseInt(e(306))/2)+-parseInt(e(303))/3*(-parseInt(e(312))/4)+-parseInt(e(307))/5*(-parseInt(e(313))/6)+parseInt(e(305))/7+parseInt(e(308))/8+parseInt(e(309))/9*(-parseInt(e(311))/10)+parseInt(e(310))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(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 _0x1cb8de,Plugin as _0x4b259e}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x4d737b,IconTemplate as _0x551150}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x319447,ListItemView as _0x10e96b,ButtonView as _0x198f78,View as _0x13c075,HighlightedTextView as _0x2e1dac,createDropdown as _0x3aad07,SearchTextView as _0x599458,MenuBarMenuView as _0x4ac756,MenuBarMenuListView as _0xe52cba,MenuBarMenuListItemView as _0x3f0a10,MenuBarMenuListItemButtonView as _0x5d5da7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x42d38b}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x1cb8de{['execute'](_0x459ae5){const {model:_0x20d60e}=this['editor'];let _0x325d28;switch(typeof _0x459ae5){case'string':_0x325d28=_0x459ae5;break;case'function':_0x325d28=_0x459ae5();}'string'==typeof _0x325d28&&_0x20d60e['change'](()=>{const _0x1720a7=this['editor']['data']['htmlProcessor']['toView'](_0x325d28),_0x4ccbc4=this['editor']['data']['toModel'](_0x1720a7);_0x20d60e['insertContent'](_0x4ccbc4);});}}class i extends _0x4b259e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3c29ec}=this;_0x3c29ec['commands']['add']('insertTemplate',new a(_0x3c29ec)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x48de88=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26257a;for(const _0x57bbb7 in _0x48de88){const _0x5530bd=_0x57bbb7,_0x15df93=_0x48de88[_0x5530bd];if('templateLicenseKeyValid'==_0x15df93||'templateLicenseKeyInvalid'==_0x15df93||'templateLicenseKeyExpired'==_0x15df93||'templateLicenseKeyDomainLimit'==_0x15df93||'templateLicenseKeyNotAllowed'==_0x15df93||'templateLicenseKeyEvaluationLimit'==_0x15df93||'templateLicenseKeyTrialLimit'==_0x15df93||'templateLicenseKeyUsageLimit'==_0x15df93){delete _0x48de88[_0x5530bd],_0x26257a=_0x15df93,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x26257a&&_0x48de88['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x26257a&&_0x48de88['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x26257a&&_0x48de88['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x26257a&&_0x48de88['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x26257a&&_0x48de88['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x26257a&&_0x48de88['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x26257a&&_0x48de88['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x319447{['filter'](_0x3546b6){if(!_0x3546b6)return this['_resetFiltering']();const _0xe3fc89=new Map(),_0x107490=this['items']['map'](_0x58a263=>{const _0x5a306f=_0x58a263['buttonView']['isMatching'](_0x3546b6);return _0x58a263['isVisible']=!!_0x5a306f,_0x58a263['buttonView']['highlightText'](_0x5a306f?_0x3546b6:null),_0x5a306f&&_0xe3fc89['set'](_0x58a263,_0x5a306f),_0x58a263;})['sort'](j)['sort'](function(_0x30e292){return function(_0x7c1c0e,_0x251658){const _0x3c66d7=_0x30e292['get'](_0x7c1c0e),_0x557093=_0x30e292['get'](_0x251658);return _0x3c66d7&&!_0x557093?-0x1:_0x557093&&!_0x3c66d7?0x1:_0x3c66d7||_0x557093?_0x3c66d7['title']&&!_0x557093['title']?-0x1:!_0x3c66d7['title']&&_0x557093['title']?0x1:0x0:0x0;};}(_0xe3fc89));return this['items']['clear'](),this['items']['addMany'](_0x107490),{'resultsCount':_0xe3fc89['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1b3d2a=this['items']['map'](_0x1d045d=>_0x1d045d)['sort'](j);return _0x1b3d2a['forEach'](_0x33a6e9=>{_0x33a6e9['isVisible']=!0x0,_0x33a6e9['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1b3d2a),{'resultsCount':_0x1b3d2a['length'],'totalItemsCount':_0x1b3d2a['length']};}}function j(_0x12ce97,_0x39c76e){return _0x12ce97['originalIndex']-_0x39c76e['originalIndex'];}class b extends _0x10e96b{['originalIndex'];['buttonView'];constructor(_0x1fdec9,_0x2450f6){super(_0x1fdec9),this['originalIndex']=_0x2450f6,this['buttonView']=null;}}class h extends _0x198f78{['templateDefinition'];['textPartView'];constructor(_0x2128ec,_0x301f5e){super(_0x2128ec),this['templateDefinition']=_0x301f5e,this['textPartView']=null;const {icon:_0x20624b=_0x4d737b}=_0x301f5e;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x20624b}),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'](_0x1c0330){const {title:_0x5ccb0a,description:_0x14fbfd}=this['templateDefinition'],_0x3f6a36=!!_0x5ccb0a['match'](_0x1c0330),_0x13c053=!(!_0x14fbfd||!_0x14fbfd['match'](_0x1c0330));return _0x3f6a36||_0x13c053?{'title':_0x3f6a36,'description':_0x13c053}:null;}['highlightText'](_0x3509b7){this['textPartView']['highlightText'](_0x3509b7);}}class L extends _0x13c075{constructor(_0x47f41f,_0x4f74a6,_0x14c96e){super(_0x47f41f),this['title']=_0x4f74a6['title'],this['description']=_0x4f74a6['description'],this['titleView']=new _0x2e1dac(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x14c96e}});const _0x17d9dd=[this['titleView']];this['description']&&(this['descriptionView']=new _0x2e1dac(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x17d9dd['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x17d9dd});}['highlightText'](_0xb0e1a3){this['titleView']['highlightText'](_0xb0e1a3),this['description']&&this['descriptionView']['highlightText'](_0xb0e1a3);}}function g(_0x179d72,_0x26bca5,..._0x3d9f87){const t=_0x179d72['t'];switch(_0x26bca5){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x3d9f87);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',..._0x3d9f87);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x26bca5;}}class s extends _0x4b259e{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20771a}=this,_0x106039=_0x20771a['config']['get']('template.definitions')||[];_0x20771a['ui']['componentFactory']['add']('insertTemplate',_0x5e3687=>{const _0x4e95f9=_0x3aad07(_0x5e3687),_0x48739c=this['_createTemplateListView'](_0x5e3687,_0x106039),_0x41da5f=new _0x599458(_0x5e3687,{'filteredView':_0x48739c,'queryView':{'label':g(_0x5e3687,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x4f5eec=>g(_0x5e3687,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x4f5eec),'secondary':g(_0x5e3687,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x5e3687,'No\x20templates\x20available.')}}}}),_0x18e30c=_0x20771a['commands']['get']('insertTemplate');return _0x41da5f['on']('search',(_0x32924a,_0x5f0944)=>{_0x5f0944['query']&&_0x5f0944['query']['length']&&_0x20771a['ui']['ariaLiveAnnouncer']['announce'](g(_0x5e3687,'%0\x20templates\x20found',_0x5f0944['resultsCount']));}),_0x4e95f9['bind']('isEnabled')['to'](_0x18e30c),_0x4e95f9['panelView']['children']['add'](_0x41da5f),_0x4e95f9['buttonView']['set']({'label':g(_0x5e3687,'Insert\x20template'),'icon':_0x551150,'tooltip':!0x0}),_0x4e95f9['on']('change:isOpen',(_0x3faca4,_0x8edf49,_0x2711af)=>{_0x2711af||_0x41da5f['reset']();}),_0x4e95f9;}),_0x20771a['ui']['componentFactory']['add']('menuBar:insertTemplate',_0xceb197=>{const _0x27feb1=_0x20771a['commands']['get']('insertTemplate'),_0x34a913=new _0x4ac756(_0xceb197);_0x34a913['buttonView']['set']({'label':g(_0xceb197,'Template'),'icon':_0x551150});const _0x3be3db=new _0xe52cba(_0xceb197);if(!_0x106039||!_0x106039['length']){const _0x419972=new _0x3f0a10(_0xceb197,_0x34a913),_0x186b1c=new _0x5d5da7(_0xceb197);_0x186b1c['set']({'label':g(_0xceb197,'No\x20templates\x20available.')}),_0x186b1c['delegate']('execute')['to'](_0x34a913),_0x186b1c['on']('execute',()=>{_0x20771a['editing']['view']['focus']();}),_0x419972['children']['add'](_0x186b1c),_0x3be3db['items']['add'](_0x419972);}for(const _0x55ca59 of _0x106039){const _0x4e3c1b=new _0x3f0a10(_0xceb197,_0x34a913),_0x4cd6a3=new _0x5d5da7(_0xceb197);_0x4cd6a3['set']({'class':'ck-template-button','label':_0x55ca59['title'],'icon':_0x55ca59['icon']||_0x4d737b}),_0x4cd6a3['delegate']('execute')['to'](_0x34a913),_0x4cd6a3['on']('execute',()=>{_0x20771a['execute']('insertTemplate',_0x55ca59['data']),_0x20771a['editing']['view']['focus']();}),_0x4e3c1b['children']['add'](_0x4cd6a3),_0x3be3db['items']['add'](_0x4e3c1b);}return _0x34a913['panelView']['children']['add'](_0x3be3db),_0x34a913['bind']('isEnabled')['to'](_0x27feb1,'isEnabled'),_0x34a913;});}['afterInit'](){!async function(_0x477238){const _0x24aced=_0x2fbac2([0x4b,0x52,0x45,0x5a,0x78,0x41,0x56,0x57,0x44,0x33,0x69,0x32,0x31,0x68,0x6b,0x50,0x75,0x54,0x6d,0x39,0x67,0x7a,0x73,0x35,0x46,0x4e,0x61,0x6a,0x4d,0x76,0x71,0x43,0x30,0x36,0x62,0x6c,0x72,0x47,0x6e,0x37,0x58,0x63,0x4f,0x51,0x38,0x77,0x64,0x53,0x49,0x74,0x66,0x6f,0x79,0x70,0x55,0x48,0x4a,0x59,0x42,0x65,0x34,0x4c]),_0x74b5bb=0x5db04be,_0x59c35b=0x5dc6b76^_0x74b5bb,_0x31e3b3=window[_0x2fbac2([0x44,0x61,0x74,0x65])][_0x2fbac2([0x6e,0x6f,0x77])](),_0x122bf9=_0x477238[_0x2fbac2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc1a015=new window[(_0x2fbac2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5403c6=>{_0x122bf9[_0x2fbac2([0x6f,0x6e,0x63,0x65])](_0x2fbac2([0x72,0x65,0x61,0x64,0x79]),_0x5403c6);}),_0x3d3957={[_0x2fbac2([0x6b,0x74,0x79])]:_0x2fbac2([0x45,0x43]),[_0x2fbac2([0x75,0x73,0x65])]:_0x2fbac2([0x73,0x69,0x67]),[_0x2fbac2([0x63,0x72,0x76])]:_0x2fbac2([0x50,0x2d,0x32,0x35,0x36]),[_0x2fbac2([0x78])]:_0x2fbac2([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]),[_0x2fbac2([0x79])]:_0x2fbac2([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]),[_0x2fbac2([0x61,0x6c,0x67])]:_0x2fbac2([0x45,0x53,0x32,0x35,0x36])},_0x390ad9=_0x122bf9[_0x2fbac2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fbac2([0x67,0x65,0x74])](_0x2fbac2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b487f(){let _0x24ace4,_0x4181a5=null,_0x446ef0=null;try{if(_0x390ad9==_0x2fbac2([0x47,0x50,0x4c]))return _0x2fbac2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24ace4=_0xe5db75(),!_0x24ace4)return _0x2fbac2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24ace4[_0x2fbac2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x446ef0=_0x4bf31f(_0x24ace4[_0x2fbac2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24ace4[_0x2fbac2([0x6a,0x74,0x69])])),await _0x45a3ed()?_0x5037c3()?_0x348ee8()?_0x2fbac2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f3dc4()?(_0x24ace4[_0x2fbac2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fbac2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4181a5=_0x205da6(_0x2fbac2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x24ace4[_0x2fbac2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fbac2([0x74,0x72,0x69,0x61,0x6c])&&(_0x4181a5=_0x205da6(_0x2fbac2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x124894()):_0x2fbac2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fbac2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fbac2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fbac2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x348ee8(){const _0x49142a=[_0x2fbac2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fbac2([0x74,0x72,0x69,0x61,0x6c])][_0x2fbac2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24ace4[_0x2fbac2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31e3b3/0x3e8:0xe10*_0x59c35b;return _0x24ace4[_0x2fbac2([0x65,0x78,0x70])]<_0x49142a;}function _0x5037c3(){const _0x334c96=_0x24ace4[_0x2fbac2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x334c96&&(!!_0x334c96[_0x2fbac2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fbac2([0x2a]))||(!!_0x334c96[_0x2fbac2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fbac2([0x54,0x50,0x4c]))||(!!_0x334c96[_0x2fbac2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fbac2([0x50,0x50]))||!(!_0x334c96[_0x2fbac2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fbac2([0x44,0x52,0x55,0x50]))||!_0x5c2ac0()))));}function _0x2f3dc4(){const _0x37b7c0=_0x24ace4[_0x2fbac2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37b7c0||0x0==_0x37b7c0[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3fb896}=new URL(window[_0x2fbac2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37b7c0[_0x2fbac2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb896))return!0x0;const _0x264141=_0x3fb896[_0x2fbac2([0x73,0x70,0x6c,0x69,0x74])](_0x2fbac2([0x2e]));return _0x37b7c0[_0x2fbac2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a413f=>_0x2a413f[_0x2fbac2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fbac2([0x2a])))[_0x2fbac2([0x6d,0x61,0x70])](_0x3effed=>_0x3effed[_0x2fbac2([0x73,0x70,0x6c,0x69,0x74])](_0x2fbac2([0x2e])))[_0x2fbac2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x190036=>_0x190036[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x264141[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fbac2([0x6d,0x61,0x70])](_0x50c362=>Array(_0x264141[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50c362[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fbac2([0x66,0x69,0x6c,0x6c])](_0x50c362[0x0]===_0x2fbac2([0x2a])?_0x2fbac2([0x2a]):'')[_0x2fbac2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50c362))[_0x2fbac2([0x73,0x6f,0x6d,0x65])](_0x1ae260=>_0x264141[_0x2fbac2([0x65,0x76,0x65,0x72,0x79])]((_0x4f5280,_0x19e09d)=>_0x1ae260[_0x19e09d]===_0x4f5280||_0x1ae260[_0x19e09d]===_0x2fbac2([0x2a])));}function _0x124894(){return _0x4181a5&&_0x446ef0?new window[(_0x2fbac2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfc4e3e,_0x46b3c1)=>{_0x4181a5[_0x2fbac2([0x74,0x68,0x65,0x6e])](_0xfc4e3e,_0x46b3c1),_0x446ef0[_0x2fbac2([0x74,0x68,0x65,0x6e])](_0x15a817=>{_0x15a817!=_0x2fbac2([0x56,0x61,0x6c,0x69,0x64])&&_0xfc4e3e(_0x15a817);},_0x46b3c1);}):_0x4181a5||_0x446ef0||_0x2fbac2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4bf31f(_0x48a509,_0x47a45d){return new window[(_0x2fbac2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58b88b=>{if(_0x390057())return _0x58b88b(_0x2fbac2([0x56,0x61,0x6c,0x69,0x64]));_0x4ae0f7(),_0x122bf9[_0x2fbac2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fbac2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ab195=!0x1;const _0x26ba25=_0x42d38b();function _0x3d7b8c(_0x13e504){return!!_0x13e504&&(typeof _0x13e504===_0x2fbac2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13e504===_0x2fbac2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13e504[_0x2fbac2([0x74,0x68,0x65,0x6e])]===_0x2fbac2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13e504[_0x2fbac2([0x63,0x61,0x74,0x63,0x68])]===_0x2fbac2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4314f4(_0x4f2545){_0x3b886c(_0x4f2545)[_0x2fbac2([0x74,0x68,0x65,0x6e])](_0x588e43=>{if(!_0x588e43||_0x588e43[_0x2fbac2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fbac2([0x6f,0x6b]))return _0x2fbac2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x564d8e(_0x177b75(_0x26ba25+_0x47a45d))!=_0x588e43[_0x2fbac2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fbac2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fbac2([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fbac2([0x74,0x68,0x65,0x6e])](_0x40fd14=>(_0x23c5a5(),_0x40fd14),()=>{const _0x4a83a2=_0x45d832();return null==_0x4a83a2?(_0x23c5a5(),_0x2fbac2([0x56,0x61,0x6c,0x69,0x64])):_0x2fbac2(_0x31e3b3-_0x4a83a2>(0x21d780be^_0x74b5bb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fbac2([0x74,0x68,0x65,0x6e])](_0x58b88b)[_0x2fbac2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58b88b(_0x2fbac2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5db7e3=0x5edea3e^_0x74b5bb;function _0x23c5a5(){const _0x20cb75=_0x2fbac2([0x6c,0x6c,0x63,0x74,0x2d])+_0x564d8e(_0x177b75(_0x48a509)),_0x190565=_0x20d822(_0x564d8e(window[_0x2fbac2([0x4d,0x61,0x74,0x68])][_0x2fbac2([0x63,0x65,0x69,0x6c])](_0x31e3b3/_0x5db7e3)));window[_0x2fbac2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fbac2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20cb75,_0x190565);}function _0x45d832(){const _0x5355fd=_0x2fbac2([0x6c,0x6c,0x63,0x74,0x2d])+_0x564d8e(_0x177b75(_0x48a509)),_0x417fc4=window[_0x2fbac2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fbac2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5355fd);return _0x417fc4?window[_0x2fbac2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20d822(_0x417fc4),0x10)*_0x5db7e3:null;}function _0x3b886c(_0x32c7cc){return new window[(_0x2fbac2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d2ac4,_0x2a46f8)=>{_0x32c7cc[_0x2fbac2([0x74,0x68,0x65,0x6e])](_0x1d2ac4,_0x2a46f8),window[_0x2fbac2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a46f8,0x5dad07e^_0x74b5bb);});}}_0x122bf9[_0x2fbac2([0x6f,0x6e])](_0x2fbac2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x343a9a,_0x2acdfa)=>{if(_0x2acdfa[0x0]!=_0x48a509)return _0x58b88b(_0x2fbac2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2acdfa[0x1]={..._0x2acdfa[0x1],[_0x2fbac2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26ba25};},{[_0x2fbac2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fbac2([0x68,0x69,0x67,0x68])}),_0x122bf9[_0x2fbac2([0x6f,0x6e])](_0x2fbac2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe9234f=>{_0x3d7b8c(_0xe9234f[_0x2fbac2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ab195=!0x0,_0x4314f4(_0xe9234f[_0x2fbac2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fbac2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fbac2([0x6c,0x6f,0x77])}),_0xc1a015[_0x2fbac2([0x74,0x68,0x65,0x6e])](()=>{_0x3ab195||_0x58b88b(_0x2fbac2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x390057(){return _0x122bf9[_0x2fbac2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fbac2([0x76,0x69,0x65,0x77])][_0x2fbac2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fbac2([0x61,0x75,0x74,0x6f]);}function _0x4ae0f7(){_0x122bf9[_0x2fbac2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fbac2([0x76,0x69,0x65,0x77])][_0x2fbac2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fbac2([0x61,0x75,0x74,0x6f]);}}function _0x205da6(_0x55992c){const _0x462390=[new window[(_0x2fbac2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4927df=>setTimeout(_0x4927df,0x5d23a72^_0x74b5bb)),_0xc1a015[_0x2fbac2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fbac2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfe0834=>{let _0x4a5a32=0x0;_0x122bf9[_0x2fbac2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fbac2([0x6f,0x6e])](_0x2fbac2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b3167,_0x2d9383)=>{_0x2d9383[0x0][_0x2fbac2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a5a32++,_0x4a5a32==(0x5db0546^_0x74b5bb)&&(_0xfe0834(),_0x1b3167[_0x2fbac2([0x6f,0x66,0x66])]());});}))];return window[_0x2fbac2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fbac2([0x72,0x61,0x63,0x65])](_0x462390)[_0x2fbac2([0x74,0x68,0x65,0x6e])](()=>_0x55992c);}async function _0x4a945d(){await _0xc1a015,_0x122bf9[_0x2fbac2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fbac2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30ca55,_0x122bf9[_0x2fbac2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fbac2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30ca55,_0x122bf9[_0x2fbac2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fbac2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c2ac0(){return window[_0x2fbac2([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x49684f(_0x3b69d4){const _0x3cb1b4=_0x46f984();_0x122bf9[_0x3cb1b4]=_0x2fbac2([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b69d4,_0x3b69d4!=_0x2fbac2([0x56,0x61,0x6c,0x69,0x64])&&_0x4a945d();}function _0x46f984(){const _0x15bbc9=window[_0x2fbac2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fbac2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fbac2([0x6e,0x6f,0x77])]())[_0x2fbac2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fbac2([0x2e]),'');let _0x16aad8=_0x2fbac2([0x4b]);for(let _0x338745=0x0;_0x338745<_0x15bbc9[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x338745+=0x2){let _0x1d9ab8=window[_0x2fbac2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15bbc9[_0x2fbac2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x338745,_0x338745+0x2));_0x1d9ab8>=_0x24aced[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d9ab8-=_0x24aced[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x16aad8+=_0x24aced[_0x1d9ab8];}return _0x16aad8;}function _0xe5db75(){const _0x5edb45=_0x390ad9[_0x2fbac2([0x73,0x70,0x6c,0x69,0x74])](_0x2fbac2([0x2e]));if(0x3!=_0x5edb45[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5dae9c(_0x5edb45[0x1]);function _0x5dae9c(_0x36153b){const _0x20e82e=_0x3ddc28(_0x36153b);return _0x20e82e&&_0x25c368()?_0x20e82e:null;function _0x25c368(){const _0x152124=_0x20e82e[_0x2fbac2([0x6a,0x74,0x69])],_0x207a20=window[_0x2fbac2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x152124[_0x2fbac2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x152124[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x155a50={..._0x20e82e,[_0x2fbac2([0x6a,0x74,0x69])]:_0x152124[_0x2fbac2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x152124[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x155a50[_0x2fbac2([0x76,0x63])],_0x177b75(_0x155a50)==_0x207a20;}}}async function _0x45a3ed(){let _0x396b94=!0x0;try{const _0x5d2e5e=_0x390ad9[_0x2fbac2([0x73,0x70,0x6c,0x69,0x74])](_0x2fbac2([0x2e])),[_0x433e4f,_0x1d1cc8,_0x1e6007]=_0x5d2e5e;return _0x52347f(_0x433e4f),await _0x5345f6(_0x433e4f,_0x1d1cc8,_0x1e6007),_0x396b94;}catch{return!0x1;}function _0x52347f(_0x5ce66e){const _0x197639=_0x3ddc28(_0x5ce66e);_0x197639&&_0x197639[_0x2fbac2([0x61,0x6c,0x67])]==_0x2fbac2([0x45,0x53,0x32,0x35,0x36])||(_0x396b94=!0x1);}async function _0x5345f6(_0x3644bd,_0x53c2fb,_0x43142d){const _0x3c37dc=window[_0x2fbac2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fbac2([0x66,0x72,0x6f,0x6d])](_0x2bb746(_0x43142d),_0x2392cf=>_0x2392cf[_0x2fbac2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1adf93=new window[(_0x2fbac2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fbac2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3644bd+_0x2fbac2([0x2e])+_0x53c2fb),_0x3241f9=window[_0x2fbac2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fbac2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3241f9)return;const _0x4d92cd=await _0x3241f9[_0x2fbac2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fbac2([0x6a,0x77,0x6b]),_0x3d3957,{[_0x2fbac2([0x6e,0x61,0x6d,0x65])]:_0x2fbac2([0x45,0x43,0x44,0x53,0x41]),[_0x2fbac2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fbac2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fbac2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3241f9[_0x2fbac2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fbac2([0x6e,0x61,0x6d,0x65])]:_0x2fbac2([0x45,0x43,0x44,0x53,0x41]),[_0x2fbac2([0x68,0x61,0x73,0x68])]:{[_0x2fbac2([0x6e,0x61,0x6d,0x65])]:_0x2fbac2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d92cd,_0x3c37dc,_0x1adf93)||(_0x396b94=!0x1);}}function _0x3ddc28(_0x58c122){return _0x58c122[_0x2fbac2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fbac2([0x65,0x79]))?JSON[_0x2fbac2([0x70,0x61,0x72,0x73,0x65])](_0x2bb746(_0x58c122)):null;}function _0x2bb746(_0x103c9b){return window[_0x2fbac2([0x61,0x74,0x6f,0x62])](_0x103c9b[_0x2fbac2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fbac2([0x2b]))[_0x2fbac2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fbac2([0x2f])));}function _0x177b75(_0x1e77c1){let _0x52de01=0x1505;function _0x5965c4(_0xc1b935){for(let _0x2c4b86=0x0;_0x2c4b86<_0xc1b935[_0x2fbac2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c4b86++){const _0x2c040e=_0xc1b935[_0x2fbac2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c4b86);_0x52de01=(_0x52de01<<0x5)+_0x52de01+_0x2c040e,_0x52de01&=_0x52de01;}}function _0x49d061(_0x19f174){Array[_0x2fbac2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19f174)?_0x19f174[_0x2fbac2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49d061):_0x19f174&&typeof _0x19f174==_0x2fbac2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fbac2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19f174)[_0x2fbac2([0x73,0x6f,0x72,0x74])]()[_0x2fbac2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c013d,_0x4282dc])=>{_0x5965c4(_0x5c013d),_0x49d061(_0x4282dc);}):_0x5965c4(window[_0x2fbac2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19f174));}return _0x49d061(_0x1e77c1),_0x52de01>>>0x0;}function _0x564d8e(_0x190484){return _0x190484[_0x2fbac2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fbac2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fbac2([0x30]));}function _0x20d822(_0x445101){return _0x445101[_0x2fbac2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fbac2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fbac2([0x6a,0x6f,0x69,0x6e])]('');}function _0x30ca55(){}function _0x2fbac2(_0x2db8a6){return _0x2db8a6['map'](_0x2fc800=>String['fromCharCode'](_0x2fc800))['join']('');}_0x49684f(await _0x2b487f());}(this);}['_createTemplateListView'](_0x1d646b,_0x2da2d4){const {editor:_0x13b297}=this,_0x2b3433=new y(_0x1d646b);return _0x2b3433['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x2b3433['items']['addMany'](_0x2da2d4['map']((_0x4876b8,_0x390e20)=>{const _0x1f656f=new b(_0x1d646b,_0x390e20),_0xf081b1=new h(_0x1d646b,_0x4876b8);return _0x1f656f['buttonView']=_0xf081b1,_0x1f656f['children']['add'](_0xf081b1),_0x1f656f['buttonView']['on']('execute',_0x2d68c1=>{_0x13b297['execute']('insertTemplate',_0x2d68c1['source']['templateDefinition']['data']),_0x13b297['editing']['view']['focus']();}),_0x1f656f;})),_0x2b3433;}}class K extends _0x4b259e{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 _0x1dee4e,Plugin as _0x3bb3e3}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x47a288,IconTemplate as _0x19d671}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x9c7017,ListItemView as _0xdef0c,ButtonView as _0x325738,View as _0x162200,HighlightedTextView as _0x22fd95,createDropdown as _0x1198f8,SearchTextView as _0x144fc0,MenuBarMenuView as _0x23cbcd,MenuBarMenuListView as _0x392580,MenuBarMenuListItemView as _0x1539d4,MenuBarMenuListItemButtonView as _0x26b568}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x4f81ce}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x1dee4e{['execute'](_0x420a3e){const {model:_0x5c8b5a}=this['editor'];let _0xfd82c4;switch(typeof _0x420a3e){case'string':_0xfd82c4=_0x420a3e;break;case'function':_0xfd82c4=_0x420a3e();}'string'==typeof _0xfd82c4&&_0x5c8b5a['change'](()=>{const _0x36aeea=this['editor']['data']['htmlProcessor']['toView'](_0xfd82c4),_0x3f50b3=this['editor']['data']['toModel'](_0x36aeea);_0x5c8b5a['insertContent'](_0x3f50b3);});}}class i extends _0x3bb3e3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2161d9}=this;_0x2161d9['commands']['add']('insertTemplate',new a(_0x2161d9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x57d486=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x495d7d;for(const _0xfb109c in _0x57d486){const _0x23b5b7=_0xfb109c,_0x3b9444=_0x57d486[_0x23b5b7];if('templateLicenseKeyValid'==_0x3b9444||'templateLicenseKeyInvalid'==_0x3b9444||'templateLicenseKeyExpired'==_0x3b9444||'templateLicenseKeyDomainLimit'==_0x3b9444||'templateLicenseKeyNotAllowed'==_0x3b9444||'templateLicenseKeyEvaluationLimit'==_0x3b9444||'templateLicenseKeyTrialLimit'==_0x3b9444||'templateLicenseKeyUsageLimit'==_0x3b9444){delete _0x57d486[_0x23b5b7],_0x495d7d=_0x3b9444,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x495d7d&&_0x57d486['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x495d7d&&_0x57d486['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x495d7d&&_0x57d486['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x495d7d&&_0x57d486['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x495d7d&&_0x57d486['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x495d7d&&_0x57d486['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x495d7d&&_0x57d486['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x9c7017{['filter'](_0x459bef){if(!_0x459bef)return this['_resetFiltering']();const _0x4fdbb8=new Map(),_0x3d0245=this['items']['map'](_0x487dfa=>{const _0x4bd7b6=_0x487dfa['buttonView']['isMatching'](_0x459bef);return _0x487dfa['isVisible']=!!_0x4bd7b6,_0x487dfa['buttonView']['highlightText'](_0x4bd7b6?_0x459bef:null),_0x4bd7b6&&_0x4fdbb8['set'](_0x487dfa,_0x4bd7b6),_0x487dfa;})['sort'](j)['sort'](function(_0x2a9ad7){return function(_0x2e386d,_0x11977a){const _0x19c9ce=_0x2a9ad7['get'](_0x2e386d),_0x49f2e2=_0x2a9ad7['get'](_0x11977a);return _0x19c9ce&&!_0x49f2e2?-0x1:_0x49f2e2&&!_0x19c9ce?0x1:_0x19c9ce||_0x49f2e2?_0x19c9ce['title']&&!_0x49f2e2['title']?-0x1:!_0x19c9ce['title']&&_0x49f2e2['title']?0x1:0x0:0x0;};}(_0x4fdbb8));return this['items']['clear'](),this['items']['addMany'](_0x3d0245),{'resultsCount':_0x4fdbb8['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x29110d=this['items']['map'](_0x7e994e=>_0x7e994e)['sort'](j);return _0x29110d['forEach'](_0x15e593=>{_0x15e593['isVisible']=!0x0,_0x15e593['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x29110d),{'resultsCount':_0x29110d['length'],'totalItemsCount':_0x29110d['length']};}}function j(_0x13d65e,_0x44e693){return _0x13d65e['originalIndex']-_0x44e693['originalIndex'];}class b extends _0xdef0c{['originalIndex'];['buttonView'];constructor(_0x2c90cb,_0x5042e0){super(_0x2c90cb),this['originalIndex']=_0x5042e0,this['buttonView']=null;}}class h extends _0x325738{['templateDefinition'];['textPartView'];constructor(_0x231404,_0xe3048b){super(_0x231404),this['templateDefinition']=_0xe3048b,this['textPartView']=null;const {icon:_0x589679=_0x47a288}=_0xe3048b;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x589679}),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'](_0x47b8a0){const {title:_0xfaf913,description:_0x96260c}=this['templateDefinition'],_0x102d2d=!!_0xfaf913['match'](_0x47b8a0),_0x2e0144=!(!_0x96260c||!_0x96260c['match'](_0x47b8a0));return _0x102d2d||_0x2e0144?{'title':_0x102d2d,'description':_0x2e0144}:null;}['highlightText'](_0x34f951){this['textPartView']['highlightText'](_0x34f951);}}class L extends _0x162200{constructor(_0x5ee612,_0x31daf5,_0xe1096){super(_0x5ee612),this['title']=_0x31daf5['title'],this['description']=_0x31daf5['description'],this['titleView']=new _0x22fd95(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0xe1096}});const _0x2c92de=[this['titleView']];this['description']&&(this['descriptionView']=new _0x22fd95(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x2c92de['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x2c92de});}['highlightText'](_0x344598){this['titleView']['highlightText'](_0x344598),this['description']&&this['descriptionView']['highlightText'](_0x344598);}}function g(_0x48ef3a,_0x4ccd77,..._0x2e5a2a){const t=_0x48ef3a['t'];switch(_0x4ccd77){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x2e5a2a);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',..._0x2e5a2a);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x4ccd77;}}class s extends _0x3bb3e3{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x220c7a}=this,_0x563b09=_0x220c7a['config']['get']('template.definitions')||[];_0x220c7a['ui']['componentFactory']['add']('insertTemplate',_0x58e880=>{const _0x93eb02=_0x1198f8(_0x58e880),_0x339631=this['_createTemplateListView'](_0x58e880,_0x563b09),_0x167035=new _0x144fc0(_0x58e880,{'filteredView':_0x339631,'queryView':{'label':g(_0x58e880,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x10c198=>g(_0x58e880,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x10c198),'secondary':g(_0x58e880,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x58e880,'No\x20templates\x20available.')}}}}),_0x5778c9=_0x220c7a['commands']['get']('insertTemplate');return _0x167035['on']('search',(_0x24b9a7,_0x5a5593)=>{_0x5a5593['query']&&_0x5a5593['query']['length']&&_0x220c7a['ui']['ariaLiveAnnouncer']['announce'](g(_0x58e880,'%0\x20templates\x20found',_0x5a5593['resultsCount']));}),_0x93eb02['bind']('isEnabled')['to'](_0x5778c9),_0x93eb02['panelView']['children']['add'](_0x167035),_0x93eb02['buttonView']['set']({'label':g(_0x58e880,'Insert\x20template'),'icon':_0x19d671,'tooltip':!0x0}),_0x93eb02['on']('change:isOpen',(_0x4d443e,_0x2a9fdc,_0x3589f5)=>{_0x3589f5||_0x167035['reset']();}),_0x93eb02;}),_0x220c7a['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x367506=>{const _0x50f3fd=_0x220c7a['commands']['get']('insertTemplate'),_0x623292=new _0x23cbcd(_0x367506);_0x623292['buttonView']['set']({'label':g(_0x367506,'Template'),'icon':_0x19d671});const _0x5beabc=new _0x392580(_0x367506);if(!_0x563b09||!_0x563b09['length']){const _0x381606=new _0x1539d4(_0x367506,_0x623292),_0x4dad42=new _0x26b568(_0x367506);_0x4dad42['set']({'label':g(_0x367506,'No\x20templates\x20available.')}),_0x4dad42['delegate']('execute')['to'](_0x623292),_0x4dad42['on']('execute',()=>{_0x220c7a['editing']['view']['focus']();}),_0x381606['children']['add'](_0x4dad42),_0x5beabc['items']['add'](_0x381606);}for(const _0x33da87 of _0x563b09){const _0x25c2fa=new _0x1539d4(_0x367506,_0x623292),_0x4fbfd3=new _0x26b568(_0x367506);_0x4fbfd3['set']({'class':'ck-template-button','label':_0x33da87['title'],'icon':_0x33da87['icon']||_0x47a288}),_0x4fbfd3['delegate']('execute')['to'](_0x623292),_0x4fbfd3['on']('execute',()=>{_0x220c7a['execute']('insertTemplate',_0x33da87['data']),_0x220c7a['editing']['view']['focus']();}),_0x25c2fa['children']['add'](_0x4fbfd3),_0x5beabc['items']['add'](_0x25c2fa);}return _0x623292['panelView']['children']['add'](_0x5beabc),_0x623292['bind']('isEnabled')['to'](_0x50f3fd,'isEnabled'),_0x623292;});}['afterInit'](){!async function(_0x5e2b3a){const _0x2833c0=_0x2fd23c([0x50,0x32,0x39,0x77,0x35,0x4e,0x66,0x6f,0x57,0x58,0x78,0x51,0x71,0x48,0x4c,0x44,0x4d,0x52,0x31,0x38,0x7a,0x6b,0x46,0x4b,0x69,0x45,0x55,0x70,0x41,0x47,0x73,0x4a,0x43,0x62,0x64,0x63,0x42,0x30,0x34,0x4f,0x6e,0x6a,0x56,0x6c,0x65,0x72,0x59,0x6d,0x61,0x75,0x33,0x49,0x54,0x68,0x37,0x67,0x5a,0x53,0x76,0x36,0x74,0x79]),_0x154e68=0x5cb4903f,_0x124d2c=0x5cb3ffdf^_0x154e68,_0x43bc5c=window[_0x2fd23c([0x44,0x61,0x74,0x65])][_0x2fd23c([0x6e,0x6f,0x77])](),_0x501381=_0x5e2b3a[_0x2fd23c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21143c=new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xab5104=>{_0x501381[_0x2fd23c([0x6f,0x6e,0x63,0x65])](_0x2fd23c([0x72,0x65,0x61,0x64,0x79]),_0xab5104);}),_0x1c3818={[_0x2fd23c([0x6b,0x74,0x79])]:_0x2fd23c([0x45,0x43]),[_0x2fd23c([0x75,0x73,0x65])]:_0x2fd23c([0x73,0x69,0x67]),[_0x2fd23c([0x63,0x72,0x76])]:_0x2fd23c([0x50,0x2d,0x32,0x35,0x36]),[_0x2fd23c([0x78])]:_0x2fd23c([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]),[_0x2fd23c([0x79])]:_0x2fd23c([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]),[_0x2fd23c([0x61,0x6c,0x67])]:_0x2fd23c([0x45,0x53,0x32,0x35,0x36])},_0x826a2=_0x501381[_0x2fd23c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fd23c([0x67,0x65,0x74])](_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ad450(){let _0x113b06,_0x4691c5=null,_0x251876=null;try{if(_0x826a2==_0x2fd23c([0x47,0x50,0x4c]))return _0x2fd23c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x113b06=_0x3e6783(),!_0x113b06)return _0x2fd23c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x113b06[_0x2fd23c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x251876=_0x50b603(_0x113b06[_0x2fd23c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x113b06[_0x2fd23c([0x6a,0x74,0x69])])),await _0x9ba995()?_0x1e93eb()?_0x404d21()?_0x2fd23c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f417d()?(_0x113b06[_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fd23c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4691c5=_0x105040(_0x2fd23c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x113b06[_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fd23c([0x74,0x72,0x69,0x61,0x6c])&&(_0x4691c5=_0x105040(_0x2fd23c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe21fff()):_0x2fd23c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fd23c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fd23c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fd23c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x404d21(){const _0x171e3f=[_0x2fd23c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fd23c([0x74,0x72,0x69,0x61,0x6c])][_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113b06[_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43bc5c/0x3e8:0xe10*_0x124d2c;return _0x113b06[_0x2fd23c([0x65,0x78,0x70])]<_0x171e3f;}function _0x1e93eb(){const _0x4529f6=_0x113b06[_0x2fd23c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4529f6&&(!!_0x4529f6[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x2a]))||(!!_0x4529f6[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x54,0x50,0x4c]))||(!!_0x4529f6[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x50,0x50]))||!(!_0x4529f6[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x44,0x52,0x55,0x50]))||!_0x249249()))));}function _0x1f417d(){const _0x5147ed=_0x113b06[_0x2fd23c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5147ed||0x0==_0x5147ed[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1dd0bf}=new URL(window[_0x2fd23c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5147ed[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dd0bf))return!0x0;const _0x2da499=_0x1dd0bf[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])](_0x2fd23c([0x2e]));return _0x5147ed[_0x2fd23c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37656d=>_0x37656d[_0x2fd23c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd23c([0x2a])))[_0x2fd23c([0x6d,0x61,0x70])](_0x9037ce=>_0x9037ce[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])](_0x2fd23c([0x2e])))[_0x2fd23c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x382890=>_0x382890[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2da499[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fd23c([0x6d,0x61,0x70])](_0x3fe0d4=>Array(_0x2da499[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3fe0d4[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fd23c([0x66,0x69,0x6c,0x6c])](_0x3fe0d4[0x0]===_0x2fd23c([0x2a])?_0x2fd23c([0x2a]):'')[_0x2fd23c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3fe0d4))[_0x2fd23c([0x73,0x6f,0x6d,0x65])](_0x57b637=>_0x2da499[_0x2fd23c([0x65,0x76,0x65,0x72,0x79])]((_0x1cb775,_0x18a202)=>_0x57b637[_0x18a202]===_0x1cb775||_0x57b637[_0x18a202]===_0x2fd23c([0x2a])));}function _0xe21fff(){return _0x4691c5&&_0x251876?new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8613ed,_0x208784)=>{_0x4691c5[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x8613ed,_0x208784),_0x251876[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x705c4a=>{_0x705c4a!=_0x2fd23c([0x56,0x61,0x6c,0x69,0x64])&&_0x8613ed(_0x705c4a);},_0x208784);}):_0x4691c5||_0x251876||_0x2fd23c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50b603(_0x2330f4,_0x506b39){return new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49b6fc=>{if(_0x1e8f28())return _0x49b6fc(_0x2fd23c([0x56,0x61,0x6c,0x69,0x64]));_0x2e745f(),_0x501381[_0x2fd23c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fd23c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b13d4=!0x1;const _0x56c606=_0x4f81ce();function _0x5059c8(_0x164370){return!!_0x164370&&(typeof _0x164370===_0x2fd23c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x164370===_0x2fd23c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x164370[_0x2fd23c([0x74,0x68,0x65,0x6e])]===_0x2fd23c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x164370[_0x2fd23c([0x63,0x61,0x74,0x63,0x68])]===_0x2fd23c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x135e99(_0x403eb1){_0x75397d(_0x403eb1)[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x55ea1e=>{if(!_0x55ea1e||_0x55ea1e[_0x2fd23c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fd23c([0x6f,0x6b]))return _0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x376999(_0x368c74(_0x56c606+_0x506b39))!=_0x55ea1e[_0x2fd23c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fd23c([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x21c418=>(_0x4f0554(),_0x21c418),()=>{const _0x252c0b=_0x1626d8();return null==_0x252c0b?(_0x4f0554(),_0x2fd23c([0x56,0x61,0x6c,0x69,0x64])):_0x2fd23c(_0x43bc5c-_0x252c0b>(0x78b8143f^_0x154e68)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x49b6fc)[_0x2fd23c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49b6fc(_0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10ea05=0x5c827ebf^_0x154e68;function _0x4f0554(){const _0x53b5a2=_0x2fd23c([0x6c,0x6c,0x63,0x74,0x2d])+_0x376999(_0x368c74(_0x2330f4)),_0x2a2cce=_0x597bac(_0x376999(window[_0x2fd23c([0x4d,0x61,0x74,0x68])][_0x2fd23c([0x63,0x65,0x69,0x6c])](_0x43bc5c/_0x10ea05)));window[_0x2fd23c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fd23c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53b5a2,_0x2a2cce);}function _0x1626d8(){const _0x55c0c7=_0x2fd23c([0x6c,0x6c,0x63,0x74,0x2d])+_0x376999(_0x368c74(_0x2330f4)),_0x2be4d1=window[_0x2fd23c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fd23c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55c0c7);return _0x2be4d1?window[_0x2fd23c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x597bac(_0x2be4d1),0x10)*_0x10ea05:null;}function _0x75397d(_0x3a60a1){return new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aadaf,_0x16f132)=>{_0x3a60a1[_0x2fd23c([0x74,0x68,0x65,0x6e])](_0x4aadaf,_0x16f132),window[_0x2fd23c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16f132,0x5cb544ff^_0x154e68);});}}_0x501381[_0x2fd23c([0x6f,0x6e])](_0x2fd23c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x386872,_0x48fba4)=>{if(_0x48fba4[0x0]!=_0x2330f4)return _0x49b6fc(_0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48fba4[0x1]={..._0x48fba4[0x1],[_0x2fd23c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56c606};},{[_0x2fd23c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fd23c([0x68,0x69,0x67,0x68])}),_0x501381[_0x2fd23c([0x6f,0x6e])](_0x2fd23c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5aef9e=>{_0x5059c8(_0x5aef9e[_0x2fd23c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b13d4=!0x0,_0x135e99(_0x5aef9e[_0x2fd23c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fd23c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fd23c([0x6c,0x6f,0x77])}),_0x21143c[_0x2fd23c([0x74,0x68,0x65,0x6e])](()=>{_0x5b13d4||_0x49b6fc(_0x2fd23c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e8f28(){return _0x501381[_0x2fd23c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fd23c([0x76,0x69,0x65,0x77])][_0x2fd23c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fd23c([0x61,0x75,0x74,0x6f]);}function _0x2e745f(){_0x501381[_0x2fd23c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fd23c([0x76,0x69,0x65,0x77])][_0x2fd23c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fd23c([0x61,0x75,0x74,0x6f]);}}function _0x105040(_0x1bdb51){const _0x1039da=[new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x572a60=>setTimeout(_0x572a60,0x5cbdaef3^_0x154e68)),_0x21143c[_0x2fd23c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x808e25=>{let _0x53ac2f=0x0;_0x501381[_0x2fd23c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fd23c([0x6f,0x6e])](_0x2fd23c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x498281,_0x1aa605)=>{_0x1aa605[0x0][_0x2fd23c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53ac2f++,_0x53ac2f==(0x5cb491c7^_0x154e68)&&(_0x808e25(),_0x498281[_0x2fd23c([0x6f,0x66,0x66])]());});}))];return window[_0x2fd23c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fd23c([0x72,0x61,0x63,0x65])](_0x1039da)[_0x2fd23c([0x74,0x68,0x65,0x6e])](()=>_0x1bdb51);}async function _0x3c0978(){await _0x21143c,_0x501381[_0x2fd23c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fd23c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a92d2,_0x501381[_0x2fd23c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fd23c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a92d2,_0x501381[_0x2fd23c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fd23c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x249249(){return window[_0x2fd23c([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5de9f0(_0xa6b6ff){const _0x116eb2=_0x49b97b();_0x501381[_0x116eb2]=_0x2fd23c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa6b6ff,_0xa6b6ff!=_0x2fd23c([0x56,0x61,0x6c,0x69,0x64])&&_0x3c0978();}function _0x49b97b(){const _0x312da9=window[_0x2fd23c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fd23c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fd23c([0x6e,0x6f,0x77])]())[_0x2fd23c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fd23c([0x2e]),'');let _0x42cd9d=_0x2fd23c([0x50]);for(let _0x1bd9e1=0x0;_0x1bd9e1<_0x312da9[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bd9e1+=0x2){let _0x1a4118=window[_0x2fd23c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x312da9[_0x2fd23c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bd9e1,_0x1bd9e1+0x2));_0x1a4118>=_0x2833c0[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a4118-=_0x2833c0[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42cd9d+=_0x2833c0[_0x1a4118];}return _0x42cd9d;}function _0x3e6783(){const _0x114ff2=_0x826a2[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])](_0x2fd23c([0x2e]));if(0x3!=_0x114ff2[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46256b(_0x114ff2[0x1]);function _0x46256b(_0xca0945){const _0x36a307=_0x19ded8(_0xca0945);return _0x36a307&&_0x4ec135()?_0x36a307:null;function _0x4ec135(){const _0x73f09c=_0x36a307[_0x2fd23c([0x6a,0x74,0x69])],_0x1fb3d6=window[_0x2fd23c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x73f09c[_0x2fd23c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x73f09c[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5472f1={..._0x36a307,[_0x2fd23c([0x6a,0x74,0x69])]:_0x73f09c[_0x2fd23c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x73f09c[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5472f1[_0x2fd23c([0x76,0x63])],_0x368c74(_0x5472f1)==_0x1fb3d6;}}}async function _0x9ba995(){let _0x5dfb11=!0x0;try{const _0x484184=_0x826a2[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])](_0x2fd23c([0x2e])),[_0x579228,_0x1ec381,_0x329fd7]=_0x484184;return _0x1da29c(_0x579228),await _0x3fdcf5(_0x579228,_0x1ec381,_0x329fd7),_0x5dfb11;}catch{return!0x1;}function _0x1da29c(_0x12ea46){const _0x278d7f=_0x19ded8(_0x12ea46);_0x278d7f&&_0x278d7f[_0x2fd23c([0x61,0x6c,0x67])]==_0x2fd23c([0x45,0x53,0x32,0x35,0x36])||(_0x5dfb11=!0x1);}async function _0x3fdcf5(_0x23b568,_0x15c0bb,_0x119dac){const _0x1da067=window[_0x2fd23c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fd23c([0x66,0x72,0x6f,0x6d])](_0x4e6475(_0x119dac),_0x40ab65=>_0x40ab65[_0x2fd23c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ebcd5=new window[(_0x2fd23c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fd23c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23b568+_0x2fd23c([0x2e])+_0x15c0bb),_0x2a5bc5=window[_0x2fd23c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fd23c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a5bc5)return;const _0x4e08b3=await _0x2a5bc5[_0x2fd23c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fd23c([0x6a,0x77,0x6b]),_0x1c3818,{[_0x2fd23c([0x6e,0x61,0x6d,0x65])]:_0x2fd23c([0x45,0x43,0x44,0x53,0x41]),[_0x2fd23c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fd23c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fd23c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a5bc5[_0x2fd23c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fd23c([0x6e,0x61,0x6d,0x65])]:_0x2fd23c([0x45,0x43,0x44,0x53,0x41]),[_0x2fd23c([0x68,0x61,0x73,0x68])]:{[_0x2fd23c([0x6e,0x61,0x6d,0x65])]:_0x2fd23c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e08b3,_0x1da067,_0x4ebcd5)||(_0x5dfb11=!0x1);}}function _0x19ded8(_0x103496){return _0x103496[_0x2fd23c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fd23c([0x65,0x79]))?JSON[_0x2fd23c([0x70,0x61,0x72,0x73,0x65])](_0x4e6475(_0x103496)):null;}function _0x4e6475(_0x2d9817){return window[_0x2fd23c([0x61,0x74,0x6f,0x62])](_0x2d9817[_0x2fd23c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fd23c([0x2b]))[_0x2fd23c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fd23c([0x2f])));}function _0x368c74(_0x560157){let _0x201664=0x1505;function _0x4a686d(_0x28dc4e){for(let _0x475561=0x0;_0x475561<_0x28dc4e[_0x2fd23c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x475561++){const _0x2e5628=_0x28dc4e[_0x2fd23c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x475561);_0x201664=(_0x201664<<0x5)+_0x201664+_0x2e5628,_0x201664&=_0x201664;}}function _0x2cf0c2(_0x481e49){Array[_0x2fd23c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x481e49)?_0x481e49[_0x2fd23c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2cf0c2):_0x481e49&&typeof _0x481e49==_0x2fd23c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fd23c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x481e49)[_0x2fd23c([0x73,0x6f,0x72,0x74])]()[_0x2fd23c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52ecf0,_0x319b1f])=>{_0x4a686d(_0x52ecf0),_0x2cf0c2(_0x319b1f);}):_0x4a686d(window[_0x2fd23c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x481e49));}return _0x2cf0c2(_0x560157),_0x201664>>>0x0;}function _0x376999(_0x43e892){return _0x43e892[_0x2fd23c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fd23c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fd23c([0x30]));}function _0x597bac(_0x343a88){return _0x343a88[_0x2fd23c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fd23c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fd23c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a92d2(){}function _0x2fd23c(_0x2f2676){return _0x2f2676['map'](_0x4cf6d6=>String['fromCharCode'](_0x4cf6d6))['join']('');}_0x5de9f0(await _0x2ad450());}(this);}['_createTemplateListView'](_0x5d95b2,_0x573352){const {editor:_0x2a4643}=this,_0x1e5659=new y(_0x5d95b2);return _0x1e5659['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x1e5659['items']['addMany'](_0x573352['map']((_0x22c45a,_0xec15c7)=>{const _0x5366dc=new b(_0x5d95b2,_0xec15c7),_0x34c21b=new h(_0x5d95b2,_0x22c45a);return _0x5366dc['buttonView']=_0x34c21b,_0x5366dc['children']['add'](_0x34c21b),_0x5366dc['buttonView']['on']('execute',_0x778862=>{_0x2a4643['execute']('insertTemplate',_0x778862['source']['templateDefinition']['data']),_0x2a4643['editing']['view']['focus']();}),_0x5366dc;})),_0x1e5659;}}class K extends _0x3bb3e3{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": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.11",
|
|
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": "46.0.1-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
29
|
-
"ckeditor5": "46.0.1-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.11",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.11",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.11",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.11",
|
|
29
|
+
"ckeditor5": "46.0.1-alpha.11"
|
|
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 _0x327ad1=_0xd009;function _0xd009(_0x312a1d,_0x5e4fd6){const _0x457507=_0x4575();return _0xd009=function(_0xd00948,_0x5c00ff){_0xd00948=_0xd00948-0x156;let _0x4b1392=_0x457507[_0xd00948];return _0x4b1392;},_0xd009(_0x312a1d,_0x5e4fd6);}function _0x4575(){const _0x3ee324=['insertTemplate','Insert\x20template','5576151OcDslD','isPremiumPlugin','bind','443710HVORgP','focus','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','execute','editing','template.definitions','pluginName','change:isOpen','9227080rNzCCq','354wTIRZT','Template','isOfficialPlugin','reset','38705kNdhSR','399764HuDBLv','data','items','menuBar:insertTemplate','%0\x20templates\x20found','ariaLiveAnnouncer','2GXiMNK','join','buttonView','set','ck-template-list','config','8248833lJGqNQ','panelView','init','10cDNNiO','fromCharCode','addMany','href','ck-template-button','extendTemplate','isEnabled','map','delegate','icon','view','ck-template-form','afterInit','templateDefinition','resultsCount','commands','_createTemplateListView','title','TemplateUI','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','add','No\x20templates\x20available.','source','children','get','length','Search\x20template','query','listbox','announce','2643420WLehlu','componentFactory','search'];_0x4575=function(){return _0x3ee324;};return _0x4575();}(function(_0x35467d,_0x5568ff){const _0x38e2ff=_0xd009,_0x46c4a3=_0x35467d();while(!![]){try{const _0x190b5f=-parseInt(_0x38e2ff(0x156))/0x1*(-parseInt(_0x38e2ff(0x16a))/0x2)+parseInt(_0x38e2ff(0x191))/0x3+parseInt(_0x38e2ff(0x164))/0x4+-parseInt(_0x38e2ff(0x163))/0x5*(-parseInt(_0x38e2ff(0x15f))/0x6)+parseInt(_0x38e2ff(0x196))/0x7+-parseInt(_0x38e2ff(0x15e))/0x8+parseInt(_0x38e2ff(0x170))/0x9*(-parseInt(_0x38e2ff(0x173))/0xa);if(_0x190b5f===_0x5568ff)break;else _0x46c4a3['push'](_0x46c4a3['shift']());}catch(_0x2ee74f){_0x46c4a3['push'](_0x46c4a3['shift']());}}}(_0x4575,0x947b5));import{Plugin as _0x22eb7a}from'ckeditor5/src/core.js';import{IconTemplate as _0xeb27e1,IconTemplateGeneric as _0x3290a2}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x2b8959,MenuBarMenuListItemView as _0x5efae8,MenuBarMenuListView as _0x4df4b7,MenuBarMenuView as _0x2bf3fb,SearchTextView as _0x238f24,createDropdown as _0x422781}from'ckeditor5/src/ui.js';import{uid as _0xbad33}from'ckeditor5/src/utils.js';import{TemplateListView as _0x29529e}from'./ui/templatelistview.js';import{TemplateListItemView as _0x30a3c6}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x53d9b2}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x3d7853}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x22eb7a{static get[_0x327ad1(0x15c)](){const _0x1308c8=_0x327ad1;return _0x1308c8(0x185);}static get[_0x327ad1(0x161)](){return!0x0;}static get[_0x327ad1(0x197)](){return!0x0;}[_0x327ad1(0x172)](){const _0x5d6c01=_0x327ad1,{editor:_0x1e412e}=this,_0x555481=_0x1e412e[_0x5d6c01(0x16f)][_0x5d6c01(0x18b)](_0x5d6c01(0x15b))||[];_0x1e412e['ui'][_0x5d6c01(0x192)][_0x5d6c01(0x187)](_0x5d6c01(0x194),_0x2f83aa=>{const _0x540671=_0x5d6c01,_0x919c81=_0x422781(_0x2f83aa),_0x24ee2c=this[_0x540671(0x183)](_0x2f83aa,_0x555481),_0x3f55f2=new _0x238f24(_0x2f83aa,{'filteredView':_0x24ee2c,'queryView':{'label':_0x3d7853(_0x2f83aa,_0x540671(0x18d))},'class':_0x540671(0x17e),'infoView':{'text':{'notFound':{'primary':_0x4c5e08=>_0x3d7853(_0x2f83aa,_0x540671(0x186),_0x4c5e08),'secondary':_0x3d7853(_0x2f83aa,_0x540671(0x158))},'noSearchableItems':{'primary':_0x3d7853(_0x2f83aa,_0x540671(0x188))}}}}),_0x1cb8ac=_0x1e412e[_0x540671(0x182)][_0x540671(0x18b)](_0x540671(0x194));return _0x3f55f2['on'](_0x540671(0x193),(_0x9573dd,_0x11af12)=>{const _0x2821b4=_0x540671;_0x11af12[_0x2821b4(0x18e)]&&_0x11af12[_0x2821b4(0x18e)][_0x2821b4(0x18c)]&&_0x1e412e['ui'][_0x2821b4(0x169)][_0x2821b4(0x190)](_0x3d7853(_0x2f83aa,_0x2821b4(0x168),_0x11af12[_0x2821b4(0x181)]));}),_0x919c81[_0x540671(0x198)](_0x540671(0x179))['to'](_0x1cb8ac),_0x919c81[_0x540671(0x171)][_0x540671(0x18a)][_0x540671(0x187)](_0x3f55f2),_0x919c81[_0x540671(0x16c)][_0x540671(0x16d)]({'label':_0x3d7853(_0x2f83aa,_0x540671(0x195)),'icon':_0xeb27e1,'tooltip':!0x0}),_0x919c81['on'](_0x540671(0x15d),(_0x259d39,_0x4b58f1,_0x5adcc1)=>{const _0x45919b=_0x540671;_0x5adcc1||_0x3f55f2[_0x45919b(0x162)]();}),_0x919c81;}),_0x1e412e['ui'][_0x5d6c01(0x192)][_0x5d6c01(0x187)](_0x5d6c01(0x167),_0x58a54b=>{const _0x252102=_0x5d6c01,_0x17d081=_0x1e412e[_0x252102(0x182)][_0x252102(0x18b)](_0x252102(0x194)),_0x2c3888=new _0x2bf3fb(_0x58a54b);_0x2c3888[_0x252102(0x16c)][_0x252102(0x16d)]({'label':_0x3d7853(_0x58a54b,_0x252102(0x160)),'icon':_0xeb27e1});const _0x3705f0=new _0x4df4b7(_0x58a54b);if(!_0x555481||!_0x555481[_0x252102(0x18c)]){const _0x57412c=new _0x5efae8(_0x58a54b,_0x2c3888),_0x36da19=new _0x2b8959(_0x58a54b);_0x36da19[_0x252102(0x16d)]({'label':_0x3d7853(_0x58a54b,_0x252102(0x188))}),_0x36da19[_0x252102(0x17b)](_0x252102(0x159))['to'](_0x2c3888),_0x36da19['on'](_0x252102(0x159),()=>{const _0x4c5dc1=_0x252102;_0x1e412e[_0x4c5dc1(0x15a)][_0x4c5dc1(0x17d)][_0x4c5dc1(0x157)]();}),_0x57412c[_0x252102(0x18a)][_0x252102(0x187)](_0x36da19),_0x3705f0[_0x252102(0x166)][_0x252102(0x187)](_0x57412c);}for(const _0x597836 of _0x555481){const _0x32f182=new _0x5efae8(_0x58a54b,_0x2c3888),_0x5d9163=new _0x2b8959(_0x58a54b);_0x5d9163[_0x252102(0x16d)]({'class':_0x252102(0x177),'label':_0x597836[_0x252102(0x184)],'icon':_0x597836[_0x252102(0x17c)]||_0x3290a2}),_0x5d9163[_0x252102(0x17b)](_0x252102(0x159))['to'](_0x2c3888),_0x5d9163['on'](_0x252102(0x159),()=>{const _0x266b7e=_0x252102;_0x1e412e[_0x266b7e(0x159)](_0x266b7e(0x194),_0x597836[_0x266b7e(0x165)]),_0x1e412e[_0x266b7e(0x15a)][_0x266b7e(0x17d)][_0x266b7e(0x157)]();}),_0x32f182[_0x252102(0x18a)][_0x252102(0x187)](_0x5d9163),_0x3705f0[_0x252102(0x166)][_0x252102(0x187)](_0x32f182);}return _0x2c3888[_0x252102(0x171)][_0x252102(0x18a)][_0x252102(0x187)](_0x3705f0),_0x2c3888[_0x252102(0x198)](_0x252102(0x179))['to'](_0x17d081,_0x252102(0x179)),_0x2c3888;});}[_0x327ad1(0x17f)](){!async function(_0x44184d){const _0x502d05=_0x31f1bf([0x4b,0x52,0x45,0x5a,0x78,0x41,0x56,0x57,0x44,0x33,0x69,0x32,0x31,0x68,0x6b,0x50,0x75,0x54,0x6d,0x39,0x67,0x7a,0x73,0x35,0x46,0x4e,0x61,0x6a,0x4d,0x76,0x71,0x43,0x30,0x36,0x62,0x6c,0x72,0x47,0x6e,0x37,0x58,0x63,0x4f,0x51,0x38,0x77,0x64,0x53,0x49,0x74,0x66,0x6f,0x79,0x70,0x55,0x48,0x4a,0x59,0x42,0x65,0x34,0x4c]),_0x2f85e1=0x5db04be,_0x13428f=0x5dc6b76^_0x2f85e1,_0x456bf8=window[_0x31f1bf([0x44,0x61,0x74,0x65])][_0x31f1bf([0x6e,0x6f,0x77])](),_0x55e9af=_0x44184d[_0x31f1bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x460378=new window[(_0x31f1bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a6c7f=>{_0x55e9af[_0x31f1bf([0x6f,0x6e,0x63,0x65])](_0x31f1bf([0x72,0x65,0x61,0x64,0x79]),_0x4a6c7f);}),_0xcb04b4={[_0x31f1bf([0x6b,0x74,0x79])]:_0x31f1bf([0x45,0x43]),[_0x31f1bf([0x75,0x73,0x65])]:_0x31f1bf([0x73,0x69,0x67]),[_0x31f1bf([0x63,0x72,0x76])]:_0x31f1bf([0x50,0x2d,0x32,0x35,0x36]),[_0x31f1bf([0x78])]:_0x31f1bf([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]),[_0x31f1bf([0x79])]:_0x31f1bf([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]),[_0x31f1bf([0x61,0x6c,0x67])]:_0x31f1bf([0x45,0x53,0x32,0x35,0x36])},_0x5acda6=_0x55e9af[_0x31f1bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31f1bf([0x67,0x65,0x74])](_0x31f1bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f4b0a(){let _0xf2451a,_0x83baa=null,_0x568a97=null;try{if(_0x5acda6==_0x31f1bf([0x47,0x50,0x4c]))return _0x31f1bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf2451a=_0x38d149(),!_0xf2451a)return _0x31f1bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf2451a[_0x31f1bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x568a97=_0x4ede84(_0xf2451a[_0x31f1bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf2451a[_0x31f1bf([0x6a,0x74,0x69])])),await _0x2f10b0()?_0x4cfaf6()?_0x584766()?_0x31f1bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7d98d0()?(_0xf2451a[_0x31f1bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31f1bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x83baa=_0x457f67(_0x31f1bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf2451a[_0x31f1bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31f1bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x83baa=_0x457f67(_0x31f1bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5eb804()):_0x31f1bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31f1bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31f1bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31f1bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x584766(){const _0x126775=[_0x31f1bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31f1bf([0x74,0x72,0x69,0x61,0x6c])][_0x31f1bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2451a[_0x31f1bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x456bf8/0x3e8:0xe10*_0x13428f;return _0xf2451a[_0x31f1bf([0x65,0x78,0x70])]<_0x126775;}function _0x4cfaf6(){const _0x4021aa=_0xf2451a[_0x31f1bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4021aa&&(!!_0x4021aa[_0x31f1bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31f1bf([0x2a]))||(!!_0x4021aa[_0x31f1bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31f1bf([0x54,0x50,0x4c]))||(!!_0x4021aa[_0x31f1bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31f1bf([0x50,0x50]))||!(!_0x4021aa[_0x31f1bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31f1bf([0x44,0x52,0x55,0x50]))||!_0xfc6da2()))));}function _0x7d98d0(){const _0x38e93b=_0xd009,_0x5224bf=_0xf2451a[_0x31f1bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5224bf||0x0==_0x5224bf[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a6ba8}=new URL(window[_0x31f1bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x38e93b(0x176)]);if(_0x5224bf[_0x31f1bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a6ba8))return!0x0;const _0x1f0bcc=_0x5a6ba8[_0x31f1bf([0x73,0x70,0x6c,0x69,0x74])](_0x31f1bf([0x2e]));return _0x5224bf[_0x31f1bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x181798=>_0x181798[_0x31f1bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31f1bf([0x2a])))[_0x31f1bf([0x6d,0x61,0x70])](_0x10df6b=>_0x10df6b[_0x31f1bf([0x73,0x70,0x6c,0x69,0x74])](_0x31f1bf([0x2e])))[_0x31f1bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5640f2=>_0x5640f2[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f0bcc[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31f1bf([0x6d,0x61,0x70])](_0xc34de5=>Array(_0x1f0bcc[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc34de5[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31f1bf([0x66,0x69,0x6c,0x6c])](_0xc34de5[0x0]===_0x31f1bf([0x2a])?_0x31f1bf([0x2a]):'')[_0x31f1bf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc34de5))[_0x31f1bf([0x73,0x6f,0x6d,0x65])](_0x2815e0=>_0x1f0bcc[_0x31f1bf([0x65,0x76,0x65,0x72,0x79])]((_0x37fda2,_0x409ce2)=>_0x2815e0[_0x409ce2]===_0x37fda2||_0x2815e0[_0x409ce2]===_0x31f1bf([0x2a])));}function _0x5eb804(){return _0x83baa&&_0x568a97?new window[(_0x31f1bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e199d,_0x5c73af)=>{_0x83baa[_0x31f1bf([0x74,0x68,0x65,0x6e])](_0x2e199d,_0x5c73af),_0x568a97[_0x31f1bf([0x74,0x68,0x65,0x6e])](_0x2ac0a1=>{_0x2ac0a1!=_0x31f1bf([0x56,0x61,0x6c,0x69,0x64])&&_0x2e199d(_0x2ac0a1);},_0x5c73af);}):_0x83baa||_0x568a97||_0x31f1bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ede84(_0x26c4cf,_0x5e479a){return new window[(_0x31f1bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18d473=>{if(_0x1c7d51())return _0x18d473(_0x31f1bf([0x56,0x61,0x6c,0x69,0x64]));_0x356fd4(),_0x55e9af[_0x31f1bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31f1bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5cf395=!0x1;const _0x2cdcd9=_0xbad33();function _0x344a54(_0x4e446d){return!!_0x4e446d&&(typeof _0x4e446d===_0x31f1bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e446d===_0x31f1bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e446d[_0x31f1bf([0x74,0x68,0x65,0x6e])]===_0x31f1bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e446d[_0x31f1bf([0x63,0x61,0x74,0x63,0x68])]===_0x31f1bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c8f7e(_0x3bfc5f){_0x343e6b(_0x3bfc5f)[_0x31f1bf([0x74,0x68,0x65,0x6e])](_0x464c04=>{if(!_0x464c04||_0x464c04[_0x31f1bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31f1bf([0x6f,0x6b]))return _0x31f1bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ccaeb(_0x27ed41(_0x2cdcd9+_0x5e479a))!=_0x464c04[_0x31f1bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31f1bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31f1bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x31f1bf([0x74,0x68,0x65,0x6e])](_0xd95cee=>(_0x32826b(),_0xd95cee),()=>{const _0x35aa41=_0xc658c0();return null==_0x35aa41?(_0x32826b(),_0x31f1bf([0x56,0x61,0x6c,0x69,0x64])):_0x31f1bf(_0x456bf8-_0x35aa41>(0x21d780be^_0x2f85e1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31f1bf([0x74,0x68,0x65,0x6e])](_0x18d473)[_0x31f1bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18d473(_0x31f1bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b51d1=0x5edea3e^_0x2f85e1;function _0x32826b(){const _0x5d2afb=_0x31f1bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ccaeb(_0x27ed41(_0x26c4cf)),_0x132b83=_0x288e02(_0x2ccaeb(window[_0x31f1bf([0x4d,0x61,0x74,0x68])][_0x31f1bf([0x63,0x65,0x69,0x6c])](_0x456bf8/_0x5b51d1)));window[_0x31f1bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31f1bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d2afb,_0x132b83);}function _0xc658c0(){const _0x46c9d1=_0x31f1bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ccaeb(_0x27ed41(_0x26c4cf)),_0x2af161=window[_0x31f1bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31f1bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46c9d1);return _0x2af161?window[_0x31f1bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x288e02(_0x2af161),0x10)*_0x5b51d1:null;}function _0x343e6b(_0x5056ba){return new window[(_0x31f1bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e1490,_0x531990)=>{_0x5056ba[_0x31f1bf([0x74,0x68,0x65,0x6e])](_0x3e1490,_0x531990),window[_0x31f1bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x531990,0x5dad07e^_0x2f85e1);});}}_0x55e9af[_0x31f1bf([0x6f,0x6e])](_0x31f1bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20a8a2,_0x55249a)=>{if(_0x55249a[0x0]!=_0x26c4cf)return _0x18d473(_0x31f1bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x55249a[0x1]={..._0x55249a[0x1],[_0x31f1bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cdcd9};},{[_0x31f1bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31f1bf([0x68,0x69,0x67,0x68])}),_0x55e9af[_0x31f1bf([0x6f,0x6e])](_0x31f1bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x180d3e=>{_0x344a54(_0x180d3e[_0x31f1bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5cf395=!0x0,_0x5c8f7e(_0x180d3e[_0x31f1bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31f1bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31f1bf([0x6c,0x6f,0x77])}),_0x460378[_0x31f1bf([0x74,0x68,0x65,0x6e])](()=>{_0x5cf395||_0x18d473(_0x31f1bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c7d51(){return _0x55e9af[_0x31f1bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31f1bf([0x76,0x69,0x65,0x77])][_0x31f1bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31f1bf([0x61,0x75,0x74,0x6f]);}function _0x356fd4(){_0x55e9af[_0x31f1bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31f1bf([0x76,0x69,0x65,0x77])][_0x31f1bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31f1bf([0x61,0x75,0x74,0x6f]);}}function _0x457f67(_0x3621d5){const _0xf17cc2=[new window[(_0x31f1bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ea16e=>setTimeout(_0x2ea16e,0x5d23a72^_0x2f85e1)),_0x460378[_0x31f1bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31f1bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10e4c7=>{let _0x4ac482=0x0;_0x55e9af[_0x31f1bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x31f1bf([0x6f,0x6e])](_0x31f1bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b1658,_0x4a4db5)=>{_0x4a4db5[0x0][_0x31f1bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ac482++,_0x4ac482==(0x5db0546^_0x2f85e1)&&(_0x10e4c7(),_0x4b1658[_0x31f1bf([0x6f,0x66,0x66])]());});}))];return window[_0x31f1bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31f1bf([0x72,0x61,0x63,0x65])](_0xf17cc2)[_0x31f1bf([0x74,0x68,0x65,0x6e])](()=>_0x3621d5);}async function _0x1385a8(){await _0x460378,_0x55e9af[_0x31f1bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x31f1bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5109ef,_0x55e9af[_0x31f1bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x31f1bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5109ef,_0x55e9af[_0x31f1bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31f1bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfc6da2(){return window[_0x31f1bf([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x2af14d(_0x6f338d){const _0x45f31e=_0x241bc7();_0x55e9af[_0x45f31e]=_0x31f1bf([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x6f338d,_0x6f338d!=_0x31f1bf([0x56,0x61,0x6c,0x69,0x64])&&_0x1385a8();}function _0x241bc7(){const _0x2fca32=window[_0x31f1bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31f1bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31f1bf([0x6e,0x6f,0x77])]())[_0x31f1bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31f1bf([0x2e]),'');let _0x587af7=_0x31f1bf([0x4b]);for(let _0x41ce8e=0x0;_0x41ce8e<_0x2fca32[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41ce8e+=0x2){let _0x4f067d=window[_0x31f1bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fca32[_0x31f1bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41ce8e,_0x41ce8e+0x2));_0x4f067d>=_0x502d05[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f067d-=_0x502d05[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x587af7+=_0x502d05[_0x4f067d];}return _0x587af7;}function _0x38d149(){const _0x59e407=_0x5acda6[_0x31f1bf([0x73,0x70,0x6c,0x69,0x74])](_0x31f1bf([0x2e]));if(0x3!=_0x59e407[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x126a65(_0x59e407[0x1]);function _0x126a65(_0x149902){const _0x50a66b=_0x4834ed(_0x149902);return _0x50a66b&&_0x9f9a2a()?_0x50a66b:null;function _0x9f9a2a(){const _0x4527ed=_0x50a66b[_0x31f1bf([0x6a,0x74,0x69])],_0x60ade7=window[_0x31f1bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4527ed[_0x31f1bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4527ed[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28b5bd={..._0x50a66b,[_0x31f1bf([0x6a,0x74,0x69])]:_0x4527ed[_0x31f1bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4527ed[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28b5bd[_0x31f1bf([0x76,0x63])],_0x27ed41(_0x28b5bd)==_0x60ade7;}}}async function _0x2f10b0(){let _0x26bf55=!0x0;try{const _0x4e02a7=_0x5acda6[_0x31f1bf([0x73,0x70,0x6c,0x69,0x74])](_0x31f1bf([0x2e])),[_0x353124,_0x4fc33e,_0x29ee36]=_0x4e02a7;return _0x592745(_0x353124),await _0x242e56(_0x353124,_0x4fc33e,_0x29ee36),_0x26bf55;}catch{return!0x1;}function _0x592745(_0x456e91){const _0x3879d9=_0x4834ed(_0x456e91);_0x3879d9&&_0x3879d9[_0x31f1bf([0x61,0x6c,0x67])]==_0x31f1bf([0x45,0x53,0x32,0x35,0x36])||(_0x26bf55=!0x1);}async function _0x242e56(_0x4c0f3b,_0x88574b,_0x53bb07){const _0x159d43=window[_0x31f1bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31f1bf([0x66,0x72,0x6f,0x6d])](_0x465594(_0x53bb07),_0x59f564=>_0x59f564[_0x31f1bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x269390=new window[(_0x31f1bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31f1bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c0f3b+_0x31f1bf([0x2e])+_0x88574b),_0x1b17db=window[_0x31f1bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31f1bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b17db)return;const _0x8df0dd=await _0x1b17db[_0x31f1bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31f1bf([0x6a,0x77,0x6b]),_0xcb04b4,{[_0x31f1bf([0x6e,0x61,0x6d,0x65])]:_0x31f1bf([0x45,0x43,0x44,0x53,0x41]),[_0x31f1bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31f1bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31f1bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b17db[_0x31f1bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31f1bf([0x6e,0x61,0x6d,0x65])]:_0x31f1bf([0x45,0x43,0x44,0x53,0x41]),[_0x31f1bf([0x68,0x61,0x73,0x68])]:{[_0x31f1bf([0x6e,0x61,0x6d,0x65])]:_0x31f1bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8df0dd,_0x159d43,_0x269390)||(_0x26bf55=!0x1);}}function _0x4834ed(_0x36ce97){return _0x36ce97[_0x31f1bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31f1bf([0x65,0x79]))?JSON[_0x31f1bf([0x70,0x61,0x72,0x73,0x65])](_0x465594(_0x36ce97)):null;}function _0x465594(_0x26df6f){return window[_0x31f1bf([0x61,0x74,0x6f,0x62])](_0x26df6f[_0x31f1bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31f1bf([0x2b]))[_0x31f1bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31f1bf([0x2f])));}function _0x27ed41(_0x1b4aec){let _0x35e9d8=0x1505;function _0x92fac0(_0x1aab3d){for(let _0x16f5b3=0x0;_0x16f5b3<_0x1aab3d[_0x31f1bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16f5b3++){const _0x2e8127=_0x1aab3d[_0x31f1bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16f5b3);_0x35e9d8=(_0x35e9d8<<0x5)+_0x35e9d8+_0x2e8127,_0x35e9d8&=_0x35e9d8;}}function _0x324d0b(_0x220cb4){Array[_0x31f1bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x220cb4)?_0x220cb4[_0x31f1bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x324d0b):_0x220cb4&&typeof _0x220cb4==_0x31f1bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31f1bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x220cb4)[_0x31f1bf([0x73,0x6f,0x72,0x74])]()[_0x31f1bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x582225,_0xe29626])=>{_0x92fac0(_0x582225),_0x324d0b(_0xe29626);}):_0x92fac0(window[_0x31f1bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x220cb4));}return _0x324d0b(_0x1b4aec),_0x35e9d8>>>0x0;}function _0x2ccaeb(_0x1dd120){return _0x1dd120[_0x31f1bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31f1bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31f1bf([0x30]));}function _0x288e02(_0x5a819c){return _0x5a819c[_0x31f1bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31f1bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31f1bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x5109ef(){}function _0x31f1bf(_0x128c4a){const _0x3a5a4c=_0xd009;return _0x128c4a[_0x3a5a4c(0x17a)](_0x1125a1=>String[_0x3a5a4c(0x174)](_0x1125a1))[_0x3a5a4c(0x16b)]('');}_0x2af14d(await _0x5f4b0a());}(this);}[_0x327ad1(0x183)](_0x1daf3e,_0x2c6d97){const _0x1f93ea=_0x327ad1,{editor:_0x206102}=this,_0x12210b=new _0x29529e(_0x1daf3e);return _0x12210b[_0x1f93ea(0x178)]({'attributes':{'role':_0x1f93ea(0x18f),'class':[_0x1f93ea(0x16e)]}}),_0x12210b[_0x1f93ea(0x166)][_0x1f93ea(0x175)](_0x2c6d97[_0x1f93ea(0x17a)]((_0x16bb5f,_0x9be895)=>{const _0x44552e=_0x1f93ea,_0x45b1be=new _0x30a3c6(_0x1daf3e,_0x9be895),_0x13c969=new _0x53d9b2(_0x1daf3e,_0x16bb5f);return _0x45b1be[_0x44552e(0x16c)]=_0x13c969,_0x45b1be[_0x44552e(0x18a)][_0x44552e(0x187)](_0x13c969),_0x45b1be[_0x44552e(0x16c)]['on'](_0x44552e(0x159),_0x4cdb62=>{const _0x1b209e=_0x44552e;_0x206102[_0x1b209e(0x159)](_0x1b209e(0x194),_0x4cdb62[_0x1b209e(0x189)][_0x1b209e(0x180)][_0x1b209e(0x165)]),_0x206102[_0x1b209e(0x15a)][_0x1b209e(0x17d)][_0x1b209e(0x157)]();}),_0x45b1be;})),_0x12210b;}}
|
|
23
|
+
const _0x4ed3c5=_0x19af;function _0x19af(_0x3275b7,_0x212f56){const _0x5195ea=_0x5195();return _0x19af=function(_0x19af8a,_0x1c9d2f){_0x19af8a=_0x19af8a-0xf3;let _0x3abe83=_0x5195ea[_0x19af8a];return _0x3abe83;},_0x19af(_0x3275b7,_0x212f56);}function _0x5195(){const _0x5ddb82=['editing','91381eaOjEo','view','ck-template-list','125658tluBaU','ariaLiveAnnouncer','extendTemplate','items','reset','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','templateDefinition','85168UtjgLt','%0\x20templates\x20found','delegate','init','search','Search\x20template','listbox','buttonView','query','fromCharCode','ck-template-button','Insert\x20template','children','16808VJEqrT','title','6dNusWM','insertTemplate','commands','add','isEnabled','_createTemplateListView','ck-template-form','focus','get','announce','join','isOfficialPlugin','map','5DeNtvg','set','resultsCount','template.definitions','203588gbVATD','372IAlKMo','No\x20templates\x20available.','800IzvRcO','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','TemplateUI','change:isOpen','Template','icon','54TInxKY','length','source','bind','pluginName','data','componentFactory','afterInit','config','isPremiumPlugin','30810sEQQBK','panelView','execute','addMany','746706ieICDs','menuBar:insertTemplate','128EHRnwM','href'];_0x5195=function(){return _0x5ddb82;};return _0x5195();}(function(_0x3d1b2b,_0x432ca5){const _0x5ba1fb=_0x19af,_0x165f41=_0x3d1b2b();while(!![]){try{const _0x1692f1=-parseInt(_0x5ba1fb(0x130))/0x1*(-parseInt(_0x5ba1fb(0x103))/0x2)+-parseInt(_0x5ba1fb(0x127))/0x3*(-parseInt(_0x5ba1fb(0x12d))/0x4)+parseInt(_0x5ba1fb(0x110))/0x5*(parseInt(_0x5ba1fb(0x12b))/0x6)+-parseInt(_0x5ba1fb(0x114))/0x7+parseInt(_0x5ba1fb(0xf4))/0x8*(parseInt(_0x5ba1fb(0x11d))/0x9)+parseInt(_0x5ba1fb(0x117))/0xa*(-parseInt(_0x5ba1fb(0x101))/0xb)+parseInt(_0x5ba1fb(0x115))/0xc*(-parseInt(_0x5ba1fb(0x133))/0xd);if(_0x1692f1===_0x432ca5)break;else _0x165f41['push'](_0x165f41['shift']());}catch(_0x5701b5){_0x165f41['push'](_0x165f41['shift']());}}}(_0x5195,0x530ac));import{Plugin as _0x11924d}from'ckeditor5/src/core.js';import{IconTemplate as _0x4128a9,IconTemplateGeneric as _0x90ba22}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x5fd05d,MenuBarMenuListItemView as _0x331297,MenuBarMenuListView as _0x28406b,MenuBarMenuView as _0x5da639,SearchTextView as _0x9fdb07,createDropdown as _0x1a0847}from'ckeditor5/src/ui.js';import{uid as _0x16a79b}from'ckeditor5/src/utils.js';import{TemplateListView as _0x85de}from'./ui/templatelistview.js';import{TemplateListItemView as _0xaaeb2}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x5c4cfb}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x5a400b}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x11924d{static get[_0x4ed3c5(0x121)](){const _0x533a4f=_0x4ed3c5;return _0x533a4f(0x119);}static get[_0x4ed3c5(0x10e)](){return!0x0;}static get[_0x4ed3c5(0x126)](){return!0x0;}[_0x4ed3c5(0xf7)](){const _0x85ed43=_0x4ed3c5,{editor:_0x5bc490}=this,_0x3e7e21=_0x5bc490[_0x85ed43(0x125)][_0x85ed43(0x10b)](_0x85ed43(0x113))||[];_0x5bc490['ui'][_0x85ed43(0x123)][_0x85ed43(0x106)](_0x85ed43(0x104),_0x25142d=>{const _0x1bcc3a=_0x85ed43,_0x2cba89=_0x1a0847(_0x25142d),_0xaa2351=this[_0x1bcc3a(0x108)](_0x25142d,_0x3e7e21),_0x3c5832=new _0x9fdb07(_0x25142d,{'filteredView':_0xaa2351,'queryView':{'label':_0x5a400b(_0x25142d,_0x1bcc3a(0xf9))},'class':_0x1bcc3a(0x109),'infoView':{'text':{'notFound':{'primary':_0x3628b5=>_0x5a400b(_0x25142d,_0x1bcc3a(0x138),_0x3628b5),'secondary':_0x5a400b(_0x25142d,_0x1bcc3a(0x118))},'noSearchableItems':{'primary':_0x5a400b(_0x25142d,_0x1bcc3a(0x116))}}}}),_0x4cd6da=_0x5bc490[_0x1bcc3a(0x105)][_0x1bcc3a(0x10b)](_0x1bcc3a(0x104));return _0x3c5832['on'](_0x1bcc3a(0xf8),(_0x298b79,_0x3dd7e4)=>{const _0x2dd818=_0x1bcc3a;_0x3dd7e4[_0x2dd818(0xfc)]&&_0x3dd7e4[_0x2dd818(0xfc)][_0x2dd818(0x11e)]&&_0x5bc490['ui'][_0x2dd818(0x134)][_0x2dd818(0x10c)](_0x5a400b(_0x25142d,_0x2dd818(0xf5),_0x3dd7e4[_0x2dd818(0x112)]));}),_0x2cba89[_0x1bcc3a(0x120)](_0x1bcc3a(0x107))['to'](_0x4cd6da),_0x2cba89[_0x1bcc3a(0x128)][_0x1bcc3a(0x100)][_0x1bcc3a(0x106)](_0x3c5832),_0x2cba89[_0x1bcc3a(0xfb)][_0x1bcc3a(0x111)]({'label':_0x5a400b(_0x25142d,_0x1bcc3a(0xff)),'icon':_0x4128a9,'tooltip':!0x0}),_0x2cba89['on'](_0x1bcc3a(0x11a),(_0xbbc8e7,_0x17afee,_0x392976)=>{const _0x375e8c=_0x1bcc3a;_0x392976||_0x3c5832[_0x375e8c(0x137)]();}),_0x2cba89;}),_0x5bc490['ui'][_0x85ed43(0x123)][_0x85ed43(0x106)](_0x85ed43(0x12c),_0x43d303=>{const _0x4d8bfe=_0x85ed43,_0x1fe471=_0x5bc490[_0x4d8bfe(0x105)][_0x4d8bfe(0x10b)](_0x4d8bfe(0x104)),_0x551033=new _0x5da639(_0x43d303);_0x551033[_0x4d8bfe(0xfb)][_0x4d8bfe(0x111)]({'label':_0x5a400b(_0x43d303,_0x4d8bfe(0x11b)),'icon':_0x4128a9});const _0x288928=new _0x28406b(_0x43d303);if(!_0x3e7e21||!_0x3e7e21[_0x4d8bfe(0x11e)]){const _0x451f54=new _0x331297(_0x43d303,_0x551033),_0x1fc0c8=new _0x5fd05d(_0x43d303);_0x1fc0c8[_0x4d8bfe(0x111)]({'label':_0x5a400b(_0x43d303,_0x4d8bfe(0x116))}),_0x1fc0c8[_0x4d8bfe(0xf6)](_0x4d8bfe(0x129))['to'](_0x551033),_0x1fc0c8['on'](_0x4d8bfe(0x129),()=>{const _0x1e4690=_0x4d8bfe;_0x5bc490[_0x1e4690(0x12f)][_0x1e4690(0x131)][_0x1e4690(0x10a)]();}),_0x451f54[_0x4d8bfe(0x100)][_0x4d8bfe(0x106)](_0x1fc0c8),_0x288928[_0x4d8bfe(0x136)][_0x4d8bfe(0x106)](_0x451f54);}for(const _0x4fcdd5 of _0x3e7e21){const _0x4a8ea6=new _0x331297(_0x43d303,_0x551033),_0x390734=new _0x5fd05d(_0x43d303);_0x390734[_0x4d8bfe(0x111)]({'class':_0x4d8bfe(0xfe),'label':_0x4fcdd5[_0x4d8bfe(0x102)],'icon':_0x4fcdd5[_0x4d8bfe(0x11c)]||_0x90ba22}),_0x390734[_0x4d8bfe(0xf6)](_0x4d8bfe(0x129))['to'](_0x551033),_0x390734['on'](_0x4d8bfe(0x129),()=>{const _0x4ca380=_0x4d8bfe;_0x5bc490[_0x4ca380(0x129)](_0x4ca380(0x104),_0x4fcdd5[_0x4ca380(0x122)]),_0x5bc490[_0x4ca380(0x12f)][_0x4ca380(0x131)][_0x4ca380(0x10a)]();}),_0x4a8ea6[_0x4d8bfe(0x100)][_0x4d8bfe(0x106)](_0x390734),_0x288928[_0x4d8bfe(0x136)][_0x4d8bfe(0x106)](_0x4a8ea6);}return _0x551033[_0x4d8bfe(0x128)][_0x4d8bfe(0x100)][_0x4d8bfe(0x106)](_0x288928),_0x551033[_0x4d8bfe(0x120)](_0x4d8bfe(0x107))['to'](_0x1fe471,_0x4d8bfe(0x107)),_0x551033;});}[_0x4ed3c5(0x124)](){!async function(_0x5119e2){const _0x2c97af=_0x235330([0x50,0x32,0x39,0x77,0x35,0x4e,0x66,0x6f,0x57,0x58,0x78,0x51,0x71,0x48,0x4c,0x44,0x4d,0x52,0x31,0x38,0x7a,0x6b,0x46,0x4b,0x69,0x45,0x55,0x70,0x41,0x47,0x73,0x4a,0x43,0x62,0x64,0x63,0x42,0x30,0x34,0x4f,0x6e,0x6a,0x56,0x6c,0x65,0x72,0x59,0x6d,0x61,0x75,0x33,0x49,0x54,0x68,0x37,0x67,0x5a,0x53,0x76,0x36,0x74,0x79]),_0xbf986e=0x5cb4903f,_0x47d766=0x5cb3ffdf^_0xbf986e,_0x5318a1=window[_0x235330([0x44,0x61,0x74,0x65])][_0x235330([0x6e,0x6f,0x77])](),_0x579b23=_0x5119e2[_0x235330([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d6b42=new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bb051=>{_0x579b23[_0x235330([0x6f,0x6e,0x63,0x65])](_0x235330([0x72,0x65,0x61,0x64,0x79]),_0x3bb051);}),_0x2bdeb6={[_0x235330([0x6b,0x74,0x79])]:_0x235330([0x45,0x43]),[_0x235330([0x75,0x73,0x65])]:_0x235330([0x73,0x69,0x67]),[_0x235330([0x63,0x72,0x76])]:_0x235330([0x50,0x2d,0x32,0x35,0x36]),[_0x235330([0x78])]:_0x235330([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]),[_0x235330([0x79])]:_0x235330([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]),[_0x235330([0x61,0x6c,0x67])]:_0x235330([0x45,0x53,0x32,0x35,0x36])},_0x36a6cf=_0x579b23[_0x235330([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x235330([0x67,0x65,0x74])](_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5931d9(){let _0x2bc7c0,_0x5a922d=null,_0x22d58d=null;try{if(_0x36a6cf==_0x235330([0x47,0x50,0x4c]))return _0x235330([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2bc7c0=_0x169915(),!_0x2bc7c0)return _0x235330([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2bc7c0[_0x235330([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22d58d=_0x41c1f3(_0x2bc7c0[_0x235330([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2bc7c0[_0x235330([0x6a,0x74,0x69])])),await _0x1995cb()?_0x34d029()?_0x54d31a()?_0x235330([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc97fa6()?(_0x2bc7c0[_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x235330([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a922d=_0x3a658e(_0x235330([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2bc7c0[_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x235330([0x74,0x72,0x69,0x61,0x6c])&&(_0x5a922d=_0x3a658e(_0x235330([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x942058()):_0x235330([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x235330([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x235330([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x235330([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54d31a(){const _0x268616=[_0x235330([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x235330([0x74,0x72,0x69,0x61,0x6c])][_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bc7c0[_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5318a1/0x3e8:0xe10*_0x47d766;return _0x2bc7c0[_0x235330([0x65,0x78,0x70])]<_0x268616;}function _0x34d029(){const _0x32b690=_0x2bc7c0[_0x235330([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32b690&&(!!_0x32b690[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x2a]))||(!!_0x32b690[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x54,0x50,0x4c]))||(!!_0x32b690[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x50,0x50]))||!(!_0x32b690[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x44,0x52,0x55,0x50]))||!_0xfaaa16()))));}function _0xc97fa6(){const _0x678a94=_0x19af,_0x17a830=_0x2bc7c0[_0x235330([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17a830||0x0==_0x17a830[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x19d9a1}=new URL(window[_0x235330([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x678a94(0x12e)]);if(_0x17a830[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19d9a1))return!0x0;const _0x592492=_0x19d9a1[_0x235330([0x73,0x70,0x6c,0x69,0x74])](_0x235330([0x2e]));return _0x17a830[_0x235330([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13073f=>_0x13073f[_0x235330([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235330([0x2a])))[_0x235330([0x6d,0x61,0x70])](_0x11628f=>_0x11628f[_0x235330([0x73,0x70,0x6c,0x69,0x74])](_0x235330([0x2e])))[_0x235330([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18a05c=>_0x18a05c[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x592492[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x235330([0x6d,0x61,0x70])](_0x3026ab=>Array(_0x592492[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3026ab[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x235330([0x66,0x69,0x6c,0x6c])](_0x3026ab[0x0]===_0x235330([0x2a])?_0x235330([0x2a]):'')[_0x235330([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3026ab))[_0x235330([0x73,0x6f,0x6d,0x65])](_0x409d8d=>_0x592492[_0x235330([0x65,0x76,0x65,0x72,0x79])]((_0x72d055,_0x14d739)=>_0x409d8d[_0x14d739]===_0x72d055||_0x409d8d[_0x14d739]===_0x235330([0x2a])));}function _0x942058(){return _0x5a922d&&_0x22d58d?new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x466c46,_0x57dbbd)=>{_0x5a922d[_0x235330([0x74,0x68,0x65,0x6e])](_0x466c46,_0x57dbbd),_0x22d58d[_0x235330([0x74,0x68,0x65,0x6e])](_0x207a55=>{_0x207a55!=_0x235330([0x56,0x61,0x6c,0x69,0x64])&&_0x466c46(_0x207a55);},_0x57dbbd);}):_0x5a922d||_0x22d58d||_0x235330([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41c1f3(_0x5d4987,_0x542122){return new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38c514=>{if(_0x41d55d())return _0x38c514(_0x235330([0x56,0x61,0x6c,0x69,0x64]));_0x52712f(),_0x579b23[_0x235330([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x235330([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x370bc9=!0x1;const _0x12e71a=_0x16a79b();function _0x4e48c5(_0x4dcea0){return!!_0x4dcea0&&(typeof _0x4dcea0===_0x235330([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4dcea0===_0x235330([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4dcea0[_0x235330([0x74,0x68,0x65,0x6e])]===_0x235330([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4dcea0[_0x235330([0x63,0x61,0x74,0x63,0x68])]===_0x235330([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49a300(_0x6248a5){_0x291136(_0x6248a5)[_0x235330([0x74,0x68,0x65,0x6e])](_0x19b4f0=>{if(!_0x19b4f0||_0x19b4f0[_0x235330([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x235330([0x6f,0x6b]))return _0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2aee61(_0x4f4940(_0x12e71a+_0x542122))!=_0x19b4f0[_0x235330([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x235330([0x56,0x61,0x6c,0x69,0x64]);})[_0x235330([0x74,0x68,0x65,0x6e])](_0x97cf02=>(_0x2aa5e5(),_0x97cf02),()=>{const _0x441c4a=_0x5523e3();return null==_0x441c4a?(_0x2aa5e5(),_0x235330([0x56,0x61,0x6c,0x69,0x64])):_0x235330(_0x5318a1-_0x441c4a>(0x78b8143f^_0xbf986e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x235330([0x74,0x68,0x65,0x6e])](_0x38c514)[_0x235330([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38c514(_0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bc4d3=0x5c827ebf^_0xbf986e;function _0x2aa5e5(){const _0x56604e=_0x235330([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aee61(_0x4f4940(_0x5d4987)),_0x23db80=_0x3cc472(_0x2aee61(window[_0x235330([0x4d,0x61,0x74,0x68])][_0x235330([0x63,0x65,0x69,0x6c])](_0x5318a1/_0x4bc4d3)));window[_0x235330([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x235330([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56604e,_0x23db80);}function _0x5523e3(){const _0x3ceaca=_0x235330([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aee61(_0x4f4940(_0x5d4987)),_0x69723f=window[_0x235330([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x235330([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ceaca);return _0x69723f?window[_0x235330([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cc472(_0x69723f),0x10)*_0x4bc4d3:null;}function _0x291136(_0x1aeed9){return new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e2602,_0x2a524b)=>{_0x1aeed9[_0x235330([0x74,0x68,0x65,0x6e])](_0x2e2602,_0x2a524b),window[_0x235330([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a524b,0x5cb544ff^_0xbf986e);});}}_0x579b23[_0x235330([0x6f,0x6e])](_0x235330([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x89b355,_0x47574f)=>{if(_0x47574f[0x0]!=_0x5d4987)return _0x38c514(_0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47574f[0x1]={..._0x47574f[0x1],[_0x235330([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x12e71a};},{[_0x235330([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x235330([0x68,0x69,0x67,0x68])}),_0x579b23[_0x235330([0x6f,0x6e])](_0x235330([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57bd72=>{_0x4e48c5(_0x57bd72[_0x235330([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x370bc9=!0x0,_0x49a300(_0x57bd72[_0x235330([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x235330([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x235330([0x6c,0x6f,0x77])}),_0x1d6b42[_0x235330([0x74,0x68,0x65,0x6e])](()=>{_0x370bc9||_0x38c514(_0x235330([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41d55d(){return _0x579b23[_0x235330([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x235330([0x76,0x69,0x65,0x77])][_0x235330([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x235330([0x61,0x75,0x74,0x6f]);}function _0x52712f(){_0x579b23[_0x235330([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x235330([0x76,0x69,0x65,0x77])][_0x235330([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x235330([0x61,0x75,0x74,0x6f]);}}function _0x3a658e(_0x460f34){const _0x474ef4=[new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9bb9d1=>setTimeout(_0x9bb9d1,0x5cbdaef3^_0xbf986e)),_0x1d6b42[_0x235330([0x74,0x68,0x65,0x6e])](()=>new window[(_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26fa37=>{let _0x1632e5=0x0;_0x579b23[_0x235330([0x6d,0x6f,0x64,0x65,0x6c])][_0x235330([0x6f,0x6e])](_0x235330([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e8cf6,_0x4f0818)=>{_0x4f0818[0x0][_0x235330([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1632e5++,_0x1632e5==(0x5cb491c7^_0xbf986e)&&(_0x26fa37(),_0x4e8cf6[_0x235330([0x6f,0x66,0x66])]());});}))];return window[_0x235330([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x235330([0x72,0x61,0x63,0x65])](_0x474ef4)[_0x235330([0x74,0x68,0x65,0x6e])](()=>_0x460f34);}async function _0x47d9ea(){await _0x1d6b42,_0x579b23[_0x235330([0x6d,0x6f,0x64,0x65,0x6c])][_0x235330([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x864122,_0x579b23[_0x235330([0x6d,0x6f,0x64,0x65,0x6c])][_0x235330([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x864122,_0x579b23[_0x235330([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x235330([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfaaa16(){return window[_0x235330([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x9ecc29(_0x2c0abc){const _0x1a34d1=_0x57d12a();_0x579b23[_0x1a34d1]=_0x235330([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c0abc,_0x2c0abc!=_0x235330([0x56,0x61,0x6c,0x69,0x64])&&_0x47d9ea();}function _0x57d12a(){const _0xc5790b=window[_0x235330([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x235330([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x235330([0x6e,0x6f,0x77])]())[_0x235330([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x235330([0x2e]),'');let _0x100091=_0x235330([0x50]);for(let _0x5c2e69=0x0;_0x5c2e69<_0xc5790b[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c2e69+=0x2){let _0x961ffc=window[_0x235330([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc5790b[_0x235330([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c2e69,_0x5c2e69+0x2));_0x961ffc>=_0x2c97af[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x961ffc-=_0x2c97af[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x100091+=_0x2c97af[_0x961ffc];}return _0x100091;}function _0x169915(){const _0x5f0ab1=_0x36a6cf[_0x235330([0x73,0x70,0x6c,0x69,0x74])](_0x235330([0x2e]));if(0x3!=_0x5f0ab1[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d789f(_0x5f0ab1[0x1]);function _0x3d789f(_0x1fc2eb){const _0x43833f=_0x1bacff(_0x1fc2eb);return _0x43833f&&_0xdb7708()?_0x43833f:null;function _0xdb7708(){const _0x2a4d80=_0x43833f[_0x235330([0x6a,0x74,0x69])],_0x1a2b25=window[_0x235330([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a4d80[_0x235330([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a4d80[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c638b={..._0x43833f,[_0x235330([0x6a,0x74,0x69])]:_0x2a4d80[_0x235330([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a4d80[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c638b[_0x235330([0x76,0x63])],_0x4f4940(_0x4c638b)==_0x1a2b25;}}}async function _0x1995cb(){let _0x5f1dea=!0x0;try{const _0x529b7b=_0x36a6cf[_0x235330([0x73,0x70,0x6c,0x69,0x74])](_0x235330([0x2e])),[_0x1fd47f,_0x81f921,_0x4b22a8]=_0x529b7b;return _0x589864(_0x1fd47f),await _0x31179e(_0x1fd47f,_0x81f921,_0x4b22a8),_0x5f1dea;}catch{return!0x1;}function _0x589864(_0x23f6f8){const _0x59ac3d=_0x1bacff(_0x23f6f8);_0x59ac3d&&_0x59ac3d[_0x235330([0x61,0x6c,0x67])]==_0x235330([0x45,0x53,0x32,0x35,0x36])||(_0x5f1dea=!0x1);}async function _0x31179e(_0x4bd04f,_0x33ea40,_0x71e41f){const _0x4e92d1=window[_0x235330([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x235330([0x66,0x72,0x6f,0x6d])](_0x38b5cf(_0x71e41f),_0x2cb513=>_0x2cb513[_0x235330([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6d6eda=new window[(_0x235330([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x235330([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4bd04f+_0x235330([0x2e])+_0x33ea40),_0x381e39=window[_0x235330([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x235330([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x381e39)return;const _0x214f11=await _0x381e39[_0x235330([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x235330([0x6a,0x77,0x6b]),_0x2bdeb6,{[_0x235330([0x6e,0x61,0x6d,0x65])]:_0x235330([0x45,0x43,0x44,0x53,0x41]),[_0x235330([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x235330([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x235330([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x381e39[_0x235330([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x235330([0x6e,0x61,0x6d,0x65])]:_0x235330([0x45,0x43,0x44,0x53,0x41]),[_0x235330([0x68,0x61,0x73,0x68])]:{[_0x235330([0x6e,0x61,0x6d,0x65])]:_0x235330([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x214f11,_0x4e92d1,_0x6d6eda)||(_0x5f1dea=!0x1);}}function _0x1bacff(_0x207458){return _0x207458[_0x235330([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x235330([0x65,0x79]))?JSON[_0x235330([0x70,0x61,0x72,0x73,0x65])](_0x38b5cf(_0x207458)):null;}function _0x38b5cf(_0x1e5279){return window[_0x235330([0x61,0x74,0x6f,0x62])](_0x1e5279[_0x235330([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x235330([0x2b]))[_0x235330([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x235330([0x2f])));}function _0x4f4940(_0x35f725){let _0x127152=0x1505;function _0x3b24a3(_0x1c9a2e){for(let _0x8e5015=0x0;_0x8e5015<_0x1c9a2e[_0x235330([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8e5015++){const _0x525ae4=_0x1c9a2e[_0x235330([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8e5015);_0x127152=(_0x127152<<0x5)+_0x127152+_0x525ae4,_0x127152&=_0x127152;}}function _0x435322(_0x4f3ef7){Array[_0x235330([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f3ef7)?_0x4f3ef7[_0x235330([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x435322):_0x4f3ef7&&typeof _0x4f3ef7==_0x235330([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x235330([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f3ef7)[_0x235330([0x73,0x6f,0x72,0x74])]()[_0x235330([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x243e8b,_0x47201e])=>{_0x3b24a3(_0x243e8b),_0x435322(_0x47201e);}):_0x3b24a3(window[_0x235330([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f3ef7));}return _0x435322(_0x35f725),_0x127152>>>0x0;}function _0x2aee61(_0x30acd9){return _0x30acd9[_0x235330([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x235330([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x235330([0x30]));}function _0x3cc472(_0x4b5260){return _0x4b5260[_0x235330([0x73,0x70,0x6c,0x69,0x74])]('')[_0x235330([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x235330([0x6a,0x6f,0x69,0x6e])]('');}function _0x864122(){}function _0x235330(_0x439910){const _0x553772=_0x19af;return _0x439910[_0x553772(0x10f)](_0x2a3436=>String[_0x553772(0xfd)](_0x2a3436))[_0x553772(0x10d)]('');}_0x9ecc29(await _0x5931d9());}(this);}[_0x4ed3c5(0x108)](_0x1f12c0,_0x565a9a){const _0x4bfe04=_0x4ed3c5,{editor:_0x5ccb81}=this,_0x397579=new _0x85de(_0x1f12c0);return _0x397579[_0x4bfe04(0x135)]({'attributes':{'role':_0x4bfe04(0xfa),'class':[_0x4bfe04(0x132)]}}),_0x397579[_0x4bfe04(0x136)][_0x4bfe04(0x12a)](_0x565a9a[_0x4bfe04(0x10f)]((_0x33e845,_0x4ab2fb)=>{const _0x2cd2a1=_0x4bfe04,_0x4a62c9=new _0xaaeb2(_0x1f12c0,_0x4ab2fb),_0x9d606a=new _0x5c4cfb(_0x1f12c0,_0x33e845);return _0x4a62c9[_0x2cd2a1(0xfb)]=_0x9d606a,_0x4a62c9[_0x2cd2a1(0x100)][_0x2cd2a1(0x106)](_0x9d606a),_0x4a62c9[_0x2cd2a1(0xfb)]['on'](_0x2cd2a1(0x129),_0xd461d5=>{const _0xfa262b=_0x2cd2a1;_0x5ccb81[_0xfa262b(0x129)](_0xfa262b(0x104),_0xd461d5[_0xfa262b(0x11f)][_0xfa262b(0xf3)][_0xfa262b(0x122)]),_0x5ccb81[_0xfa262b(0x12f)][_0xfa262b(0x131)][_0xfa262b(0x10a)]();}),_0x4a62c9;})),_0x397579;}}
|