text: (function(t){function e(e){for(var o,a,r=e[0],c=e[1],l=e[2],d=0,p=[];d<r.length;d++)a=r[d],Object.prototype.hasOwnProperty.call(i,a)&&i[a]&&p.push(i[a][0]),i[a]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(t[o]=c[o]);u&&u(e);while(p.length)p.shift()();return n.push.apply(n,l||[]),s()}function s(){for(var t,e=0;e<n.length;e++){for(var s=n[e],o=!0,r=1;r<s.length;r++){var c=s[r];0!==i[c]&&(o=!1)}o&&(n.splice(e--,1),t=a(a.s=s[0]))}return t}var o={},i={"post-settings":0},n=[];function a(e){if(o[e])return o[e].exports;var s=o[e]={i:e,l:!1,exports:{}};return t[e].call(s.exports,s,s.exports,a),s.l=!0,s.exports}a.m=t,a.c=o,a.d=function(t,e,s){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)a.d(s,o,function(e){return t[e]}.bind(null,o));return s},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="/";var r=window["aioseopjsonp"]=window["aioseopjsonp"]||[],c=r.push.bind(r);r.push=e,r=r.slice();for(var l=0;l<r.length;l++)e(r[l]);var u=c;n.push([8,"chunk-vendors","chunk-common"]),s()})({"08d2":function(t,e,s){},"0e57":function(t,e,s){"use strict";s.r(e);s("e260"),s("e6cf"),s("cca6"),s("a79d");var o=s("a026"),i=(s("1725"),s("75b9"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.pong?t._e():s("core-api-bar"),t.$isPro&&t.isUnlicensed&&t.pong?s("core-license-key-bar"):t._e(),t.currentPost.id?s("main-view"):t._e()],1)}),n=[],a=s("2909"),r=s("1da1"),c=s("5530"),l=(s("96cf"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-app"},[s("core-main-tabs",{attrs:{tabs:t.getTabs,showSaveButton:!1,active:this.activeTab,internal:"",disableMobile:""},on:{changed:function(e){return t.processChangeTab(e)}}}),s("transition",{attrs:{name:"route-fade",mode:"out-in"}},[s(t.activeTab,{tag:"component",attrs:{parentComponentContext:"metabox"}})],1),t.currentPost.modalOpen&&"sidebar"===t.$root._data.screenContext?s("core-modal",{attrs:{isolate:"",classes:["post-settings-modal"]},on:{close:t.closeModal}},[s("div",{attrs:{slot:"headerTitle"},slot:"headerTitle"},[t._v(" "+t._s(t.strings.modalTitle)+" ")]),s("div",{attrs:{slot:"body"},slot:"body"},[s("ModalContent")],1)]):t._e()],1)}),u=[],d=(s("4de4"),s("2f62")),p=s("51da"),h=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-tab-content aioseo-post-advanced"},[s("core-settings-row",{attrs:{name:t.strings.robotsSetting,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-single-robots-meta")]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.canonicalURL,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{type:"text",size:"medium",placeholder:t.strings.placeholder},on:{input:t.setIsDirty},model:{value:t.currentPost.canonicalUrl,callback:function(e){t.$set(t.currentPost,"canonicalUrl",e)},expression:"currentPost.canonicalUrl"}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.priorityScore,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"selectbox-row"},[s("div",{staticClass:"select"},[s("span",[t._v(t._s(t.strings.priority))]),s("base-select",{attrs:{disabled:t.isUnlicensed,size:"medium","open-direction":t.getOpenDirection,options:t.getPriorityOptions,value:t.isUnlicensed?t.getPriority("default"):t.getPriority(t.currentPost.priority)},on:{input:function(e){return t.isUnlicensed?null:t.savePriority(e.value)}}})],1),s("div",{staticClass:"separator"},[s("span"),t._v(" - ")]),s("div",{staticClass:"select"},[s("span",[t._v(t._s(t.strings.frequency))]),s("base-select",{attrs:{disabled:t.isUnlicensed,size:"medium","open-direction":t.getOpenDirection,options:t.getFrequencyOptions,value:t.isUnlicensed?t.getFrequency("default"):t.getFrequency(t.currentPost.frequency)},on:{input:function(e){return t.isUnlicensed?null:t.saveFrequency(e.value)}}})],1)]),t.isUnlicensed?s("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[s("div",{domProps:{innerHTML:t._s(t.strings.priorityFrequencyUpsell)}})]):t._e()]},proxy:!0}])}),t.options.searchAppearance.advanced.useKeywords?s("core-settings-row",{attrs:{name:t.strings.keywords,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{multiple:"",taggable:"",options:t.getJsonValue(t.currentPost.keywords)||[],value:t.getJsonValue(t.currentPost.keywords)||[],"tag-placeholder":t.strings.tagPlaceholder},on:{input:function(e){return t.currentPost.keywords=t.setJsonValue(e)}}})]},proxy:!0}],null,!1,2312666634)}):t._e()],1)},_=[],m=(s("99af"),s("7db0"),s("9c0e")),g={mixins:[m["b"],m["c"]],props:{disabled:{type:Boolean,default:function(){return!1}},type:{type:String,required:!1},object:{type:Object,required:!1}},data:function(){return{strings:{pageName:this.$t.__("Advanced",this.$td),robotsSetting:this.$t.__("Robots Setting",this.$td),robotsToggle:this.$t.__("Use Default Settings",this.$td),canonicalURL:this.$t.__("Canonical URL",this.$td),placeholder:this.$t.__("Enter a URL to change the default Canonical URL",this.$td),priorityScore:this.$t.__("Priority Score",this.$td),priority:this.$t.__("Priority",this.$td),frequency:this.$t.__("Frequency",this.$td),priorityFrequencyUpsell:this.$t.sprintf(this.$t.__("This feature is only for licensed %1$s users. %2$s",this.$td),"<strong>".concat("AIOSEO"," Pro</strong>"),this.$links.getUpsellLink("post-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"priority-frequency",!0)),keywords:this.$t.__("Keywords",this.$td),tagPlaceholder:this.$t.__("Press enter to create a keyword",this.$td)}}},computed:Object(c["a"])(Object(c["a"])(Object(c["a"])({},Object(d["c"])(["isUnlicensed"])),Object(d["e"])(["currentPost","options"])),{},{getOpenDirection:function(){return"sidebar"===this.$root._data.screenContext?"bottom":"top"},getPriorityOptions:function(){return[{label:this.$t.__("default",this.$td),value:"default"}].concat(this.$constants.PRIORITY_OPTIONS)},getFrequencyOptions:function(){return[{label:this.$t.__("default",this.$td),value:"default"}].concat(this.$constants.FREQUENCY_OPTIONS)}}),methods:{getPriority:function(t){return this.getPriorityOptions.find((function(e){return e.value===t}))},savePriority:function(t){this.$set(this.currentPost,"priority",t),this.$store.commit("isDirty",!0)},getFrequency:function(t){return this.getFrequencyOptions.find((function(e){return e.value===t}))},saveFrequency:function(t){this.$set(this.currentPost,"frequency",t),this.$store.commit("isDirty",!0)}}},b=g,y=(s("5e7f"),s("2877")),f=Object(y["a"])(b,h,_,!1,null,null,null),$=f.exports,v=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-tab-content aioseo-post-general"},[this.$allowed("aioseo_page_general_settings")?s("core-settings-row",{staticClass:"mobile-radio-buttons",scopedSlots:t._u([{key:"content",fn:function(){return["metabox"===t.$root._data.screenContext||"modal"===t.parentComponentContext?s("base-radio-toggle",{staticClass:"circle",attrs:{value:t.currentPost.generalMobilePrev,name:"previewGeneralIsMobile",options:[{label:"desktop",value:!1,activeClass:"dark",slot:"desktop"},{label:"mobile",value:!0,slot:"mobile"}]},on:{input:t.isMobilePreviewEv},scopedSlots:t._u([{key:"desktop",fn:function(){return[s("svg-desktop")]},proxy:!0},{key:"mobile",fn:function(){return[s("svg-mobile")]},proxy:!0}],null,!1,3417581673)}):t._e()]},proxy:!0}],null,!1,1896340531)}):t._e(),this.$allowed("aioseo_page_general_settings")?s("core-settings-row",{staticClass:"snippet-preview-row",attrs:{name:t.strings.snippetPreview},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-google-search-preview",{class:{ismobile:t.currentPost.generalMobilePrev},attrs:{title:t.currentPost.title||t.currentPost.tags.title||"#post_title #separator_sa #site_title",separator:t.options.searchAppearance.global.separator,description:t.currentPost.description||t.currentPost.tags.description||"#post_content"},scopedSlots:t._u([{key:"domain",fn:function(){return[t._v(" "+t._s(t.liveTags.permalink)+" ")]},proxy:!0}],null,!1,3436692130)}),"sidebar"===t.$root._data.screenContext&&"modal"!==t.parentComponentContext?s("base-button",{staticClass:"edit-snippet gray small",on:{click:t.editSnippetEv}},[s("svg-pencil"),t._v(" "+t._s(t.strings.editSnippet)+" ")],1):t._e()]},proxy:!0}],null,!1,3824536476)}):t._e(),"metabox"!==t.$root._data.screenContext&&"modal"!==t.parentComponentContext||!this.$allowed("aioseo_page_general_settings")?t._e():s("core-settings-row",{staticClass:"snippet-title-row",attrs:{name:t.title},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"","tags-context":(t.currentPost.postType||t.currentPost.termType)+"Title",defaultMenuOrientation:"modal"===t.parentComponentContext?"top":"bottom","default-tags":t.getDefaultTags("title")},on:{counter:function(e){return t.updateCount(e,"titleCount")},input:t.setContent},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddTitle)+" ")]},proxy:!0}],null,!1,3106947238),model:{value:t.currentPost.title,callback:function(e){t.$set(t.currentPost,"title",e)},expression:"currentPost.title"}}),s("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.titleCount,60))}})]},proxy:!0}],null,!1,2076209906)}),"metabox"!==t.$root._data.screenContext&&"modal"!==t.parentComponentContext||!this.$allowed("aioseo_page_general_settings")?t._e():s("core-settings-row",{staticClass:"snippet-description-row",attrs:{name:t.strings.metaDescription},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-html-tags-editor",{attrs:{"line-numbers":!1,description:"","tags-context":(t.currentPost.postType||t.currentPost.termType)+"Description",defaultMenuOrientation:"modal"===t.parentComponentContext?"top":"bottom","default-tags":t.getDefaultTags("description")},on:{counter:function(e){return t.updateCount(e,"descriptionCount")},input:t.setContent},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddDescription)+" ")]},proxy:!0}],null,!1,1726597184),model:{value:t.currentPost.description,callback:function(e){t.$set(t.currentPost,"description",e)},expression:"currentPost.description"}}),s("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.descriptionCount,160))}})]},proxy:!0}],null,!1,566412060)}),t.displayTruSeoMetaboxCard&&t.options.searchAppearance.advanced.useKeywords&&t.options.searchAppearance.advanced.keywordsLooking?s("div",[s("core-alert",{attrs:{type:"blue","show-close":""},on:{"close-alert":t.hideKeywordsLooking}},[t._v(" "+t._s(t.strings.lookingForMetaKeywords)+" ")])],1):t._e(),t.displayTruSeoMetaboxCard?s("core-settings-row",{staticClass:"snippet-focus-keyphrase-row",attrs:{align:""},scopedSlots:t._u([{key:"name",fn:function(){return[t._v(" "+t._s(t.strings.focusKeyphrase)+" "),s("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[s("div",{domProps:{innerHTML:t._s(t.strings.keyphraseDocumentation)}})]},proxy:!0}],null,!1,3089343708)},[s("svg-circle-question-mark")],1)]},proxy:!0},{key:"content",fn:function(){return[s("focusKeyphrase")]},proxy:!0}],null,!1,2373612567)}):t._e(),t.displayTruSeoMetaboxCard?s("core-settings-row",{staticClass:"snippet-additional-keyphrases-row",attrs:{name:t.strings.additionalKeyphrases},scopedSlots:t._u([{key:"content",fn:function(){return[s("additionalKeyphrases")]},proxy:!0}],null,!1,3781583425)}):t._e(),t.displayTruSeoMetaboxCard&&t.currentPost.page_analysis?s("core-settings-row",{staticClass:"snippet-page-analysis-row",attrs:{name:t.strings.pageAnalysis,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("pageAnalysis")]},proxy:!0}],null,!1,1626229952)}):t._e(),t.displayTruSeoSidebarKeyphraseCard?s("core-sidebar-card",{staticClass:"card-focus-keyphrase",attrs:{slug:"focus",focusScore:t.currentPost.keyphrases.focus.score},scopedSlots:t._u([{key:"header",fn:function(){return[t._v(" "+t._s(t.strings.focusKeyphrase)+" "),s("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[s("div",{domProps:{innerHTML:t._s(t.strings.keyphraseDocumentation)}})]},proxy:!0}],null,!1,3089343708)},[s("svg-circle-question-mark")],1)]},proxy:!0}],null,!1,557225409)},[s("focusKeyphrase")],1):t._e(),t.displayTruSeoSidebarKeyphraseCard?s("core-sidebar-card",{staticClass:"card-additional-keyphrase",attrs:{slug:"additional","header-text":t.strings.additionalKeyphrases}},[s("additionalKeyphrases")],1):t._e(),t.displayTruSeoSidebarAnalysisCard?s("core-sidebar-card",{staticClass:"card-basic-seo",attrs:{slug:"basicseo","header-text":t.strings.basicSeo,trueSeoScore:t.currentPost.page_analysis.analysis.basic.errors}},[s("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.page_analysis.analysis.basic}})],1):t._e(),t.displayTruSeoSidebarAnalysisCard?s("core-sidebar-card",{staticClass:"card-title-seo",attrs:{slug:"title","header-text":t.strings.title,trueSeoScore:t.currentPost.page_analysis.analysis.title.errors}},[s("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.page_analysis.analysis.title}})],1):t._e(),t.displayTruSeoSidebarAnalysisCard?s("core-sidebar-card",{staticClass:"card-readability-seo",attrs:{slug:"readability","header-text":t.strings.readability,trueSeoScore:t.currentPost.page_analysis.analysis.readability.errors}},[s("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.page_analysis.analysis.readability}})],1):t._e()],1)},w=[],P=s("248f"),C=s("caf7"),k=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"page-analysis-panel"},[s("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:this.initTab,internal:""},on:{changed:function(e){return t.processChangeTab(e)}}}),s("transition",{attrs:{mode:"out-in"}},[t.currentPost.page_analysis?s("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.page_analysis.analysis[this.initTab]}}):t._e()],1)],1)},x=[],T=(s("d81d"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ul",{staticClass:"aioseo-analysis-detail"},t._l(t.analysisItems,(function(e,o){return s("li",{key:o},[s("p",{staticClass:"title"},[0===e.error?s("svg-circle-check",{attrs:{width:"12"}}):t._e(),1===e.error?s("svg-circle-close",{attrs:{width:"12"}}):t._e(),t._v(" "+t._s(e.title)+" "),1===e.error?s("svg-caret",{attrs:{width:"16"},on:{click:t.toggleDescriptionEv}}):t._e()],1),1===e.error?s("p",{staticClass:"description"},[t._v(t._s(e.description))]):t._e()])})),0)}),S=[],O={props:{analysisItems:{type:Object}},data:function(){return{strings:{delete:this.$t.__("Delete",this.$td)}}},methods:{toggleDescriptionEv:function(t){t.target.parentElement.classList.toggle("toggled")}}},L=O,A=(s("a072"),Object(y["a"])(L,T,S,!1,null,null,null)),j=A.exports,I={components:{metaboxAnalysisDetail:j},data:function(){return{initTab:"basic",tabs:[{slug:"basic",name:this.$t.__("Basic SEO",this.$td)},{slug:"title",name:this.$t.__("Title",this.$td)},{slug:"readability",name:this.$t.__("Readability",this.$td)}]}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"])),methods:{processChangeTab:function(t){this.initTab=t}},mounted:function(){var t=this;this.tabs.map((function(e){return e.errorCount=t.currentPost.page_analysis.analysis[e.slug].errors,e}))}},D=I,E=(s("8c79"),Object(y["a"])(D,k,x,!1,null,null,null)),M=E.exports,R=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-focus-keyphrase-panel"},[t.currentPost.keyphrases.focus&&t.currentPost.keyphrases.focus.keyphrase?t._e():s("base-input",{class:"add-focus-keyphrase-"+this.$root._data.screenContext+"-input",attrs:{size:"medium"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.pressEnter.apply(null,arguments)}}}),s("div",{staticStyle:{display:"flex"}},[t.currentPost.keyphrases.focus&&t.currentPost.keyphrases.focus.keyphrase?t._e():s("base-button",{staticClass:"add-keyphrase gray small",attrs:{id:"add-focus-keyphrase"},on:{click:t.addKeyphraseEv}},[s("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.addKeyphrase)+" ")],1),t.currentPost.keyphrases.focus.keyphrase?t._e():s("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[s("span",[t._v(" "+t._s(t.strings.semrushGetAdditionalKeyphrases)+" "+t._s(t.strings.pleaseAddFocusKeyphrase)+" ")])]},proxy:!0}],null,!1,76107531)},[s("div",{staticClass:"disabled-button gray"},[s("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.getAdditionalKeyphrases)+" ")],1)])],1),t.currentPost.keyphrases.focus&&t.currentPost.keyphrases.focus.keyphrase?s("core-keyphrase",{staticClass:"aioseo-keyphrase-tag",attrs:{index:0,keyphrase:t.currentPost.keyphrases.focus.keyphrase,score:t.currentPost.keyphrases.focus.score},on:{saved:t.onSaved,deleted:t.onDeleted}}):t._e(),t.currentPost.loading.focus&&t.currentPost.keyphrases.focus?s("core-loader",{staticClass:"analysis-loading",attrs:{dark:""}}):t._e(),!t.currentPost.loading.focus&&t.currentPost.keyphrases.focus&&t.currentPost.keyphrases.focus.keyphrase?s("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.keyphrases.focus.analysis}}):t._e(),!t.currentPost.loading.focus&&t.currentPost.keyphrases.focus.keyphrase&&t.$isPro&&t.isUnlicensed?s("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[s("span",{domProps:{innerHTML:t._s(t.strings.semrushTooltipLicenseKey)}})]},proxy:!0}],null,!1,1529238061)},[s("div",{staticClass:"disabled-button gray"},[s("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.getAdditionalKeyphrases)+" ")],1)]):t._e(),t.currentPost.loading.focus||!t.currentPost.keyphrases.focus.keyphrase||t.$isPro&&t.isUnlicensed?t._e():s("core-tooltip",{attrs:{disabled:!t.showSemrushTooltip||t.$isPro,"force-show":t.showSemrushTooltip&&!t.$isPro},scopedSlots:t._u([{key:"tooltip",fn:function(){return[s("span",[t._v(" "+t._s(t.strings.semrushTooltip)+" ")])]},proxy:!0}],null,!1,248438756)},[s("base-button",{staticClass:"add-keyphrase gray small",on:{click:t.getAdditionalKeyphrases}},[s("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.getAdditionalKeyphrases)+" ")],1)],1),t.semrushShowModal?s("core-modal",{attrs:{isolate:"",classes:["aioseo-focus-keyphrase-panel-modal"]},on:{close:function(e){t.semrushShowModal=!1}}},[s("div",{attrs:{slot:"headerTitle"},slot:"headerTitle"},[t._v(" "+t._s(t.strings.modalTitle)+" ")]),s("div",{attrs:{slot:"body"},slot:"body"},[s("div",{staticClass:"aioseo-modal-content has-padding"},[t.isUnlicensed?s("core-alert",{attrs:{type:"blue"},domProps:{innerHTML:t._s(t.strings.upsell)}}):t._e(),s("div",{staticClass:"aioseo-settings-row"},[s("div",{staticClass:"settings-name"},[s("div",{staticClass:"name"},[t._v(" "+t._s(t.strings.showResultsFor)+" ")])]),s("base-select",{staticClass:"semrush-country-selector",attrs:{size:"medium",options:t.semrushDatabase,placeholder:t.strings.selectPriceIndicator},model:{value:t.semrushCountry,callback:function(e){t.semrushCountry=e},expression:"semrushCountry"}})],1),s("div",{staticClass:"results"},[s("table",{staticClass:"additional-keyphrases-table",attrs:{cellpadding:"0",cellspacing:"0"}},[s("thead",[s("tr",{staticClass:"keyphrases-header"},[s("th",{staticClass:"keyphrase"},[t._v(t._s(t.strings.keyphrase))]),s("th",{staticClass:"keyphrase-volume"},[t._v(t._s(t.strings.volume))]),s("th",{staticClass:"keyphrase-trend"},[t._v(t._s(t.strings.trend))]),t.isUnlicensed?t._e():s("th",{staticClass:"keyphrase-actions"})])]),s("tbody",{staticClass:"keyphrases-rows"},[t.semrush.results.length&&!t.loadingResults?t._l(t.semrush.results,(function(e,o){return s("tr",{key:o,staticClass:"keyphrase-row",class:{even:0===o%2}},[s("td",{staticClass:"keyphrase"},[t._v(" "+t._s(e[0])+" ")]),s("td",{staticClass:"keyphrase-volume"},[t._v(" "+t._s(e[1])+" ")]),s("td",{staticClass:"keyphrase-trend"},[s("svg-area-chart",{attrs:{width:66,height:24,data:t.transformTrendDataToChartPoints(e[2]),strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc"}})],1),t.isUnlicensed?t._e():s("td",{staticClass:"keyphrase-actions"},[e[0]===t.currentPost.keyphrases.focus.keyphrase.toLowerCase()?s("div",{staticClass:"focus-keyphrase"},[s("svg-circle-check"),t._v(" "+t._s(t.strings.focusKeyphrase)+" ")],1):t._e(),e[0]!==t.currentPost.keyphrases.focus.keyphrase.toLowerCase()?s("div",[o===t.removingAdditionalKeyphrase||o!==t.addingAdditionalKeyphrase&&t.hasAdditionalKeyphrase(e[0])?t._e():s("base-button",{attrs:{type:"gray",size:"small",loading:o===t.addingAdditionalKeyphrase},on:{click:function(s){return t.addAdditionalKeyphrase(e[0],o)}}},[t._v(" "+t._s(t.strings.addAdditionalKeyphrase)+" ")]),t.getAdditionalKeyphrase(e[0])&&o!==t.addingAdditionalKeyphrase&&(o===t.removingAdditionalKeyphrase||t.hasAdditionalKeyphrase(e[0]))?s("div",{staticClass:"remove-keyphrase"},[s("span",{staticClass:"keyphrase-score",class:t.scoreClass(t.getAdditionalKeyphrase(e[0]).score),on:{click:function(s){return t.goToAdditionalKeyphrase(e[0])}}},[t._v(t._s(t.getAdditionalKeyphrase(e[0]).score)+"/100")]),s("core-tooltip",{attrs:{type:"action"},scopedSlots:t._u([{key:"tooltip",fn:function(){return[t._v(" "+t._s(t.strings.delete)+" ")]},proxy:!0}],null,!0)},[s("svg-trash",{nativeOn:{click:function(s){return t.removeAdditionalKeyphrase(e[0],o)}}})],1)],1):t._e()],1):t._e()])])})):t._e(),!t.semrush.results.length||t.loadingResults?[s("tr",{staticClass:"keyphrase-row"},[s("td",{staticClass:"no-results",attrs:{colspan:t.isUnlicensed?3:4}},[s("div",[t.loadingResults?s("core-loader",{attrs:{dark:""}}):t._e(),t.loadingResults||t.semrush.error?t._e():s("span",[t._v(" "+t._s(t.strings.noResults)+" ")]),t.semrush.error?s("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.semrushError)+" ")]):t._e()],1)])])]:t._e()],2)])])],1)])]):t._e()],1)},B=[],N=(s("caad"),s("2532"),s("ac1f"),s("1276"),s("d3b7"),s("3ca3"),s("ddb0"),s("2b3d"),s("841c"),s("c740"),s("a434"),s("e935")),H={mixins:[m["b"]],components:{metaboxAnalysisDetail:j},data:function(){return{showSemrushTooltip:!1,loadingResults:!1,semrushShowModal:!1,addingAdditionalKeyphrase:!1,removingAdditionalKeyphrase:!1,semrushCountry:{value:"US",label:"United States of America - US"},strings:{modalTitle:this.$t.sprintf(this.$t.__("Additional Keyphrases by %1$s",this.$td),"Semrush"),addKeyphrase:this.$t.__("Add Focus Keyphrase",this.$td),getAdditionalKeyphrases:this.$t.__("Get Additional Keyphrases",this.$td),showResultsFor:this.$t.__("Show Results For:",this.$td),keyphrase:this.$t.__("Keyphrase",this.$td),volume:this.$t.__("Volume",this.$td),trend:this.$t.__("Trend",this.$td),addAdditionalKeyphrase:this.$t.__("Add Keyphrase",this.$td),removeAdditionalKeyphrase:this.$t.__("Remove Keyphrase",this.$td),noResults:this.$t.__("No results",this.$td),upsell:this.$t.sprintf(this.$t.__("Analyzing your content with %1$s keywords is only available to licensed %2$s users. %3$s",this.$td),"Semrush","<strong>".concat("AIOSEO"," Pro</strong>"),this.$links.getUpsellLink("semrush-keywords",this.$constants.GLOBAL_STRINGS.learnMore,null,!0)),semrushGetAdditionalKeyphrases:this.$t.sprintf(this.$t.__("%1$s integrates directly with %2$s to provide you with actionable keyphrases to help you write better content.",this.$td),"AIOSEO","Semrush"),pleaseAddFocusKeyphrase:this.$t.__("To use this feature, first add a focus keyphrase.",this.$td),focusKeyphrase:this.$t.__("Focus Keyphrase",this.$td),delete:this.$t.__("Delete",this.$td),semrushTooltip:this.$t.sprintf(this.$t.__("Get Additional Keyphrases with %1$s!",this.$td),"Semrush"),semrushTooltipLicenseKey:this.$t.sprintf(this.$t.__("%1$sA valid license key is required%2$s in order to connect with %3$s.",this.$td),'<a href="'+this.$aioseo.urls.aio.settings+'">',"</a>","Semrush")}}},watch:{semrushCountry:{deep:!0,handler:function(){this.getKeyphrases()}}},computed:Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])({},Object(d["c"])("integrations",["semrushExpired","semrushHasValidTokens"])),Object(d["c"])(["isUnlicensed","isConnected"])),Object(d["e"])(["currentPost","internalOptions"])),Object(d["e"])("integrations",["semrush"])),{},{semrushError:function(){return this.semrush.error.includes("TOTAL LIMIT EXCEEDED")?this.$t.__("You have exceeded the limit for requests. Please try again later.",this.$td):this.$t.__("An error occurred while fetching keyphrases. Please try again later.",this.$td)},semrushDatabase:function(){var t=this;return this.$constants.COUNTRY_LIST.map((function(t){return"GB"===t.value&&(t.value="UK",t.label="United Kingdom"),"KR"===t.value&&(t.label="South Korea"),t})).filter((function(e){return t.$constants.SEMRUSH_DATABASE.includes(e.value.toLowerCase())})).map((function(t){return t.label=t.label+" - "+t.value.toUpperCase(),t}))}}),methods:Object(c["a"])(Object(c["a"])(Object(c["a"])({},Object(d["b"])("integrations",["semrushAuthenticate","semrushRefresh","semrushGetKeyphrases"])),Object(d["b"])(["saveConnectToken"])),{},{getAdditionalKeyphrases:function(){this.showSemrushTooltip=!1,this.isConnected?this.semrushHasValidTokens?this.openModal():this.openPopup("https://oauth.semrush.com/auth/login?client_id=aioseo&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Faioseo%2Fsuccess&ref=2190331110&response_type=code&scope=user.id"):this.openConnectPopup(this.$aioseo.urls.connect+"&semrush=true")},transformTrendDataToChartPoints:function(t){var e=t.split(",");return e.map((function(t,e){return{x:e,y:parseFloat(t)}}))},openConnectPopup:function(t){Object(N["a"])(t,this.connectWithAioseo,600,630,!0,["token"],this.completedConnectCallback,this.closedConnectCallback)},openPopup:function(t){Object(N["a"])(t,"Semrush Oauth",450,570,!0,["code"],this.completedCallback,this.closedCallback,this.postMessageCallback)},completedCallback:function(t){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.abrupt("return",e.semrushAuthenticate(t.code));case 1:case"end":return s.stop()}}),s)})))()},completedConnectCallback:function(t){return this.saveConnectToken(t.token)},openModal:function(){this.semrushShowModal=!0,this.semrush.error||this.getKeyphrases()},getKeyphrases:function(){var t=this;this.loadingResults=!0,this.semrushGetKeyphrases(this.semrushCountry.value).then((function(){t.loadingResults=!1})).catch((function(e){t.semrushShowModal=!1,t.loadingResults=!1,console.error(e.message)}))},closedCallback:function(t){t&&this.openModal()},closedConnectCallback:function(t){t&&(this.semrushHasValidTokens?this.$nextTick(this.getAdditionalKeyphrases):this.showSemrushTooltip=!0)},postMessageCallback:function(t,e,s){var o=this;return Object(r["a"])(regeneratorRuntime.mark((function i(){var n,a,r,c,l;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t.data,a=t.source,r=t.origin,"https://oauth.semrush.com"===r&&e===a){i.next=3;break}return i.abrupt("return");case 3:if("semrush:oauth:success"===n.type){window.removeEventListener("message",s,!1),c={};try{l=new URL(n.url),c=Object(p["a"])(l.search)}catch(u){}o.completedCallback(c).then((function(){e.close(),e=null,o.closedCallback(!0)}))}"semrush:oauth:denied"===n.type&&(e.close(),window.removeEventListener("message",s,!1),e=null,o.closedCallback());case 5:case"end":return i.stop()}}),i)})))()},onSaved:function(t){var e=this,s=t.value;this.currentPost.keyphrases.focus.keyphrase=s,this.currentPost.loading.focus=!0,setTimeout((function(){e.$truSEO.runAnalysis({postId:e.currentPost.id,postData:e.currentPost}),e.currentPost.loading.focus=!1,e.setIsDirty()}),2e3)},onDeleted:function(){var t=this;this.currentPost.keyphrases.focus={},this.currentPost.loading.focus=!0,setTimeout((function(){t.$truSEO.runAnalysis({postId:t.currentPost.id,postData:t.currentPost}),t.currentPost.loading.focus=!1,t.setIsDirty()}),2e3)},addKeyphraseEv:function(){var t=this,e=document.getElementsByClassName("add-focus-keyphrase-".concat(this.$root._data.screenContext,"-input")),s=e[0].querySelector(".medium");if(s.value){var o={keyphrase:s.value,score:0,analysis:{}};this.$set(this.currentPost.keyphrases,"focus",o),this.currentPost.loading.focus=!0,s.value="",s.blur(),setTimeout((function(){t.$truSEO.runAnalysis({postId:t.currentPost.id,postData:t.currentPost}),t.currentPost.loading.focus=!1,t.setIsDirty()}),2e3)}},hasAdditionalKeyphrase:function(t){var e=this.currentPost.keyphrases.additional;return e.filter((function(e){return e.keyphrase.toLowerCase()===t})).length},getAdditionalKeyphrase:function(t){var e=this.currentPost.keyphrases.additional;return e.find((function(e){return e.keyphrase.toLowerCase()===t}))},scoreClass:function(t){return 80<t?"score-green":50<t?"score-orange":1<t?"score-red":"score-none"},addAdditionalKeyphrase:function(t,e){var s=this;this.addingAdditionalKeyphrase=e;var o=this.currentPost.keyphrases.additional,i=o.push({keyphrase:t,score:0}),n=document.getElementsByClassName("keyphrase-name");this.$set(this.currentPost.keyphrases,"additional",o),this.$nextTick((function(){setTimeout((function(){s.$truSEO.runAnalysis({postId:s.currentPost.id,postData:s.currentPost}),n[i]&&n[i].click(),s.setIsDirty(),s.addingAdditionalKeyphrase=!1}),2e3)}))},goToAdditionalKeyphrase:function(t){var e=this.currentPost.keyphrases.additional,s=e.findIndex((function(e){return e.keyphrase.toLowerCase()===t}));if(-1!==s){var o=document.getElementsByClassName("keyphrase-name");o[s+1]&&o[s+1].click(),this.semrushShowModal=!1}},removeAdditionalKeyphrase:function(t,e){var s=this;this.removingAdditionalKeyphrase=e;var o=this.currentPost.keyphrases.additional,i=o.findIndex((function(e){return e.keyphrase.toLowerCase()===t}));if(-1!==i){o.splice(i,1),this.$set(this.currentPost.keyphrases,"additional",o);var n=document.getElementsByClassName("keyphrase-name");n[0]&&n[0].click()}this.$nextTick((function(){s.removingAdditionalKeyphrase=!1}))},toggleDescriptionEv:function(t){t.target.parentElement.classList.toggle("toggled")},pressEnter:function(t){var e=document.getElementById("add-focus-keyphrase");t.preventDefault(),e.click()}}),mounted:function(){var t=[];this.internalOptions.integrations.semrush.accessToken&&this.semrushExpired&&t.push(this.semrushRefresh())}},F=H,K=(s("e2aa"),Object(y["a"])(F,R,B,!1,null,null,null)),z=K.exports,U=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"additional-keyphrases-panel"},[t.currentPost.keyphrases.additional&&t.currentPost.keyphrases.additional.length&&t.$isPro&&t.$aioseo.license.isActive?s("div",[t._l(t.currentPost.keyphrases.additional,(function(e,o){return s("core-keyphrase",{key:o,staticClass:"aioseo-keyphrase-tag additional-keyphrase",class:t.selectedKeyphrase===o?"selected":null,attrs:{index:o,keyphrase:e.keyphrase,score:e.score},on:{saved:t.onSaved,deleted:t.onDeleted,selectedKeyphrase:t.onSelectedKeyphrase}})})),s("div",{staticClass:"analysis-wrapper"},[t.currentPost.loading.additional[this.selectedKeyphrase]&&t.currentPost.keyphrases.additional[this.selectedKeyphrase].keyphrase?s("core-loader",{staticClass:"analysis-loading",attrs:{dark:""}}):t._e(),!t.currentPost.loading.additional[this.selectedKeyphrase]&&t.currentPost.keyphrases.additional[this.selectedKeyphrase].keyphrase?s("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.keyphrases.additional[this.selectedKeyphrase].analysis}}):t._e()],1)],2):t._e(),t.$isPro&&t.$aioseo.license.isActive?s("base-input",{class:"add-keyphrase-"+this.$root._data.screenContext+"-input",attrs:{size:"medium"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.pressEnter.apply(null,arguments)}}}):t._e(),t.$isPro&&t.$aioseo.license.isActive?s("base-button",{staticClass:"add-keyphrase gray small",attrs:{id:"add-additional-keyphrase"},on:{click:t.addKeyphraseEv}},[s("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.addKeyphrase)+" ")],1):t._e(),t.$isPro&&t.$aioseo.license.isActive?t._e():[s("div",{staticClass:"aioseo-description additional-keyphrases-description"},[t._v(" "+t._s(t.strings.keyphraseDocumentation)+" ")]),s("core-alert",{staticClass:"inline-upsell",attrs:{type:"yellow"}},[s("div",{domProps:{innerHTML:t._s(t.strings.upSell)}})])]],2)},V=[],W=(s("159b"),{mixins:[m["b"]],components:{metaboxAnalysisDetail:j},data:function(){return{selectedKeyphrase:0,strings:{additional:this.$t.__("Additional Keyphrases",this.$td),addKeyphrase:this.$t.__("Add Additional Keyphrases",this.$td),keyphraseDocumentation:this.$t.__("Improve your SEO rankings with additional keyphrases.",this.$td),upSell:this.$t.sprintf(this.$t.__("Multiple Keyphrases is a %1$s feature. %2$s",this.$td),"Pro",this.$links.getUpsellLink("seo-settings",this.$t.__("Click here to get",this.$td)+" AIOSEO Pro","additional-keyphrases",!0))}}},watch:{"currentPost.keyphrases.additional":function(){this.currentPost.keyphrases.additional[this.selectedKeyphrase]||(this.selectedKeyphrase=0)}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"])),methods:{onSelectedKeyphrase:function(t){this.selectedKeyphrase=t},onSaved:function(t){var e=this,s=t.index,o=t.value;this.currentPost.keyphrases.additional[s].keyphrase=o,this.currentPost.keyphrases.additional[s].score=0,this.currentPost.loading.additional[s]=!0,setTimeout((function(){e.$truSEO.runAnalysis({postId:e.currentPost.id,postData:e.currentPost}),e.currentPost.loading.additional[s]=!1,e.selectedKeyphrase=s,e.setIsDirty()}),2e3)},onDeleted:function(t){this.currentPost.keyphrases.additional.splice(t,1),this.selectedKeyphrase=0,this.setIsDirty()},addKeyphraseEv:function(){var t=this,e=document.getElementsByClassName("add-keyphrase-".concat(this.$root._data.screenContext,"-input")),s=e[0].querySelector(".medium");if(s.value){var o={keyphrase:s.value,score:0},i=this.currentPost.keyphrases.additional.push(o),n=document.getElementsByClassName("keyphrase-name");this.currentPost.loading.additional[0]=!0,s.value="",s.blur(),setTimeout((function(){t.$truSEO.runAnalysis({postId:t.currentPost.id,postData:t.currentPost}),n[i].click(),t.setIsDirty()}),2e3)}},pressEnter:function(t){var e=document.getElementById("add-additional-keyphrase");t.preventDefault(),e.click()},created:function(){var t=this;this.currentPost.keyphrases.forEach((function(e,s){t.currentPost.loading.additional[s]=!1}))}}}),G=W,q=(s("7197"),Object(y["a"])(G,U,V,!1,null,null,null)),J=q.exports,Y={mixins:[m["e"],m["i"],m["n"],m["b"]],components:{pageAnalysis:M,focusKeyphrase:z,additionalKeyphrases:J,metaboxAnalysisDetail:j},props:{disabled:{type:Boolean,default:function(){return!1}},parentComponentContext:String},data:function(){return{titleCount:0,descriptionCount:0,keywords:null,keyphrases:null,selectedKeyphrase:0,editSnippet:!1,truSEO:null,strings:{pageName:this.$t.__("General",this.$td),snippetPreview:this.$t.__("Snippet Preview",this.$td),snippetPreviewContent:this.$t.__("Snippet Preview content here.",this.$td),editSnippet:this.$t.__("Edit Snippet",this.$td),clickToAddTitle:this.$t.__("Click on the tags below to insert variables into your title.",this.$td),metaDescription:this.$t.__("Meta Description",this.$td),clickToAddDescription:this.$t.__("Click on the tags below to insert variables into your meta description.",this.$td),pillarContent:this.$t.__("Pillar Content",this.$td),pillarContentCopy:this.$t.__("Cornerstone content should be the most important and extensive articles on your site.",this.$td),focusKeyphrase:this.$t.__("Focus Keyphrase",this.$td),additionalKeyphrases:this.$t.__("Additional Keyphrases",this.$td),pageAnalysis:this.$t.__("Page Analysis",this.$td),basicSeo:this.$t.__("Basic SEO",this.$td),title:this.$t.__("Title",this.$td),readability:this.$t.__("Readability",this.$td),lookingForMetaKeywords:this.$t.__("Looking for meta keywords? Click on the advanced tab above to add/edit meta keywords.",this.$td),keyphraseDocumentation:this.$t.sprintf(this.$t.__("Not sure what keyphrases are used for? Check out our documentation for more information. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"useKeyphrasesTooltip",!0))}}},watch:{"currentPost.title":function(){var t=this;Object(P["a"])((function(){return t.runAnalysis({postId:t.currentPost.id})}),2e3)},"currentPost.description":function(){var t=this;Object(P["a"])((function(){return t.runAnalysis({postId:t.currentPost.id})}),2e3)}},computed:Object(c["a"])(Object(c["a"])(Object(c["a"])({},Object(d["e"])(["currentPost","options"])),Object(d["e"])("live-tags",["liveTags"])),{},{title:function(){return this.$t.sprintf(this.$t.__("%1$s Title",this.$td),this.currentPost.type)},toggled:function(){return 1===this.currentPost.pillar_content},displayTruSeoMetaboxCard:function(){return Object(C["r"])()&&"metabox"===this.$root._data.screenContext&&"post"===this.currentPost.context&&"attachment"!==this.currentPost.postType&&"modal"!==this.parentComponentContext&&this.$allowed("aioseo_page_analysis")&&!this.isWooCommerceProduct&&!this.currentPost.isSpecialPage&&!this.isForum},displayTruSeoSidebarKeyphraseCard:function(){return Object(C["r"])()&&"sidebar"===this.$root._data.screenContext&&"modal"!==this.parentComponentContext&&this.$allowed("aioseo_page_analysis")&&!this.currentPost.isSpecialPage&&!this.isForum},displayTruSeoSidebarAnalysisCard:function(){return Object(C["r"])()&&"sidebar"===this.$root._data.screenContext&&this.currentPost.page_analysis&&"modal"!==this.parentComponentContext&&this.$allowed("aioseo_page_analysis")&&!this.currentPost.isSpecialPage&&!this.isForum},isWooCommerceProduct:function(){return!(!window.aioseo.data.isWooCommerceActive||"product"!==this.currentPost.postType)},isForum:function(){return!("forum"!==this.currentPost.postType&&"topic"!==this.currentPost.postType&&"reply"!==this.currentPost.postType||!window.aioseo.data.isBBPressActive)}}),methods:Object(c["a"])(Object(c["a"])({},Object(d["b"])(["changeGeneralPreview","openModal","savePostState"])),{},{hideKeywordsLooking:function(){this.options.searchAppearance.advanced.keywordsLooking=!1,this.saveChanges()},isMobilePreviewEv:function(t){this.changeGeneralPreview(t)},editSnippetEv:function(){this.editSnippet=!this.editSnippet,this.$set(this.currentPost.tabs,"tab_modal","general"),this.openModal(!0)},setContent:function(){var t=this,e=function(){return Object(P["a"])((function(){var e=window.wp.data?window.wp.data.select("core/editor"):null;t.setIsDirty(),"post"===t.currentPost.context&&"attachment"!==t.currentPost.postType&&"product"!==t.currentPost.postType&&e&&t.runAnalysis({postId:t.currentPost.id,postData:t.currentPost,content:e.getEditedPostContent(),slug:e.getPermalink()})}),1e3)};e()},getDefaultTags:function(t){switch(t){case"title":return"post"===this.currentPost.context?["post_title","separator_sa","site_title"]:["taxonomy_title","separator_sa","site_title"];case"description":return"post"===this.currentPost.context?"attachment"===this.currentPost.postType?["attachment_caption","separator_sa","site_title"]:"product"===this.currentPost.postType?["post_excerpt","post_content"]:["post_excerpt","post_content","separator_sa"]:["taxonomy_title","separator_sa","taxonomy_description"]}}}),mounted:function(){this.keyphrases=this.currentPost.keyphrases,"post"!==this.currentPost.context||this.currentPost.keyphrases.length||(this.selectedKeyphrase=-1)}},Z=Y,Q=(s("40ea"),Object(y["a"])(Z,v,w,!1,null,null,null)),X=Q.exports,tt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-post-schema-view"},[t.isUnlicensed?t._e():s("schema"),t.isUnlicensed?s("schema-lite"):t._e()],1)},et=[],st=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-tab-content aioseo-post-schema"},[s("core-settings-row",{attrs:{name:t.strings.schemaType},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"schema-type",attrs:{size:"medium","open-direction":t.getOpenDirection,options:t.getSelectOptions("schemaTypes"),value:t.getCurrentOption("schemaTypes",t.currentPost.schema_type)},on:{input:function(e){return t.saveOption("schema_type",e.value)}}})]},proxy:!0}])}),"WebPage"===t.currentPost.schema_type?s("core-settings-row",{attrs:{name:t.strings.webPageType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"webpage-type",attrs:{size:"medium",options:t.getSelectOptions("webPageTypes"),value:t.getCurrentOption("webPageTypes",t.currentPost.schema_type_options.webPage.webPageType)},on:{input:function(e){return t.currentPost.schema_type_options.webPage.webPageType=e.value}}})]},proxy:!0}],null,!1,3364039856)}):t._e(),s("Article"),s("Course"),s("FaqPage"),s("Product"),s("Recipe"),s("SoftwareApplication")],1)},ot=[],it=s("3835"),nt=(s("4fad"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return"Article"===t.currentPost.schema_type?s("core-settings-row",{attrs:{name:t.strings.articleType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{name:"articleType",options:[{label:t.strings.articleLabel,value:"Article"},{label:t.strings.blogLabel,value:"BlogPosting"},{label:t.strings.newsLabel,value:"NewsArticle"}]},on:{input:t.setIsDirty},model:{value:t.currentPost.schema_type_options.article.articleType,callback:function(e){t.$set(t.currentPost.schema_type_options.article,"articleType",e)},expression:"currentPost.schema_type_options.article.articleType"}})]},proxy:!0}],null,!1,691905229)}):t._e()}),at=[],rt={mixins:[m["b"]],data:function(){return{strings:{articleType:this.$t.__("Article Type",this.$td),articleLabel:this.$t.__("Article",this.$td),blogLabel:this.$t.__("Blog Post",this.$td),newsLabel:this.$t.__("News Article",this.$td)}}},computed:Object(c["a"])({},Object(d["e"])(["currentPost","dynamicOptions"])),created:function(){var t=this.currentPost.postType;this.currentPost.schema_type||("post"===this.currentPost.context?this.currentPost.schema_type_options.article.articleType=this.dynamicOptions.searchAppearance.postTypes[t].articleType:"term"===this.currentPost.context?this.currentPost.schema_type_options.article.articleType=this.dynamicOptions.searchAppearance.taxonomies[t].articleType:this.currentPost.schema_type_options.article.articleType="BlogPosting")}},ct=rt,lt=Object(y["a"])(ct,nt,at,!1,null,null,null),ut=lt.exports,dt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return"Course"===t.currentPost.schema_type||"default"===t.currentPost.schema_type&&"Course"===t.currentPost.defaultSchemaType?s("div",{staticClass:"aioseo-course"},[s("core-settings-row",{attrs:{name:t.strings.name,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.course.name,callback:function(e){t.$set(t.currentPost.schema_type_options.course,"name",e)},expression:"currentPost.schema_type_options.course.name"}})]},proxy:!0}],null,!1,1048865791)}),s("core-settings-row",{attrs:{name:t.strings.description,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-textarea",{attrs:{minHeight:120},model:{value:t.currentPost.schema_type_options.course.description,callback:function(e){t.$set(t.currentPost.schema_type_options.course,"description",e)},expression:"currentPost.schema_type_options.course.description"}})]},proxy:!0}],null,!1,2669273692)}),s("core-settings-row",{attrs:{name:t.strings.provider,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.course.provider,callback:function(e){t.$set(t.currentPost.schema_type_options.course,"provider",e)},expression:"currentPost.schema_type_options.course.provider"}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.providerDescription)+" ")])]},proxy:!0}],null,!1,128967040)})],1):t._e()},pt=[],ht={data:function(){return{strings:{name:this.$t.__("Name",this.$tdPro),description:this.$t.__("Description",this.$tdPro),provider:this.$t.__("Provider",this.$tdPro),providerDescription:this.$t.__("The organization that publishes the content of the course",this.$tdPro)}}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"]))},_t=ht,mt=(s("64ef"),Object(y["a"])(_t,dt,pt,!1,null,null,null)),gt=mt.exports,bt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return"WebPage"===t.currentPost.schema_type&&"FAQPage"===t.currentPost.schema_type_options.webPage.webPageType||"default"===t.currentPost.schema_type&&"WebPage"===t.currentPost.defaultSchemaType&&"FAQPage"===t.currentPost.defaultWebPageType?s("div",[s("core-faq",{attrs:{pages:t.currentPost.schema_type_options.faq.pages}})],1):t._e()},yt=[],ft={data:function(){return{strings:{faq:this.$t.__("FAQ",this.$tdPro),question:this.$t.__("Question",this.$tdPro),answer:this.$t.__("Answer",this.$tdPro)}}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"]))},$t=ft,vt=Object(y["a"])($t,bt,yt,!1,null,null,null),wt=vt.exports,Pt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return"Product"===t.currentPost.schema_type||"default"===t.currentPost.schema_type&&"Product"===t.currentPost.defaultSchemaType?s("div",{staticClass:"aioseo-product"},[t.$aioseo.data.isWooCommerceActive&&"product"===t.currentPost.postType?s("WooCommerceProduct"):t.$aioseo.data.isEddActive&&"download"===t.currentPost.postType?s("EddProduct"):s("GenericProduct")],1):t._e()},Ct=[],kt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.$aioseo.data.wooCommerce.isWooCommerceBrandsActive||t.$aioseo.data.wooCommerce.isPerfectBrandsActive?t._e():s("core-settings-row",{attrs:{name:t.strings.brand,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{staticClass:"aioseo-product-brand",attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.product.brand,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"brand",e)},expression:"currentPost.schema_type_options.product.brand"}})]},proxy:!0}],null,!1,3885768891)}),s("core-settings-row",{attrs:{name:t.strings.identifierType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"aioseo-product-identifier-type",attrs:{size:"medium",options:t.$constants.SCHEMA_PRODUCT_IDENTIFIERS,value:t.getIdentifierType(t.currentPost.schema_type_options.product.identifierType)},on:{input:function(e){return t.saveIdentifierType(e.value)}}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.identifierDescription)+" "),s("span",{domProps:{innerHTML:t._s(t.$links.getDocLink(t.$constants.GLOBAL_STRINGS.learnMore,"productIdentifiers",!0))}})])]},proxy:!0}])}),t.currentPost.schema_type_options.product.identifierType&&"none"!==t.currentPost.schema_type_options.product.identifierType?s("core-settings-row",{attrs:{name:t.strings.identifier,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{staticClass:"aioseo-product-identifier",attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.product.identifier,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"identifier",e)},expression:"currentPost.schema_type_options.product.identifier"}})]},proxy:!0}],null,!1,2718297819)}):t._e(),s("core-alert",{attrs:{type:"blue"}},[t._v(" "+t._s(t.strings.wooCommerceAlert)+" ")])],1)},xt=[],Tt={data:function(){return{strings:{brand:this.$t.__("Brand",this.$tdPro),identifierType:this.$t.__("Identifier Type",this.$tdPro),identifierDescription:this.$t.__("The unique global product identifier (optional).",this.$tdPro),identifier:this.$t.__("Identifier",this.$tdPro),wooCommerceAlert:this.$t.sprintf(this.$t.__("%1$s will automatically pull all other data that is needed for this graph directly from %2$s. Enjoy!",this.$tdPro),"AIOSEO","WooCommerce")}}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"])),methods:{getIdentifierType:function(t){return this.$constants.SCHEMA_PRODUCT_IDENTIFIERS.find((function(e){return e.value===t}))},saveIdentifierType:function(t){this.$set(this.currentPost.schema_type_options.product,"identifierType",t)}}},St=Tt,Ot=Object(y["a"])(St,kt,xt,!1,null,null,null),Lt=Ot.exports,At=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("core-settings-row",{attrs:{name:t.strings.description,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-textarea",{attrs:{minHeight:120},model:{value:t.currentPost.schema_type_options.product.description,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"description",e)},expression:"currentPost.schema_type_options.product.description"}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.brand,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{staticClass:"aioseo-product-brand",attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.product.brand,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"brand",e)},expression:"currentPost.schema_type_options.product.brand"}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.priceValidUntil,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-datepicker",{staticClass:"aioseo-product-price-valid-until",attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.product.priceValidUntil,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"priceValidUntil",e)},expression:"currentPost.schema_type_options.product.priceValidUntil"}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.priceValidDescription)+" ")])]},proxy:!0}])}),s("core-settings-row",{class:{noBorder:t.$aioseo.data.edd.isEddReviewsActive},attrs:{name:t.strings.availability,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"aioseo-product-availibility",attrs:{size:"medium",options:t.$constants.SCHEMA_AVAILABILITY,value:t.getAvailability(t.currentPost.schema_type_options.product.availability)},on:{input:function(e){return t.saveAvailability(e.value)}}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.identifierType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"aioseo-product-identifier-type",attrs:{size:"medium",options:t.$constants.SCHEMA_PRODUCT_IDENTIFIERS,value:t.getIdentifierType(t.currentPost.schema_type_options.product.identifierType)},on:{input:function(e){return t.saveIdentifierType(e.value)}}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.identifierDescription)+" "),s("span",{domProps:{innerHTML:t._s(t.$links.getDocLink(t.$constants.GLOBAL_STRINGS.learnMore,"productIdentifiers",!0))}})])]},proxy:!0}])}),t.currentPost.schema_type_options.product.identifierType&&"none"!==t.currentPost.schema_type_options.product.identifierType?s("core-settings-row",{class:{"no-border":t.$aioseo.data.edd.isEddReviewsActive},attrs:{name:t.strings.identifier,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{staticClass:"aioseo-product-identifier",attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.product.identifier,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"identifier",e)},expression:"currentPost.schema_type_options.product.identifier"}})]},proxy:!0}],null,!1,2718297819)}):t._e(),t.$aioseo.data.edd.isEddReviewsActive?t._e():s("core-review",{staticClass:"no-border",attrs:{reviews:t.currentPost.schema_type_options.product.reviews}}),s("core-alert",{attrs:{type:"blue"}},[t._v(" "+t._s(t.strings.eddAlert)+" ")])],1)},jt=[],It={data:function(){return{strings:{description:this.$t.__("Description",this.$tdPro),brand:this.$t.__("Brand",this.$tdPro),priceValidUntil:this.$t.__("Price Valid Until",this.$tdPro),priceValidDescription:this.$t.__("The date until this pricing lasts (optional).",this.$tdPro),availability:this.$t.__("Availability",this.$tdPro),identifierType:this.$t.__("Identifier Type",this.$tdPro),identifierDescription:this.$t.__("The unique global product identifier (optional).",this.$tdPro),identifier:this.$t.__("Identifier",this.$tdPro),reviews:this.$t.__("Reviews",this.$tdPro),eddAlert:this.$t.sprintf(this.$t.__("%1$s will automatically pull all other data that is needed for this graph directly from %2$s. Enjoy!",this.$tdPro),"AIOSEO","Easy Digital Downloads")}}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"])),methods:{getAvailability:function(t){return this.$constants.SCHEMA_AVAILABILITY.find((function(e){return e.value===t}))},saveAvailability:function(t){this.$set(this.currentPost.schema_type_options.product,"availability",t)},getIdentifierType:function(t){return this.$constants.SCHEMA_PRODUCT_IDENTIFIERS.find((function(e){return e.value===t}))},saveIdentifierType:function(t){this.$set(this.currentPost.schema_type_options.product,"identifierType",t)}}},Dt=It,Et=Object(y["a"])(Dt,At,jt,!1,null,null,null),Mt=Et.exports,Rt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("core-settings-row",{attrs:{name:t.strings.description,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-textarea",{attrs:{minHeight:120},model:{value:t.currentPost.schema_type_options.product.description,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"description",e)},expression:"currentPost.schema_type_options.product.description"}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.price,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium",type:"number",min:0,step:.01},model:{value:t.currentPost.schema_type_options.product.price,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"price",e)},expression:"currentPost.schema_type_options.product.price"}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.currency,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{size:"medium",options:t.$constants.CURRENCY_LIST,value:t.getCurrency(t.currentPost.schema_type_options.product.currency)},on:{input:function(e){return t.saveCurrency(e.value)}}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.priceValidUntil,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-datepicker",{staticClass:"aioseo-product-price-valid-until",attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.product.priceValidUntil,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"priceValidUntil",e)},expression:"currentPost.schema_type_options.product.priceValidUntil"}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.priceValidDescription)+" ")])]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.brand,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{staticClass:"aioseo-product-brand",attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.product.brand,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"brand",e)},expression:"currentPost.schema_type_options.product.brand"}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.availability,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"aioseo-product-availibility",attrs:{size:"medium",options:t.$constants.SCHEMA_AVAILABILITY,value:t.getAvailability(t.currentPost.schema_type_options.product.availability)},on:{input:function(e){return t.saveAvailability(e.value)}}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.sku,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.product.sku,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"sku",e)},expression:"currentPost.schema_type_options.product.sku"}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.identifierType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"aioseo-product-identifier-type",attrs:{size:"medium",options:t.$constants.SCHEMA_PRODUCT_IDENTIFIERS,value:t.getIdentifierType(t.currentPost.schema_type_options.product.identifierType)},on:{input:function(e){return t.saveIdentifierType(e.value)}}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.identifierDescription)+" "),s("span",{domProps:{innerHTML:t._s(t.$links.getDocLink(t.$constants.GLOBAL_STRINGS.learnMore,"productIdentifiers",!0))}})])]},proxy:!0}])}),t.currentPost.schema_type_options.product.identifierType&&"none"!==t.currentPost.schema_type_options.product.identifierType?s("core-settings-row",{attrs:{name:t.strings.identifier,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{staticClass:"aioseo-product-identifier",attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.product.identifier,callback:function(e){t.$set(t.currentPost.schema_type_options.product,"identifier",e)},expression:"currentPost.schema_type_options.product.identifier"}})]},proxy:!0}],null,!1,2718297819)}):t._e(),s("core-review",{staticClass:"no-border",attrs:{reviews:t.currentPost.schema_type_options.product.reviews}})],1)},Bt=[],Nt={data:function(){return{strings:{description:this.$t.__("Description",this.$tdPro),sku:this.$t.__("SKU",this.$tdPro),brand:this.$t.__("Brand",this.$tdPro),currency:this.$t.__("Currency",this.$tdPro),price:this.$t.__("Price",this.$tdPro),priceValidUntil:this.$t.__("Price Valid Until",this.$tdPro),priceValidDescription:this.$t.__("The date until this pricing lasts (optional).",this.$tdPro),availability:this.$t.__("Availability",this.$tdPro),identifierType:this.$t.__("Identifier Type",this.$tdPro),identifierDescription:this.$t.__("The unique global product identifier (optional).",this.$tdPro),identifier:this.$t.__("Identifier",this.$tdPro),reviews:this.$t.__("Reviews",this.$tdPro)}}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"])),methods:{getCurrency:function(t){return this.$constants.CURRENCY_LIST.find((function(e){return e.value===t}))},saveCurrency:function(t){this.$set(this.currentPost.schema_type_options.product,"currency",t)},getAvailability:function(t){return this.$constants.SCHEMA_AVAILABILITY.find((function(e){return e.value===t}))},saveAvailability:function(t){this.$set(this.currentPost.schema_type_options.product,"availability",t)},getIdentifierType:function(t){return this.$constants.SCHEMA_PRODUCT_IDENTIFIERS.find((function(e){return e.value===t}))},saveIdentifierType:function(t){this.$set(this.currentPost.schema_type_options.product,"identifierType",t)}}},Ht=Nt,Ft=Object(y["a"])(Ht,Rt,Bt,!1,null,null,null),Kt=Ft.exports,zt={components:{WooCommerceProduct:Lt,EddProduct:Mt,GenericProduct:Kt},computed:Object(c["a"])({},Object(d["c"])(["currentPost"]))},Ut=zt,Vt=(s("f283"),Object(y["a"])(Ut,Pt,Ct,!1,null,null,null)),Wt=Vt.exports,Gt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return"Recipe"===t.currentPost.schema_type||"default"===t.currentPost.schema_type&&"Recipe"===t.currentPost.defaultSchemaType?s("div",{staticClass:"aioseo-recipe"},[s("core-settings-row",{attrs:{name:t.strings.name,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.name,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"name",e)},expression:"currentPost.schema_type_options.recipe.name"}})]},proxy:!0}],null,!1,1327608138)}),s("core-settings-row",{attrs:{name:t.strings.description,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-textarea",{attrs:{minHeight:120},model:{value:t.currentPost.schema_type_options.recipe.description,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"description",e)},expression:"currentPost.schema_type_options.recipe.description"}})]},proxy:!0}],null,!1,1547048041)}),s("core-settings-row",{attrs:{name:t.strings.author,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.author,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"author",e)},expression:"currentPost.schema_type_options.recipe.author"}})]},proxy:!0}],null,!1,1883204664)}),s("core-settings-row",{staticClass:"recipe-image",attrs:{name:t.strings.image},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"image-upload"},[s("base-input",{attrs:{size:"medium",placeholder:t.strings.pasteYourImageUrl},model:{value:t.currentPost.schema_type_options.recipe.image,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"image",e)},expression:"currentPost.schema_type_options.recipe.image"}}),s("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(e){return t.openUploadModal("image",["currentPost","schema_type_options","recipe","image"])}}},[s("svg-circle-plus"),t._v(" "+t._s(t.strings.uploadOrSelectImage)+" ")],1),s("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(e){t.currentPost.schema_type_options.recipe.image=null}}},[t._v(" "+t._s(t.strings.remove)+" ")])],1),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.minimumSize)+" ")]),s("base-img",{attrs:{src:t.currentPost.schema_type_options.recipe.image}})]},proxy:!0}],null,!1,2147694195)}),s("core-settings-row",{attrs:{name:t.strings.dishType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.dishType,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"dishType",e)},expression:"currentPost.schema_type_options.recipe.dishType"}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.dishTypeDescription)+" ")])]},proxy:!0}],null,!1,397975701)}),s("core-settings-row",{attrs:{name:t.strings.cuisineType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.cuisineType,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"cuisineType",e)},expression:"currentPost.schema_type_options.recipe.cuisineType"}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.cuisineTypeDescription)+" ")])]},proxy:!0}],null,!1,1721644821)}),s("core-settings-row",{attrs:{name:t.strings.timeRequired,align:""},scopedSlots:t._u([{key:"description",fn:function(){return[t._v(" "+t._s(t.strings.timeRequiredDescription)+" ")]},proxy:!0},{key:"content",fn:function(){return[s("span",{staticClass:"recipe-field-label"},[t._v(t._s(t.strings.preparationTime))]),s("base-input",{attrs:{type:"number",min:0,size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.preparationTime,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"preparationTime",e)},expression:"currentPost.schema_type_options.recipe.preparationTime"}}),s("span",{staticClass:"recipe-field-label"},[t._v(t._s(t.strings.cookingTime))]),s("base-input",{attrs:{type:"number",min:1,size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.cookingTime,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"cookingTime",e)},expression:"currentPost.schema_type_options.recipe.cookingTime"}})]},proxy:!0}],null,!1,4023516284)}),s("core-settings-row",{attrs:{name:t.strings.servings,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{type:"number",min:1,size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.servings,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"servings",e)},expression:"currentPost.schema_type_options.recipe.servings"}})]},proxy:!0}],null,!1,3594997708)}),s("core-settings-row",{attrs:{name:t.strings.calories,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{type:"number",min:0,size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.calories,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"calories",e)},expression:"currentPost.schema_type_options.recipe.calories"}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.caloriesDescription)+" ")])]},proxy:!0}],null,!1,3608709044)}),s("core-settings-row",{attrs:{name:t.strings.ingredients,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{multiple:"",taggable:"",options:t.getJsonValue(t.currentPost.schema_type_options.recipe.ingredients)||[],value:t.getJsonValue(t.currentPost.schema_type_options.recipe.ingredients)||[]},on:{input:function(e){return t.currentPost.schema_type_options.recipe.ingredients=t.setJsonValue(e)}}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.ingredientsDescription)+" ")])]},proxy:!0}],null,!1,1136341562)}),s("core-recipe-instructions",{attrs:{instructions:t.currentPost.schema_type_options.recipe.instructions}}),s("core-settings-row",{attrs:{name:t.strings.rating,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("span",{staticClass:"recipe-field-label"},[t._v(t._s(t.strings.averageRating))]),s("base-input",{attrs:{type:"number",min:1,max:5,size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.averageRating,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"averageRating",e)},expression:"currentPost.schema_type_options.recipe.averageRating"}}),s("span",{staticClass:"recipe-field-label"},[t._v(t._s(t.strings.ratingCount))]),s("base-input",{attrs:{type:"number",min:1,size:"medium"},model:{value:t.currentPost.schema_type_options.recipe.ratingCount,callback:function(e){t.$set(t.currentPost.schema_type_options.recipe,"ratingCount",e)},expression:"currentPost.schema_type_options.recipe.ratingCount"}})]},proxy:!0}],null,!1,4294282727)}),s("core-settings-row",{attrs:{name:t.strings.keywords,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{multiple:"",taggable:"",options:t.getJsonValue(t.currentPost.schema_type_options.recipe.keywords)||[],value:t.getJsonValue(t.currentPost.schema_type_options.recipe.keywords)||[]},on:{input:function(e){return t.currentPost.schema_type_options.recipe.keywords=t.setJsonValue(e)}}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.keywordsDescription)+" ")])]},proxy:!0}],null,!1,2057320826)})],1):t._e()},qt=[],Jt={mixins:[m["c"],m["e"],m["o"]],data:function(){return{strings:{name:this.$t.__("Name",this.$tdPro),description:this.$t.__("Description",this.$tdPro),author:this.$t.__("Author",this.$tdPro),dishType:this.$t.__("Dish Type",this.$tdPro),dishTypeDescription:this.$t.__('The type of dish, e.g. "dinner", "main course", "dessert" or "snack".',this.$tdPro),cuisineType:this.$t.__("Cuisine Type",this.$tdPro),cuisineTypeDescription:this.$t.__('The region associated with the recipe, e.g. "French" or "Mediterranean" or "American".',this.$tdPro),timeRequired:this.$t.__("Time Required",this.$tdPro),timeRequiredDescription:this.$t.__("The time required for each stage in minutes.",this.$tdPro),preparationTime:this.$t.__("Preparation Time",this.$tdPro),cookingTime:this.$t.__("Cooking Time",this.$tdPro),servings:this.$t.__("Amount of Servings",this.$tdPro),calories:this.$t.__("Calories",this.$tdPro),caloriesDescription:this.$t.__("The total number of calories in the recipe.",this.$tdPro),ingredients:this.$t.__("Ingredients",this.$tdPro),ingredientsDescription:this.$t.__('The ingredients and their amounts, e.g. "3/4 cup sugar".',this.$tdPro),instructions:this.$t.__("Instructions",this.$tdPro),keywords:this.$t.__("Keywords",this.$tdPro),keywordsDescription:this.$t.__("Other relevant terms for your recipe such as a season, a specific holiday or theme, or other descriptors. Don't enter the dish or cuisine type.",this.$tdPro),rating:this.$t.__("Rating",this.$tdPro),averageRating:this.$t.__("Average Rating",this.$tdPro),ratingCount:this.$t.__("Amount of ratings",this.$tdPro),image:this.$t.__("Image",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),minimumSize:this.$t.__("Minimum size: 112px x 112px, The image must be in JPG, PNG, GIF, SVG, or WEBP format.",this.$td),remove:this.$t.__("Remove",this.$td)}}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"]))},Yt=Jt,Zt=(s("b49c"),Object(y["a"])(Yt,Gt,qt,!1,null,null,null)),Qt=Zt.exports,Xt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return"SoftwareApplication"===t.currentPost.schema_type||"default"===t.currentPost.schema_type&&"SoftwareApplication"===t.currentPost.defaultSchemaType?s("div",{staticClass:"aioseo-software-app"},[s("core-settings-row",{attrs:{name:t.strings.name,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium"},model:{value:t.currentPost.schema_type_options.software.name,callback:function(e){t.$set(t.currentPost.schema_type_options.software,"name",e)},expression:"currentPost.schema_type_options.software.name"}})]},proxy:!0}],null,!1,4280443789)}),s("core-settings-row",{attrs:{name:t.strings.price,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{size:"medium",type:"number",min:0,step:.01},model:{value:t.currentPost.schema_type_options.software.price,callback:function(e){t.$set(t.currentPost.schema_type_options.software,"price",e)},expression:"currentPost.schema_type_options.software.price"}})]},proxy:!0}],null,!1,1694728765)}),s("core-settings-row",{attrs:{name:t.strings.currency,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{size:"medium",options:t.$constants.CURRENCY_LIST,value:t.getCurrency(t.currentPost.schema_type_options.software.currency)},on:{input:function(e){return t.saveCurrency(e.value)}}})]},proxy:!0}],null,!1,3539698753)}),s("core-settings-row",{attrs:{name:t.strings.operatingSystem,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{multiple:"",taggable:"",options:t.getJsonValue(t.currentPost.schema_type_options.software.operatingSystems)||[],value:t.getJsonValue(t.currentPost.schema_type_options.software.operatingSystems)||[]},on:{input:function(e){return t.currentPost.schema_type_options.software.operatingSystems=t.setJsonValue(e)}}}),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.operatingSystemDescription)+" ")])]},proxy:!0}],null,!1,3901896622)}),s("core-settings-row",{attrs:{name:t.strings.category,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{size:"medium",options:t.categories,value:t.getCategory(t.currentPost.schema_type_options.software.category)},on:{input:function(e){return t.saveCategory(e.value)}}})]},proxy:!0}],null,!1,1954350973)}),s("core-review",{attrs:{reviews:t.currentPost.schema_type_options.software.reviews,multiple:!1}})],1):t._e()},te=[],ee={mixins:[m["c"]],data:function(){return{strings:{name:this.$t.__("Name",this.$tdPro),price:this.$t.__("Price",this.$tdPro),currency:this.$t.__("Currency",this.$tdPro),operatingSystem:this.$t.__("Operating System",this.$tdPro),operatingSystemDescription:this.$t.__('The supported operating systems, e.g. "Windows 10", "OSX 10.6", "Android 9"',this.$tdPro),category:this.$t.__("Category",this.$tdPro)},categories:[{label:"Business App",value:"BusinessApplication"},{label:"Entertainment App",value:"EntertainmentApplication"},{label:"Communication App",value:"CommunicationApplication"},{label:"Social Network App",value:"SocialNetworkingApplication"},{label:"Educational App",value:"EducationalApplication"},{label:"Health App",value:"HealthApplication"},{label:"Finance App",value:"FinanceApplication"},{label:"Shopping App",value:"ShoppingApplication"},{label:"Travel App",value:"TravelApplication"},{label:"Sports App",value:"SportsApplication"},{label:"Video Game App",value:"GameApplication"},{label:"Browser App",value:"BrowserApplication"},{label:"Security App",value:"SecurityApplication"},{label:"Design App",value:"DesignApplication"},{label:"Developer App",value:"DeveloperApplication"},{label:"Lifestyle App",value:"LifestyleApplication"},{label:"Driver App",value:"DriverApplication"},{label:"Desktop Enhancement App",value:"DesktopEnhancementApplication"},{label:"Multimedia App",value:"MultimediaApplication"},{label:"Home App",value:"HomeApplication"},{label:"Utilities App",value:"UtilitiesApplication"},{label:"Reference App",value:"ReferenceApplication"}]}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"])),methods:{getCurrency:function(t){return this.$constants.CURRENCY_LIST.find((function(e){return e.value===t}))},saveCurrency:function(t){this.$set(this.currentPost.schema_type_options.software,"currency",t)},getCategory:function(t){return this.categories.find((function(e){return e.value===t}))},saveCategory:function(t){this.$set(this.currentPost.schema_type_options.software,"category",t)}}},se=ee,oe=(s("2201"),Object(y["a"])(se,Xt,te,!1,null,null,null)),ie=oe.exports,ne={components:{Article:ut,Course:gt,FaqPage:wt,Product:Wt,Recipe:Qt,SoftwareApplication:ie},data:function(){return{webPageTypes:{page:[{value:"WebPage",label:this.$t.__("Web Page",this.$tdPro)},{value:"AboutPage",label:this.$t.__("About Us Page",this.$tdPro)},{value:"ContactPage",label:this.$t.__("Contact Page",this.$tdPro)},{value:"FAQPage",label:this.$t.__("FAQ Page",this.$tdPro)},{value:"QAPage",label:this.$t.__("QA Page",this.$tdPro)}],cpt:[{value:"WebPage",label:this.$t.__("Web 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.$td),webPageType:this.$t.__("Web Page Type",this.$td)}}},computed:Object(c["a"])(Object(c["a"])({},Object(d["e"])(["currentPost","options"])),{},{getOpenDirection:function(){return"sidebar"===this.$root._data.screenContext?"bottom":"top"},schemaTypes:function(){var t=this,e={post:[{value:"none",label:this.$t.__("None",this.$tdPro)},{value:"Article",label:this.$t.__("Article",this.$tdPro)},{value:"Course",label:this.$t.__("Course",this.$td)},{value:"Product",label:this.$t.__("Product",this.$tdPro)},{value:"Recipe",label:this.$t.__("Recipe",this.$td)},{value:"SoftwareApplication",label:this.$t.__("Software Application",this.$tdPro)},{value:"WebPage",label:this.$t.__("Web Page",this.$tdPro)}],page:[{value:"none",label:this.$t.__("None",this.$tdPro)},{value:"Course",label:this.$t.__("Course",this.$td)},{value:"Product",label:this.$t.__("Product",this.$tdPro)},{value:"Recipe",label:this.$t.__("Recipe",this.$td)},{value:"SoftwareApplication",label:this.$t.__("Software Application",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:"Article",label:this.$t.__("Article",this.$tdPro)},{value:"Course",label:this.$t.__("Course",this.$td)},{value:"Product",label:this.$t.__("Product",this.$tdPro)},{value:"Recipe",label:this.$t.__("Recipe",this.$td)},{value:"SoftwareApplication",label:this.$t.__("Software Application",this.$tdPro)},{value:"WebPage",label:this.$t.__("Web Page",this.$tdPro)}]};if(this.currentPost.defaultSchemaType){var s="";s="WebPage"!==this.currentPost.defaultSchemaType&&"ItemPage"!==this.currentPost.defaultSchemaType?e.cpt.find((function(e){return e.value===t.currentPost.defaultSchemaType})).label:this.webPageTypes.cpt.find((function(e){return e.value===t.currentPost.defaultWebPageType})).label,s=s+" "+this.$t.__("(Default)",this.$tdPro);for(var o=0,i=Object.entries(e);o<i.length;o++){var n=Object(it["a"])(i[o],1),a=n[0];e[a].unshift({value:"default",label:s})}}else for(var r=0,c=Object.entries(e);r<c.length;r++){var l=Object(it["a"])(c[r],1),u=l[0];e[u].unshift({value:"default",label:"Default"})}return e}}),methods:Object(c["a"])(Object(c["a"])({},Object(d["b"])(["changeSchemaSettings"])),{},{getSelectOptions:function(t){return"undefined"!==typeof this[t][this.currentPost.postType]?this[t][this.currentPost.postType]:this[t].cpt},getCurrentOption:function(t,e){return"undefined"!==typeof this[t][this.currentPost.postType]?this[t][this.currentPost.postType].find((function(t){return t.value===e})):this[t].cpt.find((function(t){return t.value===e}))},saveOption:function(t,e){this.$set(this.currentPost,t,e),this.$store.commit("isDirty",!0)}}),created:function(){this.currentPost.schema_type||(this.currentPost.schema_type="default")}},ae=ne,re=(s("961f"),Object(y["a"])(ae,st,ot,!1,null,null,null)),ce=re.exports,le=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-tab-content aioseo-post-schema-lite"},[s("core-settings-row",{attrs:{name:t.strings.schemaType},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{staticClass:"schema-type",attrs:{disabled:"",size:"medium",options:[{value:"default",label:"Default (Set in Search Appearance)"},{value:"none",label:"None"},{value:"Article",label:"Article"}],value:{value:"Article",label:"Article"}}})]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.articleType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{disabled:"",name:"articleType",value:"BlogPosting",options:[{label:t.strings.article,value:"Article"},{label:t.strings.blogPost,value:"BlogPosting"},{label:t.strings.newsArticle,value:"NewsArticle"}]}})]},proxy:!0}])}),t.$isPro&&t.$aioseo.license.isActive?t._e():s("core-alert",{staticClass:"schema-upsell inline-upsell",attrs:{type:"blue"}},[s("div",{domProps:{innerHTML:t._s(t.strings.schemaUpsell)}})])],1)},ue=[],de={data:function(){return{strings:{schemaType:this.$t.__("Schema Type",this.$td),articleType:this.$t.__("Article Type",this.$td),article:this.$t.__("Article",this.$td),blogPost:this.$t.__("Blog Post",this.$td),newsArticle:this.$t.__("News Article",this.$td),schemaUpsell:this.$t.sprintf(this.$t.__("This feature is only for licensed %1$s users. %2$s",this.$td),"<strong>".concat("AIOSEO"," Pro</strong>"),this.$links.getUpsellLink("post-schema",this.$constants.GLOBAL_STRINGS.learnMore,null,!0))}}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"]))},pe=de,he=(s("5282"),Object(y["a"])(pe,le,ue,!1,null,null,null)),_e=he.exports,me={components:{Schema:ce,SchemaLite:_e},computed:Object(c["a"])({},Object(d["c"])(["isUnlicensed"]))},ge=me,be=Object(y["a"])(ge,tt,et,!1,null,null,null),ye=be.exports,fe=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-tab-content aioseo-post-social"},[s("core-settings-row",{staticClass:"mobile-radio-buttons",scopedSlots:t._u([{key:"content",fn:function(){return[s("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.initTab,internal:""},on:{changed:function(e){return t.processChangeTab(e)}}}),"metabox"===t.$root._data.screenContext||"modal"===t.parentComponentContext?s("base-radio-toggle",{staticClass:"circle",attrs:{value:t.currentPost.socialMobilePreview,name:"previewSocialIsMobile",options:[{label:"desktop",value:!1,activeClass:"dark",slot:"desktop"},{label:"mobile",value:!0,slot:"mobile"}]},on:{input:t.isMobilePreviewEv},scopedSlots:t._u([{key:"desktop",fn:function(){return[s("svg-desktop")]},proxy:!0},{key:"mobile",fn:function(){return[s("svg-mobile")]},proxy:!0}],null,!1,3417581673)}):t._e()]},proxy:!0}])}),s("transition",{attrs:{name:"route-fade",mode:"out-in"}},[s(t.initTab,{tag:"component"})],1),"modal"!==this.parentComponentContext?s("social-side-bar"):t._e()],1)},$e=[],ve=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"tab-facebook"},[s("core-settings-row",{attrs:{name:t.strings.tabName},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-facebook-preview",{class:{ismobilecard:t.currentPost.socialMobilePreview},attrs:{image:t.currentPost.og_image_custom_url||t.currentPost.og_image},scopedSlots:t._u([{key:"site-url",fn:function(){return[s("span",[t._v(t._s(t.liveTags.permalink))])]},proxy:!0},{key:"site-title",fn:function(){return[s("span",[t._v(t._s(t.truncate(t.parseTags(t.currentPost.og_title||t.currentPost.tags.title||"#post_title #separator_sa #site_title"),100)))])]},proxy:!0},{key:"site-description",fn:function(){return[s("span",[t._v(t._s(t.truncate(t.parseTags(t.currentPost.og_description||t.currentPost.tags.description||"#post_content"))))])]},proxy:!0}])})]},proxy:!0}])}),s("core-settings-row",{staticClass:"facebook-title-settings",attrs:{name:t.strings.facebookTitle,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,single:"","tags-context":(t.currentPost.postType||t.currentPost.termType)+"Title","default-tags":t.$tags.getDefaultTags("term"===t.currentPost.context?"taxonomies":null,null,"title")},on:{counter:function(e){return t.updateCount(e,"titleCount")},input:t.setIsDirty},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddSiteName)+" ")]},proxy:!0}]),model:{value:t.currentPost.og_title,callback:function(e){t.$set(t.currentPost,"og_title",e)},expression:"currentPost.og_title"}}),s("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.titleCount,95))}})]},proxy:!0}])}),s("core-settings-row",{staticClass:"facebook-description-settings",attrs:{name:t.strings.facebookDescription,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,description:"","tags-context":(t.currentPost.postType||t.currentPost.termType)+"Description","default-tags":t.$tags.getDefaultTags("term"===t.currentPost.context?"taxonomies":null,null,"description")},on:{counter:function(e){return t.updateCount(e,"descriptionCount")},input:t.setIsDirty},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddHomePageDescription)+" ")]},proxy:!0}]),model:{value:t.currentPost.og_description,callback:function(e){t.$set(t.currentPost,"og_description",e)},expression:"currentPost.og_description"}}),s("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.descriptionCount,200))}})]},proxy:!0}])}),s("core-settings-row",{staticClass:"facebook-image-source",attrs:{name:t.strings.imageSource,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{size:"medium",options:t.imageSourceOptionsFiltered,value:t.getImageSourceOptionFiltered(t.currentPost.og_image_type)},on:{input:function(e){return t.saveImageType(e.value)}}})]},proxy:!0}])}),"custom"===t.currentPost.og_image_type?s("core-settings-row",{attrs:{name:t.strings.customFieldsName,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{type:"text",size:"medium",placeholder:t.strings.placeholder},on:{input:t.setIsDirty},model:{value:t.currentPost.og_image_custom_fields,callback:function(e){t.$set(t.currentPost,"og_image_custom_fields",e)},expression:"currentPost.og_image_custom_fields"}})]},proxy:!0}],null,!1,1200630708)}):t._e(),"custom_image"===t.currentPost.og_image_type?s("core-settings-row",{staticClass:"facebook-image",attrs:{name:t.strings.facebookImage},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"facebook-image-upload"},[s("base-input",{attrs:{size:"medium",placeholder:t.strings.pasteYourImageUrl},on:{input:t.setIsDirty},model:{value:t.currentPost.og_image_custom_url,callback:function(e){t.$set(t.currentPost,"og_image_custom_url",e)},expression:"currentPost.og_image_custom_url"}}),s("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(e){return t.openUploadModal("facebookImage",["currentPost","og_image_custom_url"])}}},[s("svg-circle-plus"),t._v(" "+t._s(t.strings.uploadOrSelectImage)+" ")],1),s("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(e){t.currentPost.og_image_custom_url=null}}},[t._v(" "+t._s(t.strings.remove)+" ")])],1),s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.minimumSize)+" ")]),s("base-img",{attrs:{src:t.currentPost.og_image_custom_url}})]},proxy:!0}],null,!1,2350594857)}):t._e(),s("core-settings-row",{staticClass:"facebook-video",attrs:{name:t.strings.video,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{type:"text",size:"medium"},model:{value:t.currentPost.og_video,callback:function(e){t.$set(t.currentPost,"og_video",e)},expression:"currentPost.og_video"}})]},proxy:!0}])}),s("core-settings-row",{staticClass:"facebook-object-type",attrs:{name:t.strings.facebookObjectType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{size:"medium","open-direction":"top",options:t.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:t.getObjectTypeOptions(t.currentPost.og_object_type)},on:{input:function(e){return t.setObjectType(e.value)}}})]},proxy:!0}])}),t.shouldShowArticleSection?s("core-settings-row",{attrs:{name:t.strings.articleSection,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{type:"text",size:"medium"},model:{value:t.currentPost.og_article_section,callback:function(e){t.$set(t.currentPost,"og_article_section",e)},expression:"currentPost.og_article_section"}})]},proxy:!0}],null,!1,1205905290)}):t._e(),t.shouldShowArticleSection?s("core-settings-row",{attrs:{name:t.strings.articleTags,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{multiple:"",taggable:"",options:t.getJsonValue(t.currentPost.og_article_tags)||[],value:t.getJsonValue(t.currentPost.og_article_tags)||[],"tag-placeholder":t.strings.tagPlaceholder},on:{input:function(e){return t.currentPost.og_article_tags=t.setJsonValue(e)}}})]},proxy:!0}],null,!1,2497302637)}):t._e()],1)},we=[],Pe={mixins:[m["a"],m["c"],m["e"],m["l"],m["o"],m["b"]],props:{isMobilePreview:{type:Boolean,default:function(){return!1}}},data:function(){return{titleCount:0,descriptionCount:0,strings:{tabName:this.$t.__("Facebook Preview",this.$td),imageSource:this.$t.__("Image Source",this.$td),customFieldsName:this.$t.__("Custom Field Name",this.$td),video:this.$t.__("Video URL",this.$td),width:this.$t.__("Width",this.$td),height:this.$t.__("Height",this.$td),facebookObjectType:this.$t.__("Object Type",this.$td),facebookImage:this.$t.__("Facebook Image",this.$td),facebookTitle:this.$t.__("Facebook Title",this.$td),facebookDescription:this.$t.__("Facebook Description",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),minimumSize:this.$t.__("Minimum size: 200px x 200px, ideal ratio 1.91:1, 5MB max. (eg: 1640px x 856px or 3280px x 1712px for retina screens)",this.$td),remove:this.$t.__("Remove",this.$td),clickToAddSiteName:this.$t.__("Click on the tags below to insert variables into your site name.",this.$td),clickToAddHomePageDescription:this.$t.__("Click on the tags below to insert variables into your meta description.",this.$td),articleSection:this.$t.__("Article Section",this.$td),articleTags:this.$t.__("Article Tags",this.$td),tagPlaceholder:this.$t.__("Press enter to create an article tag",this.$td)}}},computed:Object(c["a"])(Object(c["a"])(Object(c["a"])({},Object(d["e"])("live-tags",["liveTags"])),Object(d["e"])(["currentPost","options","dynamicOptions"])),{},{objectTypeOptions:function(){return[{groupLabel:this.$t.__("Default",this.$td),options:[{label:this.$t.__("Default Object Type (Set in Social Networks)",this.$td),value:"default"}]}].concat(this.$constants.OG_TYPE_OPTIONS)},shouldShowArticleSection:function(){var t="term"===this.currentPost.context?"taxonomies":"postTypes";return"article"===this.currentPost.og_object_type||"default"===this.currentPost.og_object_type&&"article"===this.dynamicOptions.social.facebook.general[t][this.currentPost.postType||this.currentPost.termType].objectType}}),methods:{scrollToElement:function(){var t=document.getElementsByClassName("component-wrapper")[0];setTimeout((function(){t&&(t.firstChild.scrollTop=0)}),10)},saveImageType:function(t){this.$set(this.currentPost,"og_image_type",t),this.$store.commit("isDirty",!0)},getObjectTypeOptions:function(t){var e=null;return this.objectTypeOptions.forEach((function(s){var o=s.options.find((function(e){return e.value===t}));o&&(e=o)})),e},setObjectType:function(t){this.$set(this.currentPost,"og_object_type",t),this.$store.commit("isDirty",!0)}},mounted:function(){this.scrollToElement()}},Ce=Pe,ke=(s("98a3"),Object(y["a"])(Ce,ve,we,!1,null,null,null)),xe=ke.exports,Te=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"tab-twitter"},[s("core-settings-row",{attrs:{name:t.strings.twitterPreview},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-twitter-preview",{class:{ismobilecard:t.currentPost.socialMobilePreview},attrs:{image:t.currentPost.twitter_use_og?t.currentPost.og_image_custom_url||t.currentPost.og_image:t.currentPost.twitter_image_custom_url||t.currentPost.twitter_image,card:t.currentPost.twitter_card},scopedSlots:t._u([{key:"site-title",fn:function(){return[s("span",[t._v(t._s(t.previewTitle))])]},proxy:!0},{key:"site-description",fn:function(){return[s("span",[t._v(t._s(t.previewDescription))])]},proxy:!0}])})]},proxy:!0}])}),s("core-settings-row",{staticClass:"use-facebook",attrs:{name:t.strings.useFB,leftSize:"5",rightSize:"7"},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-toggle",{on:{input:t.setIsDirty},model:{value:t.currentPost.twitter_use_og,callback:function(e){t.$set(t.currentPost,"twitter_use_og",e)},expression:"currentPost.twitter_use_og"}})]},proxy:!0}])}),t.currentPost.twitter_use_og?t._e():s("core-settings-row",{staticClass:"twitter-title-settings",attrs:{name:t.strings.twitterTitle,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-html-tags-editor",{staticClass:"twitter-meta-input",attrs:{"line-numbers":!1,single:"","tags-context":(t.currentPost.postType||t.currentPost.termType)+"Title","default-tags":t.$tags.getDefaultTags("term"===t.currentPost.context?"taxonomies":null,null,"title")},on:{counter:function(e){return t.updateCount(e,"titleCount")},input:t.setIsDirty},model:{value:t.currentPost.twitter_title,callback:function(e){t.$set(t.currentPost,"twitter_title",e)},expression:"currentPost.twitter_title"}}),s("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.titleCount,70))}})]},proxy:!0}],null,!1,4187010693)}),t.currentPost.twitter_use_og?t._e():s("core-settings-row",{staticClass:"twitter-description-settings",attrs:{name:t.strings.twitterDescription,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("core-html-tags-editor",{staticClass:"twitter-meta-input",attrs:{"line-numbers":!1,description:"","tags-context":(t.currentPost.postType||t.currentPost.termType)+"Description","default-tags":t.$tags.getDefaultTags("term"===t.currentPost.context?"taxonomies":null,null,"description")},on:{counter:function(e){return t.updateCount(e,"descriptionCount")},input:t.setIsDirty},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddHomePageDescription)+" ")]},proxy:!0}],null,!1,3376949532),model:{value:t.currentPost.twitter_description,callback:function(e){t.$set(t.currentPost,"twitter_description",e)},expression:"currentPost.twitter_description"}}),s("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.descriptionCount,200))}})]},proxy:!0}],null,!1,577802586)}),t.currentPost.twitter_use_og?t._e():s("core-settings-row",{staticClass:"twitter-image-source",attrs:{name:t.strings.imageSource,leftSize:"5",rightSize:"7",align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{size:"medium",options:t.imageSourceOptionsFiltered,value:t.getImageSourceOptionFiltered(t.currentPost.twitter_image_type)},on:{input:function(e){return t.saveTwitterImageType(e.value)}}})]},proxy:!0}],null,!1,45254494)}),t.currentPost.twitter_use_og||"custom"!==t.currentPost.twitter_image_type?t._e():s("core-settings-row",{staticClass:"twitter-custom-field",attrs:{name:t.strings.customFieldsName,leftSize:"5",rightSize:"7",align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-input",{attrs:{type:"text",size:"medium",placeholder:t.strings.placeholder},on:{input:t.setIsDirty},model:{value:t.currentPost.twitter_image_custom_fields,callback:function(e){t.$set(t.currentPost,"twitter_image_custom_fields",e)},expression:"currentPost.twitter_image_custom_fields"}})]},proxy:!0}],null,!1,2513842721)}),t.currentPost.twitter_use_og||"custom_image"!==t.currentPost.twitter_image_type?t._e():s("core-settings-row",{staticClass:"twitter-image",attrs:{name:t.strings.twitterImage},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"twitter-image-upload"},[s("base-input",{attrs:{size:"medium",placeholder:t.strings.pasteYourImageUrl},on:{input:t.setIsDirty},model:{value:t.currentPost.twitter_image_custom_url,callback:function(e){t.$set(t.currentPost,"twitter_image_custom_url",e)},expression:"currentPost.twitter_image_custom_url"}}),s("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(e){return t.openUploadModal("twitterImage",["currentPost","twitter_image_custom_url"])}}},[s("svg-circle-plus"),t._v(" "+t._s(t.strings.uploadOrSelectImage)+" ")],1),s("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(e){t.currentPost.twitter_image_custom_url=null}}},[t._v(" "+t._s(t.strings.remove)+" ")])],1),s("div",{staticClass:"aioseo-description"},["summary"===t.currentPost.twitter_card?s("span",[t._v(t._s(t.strings.minimumSizeSummary))]):t._e(),"summary_large_image"===t.currentPost.twitter_card?s("span",[t._v(t._s(t.strings.minimumSizeSummaryWithLarge))]):t._e()]),s("base-img",{attrs:{src:t.currentPost.twitter_image_custom_url}})]},proxy:!0}],null,!1,2880913534)}),s("core-settings-row",{staticClass:"twitter-card-type",attrs:{name:t.strings.twitterCardType,leftSize:"5",rightSize:"7",align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("base-select",{attrs:{size:"medium","open-direction":"top",options:t.twitterCards,value:t.getCardOptions(t.currentPost.twitter_card)},on:{input:function(e){return t.cardSelect(e.value)}}})]},proxy:!0}])})],1)},Se=[],Oe=(s("a4d3"),s("e01a"),{mixins:[m["a"],m["e"],m["l"],m["o"],m["b"]],props:{isMobilePreview:{type:Boolean,default:function(){return!1}}},data:function(){return{titleCount:0,descriptionCount:0,strings:{twitterPreview:this.$t.__("Twitter Preview",this.$td),useFB:this.$t.__("Use Data from Facebook Tab",this.$td),imageSource:this.$t.__("Image Source",this.$td),customFieldsName:this.$t.__("Custom Field Name",this.$td),twitterImage:this.$t.__("Twitter Image",this.$td),twitterTitle:this.$t.__("Twitter Title",this.$td),twitterDescription:this.$t.__("Twitter Description",this.$td),twitterCardType:this.$t.__("Twitter Card Type",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),remove:this.$t.__("Remove",this.$td),minimumSizeSummary:this.$t.__("Minimum size: 144px x 144px, ideal ratio 1:1, 5MB max. JPG, PNG, WEBP and GIF formats only.",this.$td),minimumSizeSummaryWithLarge:this.$t.__("Minimum size: 300px x 157px, ideal ratio 2:1, 5MB max. JPG, PNG, WEBP and GIF formats only.",this.$td)}}},computed:Object(c["a"])(Object(c["a"])({},Object(d["e"])(["currentPost","options"])),{},{twitterCards:function(){return[{label:this.$t.__("Default (Set under Social Networks)",this.$td),value:"default"},{label:this.$t.__("Summary",this.$td),value:"summary"},{label:this.$t.__("Summary with Large Image",this.$td),value:"summary_large_image"}]},previewTitle:function(){var t=this.currentPost.twitter_use_og?this.currentPost.og_title:this.currentPost.twitter_title;return this.truncate(this.parseTags(t||this.currentPost.tags.title||"#post_title #separator_sa #site_title"),100)},previewDescription:function(){var t=this.currentPost.twitter_use_og?this.currentPost.og_description:this.currentPost.twitter_description;return this.truncate(this.parseTags(t||this.currentPost.tags.description||"#post_content"))}}),methods:{getCardOptions:function(t){return this.twitterCards.find((function(e){return e.value===t}))},cardSelect:function(t){this.$set(this.currentPost,"twitter_card",t),this.$store.commit("isDirty",!0)},scrollToElement:function(){var t=document.getElementsByClassName("component-wrapper")[0];setTimeout((function(){t&&(t.firstChild.scrollTop=0)}),10)},saveTwitterImageType:function(t){this.$set(this.currentPost,"twitter_image_type",t),this.$store.commit("isDirty",!0)}},mounted:function(){this.scrollToElement()}}),Le=Oe,Ae=(s("81a1"),Object(y["a"])(Le,Te,Se,!1,null,null,null)),je=Ae.exports,Ie=function(){var t=this,e=t.$createElement,s=t._self._c||e;return"sidebar"===t.$root._data.screenContext?s("core-settings-row",{staticClass:"snippet-description-row open-social-copy",attrs:{name:t.strings.metaDescription},scopedSlots:t._u([{key:"content",fn:function(){return[s("p",[t._v(t._s(t.strings.sidebarCopy))]),s("base-button",{staticClass:"open-social-modal gray small",on:{click:t.openModalEv}},[s("svg-pencil"),t._v(" "+t._s(t.strings.editSnippet)+" ")],1)]},proxy:!0}],null,!1,3842645279)}):t._e()},De=[],Ee={data:function(){return{strings:{sidebarCopy:this.$t.__("Here you can view and edit the thumbnail, title and description that will be displayed when your site is shared on social media. Click on the button below to view and edit the preview.",this.$td),editSnippet:this.$t.__("Preview & Edit",this.$td)}}},methods:Object(c["a"])(Object(c["a"])({},Object(d["b"])(["openModal"])),{},{openModalEv:function(){this.$store.commit("changeTabSettings",{setting:"tab_modal",value:"social"}),this.openModal(!0)}})},Me=Ee,Re=(s("e6ba"),Object(y["a"])(Me,Ie,De,!1,null,null,null)),Be=Re.exports,Ne={components:{Facebook:xe,Twitter:je,SocialSideBar:Be},props:{parentComponentContext:String},data:function(){return{strings:{pageName:this.$t.__("Social",this.$td)},tabs:[{slug:"facebook",name:this.$t.__("Facebook",this.$td)},{slug:"twitter",name:this.$t.__("Twitter",this.$td)}]}},computed:Object(c["a"])(Object(c["a"])({},Object(d["e"])(["currentPost","options"])),{},{initTab:function(){return Object(p["a"])()["social-tab"]?Object(p["a"])()["social-tab"]:"modal"===this.parentComponentContext?this.currentPost.tabs.tab_modal_social:this.currentPost.tabs.tab_social}}),methods:Object(c["a"])(Object(c["a"])({},Object(d["b"])(["changeSocialPreview"])),{},{isMobilePreviewEv:function(t){this.changeSocialPreview(t)},processChangeTab:function(t){"modal"===this.parentComponentContext?this.$set(this.currentPost.tabs,"tab_modal_social",t):this.$set(this.currentPost.tabs,"tab_social",t)}})},He=Ne,Fe=(s("8dbd"),Object(y["a"])(He,fe,$e,!1,null,null,null)),Ke=Fe.exports,ze=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-modal-content"},[s("core-settings-row",{staticClass:"mobile-radio-buttons",scopedSlots:t._u([{key:"content",fn:function(){return[s("core-main-tabs",{attrs:{tabs:t.getTabs,showSaveButton:!1,active:t.currentPost.tabs.tab_modal,internal:""},on:{changed:function(e){return t.processChangeTab(e)}}})]},proxy:!0}])}),s("div",{staticClass:"component-wrapper"},[s("transition",{attrs:{name:"route-fade",mode:"out-in"}},[s(this.activeTab,{tag:"component",attrs:{parentComponentContext:"modal"}})],1)],1)],1)},Ue=[],Ve={components:{General:X,Social:Ke},data:function(){return{activeTab:"general",strings:{pageName:this.$t.__("Modal Content",this.$td)},tabs:[{slug:"general",icon:"svg-settings",name:"General"},{slug:"social",icon:"svg-share",name:"Social"}]}},computed:Object(c["a"])(Object(c["a"])({},Object(d["e"])(["currentPost"])),{},{getTabs:function(){var t=this;return this.tabs.filter((function(e){return t.$allowed("aioseo_page_".concat(e.slug,"_settings"))}))}}),methods:Object(c["a"])(Object(c["a"])({},Object(d["b"])(["changeTabSettings"])),{},{processChangeTab:function(t){this.activeTab=t,this.changeTabSettings({setting:"tab_modal",value:t})}})},We=Ve,Ge=(s("483d"),Object(y["a"])(We,ze,Ue,!1,null,null,null)),qe=Ge.exports,Je={components:{Advanced:$,General:X,Schema:ye,Social:Ke,ModalContent:qe},data:function(){return{activeTab:"general",modal:!1,strings:{pageName:"General",modalTitle:this.$t.__("Preview Snippet Editor",this.$td)},tabs:[{slug:"general",icon:"svg-settings",name:"General"},{slug:"social",icon:"svg-share",name:"Social"},{slug:"schema",icon:"svg-receipt",name:"Schema"},{slug:"advanced",icon:"svg-build",name:"Advanced"}]}},watch:{currentPost:{deep:!0,handler:function(){this.savePostState()}}},computed:Object(c["a"])(Object(c["a"])({},Object(d["e"])(["currentPost"])),{},{initTab:function(){return"sidebar"===this.$root._data.screenContext?this.currentPost.tabs.tab_sidebar&&this.$allowed("aioseo_page_".concat(this.currentPost.tabs.tab_sidebar,"_settings"))?this.currentPost.tabs.tab_sidebar:this.$allowed("aioseo_page_general_settings")?"general":this.$allowed("aioseo_page_social_settings")?"social":this.$allowed("aioseo_page_schema_settings")?"schema":"advanced":this.currentPost.tabs.tab&&this.$allowed("aioseo_page_".concat(this.currentPost.tabs.tab,"_settings"))?this.currentPost.tabs.tab:this.$allowed("aioseo_page_general_settings")?"general":this.$allowed("aioseo_page_social_settings")?"social":this.$allowed("aioseo_page_schema_settings")?"schema":"advanced"},getTabs:function(){var t=this;return"term"===this.currentPost.context||this.currentPost.isWooCommercePage?this.tabs.filter((function(e){return"schema"!==e.slug&&t.$allowed("aioseo_page_".concat(e.slug,"_settings"))})):this.tabs.filter((function(e){return"general"===e.slug&&(t.$allowed("aioseo_page_analysis")||t.$allowed("aioseo_page_".concat(e.slug,"_settings")))||t.$allowed("aioseo_page_".concat(e.slug,"_settings"))}))}}),methods:Object(c["a"])(Object(c["a"])({},Object(d["b"])(["openModal","updateState","savePostState"])),{},{processChangeTab:function(t){switch(this.activeTab=t,this.$root._data.screenContext){case"sidebar":this.$set(this.currentPost.tabs,"tab_sidebar",t);break;default:this.$set(this.currentPost.tabs,"tab",t);break}},closeModal:function(){this.openModal(!1)}}),created:function(){var t=this;switch(this.modal=Object(p["a"])()["aioseo-modaltab"]||this.modal,this.modal&&(this.$set(this.currentPost.tabs,"tab_modal",this.modal),this.openModal(!0),setTimeout((function(){Object(p["b"])("aioseo-modaltab")}),500)),this.$bus.$on("open-post-settings",(function(e){t.processChangeTab(e.tab)})),this.$root._data.screenContext){case"sidebar":this.activeTab=Object(p["a"])()["aioseo-sidebartab"]||this.initTab,this.$set(this.currentPost.tabs,"tab_sidebar",this.activeTab),setTimeout((function(){Object(p["b"])("aioseo-sidebartab")}),500);break;default:this.activeTab=Object(p["a"])()["aioseo-tab"]||this.initTab,this.$set(this.currentPost.tabs,"tab",this.activeTab),setTimeout((function(){Object(p["b"])("aioseo-tab")}),500);break}}},Ye=Je,Ze=(s("549f"),Object(y["a"])(Ye,l,u,!1,null,null,null)),Qe=Ze.exports,Xe=s("bfad"),ts=s("4245"),es=s.n(ts),ss={components:{"main-view":Qe},computed:Object(c["a"])(Object(c["a"])({},Object(d["c"])(["isUnlicensed"])),Object(d["e"])(["currentPost","pong"])),created:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var s,o,i,n,r,l,u,d,p,h,_;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(Xe["a"])(t.$http);case 2:s=e.sent,o=s.internalOptions,i=s.options,n=s.dynamicOptions,r=s.networkOptions,l=s.settings,u=s.notifications,d=s.addons,p=s.license,h=s.currentPost,_=s.tags,t.$set(t.$store.state,"internalOptions",es()(Object(c["a"])({},t.$store.state.internalOptions),Object(c["a"])({},o))),t.$set(t.$store.state,"options",es()(Object(c["a"])({},t.$store.state.options),Object(c["a"])({},i))),t.$set(t.$store.state,"dynamicOptions",es()(Object(c["a"])({},t.$store.state.dynamicOptions),Object(c["a"])({},n))),t.$set(t.$store.state,"networkOptions",es()(Object(c["a"])({},t.$store.state.networkOptions),Object(c["a"])({},r))),t.$set(t.$store.state,"settings",es()(Object(c["a"])({},t.$store.state.settings),Object(c["a"])({},l))),t.$set(t.$store.state,"notifications",es()(Object(c["a"])({},t.$store.state.notifications),Object(c["a"])({},u))),t.$set(t.$store.state,"addons",es()(Object(a["a"])(t.$store.state.addons),Object(a["a"])(d))),t.$set(t.$store.state,"license",es()(Object(c["a"])({},t.$store.state.license),Object(c["a"])({},p))),t.$set(t.$store.state,"currentPost",es()(Object(c["a"])({},t.$store.state.currentPost),Object(c["a"])({},h))),t.$set(t.$store.state,"tags",es()(Object(c["a"])({},t.$store.state.tags),Object(c["a"])({},_)));case 23:case"end":return e.stop()}}),e)})))()}},os=ss,is=(s("276a"),Object(y["a"])(os,i,n,!1,null,null,null)),ns=is.exports,as=s("561c");(function(t){var e="all-in-one-seo-pack";if(Object(C["d"])()&&Object(C["p"])()){var s=t.plugins.registerPlugin,o=t.editPost.PluginSidebarMoreMenuItem,i=t.editPost.PluginSidebar,n=t.element.Fragment,a=t.element.createElement,r=window.aioseo.user.capabilities.aioseo_page_analysis,c=window.aioseo.currentPost.seo_score,l=Object(as["__"])("N/A",e),u=function(t){return r&&Object(C["q"])()?80<t?"score-green":50<t?"score-orange":1<t?"score-red":"score-disabled":"score-disabled"},d=a("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47716 0 0 4.47715 0 10C0 15.5228 4.47716 20 10 20ZM8.40767 3.65998C8.27222 3.45353 8.02129 3.357 7.79121 3.43828C7.52913 3.53087 7.27279 3.63976 7.02373 3.76429C6.80511 3.87361 6.69542 4.12332 6.74355 4.36686L6.91501 5.23457C6.95914 5.45792 6.86801 5.68459 6.69498 5.82859C6.42152 6.05617 6.16906 6.31347 5.94287 6.59826C5.80229 6.77526 5.58046 6.86908 5.36142 6.82484L4.51082 6.653C4.27186 6.60473 4.02744 6.71767 3.92115 6.94133C3.86111 7.06769 3.80444 7.19669 3.75129 7.32826C3.69815 7.45983 3.64929 7.59212 3.60464 7.72495C3.52562 7.96007 3.62107 8.21596 3.82396 8.35351L4.54621 8.84316C4.73219 8.96925 4.82481 9.19531 4.80234 9.42199C4.7662 9.78671 4.76767 10.1508 4.80457 10.5089C4.82791 10.7355 4.73605 10.9619 4.55052 11.0886L3.82966 11.5811C3.62734 11.7193 3.53274 11.9753 3.61239 12.2101C3.70314 12.4775 3.80985 12.7391 3.93188 12.9932C4.03901 13.2163 4.28373 13.3282 4.5224 13.2791L5.37279 13.1042C5.59165 13.0591 5.8138 13.1521 5.95491 13.3287C6.17794 13.6077 6.43009 13.8653 6.70918 14.0961C6.88264 14.2396 6.97459 14.4659 6.93122 14.6894L6.76282 15.5574C6.71551 15.8013 6.8262 16.0507 7.04538 16.1591C7.16921 16.2204 7.29563 16.2782 7.42457 16.3324C7.55352 16.3867 7.68316 16.4365 7.81334 16.4821C8.19418 16.6154 8.72721 16.1383 9.1213 15.7855C9.31563 15.6116 9.4355 15.3654 9.43677 15.1018C9.43677 15.1004 9.43678 15.099 9.43678 15.0976L9.43677 13.6462C9.43677 13.6308 9.43736 13.6155 9.43852 13.6004C8.27454 13.3165 7.40918 12.248 7.40918 10.9732V9.43198C7.40918 9.31483 7.50224 9.21986 7.61706 9.21986H8.338V7.70343C8.338 7.49405 8.50433 7.32432 8.70952 7.32432C8.9147 7.32432 9.08105 7.49405 9.08105 7.70343V9.21986H11.0316V7.70343C11.0316 7.49405 11.1979 7.32432 11.4031 7.32432C11.6083 7.32432 11.7746 7.49405 11.7746 7.70343V9.21986H12.4956C12.6104 9.21986 12.7034 9.31483 12.7034 9.43198V10.9732C12.7034 12.2883 11.7825 13.3838 10.5628 13.625C10.5631 13.632 10.5632 13.6391 10.5632 13.6462L10.5632 15.0914C10.5632 15.36 10.6867 15.6107 10.8868 15.7853C11.2879 16.1351 11.8302 16.6079 12.2088 16.4742C12.4708 16.3816 12.7272 16.2727 12.9762 16.1482C13.1949 16.0389 13.3046 15.7891 13.2564 15.5456L13.085 14.6779C13.0408 14.4545 13.132 14.2278 13.305 14.0838C13.5785 13.8563 13.8309 13.599 14.0571 13.3142C14.1977 13.1372 14.4195 13.0434 14.6385 13.0876L15.4892 13.2595C15.7281 13.3077 15.9725 13.1948 16.0788 12.9711C16.1389 12.8448 16.1955 12.7158 16.2487 12.5842C16.3018 12.4526 16.3507 12.3204 16.3953 12.1875C16.4744 11.9524 16.3789 11.6965 16.176 11.559L15.4537 11.0693C15.2678 10.9432 15.1752 10.7171 15.1976 10.4905C15.2338 10.1258 15.2323 9.76167 15.1954 9.40357C15.1721 9.17699 15.2639 8.95062 15.4495 8.82387L16.1703 8.33141C16.3726 8.1932 16.4672 7.93715 16.3876 7.70238C16.2968 7.43495 16.1901 7.17337 16.0681 6.91924C15.961 6.69615 15.7162 6.58422 15.4776 6.63333L14.6272 6.8083C14.4083 6.85333 14.1862 6.76033 14.0451 6.58377C13.822 6.30474 13.5699 6.04713 13.2908 5.81632C13.1173 5.67287 13.0254 5.44652 13.0688 5.22301L13.2372 4.35503C13.2845 4.11121 13.1738 3.86179 12.9546 3.75334C12.8308 3.69208 12.7043 3.63424 12.5754 3.58002C12.4465 3.52579 12.3168 3.47593 12.1866 3.43037C11.9562 3.34974 11.7055 3.44713 11.5707 3.65416L11.0908 4.39115C10.9672 4.58093 10.7457 4.67543 10.5235 4.65251C10.1661 4.61563 9.80932 4.61712 9.45837 4.65477C9.23633 4.6786 9.01448 4.58486 8.89027 4.39554L8.40767 3.65998Z",fillRule:"evenodd",clipRule:"evenodd"})),p=a("div",{id:"aioseo-post-settings-sidebar-button",className:u(c)},d,a("span",{id:"aioseo-post-score-disabled"},l),a("span",{id:"aioseo-post-score"},c),a("span",{},"/100")),h=window.aioseo.user;s("aioseo-post-settings-sidebar",{render:function(){return h.capabilities.aioseo_page_analysis||h.capabilities.aioseo_page_general_settings||h.capabilities.aioseo_page_social_settings||h.capabilities.aioseo_page_schema_settings||h.capabilities.aioseo_page_advanced_settings?a(n,{},a(o,{target:"aioseo-post-settings-sidebar",icon:d},"AIOSEO"),a(i,{name:"aioseo-post-settings-sidebar",icon:p,title:"AIOSEO"},a("div",{id:"aioseo-post-settings-sidebar",className:"aioseo-post-settings-sidebar"},a("div",{id:"aioseo-post-settings-sidebar-vue",className:"aioseo-post-settings-sidebar-vue"},a("div",{className:"aioseo-loading-spinner dark"},a("div",{className:"double-bounce1"},null),a("div",{className:"double-bounce2"},null)))))):null}})}})(window.wp);var rs=s("cf27"),cs=s("7b8f"),ls=s("0d58"),us=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.currentPost.id?s("main-view"):t._e()],1)},ds=[],ps=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-app"},[s("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.tab,internal:"",disableMobile:""},on:{changed:function(e){return t.processChangeTab(e)}}}),s("transition",{attrs:{name:"route-fade",mode:"out-in"}},[s(t.tab,{tag:"component"})],1)],1)},hs=[],_s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-tab-content aioseo-localseo-info"},[s("core-settings-row",{staticClass:"info-name-row",attrs:{name:t.strings.name,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("local-business-name")]},proxy:!0}])}),s("core-settings-row",{staticClass:"info-business-type",attrs:{name:t.strings.businessType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("local-business-business-type")]},proxy:!0}])}),s("core-settings-row",{staticClass:"info-business-image",attrs:{name:t.strings.image,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("local-business-image")]},proxy:!0}])}),s("core-settings-row",{staticClass:"info-businessaddress-row",attrs:{name:t.strings.businessAddress,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("local-business-business-address")]},proxy:!0}])}),s("core-settings-row",{attrs:{name:t.strings.map,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("local-business-map")]},proxy:!0}])}),s("core-settings-row",{staticClass:"info-businesscontact-row",attrs:{name:t.strings.businessContact,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("local-business-business-contact")]},proxy:!0}])}),s("core-settings-row",{staticClass:"info-businessids-row",attrs:{name:t.strings.businessIDs,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("local-business-business-ids")]},proxy:!0}])}),s("core-settings-row",{staticClass:"info-paymentinfo-row",attrs:{name:t.strings.paymentInfo,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("local-business-payment-info")]},proxy:!0}])}),s("core-settings-row",{staticClass:"info-area-row",attrs:{name:t.strings.areaServed,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("local-business-area-served")]},proxy:!0}])})],1)},ms=[],gs={data:function(){return{strings:{pageName:this.$t.__("Business Info",this.$td),name:this.$t.__("Name",this.$td),businessType:this.$t.__("Type",this.$td),image:this.$t.__("Image",this.$td),urls:this.$t.__("URLs",this.$td),websiteDesc:this.$t.__("Website URL",this.$td),aboutDesc:this.$t.__("About Page URL",this.$td),contactDesc:this.$t.__("Contact Page URL",this.$td),businessAddress:this.$t.__("Address",this.$td),businessContact:this.$t.__("Contact Info",this.$td),businessIDs:this.$t.__("IDs",this.$td),paymentInfo:this.$t.__("Payment Info",this.$td),areaServed:this.$t.__("Area Served",this.$td),map:this.$t.__("Map",this.$td)}}}},bs=gs,ys=(s("55e8"),Object(y["a"])(bs,_s,ms,!1,null,null,null)),fs=ys.exports,$s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-tab-content aioseo-localseo-opening"},[s("core-settings-row",{attrs:{name:t.strings.useDefaults,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"aioseo-col col-xs-12 text-xs-left"},[s("base-radio-toggle",{attrs:{name:"useDefaults",options:[{label:t.$constants.GLOBAL_STRINGS.no,value:!1},{label:t.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:t.currentPost.local_seo.openingHours.useDefaults,callback:function(e){t.$set(t.currentPost.local_seo.openingHours,"useDefaults",e)},expression:"currentPost.local_seo.openingHours.useDefaults"}})],1)]},proxy:!0}])}),t.currentPost.local_seo.openingHours.useDefaults?t._e():s("div",[s("core-settings-row",{staticClass:"info-openinghours-row",attrs:{name:t.strings.showOpeningHours,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"aioseo-col col-xs-12 text-xs-left"},[s("base-radio-toggle",{attrs:{name:"openingHours",options:[{label:t.$constants.GLOBAL_STRINGS.no,value:!1},{label:t.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:t.currentPost.local_seo.openingHours.show,callback:function(e){t.$set(t.currentPost.local_seo.openingHours,"show",e)},expression:"currentPost.local_seo.openingHours.show"}})],1)]},proxy:!0}],null,!1,288768593)}),t.currentPost.local_seo.openingHours.show?s("core-settings-row",{staticClass:"info-labels-row",attrs:{name:t.strings.labels,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"aioseo-col col-xs-12 text-xs-left"},[s("span",{staticClass:"field-description"},[t._v(t._s(t.strings.closedLabel))]),s("base-input",{attrs:{type:"text",size:"medium"},model:{value:t.currentPost.local_seo.openingHours.labels.closed,callback:function(e){t.$set(t.currentPost.local_seo.openingHours.labels,"closed",e)},expression:"currentPost.local_seo.openingHours.labels.closed"}}),s("span",{staticClass:"field-description mt-10"},[t._v(t._s(t.strings.closedLabelDesc))])],1),s("div",{staticClass:"aioseo-col col-xs-12 text-xs-left"},[s("span",{staticClass:"field-description mt-8"},[t._v(t._s(t.strings.open24Label))]),s("base-input",{attrs:{size:"medium"},model:{value:t.currentPost.local_seo.openingHours.labels.alwaysOpen,callback:function(e){t.$set(t.currentPost.local_seo.openingHours.labels,"alwaysOpen",e)},expression:"currentPost.local_seo.openingHours.labels.alwaysOpen"}}),s("span",{staticClass:"field-description mt-10"},[t._v(t._s(t.strings.open24LabelDesc))])],1)]},proxy:!0}],null,!1,580101848)}):t._e(),t.currentPost.local_seo.openingHours.show?s("core-settings-row",{staticClass:"info-settings-row",attrs:{name:t.strings.settings,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"aioseo-col col-xs-12 text-xs-left"},[s("base-toggle",{model:{value:t.currentPost.local_seo.openingHours.alwaysOpen,callback:function(e){t.$set(t.currentPost.local_seo.openingHours,"alwaysOpen",e)},expression:"currentPost.local_seo.openingHours.alwaysOpen"}},[t._v(" "+t._s(t.strings.alwaysOpen)+" ")])],1),s("div",{staticClass:"aioseo-col col-xs-12 text-xs-left"},[s("base-toggle",{model:{value:t.currentPost.local_seo.openingHours.use24hFormat,callback:function(e){t.$set(t.currentPost.local_seo.openingHours,"use24hFormat",e)},expression:"currentPost.local_seo.openingHours.use24hFormat"}},[t._v(" "+t._s(t.strings.use24hFormat)+" ")])],1)]},proxy:!0}],null,!1,3414950736)}):t._e(),t.currentPost.local_seo.openingHours.show&&!t.currentPost.local_seo.openingHours.alwaysOpen?s("core-settings-row",{staticClass:"info-hours-row",attrs:{name:t.strings.hours,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"aioseo-col col-xs-12 text-xs-left"},t._l(t.weekdays,(function(e,o){return s("div",{key:o,staticClass:"aioseo-col-flex text-xs-left"},[s("div",{staticClass:"aioseo-col-day text-xs-left"},[t._v(" "+t._s(e)+" ")]),s("div",{staticClass:"aioseo-col-hours text-xs-left"},[s("base-select",{attrs:{disabled:t.getWeekDay(o).open24h||t.getWeekDay(o).closed,size:"medium",options:t.currentPost.local_seo.openingHours.use24hFormat?t.$constants.HOURS_24H_FORMAT:t.$constants.HOURS_12H_FORMAT,value:t.getSelectOptions(t.getWeekDay(o).openTime)},on:{input:function(e){return t.saveDay(o,"openTime",e.value)}}}),s("span",{staticClass:"separator"},[t._v("-")]),s("base-select",{attrs:{disabled:t.getWeekDay(o).open24h||t.getWeekDay(o).closed,size:"medium",options:t.currentPost.local_seo.openingHours.use24hFormat?t.$constants.HOURS_24H_FORMAT:t.$constants.HOURS_12H_FORMAT,value:t.getSelectOptions(t.getWeekDay(o).closeTime)},on:{input:function(e){return t.saveDay(o,"closeTime",e.value)}}})],1),s("div",{staticClass:"aioseo-col-alwaysopen text-xs-left"},[s("base-checkbox",{attrs:{disabled:t.getWeekDay(o).closed,size:"medium"},model:{value:t.getWeekDay(o).open24h,callback:function(e){t.$set(t.getWeekDay(o),"open24h",e)},expression:"getWeekDay(index).open24h"}},[t._v(" "+t._s(t.strings.open24h)+" ")]),s("base-checkbox",{staticClass:"closed-label",attrs:{size:"medium"},model:{value:t.getWeekDay(o).closed,callback:function(e){t.$set(t.getWeekDay(o),"closed",e)},expression:"getWeekDay(index).closed"}},[t._v(" "+t._s(t.strings.closed)+" ")])],1)])})),0)]},proxy:!0}],null,!1,3641072399)}):t._e()],1)],1)},vs=[],ws={data:function(){return{selectTimezone:[{value:"none",label:this.$t.__("Select your timezone",this.$td)}],strings:{pageName:this.$t.__("Opening Hours",this.$td),useDefaults:this.$t.__("Use Defaults",this.$td),useDefaultsDesc:this.$t.__("Will default opening hours set globally",this.$td),showOpeningHours:this.$t.__("Show Opening Hours",this.$td),labels:this.$t.__("Labels",this.$td),closedLabel:this.$t.__("Closed",this.$td),closedLabelDesc:this.$t.__("Displayed when the business is closed.",this.$td),closed:this.$t.__("Closed",this.$td),settings:this.$t.__("Settings",this.$td),open24h:this.$t.__("Open 24h",this.$td),open24Label:this.$t.__("Open 24h",this.$td),open24LabelDesc:this.$t.__("Displayed when the business is open all day long.",this.$td),alwaysOpen:this.$t.__("Open 24/7",this.$td),use24hFormat:this.$t.__("Use 24h format",this.$td),twoSets:this.$t.__("I have two sets of openning hours per day",this.$td),timezone:this.$t.__("Timezone",this.$td),hours:this.$t.__("Hours",this.$td)},weekdays:{monday:this.$t.__("Monday",this.$td),tuesday:this.$t.__("Tuesday",this.$td),wednesday:this.$t.__("Wednesday",this.$td),thursday:this.$t.__("Thursday",this.$td),friday:this.$t.__("Friday",this.$td),saturday:this.$t.__("Saturday",this.$td),sunday:this.$t.__("Sunday",this.$td)}}},computed:Object(c["a"])(Object(c["a"])({},Object(d["e"])(["currentPost"])),{},{toggled:function(){return!0},unToggled:function(){return!1},closedLabel:{get:function(){return this.currentPost.local_seo.openingHours.closedLabel},set:function(t){this.$set(this.currentPost.local_seo.openingHours,"closedLabel",t)}}}),methods:{getSelectOptions:function(t){return this.currentPost.local_seo.openingHours.use24hFormat?this.$constants.HOURS_24H_FORMAT.find((function(e){return e.value===t})):this.$constants.HOURS_12H_FORMAT.find((function(e){return e.value===t}))},saveDay:function(t,e,s){this.$set(this.currentPost.local_seo.openingHours.days[t],e,s)},getWeekDay:function(t){return this.currentPost.local_seo.openingHours.days[t]}}},Ps=ws,Cs=(s("fd80"),Object(y["a"])(Ps,$s,vs,!1,null,null,null)),ks=Cs.exports,xs=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-tab-content aioseo-localseo-maps"},[s("local-business-map-default-style"),s("local-business-map-custom-marker")],1)},Ts=[],Ss={data:function(){return{strings:{}}}},Os=Ss,Ls=(s("b908"),Object(y["a"])(Os,xs,Ts,!1,null,null,null)),As=Ls.exports,js={components:{BusinessInfo:fs,OpeningHours:ks,Maps:As},watch:{currentPost:{deep:!0,handler:function(){this.savePostState()}}},data:function(){return{tab:"business-info",tabs:[{slug:"business-info",icon:"svg-settings",name:this.$t.__("Business Info",this.$td)},{slug:"opening-hours",icon:"svg-settings",name:this.$t.__("Opening Hours",this.$td)},{slug:"maps",icon:"svg-settings",name:this.$t.__("Maps",this.$td)}]}},computed:Object(c["a"])({},Object(d["e"])(["currentPost"])),methods:Object(c["a"])(Object(c["a"])({},Object(d["b"])(["savePostState"])),{},{processChangeTab:function(t){this.tab=t}})},Is=js,Ds=Object(y["a"])(Is,ps,hs,!1,null,null,null),Es=Ds.exports,Ms={components:{"main-view":Es},computed:Object(c["a"])({},Object(d["e"])(["currentPost"])),created:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var s,o,i,n,r,l,u,d,p,h;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(Xe["a"])(t.$http);case 2:s=e.sent,o=s.internalOptions,i=s.options,n=s.dynamicOptions,r=s.settings,l=s.notifications,u=s.addons,d=s.currentPost,p=s.tags,h=s.backups,t.$set(t.$store.state,"internalOptions",es()(Object(c["a"])({},t.$store.state.internalOptions),Object(c["a"])({},o))),t.$set(t.$store.state,"options",es()(Object(c["a"])({},t.$store.state.options),Object(c["a"])({},i))),t.$set(t.$store.state,"dynamicOptions",es()(Object(c["a"])({},t.$store.state.dynamicOptions),Object(c["a"])({},n))),t.$set(t.$store.state,"settings",es()(Object(c["a"])({},t.$store.state.settings),Object(c["a"])({},r))),t.$set(t.$store.state,"notifications",es()(Object(c["a"])({},t.$store.state.notifications),Object(c["a"])({},l))),t.$set(t.$store.state,"addons",es()(Object(a["a"])(t.$store.state.addons),Object(a["a"])(u))),t.$set(t.$store.state,"backups",es()(Object(a["a"])(t.$store.state.backups),Object(a["a"])(h))),t.$set(t.$store.state,"currentPost",es()(Object(c["a"])({},t.$store.state.currentPost),Object(c["a"])({},d))),t.$set(t.$store.state,"tags",es()(Object(c["a"])({},t.$store.state.tags),Object(c["a"])({},p)));case 21:case"end":return e.stop()}}),e)})))()}},Rs=Ms,Bs=Object(y["a"])(Rs,us,ds,!1,null,null,null),Ns=Bs.exports,Hs=(s("b64b"),function(){var t=this,e=this,s=e.$createElement,o=e._self._c||s;return o("div",[e.locationsList.length&&!e.isLocationPostType()?o("div",{staticClass:"sidebar-row"},[o("p",{staticClass:"title"},[e._v(e._s(e.strings.selectLocation))]),o("base-select",{attrs:{size:"medium",options:e.locationsList,value:e.getLocationOptions(this.$root.$data.locationId),"track-by":"value"},on:{input:function(e){return t.$root.$data.locationId=e.value}}})],1):e._e(),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showLabels,callback:function(t){e.$set(e.$root.$data,"showLabels",t)},expression:"$root.$data.showLabels"}},[e._v(" "+e._s(e.strings.showLabels)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showIcons,callback:function(t){e.$set(e.$root.$data,"showIcons",t)},expression:"$root.$data.showIcons"}},[e._v(" "+e._s(e.strings.showIcons)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("p",{staticClass:"title"},[e._v(e._s(e.strings.businessInfo))])]),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showName,callback:function(t){e.$set(e.$root.$data,"showName",t)},expression:"$root.$data.showName"}},[e._v(" "+e._s(e.strings.showName)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showAddress,callback:function(t){e.$set(e.$root.$data,"showAddress",t)},expression:"$root.$data.showAddress"}},[e._v(" "+e._s(e.strings.address)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showPhone,callback:function(t){e.$set(e.$root.$data,"showPhone",t)},expression:"$root.$data.showPhone"}},[e._v(" "+e._s(e.strings.phoneNumber)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showFax,callback:function(t){e.$set(e.$root.$data,"showFax",t)},expression:"$root.$data.showFax"}},[e._v(" "+e._s(e.strings.faxNumber)+" ")])],1),e.$root.$data.showPhone||e.$root.$data.showFax?o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showCountryCode,callback:function(t){e.$set(e.$root.$data,"showCountryCode",t)},expression:"$root.$data.showCountryCode"}},[e._v(" "+e._s(e.strings.countryCode)+" ")])],1):e._e(),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showEmail,callback:function(t){e.$set(e.$root.$data,"showEmail",t)},expression:"$root.$data.showEmail"}},[e._v(" "+e._s(e.strings.emailAddress)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showVat,callback:function(t){e.$set(e.$root.$data,"showVat",t)},expression:"$root.$data.showVat"}},[e._v(" "+e._s(e.strings.showVat)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showTax,callback:function(t){e.$set(e.$root.$data,"showTax",t)},expression:"$root.$data.showTax"}},[e._v(" "+e._s(e.strings.showTax)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("p",{staticClass:"title"},[e._v(e._s(e.strings.labels))])]),e.$root.$data.showLabels?o("div",{staticClass:"sidebar-row labels"},[e.$root.$data.showAddress?o("div",[o("label",[e._v(e._s(e.strings.addressLabel))]),o("base-input",{attrs:{size:"small"},model:{value:e.$root.$data.addressLabel,callback:function(t){e.$set(e.$root.$data,"addressLabel",t)},expression:"$root.$data.addressLabel"}})],1):e._e(),e.$root.$data.showVat?o("div",[o("label",[e._v(e._s(e.strings.vatIdLabel))]),o("base-input",{attrs:{size:"small"},model:{value:e.$root.$data.vatIdLabel,callback:function(t){e.$set(e.$root.$data,"vatIdLabel",t)},expression:"$root.$data.vatIdLabel"}})],1):e._e(),e.$root.$data.showTax?o("div",[o("label",[e._v(e._s(e.strings.taxIdLabel))]),o("base-input",{attrs:{size:"small"},model:{value:e.$root.$data.taxIdLabel,callback:function(t){e.$set(e.$root.$data,"taxIdLabel",t)},expression:"$root.$data.taxIdLabel"}})],1):e._e(),e.$root.$data.showPhone?o("div",[o("label",[e._v(e._s(e.strings.phoneLabel))]),o("base-input",{attrs:{size:"small"},model:{value:e.$root.$data.phoneLabel,callback:function(t){e.$set(e.$root.$data,"phoneLabel",t)},expression:"$root.$data.phoneLabel"}})],1):e._e(),e.$root.$data.showFax?o("div",[o("label",[e._v(e._s(e.strings.faxLabel))]),o("base-input",{attrs:{size:"small"},model:{value:e.$root.$data.faxLabel,callback:function(t){e.$set(e.$root.$data,"faxLabel",t)},expression:"$root.$data.faxLabel"}})],1):e._e(),e.$root.$data.showEmail?o("div",[o("label",[e._v(e._s(e.strings.emailLabel))]),o("base-input",{attrs:{size:"small"},model:{value:e.$root.$data.emailLabel,callback:function(t){e.$set(e.$root.$data,"emailLabel",t)},expression:"$root.$data.emailLabel"}})],1):e._e()]):e._e()])}),Fs=[],Ks={data:function(){return{locationsList:[],strings:{selectLocation:window.aioseo.localBusiness.postTypeSingleLabel,showLabels:this.$t.__("Show labels",this.$td),showIcons:this.$t.__("Show icons",this.$td),businessInfo:this.$t.__("Business Info",this.$td),showName:this.$t.__("Name",this.$td),address:this.$t.__("Address",this.$td),phoneNumber:this.$t.__("Phone Number",this.$td),faxNumber:this.$t.__("Fax Number",this.$td),emailAddress:this.$t.__("Email Address",this.$td),showVat:this.$t.__("Show VAT ID",this.$td),showTax:this.$t.__("Show Tax ID",this.$td),countryCode:this.$t.__("Phone/Fax Country Code",this.$td),labels:this.$t.__("Labels",this.$td),addressLabel:this.$t.__("Address",this.$td),vatIdLabel:this.$t.__("Vat ID",this.$td),taxIdLabel:this.$t.__("Tax ID",this.$td),phoneLabel:this.$t.__("Phone",this.$td),faxLabel:this.$t.__("Fax",this.$td),emailLabel:this.$t.__("Email",this.$td)}}},methods:{getLocationOptions:function(t){var e=this.locationsList.find((function(e){return e.value===t}));return e||this.isLocationPostType()||(e=this.locationsList.find((function(t){return!!t})),e&&(this.$root.$data.locationId=e.value)),e},isLocationPostType:function(){return window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName}},created:function(){var t=this;this.$root.$data.locations&&this.$root.$data.locations.forEach((function(e){t.locationsList.push({value:e.id,label:e.title.rendered})}))}},zs=Ks,Us=(s("ec6f"),Object(y["a"])(zs,Hs,Fs,!1,null,"02c60080",null)),Vs=Us.exports,Ws=(s("2d26"),s("5c0f"));(function(t){if("undefined"!==typeof t.blocks&&"undefined"!==typeof t.blockEditor){var e=null;if(window.aioseo.currentPost&&window.aioseo.localBusiness){var s=t.element.createElement,i=t.element.Fragment,n=t.blockEditor.InspectorControls||t.editor.InspectorControls,a=t.components.PanelBody,r=t.serverSideRender||t.components.ServerSideRender,c=t.data.withSelect,l="all-in-one-seo-pack",u=s("svg",{width:20,height:19,viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},s("path",{d:"M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z"})),d=window.aioseo.options.localBusiness.locations.general.multiple;t.blocks.registerBlockType("aioseo/businessinfo",{title:Object(as["sprintf"])(Object(as["__"])("%1$s Local - Business Info",l),"AIOSEO"),category:"aioseo",icon:u,example:{},attributes:{locationId:{type:"number",default:null},showLabels:{type:"boolean",default:!0},addressLabel:{type:"string",default:Object(as["__"])("Address:",l)},vatIdLabel:{type:"string",default:Object(as["__"])("VAT ID:",l)},taxIdLabel:{type:"string",default:Object(as["__"])("Tax ID:",l)},phoneLabel:{type:"string",default:Object(as["__"])("Phone:",l)},faxLabel:{type:"string",default:Object(as["__"])("Fax:",l)},emailLabel:{type:"string",default:Object(as["__"])("Email:",l)},showIcons:{type:"boolean",default:!0},showName:{type:"boolean",default:!0},showAddress:{type:"boolean",default:!0},showPhone:{type:"boolean",default:!0},showFax:{type:"boolean",default:!0},showCountryCode:{type:"boolean",default:!0},showEmail:{type:"boolean",default:!0},showVat:{type:"boolean",default:!0},showTax:{type:"boolean",default:!0},dataObject:{type:"string",default:null},updated:{type:"string",default:Date.now()}},save:function(){return null},edit:c((function(t){var e=t("core").getEntityRecords("postType",window.aioseo.localBusiness.postTypeName,{per_page:100});return{locations:e}}))((function(t){var c=t.setAttributes,u=t.attributes,p=t.className,h=t.clientId,_=t.locations,m="aioseo-"+h;if(!d&&u.locationId)return s(i,{},s("div",{},Object(as["__"])("Please enable multiple locations before using this block.",l)));if(null===_)return s(i,{},s("div",{},Object(as["__"])("Loading...",l)));if(d&&0===_.length)return s(i,{},s("div",{},Object(as["sprintf"])(Object(as["__"])("No %s found",l),window.aioseo.localBusiness.postTypePluralLabel)));u.locationId=u.locationId||window.aioseo.currentPost.postType!==window.aioseo.localBusiness.postTypeName?u.locationId:window.aioseo.currentPost.id,null===e&&(e={},Object.keys(u).forEach((function(t){e[t]=u[t]})),e.locations=_),Object(Ws["b"])({id:m,parent:document.querySelector(".block-editor"),subtree:!0,done:function(t){new o["default"]({el:t,data:function(){return e},watch:{$data:{handler:function(t){c(t)},deep:!0}},render:function(t){return t(Vs)}})}}),window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName&&Object(Ws["b"])({id:m+"-watcher",parent:document.querySelector(".block-editor"),subtree:!0,done:function(t){new o["default"]({el:t,data:function(){return window.aioseo.currentPost.local_seo.locations.business},watch:{$data:{handler:function(){c({updated:Date.now()})},deep:!0}},render:function(t){return t(null)}})}});var g=s(n,null,s(a,{title:Object(as["__"])("Display Settings",l),initialOpen:!0},s("div",null,s("div",{id:m},null))));return d&&!u.locationId?s(i,{},g,s("div",{},Object(as["sprintf"])(Object(as["__"])("Select a %s",l),window.aioseo.localBusiness.postTypeSingleLabel))):s(i,{},g,s("div",{className:p},[s(r,{block:"aioseo/businessinfo",attributes:{locationId:u.locationId?u.locationId:0,layout:u.layout,showLabels:u.showLabels,showIcons:u.showIcons,showName:u.showName,showAddress:u.showAddress,showPhone:u.showPhone,showFax:u.showFax,showCountryCode:u.showCountryCode,showEmail:u.showEmail,showVat:u.showVat,showTax:u.showTax,addressLabel:u.addressLabel,vatIdLabel:u.vatIdLabel,taxIdLabel:u.taxIdLabel,phoneLabel:u.phoneLabel,faxLabel:u.faxLabel,emailLabel:u.emailLabel,updated:u.updated,dataObject:window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?JSON.stringify(window.aioseo.currentPost.local_seo.locations.business):null}}),s("div",{},s("div",{id:m+"-watcher"},null))]))}))})}}})(window.wp);var Gs=function(){var t=this,e=this,s=e.$createElement,o=e._self._c||s;return o("div",[o("div",{staticClass:"sidebar-row"},[o("p",{staticClass:"title"},[e._v(e._s(e.strings.selectLocation))]),o("base-select",{attrs:{size:"medium",options:e.locationCategories,value:e.getCategoryOptions(this.$root.$data.categoryId),"track-by":"value"},on:{input:function(e){return t.$root.$data.categoryId=e.value}}})],1)])},qs=[],Js=(s("b0c0"),{data:function(){return{locationCategories:[],strings:{selectLocation:window.aioseo.localBusiness.taxonomySingleLabel}}},methods:{getCategoryOptions:function(t){var e=this.locationCategories.find((function(e){return e.value===t}));return e||(e=this.locationCategories.find((function(t){return t.value===window.aioseo.currentPost.localBusinessCategory}))||this.locationCategories.find((function(t){return!!t})),e&&(this.$root.$data.categoryId=e.value)),e}},created:function(){var t=this;this.$root.$data.categories&&this.$root.$data.categories.forEach((function(e){t.locationCategories.push({value:e.id,label:e.name})}))}}),Ys=Js,Zs=(s("1d2a"),Object(y["a"])(Ys,Gs,qs,!1,null,null,null)),Qs=Zs.exports;(function(t){if("undefined"!==typeof t.blocks&&"undefined"!==typeof t.blockEditor){var e=null;if(window.aioseo.currentPost&&window.aioseo.localBusiness){var s=t.element.createElement,i=t.element.Fragment,n=t.blockEditor.InspectorControls||t.editor.InspectorControls,a=t.components.PanelBody,r=t.serverSideRender||t.components.ServerSideRender,c=t.data.withSelect,l="all-in-one-seo-pack",u=s("svg",{width:20,height:19,viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},s("path",{d:"M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z"})),d=window.aioseo.options.localBusiness.locations.general.multiple;t.blocks.registerBlockType("aioseo/locations",{title:Object(as["sprintf"])(Object(as["__"])("%1$s Local - Locations",l),"AIOSEO"),category:"aioseo",icon:u,example:{},attributes:{categoryId:{type:"number",default:null}},save:function(){return null},edit:c((function(t){var e=t("core").getEntityRecords("taxonomy",window.aioseo.localBusiness.taxonomyName);return{categories:e}}))((function(t){var c=t.setAttributes,u=t.attributes,p=t.className,h=t.clientId,_=t.categories,m="aioseo-"+h;if(null===_)return s(i,{},s("div",{},Object(as["__"])("Loading...",l)));if(!d)return s(i,{},s("div",{},Object(as["__"])("Please enable multiple locations before using this block.",l)));if(0===_.length)return s(i,{},s("div",{},Object(as["sprintf"])(Object(as["__"])("No %s found",l),window.aioseo.localBusiness.taxonomyPluralLabel)));null===e&&(e={},Object.keys(u).forEach((function(t){e[t]=u[t]})),e.categories=_),Object(Ws["b"])({id:m,parent:document.querySelector(".block-editor"),subtree:!0,done:function(t){new o["default"]({el:t,data:function(){return e},watch:{$data:{handler:function(t){c(t)},deep:!0}},render:function(t){return t(Qs)}})}});var g=s(n,null,s(a,{title:window.aioseo.localBusiness.postTypePluralLabel,initialOpen:!0},s("div",{},s("div",{id:m},null))));return null!==_&&0===_.length?s(i,{},s("div",{},Object(as["sprintf"])(Object(as["__"])("No %s found",l),window.aioseo.localBusiness.taxonomyPluralLabel))):u.categoryId?s(i,{},g,s("div",{className:p},[s(r,{block:"aioseo/locations",attributes:{categoryId:u.categoryId}})])):s(i,{},g,s("div",{},Object(as["sprintf"])(Object(as["__"])("Select a %s",l),window.aioseo.localBusiness.taxonomySingleLabel)))}))})}}})(window.wp);var Xs=function(){var t=this,e=this,s=e.$createElement,o=e._self._c||s;return o("div",[e.locationsList.length&&!e.isLocationPostType()?o("div",{staticClass:"sidebar-row"},[o("p",{staticClass:"title"},[e._v(e._s(e.strings.selectLocation))]),o("base-select",{attrs:{size:"medium",options:e.locationsList,value:e.getLocationOptions(this.$root.$data.locationId),"track-by":"value"},on:{input:function(e){return t.$root.$data.locationId=e.value}}})],1):e._e(),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showTitle,callback:function(t){e.$set(e.$root.$data,"showTitle",t)},expression:"$root.$data.showTitle"}},[e._v(" "+e._s(e.strings.showTitle)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showIcons,callback:function(t){e.$set(e.$root.$data,"showIcons",t)},expression:"$root.$data.showIcons"}},[e._v(" "+e._s(e.strings.showIcons)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showMonday,callback:function(t){e.$set(e.$root.$data,"showMonday",t)},expression:"$root.$data.showMonday"}},[e._v(" "+e._s(e.strings.Monday)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showTuesday,callback:function(t){e.$set(e.$root.$data,"showTuesday",t)},expression:"$root.$data.showTuesday"}},[e._v(" "+e._s(e.strings.Tuesday)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showWednesday,callback:function(t){e.$set(e.$root.$data,"showWednesday",t)},expression:"$root.$data.showWednesday"}},[e._v(" "+e._s(e.strings.Wednesday)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showThursday,callback:function(t){e.$set(e.$root.$data,"showThursday",t)},expression:"$root.$data.showThursday"}},[e._v(" "+e._s(e.strings.Thursday)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showFriday,callback:function(t){e.$set(e.$root.$data,"showFriday",t)},expression:"$root.$data.showFriday"}},[e._v(" "+e._s(e.strings.Friday)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showSaturday,callback:function(t){e.$set(e.$root.$data,"showSaturday",t)},expression:"$root.$data.showSaturday"}},[e._v(" "+e._s(e.strings.Saturday)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showSunday,callback:function(t){e.$set(e.$root.$data,"showSunday",t)},expression:"$root.$data.showSunday"}},[e._v(" "+e._s(e.strings.Sunday)+" ")])],1),e.$root.$data.showTitle?o("div",{staticClass:"sidebar-row labels"},[o("label",[e._v(e._s(e.strings.label))]),o("base-input",{attrs:{size:"small"},model:{value:e.$root.$data.label,callback:function(t){e.$set(e.$root.$data,"label",t)},expression:"$root.$data.label"}})],1):e._e()])},to=[],eo={data:function(){return{locationsList:[],strings:{selectLocation:window.aioseo.localBusiness.postTypeSingleLabel,showTitle:this.$t.__("Show Title",this.$td),showIcons:this.$t.__("Show Icons",this.$td),Monday:this.$t.__("Monday",this.$td),Tuesday:this.$t.__("Tuesday",this.$td),Wednesday:this.$t.__("Wednesday",this.$td),Thursday:this.$t.__("Thursday",this.$td),Friday:this.$t.__("Friday",this.$td),Saturday:this.$t.__("Saturday",this.$td),Sunday:this.$t.__("Sunday",this.$td),label:this.$t.__("Label",this.$td)}}},methods:{getLocationOptions:function(t){var e=this.locationsList.find((function(e){return e.value===t}));return e||this.isLocationPostType()||(e=this.locationsList.find((function(t){return!!t})),e&&(this.$root.$data.locationId=e.value)),e},isLocationPostType:function(){return window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName}},created:function(){var t=this;this.$root._data.locations&&this.$root._data.locations.forEach((function(e){t.locationsList.push({value:e.id,label:e.title.rendered})}))}},so=eo,oo=(s("adc4"),Object(y["a"])(so,Xs,to,!1,null,"1fafd93c",null)),io=oo.exports;(function(t){if("undefined"!==typeof t.blocks&&"undefined"!==typeof t.blockEditor){var e=null;if(window.aioseo.currentPost&&window.aioseo.localBusiness){var s=t.element.createElement,i=t.element.Fragment,n=t.blockEditor.InspectorControls||t.editor.InspectorControls,a=t.components.PanelBody,r=t.serverSideRender||t.components.ServerSideRender,c=t.data.withSelect,l="all-in-one-seo-pack",u=s("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},s("path",{d:"M9.99999 0.400024C15.304 0.400024 19.6 4.69602 19.6 10C19.6 15.304 15.304 19.6 9.99999 19.6C4.69599 19.6 0.399994 15.304 0.399994 10C0.399994 4.69602 4.69599 0.400024 9.99999 0.400024ZM9.99999 17.2C13.972 17.2 17.2 13.972 17.2 10C17.2 6.02802 13.972 2.80002 9.99999 2.80002C6.02799 2.80002 2.79999 6.02802 2.79999 10C2.79999 13.972 6.02799 17.2 9.99999 17.2ZM9.14799 10.852C9.23199 10.912 9.31599 10.972 9.42399 11.032L9.39999 11.056L14.8 13.6L11.164 9.77202L9.99999 4.00002L8.83599 9.77202H8.84799C8.84799 9.79602 8.83599 9.83202 8.82399 9.88002C8.81199 9.92802 8.79999 9.96402 8.79999 10C8.79999 10.336 8.91999 10.624 9.14799 10.852Z"})),d=window.aioseo.options.localBusiness.locations.general.multiple;t.blocks.registerBlockType("aioseo/openinghours",{title:Object(as["sprintf"])(Object(as["__"])("%1$s Local - Opening Hours",l),"AIOSEO"),category:"aioseo",icon:u,example:{},attributes:{locationId:{type:"number",default:null},layout:{type:"string",default:"classic"},showTitle:{type:"boolean",default:!0},showIcons:{type:"boolean",default:!0},showMonday:{type:"boolean",default:!0},showTuesday:{type:"boolean",default:!0},showWednesday:{type:"boolean",default:!0},showThursday:{type:"boolean",default:!0},showFriday:{type:"boolean",default:!0},showSaturday:{type:"boolean",default:!0},showSunday:{type:"boolean",default:!0},label:{type:"string",default:Object(as["__"])("Our Opening Hours:",l)},dataObject:{type:"string",default:null},updated:{type:"string",default:Date.now()}},save:function(){return null},edit:c((function(t){var e=t("core").getEntityRecords("postType",window.aioseo.localBusiness.postTypeName,{per_page:100});return{locations:e}}))((function(t){var c=t.setAttributes,u=t.attributes,p=t.className,h=t.clientId,_=t.locations,m="aioseo-".concat(h,"-settings");if(!d&&u.locationId)return s(i,{},s("div",{},Object(as["__"])("Please enable multiple locations before using this block.",l)));if(null===_)return s(i,{},s("div",{},Object(as["__"])("Loading...",l)));if(d&&0===_.length)return s(i,{},s("div",{},Object(as["sprintf"])(Object(as["__"])("No %s found",l),window.aioseo.localBusiness.postTypePluralLabel)));u.locationId=u.locationId||window.aioseo.currentPost.postType!==window.aioseo.localBusiness.postTypeName?u.locationId:window.aioseo.currentPost.id,null===e&&(e={},Object.keys(u).forEach((function(t){e[t]=u[t]})),e.locations=_),Object(Ws["b"])({id:m,parent:document.querySelector(".block-editor"),subtree:!0,done:function(t){new o["default"]({el:t,data:function(){return e},watch:{$data:{handler:function(t){c(t)},deep:!0}},render:function(t){return t(io)}})}}),window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName&&Object(Ws["b"])({id:m+"-watcher",parent:document.querySelector(".block-editor"),subtree:!0,done:function(t){new o["default"]({el:t,data:function(){return window.aioseo.currentPost.local_seo.openingHours},watch:{$data:{handler:function(){c({updated:Date.now()})},deep:!0}},render:function(t){return t(null)}})}});var g=s(n,null,s(a,{title:Object(as["__"])("Display Settings",l),initialOpen:!0},s("div",{},s("div",{id:m},null))));return d&&!u.locationId?s(i,{},g,s("div",{},Object(as["sprintf"])(Object(as["__"])("Select a %s",l),window.aioseo.localBusiness.postTypeSingleLabel))):s(i,{},g,s("div",{className:p},[s(r,{block:"aioseo/openinghours",attributes:{locationId:u.locationId?u.locationId:0,layout:u.layout,showTitle:u.showTitle,showIcons:u.showIcons,showMonday:u.showMonday,showTuesday:u.showTuesday,showWednesday:u.showWednesday,showThursday:u.showThursday,showFriday:u.showFriday,showSaturday:u.showSaturday,showSunday:u.showSunday,label:u.label,updated:u.updated,dataObject:window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?JSON.stringify(window.aioseo.currentPost.local_seo.openingHours):null}}),s("div",{},s("div",{id:m+"-watcher"},null))]))}))})}}})(window.wp),function(t){if("undefined"!==typeof t.blocks&&window.aioseo.currentPost&&window.aioseo.localBusiness){var e=t.element.createElement,s=t.element.Fragment,o=t.serverSideRender||t.components.ServerSideRender,i=t.data.withSelect,n="all-in-one-seo-pack",a=e("svg",{width:20,height:19,viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z"})),r=window.aioseo.options.localBusiness.locations.general.multiple;t.blocks.registerBlockType("aioseo/locationcategories",{title:Object(as["sprintf"])(Object(as["__"])("%1$s Local - Location Categories",n),"AIOSEO"),category:"aioseo",icon:a,example:{},save:function(){return null},edit:i((function(t){var e=t("core").getEntityRecords("taxonomy",window.aioseo.localBusiness.taxonomyName);return{categories:e}}))((function(t){var i=t.className,a=t.categories;return null===a?e(s,{},e("div",{},Object(as["__"])("Loading...",n))):r?0===a.length?e(s,{},e("div",{},Object(as["sprintf"])(Object(as["__"])("No %s found",n),window.aioseo.localBusiness.taxonomyPluralLabel))):e(s,{},e("div",{className:i},[e(o,{block:"aioseo/locationcategories"})])):e(s,{},e("div",{},Object(as["__"])("Please enable multiple locations before using this block.",n)))}))})}}(window.wp);var no=function(){var t=this,e=this,s=e.$createElement,o=e._self._c||s;return o("div",[e.locationsList.length&&!e.isLocationPostType()?o("div",{staticClass:"sidebar-row"},[o("p",{staticClass:"title"},[e._v(e._s(e.strings.selectLocation))]),o("base-select",{attrs:{size:"medium",options:e.locationsList,value:e.getLocationOptions(this.$root.$data.locationId),"track-by":"value"},on:{input:function(e){return t.$root.$data.locationId=e.value}}})],1):e._e(),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showLabel,callback:function(t){e.$set(e.$root.$data,"showLabel",t)},expression:"$root.$data.showLabel"}},[e._v(" "+e._s(e.strings.showLabel)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("base-toggle",{model:{value:e.$root.$data.showIcon,callback:function(t){e.$set(e.$root.$data,"showIcon",t)},expression:"$root.$data.showIcon"}},[e._v(" "+e._s(e.strings.showIcon)+" ")])],1),o("div",{staticClass:"sidebar-row"},[o("p",{staticClass:"title"},[e._v(e._s(e.strings.customMarker))]),o("div",{staticClass:"image-upload"},[o("base-input",{attrs:{size:"medium",placeholder:e.strings.pasteYourImageUrl},model:{value:e.$root.$data.customMarker,callback:function(t){e.$set(e.$root.$data,"customMarker",t)},expression:"$root.$data.customMarker"}}),o("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(t){return e.openUploadModal("image",["$root","$data","customMarker"])}}},[o("svg-circle-plus"),e._v(" "+e._s(e.strings.uploadOrSelectImage)+" ")],1),e.$root.$data.customMarker?o("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(t){e.$root.$data.customMarker=null}}},[e._v(" "+e._s(e.strings.remove)+" ")]):e._e()],1),o("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.minimumSize)}}),o("base-img",{attrs:{src:e.$root.$data.customMarker}})],1),o("div",{staticClass:"sidebar-row"},[o("p",{staticClass:"title"},[e._v(e._s(e.strings.mapDisplay))])]),o("div",{staticClass:"sidebar-row dimensions"},[o("div",[o("label",[e._v(e._s(e.strings.width)+":")]),o("base-input",{model:{value:e.$root.$data.width,callback:function(t){e.$set(e.$root.$data,"width",t)},expression:"$root.$data.width"}})],1),o("div",[o("div",[o("label",[e._v(e._s(e.strings.height)+":")]),o("base-input",{model:{value:e.$root.$data.height,callback:function(t){e.$set(e.$root.$data,"height",t)},expression:"$root.$data.height"}})],1)])]),e.$root.$data.showLabel?o("div",{staticClass:"sidebar-row labels"},[o("p",{staticClass:"title"},[e._v(e._s(e.strings.label))]),o("base-input",{attrs:{size:"small"},model:{value:e.$root.$data.label,callback:function(t){e.$set(e.$root.$data,"label",t)},expression:"$root.$data.label"}})],1):e._e()])},ao=[],ro={mixins:[m["o"]],data:function(){return{locationsList:[],strings:{selectLocation:window.aioseo.localBusiness.postTypeSingleLabel,showLabel:this.$t.__("Show label",this.$td),showIcon:this.$t.__("Show icon",this.$td),businessInfo:this.$t.__("Business Info",this.$td),mapDisplay:this.$t.__("Map Display",this.$td),width:this.$t.__("Width",this.$td),height:this.$t.__("Height",this.$td),customMarker:this.$t.__("Custom Marker",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),minimumSize:this.$t.sprintf(this.$t.__("%1$sThe custom marker should be: 100x100 px.%2$s If the image exceeds those dimensions it could (partially) cover the info popup.",this.$td),"<strong>","</strong>"),remove:this.$t.__("Remove",this.$td),label:this.$t.__("Label",this.$td)}}},methods:{getLocationOptions:function(t){var e=this.locationsList.find((function(e){return e.value===t}));return e||this.isLocationPostType()||(e=this.locationsList.find((function(t){return!!t})),e&&(this.$root.$data.locationId=e.value)),e},isLocationPostType:function(){return window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName}},created:function(){var t=this;this.$root.$data.locations&&this.$root.$data.locations.forEach((function(e){t.locationsList.push({value:e.id,label:e.title.rendered})}))}},co=ro,lo=(s("78b5"),Object(y["a"])(co,no,ao,!1,null,"40614ae0",null)),uo=lo.exports,po=s("ff09");if(function(t){if("undefined"!==typeof t.blocks&&"undefined"!==typeof t.blockEditor&&window.aioseo.currentPost&&window.aioseo.localBusiness){var e=t.element.createElement,s=t.element.Fragment,i=t.blockEditor.InspectorControls||t.editor.InspectorControls,n=t.components.PanelBody,a=t.serverSideRender||t.components.ServerSideRender,r=t.data.withSelect,c="all-in-one-seo-pack",l=e("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M11 11.14L9.83 5.2C9.04 4.77 8.5 3.95 8.5 3C8.5 1.62 9.62 0.499999 11 0.499999C12.38 0.499999 13.5 1.62 13.5 3C13.5 3.95 12.96 4.77 12.17 5.2L11 11.14ZM11 1.5C10.17 1.5 9.5 2.17 9.5 3C9.5 3.83 10.17 4.5 11 4.5C11.83 4.5 12.5 3.83 12.5 3C12.5 2.17 11.83 1.5 11 1.5ZM12.72 6.3L11 13.68L9.27 6.38L5 4.97L2.98023e-08 6.97V15.97L5 13.97L11.12 16L16 13.97V4.97L12.72 6.3Z"})),u=window.aioseo.options.localBusiness.locations.general.multiple;t.blocks.registerBlockType("aioseo/locationmap",{title:Object(as["sprintf"])(Object(as["__"])("%1$s Local - Map",c),"AIOSEO"),category:"aioseo",icon:l,example:{},attributes:{locationId:{type:"number",default:null},showLabel:{type:"boolean",default:!0},showIcon:{type:"boolean",default:!0},customMarker:{type:"string",default:null},width:{type:"string",default:"100%"},height:{type:"string",default:"450px"},label:{type:"string",default:Object(as["__"])("Our location:",c)},dataObject:{type:"string",default:null},updated:{type:"string",default:Date.now()}},save:function(){return null},edit:r((function(t){var e=t("core").getEntityRecords("postType",window.aioseo.localBusiness.postTypeName,{per_page:100});return{locations:e}}))((function(t){var r=t.setAttributes,l=t.attributes,d=t.className,p=t.clientId,h=t.locations,_="aioseo-location-map-"+p;if(!u&&l.locationId)return e(s,{},e("div",{},Object(as["__"])("Please enable multiple locations before using this block.",c)));if(null===h)return e(s,{},e("div",{},Object(as["__"])("Loading...",c)));if(u&&0===h.length)return e(s,{},e("div",{},Object(as["sprintf"])(Object(as["__"])("No %s found",c),window.aioseo.localBusiness.postTypePluralLabel)));var m=window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName;l.locationId=!l.locationId&&m?window.aioseo.currentPost.id:l.locationId;var g=h.find((function(t){return t.id===l.locationId})),b=m?window.aioseo.currentPost.local_seo.maps:g?g.maps:null,y={};Object.keys(l).forEach((function(t){y[t]=l[t]})),y.locations=h,Object(Ws["b"])({id:_,parent:document.querySelector(".block-editor"),subtree:!0,done:function(t){new o["default"]({el:t,data:function(){return y},watch:{$data:{handler:function(t){Object(P["a"])((function(){r(t)}),1e3)},deep:!0}},render:function(t){return t(uo)}})}}),m&&Object(Ws["b"])({id:_+"-watcher",parent:document.querySelector(".block-editor"),subtree:!0,done:function(t){new o["default"]({el:t,data:function(){return window.aioseo.currentPost.local_seo.maps},watch:{$data:{handler:function(){r({updated:Date.now()})},deep:!0}},render:function(t){return t(null)}})}});var f=e(i,null,e(n,{title:Object(as["__"])("Settings",c),initialOpen:!0},e("div",null,e("div",{id:_},null))));if(u){if(!l.locationId)return e(s,{},f,e("div",{},Object(as["sprintf"])(Object(as["__"])("Select a %s",c),window.aioseo.localBusiness.postTypeSingleLabel)));if(!b){var $=Object(po["a"])("post.php",{post:l.locationId,action:"edit"});return e(s,{},f,e("div",{dangerouslySetInnerHTML:{__html:Object(as["sprintf"])(Object(as["__"])("Please configure the map for this location: %s",c),'<a href="'+$+'" target="_blank">'+g.title.rendered+"</a>")}}))}}var v="#"+_+"-preview .aioseo-local-map";return Object(Ws["b"])({selector:v,parent:document.querySelector(".block-editor"),subtree:!0,done:function(){var t=b||window.aioseo.options.localBusiness.maps;document.dispatchEvent(new CustomEvent(window.aioseo.localBusiness.mapLoadEvent,{detail:{element:v,mapOptions:t.mapOptions,customMarker:l.customMarker||t.customMarker||window.aioseo.options.localBusiness.maps.customMarker,instance:l,placeId:window.aioseo.options.localBusiness.maps.mapsEmbedApiEnabled?t.placeId:null,infoWindowContent:t.infoWindowContent?t.infoWindowContent:null}}))}}),e(s,{},f,e("div",{className:d,id:_+"-preview"},[e(a,{block:"aioseo/locationmap",attributes:{locationId:l.locationId?l.locationId:0,showLabel:l.showLabel,showIcon:l.showIcon,customMarker:l.customMarker,width:l.width,height:l.height,label:l.label,updated:l.updated,dataObject:m?JSON.stringify(window.aioseo.currentPost.local_seo.maps):null}}),e("div",{},e("div",{id:_+"-watcher"},null))]))}))})}}(window.wp),window.aioseo.currentPost){o["default"].config.productionTip=!1;var ho=window.aioseo.currentPost.context,_o=document.querySelector("#aioseo-".concat(ho,"-settings-metabox"));if(_o&&Object(C["p"])()&&(!window.wp.blockEditor&&window.wp.blocks&&window.wp.oldEditor&&(window.wp.blockEditor=window.editor),new o["default"]({store:rs["a"],data:{tableContext:ho,screenContext:"metabox"},render:function(t){return t(ns)}}).$mount("#aioseo-".concat(ho,"-settings-metabox")),"post"===ho)){var mo=document.getElementById("aioseo-post-settings-sidebar-vue");mo?new o["default"]({store:rs["a"],data:{tableContext:"post",screenContext:"sidebar"},render:function(t){return t(ns)}}).$mount("#aioseo-post-settings-sidebar-vue"):(Object(cs["a"])("#aioseo-post-settings-sidebar-vue","aioseoSidebarVisible"),document.addEventListener("animationstart",(function(t){"aioseoSidebarVisible"===t.animationName&&new o["default"]({store:rs["a"],data:{tableContext:"post",screenContext:"sidebar"},render:function(t){return t(ns)}}).$mount("#aioseo-post-settings-sidebar-vue")}),{passive:!0}))}}window.addEventListener("load",ls["a"]),window.aioseo.currentPost&&window.aioseo.localBusiness&&document.getElementById("aioseo-location-settings-metabox")&&(o["default"].config.productionTip=!1,new o["default"]({store:rs["a"],data:{screenContext:"metabox"},render:function(t){return t(Ns)}}).$mount("#aioseo-location-settings-metabox"))},"1cfa":function(t,e,s){},"1d2a":function(t,e,s){"use strict";s("3642")},2201:function(t,e,s){"use strict";s("bdf7")},2309:function(t,e,s){},2388:function(t,e,s){},"243b":function(t,e,s){},"276a":function(t,e,s){"use strict";s("2388")},"281b":function(t,e,s){},3642:function(t,e,s){},"3d9a":function(t,e,s){},"3fb5":function(t,e,s){},"40ea":function(t,e,s){"use strict";s("588d")},"41f8":function(t,e,s){},"483d":function(t,e,s){"use strict";s("b604")},"4c91":function(t,e,s){},5282:function(t,e,s){"use strict";s("3d9a")},"549f":function(t,e,s){"use strict";s("9a45")},"55e8":function(t,e,s){"use strict";s("d8ed")},"588d":function(t,e,s){},"5e7f":function(t,e,s){"use strict";s("fc16")},"5fed":function(t,e,s){},"606f":function(t,e,s){},"64ef":function(t,e,s){"use strict";s("8d33")},"6dcf":function(t,e,s){},7197:function(t,e,s){"use strict";s("606f")},"78b5":function(t,e,s){"use strict";s("b96f")},"7cb2":function(t,e,s){},"7eee":function(t,e,s){},8:function(t,e,s){t.exports=s("0e57")},"81a1":function(t,e,s){"use strict";s("4c91")},"8c79":function(t,e,s){"use strict";s("5fed")},"8d33":function(t,e,s){},"8dbd":function(t,e,s){"use strict";s("2309")},"961f":function(t,e,s){"use strict";s("41f8")},"98a3":function(t,e,s){"use strict";s("243b")},"9a45":function(t,e,s){},a072:function(t,e,s){"use strict";s("1cfa")},adc4:function(t,e,s){"use strict";s("d53d")},b49c:function(t,e,s){"use strict";s("3fb5")},b604:function(t,e,s){},b908:function(t,e,s){"use strict";s("7eee")},b96f:function(t,e,s){},bdf7:function(t,e,s){},d53d:function(t,e,s){},d8ed:function(t,e,s){},e2aa:function(t,e,s){"use strict";s("fe51")},e6ba:function(t,e,s){"use strict";s("08d2")},ec6f:function(t,e,s){"use strict";s("7cb2")},f283:function(t,e,s){"use strict";s("6dcf")},fc16:function(t,e,s){},fd80:function(t,e,s){"use strict";s("281b")},fe51:function(t,e,s){}});