import{e as i,a as c,m as p}from"./index.9d9c8f08.js";import{A as l,T as u}from"./TitleDescription.53d09fb1.js";import{C as m}from"./Card.e152dae5.js";import{C as _}from"./Tabs.45cdcdd3.js";import{n as d}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.44af21ce.js";import"./default-i18n.0e73c33c.js";import"./ToolsSettings.0bc46799.js";import"./index.693463c8.js";import"./client.d00863cc.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./constants.01c2b898.js";import"./portal-vue.esm.272b3133.js";import"./attachments.4aad9de1.js";import"./cleanForSlug.61ba6611.js";import"./Index.dbb5baac.js";import"./JsonValues.08065e69.js";import"./MaxCounts.5a7ca2fd.js";import"./RadioToggle.18d51233.js";import"./RobotsMeta.43a238ee.js";import"./Checkbox.93944087.js";import"./Checkmark.627d69a4.js";import"./Row.dfea53f7.js";import"./SettingsRow.8a127375.js";import"./GoogleSearchPreview.519950fc.js";import"./HtmlTagsEditor.f068d8e9.js";import"./Editor.edd7582e.js";import"./UnfilteredHtml.5b246ff0.js";import"./Tooltip.a1ab116b.js";import"./Slide.8aaa5049.js";import"./TruSeoScore.98a47fd6.js";import"./Information.d80e4486.js";var h=function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("div",{staticClass:"aioseo-search-appearance-taxonomies"},t._l(t.taxonomies,function(e,a){return o("core-card",{key:a,attrs:{slug:`${e.name}SA`},scopedSlots:t._u([{key:"header",fn:function(){return[o("div",{staticClass:"icon dashicons",class:`${e.icon||"dashicons-admin-post"}`}),o("div",[t._v(" "+t._s(e.label)+" ")])]},proxy:!0},{key:"tabs",fn:function(){return[o("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.settings.internalTabs[`${e.name}SA`],internal:""},on:{changed:function(r){return t.processChangeTab(e.name,r)}}})]},proxy:!0}],null,!0)},[o("transition",{attrs:{name:"route-fade",mode:"out-in"}},[o(t.settings.internalTabs[`${e.name}SA`],{tag:"component",attrs:{object:e,separator:t.options.searchAppearance.global.separator,options:t.dynamicOptions.searchAppearance.taxonomies[e.name],type:"taxonomies","show-bulk":!1}})],1)],1)}),1)},f=[];const g={components:{Advanced:l,CoreCard:m,CoreMainTabs:_,TitleDescription:u},data(){return{internalDebounce:null,strings:{ctaButtonText:this.$t.__("Upgrade to Pro and Unlock Custom Taxonomies",this.$td),ctaDescription:this.$t.sprintf(this.$t.__("%1$s %2$s lets you set the SEO title and description for custom taxonomies. You can also control all of the robots meta and other options just like the default category and tags taxonomies.",this.$td),"AIOSEO","Pro"),ctaHeader:this.$t.sprintf(this.$t.__("Custom Taxonomy Support is only available for licensed %1$s %2$s users.",this.$td),"AIOSEO","Pro")},tabs:[{slug:"title-description",name:this.$t.__("Title & Description",this.$td),access:"aioseo_search_appearance_settings",pro:!1},{slug:"advanced",name:this.$t.__("Advanced",this.$tdPro),access:"aioseo_search_appearance_settings",pro:!1}]}},computed:{...i(["isUnlicensed"]),...c(["options","dynamicOptions","settings"]),taxonomies(){return this.$aioseo.postData.taxonomies}},methods:{...p(["changeTab"]),processChangeTab(t,n){this.internalDebounce||(this.internalDebounce=!0,this.changeTab({slug:`${t}SA`,value:n}),setTimeout(()=>{this.internalDebounce=!1},50))}}},s={};var $=d(g,h,f,!1,b,null,null,null);function b(t){for(let n in s)this[n]=s[n]}const Z=function(){return $.exports}();export{Z as default};
