PageSourceSearch

https://namedrop.io/_next/static/chunks/420-9ef3fef140550ea4.js

js namedrop.io collected 2026-10-01 11:52:15 UTC 35,867 bytes, 1 lines download raw bytes

1try{let e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="19d7d86f-1769-4e86-a3fc-c53b51702e6d",e._sentryDebugIdIdentifier="sentry-dbid-19d7d86f-1769-4e86-a3fc-c53b51702e6d")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[420],{420:(e,t,r)=>{r.d(t,{x:()=>D});var n=r(85302),a=r(71582),o=r(19702),i=r(68670),s=r(36950),l=r(83774),c=r(2189),d=r(13785),u=r(30857),h=r(47449),m=r(19698),f=r(18016),p=r(10043),x=r(53659),g=r(83896),b=r(52175),v=r(6841),w=r(54562),y=r(45766),k=r(4415),j=r(55238),C=r(75137),N=r(16098),_="group h-auto w-full justify-start gap-3 px-2 py-2.5 text-foreground hover:bg-muted";function S(e){var t,r=e.isDarkTheme,S=void 0!==r&&r,A=e.matchBrandActionStyle,z=void 0!==A&&A,P=e.matchPublicProfileShareTrigger,B=void 0!==P&&P,D=e.matchCyberpunkShareTrigger,L=void 0!==D&&D,H=(0,l.useRouter)(),R=(0,l.usePathname)(),T=(0,p.wV)(),U=T.data,M=T.logout,I=T.isLoggedIn,F=(0,C.i)(function(e){return e.profilePicUrl}),W=null!=U?U:{},E=W.username,O=W.brandUsername,Y=W.email,q=W.picProfile,V=(0,j.Hq)(F,q),Q=E||Y||"User",Z=(0,f.A)("down","md"),J=(0,o._)((0,s.useState)(!1),2),X=J[0],$=J[1],G=E&&R==="/".concat(E);if(!I)return null;var K=(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsx)("div",{className:"pb-5 pr-2 pt-1",children:(0,n.jsxs)("div",{className:"flex flex-row items-center gap-4",children:[(0,n.jsx)(k.A,{src:V,alt:Q,sizePx:48}),(0,n.jsx)("p",{className:"truncate text-sm font-semibold text-foreground",children:Q})]})}),E&&!(G||O&&R==="/brands/".concat(O))&&(0,n.jsxs)(v.Button,{type:"button",variant:"ghost",size:"sm",className:_,onClick:function(){(0,x.A)("Button Clicks","home-Your Profile Page Clicked","Homepage Buttons"),E&&H.push("/".concat(E)),$(!1)},children:[(0,n.jsx)(c.A,{className:"shrink-0 opacity-90 group-hover:opacity-100"}),(0,n.jsx)("span",{children:"Your Profile Page"})]}),!E&&(0,n.jsxs)(v.Button,{type:"button",variant:"ghost",size:"sm",className:_,onClick:function(){(0,x.A)("Button Clicks","home-Complete your onboarding Clicked","Homepage Buttons"),window.open("".concat(g.$h,"/onboarding"),"_blank"),$(!1)},children:[(0,n.jsx)(c.A,{className:"shrink-0 opacity-90 group-hover:opacity-100"}),(0,n.jsx)("span",{children:"Complete your onboarding"})]}),(0,n.jsxs)(v.Button,{type:"button",variant:"ghost",size:"sm",className:_,onClick:function(){(0,x.A)("Button Clicks","home-Dashboard Button Clicked","Homepage Buttons"),window.open("".concat(g.$h,"/dashboard"),"_blank"),$(!1)},children:[(0,n.jsx)(d.A,{className:"shrink-0 opacity-90 group-hover:opacity-100"}),(0,n.jsx)("span",{children:"Dashboard"})]}),(0,n.jsxs)(v.Button,{type:"button",variant:"ghost",size:"sm",className:"h-auto w-full justify-start gap-3 px-2 py-2.5 text-red-600 hover:bg-red-500/10 hover:text-red-700 dark:text-red-400 dark:hover:bg-red-500/15 dark:hover:text-red-300",onClick:function(){return(0,a._)(function(){return(0,i.YH)(this,function(e){switch(e.label){case 0:return(0,x.A)("Button Clicks","home-Logout Button Clicked","Homepage Buttons"),[4,M()];case 1:return e.sent(),$(!1),[2]}})})()},children:[(0,n.jsx)(u.A,{className:"shrink-0"}),(0,n.jsx)("span",{children:"Logout"})]})]}),ee=(0,n.jsx)(m.A,{buttonSx:z?{width:44,height:44}:void 0,avatarSx:z?{width:40,height:40}:void 0,matchPublicProfileShareTrigger:B,matchCyberpunkShareTrigger:L,isDarkTheme:S});return(t=z?(0,y.cn)("flex items-center justify-center transition-colors","h-11 w-11 rounded-full"):L?(0,N.sh)():B?(0,N.Ev)(S):S?(0,y.cn)("flex items-center justify-center transition-colors","h-7 w-7 rounded-lg border border-white/20 bg-zinc-900 text-white hover:bg-zinc-800"):(0,y.cn)("flex items-center justify-center transition-colors","h-7 w-7 rounded-lg border border-black/10 bg-white text-zinc-900 ring-1 ring-black/5 hover:bg-zinc-50"),Z)?(0,n.jsxs)(n.Fragment,{children:[!X&&(0,n.jsx)("button",{type:"button",onClick:function(){return $(!0)},className:t,style:z?{backgroundColor:"#fed5c9",color:"#424242"}:void 0,children:z?(0,n.jsx)(h.A,{size:24,"aria-hidden":!0}):B?(0,n.jsx)(h.A,{className:"h-4 w-4 shrink-0",strokeWidth:2,"aria-hidden":!0}):(0,n.jsx)(h.A,{size:14,"aria-hidden":!0})}),(0,n.jsx)(w.cj,{open:X,onOpenChange:$,children:(0,n.jsx)(w.h,{side:"right",className:(0,y.cn)("homepage-v2-root flex flex-col border-l border-border bg-card/95 py-6 pl-4 pr-10 pt-12 backdrop-blur-md sm:max-w-sm",S?"dark":"profile-auth-sheet--light"),style:{width:b.O6.W_DASHBOARD},children:K})})]}):ee}var A=r(26963),z=r(47978);function P(e){var t=e.url,r=e.username,a=e.isDarkTheme,i=e.className,l=(0,o._)((0,s.use
1State)(!1),2),c=l[0],d=l[1];return t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{type:"button","data-testid":"public-profile-qr",onClick:function(){return d(!0)},"aria-label":"Show profile QR code",className:null!=i?i:(0,N.Ev)(a),children:(0,n.jsx)("span",{className:"rounded-[3px] bg-white p-px",children:(0,n.jsx)(A.X,{value:t,size:16,level:"M",includeMargin:!1,"aria-hidden":!0})})}),(0,n.jsx)(z.c,{open:c,onOpenChange:d,url:t,label:r||"profile",title:"Profile QR code",description:"Share this with someone so they can scan your profile."})]}):null}var B=r(57414);function D(e){var t,r=e.shareUrl,a=e.shareUsername,o=e.shareDisplayName,i=e.shareAvatarUrl,s=e.sharePhonetic,l=e.isDarkTheme,c=e.shareDialogTitle,d=e.shareButtonLabel,u=e.shareEventPageLabel,h=e.shareFooterText,m=e.hideAuthMenu,f=e.hideShareButton,p=e.showProfileQr,x=e.middleActions,g=e.layout,b=void 0===g?"fixed":g,v="cyberpunk-inline"===b,w="absolute"===b,y="inline"===b||v,k=(0,n.jsxs)(n.Fragment,{children:[void 0!==p&&p?(0,n.jsx)(P,{url:r,username:a,isDarkTheme:l,className:v?(0,N.sh)():void 0}):null,void 0!==f&&f?null:(0,n.jsx)(B.A,{profileUrl:r,username:a,displayName:o,avatarUrl:i,phonetic:void 0===s?"":s,isDarkTheme:l,shareDialogTitle:void 0===c?"Share profile":c,shareButtonLabel:void 0===d?"Share profile":d,shareEventPageLabel:void 0===u?"Profile page":u,shareFooterText:h,iconTriggerClassName:v?(0,N.sh)():void 0}),x,void 0!==m&&m?null:(0,n.jsx)(S,{isDarkTheme:l,matchPublicProfileShareTrigger:!v,matchCyberpunkShareTrigger:v})]}),j="fixed right-4 z-40";return y?j="flex shrink-0":w&&(j="absolute right-4 z-40"),y||(t=w?{top:16}:{top:56,transform:"translateY(-50%)"}),(0,n.jsx)("div",{className:j,style:t,children:y?(0,n.jsx)("div",{className:"flex items-center gap-2",children:k}):(0,n.jsx)("div",{className:(0,N.GF)(l),children:k})})}},886:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(71582),a=r(19702),o=r(68670),i=r(67958),s=r(36950);let l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Copied Successfully",r=(0,a._)((0,s.useState)(null),2),l=r[0],c=r[1];return{copiedText:l,copy:function(r){return(0,n._)(function(){return(0,o.YH)(this,function(n){switch(n.label){case 0:if(!navigator.clipboard)return console.warn("Clipboard not supported"),[2,!1];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(r)];case 2:return n.sent(),c(r),e&&i.o.success(t),[2,!0];case 3:return console.warn("Copy failed",n.sent()),e&&i.o.error("Copy failed"),c(null),[2,!1];case 4:return[2]}})})()}}}},4415:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(85302),a=r(70349),o=r(45766);function i(e){var t=e.src,r=e.alt,i=e.sizePx,s=e.className,l=e.ringClassName;return(0,n.jsx)(a.default,{src:t,alt:r,width:i,height:i,unoptimized:!0,className:(0,o.cn)("aspect-square shrink-0 rounded-full object-cover",void 0===l?"ring-2 ring-border":l,s),style:{width:i,height:i}})}},16098:(e,t,r)=>{r.d(t,{Ab:()=>d,Ev:()=>s,GF:()=>p,Ih:()=>c,Z3:()=>f,qN:()=>l,rh:()=>m,sh:()=>h});var n=r(45766),a="focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",o="flex h-7 w-7 shrink-0 items-center justify-center overflow-hidden rounded-lg border p-0";function i(e){return(0,n.cn)("transition-colors",e?"border-black/15 bg-white shadow-sm hover:bg-zinc-100":"border-black/10 bg-white shadow-sm ring-1 ring-black/5 hover:bg-zinc-50")}function s(e){return(0,n.cn)(o,a,i(e),e?"text-zinc-900":"text-primary")}function l(e,t){return(0,n.cn)("flex h-7 shrink-0 items-center justify-center overflow-hidden border p-0",a,i(e),"rounded-full gap-1",t.hasCount?"w-auto px-2":"w-7 px-0",e?"text-zinc-900":"text-primary",t.isLiked&&"text-red-500",t.isLoading&&"cursor-not-allowed opacity-60")}function c(e){return(0,n.cn)(o,a,i(e))}function d(){return"block h-7 w-7 shrink-0 overflow-hidden rounded-lg"}var u="h-[31px]";function h(){return(0,n.cn)("flex w-[31px] shrink-0 items-center justify-center rounded-full border-0 bg-transparent p-0 shadow-none",u,a,"text-[rgba(34,211,238,0.85)] transition-colors hover:bg-white/10 hover:text-[#22d3ee]")}function m(){return(0,n.cn)("flex w-[31px] shrink-0 items-center justify-center overflow-hidden rounded-full border-0 bg-transparent p-0 shadow-none",u,a,"ring-1 ring-[rgba(34,211,238,0.35)] transition-colors hover:ring-[rgba(34,211,238,0.6)]")}function f(){return(0,n.cn)(u,"block w-[31px] shrink-0 overflow-hidden rounded-full")}function p(e){return(0,n.cn)("flex h-[45px] shrink-0 items-center justify-center gap-1.5 rounded-xl border px-2.5 backdrop-blur-xl backdrop-saturate-150",e?"border-white/20 bg-black/25 shadow-[0_2px_10px_rgba(0,0,0,0.22)]":"border-white/50 bg-white/35 shadow-[0_2px_10px_rgba(0,0,0,0.08)]")}},19698:(e,t,r)=>{r.d(t,{A:()=>b});var n=r(71582),a=r(68670),o=r(85302),i=r(83774),s=r(2189),l=r(13785),c=r(30857),d=r(74314),u=r(53659),h=r(83896),m=r(10043),f=r(75137),p=r(55238),x=r(45766),g=r(16098);let b=function(e){var t,r=e.buttonSx,b=e.avatarSx,v=e.matchPublicProfileShareTrigger,w=e.matchCyberpunkShareTrigger,y=e.isDarkTheme,k=e.extraMenuItems,j=(0,i.usePathname)(),C=(0,m.wV)(),N=C.data,_=C.logout,S=(0,f.i)(function(e){return e.profilePicUrl}),A=null!=N?N:{},z=A.username,P=A.brandUsername,B=A.email,D=A.picProfile,L=null!=(t=null!=z?z:B)?t:"User",H=void 0!==v&&v&&null==r&&null==b,R=void 0!==w&&w&&null==r&&null==b,T=(0,i.useRouter)(),U=function(e){window.open(e,"_blank","noopener,noreferrer")}
1,M=(0,p.Hq)(S,D),I="flex shrink-0 translate-y-px items-center justify-center rounded-full p-0 hover:bg-accent/50";R?I=(0,g.rh)():H&&(I=(0,g.Ih)(void 0!==y&&y));var F="block shrink-0 overflow-hidden rounded-full";R?F=(0,g.Z3)():H&&(F=(0,g.Ab)());var W=H||R;return(0,o.jsxs)(d.rI,{onOpenChange:function(e){e&&(0,u.A)("Button Clicks","home-Profile Menu Clicked","Homepage Buttons")},children:[(0,o.jsx)(d.ty,{asChild:!0,children:(0,o.jsx)("button",{type:"button",style:W?void 0:r,className:I,"aria-label":"Open profile menu",children:(0,o.jsx)("span",{className:(0,x.cn)(F,!W&&!b&&"h-7 w-7"),style:W?void 0:b,children:(0,o.jsx)("img",{src:M,alt:L,className:"block h-full w-full object-cover"})})})}),(0,o.jsxs)(d.SQ,{align:"end",sideOffset:8,className:"homepage-v2-root z-50 w-56",children:[(0,o.jsx)(d.lp,{className:"font-normal",children:(0,o.jsx)("p",{className:"truncate text-sm font-medium",children:L})}),(0,o.jsx)(d.mB,{}),z&&!(z&&j==="/".concat(z)||P&&j==="/brands/".concat(P))?(0,o.jsxs)(d._2,{onClick:function(){(0,u.A)("Button Clicks","home-Your Profile Page Clicked","Homepage Buttons"),z&&T.push("/".concat(z))},className:"cursor-pointer",children:[(0,o.jsx)(s.A,{className:"h-4 w-4",strokeWidth:2}),"Your Profile Page"]}):null,z?null:(0,o.jsxs)(d._2,{onClick:function(){(0,u.A)("Button Clicks","home-Complete your onboarding Clicked","Homepage Buttons"),window.open("".concat(h.$h,"/onboarding"),"_blank")},className:"cursor-pointer",children:[(0,o.jsx)(s.A,{className:"h-4 w-4",strokeWidth:2}),"Complete your onboarding"]}),(0,o.jsxs)(d._2,{onClick:function(){(0,u.A)("Button Clicks","home-Dashboard Button Clicked","Homepage Buttons"),window.open("".concat(h.$h,"/dashboard"),"_blank")},className:"cursor-pointer",children:[(0,o.jsx)(l.A,{className:"h-4 w-4",strokeWidth:2}),"Dashboard"]}),(void 0===k?[]:k).map(function(e){return(0,o.jsxs)(d._2,{onClick:function(){return U(e.href)},className:"cursor-pointer",children:[(0,o.jsx)(e.icon,{className:"h-4 w-4",strokeWidth:2}),e.label]},e.href)}),(0,o.jsxs)(d._2,{onClick:function(){return(0,n._)(function(){return(0,a.YH)(this,function(e){switch(e.label){case 0:return(0,u.A)("Button Clicks","home-Logout Button Clicked","Homepage Buttons"),[4,_()];case 1:return e.sent(),[2]}})})()},className:"cursor-pointer font-medium text-red-600 focus:bg-red-500/10 focus:text-red-600 dark:text-red-400 dark:focus:bg-red-500/10 dark:focus:text-red-400",children:[(0,o.jsx)(c.A,{className:"h-4 w-4",strokeWidth:2}),"Logout"]})]})]})}},47978:(e,t,r)=>{r.d(t,{c:()=>f});var n=r(71582),a=r(68670),o=r(85302),i=r(36950),s=r(26963),l=r(84715),c=r(42634),d=r
1(81721),u=r(6841),h=r(67958),m=r(54643);function f(e){var t=e.open,r=e.onOpenChange,f=e.url,p=e.label,x=e.title,g=e.description,b=(0,i.useRef)(null),v=(0,m.jc)().translate,w=function(){var e,t;return null!=(e=null==(t=b.current)?void 0:t.querySelector("canvas"))?e:null};return(0,o.jsx)(d.Dialog,{open:t,onOpenChange:r,children:(0,o.jsxs)(d.DialogContent,{"data-testid":"qr-code-modal",className:"homepage-v2-root sm:max-w-sm border-border bg-card text-card-foreground",portalClassName:"z-[2100]",children:[(0,o.jsxs)(d.c7,{children:[(0,o.jsx)(d.L3,{children:null!=x?x:v("dashboardHome.myLink.qrModal.title")}),(0,o.jsx)(d.rr,{children:null!=g?g:v("dashboardHome.myLink.qrModal.description")})]}),(0,o.jsxs)("div",{className:"flex flex-col items-center gap-4 py-2",children:[(0,o.jsx)("div",{ref:b,className:"rounded-xl bg-white p-4 shadow-sm border border-border",children:(0,o.jsx)(s.X,{value:f,size:240,level:"M",includeMargin:!1})}),(0,o.jsx)("p",{className:"text-center font-mono text-xs text-muted-foreground break-all",children:f}),(0,o.jsxs)("div",{className:"flex w-full gap-2",children:[(0,o.jsxs)(u.Button,{type:"button",variant:"outline",className:"flex-1 border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground [&_svg]:text-foreground",onClick:function(){return(0,n._)(function(){var e,t,r;return(0,a.YH)(this,function(n){switch(n.label){case 0:if(!(e=w()))return[2];n.label=1;case 1:return n.trys.push([1,4,,6]),[4,new Promise(function(t){return e.toBlob(t,"image/png")})];case 2:if(!(r=n.sent()))throw Error("Failed to render QR code");if("u"<typeof ClipboardItem||!(null==(t=navigator.clipboard)?void 0:t.write))throw Error("Clipboard image copy unsupported");return[4,navigator.clipboard.write([new ClipboardItem({"image/png":r})])];case 3:return n.sent(),h.o.success(v("dashboardHome.myLink.qrModal.copied")),[3,6];case 4:return n.sent(),[4,navigator.clipboard.writeText(f)];case 5:return n.sent(),h.o.success(v("dashboardHome.myLink.linkCopied")),[3,6];case 6:return[2]}})})()},children:[(0,o.jsx)(l.A,{className:"mr-2 h-4 w-4 shrink-0"}),v("dashboardHome.myLink.qrModal.copy")]}),(0,o.jsxs)(u.Button,{type:"button",className:"flex-1 bg-coral hover:bg-coral-dark text-white",onClick:function(){var e=w();if(e){var t=document.createElement("a");t.download="namedrop-".concat(null!=p?p:"profile",".png"),t.href=e.toDataURL("image/png"),t.click(),h.o.success(v("dashboardHome.myLink.qrModal.downloaded"))}},children:[(0,o.jsx)(c.A,{className:"w-4 h-4 mr-2"}),v("dashboardHome.myLink.qrModal.download")]})]})]})]})})}},54562:(e,t,r)=>{r.d(t,{Fm:()=>v,Qs:()=>k,XW:()=>w,YP:()=>x,cj:()=>f,h:()=>b,qp:()=>y,yd:()=>p});var n=r(35955),a=r(27974),o=r(71335),i=r(19702),s=r(90487),l=r(85302),c=r(47118),d=r(1220),u=r(22706),h=r(36950),m=r(45766),f=c.bL;c.l9,c.bm;var p=c.ZL,x=h.forwardRef(function(e,t){var r=(0,s._)([e,t]),d=r[0],u=r.slice(1),h=d.className,f=(0,o._)(d,["className"]),p=(0,i._)(u,1)[0];return(0,l.jsx)(c.hJ,(0,a._)((0,n._)({className:(0,m.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",h)},f),{ref:p}))});x.displayName=c.hJ.displayName;var g=(0,d.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),b=h.forwardRef(function(e,t){var r=(0,s._)([e,t]),d=r[0],h=r.slice(1),f=d.side,b=d.className,v=d.children,w=(0,o._)(d,["side","className","children"]),y=(0,i._)(h,1)[0];return(0,l.jsxs)(p,{children:[(0,l.jsx)(x,{}),(0,l.jsxs)(c.UC,(0,a._)((0,n._)({ref:y,className:(0,m.cn)(g({side:void 0===f?"right":f}),b)},w),{children:[v,(0,l.jsxs)(c.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 outline-none ring-0 ring-offset-0 transition-opacity hover:bg-muted/60 hover:opacity-100 focus:outline-none focus-visible:outline-none disabled:pointer-events-none",children:[(0,l.jsx)(u.A,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]}))]})});b.displayName=c.UC.displayName;var v=function(e){var t=e.className,r=(0,o._)(e,["className"]);return(0,l.jsx)("div",(0,n._)({className:(0,m.cn)("flex flex-col space-y-2 text-center sm:text-left",t)},r))};v.displayName="SheetHeader";var w=function(e){var t=e.className,r=(0,o._)(e,["className"]);return(0,l.jsx)("div",(0,n._)({className:(0,m.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t)},r))};w.displayName="SheetFooter";var y=h.forwardRef(function(e,t){var r=(0,s._)([e,t]),a=r[0],d=r.slice(1),u=a.className,h=(0,o._)(a,["className"]),f=(0,i._)(d,1)[0];return(0,l.jsx)(c.hE,(0,n._)({ref:f,className:(0,m.cn)("text-lg font-semibold text-foreground",u)},h))});y.displayName=c.hE.displayName;var k=h.forwardRef(function(e,t){var r=(0,s._)([e,t]),a=r[0],d=r.slice(1),u=a.className,h=(0,o._)(a,["className"]),f=(0,i._)(d,1
1)[0];return(0,l.jsx)(c.VY,(0,n._)({ref:f,className:(0,m.cn)("text-sm text-muted-foreground",u)},h))});k.displayName=c.VY.displayName},57414:(e,t,r)=>{r.d(t,{A:()=>S});var n=r(71582),a=r(19702),o=r(68670),i=r(85302),s=r(36950),l=r(4997),c=r(14233),d=r(96241),u="#1e293b",h="#00b2e3";function m(e,t){return e?e.length<=t?e:"".concat(e.slice(0,t-1),"…"):""}function f(){return(0,i.jsxs)("div",{style:{width:44,height:44,borderRadius:22,background:"#e2e8f0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",gap:3,flexShrink:0},children:[(0,i.jsx)("div",{style:{width:6,height:14,borderRadius:3,background:h}}),(0,i.jsx)("div",{style:{width:6,height:22,borderRadius:3,background:h}}),(0,i.jsx)("div",{style:{width:6,height:18,borderRadius:3,background:h}}),(0,i.jsx)("div",{style:{width:6,height:12,borderRadius:3,background:h}})]})}function p(e){var t,r,n,a=e.displayName,o=e.phonetic,s=e.avatarDataUrl,l=m(a,36),c=m(o,60),d=c.length>0;return(0,i.jsx)("div",{style:{width:1200,height:630,background:"#f3f4f6",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:24},children:[(0,i.jsx)("div",{style:{width:160,height:160,borderRadius:80,border:"4px solid white",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",background:"#e2e8f0",flexShrink:0,boxShadow:"0 4px 20px rgba(0,0,0,0.06)"},children:s?(0,i.jsx)("img",{src:s,width:160,height:160,alt:"",style:{objectFit:"cover",width:"100%",height:"100%"}}):(0,i.jsx)("span",{style:{color:u,fontSize:52,fontWeight:700,fontFamily:"Public Sans"},children:0===(n=a.trim().split(/\s+/).filter(Boolean)).length?"N":1===n.length?n[0].slice(0,2).toUpperCase():"".concat(null!=(t=n[0][0])?t:"").concat(null!=(r=n[n.length-1][0])?r:"").toUpperCase()})}),(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:10},children:[(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",gap:14},children:[(0,i.jsx)("span",{style:{color:u,fontSize:52,fontWeight:700,lineHeight:1.15,fontFamily:"Public Sans"},children:l}),(0,i.jsx)(f,{})]}),d?(0,i.jsx)("span",{style:{color:"#64748b",fontSize:28,fontWeight:500,lineHeight:1.3,fontFamily:"Public Sans"},children:c}):null]})]})})}function x(e){var t=e.displayName,r=e.phonetic,n=e.avatarUrl,o=(0,s.useRef)(null),l=(0,a._)((0,s.useState)(.3),2),c=l[0],d=l[1];return(0,s.useLayoutEffect)(function(){var e=o.current;if(e){var t=function(){var t=e.clientWidth;t>0&&d(t/1200)};t();var r=new ResizeObserver(t);return r.observe(e),function(){return r.disconnect()}}},[]),(0,i.jsx)("div",{ref:o,className:"w-full overflow-hidden rounded-2xl ring-1 ring-border/40",style:{aspectRatio:"".concat(1200," / ").concat(630)},children:(0,i.jsx)("div",{style:{width:1200*c,height:630*c},children:(0,i.jsx)("div",{style:{transform:"scale(".concat(c,")"),transformOrigin:"top left",width:1200,height:630},children:(0,i.jsx)(p,{displayName:t,phonetic:void 0===r?"":r,avatarDataUrl:void 0===n?null:n})})})})}var g=r(81721),b=r(67958),v=r(61241),w=r(84223),y=r(47978),k=r(886),j=r(53659),C=r(16098),N=["namesmatter","namepronunciation"],_="Loving my NameDrop profile page from @namedropio! Checkout how to say my name correctly";function S(e){var t=e.profileUrl,r=e.username,u=e.displayName,h=e.avatarUrl,m=e.phonetic,f=e.isDarkTheme,p=e.shareDialogTitle,S=e.shareButtonLabel,A=e.shareEventPageLabel,z=void 0===A?"Profile page":A,P=e.shareFooterText,B=e.iconTriggerClassName,D=(0,a._)((0,s.useState)(!1),2),L=D[0],H=D[1],R=(0,a._)((0,s.useState)(!1),2),T=R[0],U=R[1],M=(0,k.A)().copy,I=(0,s.useMemo)(function(){return(0,w.Jh)({pageUrl:t,message:_,hashtags:N})},[t]),F="u">typeof navigator&&"function"==typeof navigator.share,W="flex w-[4.5rem] shrink-0 snap-start flex-col items-center gap-2 rounded-xl px-1 py-1 transition-transform active:scale-[0.97]";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{type:"button",onClick:function(){H(!0),(0,j.A)("Button Clicks","home-Public Profile Share Opened",z)},"aria-haspopup":"dialog","aria-label":void 0===S?"Share profile":S,className:null!=B?B:(0,C.Ev)(f),children:(0,i.jsx)(l.A,{className:"h-4 w-4 shrink-0",strokeWidth:2,"aria-hidden":!0})}),(0,i.jsx)(g.Dialog,{open:L,onOpenChange:H,children:(0,i.jsxs)(g.DialogContent,{portalClassName:"z-[2100]",className:"w-full min-w-0 max-w-md gap-0 overflow-x-hidden overflow-y-visible rounded-3xl border-0 bg-card p-0 shadow-2xl sm:rounded-3xl",children:[(0,i.jsxs)("div",{className:"border-b border-border/60 px-6 pb-4 pr-14 pt-6 text-center",children:[(0,i.jsx)(g.L3,{className:"text-balance text-center text-lg font-bold tracking-tight text-foreground",children:void 0===p?"Share profile":p}),(0,i.jsx)("p",{className:"mt-1.5 text-balance text-xs text-muted-foreground",children:"Share link, QR, or social"})]}),(0,i.jsx)("div",{className:"min-w-0 px-5 pt-5",children:(0,i.jsx)(x,{displayName:u,phonetic:void 0===m?"":m,avatarUrl:h||null})}),(0,i.jsx)("div",{className:"relative min-w-0 px-0 pb-2 pt-5",children:(0,i.jsxs)("div",{className:"flex min-h-0 min-w-0 gap-2 overflow-x-auto overflow-y-visible px-4 pb-3 pt-1 [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden snap-x snap-mandatory",role:"list",children:[(0,i.jsxs)("div",{className:W,role:"listitem",children:[(0,i.jsx)("button",{type:"button",onClick:function(){M(t),b.o.success("Link copied"),(0,j.A)("Button Clicks","home-Public Profile Share Copy Link",z)},className:"flex h-12 w-12 items-center justify-center rounded-full bg-zinc-100 text-zinc-800 shadow-sm ring-1 ring-zinc-900/5 transition hover:bg-white","aria-label":"Copy profile link",children:(0,i.jsx)(c.A,{className:"h-5 w-5",strokeWidth:2})}),(0,i.jsx)("span",{className:"max-w-[4.5rem] text-center text-[10px] font-medium leading-tight text-muted-foreground",children:"Copy link"})]}),(0,i.jsxs)("div",{className:W,role:"listitem",children:[(0,i.jsx)("button",{type:"button",onClick:function(){U(!0),(0,j.A)("Button Clicks","home-Public Profile Share QR Open",z)},className:"flex h-12 w-12 items-center justify-center rounded-full bg-zinc-100 text-zinc-800 shadow-sm ring-1 ring-zinc-900/5 transition hover:bg-white","aria-label":"Show QR code",children:(0,i.jsx)(d.A,{className:"h-5 w-5",strokeWidth:2})}),(0,i.jsx)("span",{className:"max-w-[4.5rem] text-center text-[10px] font-medium leading-tight text-muted-foreground",children:"QR code"})]}),F?(0,i.jsxs)("div",{className:W,role:"listitem",children:[(0,i.jsx)("button",{type:"button",onClick:function(){return(0,n._)(function(){return(0,o.YH)(this,function(e){switch(e.label){case 0:if(!F)return[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,navigator.share({title:u,text:_,url:t})];case 2:return e.sent(),(0,j.A)("Button Clicks","home-Public Profile Native Share",z),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}})})()},className:"flex h-12 w-12 items-center justify-center rounded-full bg-zinc-100 text-zinc-800 shadow-sm ring-1 ring-zinc-900/5 transition hover:bg-white","aria-label":"Share using device",children:(0,i.jsx)(l.A,{className:"h-5 w-5",strokeWidth:2})}),(0,i.jsx)("span",{className:"max-w-[4.5rem] text-center text-[10px] font-medium leading-tight text-muted-foreground",children:"More"})]}):null,I.map(function(e){return(0,i.jsxs)("div",{className:W,role:"listitem",children:[(0,i.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:function(){return(0,j.A)("Button Clicks","home-Public Profile Share ".concat(e.id),z)},className:"flex h-12 w-12 items-center justify-center rounded-full text-white shadow-md transition hover:opacity-95",
1style:{backgroundColor:w.YU[e.id]},"aria-label":e.label,children:(0,i.jsx)(v.u,{name:e.id,size:22,title:e.label})}),(0,i.jsx)("span",{className:"max-w-[4.5rem] text-center text-[10px] font-medium leading-tight text-muted-foreground",children:e.label.replace(" (Twitter)","")})]},e.id)})]})}),(0,i.jsx)("div",{className:"border-t border-border/70 px-6 pb-6 pt-4",children:(0,i.jsx)("p",{className:"text-balance text-center text-[11px] leading-relaxed text-muted-foreground",children:void 0===P?"Anyone with this link can view your public NameDrop profile.":P})})]})}),(0,i.jsx)(y.c,{open:T,onOpenChange:U,url:t,label:r,title:"".concat(u," — QR code"),description:"Share this with someone so they can scan your profile."})]})}},61241:(e,t,r)=>{r.d(t,{u:()=>s});var n=r(85302),a=r(45766),o={sm:32,md:40,lg:50},i={facebook:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z",twitter:"M 41.116 18.375 h 4.962 l -10.8405 12.39 l 12.753 16.86 H 38.005 l -7.821 -10.2255 L 21.235 47.625 H 16.27 l 11.595 -13.2525 L 15.631 18.375 H 25.87 l 7.0695 9.3465 z m -1.7415 26.28 h 2.7495 L 24.376 21.189 H 21.4255 z",telegram:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957",whatsapp:"m42.32286,33.93287c-0.5178,-0.2589 -3.04726,-1.49644 -3.52105,-1.66732c-0.4712,-0.17346 -0.81554,-0.2589 -1.15987,0.2589c-0.34175,0.51004 -1.33075,1.66474 -1.63108,2.00648c-0.30032,0.33658 -0.60064,0.36247 -1.11327,
10.12945c-0.5178,-0.2589 -2.17994,-0.80259 -4.14759,-2.56312c-1.53269,-1.37217 -2.56312,-3.05503 -2.86603,-3.57283c-0.30033,-0.5178 -0.03366,-0.80259 0.22524,-1.06149c0.23301,-0.23301 0.5178,-0.59547 0.7767,-0.90616c0.25372,-0.31068 0.33657,-0.5178 0.51262,-0.85437c0.17088,-0.36246 0.08544,-0.64725 -0.04402,-0.90615c-0.12945,-0.2589 -1.15987,-2.79613 -1.58964,-3.80584c-0.41424,-1.00971 -0.84142,-0.88027 -1.15987,-0.88027c-0.29773,-0.02588 -0.64208,-0.02588 -0.98382,-0.02588c-0.34693,0 -0.90616,0.12945 -1.37736,0.62136c-0.4712,0.5178 -1.80194,1.76053 -1.80194,4.27186c0,2.51134 1.84596,4.945 2.10227,5.30747c0.2589,0.33657 3.63497,5.51458 8.80262,7.74113c1.23237,0.5178 2.1903,0.82848 2.94111,1.08738c1.23237,0.38836 2.35599,0.33657 3.24402,0.20712c0.99159,-0.15534 3.04985,-1.24272 3.47963,-2.45956c0.44013,-1.21683 0.44013,-2.22654 0.31068,-2.45955c-0.12945,-0.23301 -0.46601,-0.36247 -0.98382,-0.59548m-9.40068,12.84407l-0.02589,0c-3.05503,0 -6.08417,-0.82849 -8.72495,-2.38189l-0.62136,-0.37023l-6.47252,1.68286l1.73463,-6.29129l-0.41424,-0.64725c-1.70875,-2.71846 -2.6149,-5.85116 -2.6149,-9.07706c0,-9.39809 7.68934,-17.06155 17.15993,-17.06155c4.58253,0 8.88029,1.78642 12.11655,5.02268c3.23625,3.21036 5.02267,7.50812 5.02267,12.06476c-0.0078,9.3981 -7.69712,17.06155 -17.14699,17.06155m14.58906,-31.58846c-3.93529,-3.80584 -9.1133,-5.95471 -14.62789,-5.95471c-11.36055,0 -20.60848,9.2065 -20.61625,20.52564c0,3.61684 0.94757,7.14565 2.75211,10.26282l-2.92557,10.63564l10.93337,-2.85309c3.0136,1.63108 6.4052,2.4958 9.85634,2.49839l0.01037,0c11.36574,0 20.61884,-9.2091 20.62403,-20.53082c0,-5.48093 -2.14111,-10.64081 -6.03239,-14.51915",linkedin:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z",reddit:"M 53.34375 32 C 53.277344 30.160156 52.136719 28.53125 50.429688 27.839844 C 48.722656 27.148438 46.769531 27.523438 45.441406 28.800781 C 41.800781 26.324219 37.519531 24.957031 33.121094 24.863281 L 35.199219 14.878906 L 42.046875 16.320312 C 42.214844 17.882812 43.496094 19.09375 45.066406 19.171875 C 46.636719 19.253906 48.03125 18.183594 48.359375 16.644531 C 48.6875 15.105469 47.847656 13.558594 46.382812 12.992188 C 44.914062 12.425781 43.253906 13.007812 42.464844 14.367188 L 34.625 12.800781 C 34.363281 12.742188 34.09375 12.792969 33.871094 12.9375 C 33.648438 13.082031 33.492188 13.308594 33.441406 13.566406 L 31.070312 24.671875 C 26.617188 24.738281 22.277344 26.105469 18.59375 28.609375 C 17.242188 27.339844 15.273438 26.988281 13.570312 27.707031 C 11.863281 28.429688 10.746094 30.089844 10.71875 31.941406 C 10.691406 33.789062 11.757812 35.484375 13.441406 36.257812 C 13.402344 36.726562 13.402344 37.195312 13.441406 37.664062 C 13.441406 44.832031 21.792969 50.65625 32.097656 50.65625 C 42.398438 50.65625 50.753906 44.832031 50.753906 37.664062 C 50.789062 37.195312 50.789062 36.726562 50.753906 36.257812 C 52.363281 35.453125 53.371094 33.800781 53.34375 32 Z M 21.34375 35.199219 C 21.34375 33.433594 22.777344 32 24.542969 32 C 26.3125 32 27.742188 33.433594 27.742188 35.199219 C 27.742188 36.96875 26.3125 38.398438 24.542969 38.398438 C 22.777344 38.398438 21.34375 36.96875 21.34375 35.199219 Z M 39.9375 44 C 37.664062 45.710938 34.871094 46.582031 32.03125 46.464844 C 29.191406 46.582031 26.398438 45.710938 24.128906 44 C 23.847656 43.65625 23.871094 43.15625 24.183594 42.839844 C 24.5 42.527344 25 42.503906 25.34375 42.785156 C 27.269531 44.195312 29.617188 44.90625 32 44.800781 C 34.386719 44.929688 36.746094 44.242188 38.6875 42.847656 C 39.042969 42.503906 39.605469 42.511719 39.953125 42.863281 C 40.296875 43.21875 40.289062 43.785156 39.9375 44.128906 Z M 39.359375 38.527344 C 37.59375 38.527344 36.160156 37.09375 36.160156 35.328125 C 36.160156 33.5625 37.59375 32.128906 39.359375 32.128906 C 41.128906 32.128906 42.558594 33.5625 42.558594 35.328125 C 42.59375 36.203125 42.269531 37.054688 41.65625 37.6875 C 41.046875 38.316406 40.203125 38.664062 39.328125 38.65625 Z M 39.359375 38.527344",tumblr:"M39.2,41c-0.6,0.3-1.6,0.5-2.4,0.5c-2.4,0.1-2.9-1.7-2.9-3v-9.3h6v-4.5h-6V17c0,0-4.3,0-4.4,0 c-0.1,0-0.2,0.1-0.2,0.2c-0.3,2.3-1.4,6.4-5.9,8.1v3.9h3V39c0,3.4,2.5,8.1,9,8c2.2,0,4.7-1,5.2-1.8L39.2,41z"};function s(e){var t=e.name,r=e.size,s=void 0===r?"md":r,l=e.className,c=e.title,d="number"==typeof s?s:o[s],u=i[t];
1return(0,n.jsxs)("svg",{"aria-hidden":!0,className:(0,a.cn)("shrink-0",l),width:d,height:d,viewBox:"0 0 64 64",children:[(0,n.jsx)("title",{className:"sr-only",children:c}),(0,n.jsx)("path",{d:u,fill:"currentColor"})]})}},84223:(e,t,r)=>{r.d(t,{Jh:()=>i,YU:()=>o});var n={facebook:"Facebook",twitter:"X (Twitter)",telegram:"Telegram",whatsapp:"WhatsApp",linkedin:"LinkedIn",reddit:"Reddit",tumblr:"Tumblr"},a=["facebook","twitter","telegram","whatsapp","linkedin","reddit","tumblr"],o={facebook:"#1877F2",twitter:"#000000",telegram:"#0088cc",whatsapp:"#25D366",linkedin:"#0A66C2",reddit:"#FF4500",tumblr:"#36465D"};function i(e){var t=e.pageUrl,r=e.message,o=e.hashtags;if(!t)return[];var i=o.map(function(e){return e.replace(/^#/,"")}).filter(Boolean).join(",");return a.map(function(e){return{id:e,label:n[e],href:function(e,t,r,n){var a,o=encodeURIComponent(t),i=(a=n.split(",").map(function(e){return e.trim()}).filter(Boolean)).length?a.map(function(e){return e.startsWith("#")?e:"#".concat(e)}).join(" "):"",s=[r,t,i||void 0].filter(function(e){return e&&String(e).length>0}).join("\n\n");if("facebook"===e)return"https://www.facebook.com/sharer/sharer.php?u=".concat(o);if("twitter"===e){var l=new URLSearchParams;return l.set("text",[r,t,i||void 0].filter(Boolean).join(" ").trim()),n&&l.set("hashtags",n),"https://twitter.com/intent/tweet?".concat(l.toString())}return"linkedin"===e?"https://www.linkedin.com/sharing/share-offsite/?url=".concat(o):"whatsapp"===e?"https://api.whatsapp.com/send?text=".concat(encodeURIComponent(s)):"telegram"===e?"https://t.me/share/url?url=".concat(o,"&text=").concat(encodeURIComponent(r)):"reddit"===e?"https://www.reddit.com/submit?url=".concat(o,"&title=").concat(encodeURIComponent(r)):"tumblr"===e?"https://www.tumblr.com/share/link?url=".concat(o,"&name=").concat(encodeURIComponent(r),"&description=").concat(encodeURIComponent(r)):t}(e,t,r,i)}})}}}]);

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.