OwlCyberSecurity - MANAGER
Edit File: elementor.DA6Z52bU.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.Cql7WwLY.js";import{l as C}from"./js/index.BR_tv7_M.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.DOdXC3mL.js";import{g as B,m as h,T as O}from"./js/postSlug.Cluysul4.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 c}from"./js/App.F1ES3kqW.js";import"./js/constants.qeJG2F0i.js";import"./js/Caret.Ke5gylGO.js";import"./js/_plugin-vue_export-helper.BN1snXvA.js";import"./js/helpers.CXsRrhc8.js";import"./js/metabox.CJLeqrHc.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.CbvFsadp.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.CY6uLkOC.js";import"./js/LogoGear.BbumEdXr.js";import"./js/Tabs.CvdL3nC2.js";import"./js/TruSeoScore.DmC22Awy.js";import"./js/Ellipse.CoDaSPOK.js";import"./js/Information.Bv8uKEyF.js";import"./js/Slide.fjAuzpC8.js";import"./js/Index.TmE1UuyD.js";import"./js/Settings.DdSS7PvM.js";import"./js/MaxCounts.DHV7qSQX.js";import"./js/Tags.B6STPRCn.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.icSuFx1T.js";import"./js/HtmlTagsEditor.Q8if8EZk.js";import"./js/Editor.CH_Yzs3c.js";import"./js/_baseClone.CzWhSj00.js";import"./js/_arrayEach.Fgt6pfHj.js";import"./js/UnfilteredHtml.CwC5KqHM.js";import"./js/ProBadge.CVd2ImKm.js";import"./js/popup.6pJEdp0g.js";import"./js/license.BEch2NZa.js";import"./js/upperFirst.yVnsg4QL.js";import"./js/addons.Z32PCU1d.js";import"./js/Blur.CvHKqkVq.js";import"./js/Index.DyvJ1GBk.js";import"./js/WpTable.CB8ECU67.js";import"./js/Table.JF4U36kH.js";import"./js/numbers.BT5e8rgb.js";import"./js/PostTypes.Cef6XkQ_.js";import"./js/InternalOutbound.DBUIpJG6.js";import"./js/RequiredPlans.BRtESoGg.js";import"./js/Image.B1TJMo-E.js";import"./js/FacebookPreview.Bc9SNH-K.js";import"./js/Img.fGyIsoH4.js";import"./js/Profile.M-HlXLzG.js";import"./js/ImageUploader.B1g2n_4O.js";import"./js/TwitterPreview.BZqV-LfX.js";import"./js/Book.Cd0O52yE.js";import"./js/Build.CdwmJXt2.js";import"./js/Redirects.BkUcZ7S0.js";import"./js/Index.68ULAXee.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.abl_uWS6.js";import"./js/DatePicker.CibxKnIA.js";import"./js/pick.E0dwuk96.js";import"./js/Card.DPoAfijm.js";import"./js/Upsell.DBYmIssS.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=B();U(t,n)||(l=n,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(),n=A();t.isUnlicensed||n.fetch()})},V=()=>{window.$e.internal("document/save/set-is-modified",{status:!0})},q=()=>{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),_.on("postSettingsUpdated",V))},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","editor-sidebar","aioseo-elementor-panel"),t.appendChild(document.createElement("div"));const n=E({history:S(),routes:[{path:"/",component:c}]});let o=k({name:"Standalone/Elementor",data(){return{tableContext:window.aioseo.currentPost.context,screenContext:"sidebar"}},render:()=>v(c)});return o=I(o),o=C(o),o=P(o),o.use(n),n.app=o,L(o,n),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);