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/user-profile-tab.fccd4a04.js.tar

xbodynamge/dev/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/user-profile-tab.fccd4a04.js000064400000020061151143170130027704 0ustar00homeimport{o as a,k as b,l,a as c,t as u,H as i,u as n,v as d,x as P,c as g,b as v,G as T,N as B,K as U,J as L,q as O,Y as D}from"./js/runtime-dom.esm-bundler.baf35205.js";import{l as R}from"./js/index.7c01c5f2.js";import{d as F,B as k,l as N}from"./js/index.7fee6f1a.js";import{l as j}from"./js/index.d80c2c2c.js";import{m as q,u as E,a as z,k as V,l as H}from"./js/index.4fea5b8a.js";import{C as I}from"./js/Card.9a64d2e2.js";import{C as Q}from"./js/SocialProfiles.3dc1aad8.js";import{u as G}from"./js/EeatCta.dac28812.js";import{C as $}from"./js/ProBadge.2e262a91.js";import{C as J}from"./js/Index.a6ae6538.js";import{C as M}from"./js/Blur.601d8ea8.js";import{C}from"./js/SettingsRow.70a7af04.js";import"./js/translations.d159963e.js";import{_ as s}from"./js/default-i18n.20001971.js";import{R as Y}from"./js/RequiredPlans.8c29f2e8.js";import{_ as A}from"./js/_plugin-vue_export-helper.eefbdd86.js";import{u as K}from"./js/AddonConditions.a85dda13.js";import{S as W}from"./js/LogoGear.383c5312.js";import{e as X}from"./js/elemLoaded.2921fc72.js";import"./js/Caret.7cc96622.js";import"./js/helpers.114e9c35.js";import"./js/Tooltip.70b51a50.js";import"./js/Slide.1db617da.js";import"./js/Checkbox.d4a94670.js";import"./js/Checkmark.b35299d3.js";import"./js/Textarea.e9193def.js";import"./js/Row.c7b7fb90.js";import"./js/Facebook.56146bd7.js";import"./js/Twitter.6a424f77.js";import"./js/constants.a8a14dc3.js";import"./js/addons.e13ca687.js";import"./js/upperFirst.eafa5318.js";import"./js/toString.bbd66337.js";import"./js/license.ae04185d.js";const Z={class:"aioseo-settings-row aioseo-section-description"},ee={class:"aioseo-description"},oe=c("br",null,null,-1),te={class:"aioseo-description"},re={class:"aioseo-description"},se={__name:"EeatBlur",setup(e){const r="all-in-one-seo-pack",t={description:s("The fields below provide structured information for search engines about the current author. By filling out these fields, you will enhance your online presence and improve search engine visibility. This increases the chances of your author details appearing prominently in search results, making it easier for readers, publishers, and media representatives to discover and connect with you.",r),enable:s("Enable Author Info",r),alumniOf:s("Alumni Of",r),alumniOfDescription:s("The school, college, or university where the author studied.",r),alumniOfUrl:s("School, college, or university URL",r),alumniOfUrlDescription:s("The URL of the school, college, or university where the author studied.",r),worksFor:s("Employer",r),worksForDescription:s("The organization the author works for.",r)};return(o,m)=>(a(),b(n(M),{id:"aioseo-author-seo-meta-data"},{default:l(()=>[c("div",Z,u(t.description),1),i(n(C),{name:t.enable},{content:l(()=>[i(n(F))]),_:1},8,["name"]),i(n(C),{name:t.alumniOf},{content:l(()=>[i(n(k),{size:"medium",placeholder:t.alumniOf},null,8,["placeholder"]),c("div",ee,u(t.alumniOfDescription),1),oe,i(n(k),{size:"medium",placeholder:t.alumniOfUrl},null,8,["placeholder"]),c("div",te,u(t.alumniOfUrlDescription),1)]),_:1},8,["name"]),i(n(C),{name:t.worksFor},{content:l(()=>[i(n(k),{size:"medium",placeholder:t.worksFor},null,8,["placeholder"]),c("div",re,u(t.worksForDescription),1)]),_:1},8,["name"])]),_:1}))}},ie={setup(){const{addonSlug:e,features:r,strings:t}=G();return{addonSlug:e,features:r,licenseStore:q(),rootStore:E(),links:z,strings:t}},components:{CoreCard:I,CoreProBadge:$,Cta:J,EeatBlur:se,RequiredPlans:Y}};function ne(e,r,t,o,m,f){const w=d("core-pro-badge"),y=d("eeat-blur"),S=d("required-plans"),p=d("cta"),h=d("core-card");return a(),b(h,{noSlide:"",slug:"userProfiles"},{header:l(()=>[c("span",null,u(o.strings.authorInfo),1),i(w)]),default:l(()=>[i(y),i(p,{"cta-link":o.links.getPricingUrl("eeat","eeat-upsell"),"button-text":o.strings.ctaButtonText,"learn-more-link":o.links.getUpsellUrl("eeat",null,o.rootStore.isPro?"pricing":"liteUpgrade"),"feature-list":o.features},{"header-text":l(()=>[P(u(o.strings.headerText),1)]),description:l(()=>[i(S,{addon:"aioseo-eeat"}),P(" "+u(o.strings.description),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])]),_:1})}const x=A(ie,[["render",ne]]),ae={__name:"EeatCta",setup(e){const{shouldShowActivate:r,shouldShowLite:t,shouldShowUpdate:o}=K({addonSlug:"aioseo-eeat"});return(m,f)=>(a(),g("div",null,[n(o)||n(r)?(a(),b(n(x),{key:0})):v("",!0),n(t)?(a(),b(n(x),{key:1})):v("",!0)]))}},_="all-in-one-seo-pack",le={setup(){return{rootStore:E(),settingsStore:V()}},components:{CoreCard:I,CoreSocialProfiles:Q,EeatCta:ae,SvgLogoGear:W},data(){return{activeTabIndex:0,strings:{socialProfiles:s("Social Profiles",_),description:s("To let search engines know which profiles are associated with this user, enter them below:",_)}}},computed:{tabs(){const e=[{label:s("Personal Options",_),slug:"personal-options"},{label:s("Author SEO",_),slug:"author-seo",svg:"svg-logo-gear"}];return this.settingsStore.userProfile.isWooCommerceFollowupEmailsActive&&e.push({label:s("Customer Data",_),slug:"customer-data"}),e},activeTabObject(){return this.tabs[this.activeTabIndex]}},methods:{setActiveTab(e){var t;const r=this.activeTabIndex;switch(this.activeTabIndex=e,this.activeTabObject.slug){case"personal-options":document.getElementById("your-profile").childNodes.forEach(o=>{o.style&&(o.style.display="block")});break;case"author-seo":document.getElementById("your-profile").childNodes.forEach(o=>{o.id==="aioseo-user-profile-tab-wrapper"||o.className==="submit"||!o.style||(o.style.display="none")});break;case"customer-data":this.activeTabIndex=r,window.location.href=this.rootStore.aioseo.urls.home+"/wp-admin/admin.php?page=followup-emails-reports&tab=reportuser_view&email="+encodeURIComponent(this.settingsStore.userProfile.userData.user_email)+"&user_id="+this.settingsStore.userProfile.userData.ID;break}location.hash=(t=this.activeTabObject)==null?void 0:t.slug},updateHiddenInputField(e){document.getElementById("aioseo-user-social-profiles").value=JSON.stringify(e)}},async created(){this.updateHiddenInputField(this.settingsStore.userProfile.profiles)},beforeMount(){new URLSearchParams(window.location.search).has("authorInfo")&&this.setActiveTab(1)},mounted(){const e=new URLSearchParams(window.location.search)||null;(e!=null&&e.get("author-seo")||location!=null&&location.hash.includes("author-seo"))&&this.setActiveTab(1)}},ce={id:"aioseo-user-profile-tab"},ue={class:"navigation-bar"},de=["onClick"],pe={class:"aioseo-user-profile-fields"},me={class:"aioseo-settings-row aioseo-section-description"};function fe(e,r,t,o,m,f){const w=d("eeat-cta"),y=d("core-social-profiles"),S=d("core-card");return a(),g("div",ce,[c("div",ue,[(a(!0),g(T,null,B(f.tabs,(p,h)=>(a(),g("a",{key:h,class:U({active:h===m.activeTabIndex}),href:"#",onClick:L(ve=>f.setActiveTab(h),["prevent"])},[p.svg?(a(),b(O(p.svg),{key:0})):v("",!0),P(" "+u(p.label),1)],10,de))),128))]),f.activeTabObject.slug==="author-seo"?(a(),g(T,{key:0},[i(w),c("div",pe,[i(S,{slug:"userProfiles","header-text":m.strings.socialProfiles},{default:l(()=>[c("div",me,u(m.strings.description),1),i(y,{userProfiles:o.settingsStore.userProfile.profiles,onUpdated:r[0]||(r[0]=p=>f.updateHiddenInputField(p))},null,8,["userProfiles"])]),_:1},8,["header-text"])])],64)):v("",!0)])}const he=A(le,[["render",fe]]),_e="all-in-one-seo-pack",ge=()=>{const e=document.getElementById("your-profile");if(!e)return;const r=document.createElement("div");r.id="aioseo-user-profile-tab-wrapper";const t=document.createElement("input");t.id="aioseo-user-social-profiles",t.name="aioseo-user-social-profiles",t.type="hidden",window.jQuery(window).off("beforeunload"),e.prepend(t),e.prepend(r);let o=!1;window.jQuery(window).off("beforeunload").on("beforeunload",function(){if(o)return s("Your profile has unsaved changes. If you leave this page, you will lose your changes.",_e)}),window.jQuery("#your-profile").on("change input",":input",function(){o=!0}),window.jQuery("#your-profile").on("submit",function(){o=!1})},be=()=>{let e=D({...he,name:"Standalone/UserProfileTab"});e=R(e),e=N(e),e=j(e),H(e),e.mount("#aioseo-user-profile-tab-wrapper")};X("#your-profile","profilePageLoaded");document.addEventListener("animationstart",function(e){e.animationName==="profilePageLoaded"&&(ge(),be())});