Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/GeneralSettings.2d7f1123.js
Назад
import{D as P}from"./constants.2019bcb3.js";import{u as T,l as x,m as B,k as M}from"./index.5a710757.js";import{l as N}from"./license.03044dbc.js";import{a as K}from"./allowed.b971be4c.js";import{C as W}from"./Card.5b602127.js";import{C as E}from"./GettingStarted.6425e654.js";import{C as U}from"./SettingsRow.1934f141.js";import{C as R}from"./Table.0a6a3fdb.js";import{C as V}from"./Index.c0a0a208.js";import{S as G}from"./CheckSolid.9e151b0e.js";import{R as $}from"./RequiredPlans.7723218f.js";import"./translations.12335a6a.js";import{_ as C}from"./_plugin-vue_export-helper.249dac1d.js";import{_ as e,s as n}from"./default-i18n.54b5d8cd.js";import{v as i,o as _,c as z,C as m,l as c,a as o,t as p,x as g,k as h,b as y,$ as F}from"./runtime-dom.esm-bundler.6789c400.js";import{u as q,p as I}from"./popup.189dc215.js";import{S as Y}from"./Rocket.2692f287.js";import"./helpers.f95d5840.js";import"./upperFirst.96c04516.js";import"./_stringToArray.08127ca9.js";import"./toString.1401d490.js";import"./Tooltip.b6b45c85.js";import"./Caret.662da1f3.js";import"./index.ee8124c6.js";import"./Slide.d0517fb0.js";import"./Row.f01f32cd.js";import"./Book.e7bb6a80.js";import"./numbers.b55b32c5.js";import"./Download.6a0d8455.js";import"./addons.ef42f038.js";import"./SetupWizardStore.f2a8f9f3.js";import"./params.764403f6.js";const s="all-in-one-seo-pack",j={setup(){return{rootStore:T()}},components:{RequiredPlans:$,CoreWpTable:R,Cta:V,SvgCircleCheckSolid:G},data(){return{links:x,bulkOptions:[{label:e("Activate License",s),value:"activate-license"},{label:e("Deactivate License",s),value:"deactivate-license"}],strings:{activate:e("Activate",s),deactivate:e("Deactivate",s),visitSite:e("Visit Site",s),dashboard:e("Dashboard",s),ctaHeader:n(e("Domain Activations is an %1$s Feature",s),"Elite"),ctaButtonText:e("Unlock Domain Activations",s),networkDatabaseToolsDescription:e("Unlock network-level tools to manage all your sites from one easy-to-use location. Manage your license key activations for each individual domain.",s)}}},computed:{columns(){return[{slug:"domain",label:e("Domain",s)},{slug:"path",label:e("Path",s)},{slug:"primary_domain",label:e("Alias Of",s)},{slug:"activated",label:e("Activated",s),width:"90px"}]},rows(){return[{blog_id:1,path:"/",domain:"aioseo.com"},{blog_id:2,path:"/",domain:"wpbeginner.com"},{blog_id:3,path:"/",domain:"wpforms.com"},{blog_id:4,path:"/",domain:"optinmonster.com"},{blog_id:5,path:"/",domain:"monsterinsights.com"},{blog_id:8,path:"/",domain:"seedprod.com"},{blog_id:10,path:"/",domain:"easydigitaldownloads.com"}]},totals(){return{total:this.rows.length,pages:1,page:1}},filters(){return[{slug:"all",name:e("All",s)},{slug:"activated",name:e("Activated",s)},{slug:"deactivated",name:e("Deactivated",s)}]}}},J={class:"aioseo-settings-network-sites-activation"},Q={class:"row-actions"},X={class:"activate",href:"#"},Z={class:"view-site",href:"#",target:"_blank"},ee={class:"dashboard",href:"#",target:"_blank"};function te(r,w,A,a,t,l){const k=i("svg-circle-check-solid"),f=i("required-plans"),b=i("cta"),v=i("core-wp-table");return _(),z("div",J,[m(v,{columns:l.columns,rows:l.rows,totals:l.totals,filters:l.filters,"bulk-options":t.bulkOptions,"blur-rows":"","disable-table":""},{domain:c(({row:S})=>[o("span",null,p(S.domain),1),o("div",Q,[o("span",null,[o("a",X,[o("span",null,p(t.strings.activate),1)]),g(" | ")]),o("span",null,[o("a",Z,[o("span",null,p(t.strings.visitSite),1)]),g(" | ")]),o("span",null,[o("a",ee,[o("span",null,p(t.strings.dashboard),1)])])])]),activated:c(()=>[o("span",null,[m(k)])]),cta:c(()=>[m(b,{"cta-link":t.links.getPricingUrl("network-tools","network-sites-activation"),"button-text":t.strings.ctaButtonText,"learn-more-link":t.links.getUpsellUrl("network-tools","network-sites-activation",a.rootStore.isPro?"pricing":"liteUpgrade")},{"header-text":c(()=>[g(p(t.strings.ctaHeader),1)]),description:c(()=>[m(f,{"core-feature":["tools","network-tools-site-activation"]}),g(" "+p(t.strings.networkDatabaseToolsDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link"])]),_:1},8,["columns","rows","totals","filters","bulk-options"])])}const D=C(j,[["render",te]]),d="all-in-one-seo-pack",oe={setup(){return{connectStore:q(),rootStore:T()}},components:{CoreSettingsRow:U},data(){return{licenseKey:null,strings:{boldText:n("<strong>%1$s %2$s</strong>","AIOSEO","Lite"),purchasedBoldText:n("<strong>%1$s %2$s</strong>","AIOSEO","Pro"),linkText:n(e("upgrading to %1$s",d),"Pro"),moreBoldText:n("<strong>%1$s</strong>",P+" "+e("off",d)),licenseKey:e("License Key",d),licenseKeyDescription:e("Your license key provides access to updates and addons.",d),placeholder:e("Paste your license key here",d),connect:e("Connect",d)}}},computed:{link(){return n('<strong><a href="%1$s" target="_blank">%2$s</a></strong>',x.utmUrl("general-settings","license-box"),this.strings.linkText)},tooltipText(){return n(e("To unlock more features, consider %1$s.",d),this.link)},moreToolTipText(){return n(e("As a valued user you receive %1$s, automatically applied at checkout!",d),this.strings.moreBoldText)},noLicenseNeeded(){return n(e("You're using %1$s - no license needed. Enjoy!",d)+" 🙂",this.strings.boldText)},alreadyPurchased(){return n(e("Already purchased? Simply enter your license key below to connect with %1$s!",d),this.strings.purchasedBoldText)}},methods:{processGetConnectUrl(){this.rootStore.loading=!0,this.connectStore.getConnectUrl({key:this.licenseKey}).then(r=>{if(r.body.url){if(!r.body.popup)return this.rootStore.loading=!1,window.open(r.body.url,"_blank");this.openPopup(r.body.url)}})},openPopup(r){I(r,"_self",600,630,!0,["file","token"],this.completedCallback,this.closedCallback)},completedCallback(r){return this.connectStore.processConnect(r)},closedCallback(r){if(r)return window.location.reload();this.rootStore.loading=!1}}},ne=["innerHTML"],se={class:"license-cta-box"},ie=["innerHTML"],re=["innerHTML"],ae=["innerHTML"],le={class:"license-key"},ce=o("input",{type:"text",name:"username",autocomplete:"username",style:{display:"none"}},null,-1);function de(r,w,A,a,t,l){const k=i("base-input"),f=i("base-button"),b=i("core-settings-row");return _(),h(b,{name:t.strings.licenseKey},{description:c(()=>[g(p(t.strings.licenseKeyDescription),1)]),content:c(()=>[o("div",{innerHTML:l.noLicenseNeeded},null,8,ne),o("div",se,[o("div",{innerHTML:l.tooltipText},null,8,ie),o("span",{innerHTML:l.moreToolTipText},null,8,re)]),o("div",{innerHTML:l.alreadyPurchased},null,8,ae),o("form",le,[ce,m(k,{type:"password",placeholder:t.strings.placeholder,"append-icon":t.licenseKey?"circle-check":null,autocomplete:"new-password",modelValue:t.licenseKey,"onUpdate:modelValue":w[0]||(w[0]=v=>t.licenseKey=v)},null,8,["placeholder","append-icon","modelValue"]),m(f,{type:"green",disabled:!t.licenseKey,loading:a.rootStore.loading,onClick:l.processGetConnectUrl},{default:c(()=>[g(p(t.strings.connect),1)]),_:1},8,["disabled","loading","onClick"])])]),_:1},8,["name"])}const ue=C(oe,[["render",de]]),u="all-in-one-seo-pack",pe={setup(){return{licenseStore:B(),rootStore:T(),settingsStore:M()}},components:{CoreCard:W,CoreGettingStarted:E,CoreSettingsRow:U,LiteSettingsNetworkSitesActivation:D,SettingsLicenseKey:ue,SettingsNetworkSitesActivation:D,SvgRocket:Y},data(){return{allowed:K,license:N,strings:{license:e("License",u),boldText:n("<strong>%1$s %2$s</strong>","All in One SEO",e("Free",u)),purchasedBoldText:n("<strong>%1$s %2$s</strong>","All in One SEO","Pro"),linkText:n(e("upgrading to %1$s",u),"Pro"),moreBoldText:n("<strong>%1$s</strong>",P+" "+e("off",u)),setupWizard:e("Setup Wizard",u),relaunchSetupWizard:e("Relaunch Setup Wizard",u),setupWizardText:n(e("Use our configuration wizard to properly set up %1$s with your WordPress website.",u),"All in One SEO"),domainActivations:e("Domain Activations",u)}}},computed:{link(){return n('<strong><a href="%1$s" target="_blank">%2$s</a></strong>',x.utmUrl("general-settings","license-box-tooltip"),this.strings.linkText)},tooltipText(){return n(e("To unlock more features, consider %1$s.",u),this.link)},moreToolTipText(){return n(e("As a valued user you receive %1$s, automatically applied at checkout!",u),this.strings.moreBoldText)}}},me={class:"aioseo-general-settings"},_e=["innerHTML"],ge=o("br",null,null,-1),he=["innerHTML"],ke={class:"aioseo-description"};function fe(r,w,A,a,t,l){const k=i("core-getting-started"),f=i("settings-license-key"),b=i("svg-rocket"),v=i("base-button"),S=i("core-settings-row"),L=i("core-card"),H=i("settings-network-sites-activation"),O=i("lite-settings-network-sites-activation");return _(),z("div",me,[a.settingsStore.settings.showSetupWizard&&t.allowed("aioseo_setup_wizard")&&!a.rootStore.aioseo.data.isNetworkAdmin?(_(),h(k,{key:0})):y("",!0),m(L,{slug:"license","header-text":t.strings.license},F({default:c(()=>[m(f),!a.settingsStore.settings.showSetupWizard&&t.allowed("aioseo_setup_wizard")&&!a.rootStore.aioseo.data.isNetworkAdmin?(_(),h(S,{key:0,name:t.strings.setupWizard},{content:c(()=>[m(v,{type:"blue",size:"medium",tag:"a",href:a.rootStore.aioseo.urls.aio.wizard},{default:c(()=>[m(b),g(" "+p(t.strings.relaunchSetupWizard),1)]),_:1},8,["href"]),o("p",ke,p(t.strings.setupWizardText),1)]),_:1},8,["name"])):y("",!0)]),_:2},[a.rootStore.isPro?void 0:{name:"tooltip",fn:c(()=>[o("div",{innerHTML:l.tooltipText},null,8,_e),ge,o("div",{class:"more-tooltip-text",innerHTML:l.moreToolTipText},null,8,he)]),key:"0"}]),1032,["header-text"]),a.rootStore.aioseo.data.isNetworkAdmin?(_(),h(L,{key:1,slug:"domainActivations","header-text":t.strings.domainActivations},{default:c(()=>[!a.licenseStore.isUnlicensed&&t.license.hasCoreFeature("tools","network-tools-site-activation")?(_(),h(H,{key:0})):y("",!0),a.licenseStore.isUnlicensed||!t.license.hasCoreFeature("tools","network-tools-site-activation")?(_(),h(O,{key:1})):y("",!0)]),_:1},8,["header-text"])):y("",!0)])}const Qe=C(pe,[["render",fe]]);export{Qe as default};
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка