OwlCyberSecurity - MANAGER
Edit File: elementor.sadeW20A.js
import{c as k}from"./js/_plugin-vue_export-helper.BLXtEB-G.js";import{c as v,b as E}from"./js/vue-router.DOaapPxo.js";import{e as S,l as _}from"./js/index.DQR9DFri.js";import{l as I}from"./js/index.CdwEuUIl.js";import{l as C}from"./js/index.3BJ3ZnWB.js";import{b as P,f as D,B as x,l as A}from"./js/links.C572zDFG.js";import{g as L,m as h,T as B}from"./js/postSlug.CtHxoMEa.js";import{i as O}from"./js/isEqual.6YJSJDqn.js";import{i as U}from"./js/isEmpty.B5KZQsHw.js";import{s as m,_ as s}from"./js/default-i18n.Bd0Z306Z.js";import{P as c}from"./js/App.CNjKBRSA.js";import{h as $}from"./js/runtime-core.esm-bundler.DMBo7TXk.js";import"./js/translations.Buvln_cw.js";import"./js/constants.B6ynd7gz.js";import"./js/Caret.CGwYaMo_.js";import"./js/helpers.D5tYIqKS.js";import"./js/metabox.CE2B6Dot.js";import"./js/cleanForSlug.DjsajR64.js";import"./js/toString.CkyAieyd.js";import"./js/_baseTrim.BYZhh0MR.js";import"./js/_stringToArray.DnK4tKcY.js";import"./js/_baseSet.SHpzr1A5.js";import"./js/_baseIsEqual.8qmZqLuw.js";import"./js/_getTag.Dxs-K0Yj.js";/* empty css */import"./js/allowed.DI27y-Lv.js";import"./js/params.B3T1WKlC.js";import"./js/SettingsRow.BzmNmU2T.js";import"./js/Row.CHjKxnPP.js";import"./js/Checkbox.CxE2HV-P.js";import"./js/Checkmark.DL3UTTgg.js";import"./js/ScrollAndHighlight.BJMBF74G.js";import"./js/LogoGear.DKfym1nW.js";import"./js/Tabs.C-PQxwBC.js";import"./js/TruSeoScore.TjofuHRQ.js";import"./js/Ellipse.CAgnKuMU.js";import"./js/Information.JAmX9TGg.js";import"./js/Slide.D2pWF0rN.js";import"./js/Index.CgBueMQV.js";import"./js/Settings.IDjFfO4e.js";import"./js/MaxCounts.DHV7qSQX.js";import"./js/Tags.D1_s1xAA.js";import"./js/debounce.D8CddFbI.js";import"./js/toNumber.BuBWCMcL.js";import"./js/toFinite.D0kOmx_O.js";import"./js/Tooltip.CRFjFnpF.js";import"./js/Plus.iqCbU08m.js";import"./js/Eye.D4LLkyJX.js";import"./js/RadioToggle.CODR8har.js";import"./js/GoogleSearchPreview.DQIVXQEq.js";import"./js/HtmlTagsEditor.BQtOQ8ni.js";import"./js/Editor.DxKrKvK1.js";import"./js/_baseClone.Zn5yUk9p.js";import"./js/_arrayEach.Fgt6pfHj.js";import"./js/UnfilteredHtml.C9zHp9e0.js";import"./js/ProBadge.Bm930amZ.js";import"./js/popup.6pJEdp0g.js";import"./js/license.w8vDmkyH.js";import"./js/upperFirst.BGtMw2rr.js";import"./js/addons.tTxptju5.js";import"./js/Blur.tZiC08Rv.js";import"./js/Index.fxoyLS1r.js";import"./js/WpTable.DQTWb3IZ.js";import"./js/Table.BK8hMu3L.js";import"./js/numbers.zAmItkHM.js";import"./js/PostTypes.Cef6XkQ_.js";import"./js/InternalOutbound.DZ80pFZE.js";import"./js/RequiredPlans.CWb7CJDQ.js";import"./js/Image.CAgT8cKC.js";import"./js/FacebookPreview.efTXJQe6.js";import"./js/Img.D1d3ge3U.js";import"./js/Profile.blAmV54p.js";import"./js/ImageUploader.Bd5ae9U1.js";import"./js/TwitterPreview.B39CbiNF.js";import"./js/Book.DaIhDiml.js";import"./js/Build.C1ElmolC.js";import"./js/Redirects.CLdR6VZR.js";import"./js/Index.N3ar3q9e.js";import"./js/JsonValues.D25FTfEu.js";import"./js/External.1pzVM6vX.js";import"./js/escapeRegExp.BzEGgRdT.js";import"./js/Exclamation.Dk_xiOnS.js";import"./js/Gear.Big5c48d.js";import"./js/Date.7QFk4W6o.js";import"./js/DatePicker.zmGSzhsH.js";import"./js/pick.DnO1wEct.js";import"./js/Card.CuS1kKeW.js";import"./js/Upsell.D6CKwviy.js";class T extends window.$e.modules.hookUI.Base{constructor(t,n,o){super(),this.hook=t,this.id=n,this.callback=o}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}class H extends window.$e.modules.hookData.Base{constructor(t,n,o){super(),this.hook=t,this.id=n,this.callback=o}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function p(e,t,n){window.$e.hooks.registerUIAfter(new T(e,t,n))}function M(e,t,n){window.$e.hooks.registerDataAfter(new H(e,t,n))}let l={},d=!1;const u=()=>{const e=window.elementor.documents.getCurrent();if(!["wp-post","wp-page"].includes(e.config.type))return;const t={...l},n=L();O(t,n)||(l=n,h())},R=()=>{const e=P();U(e.currentPost)||window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&e.saveCurrentPost(e.currentPost).then(()=>{const t=D(),n=x();t.isUnlicensed||n.fetch()})},q=()=>{window.$e.internal("document/save/set-is-modified",{status:!0})},V=()=>{d||(d=!0,p("editor/documents/attach-preview","aioseo-content-scraper-attach-preview",u),p("document/save/set-is-modified","aioseo-content-scraper-on-modified",u),M("document/save/save","aioseo-save",R),S.on("postSettingsUpdated",q))},j=({elementor:e,elementorModules:t})=>{if(e.config.user.introduction["aioseo-introduction"]===!0)return;const n=new t.editor.utils.Introduction({introductionKey:"aioseo-introduction",dialogType:"alert",dialogOptions:{id:"aioseo-introduction",headerMessage:m(s("New: %1$s %2$s integration","all-in-one-seo-pack"),"AIOSEO","Elementor"),message:m(s("You can now manage your SEO settings inside of %1$s via %2$s before you publish your post!","all-in-one-seo-pack"),"Elementor","All in One SEO"),position:{my:"center center",at:"center center"},strings:{confirm:s("Got It!","all-in-one-seo-pack")},hide:{onButtonClick:!1},onConfirm:()=>{n.setViewed(),n.getDialog().hide()}}});n.show()},r={icon:"eicon-calendar",name:"aioseo-limit-modified-date",param:"aioseo_limit_modified_date",title:s("Save (Don't Modify Date)","all-in-one-seo-pack")},f=e=>{const t=document.getElementById(`elementor-panel-footer-sub-menu-item-${r.name}`);t&&(t.classList.remove("elementor-disabled"),e||t.classList.add("elementor-disabled"))},W=({elementor:e,elementorCommon:t,$e:n})=>{e.once("preview:loaded",function(){e.getRegion("panel").currentView.footer.currentView.addSubMenuItem("saver-options",{icon:r.icon,name:r.name,title:r.title,callback:o=>{o.currentTarget.classList.contains("elementor-disabled")||(t.ajax.requestConstants[r.param]=!0,n.run("document/save/default"))}})}),e.on("document:loaded",o=>{f(o.container.settings.get("post_status")==="draft")}),n.commandsInternal.on("run:after",(o,a,b)=>{switch(a){case"document/save/set-is-modified":f(b.status);break;case"document/save/save":case"document/save/default":delete t.ajax.requestConstants[r.param];break}})};let i=null,w=!1;const z=()=>{let e=window.elementor.getPreferences("ui_theme")||"auto";e==="auto"&&(e=matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),document.body.classList.forEach(t=>{t.startsWith("aioseo-elementor-")&&document.body.classList.remove(t)}),document.body.classList.add("aioseo-elementor-"+e)},F=({elementor:e,$e:t,Marionette:n})=>{t.routes.on("run:after",function(o,a){z(),a==="panel/page-settings/aioseo"&&(i==null||i.unmount(),i=g("#elementor-panel-page-settings-controls"))}),e.modules.layouts.panel.pages.menu.Menu.addItem({name:"aioseo",icon:"aioseo aioseo-element-menu-icon aioseo-element-menu-icon-"+e.getPreferences("ui_theme"),title:"All in One SEO",type:"page",callback:()=>{try{t.routes.run("panel/page-settings/aioseo")}catch{t.routes.run("panel/page-settings/settings"),t.routes.run("panel/page-settings/aioseo")}}},"more"),e.once("preview:loaded",function(){t.components.get("panel/elements").addTab("aioseo",{title:"AIOSEO"})}),e.hooks.addFilter("panel/elements/regionViews",o=>(o.aioseo={region:o.global.region,view:n.ItemView.extend({template:!1,id:"elementor-panel-aioseo",className:"aioseo-elementor aioseo-sidebar-panel",initialize(){document.getElementById("elementor-panel-elements-search-area").hidden=!0},onShow(){i==null||i.unmount(),i=g("#elementor-panel-aioseo")},onDestroy(){document.getElementById("elementor-panel-elements-search-area").hidden=!1}}),options:{}},o))},g=e=>{const t=document.querySelector(e);t.classList.add("edit-post-sidebar","aioseo-elementor-panel"),t.appendChild(document.createElement("div"));const n=v({history:E(),routes:[{path:"/",component:c}]});let o=k({name:"Standalone/Elementor",data(){return{tableContext:window.aioseo.currentPost.context,screenContext:"sidebar"}},render:()=>$(c)});return o=_(o),o=I(o),o=C(o),o.use(n),n.app=o,A(o,n),V(),o.config.globalProperties.$truSeo=new B,o.mount(`${e} > div`),h(),o},y=()=>{F(window),j(window),W(window)};window.elementor&&(setTimeout(y),w=!0);(function(e){w||e(window).on("elementor:init",()=>{window.elementor.on("panel:init",()=>{setTimeout(y)})})})(window.jQuery);