var d=Object.defineProperty,f=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var i=(t,e,n)=>e in t?d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,o=(t,e)=>{for(var n in e||(e={}))v.call(e,n)&&i(t,n,e[n]);if(a)for(var n of a(e))b.call(e,n)&&i(t,n,e[n]);return t},r=(t,e)=>f(t,h(e));import{e as y,d as g,j as C}from"./index.0f8634bc.js";import{A,T as S}from"./TitleDescription.24f9c8bd.js";import{C as T}from"./Card.5e3c0ad5.js";import{C as j}from"./Tabs.e6c401d8.js";import{C as c,S as x}from"./Schema.b9169800.js";import{n as l}from"./vueComponentNormalizer.87056a83.js";import"./ToolsSettings.4a14c135.js";import"./JsonValues.08065e69.js";import"./MaxCounts.3eed5286.js";import"./RadioToggle.98e1e7ec.js";import"./RobotsMeta.2bc11dc9.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Row.13b6f3f1.js";import"./SettingsRow.eb71f07b.js";import"./GoogleSearchPreview.308b89da.js";import"./HtmlTagsEditor.aa4d89fe.js";import"./Editor.2fd4385f.js";import"./client.93f15631.js";import"./index.02c35f2a.js";import"./UnfilteredHtml.f98679bb.js";import"./Index.6d59ffe7.js";import"./Tooltip.674a9fb4.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./TruSeoScore.a520926e.js";import"./Information.f4b75b56.js";import"./Textarea.d161fc2e.js";import"./Blur.8490ecd2.js";import"./Index.92c3733f.js";var $=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-sa-ct-custom-fields-view"},[t.isUnlicensed?t._e():n("custom-fields",{attrs:{type:t.type,object:t.object,options:t.options,"show-bulk":t.showBulk}}),t.isUnlicensed?n("custom-fields-lite",{attrs:{type:t.type,object:t.object,options:t.options,"show-bulk":t.showBulk}}):t._e()],1)},k=[];const w={components:{CustomFields:c,CustomFieldsLite:c},props:{type:{type:String,required:!0},object:{type:Object,required:!0},options:{type:Object,required:!0},showBulk:Boolean},computed:o({},y(["isUnlicensed"]))},p={};var D=l(w,$,k,!1,F,null,null,null);function F(t){for(let e in p)this[e]=p[e]}var B=function(){return D.exports}(),M=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-search-appearance-content-types"},t._l(t.postTypes,function(s,m){return n("core-card",{key:m,attrs:{slug:s.name+"SA"},scopedSlots:t._u([{key:"header",fn:function(){return[n("div",{staticClass:"icon dashicons",class:""+(s.icon||"dashicons-admin-post")}),n("div",{domProps:{innerHTML:t._s(s.label)}})]},proxy:!0},{key:"tabs",fn:function(){return[n("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.settings.internalTabs[s.name+"SA"],internal:""},on:{changed:function(_){return t.processChangeTab(s.name,_)}}})]},proxy:!0}],null,!0)},[n("transition",{attrs:{name:"route-fade",mode:"out-in"}},[n(t.settings.internalTabs[s.name+"SA"],{tag:"component",attrs:{object:s,separator:t.options.searchAppearance.global.separator,options:t.dynamicOptions.searchAppearance.postTypes[s.name],type:"postTypes"}})],1)],1)}),1)},L=[];const O={components:{Advanced:A,CoreCard:T,CoreMainTabs:j,CustomFields:B,Schema:x,TitleDescription:S},data(){return{internalDebounce:null,tabs:[{slug:"title-description",name:"Title & Description",access:"aioseo_search_appearance_settings",pro:!1},{slug:"schema",name:"Schema Markup",access:"aioseo_search_appearance_settings",pro:!0},{slug:"custom-fields",name:"Custom Fields",access:"aioseo_search_appearance_settings",pro:!0},{slug:"advanced",name:"Advanced",access:"aioseo_search_appearance_settings",pro:!1}]}},computed:r(o({},g(["options","dynamicOptions","settings"])),{postTypes(){return this.$aioseo.postData.postTypes.filter(t=>t.name!=="attachment")}}),methods:r(o({},C(["changeTab"])),{processChangeTab(t,e){this.internalDebounce||(this.internalDebounce=!0,this.changeTab({slug:`${t}SA`,value:e}),setTimeout(()=>{this.internalDebounce=!1},50))}})},u={};var U=l(O,M,L,!1,q,null,null,null);function q(t){for(let e in u)this[e]=u[e]}var ft=function(){return U.exports}();export{ft as default};
