Sid Gifari File Manager
🏠 Root
/
home
/
caldereriajp
/
public_html
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
dist
/
Lite
/
assets
/
js
/
Editing: Media.324e30ca.js
import{c as O,u as P,f as D}from"./links.96235554.js";import{A as x}from"./AddonConditions.0cbac57a.js";import"./default-i18n.cc9dbff0.js";import"./constants.c7984802.js";import{o as i,c as b,r as o,d,w as s,a as r,e as a,b as $,g as S,t as c,F as k,h as w,Q as I,n as R,C as G,j as N}from"./vue.runtime.esm-bundler.a49acf4f.js";import{_ as T}from"./_plugin-vue_export-helper.bd508f36.js";/* empty css */import{A as F,T as E}from"./TitleDescription.f01684f7.js";import{B as L}from"./RadioToggle.366d0fc8.js";import{C as M}from"./Card.02715b2c.js";import{C as V}from"./Tabs.b92dcfbe.js";import{C as K}from"./ProBadge.269c99d4.js";import{C as U}from"./SettingsRow.5de01aba.js";import{C as j,S as q}from"./Schema.60457f1e.js";import{B as z}from"./Checkbox.fc67f607.js";import{C as H}from"./Blur.f2dbe3c4.js";import{C as W}from"./HtmlTagsEditor.e6d6fa05.js";import{G as Q,a as J}from"./Row.85168b37.js";import{R as X}from"./RequiredPlans.cbd60891.js";import{C as Y}from"./Index.86dc50d3.js";import"./isArrayLikeObject.3ade28da.js";import"./addons.8f1a852a.js";import"./upperFirst.0bd33a97.js";import"./_stringToArray.4de3b1f3.js";import"./toString.d05e92a1.js";import"./index.c885ab17.js";import"./Caret.7f04b0aa.js";/* empty css *//* empty css */import"./JsonValues.870a4901.js";import"./MaxCounts.12b45bab.js";import"./RobotsMeta.3c7d3ec0.js";import"./tags.7148445d.js";import"./Tags.37458114.js";import"./postContent.314c716d.js";import"./cleanForSlug.77e4c771.js";import"./get.80957652.js";import"./html.671743b1.js";import"./GoogleSearchPreview.c9eff603.js";import"./Tooltip.c031cb66.js";import"./Slide.f53bd663.js";import"./TruSeoScore.25c11e71.js";import"./SaveChanges.dad94bb3.js";import"./Information.73bebac2.js";import"./Textarea.0fbcf1ab.js";import"./Checkmark.1b968f7a.js";import"./Editor.29931065.js";import"./UnfilteredHtml.e1d2e179.js";import"./license.2537a586.js";const Z={};function tt(e,n){return i(),b("div")}const et=T(Z,[["render",tt]]),st={components:{BaseCheckbox:z,BaseRadioToggle:L,CoreBlur:H,CoreHtmlTagsEditor:W,CoreSettingsRow:U,GridColumn:Q,GridRow:J},data(){return{stripPunctuationSettings:[{value:"dashes",label:this.$t.__("Dashes (-)",this.$td)},{value:"underscores",label:this.$t.__("Underscores (_)",this.$td)},{value:"numbers",label:this.$t.__("Numbers (0-9)",this.$td)},{value:"plus",label:this.$t.__("Plus (+)",this.$td)},{value:"apostrophe",label:this.$t.__("Apostrophe (')",this.$td)},{value:"pound",label:this.$t.__("Pound (#)",this.$td)},{value:"ampersand",label:this.$t.__("Ampersand (&)",this.$td)}],strings:{attributeFormat:this.$t.sprintf(this.$t.__("%1$s Format",this.$td),this.$t.__("Title",this.$td)),clickToAddTags:this.$t.sprintf(this.$t.__("Click on the tags below to insert variables into your %1$s attribute.",this.$td),this.$t.__("Title",this.$td).toLowerCase()),stripPunctuation:this.$t.__("Strip Punctuation",this.$td),punctuationCharactersToKeep:this.$t.__("Punctuation Characters to Keep:",this.$td),casing:this.$t.__("Casing",this.$td),casingDescription:this.$t.__("Choose which casing should be applied to the attribute.",this.$td),wordsToStrip:this.$t.__("Words to Strip",this.$td),autogenerate:this.$t.sprintf(this.$t.__("Autogenerate %1$s on Upload",this.$td),this.$t.__("Title",this.$td))},tags:{title:{context:"imageSeoTitle",default:["image_title","separator_sa","site_title"]},altTag:{context:"imageSeoAlt",default:["alt_tag","separator_sa","site_title"]},caption:{context:"imageSeoCaption",default:["attachment_caption","separator_sa","site_title"]},description:{context:"imageSeoDescription",default:["attachment_description","separator_sa","site_title"]}},casings:{lowerCase:{label:this.$t.__("Lower Case",this.$td),description:this.$t.__("All letters are converted to lower case (small) letters.",this.$td)},titleCase:{label:this.$t.__("Title Case",this.$td),description:this.$t.__("Major words are capitalized and minor words remain in their original casing.",this.$td)},sentenceCase:{label:this.$t.__("Sentence Case",this.$td),description:this.$t.__("The first word of each sentence starts with a capital.",this.$td)}}}},props:{activeTab:Object}},at={class:"aioseo-sa-image-seo"},ot={class:"global-robots-settings aioseo-description"},it={class:"aioseo-description"},nt=r("br",null,null,-1),rt={class:"casing-options"};function lt(e,n,y,p,t,l){const u=o("base-radio-toggle"),_=o("core-settings-row"),h=o("core-html-tags-editor"),f=o("base-checkbox"),v=o("grid-column"),C=o("grid-row"),A=o("core-blur");return i(),d(A,null,{default:s(()=>[r("div",at,[["caption","description"].includes("title")?(i(),d(_,{key:0,name:t.strings.autogenerate,align:""},{content:s(()=>[a(u,{name:"autogenerate",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["options"])]),_:1},8,["name"])):$("",!0),a(_,{name:t.strings.attributeFormat},{content:s(()=>[a(h,{"line-numbers":!1,single:"","tags-context":t.tags.title.context,"default-tags":t.tags.title.default},{"tags-description":s(()=>[S(c(t.strings.clickToAddTags),1)]),_:1},8,["tags-context","default-tags"])]),_:1},8,["name"]),a(_,{name:t.strings.stripPunctuation,align:""},{content:s(()=>[a(u,{name:"stripPunctuation",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},null,8,["options"]),r("div",ot,[r("strong",null,c(t.strings.punctuationCharactersToKeep),1),a(C,{class:"settings"},{default:s(()=>[(i(!0),b(k,null,w(t.stripPunctuationSettings,(g,m)=>(i(),d(v,{key:m,xl:"3",md:"4",sm:"6"},{default:s(()=>[a(f,{size:"medium"},{default:s(()=>[S(c(g.label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})])]),_:1},8,["name"]),a(_,{name:t.strings.casing,align:""},{content:s(()=>[a(u,{name:"casing",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:"",activeClass:"dark"},{label:t.casings.lowerCase.label,value:"lower"},{label:t.casings.titleCase.label,value:"title"},{label:t.casings.sentenceCase.label,value:"sentence"}]},null,8,["options"]),r("div",it,[r("span",null,c(t.strings.casingDescription),1),nt,r("ul",rt,[(i(!0),b(k,null,w(t.casings,(g,m)=>(i(),b("li",{key:m},[r("span",null,c(g.label),1),r("span",null,c(g.description),1)]))),128))])])]),_:1},8,["name"])])]),_:1})}const ct=T(st,[["render",lt]]);const pt={components:{Blur:ct,RequiredPlans:X,Cta:Y},data(){return{strings:{titleAttributeFormat:this.$t.__("Title Attribute Format",this.$td),ctaDescription:this.$t.__("The Image SEO module is a premium feature that enables you to globally control the title, alt tag, caption, description and filename of the images on your site.",this.$td),ctaButtonText:this.$t.__("Upgrade to Pro and Unlock Image SEO",this.$td),ctaHeader:this.$t.sprintf(this.$t.__("Image SEO is only available for licensed %1$s %2$s users.",this.$td),"AIOSEO","Pro")},features:[this.$t.__("Autogenerate image attributes",this.$td),this.$t.__("Clean uploaded image filenames",this.$td),this.$t.__("Strip punctuation from image attributes",this.$td),this.$t.__("Convert casing of image attributes",this.$td)]}}},mt={class:"aioseo-sa-image-seo"};function _t(e,n,y,p,t,l){const u=o("blur"),_=o("required-plans"),h=o("cta");return i(),b("div",mt,[a(u),a(h,{"cta-link":e.$links.getPricingUrl("image-seo","image-seo-upsell"),"button-text":t.strings.ctaButtonText,"learn-more-link":e.$links.getUpsellUrl("image-seo",null,"home"),"feature-list":t.features},{"header-text":s(()=>[S(c(t.strings.ctaHeader),1)]),description:s(()=>[a(_,{addon:"aioseo-image-seo"}),S(" "+c(t.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])])}const B=T(pt,[["render",_t],["__scopeId","data-v-1f4e62b0"]]);const dt={setup(){return{optionsStore:O(),rootStore:P(),settingsStore:D()}},mixins:[x],components:{Advanced:F,BaseRadioToggle:L,CoreCard:M,CoreMainTabs:V,CoreProBadge:K,CoreSettingsRow:U,Cta:et,CustomFields:j,ImageSeo:B,Lite:B,Schema:q,TitleDescription:E},data(){return{imageSeoKey:0,addonSlug:"aioseo-image-seo",internalDebounce:!1,imageSeoActiveTab:{slug:"title",name:this.$t.__("Title",this.$td),pro:!0},strings:{redirectAttachmentUrls:this.$t.__("Redirect Attachment URLs",this.$td),attachment:this.$t.__("Attachment",this.$td),attachmentParent:this.$t.__("Attachment Parent",this.$td),attachmentUrlsDescription:this.$t.__("We recommended redirecting attachment URLs back to the attachment since the default WordPress attachment pages have little SEO value.",this.$td),imageSeo:this.$t.__("Image SEO",this.$td),advancedSettings:this.$t.__("Advanced Settings",this.$td)},tabs:{attachments:[{slug:"title-description",name:this.$t.__("Title & Description",this.$td),access:"aioseo_search_appearance_settings",pro:!1},{slug:"Schema",name:this.$t.__("Schema Markup",this.$td),access:"aioseo_search_appearance_settings",pro:!0},{slug:"advanced",name:this.$t.__("Advanced",this.$td),access:"aioseo_search_appearance_settings",pro:!1}],imageSeo:[{slug:"title",name:this.$t.__("Title",this.$td),pro:!0},{slug:"altTag",name:this.$t.__("Alt Tag",this.$td),pro:!0},{slug:"caption",name:this.$t.__("Caption",this.$td),pro:!0},{slug:"description",name:this.$t.__("Description",this.$td),pro:!0},{slug:"filename",name:this.$t.__("Filename",this.$td),pro:!0}]}}},computed:{postType(){return this.rootStore.aioseo.postData.postTypes.filter(e=>e.name==="attachment")[0]}},methods:{processChangeTab(e,n){this.internalDebounce||(this.internalDebounce=!0,this.settingsStore.changeTab({slug:`${e}SA`,value:n}),setTimeout(()=>{this.internalDebounce=!1},50))},setImageSeoActiveTab(e){this.imageSeoActiveTab=this.tabs.imageSeo.find(n=>n.slug===e),this.imageSeoKey++}}},ut={class:"aioseo-search-appearance-content-types"},ht={class:"aioseo-description"};function gt(e,n,y,p,t,l){const u=o("base-radio-toggle"),_=o("core-settings-row"),h=o("core-main-tabs"),f=o("core-card"),v=o("core-pro-badge"),C=o("image-seo"),A=o("cta"),g=o("lite");return i(),b("div",ut,[a(f,{slug:`${l.postType.name}SA`},I({header:s(()=>[r("div",{class:R(["icon dashicons",`${l.postType.icon||"dashicons-admin-post"}`])},null,2),r("div",null,c(l.postType.label),1)]),"before-tabs":s(()=>[a(_,{name:t.strings.redirectAttachmentUrls,align:""},{content:s(()=>[a(u,{modelValue:p.optionsStore.dynamicOptions.searchAppearance.postTypes.attachment.redirectAttachmentUrls,"onUpdate:modelValue":n[0]||(n[0]=m=>p.optionsStore.dynamicOptions.searchAppearance.postTypes.attachment.redirectAttachmentUrls=m),name:"redirectAttachmentUrls",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:"disabled",activeClass:"dark"},{label:t.strings.attachment,value:"attachment"},{label:t.strings.attachmentParent,value:"attachment_parent"}]},null,8,["modelValue","options"]),r("div",ht,c(t.strings.attachmentUrlsDescription),1)]),_:1},8,["name"])]),default:s(()=>[p.optionsStore.dynamicOptions.searchAppearance.postTypes.attachment.redirectAttachmentUrls==="disabled"?(i(),d(N,{key:0,name:"route-fade",mode:"out-in"},{default:s(()=>[(i(),d(G(p.settingsStore.settings.internalTabs[`${l.postType.name}SA`]),{object:l.postType,separator:p.optionsStore.options.searchAppearance.global.separator,options:p.optionsStore.dynamicOptions.searchAppearance.postTypes[l.postType.name],type:"postTypes"},null,8,["object","separator","options"]))]),_:1})):$("",!0)]),_:2},[p.optionsStore.dynamicOptions.searchAppearance.postTypes.attachment.redirectAttachmentUrls==="disabled"?{name:"tabs",fn:s(()=>[a(h,{tabs:t.tabs.attachments,showSaveButton:!1,active:p.settingsStore.settings.internalTabs[`${l.postType.name}SA`],internal:"",onChanged:n[1]||(n[1]=m=>l.processChangeTab(l.postType.name,m))},null,8,["tabs","active"])]),key:"0"}:void 0]),1032,["slug"]),a(f,{slug:"imageSeo",noSlide:!e.shouldShowMain},{header:s(()=>[r("span",null,c(t.strings.imageSeo),1),a(v)]),tabs:s(()=>[a(h,{tabs:t.tabs.imageSeo,showSaveButton:!1,active:t.imageSeoActiveTab.slug,internal:"",onChanged:n[2]||(n[2]=m=>l.setImageSeoActiveTab(m))},null,8,["tabs","active"])]),default:s(()=>[e.shouldShowMain?(i(),d(C,{activeTab:t.imageSeoActiveTab,key:t.imageSeoKey},null,8,["activeTab"])):$("",!0),e.shouldShowUpdate||e.shouldShowActivate?(i(),d(A,{key:1})):$("",!0),e.shouldShowLite?(i(),d(g,{key:2})):$("",!0)]),_:1},8,["noSlide"])])}const _e=T(dt,[["render",gt]]);export{_e as default};
Save
Cancel