PageSourceSearch

https://voice123.com/static/assets/index-bcb66c14.js

js voice123.com collected 2026-09-24 08:59:47 UTC 6,421 bytes, 2 lines download raw bytes

1var I=Object.defineProperty;var w=(e,s,t)=>s in e?I(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var a=(e,s,t)=>(w(e,typeof s!="symbol"?s+"":s,t),t);import{P as S,b as C,a as $}from"./common-4ebc591d.js";import{m as A,B as f,O as D,_ as O,r as U,o as u,g as R,w as v,a as d,t as h,c as m,h as _,au as F,av as V,n as P,b as k,d as y,j as T}from"./vendor-147ef0d1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"[email protected]"};var s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="e6ab0c21-e58e-439d-83cd-8875e8b99838",e._sentryDebugIdIdentifier="sentry-dbid-e6ab0c21-e58e-439d-83cd-8875e8b99838")}catch{}})();const q="/static/assets/client_onboarding_icon-3f22157c.svg",L="/static/assets/va_onboarding_icon-ea322a8e.svg";var B=Object.defineProperty,j=Object.getOwnPropertyDescriptor,g=(e,s,t,o)=>{for(var i=o>1?void 0:o?j(s,t):s,r=e.length-1,c;r>=0;r--)(c=e[r])&&(i=(o?c(s,t,i):c(i))||i);return o&&i&&B(s,t,i),i};let l=class extends A(S){constructor(){super(...arguments);a(this,"feedbackDraft",null);a(this,"croFlag",null);a(this,"items",[]);a(this,"activeItem","");a(this,"signUpClient");a(this,"signUpVA");a(this,"signUpOther");a(this,"setActiveRole");a(this,"getFeedbackDraft");a(this,"login")}get buttonText(){switch(this.activeItem){case"client":return"A Client";case"provider":return"A Voice Actor"}return"Other"}handleSignup(){const t=this.items.find(o=>o.type===this.activeItem);t&&t.action()}asClient(){var t,o,i,r;if(sessionStorage.setItem("register-action",this.handleAction("Client",document.referrer)),sessionStorage.setItem("register-referrer",document.referrer),localStorage.setItem("show_orbs","true"),this.setActiveRole("client"),this.feedbackDraft){const c=this.feedbackDraft.feedbackRequest;this.signUpClient({origin:"feedback",redirectUrl:`/${this.feedbackDraft.provider.user.username}/feedback/${c.public_hash}/create`})}else{this.croFlag&&sessionStorage.setItem("cro",this.croFlag);const c=[""],p=(i=(o=(t=this.$router.options)==null?void 0:t.history)==null?void 0:o.state)==null?void 0:i.back,b=new URLSearchParams((r=this.$route)==null?void 0:r.fullPath.split("?")[1]),n=p&&c.includes(String(p))?String(p):`/onboarding/client?${b.toString()}`;this.signUpClient({redirectUrl:n})}}
1asProvider(){if(sessionStorage.setItem("register-action",this.handleAction("Voice Actor",document.referrer)),this.feedbackDraft){const t=this.feedbackDraft.feedbackRequest;this.setActiveRole("provider"),this.signUpVA({origin:"feedback",redirectUrl:`/${this.feedbackDraft.provider.user.username}/feedback/${t.public_hash}/create`})}else this.croFlag&&sessionStorage.setItem("cro",this.croFlag),this.goToProviderOnboarding()}asOther(){sessionStorage.setItem("register-action",this.handleAction("Client",document.referrer)),sessionStorage.setItem("register-referrer",document.referrer),localStorage.setItem("show_orbs","true"),this.setActiveRole("client");const t=this.feedbackDraft.feedbackRequest;this.signUpOther({origin:"feedback",redirectUrl:`/${this.feedbackDraft.provider.user.username}/feedback/${t.public_hash}/create`})}croLogin(){sessionStorage.setItem("register-action",this.handleAction("Client",document.referrer)),sessionStorage.setItem("register-referrer",document.referrer),localStorage.setItem("show_orbs","true"),sessionStorage.setItem("cro",this.croFlag),this.signUpClient({redirectUrl:"/clientRedirect"})}setActive(t){this.activeItem=t}handleAction(t,o){let r=`${t} ${t==="Client"?"Sign up":"Sign Up"} from `;return o.includes("/thebooth")?r+="The Booth":o.includes("/blog")?r+="Voicetalks":r+=o,r}goToProviderOnboarding(){this.$router.push({name:"providerQuiz",query:{step:"languages"}})}goToLogin(){C.clearLocalDraft(),localStorage.setItem("show_orbs","true"),this.login("/")}setItems(){this.items=[{title:"I’m a voice actor",description:"I want to find voice over work and showcase my talent.",type:"provider",icon:L,action:()=>{this.asProvider()}},{title:"I’m hiring talent",description:"I want to find and hire voice actors for different projects.",type:"client",icon:q,action:()=>{this.asClient()}}]}async mounted(){this.setItems(),this.feedbackDraft=await this.getFeedbackDraft(),this.croFlag=this.$route.query&&this.$route.query.cro,this.feedbackDraft?this.items.push({type:"other",title:this.format.message("Other"),action:()=>{this.asOther()}}):this.croFlag&&this.items.push({type:"cro",title:this.format.message("Other"),action:()=>{this.croLogin()}})}};g([f],l.prototype,"signUpClient",2);g([f],l.prototype,"signUpVA",2);g([f],l.prototype,"signUpOther",2);g([f],l.prototype,"setActiveRole",2);g([f],l.prototype,"getFeedbackDraft",2);g([f],l.prototype,"login",2);l=g([D({name:"Onboarding"})],l);const E={class:"container"},N={class:"account-selector-header__title md-display-3"},J={key:0,class:"md-title jumbo"},z={key:1,class:"md-title jumbo"},H={class:"buttons-container"},M=["onClick"],Q=["src","alt"],Y={class:"account-option__title"},G={class:"account-option__description"},K={key:2,class:"btn-container"},W={class:"btn-container"};function X(e,s,t,o,i,r){const c=T,p=U("router-view"),b=$;return u(),R(b,{title:"Join Voice123",showBackButton:!0,showRolSelector:!1},{default:v(()=>[d("div",E,[d("h1",N,h(e.$t("Join Voice123 for free")),1),e.croFlag?_("",!0):(u(),m("h1",J,h(e.feedbackDraft?e.$t("Create an account to listen to audition and provide feedback"):e.$t("How do you want to use Voice123?")),1)),e.croFlag?(u(),m("h1",z,h(e.$t("Almost there! Create a Voice123 account to start downloading our script examples for free.")),1)):_("",!0),d("div",H,[(u(!0),m(F,null,V(e.items,n=>(u(),m("div",{key:n.type,onClick:Z=>e.setActive(n.type),role:"radio",class:P(["account-option",{active:e.activeItem===n.type}])},[d("img",{src:n.icon,alt:n.title,class:"account-option__image"},null,8,Q),d("span",Y,h(n.title),1),d("span",G,h(n.description),1)],10,M))),128))]),e.activeItem?(u(),m("div",K,[k(c,{class:"md-primary md-raised",onClick:e.handleSignup},{default:v(()=>[y("Join as "+h(e.buttonText),1)]),_:1},8,["onClick"])])):_("",!0),d("div",W,[y(" Already have an account? "),d("a",{onClick:s[0]||(s[0]=(...n)=>e.goToLogin&&e.goToLogin(...n))},h(e.$t("Log in here")),1)])]),k(p)]),_:1})}const oe=O(l,[["render",X],["__scopeId","data-v-088e7a71"]]);export{oe as default};
2//# sourceMappingURL=index-bcb66c14.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.