uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
www
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
dist
/
Lite
/
assets
/
js
/
Main.6584207a.js
/
/
import{u as H}from"./vue-router.ad00dfec.js";import{u as M,f as U,a as Y,c as z}from"./index.681f720c.js";import{C as W}from"./Index.4f41faeb.js";import K from"./DatabaseTools.ec1e214a.js";import{B as R}from"./Checkbox.28e8400d.js";import"./translations.d159963e.js";import{_ as y}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as A,s as k}from"./default-i18n.20001971.js";import{x as a,o as n,c as l,G as S,N as T,H as m,m as u,y as w,t as g,a as p,l as b,b as C,u as O,v as N,J as G,f as B}from"./runtime-dom.esm-bundler.5d5e6b71.js";import{C as P,b as F}from"./Caret.202f7c21.js";import{C as j}from"./Card.9816f16f.js";import{C as q}from"./Tabs.6e7f902f.js";import{C as J}from"./Index.7e253de2.js";import{C as Q}from"./Upload.acd94f9b.js";import{C as X}from"./SettingsRow.8aa99257.js";import{G as Z,a as ee}from"./Row.aff98451.js";import{D as te}from"./datetime.f197aeae.js";import{u as E}from"./ToolsStore.6e58498c.js";import oe from"./HtaccessEditor.328bc16c.js";import se from"./ImportExport.245ee5b1.js";import ne from"./RobotsEditor.46acf412.js";import ie from"./SystemStatus.36aa72c9.js";import re from"./WpCode.ad74cca3.js";import{u as ae}from"./RobotsTxt.1454bdbe.js";import"./helpers.e8ba8937.js";import"./license.85061030.js";import"./upperFirst.555c1a56.js";import"./toString.6346a2b4.js";import"./allowed.980a2e7b.js";/* empty css */import"./params.af7ed354.js";import"./Header.3435b07a.js";import"./addons.f0fb0b6d.js";import"./ScrollAndHighlight.a4f2cc11.js";import"./ScrollTo.81bea8a7.js";import"./LicenseKeyBar.fef34a92.js";import"./LogoGear.4749bc9b.js";import"./AnimatedNumber.cc7d07cd.js";import"./numbers.9fc174f3.js";import"./Logo.a44a17ba.js";import"./index.e5bcd650.js";import"./Support.9fe5eb28.js";import"./date.b84c8300.js";import"./constants.fe8bda37.js";import"./Url.b0b6e9e3.js";import"./Exclamation.991934cc.js";import"./Gear.de600e87.js";import"./Slide.a525748d.js";import"./Network.28c0604d.js";import"./ToolsSettings.b6abf9c4.js";import"./Checkmark.43d7168a.js";import"./Blur.4fe4b9a3.js";import"./Index.755a5d26.js";import"./RequiredPlans.91265b27.js";import"./Tooltip.418c677c.js";import"./ProBadge.aeac9858.js";import"./Information.3b2ed489.js";import"./Editor.d6666f4b.js";import"./isEqual.1eea7163.js";import"./_baseIsEqual.654f234d.js";import"./_getTag.dfa26aea.js";import"./_baseClone.4aac6d9c.js";import"./_arrayEach.6af5abac.js";import"./Plus.5a0c4130.js";import"./History.53b5342c.js";import"./Refresh.f1edec25.js";import"./Radio.ce251936.js";import"./Download.cd0121de.js";import"./regex.8a6101c0.js";import"./vuedraggable.umd.9454f4af.js";import"./UnwantedBots.f8af119b.js";import"./RadioToggle.51430965.js";import"./Ellipse.d43639b3.js";import"./External.4ed94f4a.js";import"./Row.e2b90b2a.js";const V="all-in-one-seo-pack",le={emits:["update"],setup(){return{rootStore:M(),addonsStore:U()}},components:{BaseCheckbox:R},props:{loading:Boolean,disabled:Boolean},data(){return{selectedAddons:{},strings:{runAction:A("Run Action",V),noAddons:A("There are no active addons at the moment.",V)}}},computed:{activeAddons(){return this.addonsStore.addons.filter(e=>e.isActive)},selectedSkus(){return Object.keys(this.selectedAddons).filter(e=>this.selectedAddons[e])},selectedAddonsNames(){return this.activeAddons.filter(e=>this.selectedSkus.includes(e.sku)).map(e=>e.name)}}},ce={class:"aioseo-addons-list"},de={key:1};function ue(e,o,s,c,t,i){const d=a("base-checkbox"),_=a("base-button");return n(),l("div",ce,[i.activeAddons.length>0?(n(),l(S,{key:0},[(n(!0),l(S,null,T(i.activeAddons,(h,v)=>(n(),l("div",{key:v},[m(d,{size:"medium",modelValue:t.selectedAddons[h.sku],"onUpdate:modelValue":f=>t.selectedAddons[h.sku]=f,disabled:s.disabled},{default:u(()=>[w(g(h.name),1)]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]))),128)),p("div",null,[m(_,{type:"blue",size:"medium",onClick:o[0]||(o[0]=h=>(e.$emit("update",i.selectedSkus),e.$emit("addons-selected",i.selectedAddonsNames))),loading:s.loading,disabled:s.disabled||i.selectedSkus.length===0},{default:u(()=>[w(g(t.strings.runAction),1)]),_:1},8,["loading","disabled"])])],64)):(n(),l("b",de,g(t.strings.noAddons),1))])}const pe=y(le,[["render",ue],["__scopeId","data-v-a1f4dc34"]]),me="all-in-one-seo-pack",ge={emits:["update"],setup(){return{rootStore:M()}},components:{BaseCheckbox:R,GridColumn:Z,GridRow:ee},props:{loading:Boolean,disabled:Boolean},data(){return{options:{},strings:{updateOptions:A("Update Options",me)}}},mounted(){this.rootStore.aioseo.deprecatedOptions.forEach(e=>{e.enabled&&(this.options[e.value]=!0)})}},he={class:"aioseo-deprecated-options"},_e=p("br",null,null,-1),be=p("br",null,null,-1),fe=p("br",null,null,-1);function Ae(e,o,s,c,t,i){const d=a("base-checkbox"),_=a("grid-column"),h=a("grid-row"),v=a("base-button");return n(),l("div",he,[m(h,{class:"settings"},{default:u(()=>[(n(!0),l(S,null,T(c.rootStore.aioseo.deprecatedOptions,(f,x)=>(n(),b(_,{key:x,xl:"6",sm:"12"},{default:u(()=>[m(d,{size:"medium",modelValue:t.options[f.value],"onUpdate:modelValue":L=>t.options[f.value]=L,disabled:s.disabled},{default:u(()=>[w(g(f.label),1)]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024))),128))]),_:1}),_e,m(v,{type:"blue",size:"medium",onClick:o[0]||(o[0]=f=>e.$emit("update",t.options)),loading:s.loading,disabled:s.disabled},{default:u(()=>[w(g(t.strings.updateOptions),1)]),_:1},8,["loading","disabled"]),be,fe])}const we=y(ge,[["render",Ae]]),ve={setup(){return{optionsStore:Y()}},computed:{infoItems(){return[{label:"Migrated Version",value:this.optionsStore.internalOptions.internal.migratedVersion},{label:"First Activated",value:this.optionsStore.internalOptions.internal.firstActivated!==0?te.fromMillis(this.optionsStore.internalOptions.internal.firstActivated*1e3).toFormat("MMMM d, yyyy"):!1}]}}},ke={class:"v3-migration-info aioseo-description"},Se={class:"info-items"},ye={key:0},De={key:1};function Ce(e,o,s,c,t,i){return n(),l("div",ke,[p("ul",Se,[(n(!0),l(S,null,T(i.infoItems,(d,_)=>(n(),l("li",{key:_},[d.value?(n(),l("span",ye,g(d.label),1)):C("",!0),d.value?(n(),l("span",De,g(d.value),1)):C("",!0)]))),128))])])}const Me=y(ve,[["render",Ce]]),Te={class:"aioseo-writing-assistant"},xe={__name:"WritingAssistant",setup(e){const o=E(),s="all-in-one-seo-pack",c={resetLogins:A("Reset SEOBoost Logins",s)};let t=!1;const i=()=>{confirm(A("Are you sure you want to reset SEOBoost logins?",s))&&(t=!0,o.doTask({action:"aioseo-reset-seoboost-logins"}).finally(()=>{alert(A("SEOBoost logins have been reset.",s)),t=!1}))};return(d,_)=>{const h=a("base-button");return n(),l("div",Te,[m(h,{type:"blue",size:"medium",onClick:i,loading:O(t),disabled:O(t)},{default:u(()=>[w(g(c.resetLogins),1)]),_:1},8,["loading","disabled"])])}}},Le={setup(){return{rootStore:M(),toolsStore:E()}},components:{AddonsList:pe,CoreAlert:P,CoreCard:j,CoreMainTabs:q,CoreModal:J,CoreNetworkSiteSelector:Q,CoreSettingsRow:X,DeprecatedOptions:we,MigrationInfo:Me,SvgClose:F,WritingAssistant:xe},props:{extraActions:{type:Array,required:!1}},data(){return{site:{},tabsKey:0,doingActionKey:0,activeTab:"general",currentAction:"",currentData:{},showAreYouSureModal:!1,doingAction:[],selectedAddonsNames:[],strings:{selectSite:"Select Site",cardLabel:"Debug",selectLabel:"Select a Debug Action:",buttonLabel:"Run Action",alertWarning:"Before you run any action, please make sure that you have fully read the description and understand the consequences as these cannot be reverted.",cannotBeUndone:"This action cannot be undone.",yesDoAction:"Yes, run this action",noChangedMind:"No, I changed my mind"},alertLink:z.getPlainLink("Click here to open to the Scheduled Actions panel",this.rootStore.aioseo.urls.admin.scheduledActions,!0)}},computed:{areYouSureTitle(){return this.currentAction.slug==="rerun-addon-migrations"?k('Are you sure you want to run the "%1$s" action for the following addons?<div class="selected-addons-list">%2$s</div>',this.currentAction.label,`<ul>${this.selectedAddonsNames.map(e=>`<li>${e}</li>`).join("")}</ul>`):`Are you sure you want to run the "${this.currentAction.label}" action?`},tabs(){const e=k('<a href="%1$s" target="_blank">Scheduled Actions</a>',this.rootStore.aioseo.urls.admin.scheduledActions),o=this.rootStore.aioseo.data.isNetworkAdmin?"<br><strong>NOTE: If no site is selected, this will clear the network cache.</strong>":"",s=this.rootStore.aioseo.data.isNetworkAdmin?"<br><strong>NOTE: If no site is selected, this will clear the network plugin updates transient.</strong>":"";return[{slug:"general",name:"General",actions:[{label:"Clear Cache",slug:"clear-cache",shortDescription:`This action deletes all records of the <code>aioseo_cache</code> table in the database.${o}`,longDescription:"",showModal:!1,network:!0},{label:"Clear Plugin Updates Transient",slug:"clear-plugin-updates-transient",shortDescription:`This action clears the plugin updates transient, which forces WordPress Core to check for plugin updates.${s}`,longDescription:"",showModal:!1,network:!0},{label:"Readd Capabilities",slug:"readd-capabilities",shortDescription:"This action will readd our capabilities (access permissions) for all users.",longDescription:"",showModal:!1},{label:"Reset Data",slug:"reset-data",shortDescription:"This action will <strong>delete</strong> all our custom tables and options.",longDescription:"",showModal:!0}]},{slug:"sitemap",name:"Sitemap",actions:[{label:"Clear Image Data",slug:"clear-image-data",shortDescription:"This action removes all image data from the database, forcing a site-wide rescan via Action Scheduler.",longDescription:k("To speed up the image scan, go to %1$s and run the <code>aioseo_image_sitemap_scan</code> action.",e),showModal:!1}]},{slug:"migrations",name:"Migrations",actions:[{label:"Rerun V4+ Migrations",slug:"rerun-migrations",shortDescription:"This action will rerun all update migrations since 4.0.0, excluding the V3 migration.",longDescription:"",showModal:!0},{label:"Rerun Migrations for Active Addons",slug:"rerun-addon-migrations",shortDescription:"This action will rerun all update migrations for the selected addons.",longDescription:"",showModal:!0,component:"addons-list"}]},{slug:"old-issues",name:"Old Issues",actions:[{label:"Remove Duplicates",slug:"remove-duplicates",shortDescription:"This action will delete any duplicate records that are found in the <code>aioseo_posts</code> and <code>aioseo_terms</code> tables.",longDescription:"",showModal:!1},{label:"Unescape Data",slug:"unescape-data",shortDescription:"This action will clean <code>aioseo_posts</code> and <code>aioseo_term</code> records whose data is corrupted.",longDescription:k("The action will trigger a routine which runs in batches via Action Scheduler. It may take some time for this routine to complete, To speed up this process, go to %1$s and run the <code>aioseo_unslash_escaped_data_posts</code> or <code>aioseo_unslash_escaped_data_terms</code> action.",e),showModal:!1}]},{slug:"deprecated-options",name:"Deprecated Options",actions:[{label:"Deprecated Options",slug:"deprecated-options",shortDescription:"Enable or disable any options that have been deprecated in AIOSEO.",longDescription:"<strong>These options are not guaranteed to work and all support has been dropped.</strong>",showModal:!1,component:"deprecated-options"}]},{slug:"writing-assistant",name:"Writing Assistant",actions:[{label:"Writing Assistant",slug:"writing-assistant",shortDescription:"Resets all users SEOBoost logins.",longDescription:"",showModal:!1,component:"writing-assistant"}]}]},activeTabObject(){return this.tabs.find(e=>e.slug===this.activeTab)}},methods:{isActionDisabled(e){return this.rootStore.aioseo.data.isNetworkAdmin?this.site.blog_id?this.site.blog_id==="network"&&e.network?!1:this.site.blog_id==="network"&&!e.network:!0:!1},isLoading(e){return!!this.doingAction[e.slug]},getSelectedActionObject(e){let o=null;return this.actions.forEach(s=>{const c=s.options.find(t=>t.value===e);c&&(o=c)}),o},maybeDoAction(e,o){if(this.currentAction=e,this.currentData=o,e.showModal){this.showAreYouSureModal=!0;return}this.doAction(o)},doAction(e){this.doingAction[this.currentAction.slug]=!0,this.showAreYouSureModal=!1,this.doingActionKey++,this.toolsStore.doTask({action:this.currentAction.slug,siteId:this.site.blog_id||this.rootStore.aioseo.data.currentBlogId,data:e}).then(()=>{console.log(`Action "${this.currentAction.label}" has been completed.`)}).catch(o=>{console.error(`Action "${this.currentAction.label}" could not be completed: `,o)}).finally(()=>{this.doingAction[this.currentAction.slug]=!1,this.doingActionKey++})}},beforeMount(){var o;let e=-1;if(this.rootStore.aioseo.data.v3Options&&(e=this.tabs.findIndex(s=>s.slug.toLowerCase()==="migrations"),e!==-1)){const s=k('<a href="%1$s" target="_blank">Scheduled Actions</a>',this.rootStore.aioseo.urls.admin.scheduledActions);this.tabs[e].actions.push({label:"Rerun V3 Migration",slug:"restart-v3-migration",shortDescription:"This action restarts the migration from V3 to V4.",longDescription:k("All settings will be migrated immediately. However, the post/term meta needs to be migrated via a routine which runs in batches via Action Scheduler. To speed up the post/term meta migration, go to %1$s and run the <code>aioseo_migrate_post_meta</code> or <code>aioseo_migrate_term_meta</code> action.",s),infoComponent:"MigrationInfo",showModal:!0})}(o=this.extraActions)!=null&&o.length&&this.extraActions.forEach(s=>{if(e=this.tabs.findIndex(c=>c.slug.toLowerCase()===s.slug.toLowerCase()),e!==-1){this.tabs[e].actions=this.tabs[e].actions.concat(s.actions);return}this.tabs.push(s)})}},Oe={class:"aioseo-tools-debug"},Ne={key:0,class:"aioseo-settings-row"},Be={class:"select-site"},Ve=["innerHTML"],Re=["innerHTML"],Ee=["innerHTML"],Ie={class:"aioseo-modal-body"},$e=["innerHTML"],He=["innerHTML"];function Ue(e,o,s,c,t,i){const d=a("core-network-site-selector"),_=a("core-alert"),h=a("core-main-tabs"),v=a("base-button"),f=a("core-settings-row"),x=a("svg-close"),L=a("core-modal"),I=a("core-card");return n(),l("div",Oe,[m(I,{slug:"debug","header-text":t.strings.cardLabel},{default:u(()=>[c.rootStore.aioseo.data.isNetworkAdmin?(n(),l("div",Ne,[p("div",Be,g(t.strings.selectSite),1),m(d,{onSelectedSite:o[0]||(o[0]=r=>t.site=r),"show-network":""})])):C("",!0),m(_,{type:"yellow"},{default:u(()=>[p("div",null,g(t.strings.alertWarning),1),p("div",{innerHTML:t.alertLink},null,8,Ve)]),_:1}),(n(),b(h,{internal:"",key:t.tabsKey,tabs:i.tabs,active:t.activeTab,showSaveButton:!1,onChanged:o[1]||(o[1]=r=>t.activeTab=r)},null,8,["tabs","active"])),(n(!0),l(S,null,T(i.activeTabObject.actions,(r,$)=>(n(),b(f,{key:t.activeTab+$,name:r.label,align:""},{content:u(()=>[r.component?(n(),b(N(r.component),{key:0,onUpdate:D=>i.maybeDoAction(r,D),onAddonsSelected:o[2]||(o[2]=D=>t.selectedAddonsNames=D),loading:t.doingAction[r.slug],disabled:i.isActionDisabled(r)},null,40,["onUpdate","loading","disabled"])):(n(),b(v,{type:"blue",size:"medium",onClick:D=>i.maybeDoAction(r),loading:t.doingAction[r.slug],key:t.doingActionKey,disabled:i.isActionDisabled(r)},{default:u(()=>[w(g(t.strings.buttonLabel),1)]),_:2},1032,["onClick","loading","disabled"])),p("div",{class:"aioseo-description",innerHTML:r.shortDescription},null,8,Re),p("div",{class:"aioseo-description",innerHTML:r.longDescription},null,8,Ee),r.infoComponent?(n(),b(N(r.infoComponent),{key:2})):C("",!0)]),_:2},1032,["name"]))),128)),m(L,{show:t.showAreYouSureModal,"no-header":"",onClose:o[7]||(o[7]=r=>t.showAreYouSureModal=!1),classes:["aioseo-debug-modal"]},{body:u(()=>[p("div",Ie,[p("button",{class:"close",onClick:o[4]||(o[4]=G(r=>t.showAreYouSureModal=!1,["stop"]))},[m(x,{onClick:o[3]||(o[3]=r=>t.showAreYouSureModal=!1)})]),p("h3",{innerHTML:i.areYouSureTitle},null,8,$e),p("div",{class:"description",innerHTML:t.strings.cannotBeUndone},null,8,He),m(v,{type:"blue",size:"medium",onClick:o[5]||(o[5]=r=>i.doAction(t.currentData))},{default:u(()=>[w(g(t.strings.yesDoAction),1)]),_:1}),m(v,{type:"gray",size:"medium",onClick:o[6]||(o[6]=r=>t.showAreYouSureModal=!1)},{default:u(()=>[w(g(t.strings.noChangedMind),1)]),_:1})])]),_:1},8,["show"])]),_:1},8,["header-text"])])}const Ye=y(Le,[["render",Ue]]),ze={components:{Debug:Ye}};function We(e,o,s,c,t,i){const d=a("debug",!0);return n(),b(d)}const Ke=y(ze,[["render",We]]),mo={__name:"Main",setup(e){const o=M(),s=H(),c=B(()=>{switch(s.name){case"database-tools":return K;case"debug":return Ke;case"htaccess-editor":return oe;case"import-export":return se;case"system-status":return ie;case"wp-code":return re;default:return ne}});ae();const t="all-in-one-seo-pack",i=B(()=>s.name!=="system-status"&&s.name!=="import-export"&&s.name!=="database-tools"&&s.name!=="debug"&&s.name!=="wp-code"),d={pageName:o.aioseo.data.isNetworkAdmin?A("Network Tools",t):A("Tools",t)};return(_,h)=>(n(),b(O(W),{"page-name":d.pageName,"show-save-button":i.value},{default:u(()=>[(n(),b(N(c.value)))]),_:1},8,["page-name","show-save-button"]))}};export{mo as default};
/home/batcwwjx/www/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/Main.6584207a.js