@ckeditor/ckeditor5-paste-from-office-enhanced 47.7.1-alpha.0 → 47.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/paste-from-office-enhanced.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/normalizers/inliner/msofficestylesinliner.js +1 -1
- package/src/normalizers/inliner/utils.js +1 -1
- package/src/normalizers/propagator/msofficeinlinestylepropagator.js +1 -1
- package/src/pastefromofficeenhancedinliner.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
|
-
*/(()=>{var t={331(t,e,n){t.exports=n(237)("./src/clipboard.js")},782(t,e,n){t.exports=n(237)("./src/core.js")},783(t,e,n){t.exports=n(237)("./src/engine.js")},584(t,e,n){t.exports=n(237)("./src/utils.js")},237(t){"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}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,{PasteFromOfficeEnhanced:()=>dt});var t=n(782);n(331);var e=n(783);function s(t){const e=parseFloat(t);return t.endsWith("pt")?i(96*e/72):t.endsWith("pc")?i(12*e*96/72):t.endsWith("in")?i(96*e):t.endsWith("cm")?i(96*e/2.54):t.endsWith("mm")?i(e/10*96/2.54):t}function i(t){return Math.round(t)+"px"}function o(t,n,r){if(!t.childCount)return;const s=new e.ViewUpcastWriter(t.document),i=function(t,e){const n=e.createRangeIn(t),r=[],s=new Set;for(const t of n.getItems()){if(!t.is("element")||!t.name.match(/^(p|h\d+|li|div)$/))continue;let e=y(t);if(void 0===e||0!=parseFloat(e)||Array.from(t.getClassNames()).find(t=>t.startsWith("MsoList"))||(e=void 0),t.hasStyle("mso-list")&&"none"!==t.getStyle("mso-list")||void 0!==e&&s.has(e)){const n=g(t);r.push({element:t,id:n.id,order:n.order,indent:n.indent,marginLeft:e}),void 0!==e&&s.add(e)}else s.clear()}return r}(t,s);if(!i.length)return;const o={},f=[];let m={marginLeft:void 0,canApplyMarginOnList:!0,topLevelListItemElements:[]};for(const t of i)if(void 0!==t.indent){u(t)||(l(s,f,m),m=c(),f.length=0);const e=`${t.id}:${t.indent}`,i=Math.min(t.indent-1,f.length);if(i<f.length&&f[i].id!==t.id&&(f.length=i),i<f.length-1)f.length=i+1;else{const a=p(t,n);if(i>f.length-1||f[i].listElement.name!=a.type){0==i&&"ol"==a.type&&void 0!==t.id&&o[e]&&(a.startIndex=o[e]);const n=d(a,s,r);if(0==f.length){const e=t.element.parent,r=e.getChildIndex(t.element)+1;s.insertChild(r,n,e)}else{const t=f[i-1].listItemElements;s.appendChild(n,t[t.length-1])}f[i]={...t,listElement:n,listItemElements:[]},0==i&&void 0!==t.id&&(o[e]=a.startIndex||1)}}const g="li"==t.element.name?t.element:s.createElement("li");a(s,f,m,t,g,i),s.appendChild(g,f[i].listElement),f[i].listItemElements.push(g),0==i&&void 0!==t.id&&o[e]++,t.element!=g&&s.appendChild(t.element,g),h(t.element,s),s.removeStyle("text-indent",t.element),s.removeStyle("margin-left",t.element)}else{const e=f.find(e=>e.marginLeft==t.marginLeft);if(e){const n=e.listItemElements;s.appendChild(t.element,n[n.length-1]),s.removeStyle("margin-left",t.element)}else f.length=0}l(s,f,m)}function a(t,e,n,r,s,o){if(void 0===r.marginLeft)return void(0==o&&(n.canApplyMarginOnList=!1));const a=parseFloat(r.marginLeft);let c=0;if(e.length>1){const t=e[e.length-2].listItemElements;if(t.length>0){const e=t[t.length-1].getStyle("margin-left");void 0!==e&&(c+=parseFloat(e))}}c+=40*e.length;const l=a-c,u=0!==l?i(l):void 0;u&&(t.setStyle("margin-left",u,s),0==o&&n.canApplyMarginOnList&&(void 0===n.marginLeft&&(n.marginLeft=u),u!==n.marginLeft&&(n.canApplyMarginOnList=!1),n.topLevelListItemElements.push(s)))}function c(){return{marginLeft:void 0,canApplyMarginOnList:!0,topLevelListItemElements:[]}}function l(t,e,n){if(n.canApplyMarginOnList&&n.marginLeft&&n.topLevelListItemElements.length>0){t.setStyle("margin-left",n.marginLeft,e[0].listElement);for(const e of n.topLevelListItemElements)t.removeStyle("margin-left",e)}}function u(t){const e=t.element.previousSibling;if(!e){const e=t.element.parent;return f(e)&&(!e.previousSibling||f(e.previousSibling))}return f(e)}function f(t){return t.is("element","ol")||t.is("element","ul")}function p(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,s=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,i=new RegExp(`@list\\s+l${t.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),o=new RegExp(`@list l${t.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),a=i.exec(e),c=o.exec(e),l=a&&!c,u=n.exec(e);let f="decimal",p="ol",d=null;if(u&&u[1]){const e=r.exec(u[1]);if(e&&e[1]&&(f=e[1].trim(),p="bullet"!==f&&"image"!==f?"ol":"ul"),"bullet"===f){const e=function(t){if("li"==t.name&&"ul"==t.parent.name&&t.parent.hasAttribute("type"))return t.parent.getAttribute("type");const e=function(t){if(t.getChild(0).is("$text"))return null;for(const e of t.getChildren()){if(!e.is("element","span"))continue;const t=e.getChild(0);if(t)return t.is("$text")?t:t.getChild(0)}return null}(t);if(!e)return null;const n=e._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(t.element);e&&(f=e)}else{const t=s.exec(u[1]);t&&t[1]&&(d=parseInt(t[1]))}l&&(p="ol")}return{type:p,startIndex:d,style:m(f),isLegalStyleList:l}}function m(t){if(t.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(t){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return t;default:return null}}function d(t,e,n){const r=e.createElement(t.type);return t.style&&e.setStyle("list-style-type",t.style,r),t.startIndex&&t.startIndex>1&&e.setAttribute("start",t.startIndex,r),t.isLegalStyleList&&n&&e.addClass("legal-list",r),r}function g(t){const e=t.getStyle("mso-list");if(void 0===e)return{};const n=e.match(/(^|\s{1,100})l(\d+)/i),r=e.match(/\s{0,100}lfo(\d+)/i),s=e.match(/\s{0,100}level(\d+)/i);return n&&r&&s?{id:n[2],order:r[1],indent:parseInt(s[1])}:{indent:1}}function h(t,n){const r=new e.Matcher({name:"span",styles:{"mso-list":"Ignore"}}),s=n.createRangeIn(t);for(const t of s)"elementStart"===t.type&&r.match(t.item)&&n.remove(t.item)}function y(t){const e=t.getStyle("margin-left");return void 0===e||e.endsWith("px")?e:s(e)}function I(t,n){if(!t.childCount)return;const r=new e.ViewUpcastWriter(t.document),s=function(t,n){const r=n.createRangeIn(t),s=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r){if("elementStart"!=t.type)continue;const e=t.item,n=e.previousSibling,r=n&&n.is("element")?n.name:null,o=["Chart"],a=s.match(e),c=e.getAttribute("o:gfxdata"),l="v:shapetype"===r,u=c&&o.some(t=>e.getAttribute("id").includes(t));a&&c&&!l&&!u&&i.push(t.item.getAttribute("id"))}return i}(t,r);!function(t,n,r){const s=r.createRangeIn(n),i=new e.Matcher({name:"img"}),o=[];for(const e of s)if(e.item.is("element")&&i.match(e.item)){const n=e.item,r=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];r.length&&r.every(e=>t.indexOf(e)>-1)?o.push(n):n.getAttribute("src")||o.push(n)}for(const t of o)r.remove(t)}(s,t,r),function(t,e,n){const r=n.createRangeIn(e),s=[];for(const e of r)if("elementStart"==e.type&&e.item.is("element","v:shape")){const n=e.item.getAttribute("id");if(t.includes(n))continue;i(e.item.parent.getChildren(),n)||s.push(e.item)}for(const t of s){const e={src:o(t)};t.hasAttribute("alt")&&(e.alt=t.getAttribute("alt"));const r=n.createElement("img",e);n.insertChild(t.index+1,r,t.parent)}function i(t,e){for(const n of t)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==e)return!0;if(i(n.getChildren(),e))return!0}return!1}function o(t){for(const e of t.getChildren())if(e.is("element")&&e.getAttribute("src"))return e.getAttribute("src")}}(s,t,r),function(t,n){const r=n.createRangeIn(t),s=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r)"elementStart"==t.type&&s.match(t.item)&&i.push(t.item);for(const t of i)n.remove(t)}(t,r);const i=function(t,n){const r=n.createRangeIn(t),s=new e.Matcher({name:"img"}),i=[];let o=0;for(const t of r)t.item.is("element")&&s.match(t.item)&&(t.item.getAttribute("src").startsWith("file://")&&i.push({element:t.item,imageIndex:o}),o++);return i}(t,r);i.length&&function(t,e,n){for(let r=0;r<t.length;r++){const{element:s,imageIndex:i}=t[r],o=e[i];if(o){const t=`data:${o.type};base64,${w(o.hex)}`;n.setAttribute("src",t,s)}}}(i,function(t){if(!t)return[];const e=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,n=new RegExp("(?:("+e.source+"))([\\da-fA-F\\s]+)\\}","g"),r=t.match(n),s=[];if(r)for(const t of r){let n=!1;t.includes("\\pngblip")?n="image/png":t.includes("\\jpegblip")&&(n="image/jpeg"),n&&s.push({hex:t.replace(e,"").replace(/[^\da-fA-F]/g,""),type:n})}return s}(n),r)}function w(t){return btoa(t.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}function b(t,e){const n=[],r=[];for(const{item:s}of t.createRangeIn(e))if(s.is("element")&&s.getStyle("mso-footnote-id")){n.unshift(s);const{nextSibling:t}=s;t?.is("$text")&&t.data.startsWith(" ")&&r.unshift(t)}for(const e of n)t.remove(e);for(const e of r){const n=e.data.substring(1);if(n.length>0){const r=e.parent,s=r.getChildIndex(e),i=t.createText(n);t.remove(e),t.insertChild(s,i,r)}else t.remove(e)}return e}function v(t,e){const n=t.createElement("sup",{class:"footnote"}),r=t.createElement("a",{id:`ref-${e}`,href:`#${e}`});return t.appendChild(r,n),n}function x(t,e){const n=t.createElement("li",{id:e,class:"footnote-definition"}),r=t.createElement("a",{href:`#ref-${e}`,class:"footnote-backlink"}),s=t.createElement("div",{class:"footnote-content"});return t.appendChild(t.createText("^"),r),t.appendChild(r,n),t.appendChild(s,n),{listItem:n,content:s}}const S=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,A=/xmlns:o="urn:schemas-microsoft-com/i;class E{document;hasMultiLevelListPlugin;hasTablePropertiesPlugin;hasExtendedTableBlockAlignment;constructor(t,e=!1,n=!1,r=!1){this.document=t,this.hasMultiLevelListPlugin=e,this.hasTablePropertiesPlugin=n,this.hasExtendedTableBlockAlignment=r}isActive(t){return S.test(t)||A.test(t)}execute(t){const n=new e.ViewUpcastWriter(this.document),{body:r,stylesString:i}=t._parsedData;!function(t,e){const n=[];for(const r of e.createRangeIn(t)){const t=r.item;t.is("element","a")&&!t.hasAttribute("href")&&(t.hasAttribute("id")||t.hasAttribute("name"))&&n.push(t)}for(const t of n){const n=t.parent.getChildIndex(t)+1,r=t.getChildren();e.insertChild(n,r,t.parent)}}(r,n),o(r,i,this.hasMultiLevelListPlugin),I(r,t.dataTransfer.getData("text/rtf")),function(t,e,n=!1,r=!1){for(const i of e.createRangeIn(t).getItems()){if(!i.is("element","table")&&!i.is("element","td")&&!i.is("element","th"))continue;if(n&&r&&i.is("element","table")){const t=i.parent?.is("element","div")?i.parent:null,n=i.parent?.parent?.is("element","div")?i.parent.parent:null,r=t??n;r&&"center"===r.getAttribute("align")&&!i.getAttribute("align")?(e.setStyle("margin-left","auto",i),e.setStyle("margin-right","auto",i)):r&&"right"===r.getAttribute("align")&&!i.getAttribute("align")?(e.setStyle("margin-left","auto",i),e.setStyle("margin-right","0",i)):r||i.getAttribute("align")||(e.setStyle("margin-left","0",i),e.setStyle("margin-right","auto",i))}const t=["left","top","right","bottom"];if(t.every(t=>!i.hasStyle(`border-${t}-style`)))e.setStyle("border-style","none",i);else for(const n of t)i.hasStyle(`border-${n}-style`)||e.setStyle(`border-${n}-style`,"none",i);const o=["width","height",...t.map(t=>`border-${t}-width`),...t.map(t=>`padding-${t}`)];for(const t of o)i.hasStyle(t)&&e.setStyle(t,s(i.getStyle(t)),i)}}(r,n,this.hasTablePropertiesPlugin,this.hasExtendedTableBlockAlignment),function(t,e){for(const n of e.createRangeIn(t).getItems())n.is("element","table")&&("0px"===n.getStyle("width")&&e.removeStyle("width",n),"0"===n.getAttribute("width")&&e.removeAttribute("width",n))}(r,n),function(t,e){const n=new Map,r=new Map;let s=null;for(const{item:i}of e.createRangeIn(t))if(i.is("element"))if("footnote-list"!==i.getStyle("mso-element")){if(i.hasStyle("mso-footnote-id")){const t=i.findAncestor("element",t=>"footnote"===t.getStyle("mso-element"));if(t){const e=t.getAttribute("id");r.set(e,t)}else{const t=i.getStyle("mso-footnote-id");n.set(t,i)}continue}}else s=i;if(!n.size||!s)return;const i=function(t){return t.createElement("ol",{class:"footnotes"})}(e);e.replace(s,i);for(const[t,s]of n){const n=r.get(t);if(!n)continue;e.replace(s,v(e,t));const o=x(e,t);b(e,n);for(const t of n.getChildren()){let n=t;t.is("element")&&(n=e.clone(t,!0)),e.appendChild(n,o.content)}e.appendChild(o.listItem,i)}}(r,n),function(t){const n=[],r=new e.ViewUpcastWriter(t.document);for(const{item:e}of r.createRangeIn(t))if(e.is("element")){for(const t of e.getClassNames())/\bmso/gi.exec(t)&&r.removeClass(t,e);for(const t of e.getStyleNames())/\bmso/gi.exec(t)&&r.removeStyle(t,e);(e.is("element","w:sdt")||e.is("element","w:sdtpr")&&e.isEmpty||e.is("element","o:p")&&e.isEmpty)&&n.push(e)}for(const t of n){const e=t.parent,n=e.getChildIndex(t);r.insertChild(n,t.getChildren(),e),r.remove(t)}}(r),t.content=r}}function L(t){return t.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(t,e)=>1===e.length?" ":Array(e.length+1).join(" ").substr(0,e.length))}function C(t,n){const r=new DOMParser,s=function(t){return L(L(t)).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/(<span\s+style=['"]letter-spacing:[^'"]+?['"]>)[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}(function(t){const e="</body>",n="</html>",r=t.indexOf(e);if(r<0)return t;const s=t.indexOf(n,r+e.length);return t.substring(0,r+e.length)+(s>=0?t.substring(s):"")}(t=(t=t.replace(/<!--\[if gte vml 1]>/g,"")).replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,""))),i=r.parseFromString(s,"text/html");!function(t){t.querySelectorAll("span[style*=spacerun]").forEach(t=>{const e=t,n=e.innerText.length||0;e.innerText=Array(n+1).join(" ").substr(0,n)})}(i);const o=i.body.innerHTML,a=function(t,n){const r=new e.ViewDocument(n),s=new e.ViewDomConverter(r,{renderingMode:"data"}),i=t.createDocumentFragment(),o=t.body.childNodes;for(;o.length>0;)i.appendChild(o[0]);return s.domToView(i,{skipComments:!0})}(i,n),c=function(t){const e=[],n=[],r=Array.from(t.getElementsByTagName("style"));for(const t of r)t.sheet&&t.sheet.cssRules&&t.sheet.cssRules.length&&(e.push(t.sheet),n.push(t.innerHTML));return{styles:e,stylesString:n.join(" ")}}(i);return{body:a,bodyString:o,styles:c.styles,stylesString:c.stylesString}}var P=n(584);function O(){const t=["900iHgqtw","test","14feZMYT","473173KXRyzC","1149198IeAuqF","1219928dBWaKx","5Cjvwej","43938cZGxbs","1706523GrdWYJ","13797190DDhqJJ","1589556xtoaDO","2KHIJHA"];return(O=function(){return t})()}function F(t,e){const n=O();return(F=function(t,e){return n[t-=244]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(399740===parseInt(e(246))/1*(-parseInt(e(254))/2)+parseInt(e(251))/3+-parseInt(e(253))/4+-parseInt(e(249))/5*(-parseInt(e(247))/6)+parseInt(e(245))/7*(-parseInt(e(248))/8)+parseInt(e(250))/9*(-parseInt(e(255))/10)+parseInt(e(252))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(O);const T=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function M(t){return T[F(244)](t)}function R(t,e){const n=k();return(R=function(t,e){return n[t-=254]})(t,e)}!function(t){const e=R,n=t();for(;;)try{if(187751===parseInt(e(264))/1*(-parseInt(e(273))/2)+parseInt(e(272))/3*(parseInt(e(279))/4)+-parseInt(e(261))/5*(parseInt(e(281))/6)+parseInt(e(280))/7+parseInt(e(258))/8+-parseInt(e(266))/9+parseInt(e(262))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);const j=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function D(t,e){const n=R,r=new Map;for(const[s,i]of e){if(!s[n(268)]&&!s[n(254)])continue;const e=!s[n(268)]||t[n(265)]===s[n(268)],o=!s[n(254)]||t[n(255)](s[n(254)]);e&&o&&r[n(277)](s,i)}return r}function W(t){const e=R,n={};for(let r=0;r<t[e(278)];r++){const s=t[r],i=t[e(259)](s);e(257)!==i&&(n[s]=i)}return n}function k(){const t=["hasClass","selectorText","initial","2176952AszoqZ","getPropertyValue","exec","5jiLLeA","4459160txVbss","push","2MxtsBt","name","3276783ZZrdEv","assign","tagName","groups","map","split","307227cQQift","313474WgRGpL","style","cssRules","trim","set","length","8TfaBXr","1996680ALzBnD","2056686PGkhLt","className"];return(k=function(){return t})()}function $(t){const e=R,n=t[e(271)](",")[e(270)](t=>t[e(276)]()),r=[];for(const t of n){const n=j[e(260)](t);n&&r[e(263)](n[e(269)])}return r}function K(t){const e=R,n={};for(const r of t)Object[e(267)](n,r);return n}const N=z;function z(t,e){const n=V();return(z=function(t,e){return n[t-=436]})(t,e)}function V(){const t=["createRangeIn","310EiBtTM","isActive","type","456XrobbZ","2277209bXDhlA","732207hqMYCy","8gGzHEj","4339811yUOfgw","setStyle","document","content","hasStyle","_parsedData","35OjqcKi","size","106095poFQCW","100UJLgfl","from","609402XFqcAL","item","execute","2tcschs","282573onUvZs","elementStart","582322AIgWQQ","values"];return(V=function(){return t})()}!function(t){const e=z,n=t();for(;;)try{if(546976===parseInt(e(448))/1*(-parseInt(e(437))/2)+parseInt(e(458))/3*(parseInt(e(459))/4)+parseInt(e(456))/5*(parseInt(e(461))/6)+-parseInt(e(450))/7*(-parseInt(e(449))/8)+parseInt(e(438))/9*(parseInt(e(443))/10)+-parseInt(e(447))/11+-parseInt(e(446))/12*(parseInt(e(440))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class q extends E{[N(436)](t){const n=N,{body:r,styles:s}=t[n(455)],i=new e.ViewUpcastWriter(r[n(452)]),o=i[n(442)](r),a=function(t){const e=R,n=new Map;for(const r in t){const s=$(r),i=t[r];for(const t of s)n[e(277)](t,i)}return n}(function(t){const e=R,n={};for(const r of t)for(const t of r[e(275)])if(t instanceof CSSStyleRule){const r=W(t[e(274)]);n[t[e(256)]]=Object[e(267)]({},n[t[e(256)]]||{},r)}return n}(s));for(const t of o){if(n(439)!==t[n(445)])continue;const e=D(t[n(462)],a);if(e[n(457)]){const r=K(Array[n(460)](e[n(441)]()));for(const e in r){const s=t[n(462)];s[n(454)](e)||i[n(451)](e,r[e],s)}}}t[n(453)]=r}[N(444)](t){return super[N(444)](t)||M(t)}}const U=B;function B(t,e){const n=G();return(B=function(t,e){return n[t-=330]})(t,e)}function G(){const t=["209841sWsZuG","afterInit","8tFmPuj","editing","inputTransformation","2390508PkTaxb","plugins","998823FKcALw","isActive","map","document","PasteFromOffice","execute","join","view","stylesProcessor","text/html","6385ezgveK","ClipboardPipeline","get","PasteFromOfficeEnhancedInliner","isOfficialPlugin","3330VqgfPa","pluginName","6187200hvsxWH","92cfJVtz","fromCharCode","getData","href","_parsedData","213262PhMnin","editor","isPremiumPlugin","4oURZYE","high","dataTransfer","6iJGEpN","4103qJNAbJ","init","requires"];return(G=function(){return t})()}!function(t){const e=B,n=t();for(;;)try{if(134359===-parseInt(e(357))/1+parseInt(e(360))/2*(-parseInt(e(367))/3)+-parseInt(e(352))/4*(parseInt(e(344))/5)+-parseInt(e(363))/6*(-parseInt(e(334))/7)+parseInt(e(369))/8*(-parseInt(e(332))/9)+parseInt(e(349))/10*(parseInt(e(364))/11)+parseInt(e(351))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class Z extends t.Plugin{static get[U(350)](){return U(347)}static get[U(348)](){return!0}static get[U(359)](){return!0}static get[U(366)](){return[U(338)]}[U(365)](){const t=U,e=this[t(358)],n=e[t(333)][t(346)](t(345)),r=e[t(330)][t(341)][t(337)],s=new q(r);n.on(t(331),(e,n)=>{const i=t,o=n[i(362)][i(354)](i(343));s[i(335)](o)&&(n[i(356)]||(n[i(356)]=C(o,r[i(342)])),s[i(339)](n))},{priority:P.priorities[t(346)](t(361))+11})}[U(368)](){!async function(t){const e=m([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),i={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([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]),[m([121])]:m([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]),[m([97,108,103])]:m([69,83,50,53,54])},o=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function a(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](c(t)):null}function c(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(t){const e=B;return t[e(336)](t=>String[e(353)](t))[e(340)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([115]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let s=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));s>=e[m([108,101,110,103,116,104])]&&(s-=e[m([108,101,110,103,116,104])]),n+=e[s]}return n}();r[n]=m([112,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,p=null;try{return o==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(a=>{if(i())return a(m([86,97,108,105,100]));o(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const p=(0,P.uid)();function d(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(r){c(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(p+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(i(),t),()=>{const t=o();return null==t?(i(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](a)[m([99,97,116,99,104])](()=>{a(m([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function i(){const e=m([108,108,99,116,45])+u(l(t)),r=f(u(window[m([77,97,116,104])][m([99,101,105,108])](n/s)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function o(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*s:null}function c(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([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(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:p}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[m([114,101,116,117,114,110])])&&(c=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{c||a(m([85,115,97,103,101,76,105,109,105,116]))})});function i(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function o(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=o[m([115,112,108,105,116])](m([46])),[s,i,a]=r;return e(s),await n(s,i,a),t}catch{return!1}function e(e){const n=a(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const s=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](c(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const l=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),i,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,s,o)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([80,79,69]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1776643200;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=B,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(355)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const s=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=s[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(s[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>s[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&p?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),p[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}}const H=tt;!function(t){const e=tt,n=t();for(;;)try{if(632514===-parseInt(e(257))/1*(parseInt(e(267))/2)+-parseInt(e(289))/3*(parseInt(e(282))/4)+parseInt(e(265))/5+-parseInt(e(273))/6+-parseInt(e(271))/7+parseInt(e(277))/8*(-parseInt(e(254))/9)+parseInt(e(251))/10*(parseInt(e(290))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);const J=[H(276),H(258),H(294),H(278),H(286),H(272),H(283),H(260)],Q=[H(276),H(258),H(294)],X={"font-style":[[H(268),"i"]],"font-weight":[[H(279),H(252)],[H(288),H(252)],[H(287),H(252)],[t=>Number(t)>=600,H(252)]],"text-decoration":[[H(275),"u"],[H(256),"s"]],"text-decoration-line":[[H(275),"u"],[H(256),"s"]],"vertical-align":[[H(266),H(266)],[H(269),H(264)]]};function Y(t){return J[H(292)](t)}function _(){const t=["medium","getChildren","split","248MFPjgz","font-style","setStyle","span","text-decoration-line","bolder","bold","5235iPRIIu","11nskQuI","getStyle","includes","insertChild","font-size","keys","23571890ZDPzDC","strong","function","36RGBlrG","forEach","line-through","7627rpqwTC","font-family","length","vertical-align","getStyleNames","filter","from","sup","1650010OYJZcX","sub","2fQwDmh","italic","super","removeStyle","2197706IxpKzV","font-weight","3921924bYOAFH","createElement","underline","color","1942496ZTcfnP","text-decoration"];return(_=function(){return t})()}function tt(t,e){const n=_();return(tt=function(t,e){return n[t-=251]})(t,e)}function et(t){const e=H;return Array[e(263)](t[e(261)]())[e(262)](Y)}function nt(t,e,n){const{spanStyles:r,stylesToBeHtmlElements:s}=function(t,e){const n=H,r={},s={};return e[n(255)](e=>{const i=n,o=t[i(291)](e);if(o)if(a=e,Q[H(292)](a))r[e]=o;else if(e in X){const t=o[i(281)](" ");X[e][i(255)](([n,r])=>{const o=i;for(const i of t)(o(253)==typeof n&&n(i)||n===i)&&(s[e]=[...s[e]||[],[n,r]])})}var a}),{spanStyles:r,stylesToBeHtmlElements:s}}(t,n);(function(t,e,n){const r=H;for(const s in n)n[s][r(255)](([,n])=>{const s=r,i=e[s(274)](n,[],t[s(280)]());e[s(293)](0,i,t)}),e[r(270)](s,t)})(t,e,s),function(t,e,n){const r=H;if(!Object[r(295)](n)[r(259)])return;const s=e[r(274)](r(285),[],t[r(280)]());e[r(284)](n,s),e[r(293)](0,s,t),e[r(270)](Object[r(295)](n),t)}(t,e,r)}const rt=st;function st(t,e){const n=it();return(st=function(t,e){return n[t-=214]})(t,e)}function it(){const t=["252427OczzoL","stylesProcessor","content","createRangeIn","428048qYxYce","1915947mNDykr","document","11590KOOezk","_parsedData","543666gAPPmJ","blockElements","6217yaQItv","element","387084QuGepq","30dODfPa","execute","name","isActive","font","45OQQIRy","18mDPbyx","4HnrHXO","getItems","includes"];return(it=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(145927===parseInt(e(237))/1*(parseInt(e(223))/2)+parseInt(e(235))/3+parseInt(e(215))/4+parseInt(e(233))/5+-parseInt(e(222))/6*(-parseInt(e(226))/7)+parseInt(e(230))/8*(parseInt(e(221))/9)+parseInt(e(216))/10*(-parseInt(e(231))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(it);class ot extends E{[rt(217)](t){const n=rt,{body:r}=t[n(234)],s=new e.ViewUpcastWriter(r[n(232)]),i=s[n(229)](r),o=new e.ViewDocument(s[n(232)][n(227)]),a=[...new e.ViewDomConverter(o)[n(236)],n(220)],c=i[n(224)]();for(const t of c)if(t.is(n(214))&&a[n(225)](t[n(218)])){nt(t,s,et(t))}t[n(228)]=r}[rt(219)](t){return super[rt(219)](t)||M(t)}}const at=lt;function ct(){const t=["text/html","domainLimit","dataTransfer","pluginName","featureNotAllowed","121554dTnhSW","12sgzMnp","plugins","1559665BAipks","init","get","_licenseKeyCheckInterval","document","PasteFromOfficeEnhancedPropagator","editor","invalid","licenseKey","isPremiumPlugin","PasteFromOffice","1489108BeyIGC","ClipboardPipeline","getData","editing","stylesProcessor","destroy","isActive","inputTransformation","pasteFromOfficeEnhancedLicenseKeyUsageLimit","pasteFromOfficeEnhancedLicenseKeyValid","pasteFromOfficeEnhancedLicenseKeyNotAllowed","isOfficialPlugin","pasteFromOfficeEnhancedLicenseKeyEvaluationLimit","execute","config","requires","view","875yXVUJS","17016pcRFcG","_parsedData","pasteFromOfficeEnhancedLicenseKeyInvalid","expired","high","1322354ECRYed","PasteFromOfficeEnhanced","pasteFromOfficeEnhancedLicenseKeyExpired","pasteFromOfficeEnhancedLicenseKeyDomainLimit","3yFXFXF","_showLicenseError","6082983ZrisTc","3034090GIFzYH","evaluationLimit","usageLimit"];return(ct=function(){return t})()}function lt(t,e){const n=ct();return(lt=function(t,e){return n[t-=443]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(533703===parseInt(e(446))/1+parseInt(e(483))/2+parseInt(e(487))/3*(parseInt(e(460))/4)+parseInt(e(449))/5*(parseInt(e(447))/6)+-parseInt(e(477))/7*(parseInt(e(478))/8)+-parseInt(e(489))/9+-parseInt(e(490))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ct);class ut extends t.Plugin{[at(457)];[at(452)];static get[at(444)](){return at(454)}static get[at(471)](){return!0}static get[at(458)](){return!0}static get[at(475)](){return[at(459)]}[at(450)](){const t=at,e=this[t(455)],n=e[t(448)][t(451)](t(461)),r=e[t(463)][t(476)][t(453)],s=new ot(r);n.on(t(467),(e,n)=>{const i=t,o=n[i(443)][i(462)](i(493));s[i(466)](o)&&(n[i(479)]||(n[i(479)]=C(o,r[i(464)])),s[i(473)](n))},{priority:P.priorities[t(451)](t(482))+10}),this[t(457)]=this[t(455)][t(474)][t(451)](t(457));const i=this[t(455)];this[t(452)]=setInterval(()=>{const e=t;let n;for(const t in i){const r=t,s=i[r];if(e(469)==s||e(480)==s||e(485)==s||e(486)==s||e(470)==s||e(472)==s||e(468)==s){delete i[r],n=s,clearInterval(this[e(452)]),this[e(452)]=void 0;break}}e(480)==n&&i[e(488)](e(456)),e(485)==n&&i[e(488)](e(481)),e(486)==n&&i[e(488)](e(494)),e(470)==n&&i[e(488)](e(445),e(484)),e(472)==n&&i[e(488)](e(491)),e(468)==n&&i[e(488)](e(492))},1e3)}[at(465)](){const t=at;super[t(465)](),this[t(452)]&&clearInterval(this[t(452)])}}var ft=pt;function pt(t,e){var n=mt();return(pt=function(t,e){return n[t-=164]})(t,e)}function mt(){var t=["331390NaWvvQ","21ELriSP","28BfDSKh","pluginName","isPremiumPlugin","2090WewRCU","requires","210966VboCLX","679160IYeadU","181082VrwXen","isOfficialPlugin","1316075xltZYD","3383244ngdSlt","7294760imnDwp","PasteFromOffice","PasteFromOfficeEnhanced","18yGPGTK"];return(mt=function(){return t})()}!function(t){for(var e=pt,n=t();;)try{if(981571===parseInt(e(173))/1+-parseInt(e(179))/2*(parseInt(e(180))/3)+-parseInt(e(174))/4+-parseInt(e(175))/5+-parseInt(e(169))/6*(parseInt(e(164))/7)+-parseInt(e(170))/8*(parseInt(e(178))/9)+parseInt(e(167))/10*(parseInt(e(171))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt);class dt extends t.Plugin{static get[ft(165)](){return ft(177)}static get[ft(172)](){return!0}static get[ft(166)](){return!0}static get[ft(168)](){return[ft(176),Z,ut]}}function gt(t,e){var n=ht();return(gt=function(t,e){return n[t-=174]})(t,e)}function ht(){var t=["3028166nVQbrK","11910530npXiTt","5MUSBau","434118NTjXUA","2670960rjJsQd","754040carpwR","5235201HjZFzz","18CpIvGy","35lNIlpE","2502904cKUeYE"];return(ht=function(){return t})()}!function(t){for(var e=gt,n=t();;)try{if(890122===-parseInt(e(182))/1+-parseInt(e(177))/2+parseInt(e(183))/3+parseInt(e(181))/4+parseInt(e(179))/5*(-parseInt(e(180))/6)+-parseInt(e(175))/7*(parseInt(e(176))/8)+-parseInt(e(174))/9*(-parseInt(e(178))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht)})(),(window.CKEditor5=window.CKEditor5||{}).pasteFromOfficeEnhanced=r})();
|
|
4
|
+
*/(()=>{var t={331(t,e,n){t.exports=n(237)("./src/clipboard.js")},782(t,e,n){t.exports=n(237)("./src/core.js")},783(t,e,n){t.exports=n(237)("./src/engine.js")},584(t,e,n){t.exports=n(237)("./src/utils.js")},237(t){"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}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,{PasteFromOfficeEnhanced:()=>dt});var t=n(782);n(331);var e=n(783);function s(t){const e=parseFloat(t);return t.endsWith("pt")?i(96*e/72):t.endsWith("pc")?i(12*e*96/72):t.endsWith("in")?i(96*e):t.endsWith("cm")?i(96*e/2.54):t.endsWith("mm")?i(e/10*96/2.54):t}function i(t){return Math.round(t)+"px"}function o(t,n,r){if(!t.childCount)return;const s=new e.ViewUpcastWriter(t.document),i=function(t,e){const n=e.createRangeIn(t),r=[],s=new Set;for(const t of n.getItems()){if(!t.is("element")||!t.name.match(/^(p|h\d+|li|div)$/))continue;let e=y(t);if(void 0===e||0!=parseFloat(e)||Array.from(t.getClassNames()).find(t=>t.startsWith("MsoList"))||(e=void 0),t.hasStyle("mso-list")&&"none"!==t.getStyle("mso-list")||void 0!==e&&s.has(e)){const n=g(t);r.push({element:t,id:n.id,order:n.order,indent:n.indent,marginLeft:e}),void 0!==e&&s.add(e)}else s.clear()}return r}(t,s);if(!i.length)return;const o={},f=[];let m={marginLeft:void 0,canApplyMarginOnList:!0,topLevelListItemElements:[]};for(const t of i)if(void 0!==t.indent){u(t)||(l(s,f,m),m=c(),f.length=0);const e=`${t.id}:${t.indent}`,i=Math.min(t.indent-1,f.length);if(i<f.length&&f[i].id!==t.id&&(f.length=i),i<f.length-1)f.length=i+1;else{const a=p(t,n);if(i>f.length-1||f[i].listElement.name!=a.type){0==i&&"ol"==a.type&&void 0!==t.id&&o[e]&&(a.startIndex=o[e]);const n=d(a,s,r);if(0==f.length){const e=t.element.parent,r=e.getChildIndex(t.element)+1;s.insertChild(r,n,e)}else{const t=f[i-1].listItemElements;s.appendChild(n,t[t.length-1])}f[i]={...t,listElement:n,listItemElements:[]},0==i&&void 0!==t.id&&(o[e]=a.startIndex||1)}}const g="li"==t.element.name?t.element:s.createElement("li");a(s,f,m,t,g,i),s.appendChild(g,f[i].listElement),f[i].listItemElements.push(g),0==i&&void 0!==t.id&&o[e]++,t.element!=g&&s.appendChild(t.element,g),h(t.element,s),s.removeStyle("text-indent",t.element),s.removeStyle("margin-left",t.element)}else{const e=f.find(e=>e.marginLeft==t.marginLeft);if(e){const n=e.listItemElements;s.appendChild(t.element,n[n.length-1]),s.removeStyle("margin-left",t.element)}else f.length=0}l(s,f,m)}function a(t,e,n,r,s,o){if(void 0===r.marginLeft)return void(0==o&&(n.canApplyMarginOnList=!1));const a=parseFloat(r.marginLeft);let c=0;if(e.length>1){const t=e[e.length-2].listItemElements;if(t.length>0){const e=t[t.length-1].getStyle("margin-left");void 0!==e&&(c+=parseFloat(e))}}c+=40*e.length;const l=a-c,u=0!==l?i(l):void 0;u&&(t.setStyle("margin-left",u,s),0==o&&n.canApplyMarginOnList&&(void 0===n.marginLeft&&(n.marginLeft=u),u!==n.marginLeft&&(n.canApplyMarginOnList=!1),n.topLevelListItemElements.push(s)))}function c(){return{marginLeft:void 0,canApplyMarginOnList:!0,topLevelListItemElements:[]}}function l(t,e,n){if(n.canApplyMarginOnList&&n.marginLeft&&n.topLevelListItemElements.length>0){t.setStyle("margin-left",n.marginLeft,e[0].listElement);for(const e of n.topLevelListItemElements)t.removeStyle("margin-left",e)}}function u(t){const e=t.element.previousSibling;if(!e){const e=t.element.parent;return f(e)&&(!e.previousSibling||f(e.previousSibling))}return f(e)}function f(t){return t.is("element","ol")||t.is("element","ul")}function p(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,s=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,i=new RegExp(`@list\\s+l${t.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),o=new RegExp(`@list l${t.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),a=i.exec(e),c=o.exec(e),l=a&&!c,u=n.exec(e);let f="decimal",p="ol",d=null;if(u&&u[1]){const e=r.exec(u[1]);if(e&&e[1]&&(f=e[1].trim(),p="bullet"!==f&&"image"!==f?"ol":"ul"),"bullet"===f){const e=function(t){if("li"==t.name&&"ul"==t.parent.name&&t.parent.hasAttribute("type"))return t.parent.getAttribute("type");const e=function(t){if(t.getChild(0).is("$text"))return null;for(const e of t.getChildren()){if(!e.is("element","span"))continue;const t=e.getChild(0);if(t)return t.is("$text")?t:t.getChild(0)}return null}(t);if(!e)return null;const n=e._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(t.element);e&&(f=e)}else{const t=s.exec(u[1]);t&&t[1]&&(d=parseInt(t[1]))}l&&(p="ol")}return{type:p,startIndex:d,style:m(f),isLegalStyleList:l}}function m(t){if(t.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(t){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return t;default:return null}}function d(t,e,n){const r=e.createElement(t.type);return t.style&&e.setStyle("list-style-type",t.style,r),t.startIndex&&t.startIndex>1&&e.setAttribute("start",t.startIndex,r),t.isLegalStyleList&&n&&e.addClass("legal-list",r),r}function g(t){const e=t.getStyle("mso-list");if(void 0===e)return{};const n=e.match(/(^|\s{1,100})l(\d+)/i),r=e.match(/\s{0,100}lfo(\d+)/i),s=e.match(/\s{0,100}level(\d+)/i);return n&&r&&s?{id:n[2],order:r[1],indent:parseInt(s[1])}:{indent:1}}function h(t,n){const r=new e.Matcher({name:"span",styles:{"mso-list":"Ignore"}}),s=n.createRangeIn(t);for(const t of s)"elementStart"===t.type&&r.match(t.item)&&n.remove(t.item)}function y(t){const e=t.getStyle("margin-left");return void 0===e||e.endsWith("px")?e:s(e)}function I(t,n){if(!t.childCount)return;const r=new e.ViewUpcastWriter(t.document),s=function(t,n){const r=n.createRangeIn(t),s=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r){if("elementStart"!=t.type)continue;const e=t.item,n=e.previousSibling,r=n&&n.is("element")?n.name:null,o=["Chart"],a=s.match(e),c=e.getAttribute("o:gfxdata"),l="v:shapetype"===r,u=c&&o.some(t=>e.getAttribute("id").includes(t));a&&c&&!l&&!u&&i.push(t.item.getAttribute("id"))}return i}(t,r);!function(t,n,r){const s=r.createRangeIn(n),i=new e.Matcher({name:"img"}),o=[];for(const e of s)if(e.item.is("element")&&i.match(e.item)){const n=e.item,r=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];r.length&&r.every(e=>t.indexOf(e)>-1)?o.push(n):n.getAttribute("src")||o.push(n)}for(const t of o)r.remove(t)}(s,t,r),function(t,e,n){const r=n.createRangeIn(e),s=[];for(const e of r)if("elementStart"==e.type&&e.item.is("element","v:shape")){const n=e.item.getAttribute("id");if(t.includes(n))continue;i(e.item.parent.getChildren(),n)||s.push(e.item)}for(const t of s){const e={src:o(t)};t.hasAttribute("alt")&&(e.alt=t.getAttribute("alt"));const r=n.createElement("img",e);n.insertChild(t.index+1,r,t.parent)}function i(t,e){for(const n of t)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==e)return!0;if(i(n.getChildren(),e))return!0}return!1}function o(t){for(const e of t.getChildren())if(e.is("element")&&e.getAttribute("src"))return e.getAttribute("src")}}(s,t,r),function(t,n){const r=n.createRangeIn(t),s=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r)"elementStart"==t.type&&s.match(t.item)&&i.push(t.item);for(const t of i)n.remove(t)}(t,r);const i=function(t,n){const r=n.createRangeIn(t),s=new e.Matcher({name:"img"}),i=[];let o=0;for(const t of r)t.item.is("element")&&s.match(t.item)&&(t.item.getAttribute("src").startsWith("file://")&&i.push({element:t.item,imageIndex:o}),o++);return i}(t,r);i.length&&function(t,e,n){for(let r=0;r<t.length;r++){const{element:s,imageIndex:i}=t[r],o=e[i];if(o){const t=`data:${o.type};base64,${w(o.hex)}`;n.setAttribute("src",t,s)}}}(i,function(t){if(!t)return[];const e=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,n=new RegExp("(?:("+e.source+"))([\\da-fA-F\\s]+)\\}","g"),r=t.match(n),s=[];if(r)for(const t of r){let n=!1;t.includes("\\pngblip")?n="image/png":t.includes("\\jpegblip")&&(n="image/jpeg"),n&&s.push({hex:t.replace(e,"").replace(/[^\da-fA-F]/g,""),type:n})}return s}(n),r)}function w(t){return btoa(t.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}function v(t,e){const n=[],r=[];for(const{item:s}of t.createRangeIn(e))if(s.is("element")&&s.getStyle("mso-footnote-id")){n.unshift(s);const{nextSibling:t}=s;t?.is("$text")&&t.data.startsWith(" ")&&r.unshift(t)}for(const e of n)t.remove(e);for(const e of r){const n=e.data.substring(1);if(n.length>0){const r=e.parent,s=r.getChildIndex(e),i=t.createText(n);t.remove(e),t.insertChild(s,i,r)}else t.remove(e)}return e}function b(t,e){const n=t.createElement("sup",{class:"footnote"}),r=t.createElement("a",{id:`ref-${e}`,href:`#${e}`});return t.appendChild(r,n),n}function x(t,e){const n=t.createElement("li",{id:e,class:"footnote-definition"}),r=t.createElement("a",{href:`#ref-${e}`,class:"footnote-backlink"}),s=t.createElement("div",{class:"footnote-content"});return t.appendChild(t.createText("^"),r),t.appendChild(r,n),t.appendChild(s,n),{listItem:n,content:s}}const S=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,C=/xmlns:o="urn:schemas-microsoft-com/i;class A{document;hasMultiLevelListPlugin;hasTablePropertiesPlugin;hasExtendedTableBlockAlignment;constructor(t,e=!1,n=!1,r=!1){this.document=t,this.hasMultiLevelListPlugin=e,this.hasTablePropertiesPlugin=n,this.hasExtendedTableBlockAlignment=r}isActive(t){return S.test(t)||C.test(t)}execute(t){const n=new e.ViewUpcastWriter(this.document),{body:r,stylesString:i}=t._parsedData;!function(t,e){const n=[];for(const r of e.createRangeIn(t)){const t=r.item;t.is("element","a")&&!t.hasAttribute("href")&&(t.hasAttribute("id")||t.hasAttribute("name"))&&n.push(t)}for(const t of n){const n=t.parent.getChildIndex(t)+1,r=t.getChildren();e.insertChild(n,r,t.parent)}}(r,n),o(r,i,this.hasMultiLevelListPlugin),I(r,t.dataTransfer.getData("text/rtf")),function(t,e,n=!1,r=!1){for(const i of e.createRangeIn(t).getItems()){if(!i.is("element","table")&&!i.is("element","td")&&!i.is("element","th"))continue;if(n&&r&&i.is("element","table")){const t=i.parent?.is("element","div")?i.parent:null,n=i.parent?.parent?.is("element","div")?i.parent.parent:null,r=t??n;r&&"center"===r.getAttribute("align")&&!i.getAttribute("align")?(e.setStyle("margin-left","auto",i),e.setStyle("margin-right","auto",i)):r&&"right"===r.getAttribute("align")&&!i.getAttribute("align")?(e.setStyle("margin-left","auto",i),e.setStyle("margin-right","0",i)):r||i.getAttribute("align")||(e.setStyle("margin-left","0",i),e.setStyle("margin-right","auto",i))}const t=["left","top","right","bottom"];if(t.every(t=>!i.hasStyle(`border-${t}-style`)))e.setStyle("border-style","none",i);else for(const n of t)i.hasStyle(`border-${n}-style`)||e.setStyle(`border-${n}-style`,"none",i);const o=["width","height",...t.map(t=>`border-${t}-width`),...t.map(t=>`padding-${t}`)];for(const t of o)i.hasStyle(t)&&e.setStyle(t,s(i.getStyle(t)),i)}}(r,n,this.hasTablePropertiesPlugin,this.hasExtendedTableBlockAlignment),function(t,e){for(const n of e.createRangeIn(t).getItems())n.is("element","table")&&("0px"===n.getStyle("width")&&e.removeStyle("width",n),"0"===n.getAttribute("width")&&e.removeAttribute("width",n))}(r,n),function(t,e){const n=new Map,r=new Map;let s=null;for(const{item:i}of e.createRangeIn(t))if(i.is("element"))if("footnote-list"!==i.getStyle("mso-element")){if(i.hasStyle("mso-footnote-id")){const t=i.findAncestor("element",t=>"footnote"===t.getStyle("mso-element"));if(t){const e=t.getAttribute("id");r.set(e,t)}else{const t=i.getStyle("mso-footnote-id");n.set(t,i)}continue}}else s=i;if(!n.size||!s)return;const i=function(t){return t.createElement("ol",{class:"footnotes"})}(e);e.replace(s,i);for(const[t,s]of n){const n=r.get(t);if(!n)continue;e.replace(s,b(e,t));const o=x(e,t);v(e,n);for(const t of n.getChildren()){let n=t;t.is("element")&&(n=e.clone(t,!0)),e.appendChild(n,o.content)}e.appendChild(o.listItem,i)}}(r,n),function(t){const n=[],r=new e.ViewUpcastWriter(t.document);for(const{item:e}of r.createRangeIn(t))if(e.is("element")){for(const t of e.getClassNames())/\bmso/gi.exec(t)&&r.removeClass(t,e);for(const t of e.getStyleNames())/\bmso/gi.exec(t)&&r.removeStyle(t,e);(e.is("element","w:sdt")||e.is("element","w:sdtpr")&&e.isEmpty||e.is("element","o:p")&&e.isEmpty)&&n.push(e)}for(const t of n){const e=t.parent,n=e.getChildIndex(t);r.insertChild(n,t.getChildren(),e),r.remove(t)}}(r),t.content=r}}function E(t){return t.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(t,e)=>1===e.length?" ":Array(e.length+1).join(" ").substr(0,e.length))}function L(t,n){const r=new DOMParser,s=function(t){return E(E(t)).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/(<span\s+style=['"]letter-spacing:[^'"]+?['"]>)[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}(function(t){const e="</body>",n="</html>",r=t.indexOf(e);if(r<0)return t;const s=t.indexOf(n,r+e.length);return t.substring(0,r+e.length)+(s>=0?t.substring(s):"")}(t=(t=t.replace(/<!--\[if gte vml 1]>/g,"")).replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,""))),i=r.parseFromString(s,"text/html");!function(t){t.querySelectorAll("span[style*=spacerun]").forEach(t=>{const e=t,n=e.innerText.length||0;e.innerText=Array(n+1).join(" ").substr(0,n)})}(i);const o=i.body.innerHTML,a=function(t,n){const r=new e.ViewDocument(n),s=new e.ViewDomConverter(r,{renderingMode:"data"}),i=t.createDocumentFragment(),o=t.body.childNodes;for(;o.length>0;)i.appendChild(o[0]);return s.domToView(i,{skipComments:!0})}(i,n),c=function(t){const e=[],n=[],r=Array.from(t.getElementsByTagName("style"));for(const t of r)t.sheet&&t.sheet.cssRules&&t.sheet.cssRules.length&&(e.push(t.sheet),n.push(t.innerHTML));return{styles:e,stylesString:n.join(" ")}}(i);return{body:a,bodyString:o,styles:c.styles,stylesString:c.stylesString}}var P=n(584);function O(){const t=["900iHgqtw","test","14feZMYT","473173KXRyzC","1149198IeAuqF","1219928dBWaKx","5Cjvwej","43938cZGxbs","1706523GrdWYJ","13797190DDhqJJ","1589556xtoaDO","2KHIJHA"];return(O=function(){return t})()}function F(t,e){const n=O();return(F=function(t,e){return n[t-=244]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(399740===parseInt(e(246))/1*(-parseInt(e(254))/2)+parseInt(e(251))/3+-parseInt(e(253))/4+-parseInt(e(249))/5*(-parseInt(e(247))/6)+parseInt(e(245))/7*(-parseInt(e(248))/8)+parseInt(e(250))/9*(-parseInt(e(255))/10)+parseInt(e(252))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(O);const M=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function R(t){return M[F(244)](t)}!function(t){const e=D,n=t();for(;;)try{if(898331===parseInt(e(235))/1*(-parseInt(e(248))/2)+-parseInt(e(223))/3+parseInt(e(240))/4+parseInt(e(228))/5+parseInt(e(245))/6+parseInt(e(237))/7*(-parseInt(e(246))/8)+-parseInt(e(249))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);const T=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function j(t,e){const n=D,r=new Map;for(const[s,i]of e){if(!s[n(231)]&&!s[n(224)])continue;const e=!s[n(231)]||t[n(225)]===s[n(231)],o=!s[n(224)]||t[n(230)](s[n(224)]);e&&o&&r[n(242)](s,i)}return r}function D(t,e){const n=k();return(D=function(t,e){return n[t-=223]})(t,e)}function k(){const t=["split","2sltPPe","10351467qllVOC","3233820tfxmwM","className","name","selectorText","cssRules","6681605MWjtxo","exec","hasClass","tagName","groups","length","map","119694apDomh","getPropertyValue","20713ShtOav","push","trim","6692112MFfnCU","assign","set","style","initial","4314576kXHMJf","1304oTSxGU"];return(k=function(){return t})()}function W(t){const e=D,n={};for(let r=0;r<t[e(233)];r++){const s=t[r],i=t[e(236)](s);e(244)!==i&&(n[s]=i)}return n}function $(t){const e=D,n=t[e(247)](",")[e(234)](t=>t[e(239)]()),r=[];for(const t of n){const n=T[e(229)](t);n&&r[e(238)](n[e(232)])}return r}function N(t){const e=D,n={};for(const r of t)Object[e(241)](n,r);return n}const K=U;function U(t,e){const n=V();return(U=function(t,e){return n[t-=105]})(t,e)}function V(){const t=["66igZFgv","6396McYkxz","createRangeIn","execute","content","item","5151843RqnCLC","isActive","type","hasStyle","3115dDdheK","from","size","95804UMotDp","2454740GyqwOo","_parsedData","14504NFPXZf","values","setStyle","1600505qHTlLe","81992VdeIRk","document","1RxMtSj","69yCQQOF","elementStart"];return(V=function(){return t})()}!function(t){const e=U,n=t();for(;;)try{if(415223===-parseInt(e(120))/1*(-parseInt(e(111))/2)+-parseInt(e(121))/3*(-parseInt(e(118))/4)+parseInt(e(117))/5+-parseInt(e(124))/6*(-parseInt(e(108))/7)+parseInt(e(114))/8+parseInt(e(129))/9+-parseInt(e(112))/10*(parseInt(e(123))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class z extends A{[K(126)](t){const n=K,{body:r,styles:s}=t[n(113)],i=new e.ViewUpcastWriter(r[n(119)]),o=i[n(125)](r),a=function(t){const e=D,n=new Map;for(const r in t){const s=$(r),i=t[r];for(const t of s)n[e(242)](t,i)}return n}(function(t){const e=D,n={};for(const r of t)for(const t of r[e(227)])if(t instanceof CSSStyleRule){const r=W(t[e(243)]);n[t[e(226)]]=Object[e(241)]({},n[t[e(226)]]||{},r)}return n}(s));for(const t of o){if(n(122)!==t[n(106)])continue;const e=j(t[n(128)],a);if(e[n(110)]){const r=N(Array[n(109)](e[n(115)]()));for(const e in r){const s=t[n(128)];s[n(107)](e)||i[n(116)](e,r[e],s)}}}t[n(127)]=r}[K(105)](t){return super[K(105)](t)||R(t)}}const G=X;function X(t,e){const n=q();return(X=function(t,e){return n[t-=212]})(t,e)}function q(){const t=["7NvlNDv","init","680382jFbMWF","1653758ajFMvi","high","requires","5vRGweU","1iIfQXR","isOfficialPlugin","1528ZUaMop","230nZbbTO","getData","isActive","9462GkXRZR","map","pluginName","PasteFromOfficeEnhancedInliner","editing","fromCharCode","inputTransformation","get","editor","execute","dataTransfer","7031592vKDcIv","ClipboardPipeline","plugins","17015244rQynhb","text/html","11iXBzYJ","PasteFromOffice","_parsedData","39257478zdgrcy","join","document","isPremiumPlugin","stylesProcessor","view","afterInit","6550374XqNQwt","href"];return(q=function(){return t})()}!function(t){const e=X,n=t();for(;;)try{if(880062===-parseInt(e(226))/1*(parseInt(e(222))/2)+parseInt(e(232))/3*(-parseInt(e(228))/4)+parseInt(e(225))/5*(parseInt(e(217))/6)+parseInt(e(219))/7*(-parseInt(e(243))/8)+-parseInt(e(221))/9*(parseInt(e(229))/10)+parseInt(e(248))/11*(parseInt(e(246))/12)+parseInt(e(251))/13)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class Z extends t.Plugin{static get[G(234)](){return G(235)}static get[G(227)](){return!0}static get[G(213)](){return!0}static get[G(224)](){return[G(249)]}[G(220)](){const t=G,e=this[t(240)],n=e[t(245)][t(239)](t(244)),r=e[t(236)][t(215)][t(212)],s=new z(r);n.on(t(238),(e,n)=>{const i=t,o=n[i(242)][i(230)](i(247));s[i(231)](o)&&(n[i(250)]||(n[i(250)]=L(o,r[i(214)])),s[i(241)](n))},{priority:P.priorities[t(239)](t(223))+11})}[G(216)](){!async function(t){const e=m([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),i={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([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]),[m([121])]:m([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]),[m([97,108,103])]:m([69,83,50,53,54])},o=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function a(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](c(t)):null}function c(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(t){const e=X;return t[e(233)](t=>String[e(237)](t))[e(252)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([115]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let s=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));s>=e[m([108,101,110,103,116,104])]&&(s-=e[m([108,101,110,103,116,104])]),n+=e[s]}return n}();r[n]=m([112,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,p=null;try{return o==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(a=>{if(i())return a(m([86,97,108,105,100]));o(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const p=(0,P.uid)();function d(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(r){c(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(p+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(i(),t),()=>{const t=o();return null==t?(i(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](a)[m([99,97,116,99,104])](()=>{a(m([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function i(){const e=m([108,108,99,116,45])+u(l(t)),r=f(u(window[m([77,97,116,104])][m([99,101,105,108])](n/s)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function o(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*s:null}function c(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([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(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:p}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[m([114,101,116,117,114,110])])&&(c=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{c||a(m([85,115,97,103,101,76,105,109,105,116]))})});function i(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function o(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=o[m([115,112,108,105,116])](m([46])),[s,i,a]=r;return e(s),await n(s,i,a),t}catch{return!1}function e(e){const n=a(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const s=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](c(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const l=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),i,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,s,o)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([80,79,69]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1776902400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=X,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(218)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const s=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=s[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(s[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>s[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&p?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),p[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}}const Q=tt;!function(t){const e=tt,n=t();for(;;)try{if(632514===-parseInt(e(257))/1*(parseInt(e(267))/2)+-parseInt(e(289))/3*(parseInt(e(282))/4)+parseInt(e(265))/5+-parseInt(e(273))/6+-parseInt(e(271))/7+parseInt(e(277))/8*(-parseInt(e(254))/9)+parseInt(e(251))/10*(parseInt(e(290))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);const B=[Q(276),Q(258),Q(294),Q(278),Q(286),Q(272),Q(283),Q(260)],J=[Q(276),Q(258),Q(294)],H={"font-style":[[Q(268),"i"]],"font-weight":[[Q(279),Q(252)],[Q(288),Q(252)],[Q(287),Q(252)],[t=>Number(t)>=600,Q(252)]],"text-decoration":[[Q(275),"u"],[Q(256),"s"]],"text-decoration-line":[[Q(275),"u"],[Q(256),"s"]],"vertical-align":[[Q(266),Q(266)],[Q(269),Q(264)]]};function Y(t){return B[Q(292)](t)}function _(){const t=["medium","getChildren","split","248MFPjgz","font-style","setStyle","span","text-decoration-line","bolder","bold","5235iPRIIu","11nskQuI","getStyle","includes","insertChild","font-size","keys","23571890ZDPzDC","strong","function","36RGBlrG","forEach","line-through","7627rpqwTC","font-family","length","vertical-align","getStyleNames","filter","from","sup","1650010OYJZcX","sub","2fQwDmh","italic","super","removeStyle","2197706IxpKzV","font-weight","3921924bYOAFH","createElement","underline","color","1942496ZTcfnP","text-decoration"];return(_=function(){return t})()}function tt(t,e){const n=_();return(tt=function(t,e){return n[t-=251]})(t,e)}function et(t){const e=Q;return Array[e(263)](t[e(261)]())[e(262)](Y)}function nt(t,e,n){const{spanStyles:r,stylesToBeHtmlElements:s}=function(t,e){const n=Q,r={},s={};return e[n(255)](e=>{const i=n,o=t[i(291)](e);if(o)if(a=e,J[Q(292)](a))r[e]=o;else if(e in H){const t=o[i(281)](" ");H[e][i(255)](([n,r])=>{const o=i;for(const i of t)(o(253)==typeof n&&n(i)||n===i)&&(s[e]=[...s[e]||[],[n,r]])})}var a}),{spanStyles:r,stylesToBeHtmlElements:s}}(t,n);(function(t,e,n){const r=Q;for(const s in n)n[s][r(255)](([,n])=>{const s=r,i=e[s(274)](n,[],t[s(280)]());e[s(293)](0,i,t)}),e[r(270)](s,t)})(t,e,s),function(t,e,n){const r=Q;if(!Object[r(295)](n)[r(259)])return;const s=e[r(274)](r(285),[],t[r(280)]());e[r(284)](n,s),e[r(293)](0,s,t),e[r(270)](Object[r(295)](n),t)}(t,e,r)}const rt=st;function st(t,e){const n=it();return(st=function(t,e){return n[t-=312]})(t,e)}function it(){const t=["stylesProcessor","name","52138JaXLPx","20UdLlir","content","3986244bdwDbO","84mQWvzJ","696585CdVIZv","22PPdPzy","8QQrTFn","element","isActive","_parsedData","font","33661166rpsvzW","includes","1300770uxJGZx","getItems","6329968GSkOUf","execute","document","1533FGIQRz","createRangeIn","blockElements"];return(it=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(518331===-parseInt(e(318))/1*(parseInt(e(312))/2)+parseInt(e(317))/3+-parseInt(e(319))/4*(parseInt(e(326))/5)+parseInt(e(316))/6*(-parseInt(e(331))/7)+-parseInt(e(328))/8+parseInt(e(315))/9*(-parseInt(e(313))/10)+parseInt(e(324))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(it);class ot extends A{[rt(329)](t){const n=rt,{body:r}=t[n(322)],s=new e.ViewUpcastWriter(r[n(330)]),i=s[n(332)](r),o=new e.ViewDocument(s[n(330)][n(334)]),a=[...new e.ViewDomConverter(o)[n(333)],n(323)],c=i[n(327)]();for(const t of c)if(t.is(n(320))&&a[n(325)](t[n(335)])){nt(t,s,et(t))}t[n(314)]=r}[rt(321)](t){return super[rt(321)](t)||R(t)}}const at=lt;function ct(){const t=["text/html","domainLimit","dataTransfer","pluginName","featureNotAllowed","121554dTnhSW","12sgzMnp","plugins","1559665BAipks","init","get","_licenseKeyCheckInterval","document","PasteFromOfficeEnhancedPropagator","editor","invalid","licenseKey","isPremiumPlugin","PasteFromOffice","1489108BeyIGC","ClipboardPipeline","getData","editing","stylesProcessor","destroy","isActive","inputTransformation","pasteFromOfficeEnhancedLicenseKeyUsageLimit","pasteFromOfficeEnhancedLicenseKeyValid","pasteFromOfficeEnhancedLicenseKeyNotAllowed","isOfficialPlugin","pasteFromOfficeEnhancedLicenseKeyEvaluationLimit","execute","config","requires","view","875yXVUJS","17016pcRFcG","_parsedData","pasteFromOfficeEnhancedLicenseKeyInvalid","expired","high","1322354ECRYed","PasteFromOfficeEnhanced","pasteFromOfficeEnhancedLicenseKeyExpired","pasteFromOfficeEnhancedLicenseKeyDomainLimit","3yFXFXF","_showLicenseError","6082983ZrisTc","3034090GIFzYH","evaluationLimit","usageLimit"];return(ct=function(){return t})()}function lt(t,e){const n=ct();return(lt=function(t,e){return n[t-=443]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(533703===parseInt(e(446))/1+parseInt(e(483))/2+parseInt(e(487))/3*(parseInt(e(460))/4)+parseInt(e(449))/5*(parseInt(e(447))/6)+-parseInt(e(477))/7*(parseInt(e(478))/8)+-parseInt(e(489))/9+-parseInt(e(490))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ct);class ut extends t.Plugin{[at(457)];[at(452)];static get[at(444)](){return at(454)}static get[at(471)](){return!0}static get[at(458)](){return!0}static get[at(475)](){return[at(459)]}[at(450)](){const t=at,e=this[t(455)],n=e[t(448)][t(451)](t(461)),r=e[t(463)][t(476)][t(453)],s=new ot(r);n.on(t(467),(e,n)=>{const i=t,o=n[i(443)][i(462)](i(493));s[i(466)](o)&&(n[i(479)]||(n[i(479)]=L(o,r[i(464)])),s[i(473)](n))},{priority:P.priorities[t(451)](t(482))+10}),this[t(457)]=this[t(455)][t(474)][t(451)](t(457));const i=this[t(455)];this[t(452)]=setInterval(()=>{const e=t;let n;for(const t in i){const r=t,s=i[r];if(e(469)==s||e(480)==s||e(485)==s||e(486)==s||e(470)==s||e(472)==s||e(468)==s){delete i[r],n=s,clearInterval(this[e(452)]),this[e(452)]=void 0;break}}e(480)==n&&i[e(488)](e(456)),e(485)==n&&i[e(488)](e(481)),e(486)==n&&i[e(488)](e(494)),e(470)==n&&i[e(488)](e(445),e(484)),e(472)==n&&i[e(488)](e(491)),e(468)==n&&i[e(488)](e(492))},1e3)}[at(465)](){const t=at;super[t(465)](),this[t(452)]&&clearInterval(this[t(452)])}}var ft=pt;function pt(t,e){var n=mt();return(pt=function(t,e){return n[t-=164]})(t,e)}function mt(){var t=["331390NaWvvQ","21ELriSP","28BfDSKh","pluginName","isPremiumPlugin","2090WewRCU","requires","210966VboCLX","679160IYeadU","181082VrwXen","isOfficialPlugin","1316075xltZYD","3383244ngdSlt","7294760imnDwp","PasteFromOffice","PasteFromOfficeEnhanced","18yGPGTK"];return(mt=function(){return t})()}!function(t){for(var e=pt,n=t();;)try{if(981571===parseInt(e(173))/1+-parseInt(e(179))/2*(parseInt(e(180))/3)+-parseInt(e(174))/4+-parseInt(e(175))/5+-parseInt(e(169))/6*(parseInt(e(164))/7)+-parseInt(e(170))/8*(parseInt(e(178))/9)+parseInt(e(167))/10*(parseInt(e(171))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt);class dt extends t.Plugin{static get[ft(165)](){return ft(177)}static get[ft(172)](){return!0}static get[ft(166)](){return!0}static get[ft(168)](){return[ft(176),Z,ut]}}function gt(t,e){var n=ht();return(gt=function(t,e){return n[t-=174]})(t,e)}function ht(){var t=["3028166nVQbrK","11910530npXiTt","5MUSBau","434118NTjXUA","2670960rjJsQd","754040carpwR","5235201HjZFzz","18CpIvGy","35lNIlpE","2502904cKUeYE"];return(ht=function(){return t})()}!function(t){for(var e=gt,n=t();;)try{if(890122===-parseInt(e(182))/1+-parseInt(e(177))/2+parseInt(e(183))/3+parseInt(e(181))/4+parseInt(e(179))/5*(-parseInt(e(180))/6)+-parseInt(e(175))/7*(parseInt(e(176))/8)+-parseInt(e(174))/9*(-parseInt(e(178))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht)})(),(window.CKEditor5=window.CKEditor5||{}).pasteFromOfficeEnhanced=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x199c5a}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0xcbdc22,parsePasteOfficeHtml as _0x1ed49c}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x722192,uid as _0x3d0d6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x4721f7,ViewDocument as _0x165457,ViewDomConverter as _0x2e1549}from'@ckeditor/ckeditor5-engine/dist/index.js';const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function p(_0x57ceeb){return m['test'](_0x57ceeb);}const S=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function j(_0x4966a9,_0x4186ac){const _0xaa51b3=new Map();for(const [_0x5039bd,_0x120af0]of _0x4186ac){if(!_0x5039bd['tagName']&&!_0x5039bd['className'])continue;const _0x397a2b=!_0x5039bd['tagName']||_0x4966a9['name']===_0x5039bd['tagName'],_0x535fd2=!_0x5039bd['className']||_0x4966a9['hasClass'](_0x5039bd['className']);_0x397a2b&&_0x535fd2&&_0xaa51b3['set'](_0x5039bd,_0x120af0);}return _0xaa51b3;}function h(_0x367c91){const _0x36c3ef={};for(let _0x16f43a=0x0;_0x16f43a<_0x367c91['length'];_0x16f43a++){const _0x373055=_0x367c91[_0x16f43a],_0x2556de=_0x367c91['getPropertyValue'](_0x373055);'initial'!==_0x2556de&&(_0x36c3ef[_0x373055]=_0x2556de);}return _0x36c3ef;}function O(_0x5b994e){const _0x34fca1=_0x5b994e['split'](',')['map'](_0x3e1f2b=>_0x3e1f2b['trim']()),_0x1af8e9=[];for(const _0x1f86a6 of _0x34fca1){const _0x1d2441=S['exec'](_0x1f86a6);_0x1d2441&&_0x1af8e9['push'](_0x1d2441['groups']);}return _0x1af8e9;}function k(_0x11ec60){const _0x5d37b4={};for(const _0xabdef9 of _0x11ec60)Object['assign'](_0x5d37b4,_0xabdef9);return _0x5d37b4;}class c extends _0xcbdc22{['execute'](_0x4f130e){const {body:_0x27cdd8,styles:_0x48434d}=_0x4f130e['_parsedData'],_0x519a73=new _0x4721f7(_0x27cdd8['document']),_0xfba77a=_0x519a73['createRangeIn'](_0x27cdd8),_0x210b2f=function(_0x2beb64){const _0x551645={};for(const _0x26e0a2 of _0x2beb64)for(const _0xb59e9f of _0x26e0a2['cssRules'])if(_0xb59e9f instanceof CSSStyleRule){const _0xbb6809=h(_0xb59e9f['style']);_0x551645[_0xb59e9f['selectorText']]=Object['assign']({},_0x551645[_0xb59e9f['selectorText']]||{},_0xbb6809);}return _0x551645;}(_0x48434d),_0x54de14=function(_0x5763c6){const _0x2628be=new Map();for(const _0x503e02 in _0x5763c6){const _0x2d77b4=O(_0x503e02),_0x34352b=_0x5763c6[_0x503e02];for(const _0x482e63 of _0x2d77b4)_0x2628be['set'](_0x482e63,_0x34352b);}return _0x2628be;}(_0x210b2f);for(const _0x5a5d99 of _0xfba77a){if('elementStart'!==_0x5a5d99['type'])continue;const _0xfd352e=j(_0x5a5d99['item'],_0x54de14);if(_0xfd352e['size']){const _0x20adb6=k(Array['from'](_0xfd352e['values']()));for(const _0xdb0f0a in _0x20adb6){const _0x4f70ea=_0x5a5d99['item'];_0x4f70ea['hasStyle'](_0xdb0f0a)||_0x519a73['setStyle'](_0xdb0f0a,_0x20adb6[_0xdb0f0a],_0x4f70ea);}}}_0x4f130e['content']=_0x27cdd8;}['isActive'](_0x3c670e){return super['isActive'](_0x3c670e)||p(_0x3c670e);}}class i extends _0x199c5a{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x436859=this['editor'],_0xc8ae38=_0x436859['plugins']['get']('ClipboardPipeline'),_0x297c0e=_0x436859['editing']['view']['document'],_0x340fd9=new c(_0x297c0e);_0xc8ae38['on']('inputTransformation',(_0x5a908b,_0x3b52ca)=>{const _0x5b80c2=_0x3b52ca['dataTransfer']['getData']('text/html');_0x340fd9['isActive'](_0x5b80c2)&&(_0x3b52ca['_parsedData']||(_0x3b52ca['_parsedData']=_0x1ed49c(_0x5b80c2,_0x297c0e['stylesProcessor'])),_0x340fd9['execute'](_0x3b52ca));},{'priority':_0x722192['get']('high')+0xb});}['afterInit'](){!async function(_0x4e0903){const _0x9765f7=_0x1e1227([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x38f8a1=0x7374585f,_0x43ddae=0x7373df97^_0x38f8a1,_0x591c35=window[_0x1e1227([0x44,0x61,0x74,0x65])][_0x1e1227([0x6e,0x6f,0x77])](),_0x26067b=_0x4e0903[_0x1e1227([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d35a1=new window[(_0x1e1227([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c86b1=>{_0x26067b[_0x1e1227([0x6f,0x6e,0x63,0x65])](_0x1e1227([0x72,0x65,0x61,0x64,0x79]),_0x4c86b1);}),_0x421436={[_0x1e1227([0x6b,0x74,0x79])]:_0x1e1227([0x45,0x43]),[_0x1e1227([0x75,0x73,0x65])]:_0x1e1227([0x73,0x69,0x67]),[_0x1e1227([0x63,0x72,0x76])]:_0x1e1227([0x50,0x2d,0x32,0x35,0x36]),[_0x1e1227([0x78])]:_0x1e1227([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]),[_0x1e1227([0x79])]:_0x1e1227([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]),[_0x1e1227([0x61,0x6c,0x67])]:_0x1e1227([0x45,0x53,0x32,0x35,0x36])},_0x1ff540=_0x26067b[_0x1e1227([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e1227([0x67,0x65,0x74])](_0x1e1227([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf3efbf(){let _0xe5285d,_0x38f760=null,_0x3d50f2=null;try{if(_0x1ff540==_0x1e1227([0x47,0x50,0x4c]))return _0x1e1227([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe5285d=_0x3f9c97(),!_0xe5285d)return _0x1e1227([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe5285d[_0x1e1227([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d50f2=_0x18d3ea(_0xe5285d[_0x1e1227([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe5285d[_0x1e1227([0x6a,0x74,0x69])])),await _0x390069()?_0x11682c()?_0x116071()?_0x1e1227([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29230e()?(_0xe5285d[_0x1e1227([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e1227([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38f760=_0x27b611(_0x1e1227([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20b2c0()):_0x1e1227([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e1227([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e1227([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e1227([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x116071(){const _0x4eac4d=[_0x1e1227([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e1227([0x74,0x72,0x69,0x61,0x6c])][_0x1e1227([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5285d[_0x1e1227([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x591c35/0x3e8:0xe10*_0x43ddae;return _0xe5285d[_0x1e1227([0x65,0x78,0x70])]<_0x4eac4d;}function _0x11682c(){const _0xcb9662=_0xe5285d[_0x1e1227([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xcb9662&&(!!_0xcb9662[_0x1e1227([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1227([0x2a]))||(!!_0xcb9662[_0x1e1227([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1227([0x50,0x4f,0x45]))||(!!_0xcb9662[_0x1e1227([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1227([0x50,0x50]))||!(!_0xcb9662[_0x1e1227([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1227([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x494262()))));}function _0x29230e(){const _0x568901=_0xe5285d[_0x1e1227([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x568901||0x0==_0x568901[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53cfac}=new URL(window[_0x1e1227([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x568901[_0x1e1227([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53cfac))return!0x0;const _0x5524fc=_0x53cfac[_0x1e1227([0x73,0x70,0x6c,0x69,0x74])](_0x1e1227([0x2e]));return _0x568901[_0x1e1227([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x167e72=>_0x167e72[_0x1e1227([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1227([0x2a])))[_0x1e1227([0x6d,0x61,0x70])](_0x34f093=>_0x34f093[_0x1e1227([0x73,0x70,0x6c,0x69,0x74])](_0x1e1227([0x2e])))[_0x1e1227([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43b9d0=>_0x43b9d0[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5524fc[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e1227([0x6d,0x61,0x70])](_0x1c8c91=>Array(_0x5524fc[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c8c91[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e1227([0x66,0x69,0x6c,0x6c])](_0x1c8c91[0x0]===_0x1e1227([0x2a])?_0x1e1227([0x2a]):'')[_0x1e1227([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c8c91))[_0x1e1227([0x73,0x6f,0x6d,0x65])](_0x4c7fd6=>_0x5524fc[_0x1e1227([0x65,0x76,0x65,0x72,0x79])]((_0x3120b3,_0x4094af)=>_0x4c7fd6[_0x4094af]===_0x3120b3||_0x4c7fd6[_0x4094af]===_0x1e1227([0x2a])));}function _0x20b2c0(){return _0x38f760&&_0x3d50f2?new window[(_0x1e1227([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x104e43,_0x351321)=>{_0x38f760[_0x1e1227([0x74,0x68,0x65,0x6e])](_0x104e43,_0x351321),_0x3d50f2[_0x1e1227([0x74,0x68,0x65,0x6e])](_0x501c81=>{_0x501c81!=_0x1e1227([0x56,0x61,0x6c,0x69,0x64])&&_0x104e43(_0x501c81);},_0x351321);}):_0x38f760||_0x3d50f2||_0x1e1227([0x56,0x61,0x6c,0x69,0x64]);}}function _0x18d3ea(_0x52bf62,_0x495abf){return new window[(_0x1e1227([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d1790=>{if(_0xf9025b())return _0x2d1790(_0x1e1227([0x56,0x61,0x6c,0x69,0x64]));_0x435f05(),_0x26067b[_0x1e1227([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e1227([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58540a=!0x1;const _0x1ebf82=_0x3d0d6();function _0x1a7b42(_0x33f497){return!!_0x33f497&&(typeof _0x33f497===_0x1e1227([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33f497===_0x1e1227([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33f497[_0x1e1227([0x74,0x68,0x65,0x6e])]===_0x1e1227([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33f497[_0x1e1227([0x63,0x61,0x74,0x63,0x68])]===_0x1e1227([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf51720(_0x227ab9){_0x540663(_0x227ab9)[_0x1e1227([0x74,0x68,0x65,0x6e])](_0x35f045=>{if(!_0x35f045||_0x35f045[_0x1e1227([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e1227([0x6f,0x6b]))return _0x1e1227([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54785d(_0x22621c(_0x1ebf82+_0x495abf))!=_0x35f045[_0x1e1227([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e1227([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e1227([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e1227([0x74,0x68,0x65,0x6e])](_0x33737e=>(_0xee5788(),_0x33737e),()=>{const _0x580dbf=_0x5f120e();return null==_0x580dbf?(_0xee5788(),_0x1e1227([0x56,0x61,0x6c,0x69,0x64])):_0x1e1227(_0x591c35-_0x580dbf>(0x5778dc5f^_0x38f8a1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e1227([0x74,0x68,0x65,0x6e])](_0x2d1790)[_0x1e1227([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d1790(_0x1e1227([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x466daf=0x7342b6df^_0x38f8a1;function _0xee5788(){const _0x495d6a=_0x1e1227([0x6c,0x6c,0x63,0x74,0x2d])+_0x54785d(_0x22621c(_0x52bf62)),_0x4a402f=_0x16207c(_0x54785d(window[_0x1e1227([0x4d,0x61,0x74,0x68])][_0x1e1227([0x63,0x65,0x69,0x6c])](_0x591c35/_0x466daf)));window[_0x1e1227([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e1227([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x495d6a,_0x4a402f);}function _0x5f120e(){const _0x43f53b=_0x1e1227([0x6c,0x6c,0x63,0x74,0x2d])+_0x54785d(_0x22621c(_0x52bf62)),_0x2cb062=window[_0x1e1227([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e1227([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43f53b);return _0x2cb062?window[_0x1e1227([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16207c(_0x2cb062),0x10)*_0x466daf:null;}function _0x540663(_0x2b205a){return new window[(_0x1e1227([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f6d1a,_0x38cade)=>{_0x2b205a[_0x1e1227([0x74,0x68,0x65,0x6e])](_0x1f6d1a,_0x38cade),window[_0x1e1227([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38cade,0x73758c9f^_0x38f8a1);});}}_0x26067b[_0x1e1227([0x6f,0x6e])](_0x1e1227([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fb8f1,_0x2d2af4)=>{if(_0x2d2af4[0x0]!=_0x52bf62)return _0x2d1790(_0x1e1227([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d2af4[0x1]={..._0x2d2af4[0x1],[_0x1e1227([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ebf82};},{[_0x1e1227([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e1227([0x68,0x69,0x67,0x68])}),_0x26067b[_0x1e1227([0x6f,0x6e])](_0x1e1227([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x74b730=>{_0x1a7b42(_0x74b730[_0x1e1227([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58540a=!0x0,_0xf51720(_0x74b730[_0x1e1227([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e1227([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e1227([0x6c,0x6f,0x77])}),_0x5d35a1[_0x1e1227([0x74,0x68,0x65,0x6e])](()=>{_0x58540a||_0x2d1790(_0x1e1227([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf9025b(){return _0x26067b[_0x1e1227([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e1227([0x76,0x69,0x65,0x77])][_0x1e1227([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e1227([0x61,0x75,0x74,0x6f]);}function _0x435f05(){_0x26067b[_0x1e1227([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e1227([0x76,0x69,0x65,0x77])][_0x1e1227([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e1227([0x61,0x75,0x74,0x6f]);}}function _0x27b611(_0x38ac90){const _0x2d3958=[new window[(_0x1e1227([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x556be4=>setTimeout(_0x556be4,0x737d6693^_0x38f8a1)),_0x5d35a1[_0x1e1227([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e1227([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7a6bc8=>{let _0x56e808=0x0;_0x26067b[_0x1e1227([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e1227([0x6f,0x6e])](_0x1e1227([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54bffc,_0x4d9ea9)=>{_0x4d9ea9[0x0][_0x1e1227([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56e808++,_0x56e808==(0x73745db7^_0x38f8a1)&&(_0x7a6bc8(),_0x54bffc[_0x1e1227([0x6f,0x66,0x66])]());});}))];return window[_0x1e1227([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e1227([0x72,0x61,0x63,0x65])](_0x2d3958)[_0x1e1227([0x74,0x68,0x65,0x6e])](()=>_0x38ac90);}async function _0x2b30d8(){await _0x5d35a1,_0x26067b[_0x1e1227([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e1227([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22e68b,_0x26067b[_0x1e1227([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e1227([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22e68b,_0x26067b[_0x1e1227([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e1227([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x494262(){return window[_0x1e1227([0x67,0x6c,0x6f,0x62])]&&window[_0x1e1227([0x67,0x6c,0x6f,0x62])][_0x1e1227([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2f58bd(_0x40e14a){const _0x33ccdb=_0x355a80();_0x26067b[_0x33ccdb]=_0x1e1227([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40e14a,_0x40e14a!=_0x1e1227([0x56,0x61,0x6c,0x69,0x64])&&_0x2b30d8();}function _0x355a80(){const _0x554349=window[_0x1e1227([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e1227([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e1227([0x6e,0x6f,0x77])]())[_0x1e1227([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e1227([0x2e]),'');let _0x445b09=_0x1e1227([0x73]);for(let _0x2a2deb=0x0;_0x2a2deb<_0x554349[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a2deb+=0x2){let _0x3aa4ed=window[_0x1e1227([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x554349[_0x1e1227([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a2deb,_0x2a2deb+0x2));_0x3aa4ed>=_0x9765f7[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3aa4ed-=_0x9765f7[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x445b09+=_0x9765f7[_0x3aa4ed];}return _0x445b09;}function _0x3f9c97(){const _0x30580d=_0x1ff540[_0x1e1227([0x73,0x70,0x6c,0x69,0x74])](_0x1e1227([0x2e]));if(0x3!=_0x30580d[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x283a4e(_0x30580d[0x1]);function _0x283a4e(_0x222e0b){const _0x3532d3=_0x33d3b6(_0x222e0b);return _0x3532d3&&_0x527826()?_0x3532d3:null;function _0x527826(){const _0x6783e=_0x3532d3[_0x1e1227([0x6a,0x74,0x69])],_0x12486c=window[_0x1e1227([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6783e[_0x1e1227([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6783e[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x556166={..._0x3532d3,[_0x1e1227([0x6a,0x74,0x69])]:_0x6783e[_0x1e1227([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6783e[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x556166[_0x1e1227([0x76,0x63])],_0x22621c(_0x556166)==_0x12486c;}}}async function _0x390069(){let _0x8e9984=!0x0;try{const _0x215e15=_0x1ff540[_0x1e1227([0x73,0x70,0x6c,0x69,0x74])](_0x1e1227([0x2e])),[_0x1bdbf4,_0x56ee25,_0x21fbce]=_0x215e15;return _0x1bb501(_0x1bdbf4),await _0x58f2ba(_0x1bdbf4,_0x56ee25,_0x21fbce),_0x8e9984;}catch{return!0x1;}function _0x1bb501(_0x49e21d){const _0x211bf2=_0x33d3b6(_0x49e21d);_0x211bf2&&_0x211bf2[_0x1e1227([0x61,0x6c,0x67])]==_0x1e1227([0x45,0x53,0x32,0x35,0x36])||(_0x8e9984=!0x1);}async function _0x58f2ba(_0x236e83,_0x5eb0ef,_0x48ec2d){const _0x200d69=window[_0x1e1227([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e1227([0x66,0x72,0x6f,0x6d])](_0x5c9c3d(_0x48ec2d),_0x51b2d1=>_0x51b2d1[_0x1e1227([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f03b7=new window[(_0x1e1227([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e1227([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x236e83+_0x1e1227([0x2e])+_0x5eb0ef),_0x37c523=window[_0x1e1227([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e1227([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37c523)return;const _0x10e605=await _0x37c523[_0x1e1227([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e1227([0x6a,0x77,0x6b]),_0x421436,{[_0x1e1227([0x6e,0x61,0x6d,0x65])]:_0x1e1227([0x45,0x43,0x44,0x53,0x41]),[_0x1e1227([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e1227([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e1227([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37c523[_0x1e1227([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e1227([0x6e,0x61,0x6d,0x65])]:_0x1e1227([0x45,0x43,0x44,0x53,0x41]),[_0x1e1227([0x68,0x61,0x73,0x68])]:{[_0x1e1227([0x6e,0x61,0x6d,0x65])]:_0x1e1227([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10e605,_0x200d69,_0x5f03b7)||(_0x8e9984=!0x1);}}function _0x33d3b6(_0xfab717){return _0xfab717[_0x1e1227([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e1227([0x65,0x79]))?JSON[_0x1e1227([0x70,0x61,0x72,0x73,0x65])](_0x5c9c3d(_0xfab717)):null;}function _0x5c9c3d(_0x41cd4f){return window[_0x1e1227([0x61,0x74,0x6f,0x62])](_0x41cd4f[_0x1e1227([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e1227([0x2b]))[_0x1e1227([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e1227([0x2f])));}function _0x22621c(_0x48e33d){let _0x375fb4=0x1505;function _0x5c0d18(_0x21b9cc){for(let _0x3a0c06=0x0;_0x3a0c06<_0x21b9cc[_0x1e1227([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a0c06++){const _0x5455c4=_0x21b9cc[_0x1e1227([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a0c06);_0x375fb4=(_0x375fb4<<0x5)+_0x375fb4+_0x5455c4,_0x375fb4&=_0x375fb4;}}function _0x3e5434(_0xbd9d01){Array[_0x1e1227([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbd9d01)?_0xbd9d01[_0x1e1227([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e5434):_0xbd9d01&&typeof _0xbd9d01==_0x1e1227([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e1227([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbd9d01)[_0x1e1227([0x73,0x6f,0x72,0x74])]()[_0x1e1227([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e1cd4,_0x33e462])=>{_0x5c0d18(_0x3e1cd4),_0x3e5434(_0x33e462);}):_0x5c0d18(window[_0x1e1227([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbd9d01));}return _0x3e5434(_0x48e33d),_0x375fb4>>>0x0;}function _0x54785d(_0x2af733){return _0x2af733[_0x1e1227([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e1227([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e1227([0x30]));}function _0x16207c(_0xe00aeb){return _0xe00aeb[_0x1e1227([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e1227([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e1227([0x6a,0x6f,0x69,0x6e])]('');}function _0x22e68b(){}function _0x1e1227(_0x490bfa){return _0x490bfa['map'](_0x155530=>String['fromCharCode'](_0x155530))['join']('');}_0x2f58bd(await _0xf3efbf());}(this);}}const E=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],L=['color','font-family','font-size'],F={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x1bd150=>Number(_0x1bd150)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function P(_0x4cf958){return E['includes'](_0x4cf958);}function g(_0x47cf71){return Array['from'](_0x47cf71['getStyleNames']())['filter'](P);}function b(_0xb0d62f,_0x3277ff,_0x47e2af){const {spanStyles:_0x510be1,stylesToBeHtmlElements:_0x527861}=function(_0x1e6bcf,_0x1b45c6){const _0x13814d={},_0x42818a={};return _0x1b45c6['forEach'](_0x465e21=>{const _0x8cfa18=_0x1e6bcf['getStyle'](_0x465e21);if(_0x8cfa18){if(function(_0x2396f7){return L['includes'](_0x2396f7);}(_0x465e21))_0x13814d[_0x465e21]=_0x8cfa18;else{if(function(_0x3d0a69){return _0x3d0a69 in F;}(_0x465e21)){const _0x475cf2=_0x8cfa18['split']('\x20');F[_0x465e21]['forEach'](([_0x424cec,_0x4e9710])=>{for(const _0x5e1254 of _0x475cf2){('function'==typeof _0x424cec&&_0x424cec(_0x5e1254)||_0x424cec===_0x5e1254)&&(_0x42818a[_0x465e21]=[..._0x42818a[_0x465e21]||[],[_0x424cec,_0x4e9710]]);}});}}}}),{'spanStyles':_0x13814d,'stylesToBeHtmlElements':_0x42818a};}(_0xb0d62f,_0x47e2af);!function(_0x42dfb7,_0x17a99b,_0x55ce3d){for(const _0x1102fd in _0x55ce3d){_0x55ce3d[_0x1102fd]['forEach'](([,_0x111017])=>{const _0x23338b=_0x17a99b['createElement'](_0x111017,[],_0x42dfb7['getChildren']());_0x17a99b['insertChild'](0x0,_0x23338b,_0x42dfb7);}),_0x17a99b['removeStyle'](_0x1102fd,_0x42dfb7);}}(_0xb0d62f,_0x3277ff,_0x527861),function(_0x55700a,_0x58a3b9,_0x3ba7cc){if(!Object['keys'](_0x3ba7cc)['length'])return;const _0x525152=_0x58a3b9['createElement']('span',[],_0x55700a['getChildren']());_0x58a3b9['setStyle'](_0x3ba7cc,_0x525152),_0x58a3b9['insertChild'](0x0,_0x525152,_0x55700a),_0x58a3b9['removeStyle'](Object['keys'](_0x3ba7cc),_0x55700a);}(_0xb0d62f,_0x3277ff,_0x510be1);}class a extends _0xcbdc22{['execute'](_0x223934){const {body:_0x1a81a0}=_0x223934['_parsedData'],_0x18f648=new _0x4721f7(_0x1a81a0['document']),_0x514cd1=_0x18f648['createRangeIn'](_0x1a81a0),_0x237d18=new _0x165457(_0x18f648['document']['stylesProcessor']),_0x466766=[...new _0x2e1549(_0x237d18)['blockElements'],'font'],_0x2ce0fe=_0x514cd1['getItems']();for(const _0x41ca70 of _0x2ce0fe)_0x41ca70['is']('element')&&_0x466766['includes'](_0x41ca70['name'])&&b(_0x41ca70,_0x18f648,g(_0x41ca70));_0x223934['content']=_0x1a81a0;}['isActive'](_0x26a8fb){return super['isActive'](_0x26a8fb)||p(_0x26a8fb);}}class s extends _0x199c5a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x566cfc=this['editor'],_0x15f633=_0x566cfc['plugins']['get']('ClipboardPipeline'),_0x5d45de=_0x566cfc['editing']['view']['document'],_0x4eb255=new a(_0x5d45de);_0x15f633['on']('inputTransformation',(_0x34d90b,_0x143b1f)=>{const _0x1a093e=_0x143b1f['dataTransfer']['getData']('text/html');_0x4eb255['isActive'](_0x1a093e)&&(_0x143b1f['_parsedData']||(_0x143b1f['_parsedData']=_0x1ed49c(_0x1a093e,_0x5d45de['stylesProcessor'])),_0x4eb255['execute'](_0x143b1f));},{'priority':_0x722192['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x33df21=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x426613;for(const _0x291af3 in _0x33df21){const _0x10c3d1=_0x291af3,_0x261b0c=_0x33df21[_0x10c3d1];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x261b0c||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x261b0c||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x261b0c||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x261b0c||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x261b0c||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x261b0c||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x261b0c){delete _0x33df21[_0x10c3d1],_0x426613=_0x261b0c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x426613&&_0x33df21['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x426613&&_0x33df21['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x426613&&_0x33df21['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x426613&&_0x33df21['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x426613&&_0x33df21['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x426613&&_0x33df21['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class K extends _0x199c5a{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',i,s];}}export{K as PasteFromOfficeEnhanced};
|
|
23
|
+
import{Plugin as _0x6a069b}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x2a41e,parsePasteOfficeHtml as _0x2099ce}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x438d9c,uid as _0x29cc27}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x562b57,ViewDocument as _0x4b895f,ViewDomConverter as _0x1f43ae}from'@ckeditor/ckeditor5-engine/dist/index.js';const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function j(_0x56251e){return m['test'](_0x56251e);}const C=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function S(_0x476545,_0x3034ee){const _0x16b712=new Map();for(const [_0x4ce729,_0x47b8e4]of _0x3034ee){if(!_0x4ce729['tagName']&&!_0x4ce729['className'])continue;const _0x593d95=!_0x4ce729['tagName']||_0x476545['name']===_0x4ce729['tagName'],_0x2e8687=!_0x4ce729['className']||_0x476545['hasClass'](_0x4ce729['className']);_0x593d95&&_0x2e8687&&_0x16b712['set'](_0x4ce729,_0x47b8e4);}return _0x16b712;}function h(_0x4a58df){const _0x51c634={};for(let _0x3ca70f=0x0;_0x3ca70f<_0x4a58df['length'];_0x3ca70f++){const _0x423410=_0x4a58df[_0x3ca70f],_0x1e8bf6=_0x4a58df['getPropertyValue'](_0x423410);'initial'!==_0x1e8bf6&&(_0x51c634[_0x423410]=_0x1e8bf6);}return _0x51c634;}function g(_0x109727){const _0x487514=_0x109727['split'](',')['map'](_0x520042=>_0x520042['trim']()),_0x3a74bf=[];for(const _0x45b737 of _0x487514){const _0x40e224=C['exec'](_0x45b737);_0x40e224&&_0x3a74bf['push'](_0x40e224['groups']);}return _0x3a74bf;}function A(_0x371e1e){const _0x1a106e={};for(const _0x4cac9b of _0x371e1e)Object['assign'](_0x1a106e,_0x4cac9b);return _0x1a106e;}class c extends _0x2a41e{['execute'](_0x51433f){const {body:_0x1d9fdd,styles:_0x9ae9ff}=_0x51433f['_parsedData'],_0x56d781=new _0x562b57(_0x1d9fdd['document']),_0x3f875a=_0x56d781['createRangeIn'](_0x1d9fdd),_0x2a0db2=function(_0x37d173){const _0x5d0f38={};for(const _0x563428 of _0x37d173)for(const _0x5b273e of _0x563428['cssRules'])if(_0x5b273e instanceof CSSStyleRule){const _0x3ed04d=h(_0x5b273e['style']);_0x5d0f38[_0x5b273e['selectorText']]=Object['assign']({},_0x5d0f38[_0x5b273e['selectorText']]||{},_0x3ed04d);}return _0x5d0f38;}(_0x9ae9ff),_0x53c52a=function(_0x4b056b){const _0x4eb60b=new Map();for(const _0x93724e in _0x4b056b){const _0x2b450f=g(_0x93724e),_0xd2bba1=_0x4b056b[_0x93724e];for(const _0x9d5f8f of _0x2b450f)_0x4eb60b['set'](_0x9d5f8f,_0xd2bba1);}return _0x4eb60b;}(_0x2a0db2);for(const _0x5a6b62 of _0x3f875a){if('elementStart'!==_0x5a6b62['type'])continue;const _0x31660b=S(_0x5a6b62['item'],_0x53c52a);if(_0x31660b['size']){const _0x3d2c98=A(Array['from'](_0x31660b['values']()));for(const _0x19c510 in _0x3d2c98){const _0x720984=_0x5a6b62['item'];_0x720984['hasStyle'](_0x19c510)||_0x56d781['setStyle'](_0x19c510,_0x3d2c98[_0x19c510],_0x720984);}}}_0x51433f['content']=_0x1d9fdd;}['isActive'](_0x3c6ad8){return super['isActive'](_0x3c6ad8)||j(_0x3c6ad8);}}class i extends _0x6a069b{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x45360a=this['editor'],_0x275654=_0x45360a['plugins']['get']('ClipboardPipeline'),_0xaee1ef=_0x45360a['editing']['view']['document'],_0x3fc7cc=new c(_0xaee1ef);_0x275654['on']('inputTransformation',(_0x25fd29,_0x2f42c0)=>{const _0x341163=_0x2f42c0['dataTransfer']['getData']('text/html');_0x3fc7cc['isActive'](_0x341163)&&(_0x2f42c0['_parsedData']||(_0x2f42c0['_parsedData']=_0x2099ce(_0x341163,_0xaee1ef['stylesProcessor'])),_0x3fc7cc['execute'](_0x2f42c0));},{'priority':_0x438d9c['get']('high')+0xb});}['afterInit'](){!async function(_0x158e98){const _0x2ab0a3=_0x381c7e([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x180988=0x7374585f,_0x45877d=0x7373d04f^_0x180988,_0x5096fa=window[_0x381c7e([0x44,0x61,0x74,0x65])][_0x381c7e([0x6e,0x6f,0x77])](),_0x5a7219=_0x158e98[_0x381c7e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x498b1c=new window[(_0x381c7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c2365=>{_0x5a7219[_0x381c7e([0x6f,0x6e,0x63,0x65])](_0x381c7e([0x72,0x65,0x61,0x64,0x79]),_0x4c2365);}),_0x3e6abb={[_0x381c7e([0x6b,0x74,0x79])]:_0x381c7e([0x45,0x43]),[_0x381c7e([0x75,0x73,0x65])]:_0x381c7e([0x73,0x69,0x67]),[_0x381c7e([0x63,0x72,0x76])]:_0x381c7e([0x50,0x2d,0x32,0x35,0x36]),[_0x381c7e([0x78])]:_0x381c7e([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]),[_0x381c7e([0x79])]:_0x381c7e([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]),[_0x381c7e([0x61,0x6c,0x67])]:_0x381c7e([0x45,0x53,0x32,0x35,0x36])},_0x3b5201=_0x5a7219[_0x381c7e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x381c7e([0x67,0x65,0x74])](_0x381c7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4aa7bd(){let _0x479450,_0x1e5f1c=null,_0x490925=null;try{if(_0x3b5201==_0x381c7e([0x47,0x50,0x4c]))return _0x381c7e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x479450=_0x33d2ca(),!_0x479450)return _0x381c7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x479450[_0x381c7e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x490925=_0x556278(_0x479450[_0x381c7e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x479450[_0x381c7e([0x6a,0x74,0x69])])),await _0x1429c1()?_0x234877()?_0x40e419()?_0x381c7e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x15eddd()?(_0x479450[_0x381c7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x381c7e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e5f1c=_0xf0d430(_0x381c7e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x131fee()):_0x381c7e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x381c7e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x381c7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x381c7e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40e419(){const _0x38fd02=[_0x381c7e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x381c7e([0x74,0x72,0x69,0x61,0x6c])][_0x381c7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x479450[_0x381c7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5096fa/0x3e8:0xe10*_0x45877d;return _0x479450[_0x381c7e([0x65,0x78,0x70])]<_0x38fd02;}function _0x234877(){const _0x986f9a=_0x479450[_0x381c7e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x986f9a&&(!!_0x986f9a[_0x381c7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x381c7e([0x2a]))||(!!_0x986f9a[_0x381c7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x381c7e([0x50,0x4f,0x45]))||(!!_0x986f9a[_0x381c7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x381c7e([0x50,0x50]))||!(!_0x986f9a[_0x381c7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x381c7e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2ad19e()))));}function _0x15eddd(){const _0x2226f9=_0x479450[_0x381c7e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2226f9||0x0==_0x2226f9[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b968a}=new URL(window[_0x381c7e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2226f9[_0x381c7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b968a))return!0x0;const _0x546759=_0x4b968a[_0x381c7e([0x73,0x70,0x6c,0x69,0x74])](_0x381c7e([0x2e]));return _0x2226f9[_0x381c7e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18ecc2=>_0x18ecc2[_0x381c7e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x381c7e([0x2a])))[_0x381c7e([0x6d,0x61,0x70])](_0x29fa2e=>_0x29fa2e[_0x381c7e([0x73,0x70,0x6c,0x69,0x74])](_0x381c7e([0x2e])))[_0x381c7e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5eb223=>_0x5eb223[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x546759[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x381c7e([0x6d,0x61,0x70])](_0x3708ff=>Array(_0x546759[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3708ff[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x381c7e([0x66,0x69,0x6c,0x6c])](_0x3708ff[0x0]===_0x381c7e([0x2a])?_0x381c7e([0x2a]):'')[_0x381c7e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3708ff))[_0x381c7e([0x73,0x6f,0x6d,0x65])](_0x2a35c8=>_0x546759[_0x381c7e([0x65,0x76,0x65,0x72,0x79])]((_0x4af576,_0x25b713)=>_0x2a35c8[_0x25b713]===_0x4af576||_0x2a35c8[_0x25b713]===_0x381c7e([0x2a])));}function _0x131fee(){return _0x1e5f1c&&_0x490925?new window[(_0x381c7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4812f6,_0x58ba55)=>{_0x1e5f1c[_0x381c7e([0x74,0x68,0x65,0x6e])](_0x4812f6,_0x58ba55),_0x490925[_0x381c7e([0x74,0x68,0x65,0x6e])](_0x4e75e8=>{_0x4e75e8!=_0x381c7e([0x56,0x61,0x6c,0x69,0x64])&&_0x4812f6(_0x4e75e8);},_0x58ba55);}):_0x1e5f1c||_0x490925||_0x381c7e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x556278(_0x4459c9,_0x45562e){return new window[(_0x381c7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x403e74=>{if(_0x3627ad())return _0x403e74(_0x381c7e([0x56,0x61,0x6c,0x69,0x64]));_0x1d8ab8(),_0x5a7219[_0x381c7e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x381c7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58cca9=!0x1;const _0x21c65e=_0x29cc27();function _0x12bb06(_0x2f87b9){return!!_0x2f87b9&&(typeof _0x2f87b9===_0x381c7e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f87b9===_0x381c7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f87b9[_0x381c7e([0x74,0x68,0x65,0x6e])]===_0x381c7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f87b9[_0x381c7e([0x63,0x61,0x74,0x63,0x68])]===_0x381c7e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xac34a6(_0x4180ce){_0x3ed441(_0x4180ce)[_0x381c7e([0x74,0x68,0x65,0x6e])](_0x2a45ad=>{if(!_0x2a45ad||_0x2a45ad[_0x381c7e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x381c7e([0x6f,0x6b]))return _0x381c7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x479cb7(_0x4abe1a(_0x21c65e+_0x45562e))!=_0x2a45ad[_0x381c7e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x381c7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x381c7e([0x56,0x61,0x6c,0x69,0x64]);})[_0x381c7e([0x74,0x68,0x65,0x6e])](_0x4e0891=>(_0x1f4a47(),_0x4e0891),()=>{const _0x49d412=_0xd3fc7c();return null==_0x49d412?(_0x1f4a47(),_0x381c7e([0x56,0x61,0x6c,0x69,0x64])):_0x381c7e(_0x5096fa-_0x49d412>(0x5778dc5f^_0x180988)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x381c7e([0x74,0x68,0x65,0x6e])](_0x403e74)[_0x381c7e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x403e74(_0x381c7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4677b8=0x7342b6df^_0x180988;function _0x1f4a47(){const _0x2d2b3e=_0x381c7e([0x6c,0x6c,0x63,0x74,0x2d])+_0x479cb7(_0x4abe1a(_0x4459c9)),_0x78762b=_0x4f2af6(_0x479cb7(window[_0x381c7e([0x4d,0x61,0x74,0x68])][_0x381c7e([0x63,0x65,0x69,0x6c])](_0x5096fa/_0x4677b8)));window[_0x381c7e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x381c7e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d2b3e,_0x78762b);}function _0xd3fc7c(){const _0x574139=_0x381c7e([0x6c,0x6c,0x63,0x74,0x2d])+_0x479cb7(_0x4abe1a(_0x4459c9)),_0x2b8c5b=window[_0x381c7e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x381c7e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x574139);return _0x2b8c5b?window[_0x381c7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f2af6(_0x2b8c5b),0x10)*_0x4677b8:null;}function _0x3ed441(_0x4a022d){return new window[(_0x381c7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39d20f,_0x49c771)=>{_0x4a022d[_0x381c7e([0x74,0x68,0x65,0x6e])](_0x39d20f,_0x49c771),window[_0x381c7e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49c771,0x73758c9f^_0x180988);});}}_0x5a7219[_0x381c7e([0x6f,0x6e])](_0x381c7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e335b,_0x2a7d0f)=>{if(_0x2a7d0f[0x0]!=_0x4459c9)return _0x403e74(_0x381c7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a7d0f[0x1]={..._0x2a7d0f[0x1],[_0x381c7e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21c65e};},{[_0x381c7e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x381c7e([0x68,0x69,0x67,0x68])}),_0x5a7219[_0x381c7e([0x6f,0x6e])](_0x381c7e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3007e7=>{_0x12bb06(_0x3007e7[_0x381c7e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58cca9=!0x0,_0xac34a6(_0x3007e7[_0x381c7e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x381c7e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x381c7e([0x6c,0x6f,0x77])}),_0x498b1c[_0x381c7e([0x74,0x68,0x65,0x6e])](()=>{_0x58cca9||_0x403e74(_0x381c7e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3627ad(){return _0x5a7219[_0x381c7e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x381c7e([0x76,0x69,0x65,0x77])][_0x381c7e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x381c7e([0x61,0x75,0x74,0x6f]);}function _0x1d8ab8(){_0x5a7219[_0x381c7e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x381c7e([0x76,0x69,0x65,0x77])][_0x381c7e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x381c7e([0x61,0x75,0x74,0x6f]);}}function _0xf0d430(_0x45ad07){const _0x5dfcc8=[new window[(_0x381c7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdb8aa5=>setTimeout(_0xdb8aa5,0x737d6693^_0x180988)),_0x498b1c[_0x381c7e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x381c7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48ed9e=>{let _0x185a5a=0x0;_0x5a7219[_0x381c7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x381c7e([0x6f,0x6e])](_0x381c7e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f787c,_0x2ab14a)=>{_0x2ab14a[0x0][_0x381c7e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x185a5a++,_0x185a5a==(0x73745db7^_0x180988)&&(_0x48ed9e(),_0x5f787c[_0x381c7e([0x6f,0x66,0x66])]());});}))];return window[_0x381c7e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x381c7e([0x72,0x61,0x63,0x65])](_0x5dfcc8)[_0x381c7e([0x74,0x68,0x65,0x6e])](()=>_0x45ad07);}async function _0x5579e8(){await _0x498b1c,_0x5a7219[_0x381c7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x381c7e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdc40,_0x5a7219[_0x381c7e([0x6d,0x6f,0x64,0x65,0x6c])][_0x381c7e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdc40,_0x5a7219[_0x381c7e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x381c7e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ad19e(){return window[_0x381c7e([0x67,0x6c,0x6f,0x62])]&&window[_0x381c7e([0x67,0x6c,0x6f,0x62])][_0x381c7e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x68114(_0x2d2573){const _0x1a7bc0=_0x2e3364();_0x5a7219[_0x1a7bc0]=_0x381c7e([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d2573,_0x2d2573!=_0x381c7e([0x56,0x61,0x6c,0x69,0x64])&&_0x5579e8();}function _0x2e3364(){const _0x1ed515=window[_0x381c7e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x381c7e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x381c7e([0x6e,0x6f,0x77])]())[_0x381c7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x381c7e([0x2e]),'');let _0x1caeb4=_0x381c7e([0x73]);for(let _0x5a3720=0x0;_0x5a3720<_0x1ed515[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a3720+=0x2){let _0x464614=window[_0x381c7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ed515[_0x381c7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a3720,_0x5a3720+0x2));_0x464614>=_0x2ab0a3[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x464614-=_0x2ab0a3[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1caeb4+=_0x2ab0a3[_0x464614];}return _0x1caeb4;}function _0x33d2ca(){const _0x24daf1=_0x3b5201[_0x381c7e([0x73,0x70,0x6c,0x69,0x74])](_0x381c7e([0x2e]));if(0x3!=_0x24daf1[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11d2fa(_0x24daf1[0x1]);function _0x11d2fa(_0x42acad){const _0x5024f5=_0x7e2353(_0x42acad);return _0x5024f5&&_0x3c447b()?_0x5024f5:null;function _0x3c447b(){const _0x5a18b0=_0x5024f5[_0x381c7e([0x6a,0x74,0x69])],_0x32c10b=window[_0x381c7e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a18b0[_0x381c7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a18b0[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36a74a={..._0x5024f5,[_0x381c7e([0x6a,0x74,0x69])]:_0x5a18b0[_0x381c7e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a18b0[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36a74a[_0x381c7e([0x76,0x63])],_0x4abe1a(_0x36a74a)==_0x32c10b;}}}async function _0x1429c1(){let _0x2323d5=!0x0;try{const _0x46620f=_0x3b5201[_0x381c7e([0x73,0x70,0x6c,0x69,0x74])](_0x381c7e([0x2e])),[_0x265a8d,_0x336e95,_0x20947a]=_0x46620f;return _0x5b44c5(_0x265a8d),await _0xd44175(_0x265a8d,_0x336e95,_0x20947a),_0x2323d5;}catch{return!0x1;}function _0x5b44c5(_0x38765a){const _0x3b713d=_0x7e2353(_0x38765a);_0x3b713d&&_0x3b713d[_0x381c7e([0x61,0x6c,0x67])]==_0x381c7e([0x45,0x53,0x32,0x35,0x36])||(_0x2323d5=!0x1);}async function _0xd44175(_0x18a491,_0x527976,_0x1af964){const _0x26318b=window[_0x381c7e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x381c7e([0x66,0x72,0x6f,0x6d])](_0x144914(_0x1af964),_0x535eb2=>_0x535eb2[_0x381c7e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x15cbf2=new window[(_0x381c7e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x381c7e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18a491+_0x381c7e([0x2e])+_0x527976),_0x1fb6b0=window[_0x381c7e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x381c7e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1fb6b0)return;const _0x3577cc=await _0x1fb6b0[_0x381c7e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x381c7e([0x6a,0x77,0x6b]),_0x3e6abb,{[_0x381c7e([0x6e,0x61,0x6d,0x65])]:_0x381c7e([0x45,0x43,0x44,0x53,0x41]),[_0x381c7e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x381c7e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x381c7e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1fb6b0[_0x381c7e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x381c7e([0x6e,0x61,0x6d,0x65])]:_0x381c7e([0x45,0x43,0x44,0x53,0x41]),[_0x381c7e([0x68,0x61,0x73,0x68])]:{[_0x381c7e([0x6e,0x61,0x6d,0x65])]:_0x381c7e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3577cc,_0x26318b,_0x15cbf2)||(_0x2323d5=!0x1);}}function _0x7e2353(_0xf1f486){return _0xf1f486[_0x381c7e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x381c7e([0x65,0x79]))?JSON[_0x381c7e([0x70,0x61,0x72,0x73,0x65])](_0x144914(_0xf1f486)):null;}function _0x144914(_0x2129a7){return window[_0x381c7e([0x61,0x74,0x6f,0x62])](_0x2129a7[_0x381c7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x381c7e([0x2b]))[_0x381c7e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x381c7e([0x2f])));}function _0x4abe1a(_0x50025b){let _0x38feda=0x1505;function _0x170e9d(_0x1e4013){for(let _0x3cd6c6=0x0;_0x3cd6c6<_0x1e4013[_0x381c7e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cd6c6++){const _0xcd697e=_0x1e4013[_0x381c7e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3cd6c6);_0x38feda=(_0x38feda<<0x5)+_0x38feda+_0xcd697e,_0x38feda&=_0x38feda;}}function _0x57586e(_0x22c767){Array[_0x381c7e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22c767)?_0x22c767[_0x381c7e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57586e):_0x22c767&&typeof _0x22c767==_0x381c7e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x381c7e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22c767)[_0x381c7e([0x73,0x6f,0x72,0x74])]()[_0x381c7e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x317e6d,_0xf4456e])=>{_0x170e9d(_0x317e6d),_0x57586e(_0xf4456e);}):_0x170e9d(window[_0x381c7e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22c767));}return _0x57586e(_0x50025b),_0x38feda>>>0x0;}function _0x479cb7(_0xebec6b){return _0xebec6b[_0x381c7e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x381c7e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x381c7e([0x30]));}function _0x4f2af6(_0x47850a){return _0x47850a[_0x381c7e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x381c7e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x381c7e([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cdc40(){}function _0x381c7e(_0x5b25dd){return _0x5b25dd['map'](_0x76415b=>String['fromCharCode'](_0x76415b))['join']('');}_0x68114(await _0x4aa7bd());}(this);}}const O=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],E=['color','font-family','font-size'],L={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x4d95dc=>Number(_0x4d95dc)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function F(_0x1852d7){return O['includes'](_0x1852d7);}function k(_0x449719){return Array['from'](_0x449719['getStyleNames']())['filter'](F);}function w(_0x595dff,_0x364fb8,_0x102e57){const {spanStyles:_0x2465a8,stylesToBeHtmlElements:_0x4b2b7d}=function(_0x178c6f,_0x2fdba6){const _0x54a3f3={},_0x1bc0bd={};return _0x2fdba6['forEach'](_0x4e0990=>{const _0x45b228=_0x178c6f['getStyle'](_0x4e0990);if(_0x45b228){if(function(_0x5bcb7b){return E['includes'](_0x5bcb7b);}(_0x4e0990))_0x54a3f3[_0x4e0990]=_0x45b228;else{if(function(_0x10dc43){return _0x10dc43 in L;}(_0x4e0990)){const _0x302684=_0x45b228['split']('\x20');L[_0x4e0990]['forEach'](([_0x165348,_0x57c0c7])=>{for(const _0x4c0b07 of _0x302684){('function'==typeof _0x165348&&_0x165348(_0x4c0b07)||_0x165348===_0x4c0b07)&&(_0x1bc0bd[_0x4e0990]=[..._0x1bc0bd[_0x4e0990]||[],[_0x165348,_0x57c0c7]]);}});}}}}),{'spanStyles':_0x54a3f3,'stylesToBeHtmlElements':_0x1bc0bd};}(_0x595dff,_0x102e57);!function(_0x4bcd53,_0x16eda1,_0x20b127){for(const _0x4df046 in _0x20b127){_0x20b127[_0x4df046]['forEach'](([,_0x83f46c])=>{const _0x1c244e=_0x16eda1['createElement'](_0x83f46c,[],_0x4bcd53['getChildren']());_0x16eda1['insertChild'](0x0,_0x1c244e,_0x4bcd53);}),_0x16eda1['removeStyle'](_0x4df046,_0x4bcd53);}}(_0x595dff,_0x364fb8,_0x4b2b7d),function(_0x45c614,_0x5c7419,_0x3a9414){if(!Object['keys'](_0x3a9414)['length'])return;const _0x5a0f35=_0x5c7419['createElement']('span',[],_0x45c614['getChildren']());_0x5c7419['setStyle'](_0x3a9414,_0x5a0f35),_0x5c7419['insertChild'](0x0,_0x5a0f35,_0x45c614),_0x5c7419['removeStyle'](Object['keys'](_0x3a9414),_0x45c614);}(_0x595dff,_0x364fb8,_0x2465a8);}class a extends _0x2a41e{['execute'](_0x181358){const {body:_0x5c12b3}=_0x181358['_parsedData'],_0x5a6829=new _0x562b57(_0x5c12b3['document']),_0x49c464=_0x5a6829['createRangeIn'](_0x5c12b3),_0x295d20=new _0x4b895f(_0x5a6829['document']['stylesProcessor']),_0x39edb9=[...new _0x1f43ae(_0x295d20)['blockElements'],'font'],_0x1f0e48=_0x49c464['getItems']();for(const _0x1bb8c6 of _0x1f0e48)_0x1bb8c6['is']('element')&&_0x39edb9['includes'](_0x1bb8c6['name'])&&w(_0x1bb8c6,_0x5a6829,k(_0x1bb8c6));_0x181358['content']=_0x5c12b3;}['isActive'](_0x53dd68){return super['isActive'](_0x53dd68)||j(_0x53dd68);}}class s extends _0x6a069b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x2522ed=this['editor'],_0x516250=_0x2522ed['plugins']['get']('ClipboardPipeline'),_0x41da81=_0x2522ed['editing']['view']['document'],_0x58d4a0=new a(_0x41da81);_0x516250['on']('inputTransformation',(_0x364a86,_0x36d75d)=>{const _0x3dae62=_0x36d75d['dataTransfer']['getData']('text/html');_0x58d4a0['isActive'](_0x3dae62)&&(_0x36d75d['_parsedData']||(_0x36d75d['_parsedData']=_0x2099ce(_0x3dae62,_0x41da81['stylesProcessor'])),_0x58d4a0['execute'](_0x36d75d));},{'priority':_0x438d9c['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x186180=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x90c3e6;for(const _0x367a93 in _0x186180){const _0x518fbc=_0x367a93,_0x25aeb3=_0x186180[_0x518fbc];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x25aeb3||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x25aeb3||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x25aeb3||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x25aeb3||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x25aeb3||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x25aeb3||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x25aeb3){delete _0x186180[_0x518fbc],_0x90c3e6=_0x25aeb3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x90c3e6&&_0x186180['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x90c3e6&&_0x186180['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x90c3e6&&_0x186180['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x90c3e6&&_0x186180['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x90c3e6&&_0x186180['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x90c3e6&&_0x186180['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class P extends _0x6a069b{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',i,s];}}export{P as PasteFromOfficeEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-paste-from-office-enhanced",
|
|
3
|
-
"version": "47.7.1
|
|
3
|
+
"version": "47.7.1",
|
|
4
4
|
"description": "Enhanced paste from Office feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "47.7.1
|
|
26
|
-
"@ckeditor/ckeditor5-engine": "47.7.1
|
|
27
|
-
"@ckeditor/ckeditor5-paste-from-office": "47.7.1
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "47.7.1
|
|
29
|
-
"ckeditor5": "47.7.1
|
|
25
|
+
"@ckeditor/ckeditor5-core": "47.7.1",
|
|
26
|
+
"@ckeditor/ckeditor5-engine": "47.7.1",
|
|
27
|
+
"@ckeditor/ckeditor5-paste-from-office": "47.7.1",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "47.7.1",
|
|
29
|
+
"ckeditor5": "47.7.1"
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
32
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa5341e=_0x531e;(function(_0x1ac35f,_0x4dc8dc){const _0x518288=_0x531e,_0x4cc3b0=_0x1ac35f();while(!![]){try{const _0x2fc9c1=-parseInt(_0x518288(0x78))/0x1*(-parseInt(_0x518288(0x6f))/0x2)+-parseInt(_0x518288(0x79))/0x3*(-parseInt(_0x518288(0x76))/0x4)+parseInt(_0x518288(0x75))/0x5+-parseInt(_0x518288(0x7c))/0x6*(-parseInt(_0x518288(0x6c))/0x7)+parseInt(_0x518288(0x72))/0x8+parseInt(_0x518288(0x81))/0x9+-parseInt(_0x518288(0x70))/0xa*(parseInt(_0x518288(0x7b))/0xb);if(_0x2fc9c1===_0x4dc8dc)break;else _0x4cc3b0['push'](_0x4cc3b0['shift']());}catch(_0x1a0af4){_0x4cc3b0['push'](_0x4cc3b0['shift']());}}}(_0x3c65,0x655f7));function _0x531e(_0x2210f4,_0x1aa864){const _0x3c6569=_0x3c65();return _0x531e=function(_0x531e9a,_0x2ab4a5){_0x531e9a=_0x531e9a-0x69;let _0x13b862=_0x3c6569[_0x531e9a];return _0x13b862;},_0x531e(_0x2210f4,_0x1aa864);}function _0x3c65(){const _0x31c085=['66igZFgv','6396McYkxz','createRangeIn','execute','content','item','5151843RqnCLC','isActive','type','hasStyle','3115dDdheK','from','size','95804UMotDp','2454740GyqwOo','_parsedData','14504NFPXZf','values','setStyle','1600505qHTlLe','81992VdeIRk','document','1RxMtSj','69yCQQOF','elementStart'];_0x3c65=function(){return _0x31c085;};return _0x3c65();}import{ViewUpcastWriter as _0x11f381}from'ckeditor5/src/engine.js';import{PasteFromOfficeMSWordNormalizer as _0x462193}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0x286717}from'../../utils.js';import{extractStyles as _0x151aaf,expandStyles as _0x1c3ee0,getMatchingStyles as _0x29954f,flattenStyleDefinitions as _0x518c84}from'./utils.js';export class MSOfficeStylesInliner extends _0x462193{[_0xa5341e(0x7e)](_0x192a48){const _0x21d163=_0xa5341e,{body:_0x3c4689,styles:_0x1a8e15}=_0x192a48[_0x21d163(0x71)],_0x407831=new _0x11f381(_0x3c4689[_0x21d163(0x77)]),_0x5cbd96=_0x407831[_0x21d163(0x7d)](_0x3c4689),_0x2d7217=_0x151aaf(_0x1a8e15),_0x55c6f=_0x1c3ee0(_0x2d7217);for(const _0x125cb7 of _0x5cbd96){if(_0x21d163(0x7a)!==_0x125cb7[_0x21d163(0x6a)])continue;const _0x3b9d80=_0x29954f(_0x125cb7[_0x21d163(0x80)],_0x55c6f);if(_0x3b9d80[_0x21d163(0x6e)]){const _0x5301c4=_0x518c84(Array[_0x21d163(0x6d)](_0x3b9d80[_0x21d163(0x73)]()));for(const _0x2d996d in _0x5301c4){const _0x596b5f=_0x125cb7[_0x21d163(0x80)];_0x596b5f[_0x21d163(0x6b)](_0x2d996d)||_0x407831[_0x21d163(0x74)](_0x2d996d,_0x5301c4[_0x2d996d],_0x596b5f);}}}_0x192a48[_0x21d163(0x7f)]=_0x3c4689;}[_0xa5341e(0x69)](_0x15db26){const _0x4f1fd2=_0xa5341e;return super[_0x4f1fd2(0x69)](_0x15db26)||_0x286717(_0x15db26);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3aeec2,_0x13cef3){const _0xff5d23=_0x1280,_0x29f657=_0x3aeec2();while(!![]){try{const _0x5d325c=parseInt(_0xff5d23(0xeb))/0x1*(-parseInt(_0xff5d23(0xf8))/0x2)+-parseInt(_0xff5d23(0xdf))/0x3+parseInt(_0xff5d23(0xf0))/0x4+parseInt(_0xff5d23(0xe4))/0x5+parseInt(_0xff5d23(0xf5))/0x6+parseInt(_0xff5d23(0xed))/0x7*(-parseInt(_0xff5d23(0xf6))/0x8)+-parseInt(_0xff5d23(0xf9))/0x9;if(_0x5d325c===_0x13cef3)break;else _0x29f657['push'](_0x29f657['shift']());}catch(_0x340f32){_0x29f657['push'](_0x29f657['shift']());}}}(_0x3e81,0xdb51b));const C=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;export function getMatchingStyles(_0x4680f7,_0x4ab77e){const _0x211aa2=_0x1280,_0x250050=new Map();for(const [_0x301210,_0x2f7f89]of _0x4ab77e){if(!_0x301210[_0x211aa2(0xe7)]&&!_0x301210[_0x211aa2(0xe0)])continue;const _0x29d7da=!_0x301210[_0x211aa2(0xe7)]||_0x4680f7[_0x211aa2(0xe1)]===_0x301210[_0x211aa2(0xe7)],_0x59eac4=!_0x301210[_0x211aa2(0xe0)]||_0x4680f7[_0x211aa2(0xe6)](_0x301210[_0x211aa2(0xe0)]);_0x29d7da&&_0x59eac4&&_0x250050[_0x211aa2(0xf2)](_0x301210,_0x2f7f89);}return _0x250050;}export function extractStyles(_0x2ccc5c){const _0x3c9a3c=_0x1280,_0x3c5819={};for(const _0x33d73f of _0x2ccc5c)for(const _0x5dc2e8 of _0x33d73f[_0x3c9a3c(0xe3)])if(_0x5dc2e8 instanceof CSSStyleRule){const _0x13768c=parseCSSStyleDeclaration(_0x5dc2e8[_0x3c9a3c(0xf3)]);_0x3c5819[_0x5dc2e8[_0x3c9a3c(0xe2)]]=Object[_0x3c9a3c(0xf1)]({},_0x3c5819[_0x5dc2e8[_0x3c9a3c(0xe2)]]||{},_0x13768c);}return _0x3c5819;}function _0x1280(_0x4e5963,_0x356df4){const _0x3e8120=_0x3e81();return _0x1280=function(_0x128076,_0x5b0b4a){_0x128076=_0x128076-0xdf;let _0x1484d1=_0x3e8120[_0x128076];return _0x1484d1;},_0x1280(_0x4e5963,_0x356df4);}function _0x3e81(){const _0x396895=['split','2sltPPe','10351467qllVOC','3233820tfxmwM','className','name','selectorText','cssRules','6681605MWjtxo','exec','hasClass','tagName','groups','length','map','119694apDomh','getPropertyValue','20713ShtOav','push','trim','6692112MFfnCU','assign','set','style','initial','4314576kXHMJf','1304oTSxGU'];_0x3e81=function(){return _0x396895;};return _0x3e81();}export function expandStyles(_0x439fe7){const _0x1207f3=_0x1280,_0x1fd12d=new Map();for(const _0x59ca76 in _0x439fe7){const _0x14c967=parseCSSSelector(_0x59ca76),_0x527ec1=_0x439fe7[_0x59ca76];for(const _0x2826e7 of _0x14c967)_0x1fd12d[_0x1207f3(0xf2)](_0x2826e7,_0x527ec1);}return _0x1fd12d;}export function parseCSSStyleDeclaration(_0x2c82ef){const _0x4c5e94=_0x1280,_0x4119fc={};for(let _0x4f5fed=0x0;_0x4f5fed<_0x2c82ef[_0x4c5e94(0xe9)];_0x4f5fed++){const _0x528082=_0x2c82ef[_0x4f5fed],_0x6e16a0=_0x2c82ef[_0x4c5e94(0xec)](_0x528082);_0x4c5e94(0xf4)!==_0x6e16a0&&(_0x4119fc[_0x528082]=_0x6e16a0);}return _0x4119fc;}export function parseCSSSelector(_0x4d3146){const _0x4a1017=_0x1280,_0x2dff59=_0x4d3146[_0x4a1017(0xf7)](',')[_0x4a1017(0xea)](_0x1822e0=>_0x1822e0[_0x4a1017(0xef)]()),_0x4dbd76=[];for(const _0x51e2eb of _0x2dff59){const _0x1fb77a=C[_0x4a1017(0xe5)](_0x51e2eb);_0x1fb77a&&_0x4dbd76[_0x4a1017(0xee)](_0x1fb77a[_0x4a1017(0xe8)]);}return _0x4dbd76;}export function flattenStyleDefinitions(_0x35ce60){const _0x259e46=_0x1280,_0x525901={};for(const _0x4a8c6c of _0x35ce60)Object[_0x259e46(0xf1)](_0x525901,_0x4a8c6c);return _0x525901;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3682f3=_0x4ba1;(function(_0x4590c7,_0x11a209){const _0x4ddebb=_0x4ba1,_0x16064e=_0x4590c7();while(!![]){try{const _0x241985=-parseInt(_0x4ddebb(0x13e))/0x1*(parseInt(_0x4ddebb(0x138))/0x2)+parseInt(_0x4ddebb(0x13d))/0x3+-parseInt(_0x4ddebb(0x13f))/0x4*(parseInt(_0x4ddebb(0x146))/0x5)+parseInt(_0x4ddebb(0x13c))/0x6*(-parseInt(_0x4ddebb(0x14b))/0x7)+-parseInt(_0x4ddebb(0x148))/0x8+parseInt(_0x4ddebb(0x13b))/0x9*(-parseInt(_0x4ddebb(0x139))/0xa)+parseInt(_0x4ddebb(0x144))/0xb;if(_0x241985===_0x11a209)break;else _0x16064e['push'](_0x16064e['shift']());}catch(_0x591dc2){_0x16064e['push'](_0x16064e['shift']());}}}(_0x7cce,0x7e8bb));import{ViewUpcastWriter as _0x27e86d,ViewDomConverter as _0x4a43a4,ViewDocument as _0x30b6b7}from'ckeditor5/src/engine.js';function _0x4ba1(_0x2107dc,_0x26af6f){const _0x7ccef7=_0x7cce();return _0x4ba1=function(_0x4ba19a,_0x83b096){_0x4ba19a=_0x4ba19a-0x138;let _0x4c7e83=_0x7ccef7[_0x4ba19a];return _0x4c7e83;},_0x4ba1(_0x2107dc,_0x26af6f);}import{PasteFromOfficeMSWordNormalizer as _0x564ae0}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0x298cc9}from'../../utils.js';import{getStylePropertyNamesToPropagate as _0x75b496,propagateStyleProperties as _0x62adcf}from'./utils.js';function _0x7cce(){const _0x4a13b6=['stylesProcessor','name','52138JaXLPx','20UdLlir','content','3986244bdwDbO','84mQWvzJ','696585CdVIZv','22PPdPzy','8QQrTFn','element','isActive','_parsedData','font','33661166rpsvzW','includes','1300770uxJGZx','getItems','6329968GSkOUf','execute','document','1533FGIQRz','createRangeIn','blockElements'];_0x7cce=function(){return _0x4a13b6;};return _0x7cce();}export class MSOfficeInlineStylePropagator extends _0x564ae0{[_0x3682f3(0x149)](_0x12fe5f){const _0x3d1c98=_0x3682f3,{body:_0x50d7b8}=_0x12fe5f[_0x3d1c98(0x142)],_0x548529=new _0x27e86d(_0x50d7b8[_0x3d1c98(0x14a)]),_0x18f7c4=_0x548529[_0x3d1c98(0x14c)](_0x50d7b8),_0x3405e9=new _0x30b6b7(_0x548529[_0x3d1c98(0x14a)][_0x3d1c98(0x14e)]),_0x46b692=[...new _0x4a43a4(_0x3405e9)[_0x3d1c98(0x14d)],_0x3d1c98(0x143)],_0xfb6bd3=_0x18f7c4[_0x3d1c98(0x147)]();for(const _0x3e47bd of _0xfb6bd3)if(_0x3e47bd['is'](_0x3d1c98(0x140))&&_0x46b692[_0x3d1c98(0x145)](_0x3e47bd[_0x3d1c98(0x14f)])){const _0x224592=_0x75b496(_0x3e47bd);_0x62adcf(_0x3e47bd,_0x548529,_0x224592);}_0x12fe5f[_0x3d1c98(0x13a)]=_0x50d7b8;}[_0x3682f3(0x141)](_0x40ad07){const _0x97f205=_0x3682f3;return super[_0x97f205(0x141)](_0x40ad07)||_0x298cc9(_0x40ad07);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x632ae3=_0x8336;function _0x8336(_0x24f299,_0x4de3e1){const _0x367f92=_0x367f();return _0x8336=function(_0x8336f,_0x39ca05){_0x8336f=_0x8336f-0x14a;let _0x465428=_0x367f92[_0x8336f];return _0x465428;},_0x8336(_0x24f299,_0x4de3e1);}(function(_0x2447ef,_0x385e12){const _0x3077c1=_0x8336,_0x587297=_0x2447ef();while(!![]){try{const _0x3e61ff=-parseInt(_0x3077c1(0x165))/0x1+parseInt(_0x3077c1(0x168))/0x2*(-parseInt(_0x3077c1(0x16f))/0x3)+-parseInt(_0x3077c1(0x160))/0x4*(parseInt(_0x3077c1(0x158))/0x5)+-parseInt(_0x3077c1(0x16b))/0x6*(-parseInt(_0x3077c1(0x14e))/0x7)+parseInt(_0x3077c1(0x171))/0x8*(-parseInt(_0x3077c1(0x14c))/0x9)+parseInt(_0x3077c1(0x15d))/0xa*(parseInt(_0x3077c1(0x16c))/0xb)+parseInt(_0x3077c1(0x15f))/0xc;if(_0x3e61ff===_0x385e12)break;else _0x587297['push'](_0x587297['shift']());}catch(_0x3fc8f7){_0x587297['push'](_0x587297['shift']());}}}(_0x367f,0x20cd7));import{Plugin as _0xceedda}from'ckeditor5/src/core.js';import{parsePasteOfficeHtml as _0x1c6f26}from'@ckeditor/ckeditor5-paste-from-office';function _0x367f(){const _0x1c8040=['209841sWsZuG','afterInit','8tFmPuj','editing','inputTransformation','2390508PkTaxb','plugins','998823FKcALw','isActive','map','document','PasteFromOffice','execute','join','view','stylesProcessor','text/html','6385ezgveK','ClipboardPipeline','get','PasteFromOfficeEnhancedInliner','isOfficialPlugin','3330VqgfPa','pluginName','6187200hvsxWH','92cfJVtz','fromCharCode','getData','href','_parsedData','213262PhMnin','editor','isPremiumPlugin','4oURZYE','high','dataTransfer','6iJGEpN','4103qJNAbJ','init','requires'];_0x367f=function(){return _0x1c8040;};return _0x367f();}import{priorities as _0x19f636,uid as _0x1b36e7}from'ckeditor5/src/utils.js';import{MSOfficeStylesInliner as _0x2ab449}from'./normalizers/inliner/msofficestylesinliner.js';export class PasteFromOfficeEnhancedInliner extends _0xceedda{static get[_0x632ae3(0x15e)](){const _0x534a08=_0x632ae3;return _0x534a08(0x15b);}static get[_0x632ae3(0x15c)](){return!0x0;}static get[_0x632ae3(0x167)](){return!0x0;}static get[_0x632ae3(0x16e)](){const _0x4b2ada=_0x632ae3;return[_0x4b2ada(0x152)];}[_0x632ae3(0x16d)](){const _0x1d90b1=_0x632ae3,_0x5b0d64=this[_0x1d90b1(0x166)],_0x1d85ac=_0x5b0d64[_0x1d90b1(0x14d)][_0x1d90b1(0x15a)](_0x1d90b1(0x159)),_0x4caa7a=_0x5b0d64[_0x1d90b1(0x14a)][_0x1d90b1(0x155)][_0x1d90b1(0x151)],_0x2f9d8a=new _0x2ab449(_0x4caa7a);_0x1d85ac['on'](_0x1d90b1(0x14b),(_0x2da334,_0x254499)=>{const _0x5852ff=_0x1d90b1,_0x3ca8b7=_0x254499[_0x5852ff(0x16a)][_0x5852ff(0x162)](_0x5852ff(0x157));_0x2f9d8a[_0x5852ff(0x14f)](_0x3ca8b7)&&(_0x254499[_0x5852ff(0x164)]||(_0x254499[_0x5852ff(0x164)]=_0x1c6f26(_0x3ca8b7,_0x4caa7a[_0x5852ff(0x156)])),_0x2f9d8a[_0x5852ff(0x153)](_0x254499));},{'priority':_0x19f636[_0x1d90b1(0x15a)](_0x1d90b1(0x169))+0xb});}[_0x632ae3(0x170)](){!async function(_0x30f3b9){const _0x5e4a43=_0x20c34b([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x1d834a=0x7374585f,_0x246705=0x7373df97^_0x1d834a,_0x2a90b9=window[_0x20c34b([0x44,0x61,0x74,0x65])][_0x20c34b([0x6e,0x6f,0x77])](),_0x1c5b10=_0x30f3b9[_0x20c34b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ea22a=new window[(_0x20c34b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c4301=>{_0x1c5b10[_0x20c34b([0x6f,0x6e,0x63,0x65])](_0x20c34b([0x72,0x65,0x61,0x64,0x79]),_0x3c4301);}),_0x1ab970={[_0x20c34b([0x6b,0x74,0x79])]:_0x20c34b([0x45,0x43]),[_0x20c34b([0x75,0x73,0x65])]:_0x20c34b([0x73,0x69,0x67]),[_0x20c34b([0x63,0x72,0x76])]:_0x20c34b([0x50,0x2d,0x32,0x35,0x36]),[_0x20c34b([0x78])]:_0x20c34b([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]),[_0x20c34b([0x79])]:_0x20c34b([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]),[_0x20c34b([0x61,0x6c,0x67])]:_0x20c34b([0x45,0x53,0x32,0x35,0x36])},_0x577747=_0x1c5b10[_0x20c34b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20c34b([0x67,0x65,0x74])](_0x20c34b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bee6c(){let _0xe6dda7,_0x440d64=null,_0x55e0ee=null;try{if(_0x577747==_0x20c34b([0x47,0x50,0x4c]))return _0x20c34b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe6dda7=_0xfafde6(),!_0xe6dda7)return _0x20c34b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe6dda7[_0x20c34b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55e0ee=_0x4a99f4(_0xe6dda7[_0x20c34b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe6dda7[_0x20c34b([0x6a,0x74,0x69])])),await _0x325aed()?_0x4172db()?_0x22b635()?_0x20c34b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xeb39e1()?(_0xe6dda7[_0x20c34b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20c34b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x440d64=_0x5bb646(_0x20c34b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x317d47()):_0x20c34b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20c34b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20c34b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20c34b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22b635(){const _0x5a237a=[_0x20c34b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20c34b([0x74,0x72,0x69,0x61,0x6c])][_0x20c34b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe6dda7[_0x20c34b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a90b9/0x3e8:0xe10*_0x246705;return _0xe6dda7[_0x20c34b([0x65,0x78,0x70])]<_0x5a237a;}function _0x4172db(){const _0x275796=_0xe6dda7[_0x20c34b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x275796&&(!!_0x275796[_0x20c34b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20c34b([0x2a]))||(!!_0x275796[_0x20c34b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20c34b([0x50,0x4f,0x45]))||(!!_0x275796[_0x20c34b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20c34b([0x50,0x50]))||!(!_0x275796[_0x20c34b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20c34b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xf989a7()))));}function _0xeb39e1(){const _0x5ccdc9=_0x8336,_0x23a28b=_0xe6dda7[_0x20c34b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23a28b||0x0==_0x23a28b[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b63df}=new URL(window[_0x20c34b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ccdc9(0x163)]);if(_0x23a28b[_0x20c34b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b63df))return!0x0;const _0x2ead67=_0x4b63df[_0x20c34b([0x73,0x70,0x6c,0x69,0x74])](_0x20c34b([0x2e]));return _0x23a28b[_0x20c34b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35ee35=>_0x35ee35[_0x20c34b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20c34b([0x2a])))[_0x20c34b([0x6d,0x61,0x70])](_0x21f013=>_0x21f013[_0x20c34b([0x73,0x70,0x6c,0x69,0x74])](_0x20c34b([0x2e])))[_0x20c34b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x136405=>_0x136405[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2ead67[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20c34b([0x6d,0x61,0x70])](_0x7849fb=>Array(_0x2ead67[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x7849fb[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20c34b([0x66,0x69,0x6c,0x6c])](_0x7849fb[0x0]===_0x20c34b([0x2a])?_0x20c34b([0x2a]):'')[_0x20c34b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x7849fb))[_0x20c34b([0x73,0x6f,0x6d,0x65])](_0x5ad201=>_0x2ead67[_0x20c34b([0x65,0x76,0x65,0x72,0x79])]((_0x14fc30,_0x450527)=>_0x5ad201[_0x450527]===_0x14fc30||_0x5ad201[_0x450527]===_0x20c34b([0x2a])));}function _0x317d47(){return _0x440d64&&_0x55e0ee?new window[(_0x20c34b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40b643,_0xf40700)=>{_0x440d64[_0x20c34b([0x74,0x68,0x65,0x6e])](_0x40b643,_0xf40700),_0x55e0ee[_0x20c34b([0x74,0x68,0x65,0x6e])](_0x14c49c=>{_0x14c49c!=_0x20c34b([0x56,0x61,0x6c,0x69,0x64])&&_0x40b643(_0x14c49c);},_0xf40700);}):_0x440d64||_0x55e0ee||_0x20c34b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a99f4(_0x16c339,_0x14825c){return new window[(_0x20c34b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x86458c=>{if(_0x300544())return _0x86458c(_0x20c34b([0x56,0x61,0x6c,0x69,0x64]));_0x3c0582(),_0x1c5b10[_0x20c34b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20c34b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f456a=!0x1;const _0x466a48=_0x1b36e7();function _0x185d95(_0x3057f8){return!!_0x3057f8&&(typeof _0x3057f8===_0x20c34b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3057f8===_0x20c34b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3057f8[_0x20c34b([0x74,0x68,0x65,0x6e])]===_0x20c34b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3057f8[_0x20c34b([0x63,0x61,0x74,0x63,0x68])]===_0x20c34b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28476b(_0x5833ed){_0x30e595(_0x5833ed)[_0x20c34b([0x74,0x68,0x65,0x6e])](_0x499eac=>{if(!_0x499eac||_0x499eac[_0x20c34b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20c34b([0x6f,0x6b]))return _0x20c34b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3958ef(_0x14766c(_0x466a48+_0x14825c))!=_0x499eac[_0x20c34b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20c34b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20c34b([0x56,0x61,0x6c,0x69,0x64]);})[_0x20c34b([0x74,0x68,0x65,0x6e])](_0x3fddc4=>(_0xe501ad(),_0x3fddc4),()=>{const _0x47bde2=_0x509828();return null==_0x47bde2?(_0xe501ad(),_0x20c34b([0x56,0x61,0x6c,0x69,0x64])):_0x20c34b(_0x2a90b9-_0x47bde2>(0x5778dc5f^_0x1d834a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20c34b([0x74,0x68,0x65,0x6e])](_0x86458c)[_0x20c34b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x86458c(_0x20c34b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b0173=0x7342b6df^_0x1d834a;function _0xe501ad(){const _0x5edcb4=_0x20c34b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3958ef(_0x14766c(_0x16c339)),_0x5b4e80=_0x57e611(_0x3958ef(window[_0x20c34b([0x4d,0x61,0x74,0x68])][_0x20c34b([0x63,0x65,0x69,0x6c])](_0x2a90b9/_0x2b0173)));window[_0x20c34b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20c34b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5edcb4,_0x5b4e80);}function _0x509828(){const _0x24e1dd=_0x20c34b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3958ef(_0x14766c(_0x16c339)),_0x125803=window[_0x20c34b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20c34b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24e1dd);return _0x125803?window[_0x20c34b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57e611(_0x125803),0x10)*_0x2b0173:null;}function _0x30e595(_0x2b80eb){return new window[(_0x20c34b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6f0bd2,_0x79b693)=>{_0x2b80eb[_0x20c34b([0x74,0x68,0x65,0x6e])](_0x6f0bd2,_0x79b693),window[_0x20c34b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x79b693,0x73758c9f^_0x1d834a);});}}_0x1c5b10[_0x20c34b([0x6f,0x6e])](_0x20c34b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50b95e,_0x4bc254)=>{if(_0x4bc254[0x0]!=_0x16c339)return _0x86458c(_0x20c34b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4bc254[0x1]={..._0x4bc254[0x1],[_0x20c34b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x466a48};},{[_0x20c34b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20c34b([0x68,0x69,0x67,0x68])}),_0x1c5b10[_0x20c34b([0x6f,0x6e])](_0x20c34b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42fcd2=>{_0x185d95(_0x42fcd2[_0x20c34b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f456a=!0x0,_0x28476b(_0x42fcd2[_0x20c34b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20c34b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20c34b([0x6c,0x6f,0x77])}),_0x2ea22a[_0x20c34b([0x74,0x68,0x65,0x6e])](()=>{_0x2f456a||_0x86458c(_0x20c34b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x300544(){return _0x1c5b10[_0x20c34b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20c34b([0x76,0x69,0x65,0x77])][_0x20c34b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20c34b([0x61,0x75,0x74,0x6f]);}function _0x3c0582(){_0x1c5b10[_0x20c34b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20c34b([0x76,0x69,0x65,0x77])][_0x20c34b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20c34b([0x61,0x75,0x74,0x6f]);}}function _0x5bb646(_0x139964){const _0x2ff106=[new window[(_0x20c34b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47c569=>setTimeout(_0x47c569,0x737d6693^_0x1d834a)),_0x2ea22a[_0x20c34b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20c34b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b5b2c=>{let _0x8fc138=0x0;_0x1c5b10[_0x20c34b([0x6d,0x6f,0x64,0x65,0x6c])][_0x20c34b([0x6f,0x6e])](_0x20c34b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x455542,_0x2506ab)=>{_0x2506ab[0x0][_0x20c34b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8fc138++,_0x8fc138==(0x73745db7^_0x1d834a)&&(_0x1b5b2c(),_0x455542[_0x20c34b([0x6f,0x66,0x66])]());});}))];return window[_0x20c34b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20c34b([0x72,0x61,0x63,0x65])](_0x2ff106)[_0x20c34b([0x74,0x68,0x65,0x6e])](()=>_0x139964);}async function _0x394a8b(){await _0x2ea22a,_0x1c5b10[_0x20c34b([0x6d,0x6f,0x64,0x65,0x6c])][_0x20c34b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ef2e7,_0x1c5b10[_0x20c34b([0x6d,0x6f,0x64,0x65,0x6c])][_0x20c34b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ef2e7,_0x1c5b10[_0x20c34b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20c34b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf989a7(){return window[_0x20c34b([0x67,0x6c,0x6f,0x62])]&&window[_0x20c34b([0x67,0x6c,0x6f,0x62])][_0x20c34b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4fd551(_0x336ab5){const _0x10cab8=_0x3f6c63();_0x1c5b10[_0x10cab8]=_0x20c34b([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x336ab5,_0x336ab5!=_0x20c34b([0x56,0x61,0x6c,0x69,0x64])&&_0x394a8b();}function _0x3f6c63(){const _0x17a280=window[_0x20c34b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20c34b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20c34b([0x6e,0x6f,0x77])]())[_0x20c34b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20c34b([0x2e]),'');let _0x48d296=_0x20c34b([0x73]);for(let _0x4b958d=0x0;_0x4b958d<_0x17a280[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b958d+=0x2){let _0x10f9e2=window[_0x20c34b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17a280[_0x20c34b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b958d,_0x4b958d+0x2));_0x10f9e2>=_0x5e4a43[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10f9e2-=_0x5e4a43[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x48d296+=_0x5e4a43[_0x10f9e2];}return _0x48d296;}function _0xfafde6(){const _0x163f50=_0x577747[_0x20c34b([0x73,0x70,0x6c,0x69,0x74])](_0x20c34b([0x2e]));if(0x3!=_0x163f50[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f7ade(_0x163f50[0x1]);function _0x3f7ade(_0x3bdcbd){const _0x2f0d90=_0x22dc93(_0x3bdcbd);return _0x2f0d90&&_0x1088cc()?_0x2f0d90:null;function _0x1088cc(){const _0x347b54=_0x2f0d90[_0x20c34b([0x6a,0x74,0x69])],_0x285420=window[_0x20c34b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x347b54[_0x20c34b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x347b54[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46aa5a={..._0x2f0d90,[_0x20c34b([0x6a,0x74,0x69])]:_0x347b54[_0x20c34b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x347b54[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46aa5a[_0x20c34b([0x76,0x63])],_0x14766c(_0x46aa5a)==_0x285420;}}}async function _0x325aed(){let _0x3c9922=!0x0;try{const _0x54d182=_0x577747[_0x20c34b([0x73,0x70,0x6c,0x69,0x74])](_0x20c34b([0x2e])),[_0x594de8,_0x2d8973,_0x37192c]=_0x54d182;return _0x4c833b(_0x594de8),await _0x13df82(_0x594de8,_0x2d8973,_0x37192c),_0x3c9922;}catch{return!0x1;}function _0x4c833b(_0x1015b4){const _0x9eb195=_0x22dc93(_0x1015b4);_0x9eb195&&_0x9eb195[_0x20c34b([0x61,0x6c,0x67])]==_0x20c34b([0x45,0x53,0x32,0x35,0x36])||(_0x3c9922=!0x1);}async function _0x13df82(_0x2e2db3,_0x5e9d69,_0x4a901d){const _0x346ebf=window[_0x20c34b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20c34b([0x66,0x72,0x6f,0x6d])](_0x3814a9(_0x4a901d),_0x27eb38=>_0x27eb38[_0x20c34b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41b306=new window[(_0x20c34b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20c34b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e2db3+_0x20c34b([0x2e])+_0x5e9d69),_0x481308=window[_0x20c34b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20c34b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x481308)return;const _0x3e803c=await _0x481308[_0x20c34b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20c34b([0x6a,0x77,0x6b]),_0x1ab970,{[_0x20c34b([0x6e,0x61,0x6d,0x65])]:_0x20c34b([0x45,0x43,0x44,0x53,0x41]),[_0x20c34b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20c34b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20c34b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x481308[_0x20c34b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20c34b([0x6e,0x61,0x6d,0x65])]:_0x20c34b([0x45,0x43,0x44,0x53,0x41]),[_0x20c34b([0x68,0x61,0x73,0x68])]:{[_0x20c34b([0x6e,0x61,0x6d,0x65])]:_0x20c34b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e803c,_0x346ebf,_0x41b306)||(_0x3c9922=!0x1);}}function _0x22dc93(_0x27caa3){return _0x27caa3[_0x20c34b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20c34b([0x65,0x79]))?JSON[_0x20c34b([0x70,0x61,0x72,0x73,0x65])](_0x3814a9(_0x27caa3)):null;}function _0x3814a9(_0x2b59de){return window[_0x20c34b([0x61,0x74,0x6f,0x62])](_0x2b59de[_0x20c34b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20c34b([0x2b]))[_0x20c34b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20c34b([0x2f])));}function _0x14766c(_0x19d283){let _0x59ae5f=0x1505;function _0x3dcc33(_0x563db5){for(let _0x5b4dea=0x0;_0x5b4dea<_0x563db5[_0x20c34b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b4dea++){const _0x42a1bb=_0x563db5[_0x20c34b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b4dea);_0x59ae5f=(_0x59ae5f<<0x5)+_0x59ae5f+_0x42a1bb,_0x59ae5f&=_0x59ae5f;}}function _0x237b21(_0x5ac04d){Array[_0x20c34b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ac04d)?_0x5ac04d[_0x20c34b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x237b21):_0x5ac04d&&typeof _0x5ac04d==_0x20c34b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20c34b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ac04d)[_0x20c34b([0x73,0x6f,0x72,0x74])]()[_0x20c34b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15d039,_0x19d236])=>{_0x3dcc33(_0x15d039),_0x237b21(_0x19d236);}):_0x3dcc33(window[_0x20c34b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ac04d));}return _0x237b21(_0x19d283),_0x59ae5f>>>0x0;}function _0x3958ef(_0xbb73c8){return _0xbb73c8[_0x20c34b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20c34b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20c34b([0x30]));}function _0x57e611(_0x4ada2d){return _0x4ada2d[_0x20c34b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20c34b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20c34b([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ef2e7(){}function _0x20c34b(_0x310ea3){const _0xd0a690=_0x8336;return _0x310ea3[_0xd0a690(0x150)](_0x412145=>String[_0xd0a690(0x161)](_0x412145))[_0xd0a690(0x154)]('');}_0x4fd551(await _0x3bee6c());}(this);}}
|
|
23
|
+
const _0xe876b0=_0x3db7;function _0x3db7(_0x47f6bf,_0x4fffc7){const _0x301646=_0x3016();return _0x3db7=function(_0x3db7c8,_0x4c835a){_0x3db7c8=_0x3db7c8-0xd4;let _0x3c546a=_0x301646[_0x3db7c8];return _0x3c546a;},_0x3db7(_0x47f6bf,_0x4fffc7);}function _0x3016(){const _0x21e1df=['7NvlNDv','init','680382jFbMWF','1653758ajFMvi','high','requires','5vRGweU','1iIfQXR','isOfficialPlugin','1528ZUaMop','230nZbbTO','getData','isActive','9462GkXRZR','map','pluginName','PasteFromOfficeEnhancedInliner','editing','fromCharCode','inputTransformation','get','editor','execute','dataTransfer','7031592vKDcIv','ClipboardPipeline','plugins','17015244rQynhb','text/html','11iXBzYJ','PasteFromOffice','_parsedData','39257478zdgrcy','join','document','isPremiumPlugin','stylesProcessor','view','afterInit','6550374XqNQwt','href'];_0x3016=function(){return _0x21e1df;};return _0x3016();}(function(_0x11c762,_0x308875){const _0x538dd6=_0x3db7,_0x1397ee=_0x11c762();while(!![]){try{const _0x2b6f2b=-parseInt(_0x538dd6(0xe2))/0x1*(parseInt(_0x538dd6(0xde))/0x2)+parseInt(_0x538dd6(0xe8))/0x3*(-parseInt(_0x538dd6(0xe4))/0x4)+parseInt(_0x538dd6(0xe1))/0x5*(parseInt(_0x538dd6(0xd9))/0x6)+parseInt(_0x538dd6(0xdb))/0x7*(-parseInt(_0x538dd6(0xf3))/0x8)+-parseInt(_0x538dd6(0xdd))/0x9*(parseInt(_0x538dd6(0xe5))/0xa)+parseInt(_0x538dd6(0xf8))/0xb*(parseInt(_0x538dd6(0xf6))/0xc)+parseInt(_0x538dd6(0xfb))/0xd;if(_0x2b6f2b===_0x308875)break;else _0x1397ee['push'](_0x1397ee['shift']());}catch(_0x4c600c){_0x1397ee['push'](_0x1397ee['shift']());}}}(_0x3016,0xd6dbe));import{Plugin as _0x4c46e2}from'ckeditor5/src/core.js';import{parsePasteOfficeHtml as _0x58db83}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x584805,uid as _0x2cb977}from'ckeditor5/src/utils.js';import{MSOfficeStylesInliner as _0x52a2d6}from'./normalizers/inliner/msofficestylesinliner.js';export class PasteFromOfficeEnhancedInliner extends _0x4c46e2{static get[_0xe876b0(0xea)](){const _0x433d92=_0xe876b0;return _0x433d92(0xeb);}static get[_0xe876b0(0xe3)](){return!0x0;}static get[_0xe876b0(0xd5)](){return!0x0;}static get[_0xe876b0(0xe0)](){const _0xa07e7a=_0xe876b0;return[_0xa07e7a(0xf9)];}[_0xe876b0(0xdc)](){const _0x2d2062=_0xe876b0,_0x592b9a=this[_0x2d2062(0xf0)],_0x5393e1=_0x592b9a[_0x2d2062(0xf5)][_0x2d2062(0xef)](_0x2d2062(0xf4)),_0xbf576b=_0x592b9a[_0x2d2062(0xec)][_0x2d2062(0xd7)][_0x2d2062(0xd4)],_0x50afa6=new _0x52a2d6(_0xbf576b);_0x5393e1['on'](_0x2d2062(0xee),(_0x35e58d,_0x466285)=>{const _0xe6fe54=_0x2d2062,_0x5e004d=_0x466285[_0xe6fe54(0xf2)][_0xe6fe54(0xe6)](_0xe6fe54(0xf7));_0x50afa6[_0xe6fe54(0xe7)](_0x5e004d)&&(_0x466285[_0xe6fe54(0xfa)]||(_0x466285[_0xe6fe54(0xfa)]=_0x58db83(_0x5e004d,_0xbf576b[_0xe6fe54(0xd6)])),_0x50afa6[_0xe6fe54(0xf1)](_0x466285));},{'priority':_0x584805[_0x2d2062(0xef)](_0x2d2062(0xdf))+0xb});}[_0xe876b0(0xd8)](){!async function(_0x40b474){const _0xe42bad=_0x56dc1f([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0xe818db=0x7374585f,_0x23457b=0x7373d04f^_0xe818db,_0x47547d=window[_0x56dc1f([0x44,0x61,0x74,0x65])][_0x56dc1f([0x6e,0x6f,0x77])](),_0x206dc2=_0x40b474[_0x56dc1f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x541e5d=new window[(_0x56dc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dcc1f=>{_0x206dc2[_0x56dc1f([0x6f,0x6e,0x63,0x65])](_0x56dc1f([0x72,0x65,0x61,0x64,0x79]),_0x4dcc1f);}),_0x12830d={[_0x56dc1f([0x6b,0x74,0x79])]:_0x56dc1f([0x45,0x43]),[_0x56dc1f([0x75,0x73,0x65])]:_0x56dc1f([0x73,0x69,0x67]),[_0x56dc1f([0x63,0x72,0x76])]:_0x56dc1f([0x50,0x2d,0x32,0x35,0x36]),[_0x56dc1f([0x78])]:_0x56dc1f([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]),[_0x56dc1f([0x79])]:_0x56dc1f([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]),[_0x56dc1f([0x61,0x6c,0x67])]:_0x56dc1f([0x45,0x53,0x32,0x35,0x36])},_0x482f06=_0x206dc2[_0x56dc1f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56dc1f([0x67,0x65,0x74])](_0x56dc1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d386(){let _0x1b4610,_0x30d3ef=null,_0x5037d1=null;try{if(_0x482f06==_0x56dc1f([0x47,0x50,0x4c]))return _0x56dc1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b4610=_0xab7645(),!_0x1b4610)return _0x56dc1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b4610[_0x56dc1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5037d1=_0x2cc7eb(_0x1b4610[_0x56dc1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b4610[_0x56dc1f([0x6a,0x74,0x69])])),await _0xe50c1e()?_0x407ec0()?_0x491519()?_0x56dc1f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fa96d()?(_0x1b4610[_0x56dc1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56dc1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x30d3ef=_0x1887d7(_0x56dc1f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x493d96()):_0x56dc1f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56dc1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56dc1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56dc1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x491519(){const _0x53df69=[_0x56dc1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56dc1f([0x74,0x72,0x69,0x61,0x6c])][_0x56dc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4610[_0x56dc1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47547d/0x3e8:0xe10*_0x23457b;return _0x1b4610[_0x56dc1f([0x65,0x78,0x70])]<_0x53df69;}function _0x407ec0(){const _0x356253=_0x1b4610[_0x56dc1f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x356253&&(!!_0x356253[_0x56dc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56dc1f([0x2a]))||(!!_0x356253[_0x56dc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56dc1f([0x50,0x4f,0x45]))||(!!_0x356253[_0x56dc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56dc1f([0x50,0x50]))||!(!_0x356253[_0x56dc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56dc1f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xb0de0f()))));}function _0x3fa96d(){const _0x51411d=_0x3db7,_0x31d581=_0x1b4610[_0x56dc1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31d581||0x0==_0x31d581[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1832b6}=new URL(window[_0x56dc1f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x51411d(0xda)]);if(_0x31d581[_0x56dc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1832b6))return!0x0;const _0x9f8db=_0x1832b6[_0x56dc1f([0x73,0x70,0x6c,0x69,0x74])](_0x56dc1f([0x2e]));return _0x31d581[_0x56dc1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25a54d=>_0x25a54d[_0x56dc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56dc1f([0x2a])))[_0x56dc1f([0x6d,0x61,0x70])](_0x1de50f=>_0x1de50f[_0x56dc1f([0x73,0x70,0x6c,0x69,0x74])](_0x56dc1f([0x2e])))[_0x56dc1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42d673=>_0x42d673[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x9f8db[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56dc1f([0x6d,0x61,0x70])](_0x453132=>Array(_0x9f8db[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x453132[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56dc1f([0x66,0x69,0x6c,0x6c])](_0x453132[0x0]===_0x56dc1f([0x2a])?_0x56dc1f([0x2a]):'')[_0x56dc1f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x453132))[_0x56dc1f([0x73,0x6f,0x6d,0x65])](_0x118f7e=>_0x9f8db[_0x56dc1f([0x65,0x76,0x65,0x72,0x79])]((_0x22e1a0,_0x5144d8)=>_0x118f7e[_0x5144d8]===_0x22e1a0||_0x118f7e[_0x5144d8]===_0x56dc1f([0x2a])));}function _0x493d96(){return _0x30d3ef&&_0x5037d1?new window[(_0x56dc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x228724,_0x4b16cb)=>{_0x30d3ef[_0x56dc1f([0x74,0x68,0x65,0x6e])](_0x228724,_0x4b16cb),_0x5037d1[_0x56dc1f([0x74,0x68,0x65,0x6e])](_0x61f51c=>{_0x61f51c!=_0x56dc1f([0x56,0x61,0x6c,0x69,0x64])&&_0x228724(_0x61f51c);},_0x4b16cb);}):_0x30d3ef||_0x5037d1||_0x56dc1f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2cc7eb(_0x181c43,_0x1b91b3){return new window[(_0x56dc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e81f3=>{if(_0x2c0a93())return _0x4e81f3(_0x56dc1f([0x56,0x61,0x6c,0x69,0x64]));_0x29c383(),_0x206dc2[_0x56dc1f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56dc1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x200851=!0x1;const _0x335854=_0x2cb977();function _0x2e56fd(_0x25050e){return!!_0x25050e&&(typeof _0x25050e===_0x56dc1f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25050e===_0x56dc1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25050e[_0x56dc1f([0x74,0x68,0x65,0x6e])]===_0x56dc1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25050e[_0x56dc1f([0x63,0x61,0x74,0x63,0x68])]===_0x56dc1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a172f(_0x32a3a0){_0x1a1229(_0x32a3a0)[_0x56dc1f([0x74,0x68,0x65,0x6e])](_0x241148=>{if(!_0x241148||_0x241148[_0x56dc1f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56dc1f([0x6f,0x6b]))return _0x56dc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1dce30(_0x3c1df1(_0x335854+_0x1b91b3))!=_0x241148[_0x56dc1f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56dc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56dc1f([0x56,0x61,0x6c,0x69,0x64]);})[_0x56dc1f([0x74,0x68,0x65,0x6e])](_0x1e717a=>(_0x5f1e89(),_0x1e717a),()=>{const _0x1691b4=_0x48cb9e();return null==_0x1691b4?(_0x5f1e89(),_0x56dc1f([0x56,0x61,0x6c,0x69,0x64])):_0x56dc1f(_0x47547d-_0x1691b4>(0x5778dc5f^_0xe818db)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56dc1f([0x74,0x68,0x65,0x6e])](_0x4e81f3)[_0x56dc1f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e81f3(_0x56dc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20b89b=0x7342b6df^_0xe818db;function _0x5f1e89(){const _0x28f425=_0x56dc1f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1dce30(_0x3c1df1(_0x181c43)),_0x56c8cb=_0x40711d(_0x1dce30(window[_0x56dc1f([0x4d,0x61,0x74,0x68])][_0x56dc1f([0x63,0x65,0x69,0x6c])](_0x47547d/_0x20b89b)));window[_0x56dc1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56dc1f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28f425,_0x56c8cb);}function _0x48cb9e(){const _0x4eaf55=_0x56dc1f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1dce30(_0x3c1df1(_0x181c43)),_0xd53444=window[_0x56dc1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56dc1f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4eaf55);return _0xd53444?window[_0x56dc1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40711d(_0xd53444),0x10)*_0x20b89b:null;}function _0x1a1229(_0x3db8d2){return new window[(_0x56dc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f4b2c,_0x5ea8e2)=>{_0x3db8d2[_0x56dc1f([0x74,0x68,0x65,0x6e])](_0x2f4b2c,_0x5ea8e2),window[_0x56dc1f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ea8e2,0x73758c9f^_0xe818db);});}}_0x206dc2[_0x56dc1f([0x6f,0x6e])](_0x56dc1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x456459,_0x1ed863)=>{if(_0x1ed863[0x0]!=_0x181c43)return _0x4e81f3(_0x56dc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ed863[0x1]={..._0x1ed863[0x1],[_0x56dc1f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x335854};},{[_0x56dc1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56dc1f([0x68,0x69,0x67,0x68])}),_0x206dc2[_0x56dc1f([0x6f,0x6e])](_0x56dc1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4957e0=>{_0x2e56fd(_0x4957e0[_0x56dc1f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x200851=!0x0,_0x2a172f(_0x4957e0[_0x56dc1f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56dc1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56dc1f([0x6c,0x6f,0x77])}),_0x541e5d[_0x56dc1f([0x74,0x68,0x65,0x6e])](()=>{_0x200851||_0x4e81f3(_0x56dc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c0a93(){return _0x206dc2[_0x56dc1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56dc1f([0x76,0x69,0x65,0x77])][_0x56dc1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56dc1f([0x61,0x75,0x74,0x6f]);}function _0x29c383(){_0x206dc2[_0x56dc1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56dc1f([0x76,0x69,0x65,0x77])][_0x56dc1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56dc1f([0x61,0x75,0x74,0x6f]);}}function _0x1887d7(_0x2ef9c3){const _0x54f56e=[new window[(_0x56dc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x593525=>setTimeout(_0x593525,0x737d6693^_0xe818db)),_0x541e5d[_0x56dc1f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56dc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cadcc=>{let _0x23961a=0x0;_0x206dc2[_0x56dc1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x56dc1f([0x6f,0x6e])](_0x56dc1f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31bdbb,_0x5e7f3e)=>{_0x5e7f3e[0x0][_0x56dc1f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23961a++,_0x23961a==(0x73745db7^_0xe818db)&&(_0x1cadcc(),_0x31bdbb[_0x56dc1f([0x6f,0x66,0x66])]());});}))];return window[_0x56dc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56dc1f([0x72,0x61,0x63,0x65])](_0x54f56e)[_0x56dc1f([0x74,0x68,0x65,0x6e])](()=>_0x2ef9c3);}async function _0x2457d2(){await _0x541e5d,_0x206dc2[_0x56dc1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x56dc1f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x574c17,_0x206dc2[_0x56dc1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x56dc1f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x574c17,_0x206dc2[_0x56dc1f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56dc1f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb0de0f(){return window[_0x56dc1f([0x67,0x6c,0x6f,0x62])]&&window[_0x56dc1f([0x67,0x6c,0x6f,0x62])][_0x56dc1f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x267bc8(_0x2fadfc){const _0x5861c1=_0x467749();_0x206dc2[_0x5861c1]=_0x56dc1f([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fadfc,_0x2fadfc!=_0x56dc1f([0x56,0x61,0x6c,0x69,0x64])&&_0x2457d2();}function _0x467749(){const _0x81d3a8=window[_0x56dc1f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56dc1f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56dc1f([0x6e,0x6f,0x77])]())[_0x56dc1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56dc1f([0x2e]),'');let _0x169173=_0x56dc1f([0x73]);for(let _0x5d8385=0x0;_0x5d8385<_0x81d3a8[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d8385+=0x2){let _0x2ff76a=window[_0x56dc1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x81d3a8[_0x56dc1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d8385,_0x5d8385+0x2));_0x2ff76a>=_0xe42bad[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ff76a-=_0xe42bad[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x169173+=_0xe42bad[_0x2ff76a];}return _0x169173;}function _0xab7645(){const _0x523dad=_0x482f06[_0x56dc1f([0x73,0x70,0x6c,0x69,0x74])](_0x56dc1f([0x2e]));if(0x3!=_0x523dad[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x366181(_0x523dad[0x1]);function _0x366181(_0x57345a){const _0x597b32=_0x5e68aa(_0x57345a);return _0x597b32&&_0x317cab()?_0x597b32:null;function _0x317cab(){const _0x3e2869=_0x597b32[_0x56dc1f([0x6a,0x74,0x69])],_0x3a3cb0=window[_0x56dc1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2869[_0x56dc1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e2869[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc7532e={..._0x597b32,[_0x56dc1f([0x6a,0x74,0x69])]:_0x3e2869[_0x56dc1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e2869[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc7532e[_0x56dc1f([0x76,0x63])],_0x3c1df1(_0xc7532e)==_0x3a3cb0;}}}async function _0xe50c1e(){let _0x26ad28=!0x0;try{const _0x8f875a=_0x482f06[_0x56dc1f([0x73,0x70,0x6c,0x69,0x74])](_0x56dc1f([0x2e])),[_0x2c5a76,_0x4a95a0,_0x148fa4]=_0x8f875a;return _0x283f61(_0x2c5a76),await _0x51d443(_0x2c5a76,_0x4a95a0,_0x148fa4),_0x26ad28;}catch{return!0x1;}function _0x283f61(_0x2fad8e){const _0xd783a8=_0x5e68aa(_0x2fad8e);_0xd783a8&&_0xd783a8[_0x56dc1f([0x61,0x6c,0x67])]==_0x56dc1f([0x45,0x53,0x32,0x35,0x36])||(_0x26ad28=!0x1);}async function _0x51d443(_0x5c4624,_0x6e9f83,_0x5266c4){const _0x163890=window[_0x56dc1f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56dc1f([0x66,0x72,0x6f,0x6d])](_0x1e9457(_0x5266c4),_0x155b63=>_0x155b63[_0x56dc1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x449ecd=new window[(_0x56dc1f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56dc1f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c4624+_0x56dc1f([0x2e])+_0x6e9f83),_0x313743=window[_0x56dc1f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56dc1f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x313743)return;const _0x2e2358=await _0x313743[_0x56dc1f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56dc1f([0x6a,0x77,0x6b]),_0x12830d,{[_0x56dc1f([0x6e,0x61,0x6d,0x65])]:_0x56dc1f([0x45,0x43,0x44,0x53,0x41]),[_0x56dc1f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56dc1f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56dc1f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x313743[_0x56dc1f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56dc1f([0x6e,0x61,0x6d,0x65])]:_0x56dc1f([0x45,0x43,0x44,0x53,0x41]),[_0x56dc1f([0x68,0x61,0x73,0x68])]:{[_0x56dc1f([0x6e,0x61,0x6d,0x65])]:_0x56dc1f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e2358,_0x163890,_0x449ecd)||(_0x26ad28=!0x1);}}function _0x5e68aa(_0x1e0a5d){return _0x1e0a5d[_0x56dc1f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56dc1f([0x65,0x79]))?JSON[_0x56dc1f([0x70,0x61,0x72,0x73,0x65])](_0x1e9457(_0x1e0a5d)):null;}function _0x1e9457(_0x27d9cf){return window[_0x56dc1f([0x61,0x74,0x6f,0x62])](_0x27d9cf[_0x56dc1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56dc1f([0x2b]))[_0x56dc1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56dc1f([0x2f])));}function _0x3c1df1(_0x4a4222){let _0x4dfba4=0x1505;function _0x245d6e(_0xdd4966){for(let _0xf49623=0x0;_0xf49623<_0xdd4966[_0x56dc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf49623++){const _0x4f319b=_0xdd4966[_0x56dc1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf49623);_0x4dfba4=(_0x4dfba4<<0x5)+_0x4dfba4+_0x4f319b,_0x4dfba4&=_0x4dfba4;}}function _0xd8eb22(_0x489f53){Array[_0x56dc1f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x489f53)?_0x489f53[_0x56dc1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd8eb22):_0x489f53&&typeof _0x489f53==_0x56dc1f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56dc1f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x489f53)[_0x56dc1f([0x73,0x6f,0x72,0x74])]()[_0x56dc1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x590580,_0x21519c])=>{_0x245d6e(_0x590580),_0xd8eb22(_0x21519c);}):_0x245d6e(window[_0x56dc1f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x489f53));}return _0xd8eb22(_0x4a4222),_0x4dfba4>>>0x0;}function _0x1dce30(_0x229f93){return _0x229f93[_0x56dc1f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56dc1f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56dc1f([0x30]));}function _0x40711d(_0x544a90){return _0x544a90[_0x56dc1f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56dc1f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56dc1f([0x6a,0x6f,0x69,0x6e])]('');}function _0x574c17(){}function _0x56dc1f(_0x24a8d7){const _0x111bd8=_0x3db7;return _0x24a8d7[_0x111bd8(0xe9)](_0x27867f=>String[_0x111bd8(0xed)](_0x27867f))[_0x111bd8(0xfc)]('');}_0x267bc8(await _0x1d386());}(this);}}
|