OwlCyberSecurity - MANAGER
Edit File: elementor.Bp8QGkpY.js
import{V as k,h as v}from"./js/runtime-dom.esm-bundler.tPRhSV4q.js";import{c as E,b as S}from"./js/vue-router.B1TtE6Mo.js";import{e as _,l as I}from"./js/index.CkBeLh4y.js";import{l as C}from"./js/index.B6JTtDta.js";import{l as P}from"./js/index.3BJ3ZnWB.js";import{b as D,f as x,B as A,l as L}from"./js/links.Ce9S4kjc.js";import{g as B,m as h,T as O}from"./js/postSlug.gaB5T-wi.js";import{i as U}from"./js/isEqual.DkU1ezAe.js";import{i as $}from"./js/isEmpty.CR7CQK4F.js";import{s as m,_ as s}from"./js/default-i18n.DXRQgkn2.js";import{P as p}from"./js/App.DDz-QOUh.js";import"./js/constants.CPpKID74.js";import"./js/Caret.BthVBOwE.js";import"./js/_plugin-vue_export-helper.BN1snXvA.js";import"./js/helpers.CXsRrhc8.js";import"./js/metabox.CnmedXkm.js";import"./js/cleanForSlug.BVGRQ_59.js";import"./js/toString.zLSwYOtv.js";import"./js/_baseTrim.BYZhh0MR.js";import"./js/_stringToArray.DnK4tKcY.js";import"./js/_baseSet.rYV3oc6X.js";import"./js/_baseIsEqual.MNbeg0L2.js";import"./js/_getTag.BWQxgJie.js";/* empty css */import"./js/allowed.CMMScaL-.js";import"./js/params.B3T1WKlC.js";import"./js/SettingsRow.BwYvQArk.js";import"./js/Row.DRnp1mVs.js";import"./js/Checkbox.CmdF-nFt.js";import"./js/Checkmark.DOG99yeO.js";import"./js/ScrollAndHighlight.BHk77_UZ.js";import"./js/LogoGear.BbumEdXr.js";import"./js/Tabs.B_xDIDmi.js";import"./js/TruSeoScore.DmC22Awy.js";import"./js/Ellipse.Bp5Bh3uu.js";import"./js/ProBadge.CVd2ImKm.js";import"./js/Information.Bv8uKEyF.js";import"./js/Slide.fjAuzpC8.js";import"./js/Index.hENYR9Tl.js";import"./js/Mobile.CAgFd5PM.js";import"./js/MaxCounts.DHV7qSQX.js";import"./js/Tags.BawQBqR0.js";import"./js/debounce.CMPzYXJX.js";import"./js/toNumber.BAPajc32.js";import"./js/toFinite.CI1EsaWS.js";import"./js/Tooltip.DhkkBQWW.js";import"./js/Plus.CG1QxokA.js";import"./js/Eye.-Y-JbPGO.js";import"./js/RadioToggle.CaTwJt--.js";import"./js/GoogleSearchPreview.xL31DpGm.js";import"./js/HtmlTagsEditor.D4eMyBCg.js";import"./js/Editor.CWmTV9I5.js";import"./js/_baseClone.DejpcsWN.js";import"./js/_arrayEach.Fgt6pfHj.js";import"./js/UnfilteredHtml.BcJiQf8S.js";import"./js/popup.6pJEdp0g.js";import"./js/license.4lyTI3li.js";import"./js/upperFirst.yVnsg4QL.js";import"./js/addons.DW40jBC1.js";import"./js/Blur.CvHKqkVq.js";import"./js/Index.Dq9-2wXY.js";import"./js/WpTable.aGv2G4lv.js";import"./js/Table.vI2Sprsc.js";import"./js/numbers.BT5e8rgb.js";import"./js/PostTypes.Cef6XkQ_.js";import"./js/InternalOutbound.DBUIpJG6.js";import"./js/RequiredPlans.DXcIqsat.js";import"./js/Image.Bxp-IcnQ.js";import"./js/FacebookPreview.CssUhvMf.js";import"./js/Img.UaR2G6c7.js";import"./js/Profile.M-HlXLzG.js";import"./js/ImageUploader.CfVg675m.js";import"./js/TwitterPreview.-rsKgfEw.js";import"./js/Book.Cd0O52yE.js";import"./js/Settings.C7HOxLxG.js";import"./js/Build.CdwmJXt2.js";import"./js/Redirects.BEcd2kXK.js";import"./js/Index.jwDMsUOD.js";import"./js/JsonValues.D25FTfEu.js";import"./js/External.BnlDuPIp.js";import"./js/escapeRegExp.D4cfHJVO.js";import"./js/Exclamation.DGJubTNT.js";import"./js/Gear.DwDaVskn.js";import"./js/Date.POMBhYKD.js";import"./js/DatePicker.XUt7yief.js";import"./js/Calendar.CIqx63em.js";import"./js/pick.E0dwuk96.js";import"./js/Card.CfeVpmnZ.js";import"./js/Upsell.CS0TthV2.js";class T extends window.$e.modules.hookUI.Base{constructor(t,i,o){super(),this.hook=t,this.id=i,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,i,o){super(),this.hook=t,this.id=i,this.callback=o}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function c(e,t,i){window.$e.hooks.registerUIAfter(new T(e,t,i))}function M(e,t,i){window.$e.hooks.registerDataAfter(new H(e,t,i))}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},i=B();U(t,i)||(l=i,h())},R=()=>{const e=D();$(e.currentPost)||window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&e.saveCurrentPost(e.currentPost).then(()=>{const t=x(),i=A();t.isUnlicensed||i.fetch()})},V=()=>{window.$e.internal("document/save/set-is-modified",{status:!0})},q=()=>{d||(d=!0,c("editor/documents/attach-preview","aioseo-content-scraper-attach-preview",u),c("document/save/set-is-modified","aioseo-content-scraper-on-modified",u),M("document/save/save","aioseo-save",R),_.on("postSettingsUpdated",V))},j=({elementor:e,elementorModules:t})=>{if(e.config.user.introduction["aioseo-introduction"]===!0)return;const i=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:()=>{i.setViewed(),i.getDialog().hide()}}});i.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:i})=>{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,i.run("document/save/default"))}})}),e.on("document:loaded",o=>{f(o.container.settings.get("post_status")==="draft")}),i.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 n=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:i})=>{t.routes.on("run:after",function(o,a){z(),a==="panel/page-settings/aioseo"&&(n==null||n.unmount(),n=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:i.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(){n==null||n.unmount(),n=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","editor-sidebar","aioseo-elementor-panel"),t.appendChild(document.createElement("div"));const i=E({history:S(),routes:[{path:"/",component:p}]});let o=k({name:"Standalone/Elementor",data(){return{tableContext:window.aioseo.currentPost.context,screenContext:"sidebar"}},render:()=>v(p)});return o=I(o),o=C(o),o=P(o),o.use(i),i.app=o,L(o,i),q(),o.config.globalProperties.$truSeo=new O,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);