1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6172],{11951:(e,a,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/tools/professional-headshots/all",function(){return i(30427)}])},30427:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>D});var s=i(6029),n=i(85505),l=i(61946),o=i(74536),r=i(13445),t=i(99690),d=i(87462),u=i(37948),c=i(72971),h=i(84335),p=i(50433),g=i(53551),f=i(88728),m=i(7006),x=i(24565),j=i(12660),v=i(82562),b=i(50016),w=i(87041),_=i(34417),y=i(1751),z=i(58943),B=i(37514),k=i(82108),S=i(78138),C=i(74312),P=i.n(C),Y=i(82203),E=i.n(Y),I=i(55729);let $=e=>{var a,i,m,x,j;let{training:w,refetch:_}=e,C=(0,y.DU_)(),[Y,I]=(0,v.j)(!1),{mutate:$,isLoading:D}=(0,y.v$M)();return(0,l.xd)(),(0,s.jsx)(o.Z,{shadow:"md",withBorder:!0,sx:{borderRadius:10},children:(0,s.jsxs)(r.B,{spacing:10,children:[(0,s.jsxs)(t.Y,{position:"apart",align:"flex-start",children:[(0,s.jsxs)(r.B,{spacing:0,children:[(0,s.jsx)(d.h,{order:3,align:"left",children:w.project_name}),(0,s.jsxs)(u.E,{color:"dimmed",size:"sm",children:[null==(a=w.lora_training_images)?void 0:a.length," Images"]}),(0,s.jsx)(u.E,{color:"dimmed",size:"sm",children:P()(w.created_at).format("MMM DD, YYYY")})]}),(0,s.jsxs)(c.A,{width:200,position:"bottom",withArrow:!0,shadow:"md",opened:Y,...I,children:[(0,s.jsx)(c.A.Target,{children:(0,s.jsx)(h.$,{onClick:()=>{I.open()},color:"red",leftIcon:(0,s.jsx)(b.ucK,{}),size:"xs",children:"Delete"})}),(0,s.jsxs)(c.A.Dropdown,{children:[(0,s.jsx)(u.E,{size:"xs",children:"Are you sure you want to delete this studio?"}),(0,s.jsxs)(t.Y,{position:"right",mt:10,children:[(0,s.jsx)(h.$,{onClick:()=>{C.mutate({id:w.id},{onSuccess:()=>{_()}})},color:"red",size:"xs",children:"Delete"}),(0,s.jsx)(h.$,{onClick:()=>{I.close()},color:"gray",size:"xs",children:"Cancel"})]})]})]})]}),(0,s.jsxs)(p.a,{children:[(0,s.jsx)(t.Y,{position:"center",children:(0,s.jsxs)(u.E,{fw:700,size:20,children:["Your Studio is"," ",(null==w?void 0:w.status)===z.oB.Not_Started&&"ready to be trained!",(null==w?void 0:w.status)&&[z.oB.Pending,z.oB.Downloading,z.oB.Running].includes(null==w?void 0:w.status)&&"being trained!",(null==w?void 0:w.status)===z.oB.Pending&&"being trained!",(null==w?void 0:w.status)===z.oB.Successful&&(null==w?void 0:w.downloaded)&&"ready! Click below.",(null==w?void 0:w.status)===z.oB.Successful&&!(null==w?void 0:w.downloaded)&&"being finalized!"]})}),(0,s.jsx)(p.a,{my:10,children:["{{1}} Studio with a custom trained model","Professional headshots in full {{HD}}","+ {{100}} credits to experiment with our AI tools"].map(e=>(0,s.jsxs)(t.Y,{position:"center",spacing:3,py:5,noWrap:!0,children:[(0,s.jsx)(b.KaV,{}),(0,s.jsx)(t.Y,{spacing:5,children:e.split(/{{|}}/).map((e,a)=>a%2==0?(0,s.jsx)(u.E,{children:e},a):(0,s.jsx)(u.E,{fw:700,children:e},a))})]}))}),(0,s.jsxs)(t.Y,{position:"center",my:30,children:[z.oB.Successful&&(null==w?void 0:w.downloaded)&&(0,s.jsx)(g.o,{my:10,children:(0,s.jsx)(h.$,{component:E(),href:"".concat(S.J.aieasypic.toolsProfessionalHeadshots,"/").concat(w.id),size:"lg",children:"View Headshots"})}),(null==w?void 0:w.status)===z.oB.Not_Started&&(0,s.jsx)(s.Fragment,{children:null===n.u||void 0===n.u?void 0:n.u.map((e,a)=>(0,s.jsxs)(h.$,{size:"lg",variant:e.popular?"filled":"gradient",onClick:()=>{(e=>{let{id:a,price:i}=e;$({id:a,data:{price:i}},{onSuccess:e=>{e.url&&(window.location.href=e.url)},onError:e=>{(0,B.A)(e)}})})({id:w.id,price:100*e.price})},loading:D,children:["Get ",e.images," Headshots - $",e.price]}))}),(null==w?void 0:w.status)&&[z.oB.Pending,z.oB.Downloading,z.oB.Running].includes(null==w?void 0:w.status)&&(0,s.jsx)(h.$,{size:"lg",disabled:!0,children:"Training in progress"})]}),(0,s.jsxs)(t.Y,{spacing:0,position:"center",mx:10,children:[null==(m=w.lora_training_images)||null==(i=m.slice(0,7))?void 0:i.map((e,a)=>(0,s.jsx)(f.e,{src:(0,k.lv)({url:e.image,width:150,imaginaryHost:"imaginary.aieasypic.com",quality:60}),radius:"100%",size:"lg",ml:-20,sx:{zIndex:100-a,border:"3px solid white"}},e.id)),(null==(x=w.lora_training_images)?void 0:x.length)>7&&(0,s.jsxs)(f.e,{radius:"100%",size:"lg",ml:0,sx:{zIndex:0},children:["+",(null==(j=w.lora_training_images)?void 0:j.length)-7]})]})]})]})},w.id)},D=()=>{var e;let[a,i]=(0,I.useState)(),[n,l]=(0,I.useState)(!1),[o,u]=(0,I.useState)(""),{data:c}=(0,_.P)(),{data:p,refetch:g}=(0,y.x$b)({training_type:z.QC.Professional_Headshots,only_owned:n,search:o,status:a});return(0,I.useEffect)(()=>{g()},[]),(0,s.jsxs)(w.A,{children:[(0,s.jsxs)(t.Y,{position:"apart",align:"center",children:[(0,s.jsx)(d.h,{align:"left",children:"My Studios"}),(0,s.jsx)(h.$,{component:E(),href:S.J.aieasypic.toolsProfessionalHeadshotsCreate,size:"sm",leftIcon:(0,s.jsx)(b.c11,{}),children:"Create Studio"})]}),(null==c?void 0:c.is_staff)&&(0,s.jsxs)(t.Y,{position:"apart",align:"center",children:[(0,s.jsx)(m.d,{checked:n,onChange:()=>l(!n),children:"Own Only"}),(0,s.jsx)(x.k,{placeholder:"Search",onChange:e=>u(e.currentTarget.value),size:"lg"}),(0,s.jsx)(j.l6,{data:Object.values(z.oB).map(e=>({value:e,label:e})),value:a||"",clearable:!0,onChange:e=>{i(e)}})]}),(0,s.jsx)(r.B,{my:20,children:null==p||null==(e=p.results)?void 0:e.map(e=>(0,s.jsx)($,{training:e,refetch:g},e.id))})]})}},85505:(e,a,i)=>{"use strict";i.d(a,{u:()=>n});let s=[{feature:"Commercial usage rights",available:!0},{feature:"100% satisfaction guarantee",available:!0}],n=[{plan:"basic",plan_name:"Basic",price:29,popular:!1,images:40,time:3,headingText:"Perfect for personal branding and job hunting - find your ideal professional look.",features:[{feature:"{{40}} professional headshots",available:!0},{feature:"{{4}} unique backgrounds",available:!0},{feature:"{{3}}-hour turnaround time",available:!0},...s,{feature:"Basic email support",available:!0},{feature:"LinkedIn optimization",available:!1}]},{plan:"starter",plan_name:"Starter",price:39,popular:!0,images:100,time:2,headingText:"Ideal for entrepreneurs and professionals who need variety - create a complete personal brand.",features:[{feature:"{{100}} professional headshots",available:!0},{feature:"{{10}} unique backgrounds",available:!0},{feature:"{{2}}-hour turnaround",available:!0},...s,{feature:"Priority support",available:!0},{feature:"LinkedIn optimization",available:!0}]},{plan:"pro",plan_name:"Professional",price:59,popular:!1,images:200,time:1,headingText:"Perfect for teams and businesses - consistent, professional photos for your entire organization, marketing materials, and company profiles.",features:[{feature:"{{200}} professional headshots",available:!0},{feature:"{{20}} unique backgrounds",available:!0},{feature:"{{20}} outfit styles",available:!0},{feature:"{{1}}-hour turnaround",available:!0},...s,{feature:"VIP support",available:!0}]}]}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=11951)),_N_E=e.O()}]);
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.