Your IP : 216.73.216.162


Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/
Upload File :
Current File : /home/x/b/o/xbodynamge/namtation/wp-content/Category.ee6d5317.js.tar

home/xbodynamge/dev/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/Category.ee6d5317.js000064400000026247151143364170026674 0ustar00import{c as A,u as P,q as D}from"./index.4fea5b8a.js";import{u as U}from"./Wizard.1d946bcc.js";import{B as N}from"./HighlightToggle.f01975c9.js";import{C as O}from"./HtmlTagsEditor.3190787b.js";import{G as E,a as F}from"./Row.c7b7fb90.js";import{_ as f}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as c,c as g,a as s,H as r,l as u,v as a,x as h,t as p,G,N as q,k as v,q as C,b as V}from"./runtime-dom.esm-bundler.baf35205.js";import{a as I,S as R}from"./ImageSeo.6e3d1b5a.js";import{f as Y}from"./Caret.7cc96622.js";import{W as j,a as J,b as K}from"./Header.f2feaf38.js";import{W as Q}from"./CloseAndExit.15a2be1d.js";import{_ as X}from"./Steps.c57499a2.js";import"./translations.d159963e.js";import{u as $}from"./SetupWizardStore.332a75f3.js";import{_ as n}from"./default-i18n.20001971.js";import"./helpers.114e9c35.js";import"./addons.e13ca687.js";import"./upperFirst.eafa5318.js";import"./toString.bbd66337.js";import"./Checkbox.d4a94670.js";import"./Checkmark.b35299d3.js";import"./Radio.2d9be588.js";import"./Editor.683d2097.js";import"./isEqual.5e2458d5.js";import"./_baseIsEqual.6ad153a3.js";import"./_getTag.423682f1.js";import"./_baseClone.8bb70b4f.js";import"./_arrayEach.6af5abac.js";import"./index.7fee6f1a.js";import"./UnfilteredHtml.5963c49b.js";import"./constants.a8a14dc3.js";import"./Logo.a16dfa01.js";import"./Index.6b9f2f83.js";const ee={},oe={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-blog"},te=s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.6667 1.66667H5.00001C4.08334 1.66667 3.33334 2.41667 3.33334 3.33333V16.6667C3.33334 17.5833 4.07501 18.3333 4.99168 18.3333H15C15.9167 18.3333 16.6667 17.5833 16.6667 16.6667V6.66667L11.6667 1.66667ZM13.3333 10H6.66668V11.6667H13.3333V10ZM13.3333 13.3333H6.66668V15H13.3333V13.3333ZM5.00001 16.6667H15V7.5H10.8333V3.33333H5.00001V16.6667Z",fill:"currentColor"},null,-1),se=[te];function ie(o,e){return c(),g("svg",oe,se)}const re=f(ee,[["render",ie]]),ae={},ne={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-corporation"},le=s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.99999 5.83333H18.3333V17.5H1.66666V2.5H9.99999V5.83333ZM3.33332 15.8333H4.99999V14.1667H3.33332V15.8333ZM4.99999 12.5H3.33332V10.8333H4.99999V12.5ZM3.33332 9.16667H4.99999V7.5H3.33332V9.16667ZM4.99999 5.83333H3.33332V4.16667H4.99999V5.83333ZM6.66666 15.8333H8.33332V14.1667H6.66666V15.8333ZM8.33332 12.5H6.66666V10.8333H8.33332V12.5ZM6.66666 9.16667H8.33332V7.5H6.66666V9.16667ZM8.33332 5.83333H6.66666V4.16667H8.33332V5.83333ZM9.99999 15.8333H16.6667V7.5H9.99999V9.16667H11.6667V10.8333H9.99999V12.5H11.6667V14.1667H9.99999V15.8333ZM15 9.16667H13.3333V10.8333H15V9.16667ZM13.3333 12.5H15V14.1667H13.3333V12.5Z",fill:"currentColor"},null,-1),ce=[le];function de(o,e){return c(),g("svg",ne,ce)}const ue=f(ae,[["render",de]]),pe={},me={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-news-channel"},ge=s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.8333 3.33333H15V1.66667H13.3333V3.33333H6.66667V1.66667H5V3.33333H4.16667C3.25 3.33333 2.5 4.08333 2.5 5V16.6667C2.5 17.5833 3.25 18.3333 4.16667 18.3333H15.8333C16.75 18.3333 17.5 17.5833 17.5 16.6667V5C17.5 4.08333 16.75 3.33333 15.8333 3.33333ZM15.8333 16.6667H4.16667V8.33333H15.8333V16.6667ZM4.16667 5V6.66667H15.8333V5H4.16667ZM5.83333 10H14.1667V11.6667H5.83333V10ZM11.6667 13.3333H5.83333V15H11.6667V13.3333Z",fill:"currentColor"},null,-1),_e=[ge];function he(o,e){return c(),g("svg",me,_e)}const fe=f(pe,[["render",he]]),ve={},Ve={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-online-store"},He=s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.2469 9.975C14.9636 10.4917 14.4136 10.8333 13.7886 10.8333H7.58027L6.6636 12.5H16.6636V14.1667H6.6636C5.39694 14.1667 4.59694 12.8083 5.20527 11.6917L6.33027 9.65833L3.33027 3.33333H1.6636V1.66666H4.3886L5.17194 3.33333H17.5053C18.1386 3.33333 18.5386 4.01666 18.2303 4.56666L15.2469 9.975ZM16.0886 5H5.96358L7.93858 9.16666H13.7886L16.0886 5ZM6.66364 15C5.74698 15 5.00531 15.75 5.00531 16.6667C5.00531 17.5833 5.74698 18.3333 6.66364 18.3333C7.58031 18.3333 8.33031 17.5833 8.33031 16.6667C8.33031 15.75 7.58031 15 6.66364 15ZM13.3386 16.6667C13.3386 15.75 14.0803 15 14.997 15C15.9136 15 16.6636 15.75 16.6636 16.6667C16.6636 17.5833 15.9136 18.3333 14.997 18.3333C14.0803 18.3333 13.3386 17.5833 13.3386 16.6667Z",fill:"currentColor"},null,-1),ye=[He];function we(o,e){return c(),g("svg",Ve,ye)}const Ce=f(ve,[["render",we]]),l="all-in-one-seo-pack",Se={setup(){const{strings:o}=U({stage:"category"});return{optionsStore:A(),rootStore:P(),setupWizardStore:$(),composableStrings:o}},components:{BaseHighlightToggle:N,CoreHtmlTagsEditor:O,GridColumn:E,GridRow:F,SvgBlog:re,SvgCorporation:ue,SvgLocalBusiness:I,SvgImageSeo:R,SvgNewsChannel:fe,SvgOnlineStore:Ce,SvgPencil:Y,WizardBody:j,WizardCloseAndExit:Q,WizardContainer:J,WizardHeader:K,WizardSteps:X},data(){return{loaded:!1,titleCount:0,descriptionCount:0,loading:!1,strings:D(this.composableStrings,{category:n("Which category best describes your website?",l),selectCategory:n("Select a category to help us narrow down the SEO options that work best for you and your site.",l),enterYourAnswer:n("Enter your answer",l),siteTitle:n("Home Page Title",l),metaDescription:n("Home Page Meta Description",l)}),categories:[{value:"blog",name:n("Blog",l),icon:"svg-blog"},{value:"news-channel",name:n("News Channel",l),icon:"svg-news-channel"},{value:"online-store",name:n("Online Store",l),icon:"svg-online-store"},{value:"small-offline-business",name:n("Small Offline Business",l),icon:"svg-local-business"},{value:"corporation",name:n("Corporation",l),icon:"svg-corporation"},{value:"portfolio",name:n("Portfolio",l),icon:"svg-image-seo"}],otherCategory:{value:"other",name:n("Other:",l),icon:"svg-pencil",valueInput:null},selected:[]}},watch:{selected(o){this.setupWizardStore.category.category=o[0].value,this.triggerFeaturesUpdate(o[0].value)}},methods:{triggerFeaturesUpdate(o){const e=["aioseo-eeat","aioseo-image-seo","aioseo-redirects","analytics","broken-link-checker","conversion-tools","optimized-search-appearance","sitemaps"];switch(o){case"blog":case"portfolio":case"other":e.push("aioseo-index-now"),e.push("aioseo-link-assistant");break;case"news-channel":e.push("aioseo-index-now"),e.push("aioseo-link-assistant"),e.push("aioseo-news-sitemap"),e.push("aioseo-rest-api"),e.push("aioseo-video-sitemap");break;case"online-store":e.push("aioseo-index-now"),e.push("aioseo-link-assistant"),e.push("aioseo-rest-api"),e.push("aioseo-video-sitemap");break;case"small-offline-business":e.push("aioseo-local-business"),e.push("aioseo-rest-api"),e.push("aioseo-video-sitemap");break;case"corporation":e.push("aioseo-index-now"),e.push("aioseo-link-assistant"),e.push("aioseo-local-business"),e.push("aioseo-news-sitemap"),e.push("aioseo-rest-api"),e.push("aioseo-video-sitemap");break}this.setupWizardStore.features=e},updateValue(o,e){this.selected=[],o&&(this.selected.push(e),e.value==="other"&&this.$nextTick(()=>{this.$refs["other-category"].$el.querySelector("input").focus()}))},getValue(o){return this.selected.includes(o)},isActive(o){return this.selected.findIndex(_=>_.value===o.value)!==-1},saveAndContinue(){this.loading=!0,this.setupWizardStore.saveWizard("category").then(()=>{this.$router.push(this.setupWizardStore.getNextLink)})}},mounted(){this.$nextTick(()=>{const o=this.categories.find(d=>d.value===this.setupWizardStore.category.category)||this.categories[0];this.selected.push(o),this.triggerFeaturesUpdate(o);const e=this.rootStore.aioseo.data.staticHomePage?this.rootStore.aioseo.data.staticHomePageTitle:this.optionsStore.options.searchAppearance.global.siteTitle;e&&this.setupWizardStore.category.siteTitle!==e&&(this.setupWizardStore.category.siteTitle=e);const _=this.rootStore.aioseo.data.staticHomePage?this.rootStore.aioseo.data.staticHomePageDescription:this.optionsStore.options.searchAppearance.global.metaDescription;_&&this.setupWizardStore.category.metaDescription!==_&&(this.setupWizardStore.category.metaDescription=_),this.loaded=!0})}},be={class:"aioseo-wizard-category"},ze={class:"header"},xe={class:"description"},ke={class:"categories"},We={key:0,class:"site-info"},Me={class:"site-title aioseo-settings-row no-border"},Ze={class:"settings-name"},Be={class:"name small-margin"},Le={class:"site-description aioseo-settings-row no-border no-margin small-padding"},Te={class:"settings-name"},Ae={class:"name small-margin"},Pe={class:"go-back"},De=s("div",{class:"spacer"},null,-1);function Ue(o,e,_,d,t,m){const S=a("wizard-header"),b=a("wizard-steps"),H=a("base-highlight-toggle"),z=a("grid-column"),x=a("grid-row"),k=a("base-input"),y=a("core-html-tags-editor"),w=a("router-link"),W=a("base-button"),M=a("wizard-body"),Z=a("wizard-close-and-exit"),B=a("wizard-container");return c(),g("div",be,[r(S),r(B,null,{default:u(()=>[r(M,null,{footer:u(()=>[s("div",Pe,[r(w,{to:d.setupWizardStore.getPrevLink,class:"no-underline"},{default:u(()=>[h("←")]),_:1},8,["to"]),h("   "),r(w,{to:d.setupWizardStore.getPrevLink},{default:u(()=>[h(p(t.strings.goBack),1)]),_:1},8,["to"])]),De,r(W,{type:"blue",loading:t.loading,onClick:m.saveAndContinue},{default:u(()=>[h(p(t.strings.saveAndContinue)+" →",1)]),_:1},8,["loading","onClick"])]),default:u(()=>[r(b),s("div",ze,p(t.strings.category),1),s("div",xe,p(t.strings.selectCategory),1),s("div",ke,[r(x,null,{default:u(()=>[(c(!0),g(G,null,q(t.categories,(i,L)=>(c(),v(z,{key:L,md:"6"},{default:u(()=>[r(H,{type:"radio",size:"medium",active:m.isActive(i),name:"category",modelValue:m.getValue(i),"onUpdate:modelValue":T=>m.updateValue(T,i)},{default:u(()=>[i.icon?(c(),v(C(i.icon),{key:0,class:"icon"})):V("",!0),h(" "+p(i.name),1)]),_:2},1032,["active","modelValue","onUpdate:modelValue"])]),_:2},1024))),128))]),_:1}),r(H,{class:"other-category",type:"radio",size:"medium",active:m.isActive(t.otherCategory),name:"category",modelValue:m.getValue(t.otherCategory),"onUpdate:modelValue":e[1]||(e[1]=i=>m.updateValue(i,t.otherCategory))},{default:u(()=>[t.otherCategory.icon?(c(),v(C(t.otherCategory.icon),{key:0,class:"icon"})):V("",!0),h(" "+p(t.otherCategory.name)+" ",1),t.selected.length?(c(),v(k,{key:1,disabled:t.selected[0].value!=="other",size:"medium",modelValue:d.setupWizardStore.category.categoryOther,"onUpdate:modelValue":e[0]||(e[0]=i=>d.setupWizardStore.category.categoryOther=i),placeholder:t.strings.enterYourAnswer,ref:"other-category"},null,8,["disabled","modelValue","placeholder"])):V("",!0)]),_:1},8,["active","modelValue"])]),t.loaded?(c(),g("div",We,[s("div",Me,[s("div",Ze,[s("div",Be,p(t.strings.siteTitle),1)]),r(y,{modelValue:d.setupWizardStore.category.siteTitle,"onUpdate:modelValue":e[2]||(e[2]=i=>d.setupWizardStore.category.siteTitle=i),"line-numbers":!1,single:"","tags-context":"homePage","default-tags":["site_title","separator_sa","tagline"]},null,8,["modelValue"])]),s("div",Le,[s("div",Te,[s("div",Ae,p(t.strings.metaDescription),1)]),r(y,{modelValue:d.setupWizardStore.category.metaDescription,"onUpdate:modelValue":e[3]||(e[3]=i=>d.setupWizardStore.category.metaDescription=i),"line-numbers":!1,description:"","tags-context":"homePage","default-tags":["site_title","separator_sa","tagline"]},null,8,["modelValue"])])])):V("",!0)]),_:1}),r(Z)]),_:1})])}const Vo=f(Se,[["render",Ue]]);export{Vo as default};