(window["aioseopjsonp"]=window["aioseopjsonp"]||[]).push([["search-appearance-partials-pro-Schema-vue"],{"2d4c":function(e,t,s){"use strict";var i=s("38d8"),a=s.n(i);a.a},"38d8":function(e,t,s){},"781e":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-sa-ct-schema"},[s("core-settings-row",{attrs:{name:e.strings.schemaType,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"schema-type",attrs:{size:"medium",options:e.getSelectOptions("schemaTypes"),value:e.getCurrentOption("schemaTypes",e.options.schemaType)},on:{input:function(t){return e.options.schemaType=t.value}}})]},proxy:!0}])}),"WebPage"===e.options.schemaType&&0<e.getSelectOptions("webPageTypes").length?s("core-settings-row",{attrs:{name:e.strings.webPageType,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"webpage-type",attrs:{size:"medium",options:e.getSelectOptions("webPageTypes"),value:e.getCurrentOption("webPageTypes",e.options.webPageType)},on:{input:function(t){return e.options.webPageType=t.value}}})]},proxy:!0}],null,!1,3344221424)}):e._e(),"Article"===e.options.schemaType?s("core-settings-row",{attrs:{name:e.strings.articleType,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{name:e.object.name+"articleType",options:[{label:e.strings.article,value:"Article"},{label:e.strings.blogPost,value:"BlogPosting"},{label:e.strings.newsArticle,value:"NewsArticle"}]},model:{value:e.options.articleType,callback:function(t){e.$set(e.options,"articleType",t)},expression:"options.articleType"}})]},proxy:!0}],null,!1,3288395150)}):e._e()],1)},a=[],n=(s("7db0"),s("b0c0"),{props:{type:{type:String,required:!0},object:{type:Object,required:!0},options:{type:Object,required:!0}},data:function(){return{schemaTypes:{post:[{value:"none",label:this.$t.__("None",this.$tdPro)},{value:"Article",label:this.$t.__("Article",this.$tdPro)}],page:[{value:"none",label:this.$t.__("None",this.$tdPro)},{value:"WebPage",label:this.$t.__("Web Page",this.$tdPro)}],attachment:[{value:"none",label:this.$t.__("None",this.$tdPro)},{value:"ItemPage",label:this.$t.__("Item Page",this.$tdPro)}],cpt:[{value:"none",label:this.$t.__("None",this.$tdPro)},{value:"WebPage",label:this.$t.__("Web Page",this.$tdPro)},{value:"Article",label:this.$t.__("Article",this.$tdPro)}]},webPageTypes:{post:[],page:[],attachment:[],cpt:[{value:"WebPage",label:this.$t.__("Web Page",this.$tdPro)},{value:"CollectionPage",label:this.$t.__("Collection Page",this.$tdPro)},{value:"ProfilePage",label:this.$t.__("Profile Page",this.$tdPro)},{value:"ItemPage",label:this.$t.__("Item Page",this.$tdPro)},{value:"FAQPage",label:this.$t.__("FAQ Page",this.$tdPro)},{value:"QAPage",label:this.$t.__("QA Page",this.$tdPro)},{value:"RealEstateListing",label:this.$t.__("Real Estate Listing",this.$tdPro)}]},strings:{schemaType:this.$t.__("Schema Type",this.$tdPro),webPageType:this.$t.__("Web Page Type",this.$td),articleType:this.$t.__("Article Type",this.$tdPro),article:this.$t.__("Article",this.$tdPro),blogPost:this.$t.__("Blog Post",this.$tdPro),newsArticle:this.$t.__("News Article",this.$tdPro)}}},methods:{getSelectOptions:function(e){return"undefined"!==typeof this[e][this.object.name]?this[e][this.object.name]:this[e].cpt},getCurrentOption:function(e,t){return"undefined"!==typeof this[e][this.object.name]?this[e][this.object.name].find((function(e){return e.value===t})):this[e].cpt.find((function(e){return e.value===t}))}}}),o=n,l=(s("2d4c"),s("2877")),r=Object(l["a"])(o,i,a,!1,null,null,null);t["default"]=r.exports}}]);