(window["aioseopjsonp"]=window["aioseopjsonp"]||[]).push([["settings-Breadcrumbs-vue","settings-lite-Breadcrumbs-vue","settings-partials-Breadcrumbs-ContentTypesLite-vue","settings-partials-Breadcrumbs-Preview-vue"],{"1df9":function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"content"},e._l(e.postTypes,(function(t){return s("core-settings-row",{key:t.name,staticClass:"aioseo-breadcrumbs-post-type",attrs:{name:t.label},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",[s("preview",{attrs:{"preview-data":e.getPreview(t)}}),s("grid-row",[s("grid-column",[s("base-toggle",{staticClass:"current-item"}),e._v(" "+e._s(e.strings.useDefaultTemplate)+" ")],1)],1)],1)]},proxy:!0}],null,!0)})})),1)},a=[],o=s("5530"),i=(s("b0c0"),s("caad"),s("4de4"),s("ac1f"),s("5319"),s("4d63"),s("25f0"),s("d81d"),s("2532"),s("2f62")),n=s("c468"),c={components:{preview:n["default"]},data:function(){return{strings:{useDefaultTemplate:this.$t.__("Use a default template",this.$td)}}},methods:{getPreview:function(e){var t=this.options.breadcrumbs;return[t.breadcrumbPrefix?t.breadcrumbPrefix:"",t.homepageLink?t.homepageLabel?t.homepageLabel:"Home":"",t.showBlogHome&&"post"===e.name?"Blog Home":"",["post","page","attachment"].includes(e.name)?"":e.label,this.getPostTypeTaxonomy(e).singular,this.postTypeIsHierarchical(e)?"Post Parent":"",this.getPostTypeTemplate(e)]},postTypeIsHierarchical:function(e){return 01&&void 0!==arguments[1])||arguments[1],s=this.$aioseo.breadcrumbs.defaultTemplate;return s=t?s.replace(new RegExp("#breadcrumb_label","g"),e.singular):s.replace(new RegExp("#breadcrumb_label","g"),"#breadcrumb_post_title_"+e.name),s},getPostTaxonomyOptions:function(e){return this.$aioseo.postData.taxonomies.filter((function(t){return e.taxonomies.includes(t.name)})).map((function(e){return{value:e.name,label:e.label}}))},getPostTypeTaxonomy:function(e){var t=this.$aioseo.postData.taxonomies.filter((function(t){return e.taxonomies.includes(t.name)}));return 0",desc:this.$t.sprintf(this.$t.__("Use the following PHP code anywhere in your theme (in the loop) to display the breadcrumbs. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsFunction",!0))},widget:{copy:"",desc:this.$t.sprintf(this.$t.__('To add this widget, visit the %1$swidgets page%2$s and look for the "%3$s - Breadcrumbs" widget. %4$s',this.$td),''),"","AIOSEO",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsDisplay",!0))}},strings:{description:this.$t.sprintf(this.$t.__("Breadcrumbs are an essential part of SEO. By default %1$s will automatically add breadcrumbs to the schema markup that we add to your site and you don't need to make any changes for that to work. Breadcrumbs can also be used as a secondary navigation system that tells users where they are on a website relative to the homepage.",this.$td),"AIOSEO"),descriptionTooltip:this.$t.__("The purpose of breadcrumb navigation is to help users navigate around your website. It also helps search engines understand the structure and hierarchy of links on a web page.",this.$td),enableBreadcrumbs:this.$t.__("Enable Breadcrumbs",this.$td),showBreadcrumbsOnYourWebsite:this.$t.__("Show Breadcrumbs on Your Website",this.$td),breadcrumbSettings:this.$t.__("Breadcrumb Settings",this.$td),breadcrumbTooltip:this.$t.sprintf(this.$t.__("These settings will affect all the breadcrumbs displayed by %1$s throughout your site.",this.$td),"AIOSEO"),separator:this.$t.__("Separator",this.$td),homepageLink:this.$t.__("Homepage Link",this.$td),homepageLabel:this.$t.__("Homepage label",this.$td),homepageDescription:this.$t.__("Label used for homepage link (first item) in breadcrumbs.",this.$td),breadcrumbPrefix:this.$t.__("Breadcrumb Prefix",this.$td),breadcrumbPrefixDescription:this.$t.__("Prefix for breadcrumb path.",this.$td),archiveFormat:this.$t.__("Archive Format",this.$td),archiveFormatDescription:this.$t.__("Format the label used for archives page.",this.$td),searchResultFormat:this.$t.__("Search Result Format",this.$td),searchResultFormatDescription:this.$t.__("Format the label used for the search results page.",this.$td),errorFormat404:this.$t.__("404 Error Format",this.$td),errorFormat404Description:this.$t.__("Format the label used for the 404 error page.",this.$td),currentItem:this.$t.__("Current Item",this.$td),showCurrentItem:this.$t.__("Show current item",this.$td),linkCurrentItem:this.$t.__("Link current item",this.$td),home:this.$t.__("Home",this.$td),category:this.$t.__("Category",this.$td),subcategory:this.$t.__("Subcategory",this.$td),articleTitle:this.$t.__("Article Title",this.$td),searchKeyword:this.$t.__("search key word goes here",this.$td),categoryName:this.$t.__("Category Name",this.$td),breadcrumbTemplates:this.$t.__("Breadcrumb Templates",this.$td),categoryHierarchy:this.$t.__("Category Hierarchy",this.$td),categoryHierarchyDescription:this.$t.__("Display complete category hierarchy even if not selected on each individual post.",this.$td),blog:this.$t.__("Blog",this.$td),blogCrumb:this.$t.__("Blog Page Title",this.$td),showBlogHome:this.$t.__("Show Blog Home",this.$td)}}},methods:{getRootPreview:function(){var e=this;return[this.options.breadcrumbs.breadcrumbPrefix?this.options.breadcrumbs.breadcrumbPrefix:"",this.options.breadcrumbs.homepageLink?this.options.breadcrumbs.homepageLabel?this.options.breadcrumbs.homepageLabel:"Home":""].filter((function(e){return!!e})).map((function(t){return e.$tags.decodeHTMLEntities(t)}))},getPostPreview:function(){var e=this;return[].concat(Object(i["a"])(this.getRootPreview()),[this.options.breadcrumbs.showBlogHome?"Blog Home":"",this.strings.category,this.strings.subcategory,this.strings.articleTitle]).filter((function(e){return!!e})).map((function(t){return e.$tags.decodeHTMLEntities(t)}))},getArchivePreview:function(){var e=this;return[].concat(Object(i["a"])(this.getRootPreview()),[this.getArchivesOfText]).filter((function(e){return!!e})).map((function(t){return e.$tags.decodeHTMLEntities(t)}))},getSearchPreview:function(){var e=this;return[].concat(Object(i["a"])(this.getRootPreview()),[this.getSearchForText]).filter((function(e){return!!e})).map((function(t){return e.$tags.decodeHTMLEntities(t)}))},get404Preview:function(){var e=this;return[].concat(Object(i["a"])(this.getRootPreview()),[this.options.breadcrumbs.errorFormat404]).filter((function(e){return!!e})).map((function(t){return e.$tags.decodeHTMLEntities(t)}))}},computed:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(n["e"])(["options"])),Object(n["c"])(["isUnlicensed"])),{},{getSearchForText:function(){return this.options.breadcrumbs.searchResultFormat.replace("#breadcrumb_search_string","".concat(this.strings.searchKeyword,""))},getArchivesOfText:function(){return this.options.breadcrumbs.archiveFormat.replace("#breadcrumb_archive_post_type_name","".concat(this.strings.categoryName,""))},getPagedText:function(){return this.options.breadcrumbs.pagedFormat.replace("#breadcrumb_format_page_number","2")},previews:function(){return[{label:"Post",preview:this.getPostPreview()},{label:"Archive",preview:this.getArchivePreview()},{label:"Search",preview:this.getSearchPreview()},{label:"404",preview:this.get404Preview()}]}})},d=l,b=(s("d9d4"),s("2877")),m=Object(b["a"])(d,r,a,!1,null,null,null);t["default"]=m.exports},4572:function(e,t,s){"use strict";s("7b42")},"49e3":function(e,t,s){},"698a":function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-breadcrumbs"},[s("core-card",{attrs:{slug:"breadcrumbTemplates"},scopedSlots:e._u([{key:"header",fn:function(){return[e._v(" "+e._s(e.strings.breadcrumbTemplates)+" "),s("core-pro-badge")]},proxy:!0},{key:"tooltip",fn:function(){return[e._v(" "+e._s(e.strings.breadcrumbTemplatesTooltip)+" ")]},proxy:!0},{key:"tabs",fn:function(){return[s("div",{staticClass:"content"},[s("core-blur",[s("core-main-tabs",{attrs:{tabs:e.tabs,showSaveButton:!1,active:e.tab,internal:""}}),s("transition",{attrs:{name:"route-fade",mode:"out-in"}},[s(e.tab,{tag:"component",attrs:{active:e.tab}})],1)],1),s("cta",{attrs:{"cta-link":e.$links.getPricingUrl("breadcrumb-templates","breadcrumb-templates-upsell"),"button-text":e.strings.ctaButtonText,"learn-more-link":e.$links.getUpsellUrl("breadcrumb-templates",null,"home"),"feature-list":e.features},scopedSlots:e._u([{key:"header-text",fn:function(){return[e._v(" "+e._s(e.strings.ctaHeader1)),s("br"),e._v(" "+e._s(e.strings.ctaHeader2)+" ")]},proxy:!0},{key:"description",fn:function(){return[e._v(" "+e._s(e.strings.ctaDescription)+" ")]},proxy:!0}])})],1)]},proxy:!0}])})],1)},a=[],o=s("5530"),i=s("2f62"),n=s("1df9"),c={components:{ContentTypesLite:n["default"]},data:function(){return{strings:{breadcrumbTemplates:this.$t.__("Breadcrumb Templates",this.$td),breadcrumbTemplatesTooltip:this.$t.__("Override the default template for breadcrumbs on your site using our easy-to-use template editor.",this.$td),ctaButtonText:this.$t.__("Upgrade to Pro and Unlock Breadcrumb Templates",this.$td),ctaHeader1:this.$t.__("Breadcrumb Templates are only available",this.$td),ctaHeader2:this.$t.sprintf(this.$t.__("for licensed %1$s %2$s users.",this.$td),"AIOSEO","Pro"),ctaDescription:this.$t.__("Our template editor will allow you to easily customize how breadcrumbs are displayed on your site based on each post type or taxonomy.",this.$td)},features:[this.$t.__("Custom HTML templates",this.$td),this.$t.__("Content Types",this.$td),this.$t.__("Taxonomies",this.$td),this.$t.__("Archives",this.$td)],tab:"ContentTypesLite",tabs:[{slug:"ContentTypesLite",name:this.$t.__("Content Types",this.$td),access:"aioseo_general_settings",pro:!0},{slug:"Taxonomies",name:this.$t.__("Taxonomies",this.$td),access:"aioseo_general_settings",pro:!0},{slug:"Archives",name:this.$t.__("Archives",this.$td),access:"aioseo_general_settings",pro:!0},{slug:"Advanced",name:this.$t.__("Advanced",this.$td),access:"aioseo_general_settings",pro:!0}]}},computed:Object(o["a"])({},Object(i["e"])(["options"])),methods:{}},u=c,l=(s("4572"),s("2877")),d=Object(l["a"])(u,r,a,!1,null,"1d5ee128",null);t["default"]=d.exports},"7b42":function(e,t,s){},c468:function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"preview-box"},[e.label?s("span",{staticClass:"label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._l(this.getPreviewData(),(function(t,r){return[10&&r'+e.options.breadcrumbs.separator+"").replace(/#breadcrumb_link/g,"Permalink")}));return this.useDefaultTemplate&&!this.options.breadcrumbs.showCurrentItem&&(t=t.slice(0,t.length-1)),t}}},c=n,u=s("2877"),l=Object(u["a"])(c,r,a,!1,null,null,null);t["default"]=l.exports},d9d4:function(e,t,s){"use strict";s("49e3")}}]);