PageSourceSearch

https://app.upfit.ai/_next/static/chunks/pages/stylist_registration/instagramConnect-6351861567ec7dc1.js

js upfit.ai collected 2026-10-05 14:00:01 UTC 22,585 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1451],{7152:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/stylist_registration/instagramConnect",function(){return n(68606)}])},22034:function(e,t,n){"use strict";n.d(t,{n:function(){return InstagramConnectionComponent}});var r=n(52322),s=n(11163),i=n(2784),a=n(75075),icons_InstagramIcon=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.45601 23.9882C4.92078 23.9692 4.23096 23.9273 3.91742 23.864C3.43881 23.7674 2.98683 23.6208 2.61095 23.4293C2.16933 23.2042 1.77352 22.917 1.43176 22.5758C1.08921 22.2339 0.800899 21.8377 0.574929 21.3955C0.383889 21.0216 0.237434 20.5724 0.140373 20.0965C0.0758162 19.7798 0.0331208 19.0848 0.0137661 18.5461C0.00591736 18.3259 0.00189027 18.041 0.00189027 17.9096L0 6.09229C0 5.96141 0.003986 5.67639 0.0117936 5.45597C0.0308196 4.92078 0.0726932 4.23096 0.136017 3.91742C0.232626 3.43885 0.379204 2.98683 0.570738 2.61095C0.795844 2.16929 1.08296 1.77357 1.42419 1.43176C1.76609 1.08925 2.1623 0.80094 2.60454 0.574929C2.97845 0.38393 3.42767 0.237434 3.90353 0.140373C4.22023 0.0758162 4.91523 0.0331208 5.45392 0.0138072C5.67401 0.00591736 5.95899 0.00189027 6.0904 0.00189027L17.9077 0C18.0386 0 18.3236 0.00394491 18.544 0.0117936C19.0792 0.0308607 19.7691 0.0726932 20.0826 0.136017C20.5612 0.232667 21.0132 0.379245 21.389 0.570738C21.8307 0.795844 22.2265 1.083 22.5682 1.42419C22.9108 1.76613 23.1991 2.16226 23.4251 2.60454C23.6161 2.97845 23.7626 3.42763 23.8596 3.90353C23.9242 4.22023 23.9669 4.91527 23.9862 5.45392C23.9941 5.67405 23.9981 5.95899 23.9981 6.0904L24 17.9077C24 18.0386 23.9961 18.3236 23.9882 18.544C23.9691 19.0792 23.9273 19.769 23.864 20.0826C23.7674 20.5612 23.6208 21.0132 23.4293 21.389C23.2042 21.8307 22.917 22.2265 22.5758 22.5683C22.2339 22.9108 21.8377 23.1991 21.3955 23.4251C21.0216 23.6161 20.5724 23.7626 20.0965 23.8596C19.7798 23.9242 19.0848 23.9669 18.5461 23.9862C18.3259 23.9941 18.041 23.9981 17.9096 23.9981L6.09229 24C5.96137 24 5.67635 23.9961 5.45601 23.9882Z",fill:"url(#paint0_radial_2297_4944)"}),(0,r.jsx)("mask",{id:"mask0_2297_4944",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.45601 23.9882C4.92078 23.9692 4.23096 23.9273 3.91742 23.864C3.43881 23.7674 2.98683 23.6208 2.61095 23.4293C2.16933 23.2042 1.77352 22.917 1.43176 22.5758C1.08921 22.2339 0.800899 21.8377 0.574929 21.3955C0.383889 21.0216 0.237434 20.5724 0.140373 20.0965C0.0758162 19.7798 0.0331208 19.0848 0.0137661 18.5461C0.00591736 18.3259 0.00189027 18.041 0.00189027 17.9096L0 6.09229C0 5.96141 0.003986 5.67639 0.0117936 5.45597C0.0308196 4.92078 0.0726932 4.23096 0.136017 3.91742C0.232626 3.43885 0.379204 2.98683 0.570738 2.61095C0.795844 2.16929 1.08296 1.77357 1.42419 1.43176C1.76609 1.08925 2.1623 0.80094 2.60454 0.574929C2.97845 0.38393 3.42767 0.237434 3.90353 0.140373C4.22023 0.0758162 4.91523 0.0331208 5.45392 0.0138072C5.67401 0.00591736 5.95899 0.00189027 6.0904 0.00189027L17.9077 0C18.0386 0 18.3236 0.00394491 18.544 0.0117936C19.0792 0.0308607 19.7691 0.0726932 20.0826 0.136017C20.5612 0.232667 21.0132 0.379245 21.389 0.570738C21.8307 0.795844 22.2265 1.083 22.5682 1.42419C22.9108 1.76613 23.1991 2.16226 23.4251 2.60454C23.6161 2.97845 23.7626 3.42763 23.8596 3.90353C23.9242 4.22023 23.9669 4.91527 23.9862 5.45392C23.9941 5.67405 23.9981 5.95899 23.9981 6.0904L24 17.9077C24 18.0386 23.9961 18.3236 23.9882 18.544C23.9691 19.0792 23.9273 19.769 23.864 20.0826C23.7674 20.5612 23.6208 21.0132 23.4293 21.389C23.2042 21.8307 22.917 22.2265 22.5758 22.5683C22.2339 22.9108 21.8377 23.1991 21.3955 23.4251C21.0216 23.6161 20.5724 23.7626 20.0965 23.8596C19.7798 23.9242 19.0848 23.9669 18.5461 23.9862C18.3259 23.9941 18.041 23.9981 17.9096 23.9981L6.09229 24C5.96137 24 5.67635 23.9961 5.45601 23.9882Z",fill:"white"})}),(0,r.jsx)("g",{mask:"url(#mask0_2297_4944)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0503 3.08737C9.63926 3.08737 9.33668 3.09797 8.38973 3.14131C7.44462 3.18483 6.79951 3.33529 6.23504 3.55606C5.65115 3.78409 5.15585 4.08911 4.6624 4.58551C4.16858 5.08173 3.86526 5.5798 3.63777 6.16678C3.41768 6.73461 3.26786 7.38352 3.22533 8.33355C3.18297 9.28581 3.17188 9.59028 3.17188 12.0148C3.17188 14.4394 3.1826 14.7427 3.22551 15.695C3.26897 16.6454 3.4186 17.2941 3.63795 17.8617C3.86489 18.4489 4.16821 18.947 4.66184 19.4432C5.15511 19.9398 5.65041 20.2456 6.23393 20.4736C6.79877 20.6944 7.44407 20.8448 8.38899 20.8883C9.33594 20.9317 9.63833 20.9423 12.0492 20.9423C14.4604 20.9423 14.762 20.9317 15.709 20.8883C16.6541 20.8448 17.2999 20.6944 17.8648 20.4736C18.4485 20.2456 18.9431 19.9398 19.4363 19.4432C19.9301 18.947 20.2335 18.4489 20.461 17.8619C20.6792 17.2941 20.829 16.6452 20.8734 15.6952C20.9159 14.7429 20.927 14.4394 20.927 12.0148C20.927 9.59028 20.9159 9.286 20.8734 8.33374C20.829 7.38334 20.6792 6.73461 20.461 6.16697C20.2335 5.5798 19.9301 5.08173 19.4363 4.58551C18.9425 4.08892 18.4487 3.7839 17.8642 3.55606C17.2983 3.33529 16.6528 3.18483 15.7077 3.14131C14.7607 3.09797 14.4593 3.08737 12.0475 3.08737H12.0503ZM11.2539 4.69617C11.4085 4.69593 11.5
1749 4.696 11.7544 4.69608L12.0503 4.69617C14.4206 4.69617 14.7016 4.70473 15.6376 4.7475C16.5032 4.7873 16.973 4.93275 17.2859 5.05494C17.7002 5.21675 17.9956 5.41018 18.3061 5.72264C18.6168 6.0351 18.8092 6.33268 18.9704 6.7493C19.092 7.06362 19.2368 7.53603 19.2762 8.40646C19.3187 9.34756 19.328 9.63026 19.328 12.0128C19.328 14.3953 19.3187 14.678 19.2762 15.6191C19.2366 16.4895 19.092 16.9619 18.9704 17.2763C18.8095 17.6929 18.6168 17.9895 18.3061 18.3018C17.9954 18.6143 17.7004 18.8077 17.2859 18.9695C16.9733 19.0922 16.5032 19.2373 15.6376 19.2771C14.7018 19.3199 14.4206 19.3292 12.0503 19.3292C9.67978 19.3292 9.39884 19.3199 8.46298 19.2771C7.59741 19.2369 7.12763 19.0915 6.81451 18.9693C6.40022 18.8075 6.1043 18.6141 5.79358 18.3016C5.48286 17.9891 5.29051 17.6923 5.12923 17.2755C5.00772 16.9612 4.8629 16.4888 4.82351 15.6184C4.78097 14.6772 4.77246 14.3945 4.77246 12.0105C4.77246 9.62654 4.78097 9.34533 4.82351 8.40422C4.86309 7.5338 5.00772 7.06139 5.12923 6.74669C5.29014 6.33008 5.48286 6.0325 5.79358 5.72004C6.1043 5.40758 6.40022 5.21415 6.81451 5.05197C7.12745 4.92921 7.59741 4.78414 8.46298 4.74416C9.28195 4.70696 9.59933 4.6958 11.2539 4.69394V4.69617ZM15.7238 7.24944C15.7238 6.65781 16.201 6.17852 16.7891 6.17852V6.17815C17.3773 6.17815 17.8545 6.658 17.8545 7.24944C17.8545 7.84089 17.3773 8.32074 16.7891 8.32074C16.201 8.32074 15.7238 7.84089 15.7238 7.24944ZM12.0501 7.4302C9.53245 7.4303 7.49124 9.48302 7.49124 12.0148C7.49124 14.5467 9.53255 16.5985 12.0503 16.5985C14.568 16.5985 16.6086 14.5467 16.6086 12.0148C16.6086 9.48296 14.5679 7.4302 12.0501 7.4302ZM15.0095 12.0148C15.0095 10.3712 13.6845 9.03901 12.0503 9.03901C10.4159 9.03901 9.09106 10.3712 9.09106 12.0148C9.09106 13.6582 10.4159 14.9906 12.0503 14.9906C13.6845 14.9906 15.0095 13.6582 15.0095 12.0148Z",fill:"white"})}),(0,r.jsx)("defs",{children:(0,r.jsxs)("radialGradient",{id:"paint0_radial_2297_4944",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.37504 25.8485) rotate(-90) scale(23.7858 23.7858)",children:[(0,r.jsx)("stop",{stopColor:"#FFDD55"}),(0,r.jsx)("stop",{offset:"0.1",stopColor:"#FFDD55"}),(0,r.jsx)("stop",{offset:"0.5",stopColor:"#FF543E"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#C837AB"})]})})]}),l=n(14484),o=n(79357);let InstagramConnectionComponent=()=>{var e;let t=(0,s.useRouter)(),{t:n}=(0,a.$G)("stylist/stylist_social"),c="string"==typeof t.query.code?t.query.code:"",[u,d]=(0,i.useState)(""),{mutateAsync:p}=o.h.stylistData.setInstagramKey.useMutation(),{data:f,refetch:h}=o.h.stylistData.getUser.useQuery({}),{data:m,refetch:x}=o.h.stylistData.getInstagramUserName.useQuery({stylistId:(null==f?void 0:null===(e=f.stylist)||void 0===e?void 0:e.id)||""}),{mutateAsync:C}=o.h.stylistData.removeInstagramToken.useMutation(),handleInstagramToken=async()=>{c&&f&&!(null==f?void 0:f.instagramToken)&&(await p({code:c,redirectUri:u}),await h(),await x(),t.replace({pathname:t.pathname,query:{}}))};(0,i.useEffect)(()=>{handleInstagramToken()},[c,f]),(0,i.useEffect)(()=>{d(window.location.origin+window.location.pathname)},[c,f]);let handleRemoveInstagramToken=async()=>{await C(),await h(),await x()};return(0,r.jsx)("section",{className:"flex flex-col gap-6 ".concat("/stylist_registration/instagramConnect"===t.pathname?"pb-10":""),children:(0,r.jsxs)("div",{className:"mx-auto rounded-lg bg-white p-6 ".concat("/stylist_registration/instagramConnect"===t.pathname?"max-w-[800px]":""," w-full "),children:[(0,r.jsxs)("div",{className:"flex w-full flex-col gap-2 border-b pb-6",children:[(0,r.jsx)("p",{className:"text-lg font-medium leading-7 text-black",children:n("title")}),(0,r.jsx)("p",{className:"text-sm font-normal leading-tight text-zinc-500",children:n("description")})]}),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-6 p-4 sm:p-20 ",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2",children:[(0,r.jsx)("p",{className:"text-center text-xl font-medium leading-7",children:n(m?"body_title_1":"body_title_2")}),(0,r.jsx)("p",{className:"text-center text-sm font-normal leading-tight text-zinc-500",children:n(m?"body_description_1":"body_description_2")})]}),m?(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-4 roun
1ded-md border border-neutral-200 px-4 py-3",children:[(0,r.jsx)(icons_InstagramIcon,{}),(0,r.jsx)("p",{className:"font-medium",children:m})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1 text-sm",children:[(0,r.jsx)("span",{className:"text-zinc-500",children:n("not_you")}),(0,r.jsx)("span",{onClick:handleRemoveInstagramToken,className:"cursor-pointer underline",children:n("disconnect")})]})]}):(0,r.jsxs)("button",{onClick:()=>{window.open("https://api.instagram.com/oauth/authorize?client_id=".concat("377574104689824","&redirect_uri=").concat(u,"&scope=user_profile,user_media&response_type=code"),"_self")},className:"inline-flex items-center gap-4 rounded-md border border-neutral-200 px-4 py-3",children:[(0,r.jsx)(icons_InstagramIcon,{}),(0,r.jsx)("p",{className:"font-medium",children:n("connect")})]})]}),"/stylist_registration/instagramConnect"===t.pathname&&(0,r.jsxs)("div",{className:"mt-6 inline-flex w-full items-center justify-between border-t border-neutral-200 pt-6",children:[(0,r.jsx)("button",{onClick:()=>void t.back(),className:"gap-2 rounded-md border border-stone-300 px-4 py-3 font-medium",children:n("back")}),(0,r.jsx)(l.zx,{onClick:()=>void t.push("/stylist_registration/workingHours"),type:"submit",className:"rounded-md bg-black px-4 py-3 font-medium text-white",children:n("continue")})]})]})})}},98027:function(e,t,n){"use strict";n.d(t,{E:function(){return RegistrationSteps}});var r=n(52322),s=n(75075);let registrationNav=e=>[{label:e("step_1")},{label:e("step_2")},{label:e("step_3")},{label:e("step_4")},{label:e("step_5")},{label:e("step_6")}],RegistrationSteps=e=>{let{current:t}=e,{t:n}=(0,s.$G)("navigation",{keyPrefix:"stylist_signup_navigation"});return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("nav",{className:"mx-auto flex w-full max-w-[800px] flex-col gap-10 pb-4 pt-6",children:[(0,r.jsx)("p",{className:"text-center text-[28px] font-black",children:"UPFIT"}),(0,r.jsx)("div",{className:"flex flex-row gap-4",children:registrationNav(n).map((e,s)=>(0,r.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,r.jsx)("div",{className:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}("".concat(n("step")," ").concat(s+1)<=t?"bg-black":"bg-gray-200","h-1 w-full")}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-xs font-medium uppercase text-gray-500",children:"".concat(n("step")," ").concat(s+1)}),(0,r.jsx)("p",{className:"text-sm font-medium",children:e.label})]})]},"".concat(n("step")," ").concat(s+1)))})]})})}},68606:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return o}});var r=n(52322),s=n(30235);n(2784);var i=n(75075),a=n(22034),l=n(98027),o=!0;t.default=(0,s.withSuperJSONPage)(()=>{let{t:e}=(0,i.$G)("navigation",{keyPrefix:"stylist_signup_navigation"});return(0,r.jsxs)("section",{className:"flex h-full flex-col gap-6 bg-black bg-opacity-5 pb-10",children:[(0,r.jsx)("div",{className:"w-full border-b border-black border-opacity-10 bg-white",children:(0,r.jsx)(l.E,{current:"".concat(e("step")," 5")})}),(0,r.jsx)(a.n,{})]})})},99535:function(e,t,n){"use strict";n.d(t,{z:function(){return Button}});var r=n(52322),s=n(12524),i=n.n(s);let generateClassNames=e=>{let{className:t,disabled:n,size:r="base",kind:s="primary"}=e;return i()("flex justify-center font-medium focus:outline-none focus:ring-4 focus:ring-zinc-200 inline-flex items-center",t,{"rounded-lg":!(null==t?void 0:t.includes("rounded-full")),"p-2 px-4 text-sm":"sm"===r,"p-2 px-5":"base"===r,"p-4 px-10 text-lg":"lg"===r,"text-zinc-50 cursor-not-allowed":n,"bg-zinc-400":n,"bg-zinc-900 text-white":"primary"===s&&!n,"bg-neutral-100 text-black hover:bg-neutral-200":"secondary"===s})},Button=e=>{let t=generateClassNames(e);return(0,r.jsx)("button",{type:e.type,className:t,onClick:e.onClick,disabled:e.disabled,"data-tooltip-id":e["data-tooltip-id"],children:e.children})}},39982:function(e,t,n){"use strict";n.d(t,{W:function(){return Container}});var r=n(52322),s=n(12524),i=n.n(s);let Container=e=>{let{children:t,className:n}=e;return(0,r.jsx)("div",{className:i()("mx-auto w-full max-w-7xl px-4 sm:px-4",n),children:t})}},12559:function(e,t,n){"use strict";n.d(t,{$:function(){return Spinner}});var r=n(52322),s=n(12524),i=n.n(s);let Spinner=e=>{let{className:t,size:n="base"}=e;return(0,r.jsxs)("div",{role:"status",children:[(0,r.jsxs)("svg",{"aria-hidden":"true",className:i()("animate-spin fill-zinc-500 text-zinc-200",{"h-4 w-4":"sm"===n,"h-6 w-6":"base"===n},t),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.
11071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),(0,r.jsx)("span",{className:"sr-only",children:"Loading..."})]})}},14484:function(e,t,n){"use strict";n.d(t,{zx:function(){return r.z},PZ:function(){return CloseButton},W2:function(){return o.W},TR:function(){return Logo},Ex:function(){return Progress},$j:function(){return u.$},Yt:function(){return UserAvatar}});var r=n(99535),s=n(52322),i=n(85116),a=n(12524),l=n.n(a);let generateClassNames=e=>{let{className:t,size:n="base"}=e;return l()("relative flex cursor-pointer items-center justify-center transition-[300ms]",{"min-h-[32px] max-h-[32px] min-w-[32px] max-w-[32px]":"base"===n,"min-h-[20px] max-h-[20px] min-w-[20px] max-w-[20px]":"sm"===n,"rounded-full bg-zinc-900 hover:bg-opacity-80":!(null==t?void 0:t.includes("no-bg")),className:t})},CloseButton=e=>{let{onClick:t,size:n="base",className:r=""}=e,a=generateClassNames({size:n,className:r});return(0,s.jsx)("button",{onClick:t,className:a,children:(0,s.jsx)(i.Z,{className:"text-white ".concat("base"===n?"w-6":"w-4")})})};var o=n(39982);let Logo=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:68,height:19,fill:"none",...e,children:(0,s.jsx)("path",{fill:e.fill||"#000",d:"M7.95 18.144c-1.36 0-2.527-.224-3.503-.672-.976-.448-1.776-1.064-2.4-1.848a7.862 7.862 0 0 1-1.344-2.688A11.823 11.823 0 0 1 .27 9.72V.96h4.68v8.76c0 .56.056 1.096.168 1.608.112.512.288.968.528 1.368.24.4.544.72.912.96.384.224.848.336 1.392.336.56 0 1.032-.112 1.416-.336.384-.24.688-.56.912-.96.24-.416.416-.88.528-1.392.112-.512.168-1.04.168-1.584V.96h4.68v8.76c0 1.184-.16 2.288-.48 3.312-.304 1.024-.768 1.92-1.392 2.688-.624.768-1.424 1.368-2.4 1.8-.96.416-2.104.624-3.432.624ZM18.348 18V.96h7.344c.832 0 1.6.168 2.304.504a5.698 5.698 0 0 1 1.824 1.368c.512.56.904 1.192 1.176 1.896.288.704.432 1.416.432 2.136a5.96 5.96 0 0 1-.72 2.856 5.93 5.93 0 0 1-1.968 2.208c-.832.56-1.808.84-2.928.84h-2.784V18h-4.68Zm4.68-9.312h2.472c.192 0 .376-.056.552-.168.176-.112.32-.304.432-.576.128-.272.192-.632.192-1.08 0-.48-.072-.848-.216-1.104-.128-.272-.296-.456-.504-.552a1.135 1.135 0 0 0-.576-.168h-2.352v3.648ZM33.3 18V.96h11.688v4.08H37.98v2.832h5.712v3.792H37.98V18H33.3Zm13.523 0V.96h4.68V18h-4.68Zm20.89-12.96h-4.896V18h-4.68V5.04h-4.92V.96h14.496v4.08Z"})});var c=n(30195);let Progress=e=>{let{progress:t}=e,n=c.ZP.number().min(0).max(100).parse(t);return(0,s.jsx)("figure",{className:"block h-1 w-full overflow-hidden rounded-full bg-zinc-200",children:(0,s.jsx)("div",{className:"h-full bg-zinc-800",style:{width:"".concat(n,"%")}})})};var u=n(12559),d=n(25675),p=n.n(d);let Avatar=e=>{let{className:t,imageUrl:n,name:r,showStylist:i}=e,a=r?r.substring(0,2):void 0,o=n?(0,s.jsx)(p(),{width:100,height:100,className:"h-full w-full object-cover object-top bg-black rounded-full",src:n,alt:r||"User"}):(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center rounded-full bg-zinc-200",children:(0,s.jsx)("span",{className:"text-sm font-semibold",children:a||"You"})});return(0,s.jsxs)("div",{className:l()("relative inline-block h-8 w-8",t),children:[o,i&&(0,s.jsx)("span",{className:"absolute bottom-0 left-1/2 ml-[1px] block h-3.5 w-10 -translate-x-1/2 rounded-md bg-black text-center text-[9px] font-semibold leading-[9px] text-white ring-2 ring-white",children:"stylist"})]})},UserAvatar=e=>{let{className:t,user:n,showStylist:r=!0}=e;return r=!0===r&&!!n.stylistId,(0,s.jsx)(Avatar,{name:n.name,className:t,imageUrl:n.image,showStylist:r})};n(42553)},11163:function(e,t,n){e.exports=n(24751)},30235:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(s,i){function fulfilled(e){try{step(r.next(e))}catch(e){i(e)}}function rejected(e){try{step(r.throw(e))}catch(e){i(e)}}function step(e){var t;e.done?s(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,s,i,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return i={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function verb(i){return function(l){return function(i){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(s=2&i[0]?r.return:i[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,i[1])).done)return s;switch(r=0,s&&(i=[2&i[0],s.value]),i[0]){case 0:case 1:s=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(s=(s=a.trys).length>0&&s[s.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!s||i[1]>s[0]&&i[1]<s[3])){a.label=i[1];break}if(6===i[0]&&a.label<s[1]){a.label=s[1],s=i;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(i);break}s[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=s=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)0>t.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n};
1Object.defineProperty(t,"__esModule",{value:!0}),t.serialize=t.withSuperJSONPage=t.deserializeProps=t.withSuperJSONInitProps=t.withSuperJSONProps=void 0;var l=n(73463),o=n(2784),c=n(61589);function deserializeProps(e){var t=e._superjson,n=a(e,["_superjson"]);return c.default.deserialize({json:n,meta:t})}t.withSuperJSONProps=function(e,t){return void 0===t&&(t=[]),function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return s(this,void 0,void 0,function(){var s,a,l,o,u,d;return i(this,function(i){switch(i.label){case 0:return[4,e.apply(void 0,n)];case 1:if(!("props"in(s=i.sent()))||!s.props)return[2,s];return a=t.map(function(e){var t=s.props[e];return delete s.props[e],t}),o=(l=c.default.serialize(s.props)).json,u=l.meta,d=o,u&&(d._superjson=u),t.forEach(function(e,t){var n=a[t];void 0!==n&&(d[e]=n)}),[2,r(r({},s),{props:d})]}})})}},t.withSuperJSONInitProps=function(e,t){return void 0===t&&(t=[]),function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return s(this,void 0,void 0,function(){var s,a,l,o,u,d;return i(this,function(i){switch(i.label){case 0:return[4,e.apply(void 0,n)];case 1:return s=i.sent(),a=t.map(function(e){var t=s[e];return delete s[e],t}),o=(l=c.default.serialize(s)).json,u=l.meta,d=o,u&&(d._superjson=u),t.forEach(function(e,t){var n=a[t];void 0!==n&&(d[e]=n)}),[2,r(r({},s),d)]}})})}},t.deserializeProps=deserializeProps,t.withSuperJSONPage=function(e){function WithSuperJSON(t){return o.createElement(e,r({},deserializeProps(t)))}return l(WithSuperJSON,e),WithSuperJSON},t.serialize=function(e){var t=c.default.serialize(e),n=t.json,s=t.meta;return r(r({},n),{_superjson:s})}}},function(e){e.O(0,[7133,8020,9774,2888,179],function(){return e(e.s=7152)}),_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.