!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c7143b04-dfe1-4330-9275-071dc70510d1",e._sentryDebugIdIdentifier="sentry-dbid-c7143b04-dfe1-4330-9275-071dc70510d1")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4095,2934,6212,64417],{4666:function(e,t,n){"use strict";n.r(t);var r,i=n(4410);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 6"},e),r||(r=i.createElement("path",{fill:"currentColor",d:"M6.854.866 3.992 3.728 1.13.866a.667.667 0 0 0-.943.943L3.52 5.14c.26.26.683.26.943 0l3.333-3.33a.667.667 0 1 0-.942-.944"})))}},22088:function(e,t,n){"use strict";var r,i=n(4410);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12"},e),r||(r=i.createElement("path",{fillRule:"evenodd",d:"m6 4.586 4.24-4.24a1 1 0 1 1 1.416 1.413L7.413 6l4.24 4.24a1 1 0 1 1-1.413 1.416L6 7.413l-4.24 4.24A1 1 0 1 1 .344 10.24L4.587 6 .347 1.76A1 1 0 1 1 1.757.343z"})))}},24405:function(e,t,n){"use strict";var r,i=n(4410);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,viewBox:"0 0 40 40"},e),r||(r=i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{fill:"#FF6154",d:"M40 20c0 11.046-8.954 20-20 20S0 31.046 0 20 8.954 0 20 0s20 8.954 20 20"}),i.createElement("path",{fill:"#FFF",d:"M22.667 20H17v-6h5.667a3 3 0 0 1 0 6m0-10H13v20h4v-6h5.667a7 7 0 1 0 0-14"}))))}},89562:function(e,t,n){"use strict";var r,i,o=n(4410);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",stroke:"#76B5B5",strokeWidth:1.5,viewBox:"0 0 24 24"},e),r||(r=o.createElement("g",{strokeLinecap:"round",strokeLinejoin:"round",clipPath:"url(#MegaphoneIcon_svg__a)"},o.createElement("path",{d:"M14.25 7.5v11.313a.75.75 0 0 0 .334.623l1.031.687a.75.75 0 0 0 1.144-.442L18 15"}),o.createElement("path",{d:"M3 18.75a.75.75 0 0 0 1.233.574C9.145 15.203 14.25 15 14.25 15H18a3.75 3.75 0 0 0 0-7.5h-3.75S9.145 7.298 4.233 3.177A.75.75 0 0 0 3 3.75z"}))),i||(i=o.createElement("defs",null,o.createElement("clipPath",{id:"MegaphoneIcon_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))}},69158:function(e,t,n){"use strict";var r,i=n(4410);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16"},e),r||(r=i.createElement("path",{fill:"#4B587C",d:"M7 14c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7M7 2C4.243 2 2 4.243 2 7s2.243 5 5 5 5-2.243 5-5-2.243-5-5-5m8.707 12.293L13.314 11.9a8 8 0 0 1-1.414 1.414l2.393 2.393a.997.997 0 0 0 1.414 0 1 1 0 0 0 0-1.414",opacity:.5})))}},86159:function(e,t,n){"use strict";var r,i,o=n(4410);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),r||(r=o.createElement("g",{clipPath:"url(#Sparkle_svg__a)"},o.createElement("path",{fill:"#fff",d:"m12.4 8.063-3.262-1.2-1.2-3.263a1 1 0 0 0-1.875 0l-1.2 3.262-3.263 1.2a1 1 0 0 0 0 1.876l3.263 1.2 1.2 3.262a1 1 0 0 0 1.875 0l1.2-3.263 3.262-1.2a1 1 0 0 0 0-1.874M8.794 10.2a1 1 0 0 0-.594.594L7 14.056l-1.2-3.262a1 1 0 0 0-.594-.594L1.944 9l3.262-1.2a1 1 0 0 0 .594-.594L7 3.944l1.2 3.262a1 1 0 0 0 .594.594L12.056 9zM9 2.5a.5.5 0 0 1 .5-.5h1V1a.5.5 0 0 1 1 0v1h1a.5.5 0 0 1 0 1h-1v1a.5.5 0 0 1-1 0V3h-1a.5.5 0 0 1-.5-.5m6.5 3a.5.5 0 0 1-.5.5h-.5v.5a.5.5 0 0 1-1 0V6H13a.5.5 0 1 1 0-1h.5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 .5.5"}))),i||(i=o.createElement("defs",null,o.createElement("clipPath",{id:"Sparkle_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h16v16H0z"})))))}},95214:function(e,t,n){Promise.resolve().then(n.bind(n,64879))},59865:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2265);function i(e){let{className:t}=e;return r.useEffect(()=>(document.body.classList.add(t),()=>document.body.classList.remove(t)),[t]),null}},24109:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(57437);n(2265);var i=n(98120),o=n(56800),a=n.n(o),l=n(8855),s=n.n(l),c=n(58342);function u(e){let{className:t,children:n,disabled:o=!1,requireLogin:l=!1,requireEmailVerification:u,confirm:d,to:f,mutation:m,input:h,onMutate:p,onMutateError:v,optimisticResponse:g,update:k,updateQueries:x,refetchQueries:y,"data-test":w,"aria-label":b,trackingComponent:j,target:_,trackingData:N,onMouseDown:S,onPointerEnter:E,onPointerLeave:C,type:P="button",rel:F,onClick:Z,preventDefault:O}=e,L=(0,c.Z)({disabled:o,confirm:d,requireLogin:l,requireEmailVerification:u,mutation:m,input:h,onMutate:p,onMutateError:v,optimisticResponse:g,update:k,updateQueries:x,refetchQueries:y,onClick:Z,trackingComponent:j,trackingData:N,preventDefault:O}),M=f?i.default:"button";return(0,r.jsx)(M,{disabled:o,to:f,type:f?void 0:P,target:_,"data-test":w,"aria-label":b,className:a()(s().reset,t),onMouseDown:S,onPointerEnter:E,onPointerLeave:C,onClick:L,rel:F,children:n})}u.Primary=function(e){let{title:t,className:n,active:i=!1,fillWidth:o=!1,...l}=e;return(0,r.jsx)(u,{...l,className:a()(s().button,s().primary,i&&s().active,o&&s().fillWidth,n),children:t})},u.Secondary=function(e){let{title:t,className:n,active:i=!1,fillWidth:o=!1,...l}=e;return(0,r.jsx)(u,{...l,className:a()(s().button,s().secondary,i&&s().active,o&&s().full,n),children:t})},u.Small=function(e){let{title:t,className:n,active:i=!1,...o}=e;return(0,r.jsx)(u,{...o,className:a()(s().button,s().small,i&&s().active,n),children:t})},u.Full=function(e){let{title:t,className:n,active:i=!1,...o}=e;return(0,r.jsx)(u,{...o,className:a()(s().button,s().full,i&&s().active,n),children:t})},u.Blank=function(e){let{children:t,className:n,...i}=e;return(0,r.jsx)(u,{...i,className:a()(s().blank,n),children:t})}},79226:function(e,t,n){"use strict";n.r(t),n.d(t,{Desktop:function(){return s},Phone:function(){return i},PhoneOrTablet:function(){return o},Tablet:function(){return a},TabletOrDesktop:function(){return l}});var r=n(76236);function i(e){return c((0,r.ZP)()===r.Ak.PHONE,e)}function o(e){let t=(0,r.ZP)();return c(t===r.Ak.PHONE||t===r.Ak.TABLET,e)}function a(e){return c((0,r.ZP)()===r.Ak.TABLET,e)}function l(e){let t=(0,r.ZP)();return c(t===r.Ak.TABLET||t===r.Ak.DESKTOP,e)}function s(e){return c((0,r.ZP)()===r.Ak.DESKTOP,e)}function c(e,t){let{children:n}=t;return"function"==typeof n?n(e):e?n:null}},46142:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(57437),i=n(50570),o=n(97563),a=n(2265),l=n(26194),s=n.n(l),c=n(56800),u=n.n(c);function d(e){let{className:t,uuid:n,src:i,width:a,height:l,autoplay:c=!0,preload:d=!1,style:f,bg:m,"aria-label":h,onPointerEnter:p,onPointerLeave:v,onClick:g}=e,k={fm:"webp",width:a,height:l,fit:"max",frame:1,dpr:2,bg:m},x=i?(0,o.e4)(i,k):(0,o.sQ)(n,k),y={fm:"webm",width:a,height:l,fit:"max",bg:m},w=i?(0,o.qD)({src:i,...y}):(0,o.xy)({uuid:n,...y}),b={fm:"mp4",width:a,height:l,fit:"max",bg:m},j=i?(0,o.qD)({src:i,...b}):(0,o.xy)({uuid:n,...b});return(0,r.jsxs)("video",{style:f,className:u()(t,s().video),"aria-label":h,width:a,height:l,poster:x,controls:!1,muted:!0,loop:!0,autoPlay:c,disableRemotePlayback:!0,disablePictureInPicture:!0,playsInline:!0,onClick:g,preload:d?"auto":"none",onPointerLeave:v,onPointerEnter:p,children:[(0,r.jsx)("source",{src:"".concat(j,"#t=0.001"),type:"video/mp4"}),(0,r.jsx)("source",{src:"".concat(w,"#t=0.001"),type:"video/webm"})]})}var f=n(98273),m=n(7449),h=n.n(m);function p(e){let{srcUrl:t,srcUrlSet:n}=e;return(0,r.jsx)(h(),{children:(0,r.jsx)("link",{rel:"preload",as:"image",href:n?void 0:t,imageSrcSet:n},"__phimg-"+t+n)})}var v=a.memo(function(e){let{uuid:t,width:n,height:a,className:l,lazy:s=!0,autoplayGif:c=!1,preload:u,responsive:m=!1,style:h,src:v,fill:g,fit:k="max",alt:x,dataTest:y,onClick:w,cdnPath:b,onPointerEnter:j,onPointerLeave:_}=e;m&&(h={...h||{},width:"100%",height:"auto"}),null===x&&(x=void 0);let N=h||(n||a?{width:n,height:a}:{});if((0,o.sY)(v||t))return(0,r.jsx)(d,{onClick:w,className:l,style:N,uuid:t,src:v,width:n||void 0,height:a||void 0,autoplay:c,preload:u,"aria-label":x,onPointerEnter:j,onPointerLeave:_});!b||t||v||(v=i.Z.cdn(b));let S={uuid:t,src:v,width:n,height:a,fit:k,fill:g},{srcUrl:E,srcUrlSet:C}=(0,f.m)(S);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("img",{loading:s?"lazy":"eager",srcSet:C,src:E,style:N,alt:x,className:l,"data-test":y,onClick:w,onPointerEnter:j,onPointerLeave:_}),u&&(0,r.jsx)(p,{srcUrl:E,srcUrlSet:C})]})})},98273:function(e,t,n){"use strict";n.d(t,{$:function(){return i},m:function(){return o}});var r=n(97563);function i(e){let{uuid:t,src:n,width:i,height:o,fit:a,fill:l,fm:s,fillColor:c,blur:u,frame:d}=e;if(!n&&!t)return;let f={width:i,height:o,fit:a,fill:l,fillColor:c,fm:s,blur:u,frame:d};return n?(0,r.e4)(n,f):(0,r.sQ)(t,f)}function o(e){let{uuid:t,src:n,width:i,height:o,fit:a,fill:l,fm:s,fillColor:c,frame:u}=e,d={width:i,height:o,fit:a,fill:l,fm:s,fillColor:c,frame:u};if(!n&&!t)return{};let f=n?(0,r.e4)(n,d):(0,r.sQ)(t,d);return{srcUrl:f,srcUrlSet:"".concat(f,"&dpr=1 1x, ").concat(f,"&dpr=2 2x, ").concat(f,"&dpr=3 3x")}}},32915:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r,i=n(57437);n(2265);var o=n(56800),a=n.n(o),l=n(58607),s=n(28486),c=n(80237),u=n(82192),d=n(4410);function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var m=function(e){return d.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12"},e),r||(r=d.createElement("g",{fill:"none",fillRule:"evenodd"},d.createElement("circle",{cx:6,cy:6,r:5.75,fill:"#EC984C",stroke:"#BB6829",strokeWidth:.5}),d.createElement("path",{fill:"#5B2C08",d:"M4.82 3.712v2.035l2.1-2.407q.15-.173.258-.257A.45.45 0 0 1 7.46 3a.495.495 0 0 1 .516.511q0 .258-.24.51L6.433 5.376l1.5 2.36q.157.243.237.428.08.184.08.358 0 .195-.14.338a.5.5 0 0 1-.374.14.6.6 0 0 1-.364-.105.9.9 0 0 1-.237-.28L6.96 8.3 5.696 6.16l-.876.922v1.2q0 .363-.15.54A.49.49 0 0 1 4.28 9a.53.53 0 0 1-.458-.293.8.8 0 0 1-.06-.257 6 6 0 0 1-.012-.424V3.712q0-.356.142-.534A.47.47 0 0 1 4.28 3q.24.001.39.176.15.176.15.536"}))))},h=n(68113),p=n.n(h);function v(e){let{badge:t,className:n,withText:r=!1}=e;if(!t||[c.t4.PLAIN,c.t4.BALLOON].includes(t.kind)&&!r)return null;let o=(0,u.Z)(t.score,"points"),d=g[t.kind];return(0,i.jsx)("div",{className:a()("inline-flex items-center gap-2",n),children:r?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m,{className:d}),(0,i.jsx)(s.Z,{as:"span",fontSize:14,color:"light-gray",children:o})]}):(0,i.jsx)(l.default,{title:o,children:(0,i.jsx)(m,{className:d})})})}let g={PLAIN:null,BRONZE:p().bronze,SILVER:p().silver,GOLD:p().gold,BALLOON:null}},16471:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(57437);n(2265);var i=n(240),o=n.n(i);function a(e){let{children:t}=e;return(0,r.jsx)("div",{className:o().screenReader,children:t})}},41521:function(e,t,n){"use strict";let r=(0,n(57818).default)(()=>n.e(85865).then(n.bind(n,85865)),{loadableGenerated:{webpack:()=>[85865]}});t.Z=r},64417:function(e,t,n){"use strict";n.d(t,{default:function(){return x}});var r=n(57437),i=n(2265),o=n(28486),a=n(50570),l=n(51266),s=n(26033),c=n.n(s),u=n(24109),d=n(46142);function f(e){let{name:t,image:n}=e;return(0,r.jsxs)("div",{className:"flex flex-row items-center",children:[(0,r.jsx)(d.Z,{className:c().image,src:n}),(0,r.jsx)(o.Z,{fontSize:24,color:"white",fontWeight:"bold",children:t})]})}var m=n(56800),h=n.n(m),p=n(37559),v=n.n(p);function g(e){let{children:t,className:n,component:r,image:o,variant:a,...l}=e,s=function(e){let{image:t,variant:n}=e;if(!t)return;let r="url(".concat(t,")");return"gradient"===n?{backgroundImage:"linear-gradient(to bottom, rgba(0, 0, 0, .4), rgba(0, 0, 0, .6)), ".concat(r)}:{backgroundImage:r}}({image:o,variant:a||"default"});return i.createElement(r||"div",{className:h()(v().backgroundImage,n),style:s,...l},t)}var k=n(79226);function x(e){let{code:t=500,bodyText:n=null}=e,{headline:s,description:d}=y[t]||y[500],m=401===t?a.Z.cdn("error-page-401.jpg"):w[Math.floor(Math.random()*w.length)],[h,p]=i.useState(m);return(l.yG||l.Y8)&&n?(0,r.jsx)("div",{className:c().devError,children:(0,r.jsx)("pre",{children:n})}):(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:c().container,children:[(0,r.jsx)("div",{className:c().box,children:(0,r.jsxs)("div",{className:"flex flex-col items-start gap-2",children:[(0,r.jsx)(o.Z,{as:"h2",fontSize:12,color:"light-gray",children:t}),(0,r.jsx)(o.Z,{as:"h1",className:c().headline,fontWeight:"semibold",children:s}),(0,r.jsx)(o.Z,{as:"p",children:d}),(0,r.jsxs)("div",{className:"flex flex-row justify-start",children:[500===t?(0,r.jsx)(u.Z.Primary,{className:c().button,title:"Check updates on @producthunt",to:a.Z.social.twitter()}):(0,r.jsx)(u.Z.Primary,{className:c().button,title:"Go to the homepage",to:a.Z.root()}),401!==t&&(0,r.jsx)(u.Z.Secondary,{className:c().button,title:"\uD83D\uDE38 Show me more pets",onClick:()=>p(function(e){let t=w.indexOf(e)+1;return w[t>=w.length?0:t]}(h))})]})]})}),(0,r.jsx)(g,{image:h,className:c().background,children:401===t&&(0,r.jsx)(k.Desktop,{children:(0,r.jsx)("div",{className:c().credit,children:(0,r.jsx)(f,{name:"Tasos Mansour",image:a.Z.cdn("error-page-credit-tasos.jpg")})})})})]})})}let y={500:{headline:"Oops, something went wrong on our end",description:"Please try again shortly, our team is working to resolve the issue! You can always check the Product Hunt social for more updates."},404:{headline:"We seem to have lost this page",description:"Please accept these adorable photos of our PH team's furry friend as our humble apology for the inconvenience. Let's get you back to the homepage"},401:{headline:"You don't have access to this page",description:"Sorry but you don't have permission to view this page."}},w=[a.Z.cdn("error-page-ashley.jpg"),a.Z.cdn("error-page-emily.jpg"),a.Z.cdn("error-page-jacq.jpg"),a.Z.cdn("error-page-julie.jpg"),a.Z.cdn("error-page-richard.jpg")]},98534:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(57437);n(2265);var i=n(30440),o=n(71883),a=n(28486);function l(e){let{cRef:t,component:n,subjectId:l,subjectType:s,meta:c,onClick:u,...d}=e,f=(0,o.m)(),m=n||a.Z.Link;return(0,r.jsx)(m,{ref:t,...d,onClick:e=>{e.stopPropagation(),null==u||u(e),f({subjectId:l,subjectType:s,interestSource:null==c?void 0:c.source}),(0,i.ob)({meta:c,subject_id:l,subject_type:s})}})}},48483:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(57437);n(2265);var i=n(56800),o=n.n(i),a=n(24109),l=n(28486),s=n(26242);let c={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UserFollowCreate"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UserFollowCreateInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"response"},name:{kind:"Name",value:"userFollowCreate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButtonFragment"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"UserFollowButtonFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"followersCount"}},{kind:"Field",name:{kind:"Name",value:"isFollowed"}}]}}]},u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UserFollowDestroy"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UserFollowDestroyInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"response"},name:{kind:"Name",value:"userFollowDestroy"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButtonFragment"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"UserFollowButtonFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"followersCount"}},{kind:"Field",name:{kind:"Name",value:"isFollowed"}}]}}]};var d=n(49732),f=n.n(d),m=n(30440),h=n(70846);let p={primary:a.Z.Primary,secondary:a.Z.Secondary,blank:a.Z.Blank};function v(e){let{user:t,component:n,buttonType:i="secondary",className:d}=e,{isHovered:v,...g}=(0,h.Z)(),k=(0,s.Z)();if((null==k?void 0:k.id)===t.id)return null;let x=p[i]||a.Z.Secondary,y=e=>{e&&n&&(0,m.cC)({source:n})},w=t.isFollowed?v?"Unfollow":"Following":"Follow";return(0,r.jsx)(x,{title:w,"data-test":"follow-button",active:t.isFollowed,requireLogin:"Follow",className:o()(d,{[f().activeUserFollowButton]:t.isFollowed&&"blank"!==i}),preventDefault:!0,mutation:t.isFollowed?u:c,onMutate:e=>{e&&y(e.isFollowed)},optimisticResponse:{__typename:"Mutation",response:{__typename:t.isFollowed?"UserFollowDestroyPayload":"UserFollowCreatePayload",node:{__typename:t.__typename,id:t.id,isFollowed:!t.isFollowed,followersCount:t.followersCount+(t.isFollowed?-1:1)}}},input:{userId:t.id,sourceComponent:t.isFollowed?void 0:n},trackingComponent:"UserFollowButton",...g,children:"blank"===i&&(0,r.jsx)(l.Z,{fontSize:12,color:v||!t.isFollowed?"coral":"light-gray",children:w})})}},59301:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(57437);n(2265);var i=n(56800),o=n.n(i),a=n(59725),l=n.n(a),s=n(79079);function c(e){let{children:t,content:n,delay:i,triggerClassName:o}=e;return(0,r.jsx)(s.Z,{trigger:t,triggerClassName:o,contentClassName:l().popper,content:n,delay:i})}var u=n(55579),d=n(90195),f=n.n(d),m=n(50570),h=n(28486),p=n(9572),v=n(86749),g=n(48483),k=n(82192);let x={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UserHoverCardQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"username"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"user"},arguments:[{kind:"Argument",name:{kind:"Name",value:"username"},value:{kind:"Variable",name:{kind:"Name",value:"username"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"headline"}},{kind:"Field",name:{kind:"Name",value:"isViewer"}},{kind:"FragmentSpread",name:{kind:"Name",value:"KarmaBadgeFragment"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserImage"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserFollowButtonFragment"}},{kind:"FragmentSpread",name:{kind:"Name",value:"UserStackPreviewFragment"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"KarmaBadgeItemFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"KarmaBadge"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"Field",name:{kind:"Name",value:"score"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ProductThumbnailFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Product"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"logoUuid"}},{kind:"Field",name:{kind:"Name",value:"isNoLongerOnline"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"KarmaBadgeFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"karmaBadge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"KarmaBadgeItemFragment"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"UserImage"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"avatarUrl"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"UserFollowButtonFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"followersCount"}},{kind:"Field",name:{kind:"Name",value:"isFollowed"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"UserStackPreviewFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"User"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"stacksCount"}},{kind:"Field",name:{kind:"Name",value:"stacks"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"3"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"product"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"FragmentSpread",name:{kind:"Name",value:"ProductThumbnailFragment"}}]}}]}}]}}]}}]}}]};var y=n(78854),w=n(32915);function b(e){let{user:{username:t},roles:n=[],followTrackComponent:i}=e,{loading:a,data:s}=(0,u.aM)(x,{variables:{username:t}}),c=null==s?void 0:s.user;return a||!c?(0,r.jsx)("div",{className:o()(l().loader,"flex flex-row"),children:(0,r.jsx)(p.Z,{})}):(0,r.jsxs)("div",{className:o()(l().container,"flex flex-col"),"data-test":"user-hover-card-".concat(c.id),children:[(0,r.jsxs)("div",{className:"flex flex-row items-center gap-3",children:[(0,r.jsx)(v.Z,{size:32,user:c,showCard:!1,isLink:!0}),(0,r.jsx)(h.Z.Link,{fontWeight:"semibold",to:m.Z.users.show(c),children:c.name})]}),c.headline&&(0,r.jsx)(h.Z,{fontSize:14,color:"light-gray",children:c.headline}),c.karmaBadge&&(0,r.jsx)(w.Z,{badge:c.karmaBadge,withText:!0}),(0,y.A)(c)&&(0,r.jsx)("div",{className:"mt-2 flex flex-row",children:(0,r.jsx)(y.Z,{user:c})}),(0,r.jsxs)("div",{className:o()(l().bottomSection,"mt-3 flex flex-row items-center gap-2 pt-2"),children:[n.length>0&&(0,r.jsx)("div",{className:"flex flex-row gap-1",children:n.map(e=>(0,r.jsx)(h.Z,{fontSize:12,fontWeight:"semibold",className:o()(l().role,function(e){switch(e){case"hunter":return l().hunterRole;case"maker":return l().makerRole;case"commenter":return l().commenterRole;case"upvoter":return l().upvoterRole}}(e)),children:f()(e)},e))}),(0,r.jsx)(h.Z,{fontSize:12,color:"light-gray",children:(0,k.Z)(c.followersCount,"Follower")}),!c.isViewer&&(0,r.jsx)("div",{className:"flex flex-1 flex-row items-center justify-end",children:(0,r.jsx)(g.Z,{className:l().followButton,user:c,component:i})})]})]})}function j(e){let{user:t,className:n,children:i,roles:a=[],inline:s=!1,followTrackComponent:u}=e;return t?(0,r.jsx)(c,{content:(0,r.jsx)(b,{user:t,roles:a,followTrackComponent:u}),delay:300,triggerClassName:o()(n,s&&l().inline),children:i}):null}},86749:function(e,t,n){"use strict";var r=n(57437),i=n(2265),o=n(46142),a=n(98120),l=n(50570),s=n(63843),c=n(5771),u=n(59301),d=n(56800),f=n.n(d);function m(e){let{user:t,size:n=30,autoplayGif:i,className:a}=e;return(0,r.jsx)(o.Z,{"data-test":"userImage",className:f()("rounded-full",a),onPointerEnter:c.H,onPointerLeave:c.l,fit:"crop",src:null==t?void 0:t.avatarUrl,alt:t?t.name:"",height:n,width:n,cdnPath:(null==t?void 0:t.avatarUrl)?void 0:"guest-user-avatar.png",autoplayGif:i})}function h(e){let{user:t,followTrackComponent:n,showCard:i,children:o}=e;return t&&i?(0,r.jsx)(u.Z,{user:t,followTrackComponent:n,children:o}):(0,r.jsx)(r.Fragment,{children:o})}function p(e){let{children:t,user:n,className:i,isLink:o}=e;return n&&o?(0,r.jsx)(a.default,{"data-test":"user-image-link-".concat(n.id),"aria-label":n.name,to:l.Z.users.show(n),className:i,onClick:s.E,children:t}):(0,r.jsx)(r.Fragment,{children:t})}t.Z=i.memo(function(e){let{user:t,className:n,size:i=30,isLink:o=!1,showCard:a=!0,followTrackComponent:l="user_card",autoplayGif:s=!1}=e,c=o&&t;return(0,r.jsx)(h,{user:t,followTrackComponent:l,showCard:a,children:(0,r.jsx)(p,{isLink:o,user:t,className:c?n:void 0,children:(0,r.jsx)(m,{className:c?void 0:n,user:t,size:i,autoplayGif:s})})})})},78854:function(e,t,n){"use strict";n.d(t,{A:function(){return h},Z:function(){return m}});var r=n(57437);n(2265);var i=n(28486),o=n(98120),a=n(77637),l=n(50570),s=n(85667),c=n(99411),u=n.n(c),d=n(58638),f=n.n(d);function m(e){let{user:t}=e;if(!h(t))return null;let n=t.stacksCount-3;return(0,r.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,r.jsx)("div",{className:"flex flex-row",children:(0,s.UI)(t.stacks,(e,t)=>(0,r.jsx)(o.default,{className:t%2==1?f().odd:f().even,to:l.Z.products.show(e.product),children:(0,r.jsx)(a.Z,{size:24,product:e.product})},e.id))}),n>0&&(0,r.jsxs)(i.Z.Link,{to:l.Z.users.stacks(t),fontSize:14,color:"light-gray",hover:"blue",children:["+",n," stacked ",u()("product",n)]})]})}function h(e){return!(0,s.xb)(e.stacks)&&(0,s.kE)(e.stacks)>=3}},89540:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return d},q:function(){return u}});var i=n(2265),o=n(48527),a=n.n(o),l=n(55304);let s=Symbol();var c={addScrollListener(e){r||(window.addEventListener("scroll",this.emitScrollEvent),window.addEventListener("resize",this.emitScrollEvent),r=(0,l.Z)()),r.on(s,e)},removeScrollListener(e){r.off(s,e)},emitScrollEvent:a()(()=>{null==r||r.emit(s)},10)};let u=c.emitScrollEvent;class d extends i.Component{componentDidMount(){c.addScrollListener(this.handleScroll),this.handleScroll()}componentWillUnmount(){c.removeScrollListener(this.handleScroll)}render(){return null}constructor(...e){super(...e),this.handleScroll=()=>{this.props.onScroll()}}}},66914:function(e,t,n){"use strict";n.d(t,{AppRouter:function(){return a},x:function(){return l}});var r=n(57437),i=n(2265);let o=i.createContext({isAppRouter:!1});function a(e){let{children:t}=e;return(0,r.jsx)(o.Provider,{value:{isAppRouter:!0},children:t})}function l(){return i.useContext(o).isAppRouter}},14499:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2265);function i(){return"https://producthunt.app.link/4kTZRcAFByb"}function o(e){let[t,n]=r.useState(i());return r.useEffect(()=>{n(i()+"?source_view=".concat(e,"&source_path=").concat(window.location.pathname,"&source_page=").concat(function(){if(window)return window.location.pathname.split("/")[1]}()))},[n,e]),t}},76236:function(e,t,n){"use strict";n.d(t,{Ak:function(){return i},Av:function(){return f},Q_:function(){return h},UserAgentProvider:function(){return v},ZP:function(){return u},dD:function(){return d},useIsDesktop:function(){return m}});var r,i,o=n(57437),a=n(2265),l=n(69558),s=n(61752);(r=i||(i={})).PHONE="mobile",r.TABLET="tablet",r.DESKTOP="desktop";let c=a.createContext({provider:"default",value:"desktop"});function u(){let e=a.useContext(p),t=a.useContext(c);return"window"!==t.provider&&e?e:t.value}function d(){return"mobile"===u()}function f(){return"tablet"===u()}function m(){return"desktop"===u()}function h(e){let{children:t}=e,n=(0,l.VG)(),[r,i]=a.useState({provider:n?"viewer":"default",value:n?n.deviceType:"desktop"});function u(){var e;if(null===window.innerWidth)return;let t=(e=window.innerWidth)>=1100?"desktop":e>=760?"tablet":"mobile";t!==r.value&&i({provider:"window",value:t})}return a.useEffect(u,[null==n?void 0:n.deviceType,u]),(0,s.Z)("resize",u),(0,o.jsx)(c.Provider,{value:r,children:t})}let p=a.createContext(null);function v(e){let{userAgent:t,children:n}=e;return(0,o.jsx)(p.Provider,{value:t&&["desktop","tablet","mobile"].includes(t)?t:null,children:n})}},30874:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69558);function i(e){return(0,r.ZP)().features.includes(e)}},66995:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(44406),i=n(77791),o=n(69558),a=n(2265);let l="OPENED_VIA_APP",s=["/golden-kitty-awards"];function c(){var e;let t=(0,o.ZP)(),n=(0,i.default)(),c="iOS"===(e=n.query)["producthunt-platform"]||"Android"===e["producthunt-platform"]||t.ifVisitedFromMobile,[u,d]=(0,a.useState)(c);return(0,a.useEffect)(()=>{null===(0,r.le)(l)?(0,r._2)(l,c):d((0,r.ID)(l)||!1)},[d,c]),u||s.some(e=>n.pathname.startsWith(e))}},77791:function(e,t,n){"use strict";n.d(t,{default:function(){return a}});var r=n(2265),i=n(16463);function o(){return window.location.hash.startsWith("#")?window.location.hash.substring(1):window.location.hash}function a(){let e=(0,i.usePathname)(),t=(0,i.useSearchParams)(),n=function(){let[e,t]=r.useState(o()),n=(0,i.useParams)();return r.useEffect(()=>{t(o())},[n]),e}();return{pathname:e||"",query:t?Object.fromEntries(t):{},search:t&&t.size>0?"?".concat(t.toString()):"",hash:n?"#".concat(n):""}}},58342:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(2265),i=n(69558),o=n(15462),a=n(79576),l=n(85667),s=n(30440),c=n(71883);function u(e){let t=(0,c.m)(),n=r.useRef(null),o=(0,i.ZP)(),a=!!o.id,l=o.emailVerified;return n.current={...e,isLoggedIn:a,isEmailVerified:l,isLoading:!1,isMounted:!0,trackInterest:t},r.useEffect(()=>(n.current.isMounted=!0,()=>{n.current.isMounted=!1}),[n]),r.useCallback(e=>d(e,n.current),[n])}async function d(e,t){var n,r,i;if(t.preventDefault&&e.preventDefault(),!t.confirm||window.confirm(t.confirm)){if(null===(n=t.onClick)||void 0===n||n.call(t,e),t.disabled||t.isLoading)return;if(t.requireLogin&&!t.isLoggedIn)return(0,o.Z)("string"==typeof t.requireLogin?{reason:t.requireLogin,trackingComponent:t.trackingComponent||"useOnClick"}:{trackingComponent:t.trackingComponent||"useOnClick"});if(t.requireEmailVerification&&!t.isEmailVerified)return(0,a.Z)({reason:t.requireEmailVerification});if(t.trackingData){let{meta:e}=t.trackingData,{trackInterest:n}=t;!t.trackingComponent||(null==e?void 0:e.component)||(t.trackingData.meta={...null!=e?e:{},component:t.trackingComponent}),(0,s.ob)(t.trackingData),n(t.trackingData)}if(t.mutation){let e=await window.apolloClient.mutate({mutation:t.mutation,variables:{input:t.input,...t.variables||{}},update:t.update,optimisticResponse:t.optimisticResponse,updateQueries:t.updateQueries,refetchQueries:t.refetchQueries}),n=(0,l.FU)(null==e?void 0:e.data);n.length>0?null===(r=t.onMutateError)||void 0===r||r.call(t,n):null===(i=t.onMutate)||void 0===i||i.call(t,(0,l.dS)(null==e?void 0:e.data)),t.isMounted&&(t.isLoading=!1)}}}},22823:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2265);function i(){r.useEffect(()=>{let e=window.scrollY;return document.documentElement.classList.add("no-scroll"),document.body.classList.add("no-scroll"),()=>{document.documentElement.classList.remove("no-scroll"),document.body.classList.remove("no-scroll"),window.scrollTo(0,e)}},[])}},2461:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var r=n(30874),i=n(99411),o=n.n(i),a=n(76287),l=n.n(a);function s(){return new c((0,r.Z)("ph_rename_topics_to_trends")?"trend":"topic")}class c{get pluralized(){return new c(o()(this.value))}get capitalized(){return new c(l()(this.value))}toString(){return this.value}constructor(e){this.value=e}}},26242:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(69558);function i(){return(0,r.ZP)().user}},86702:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},w:function(){return d}});var r=n(57437),i=n(2265),o=n(56800),a=n.n(o),l=n(67954),s=n.n(l),c=n(77791);function u(e){let{onChange:t,isOpen:n}=e;return(0,r.jsxs)("div",{onClick:()=>t(!n),className:a()(s().hamburger,n&&s().open),children:[(0,r.jsx)("div",{className:s().hamburgerTop}),(0,r.jsx)("div",{className:s().hamburgerMiddle}),(0,r.jsx)("div",{className:s().hamburgerBottom})]})}function d(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[t,n]=i.useState(e),{pathname:r,search:o,hash:a}=(0,c.default)();return i.useEffect(()=>{if(t)return()=>{n(!1)}},[n,t,r,o,a]),i.useEffect(()=>{window.document.body.style.overflow=t?"hidden":"unset"},[t]),[t,n]}},79348:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(57437);n(2265);var i=n(57401),o=n.n(i);function a(){return(0,r.jsx)("div",{className:o().separator})}},64879:function(e,t,n){"use strict";n.d(t,{default:function(){return nA}});var r,i,o,a,l,s,c,u,d,f,m,h,p,v,g,k,x,y,w,b,j,_,N,S,E,C,P,F,Z,O,L=n(57437),M=n(39342);function D(){let{value:e}=(0,M.j)();if(e)return(0,L.jsx)("div",{className:"fixed inset-x-0 top-0 z-50 flex h-0.5 w-full items-start",children:(0,L.jsx)("div",{className:"h-full bg-coral transition-all",style:{width:"".concat(e,"%")}})})}var z=n(2265),T=n(51266),U=n(30440),A=n(69558);let R=!1,I={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ViewerPushTokenRegister"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"token"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"response"},name:{kind:"Name",value:"viewerPushTokenRegister"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"browserPushToken"},value:{kind:"Variable",name:{kind:"Name",value:"token"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientMutationId"}}]}}]}}]};var B=n(75694);let H=!1;function V(){let[e]=(0,B.D)(I);return z.useEffect(()=>{if(T.mO){var t;t=t=>{t&&e({variables:{token:t}})},!T.jU||T.Y8||!T.nC||R||"https:"!==window.location.protocol||(window.OneSignal=window.OneSignal||[],window.OneSignal.push(()=>{if(!window.OneSignal.isPushNotificationsSupported)return;let e=T.Lr?{cors:!0,"notification.displayed":T.Lr,"notification.clicked":T.Lr,"notification.dismissed":T.Lr}:{};window.OneSignal.push(["init",{appId:T.nC,safari_web_id:"web.com.producthunt.site",persistNotification:!1,autoRegister:!1,webhooks:e,welcomeNotification:{title:"Welcome \uD83D\uDE4C\uD83C\uDF89",message:"Thanks for subscribing!"}}]),window.OneSignal.on("permissionPromptDisplay",()=>{(0,U.nV)({action:"displayed"})}),window.OneSignal.on("notificationPermissionChange",e=>{let t=e.to;"denied"===t?(0,U.nV)({action:"rejected"}):"granted"===t?(0,U.nV)({action:"subscribed"}):"default"===t&&(0,U.nV)({action:"closed"})}),window.OneSignal.push(()=>{window.OneSignal.isPushNotificationsEnabled(e=>{if(window.OneSignal.getExternalUserId().then(e=>{if(!e){let e=(0,A._v)(window.apolloClient);e.id&&window.OneSignal.setExternalUserId(e.id)}}),e)return window.OneSignal.getUserId(t);window.OneSignal.once("subscriptionChange",e=>{e&&window.OneSignal.getUserId(t)})}),window.OneSignal.registerForPushNotifications()})}),R=!0),H||(setTimeout(()=>{let e=document.createElement("script");e.type="text/javascript",e.src="https://cdn.onesignal.com/sdks/OneSignalSDK.js",e.defer=!0,document.getElementsByTagName("head")[0].appendChild(e)},4e3),H=!0)}},[e]),null}var W=n(57818);let q=(0,W.default)(()=>Promise.all([n.e(94810),n.e(18020),n.e(1164),n.e(59074)]).then(n.bind(n,59074)),{loadableGenerated:{webpack:()=>[59074]},ssr:!1});function G(){let e=(0,A.VG)(),[t,n]=z.useState(!1);return(z.useEffect(()=>{null!==e&&n(e.showCookiePolicy)},[e]),t)?(0,L.jsx)(q,{isVisible:t,setIsVisible:n}):null}var Y=n(59865),K=n(22088),Q=n(97478),X=n.n(Q),J=n(19984),$=n(89540),ee=n(56800),et=n.n(ee),en=n(92705),er=n(64864),ei=n(76236),eo=n(22823);function ea(){var e;let t=(0,en.X9)(),n=(0,ei.useIsDesktop)(),{close:r}=function(e){let t=z.useRef(null),n=z.useCallback(()=>{var n;e&&(t&&t.current?t.current():(0,J.Mr)(),null===(n=e.onClose)||void 0===n||n.call(e))},[e,t]);return(0,er.w)("Escape",n),{close:n}}(t);if(z.useEffect(()=>{let e=window.document.querySelector('[data-modal-container="modal"]');e&&(e.scrollTop=0)},[t]),!t)return null;let i=null===(e=t.background)||void 0===e||e;return(0,L.jsxs)(L.Fragment,{children:[!n&&(0,L.jsx)(el,{}),(0,L.jsxs)("div",{className:et()(X().overlay,"overlay fixed inset-0 z-30 overflow-auto bg-black/70",!i&&"z-70"),"data-test":"modal","data-modal-container":"modal",onMouseDown:e=>{(e.target.getAttribute("data-modal-container")||e.target.getAttribute("data-modal-background"))&&r()},onScroll:$.q,children:[(0,L.jsx)(Y.Z,{className:"no-scroll"}),(0,L.jsx)("a",{className:"group absolute left-0 top-3 z-40 flex size-3 cursor-pointer flex-row items-center rounded-r-3xl bg-black/70 p-3 shadow-md sm:left-6 sm:rounded-full sm:bg-white","data-test":"modal-close",onClick:r,title:"Close",children:(0,L.jsx)(K.Z,{className:"fill-white transition-colors group-hover:fill-coral sm:fill-black"})}),i?(0,L.jsx)("div",{className:et()({[X().contentCenter]:"center"===t.mobilePosition},"mb-10 mt-16 flex justify-center"),"data-modal-background":!0,children:(0,L.jsx)("div",{className:et()("box-border min-w-0 max-w-6xl overflow-hidden rounded bg-white p-2 shadow-sm sm:p-8",t.backgroundClassName,t.withoutPadding&&"!p-0"),children:t.content})}):t.content]})]})}function el(){return(0,eo.Z)(),null}var es=n(46577),ec=n.n(es),eu=n(59274),ed=n(64019);function ef(){let[e,t]=z.useState(null),n=z.useCallback(()=>t(null),[t]);return((0,eu.v)("NoticeOpen",t),e)?(0,L.jsxs)("div",{"data-test":"header-notice-".concat(e.type),className:et()(ec().notice,ec()[e.type],"box-border flex flex-row items-center justify-center"),children:[(0,L.jsx)(em,{close:n,timeout:e.timeout}),e.message,(0,L.jsx)(K.Z,{"data-test":"header-notice-close",className:ec().close,onClick:n})]}):null}function em(e){let{close:t,timeout:n=5e3}=e;return(0,ed.P1)(t,[t],n),null}var eh=n(78639),ep=n.n(eh),ev=n(48527),eg=n.n(ev);let ek=e=>{let{top:t,left:n,bottom:r,right:i,height:o,width:a}=e;return{top:t,left:n,bottom:r,right:i,height:o,width:a}},ex=[function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.left+n.width/2-t.width/2,top:n.bottom+r}},function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.right-t.width,top:n.bottom+r}},function(e){let{targetBounds:t,spacing:n}=e;return{left:t.left,top:t.bottom+n}},function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.left+n.width/2-t.width/2,top:n.top-r-t.height}},function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.right-t.width,top:n.top-r-t.height}},function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.left,top:n.top-r-t.height}},function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.left-t.width-r,top:n.top+n.height/2-t.height/2}},function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.right+r,top:n.top+n.height/2-t.height/2}},function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.left-t.width-r,top:n.top}},function(e){let{targetBounds:t,spacing:n}=e;return{left:t.right+n,top:t.top}},function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.left-t.width-r,top:n.top-t.height+n.height}},function(e){let{popoverBounds:t,targetBounds:n,spacing:r}=e;return{left:n.right+r,top:n.top-t.height+n.height}}];var ey=n(49242),ew=n(61752);function eb(){let e=function(){let[e,t]=z.useState(null),n=z.useMemo(()=>({open(n){e&&e.target===n.target&&e.content===n.content||t(n)},toggle(n){e&&(e.target===n.target||e.content===n.content)?t(null):t(n)},close(){t(null)},handleUrlChange(){t(null)}}),[e,t]);return(0,ew.Z)("popstate",n.handleUrlChange),(0,eu.v)("PopoverOpen",n.open),(0,eu.v)("PopoverToggle",n.toggle),(0,eu.v)("PopoverClose",n.close),(0,eu.v)("ModalOpen",n.close),(0,eu.v)("ModalClose",n.close),e}();return e?(0,L.jsx)(ej,{popover:e}):null}class ej extends z.PureComponent{componentDidMount(){if(this.reposition(),document.addEventListener("click",this.onClick),window.addEventListener("resize",this.reposition),this.scrollTarget.addEventListener("scroll",ey.iC),!T.Y8){var e,t,n,r;null===(e=this.popoverRef)||void 0===e||e.addEventListener("pointerenter",this.onPointerEnter),null===(t=this.popoverRef)||void 0===t||t.addEventListener("pointerleave",this.onPointerLeave),null===(n=this.props.popover.target)||void 0===n||n.addEventListener("pointerenter",this.onPointerEnter),null===(r=this.props.popover.target)||void 0===r||r.addEventListener("pointerleave",this.onPointerLeave)}}componentWillUnmount(){var e,t,n,r;document.removeEventListener("click",this.onClick),window.removeEventListener("resize",this.reposition),this.scrollTarget.removeEventListener("scroll",ey.iC),null===(e=this.popoverRef)||void 0===e||e.removeEventListener("pointerenter",this.onPointerEnter),null===(t=this.popoverRef)||void 0===t||t.removeEventListener("pointerleave",this.onPointerLeave),null===(n=this.props.popover)||void 0===n||n.target.removeEventListener("pointerenter",this.onPointerEnter),null===(r=this.props.popover)||void 0===r||r.target.removeEventListener("pointerleave",this.onPointerLeave)}componentDidUpdate(e){e.popover!==this.props.popover&&this.reposition()}render(){return(0,L.jsx)(e_,{style:this.state,ref:this.setPopoverRef,children:this.props.popover.content})}constructor(...e){super(...e),this.popoverRef=null,this.state={left:0,top:0},this.setPopoverRef=e=>{this.popoverRef=e},this.scrollTarget=document.querySelector('[data-test="modal"]')||window,this.reposition=eg()(()=>{this.popoverRef&&this.setState(function(e,t){let n=window.innerWidth+window.pageXOffset,r=window.innerHeight+window.pageYOffset,i=ek(e.getBoundingClientRect()),o=ek(t.getBoundingClientRect()),a=ek(document.body.getBoundingClientRect());o.top-=a.top,o.bottom-=a.top,o.left-=a.left,o.right-=a.left;let l={popoverBounds:i,targetBounds:o,viewportBottom:r,viewportRight:n,spacing:12};return(ex.find(e=>{let{left:t,top:n}=e(l),{popoverBounds:r,viewportRight:i,viewportBottom:o,spacing:a}=l;return!(t<0)&&!(n<0)&&!(t+r.width+a>i)&&!(n+r.height+a>o)})||ex[0])(l)}(this.popoverRef,this.props.popover.target))},100),this.onClick=e=>{let t=this.props.popover.target;!(!t||!t.parentNode||t.contains(e.target))&&(this.popoverRef&&this.popoverRef.contains(e.target)||(0,ey.iC)())},this.isHovered=!0,this.onPointerLeave=()=>{this.isHovered=!1,setTimeout(()=>{this.isHovered||(0,ey.iC)()},2e3)},this.onPointerEnter=()=>{this.isHovered=!0}}}let e_=z.forwardRef((e,t)=>{let{children:n,style:r}=e;return(0,L.jsx)("div",{className:ep().popover,ref:t,"data-test":"popover",style:r,children:n})});var eN=n(77791),eS=n(15508);let eE=(0,W.default)(()=>Promise.all([n.e(18020),n.e(97038)]).then(n.bind(n,97038)),{loadableGenerated:{webpack:()=>[97038]}}),eC=["/my/duplicate-account","/my/confirm","/my/welcome"];function eP(){let{pathname:e}=(0,eN.default)(),{id:t,notice:n,flashAlert:r}=(0,A.ZP)();return(function(e){let[t,n]=z.useState(e);z.useEffect(()=>{t&&((0,eS.L)({message:t,type:"error"}),n(null))},[t,n])}(r),!t||eC.includes(e)||!n)?null:(0,L.jsx)(eE,{})}let eF=(0,W.default)(()=>Promise.all([n.e(18020),n.e(94810),n.e(37670),n.e(58913),n.e(17873),n.e(18489),n.e(86224),n.e(71627),n.e(48567),n.e(59539),n.e(10775),n.e(25172),n.e(4519)]).then(n.bind(n,56815)),{loadableGenerated:{webpack:()=>[56815]},ssr:!1});function eZ(){let e=(0,A.ZP)(),t=(0,ei.ZP)();return e.recentLaunch&&t!==ei.Ak.PHONE?(0,L.jsx)(eF,{}):null}var eO=n(66995);let eL=(0,W.default)(()=>Promise.all([n.e(48296),n.e(18844)]).then(n.bind(n,18844)),{loadableGenerated:{webpack:()=>[18844]},ssr:!1});function eM(){let e=(0,eN.default)(),t=(0,ei.dD)();return(0,eO.Z)()||!t||"/"!==e.pathname?null:(0,L.jsx)(eL,{})}let eD=(0,W.default)(()=>Promise.all([n.e(74737),n.e(15810)]).then(n.bind(n,15810)),{loadableGenerated:{webpack:()=>[15810]},ssr:!1});function ez(){let e=(0,eN.default)(),t=(0,ei.dD)();return(0,eO.Z)()||!t||"/"!==e.pathname?null:(0,L.jsx)(eD,{})}let eT=(0,W.default)(()=>Promise.all([n.e(53446),n.e(52077)]).then(n.bind(n,52077)),{loadableGenerated:{webpack:()=>[52077]}});function eU(){let{isImpersonated:e}=(0,A.ZP)();return e?(0,L.jsx)(eT,{}):null}let eA=(0,W.default)(()=>Promise.all([n.e(94810),n.e(17032)]).then(n.bind(n,17032)),{loadableGenerated:{webpack:()=>[17032]}});function eR(){let e=(0,A.VG)(),[t,n]=z.useState(!1);return(z.useEffect(()=>{null!==e&&n(e.showCommentWarning)},[e]),t)?(0,L.jsx)(eA,{setIsVisible:n}):null}var eI=n(24405),eB=n(98120),eH=n(76271),eV=n.n(eH);function eW(e){let{title:t,children:n}=e,r=["My profile"].includes(t||""),i=["My profile","Submit"].includes(t||"")?"right":"left";return(0,L.jsx)("div",{className:et()(eV().dropdown,"hidden group-hover:block group-hover:translate-y-0 group-hover:opacity-100",{[eV()[i]]:i,[eV().small]:r}),children:(0,L.jsx)("div",{className:et()("bg-white",eV().shadow),children:n})})}var eq=n(79348),eG=n(28486),eY=n(57401),eK=n.n(eY),eQ=n(4410);function eX(){return(eX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function eJ(){return(eJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function e$(){return(e$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function e0(){return(e0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function e1(){return(e1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function e2(){return(e2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function e5(){return(e5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function e4(){return(e4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function e7(){return(e7=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function e3(){return(e3=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var e6=n(89562);function e8(){return(e8=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var e9=n(49838),te=n.n(e9);function tt(e){let{icon:t}=e;if(!t)return null;let n=tn[t];return(0,L.jsx)("div",{style:{backgroundColor:tr[t]},className:te().container,children:(0,L.jsx)(n,{})})}let tn={coming_soon:function(e){return eQ.createElement("svg",eX({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),r||(r=eQ.createElement("g",{stroke:"#599D6B",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#ComingSoon_svg__a)"},eQ.createElement("path",{d:"M12 21.25a8.25 8.25 0 1 0 0-16.5 8.25 8.25 0 0 0 0 16.5m-6.75-18-3 3m16.5-3 3 3"}),eQ.createElement("path",{d:"M12 7.75V13h5.25"}))),i||(i=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"ComingSoon_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},launch_archive:function(e){return eQ.createElement("svg",e$({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),l||(l=eQ.createElement("g",{stroke:"#F86C60",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#LaunchArchive_svg__a)"},eQ.createElement("path",{d:"M9 17.25s-.75 3-5.25 3c0-4.5 3-5.25 3-5.25m11.167-4.416c2.25-2.25 2.39-4.927 2.32-6.12a.75.75 0 0 0-.7-.7c-1.194-.071-3.869.068-6.12 2.32L7.5 12l4.5 4.5zM12.75 6.75H6.97a.75.75 0 0 0-.53.22l-3.22 3.22a.75.75 0 0 0 .425 1.272L7.5 12"}),eQ.createElement("path",{d:"M17.25 11.25v5.78a.75.75 0 0 1-.22.53l-3.22 3.22a.75.75 0 0 1-1.272-.425L12 16.5"}))),s||(s=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"LaunchArchive_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},launch_guide:function(e){return eQ.createElement("svg",e0({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),c||(c=eQ.createElement("g",{stroke:"#3979E3",strokeWidth:1.5,clipPath:"url(#LaunchGuide_svg__a)"},eQ.createElement("path",{strokeMiterlimit:10,d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z"}),eQ.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.5 7.5-6 3-3 6 6-3z"}))),u||(u=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"LaunchGuide_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},newsletter:function(e){return eQ.createElement("svg",e1({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),d||(d=eQ.createElement("g",{stroke:"#6D68D4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#Newsletter_svg__a)"},eQ.createElement("path",{d:"M3 5.25h18V18a.75.75 0 0 1-.75.75H3.75A.75.75 0 0 1 3 18z"}),eQ.createElement("path",{d:"m21 5.25-9 8.25-9-8.25"}))),f||(f=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"Newsletter_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},stories:function(e){return eQ.createElement("svg",e2({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),m||(m=eQ.createElement("g",{stroke:"#F468AC",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#Stories_svg__a)"},eQ.createElement("path",{d:"M12 8.25a3 3 0 0 1 3-3h6a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-.75.75h-6a3 3 0 0 0-3 3M2.25 18a.75.75 0 0 0 .75.75h6a3 3 0 0 1 3 3V8.25a3 3 0 0 0-3-3H3a.75.75 0 0 0-.75.75zM15 9h3.75M15 12h3.75M15 15h3.75"}))),h||(h=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"Stories_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},discussions:function(e){return eQ.createElement("svg",eJ({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),o||(o=eQ.createElement("g",{stroke:"#DE62B6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#Discussions_svg__a)"},eQ.createElement("path",{d:"M6.71 13.5 3 16.5v-12a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 .75.75v8.25a.75.75 0 0 1-.75.75z"}),eQ.createElement("path",{d:"M7.5 13.5v3.75a.75.75 0 0 0 .75.75h9.04L21 21V9a.75.75 0 0 0-.75-.75H16.5"}))),a||(a=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"Discussions_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},streaks:function(e){return eQ.createElement("svg",e5({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),p||(p=eQ.createElement("g",{stroke:"#F10202",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#Streaks_svg__a)"},eQ.createElement("path",{d:"M12.75 18c1.875-.316 3.432-1.875 3.75-3.75"}),eQ.createElement("path",{d:"m10.5 9 2.463-6.75C14.987 3.93 19.5 8.264 19.5 13.5a7.5 7.5 0 0 1-15 0c0-2.866 1.352-5.462 2.906-7.5z"}))),v||(v=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"Streaks_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},events:function(e){return eQ.createElement("svg",e4({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),g||(g=eQ.createElement("g",{stroke:"#3F9E58",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#Event_svg__a)"},eQ.createElement("path",{d:"M19.5 3.75h-15a.75.75 0 0 0-.75.75v15c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75v-15a.75.75 0 0 0-.75-.75m-3-1.5v3m-9-3v3m-3.75 3h16.5"}),eQ.createElement("path",{d:"m8.625 14.25 2.25 2.25 4.5-4.5"}))),k||(k=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"Event_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},topics:function(e){return eQ.createElement("svg",e7({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),x||(x=eQ.createElement("g",{stroke:"#D88406",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#Topics_svg__a)"},eQ.createElement("path",{d:"M8.25 21.75h7.5m-8.372-6.094A7.49 7.49 0 0 1 4.5 9.792c-.023-4.065 3.255-7.448 7.32-7.542a7.5 7.5 0 0 1 4.812 13.397 2.28 2.28 0 0 0-.882 1.79V18a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v-.562a2.26 2.26 0 0 0-.872-1.782"}),eQ.createElement("path",{d:"M12.75 5.25c1.875.316 3.432 1.875 3.75 3.75"}))),y||(y=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"Topics_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},categories:function(e){return eQ.createElement("svg",e3({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),w||(w=eQ.createElement("g",{stroke:"#6977A2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#Categories_svg__a)"},eQ.createElement("path",{d:"M9 6.006h11.25m-11.25 6h11.25m-11.25 6h11.25m-16.5-12h1.5m-1.5 6h1.5m-1.5 6h1.5"}))),b||(b=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"Categories_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 .006h24v24H0z"})))))},megaphone:e6.Z,changelog:function(e){return eQ.createElement("svg",e8({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),j||(j=eQ.createElement("g",{stroke:"#579167",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,clipPath:"url(#Changelog_svg__a)"},eQ.createElement("path",{d:"M10.5 10.5h6m-6 3h6m3-9.75h-15a.75.75 0 0 0-.75.75v15c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75v-15a.75.75 0 0 0-.75-.75m-12 0v16.5"}))),_||(_=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"Changelog_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))}},tr={coming_soon:"#d5f3dd",launch_archive:"#ffe6e4",launch_guide:"#e5efff",newsletter:"#eae9ff",stories:"#ffe9f4",discussions:"#ffe9f8",streaks:"#ffe4e4",events:"#cff2d8",topics:"#ffeeb2",categories:"#dadee9",megaphone:"#d5f3dd",changelog:"#cffcdb"};var ti=n(31791);function to(e){let{to:t,title:n,subtitle:r,icon:i,skipNextRouter:o,target:a}=e,l=i?tr[i]:"#fff";return(0,L.jsx)(eB.default,{to:t,target:a,skipNextRouter:o,onClick:()=>{(0,U.wT)({legacy:!1,title:n})},children:(0,L.jsxs)("div",{className:et()("my-2 flex flex-row gap-4",eK().container),style:i&&{background:"linear-gradient(to right, ".concat((0,ti.E)(l,.25)," 50%, rgba(255, 255, 255, 0.3) 50%)")},children:[(0,L.jsx)(tt,{icon:i}),(0,L.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,L.jsx)(eG.Z,{fontSize:14,color:"dark-gray",children:n}),(0,L.jsx)(eG.Z,{fontSize:12,color:"light-gray",children:r})]})]})})}var ta=n(50570),tl=n(79226),ts=n(74187),tc=n(2461),tu=n(4666);function td(e){let{title:t,subtitle:n,icon:r,expandedContent:i}=e,o=r?tr[r]:"#fff",[a,l]=z.useState(!1);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{onClick:()=>{l(!a)},className:et()("my-3 flex flex-row items-center gap-4 pr-1",eK().container),style:r&&{background:"linear-gradient(to right, ".concat((0,ti.E)(o,.25)," 50%, rgba(255, 255, 255, 0.3) 50%)")},children:[(0,L.jsx)(tt,{icon:r}),(0,L.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,L.jsx)(eG.Z,{fontSize:14,color:"dark-gray",children:t}),(0,L.jsx)(eG.Z,{fontSize:12,color:"light-gray",children:n})]}),(0,L.jsx)(tu.default,{className:et()("ease size-3 transition-transform duration-300",a?"":"!-rotate-90")})]}),(0,L.jsx)("span",{className:a?"":"hidden",children:i})]})}let tf=(0,W.default)(()=>n.e(54631).then(n.bind(n,54631)),{loadableGenerated:{webpack:()=>[54631]}});function tm(e){let{title:t}=e,n=(0,A.ZP)(),r=tv[t];return r?(0,L.jsx)(r,{isModerator:!!(null==n?void 0:n.isAdmin)}):null}tm.isMenu=e=>!!tv[e];let th={ref:"header_nav"};function tp(){let e=(0,ts.PM)(new Date);return ta.Z.leaderboard.daily({year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate()},th)}let tv={Launches:()=>(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(to,{icon:"coming_soon",title:"Coming soon",subtitle:"Upcoming launches to watch",to:ta.Z.comingSoon.index(th)}),(0,L.jsx)(to,{icon:"launch_archive",title:"Launch archive",subtitle:"Most-loved launches by the community",to:tp()}),(0,L.jsx)(to,{icon:"launch_guide",title:"Launch Guide",subtitle:"Checklists and pro tips for launching",to:ta.Z.launchGuide.index(th)})]}),News:()=>(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(to,{icon:"newsletter",title:"Newsletter",subtitle:"The best of Product Hunt, every day",to:ta.Z.newsletters.index(th)}),(0,L.jsx)(to,{icon:"stories",title:"Stories",subtitle:"Tech news, interviews, and tips from makers",to:ta.Z.stories.index(th)}),(0,L.jsx)(to,{icon:"changelog",title:"Changelog",subtitle:"New Product Hunt features and releases",to:ta.Z.changeLog.index(th)})]}),Community:()=>(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(to,{icon:"discussions",title:"Discussions",subtitle:"Ask questions, find support, and connect",to:ta.Z.discussions.index(th)}),(0,L.jsx)(to,{icon:"streaks",title:"Streaks",subtitle:"The most active community members",to:ta.Z.visitStreaks.index(th)}),(0,L.jsx)(to,{icon:"events",title:"Events",subtitle:"Meet others online and in-person",to:"https://lu.ma/producthunt",target:"_blank"})]}),Products:()=>(0,L.jsx)(tg,{}),"My profile":e=>{let{isModerator:t}=e;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(to,{title:"Profile",to:ta.Z.user.profile()}),(0,L.jsx)(to,{title:"My products",to:ta.Z.user.products()}),(0,L.jsx)(to,{title:"Settings",to:ta.Z.user.settings()}),t&&(0,L.jsx)(to,{title:"Moderation",to:ta.Z.user.moderation.index()}),(0,L.jsx)(to,{title:"API dashboard",to:ta.Z.user.applications()}),(0,L.jsx)(tl.Desktop,{children:(0,L.jsx)(eq.Z,{})}),(0,L.jsx)(to,{title:"Logout",to:ta.Z.logout(),skipNextRouter:!0})]})}};function tg(){let e=(0,tc.x)(),t=(0,ei.dD)();return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(tk,{}),(0,L.jsx)(to,{icon:"topics",title:e.capitalized.pluralized.value,subtitle:"Popular product themes",to:ta.Z.topics.index(th)}),t?(0,L.jsx)(td,{icon:"categories",title:"Categories",subtitle:"Industries and sub-categories",expandedContent:(0,L.jsx)(tf,{})}):(0,L.jsx)(to,{icon:"categories",title:"Categories",subtitle:"Industries and sub-categories",to:ta.Z.productCategories.index(th)})]})}function tk(){return(0,L.jsx)(to,{icon:"megaphone",to:ta.Z.shoutouts.trending(th),title:"Shoutouts Leaderboard",subtitle:"The most-loved products on Product Hunt"})}var tx=n(3601),ty=n.n(tx);function tw(e){let{className:t,to:n,title:r,onClick:i,children:o,variant:a="default"}=e;return(0,L.jsxs)("li",{className:et()("group relative list-none",t,{"bg-coral rounded":"solid"===a,"bg-barely-orange rounded":"gradient"===a}),"data-test":"header-nav-link-".concat(r.replace(/ /g,"-").toLowerCase()),children:[o||(0,L.jsx)(tb,{to:n,onClick:i,title:r,variant:a}),tm.isMenu(r)&&(0,L.jsx)(eW,{title:r,children:(0,L.jsx)("div",{className:et()(ty().hoverMenu,"px-4 py-2"),children:(0,L.jsx)(tm,{title:r})})})]})}function tb(e){let{to:t,onClick:n,title:r,variant:i}=e,o=et()("cursor-pointer text-16",{"text-light-gray group-hover:text-coral":"default"===i,"text-white":"solid"===i,[ty().gradient]:"gradient"===i});function a(e){(0,U.wT)({legacy:!1,title:r||"profile"}),null==n||n(e)}return t?(0,L.jsx)(eB.default,{className:o,to:t,onClick:a,children:r}):(0,L.jsx)("button",{className:o,onClick:a,children:r})}var tj=n(90156),t_=n.n(tj),tN=n(15462),tS=n(86749);function tE(){return(tE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var tC=function(e){return eQ.createElement("svg",tE({xmlns:"http://www.w3.org/2000/svg",width:19,height:20,fill:"none",viewBox:"0 0 19 20"},e),N||(N=eQ.createElement("path",{stroke:"#757575",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 16a2 2 0 0 0 4 0M3.5 10.5a4.5 4.5 0 0 1 9 0c0 2.239.519 4.037.931 4.75A.5.5 0 0 1 13 16H3a.5.5 0 0 1-.43-.75c.412-.713.93-2.512.93-4.75"})))},tP=n(44014),tF=n.n(tP);function tZ(){var e;let t=(0,A.ZP)(),[n,r]=z.useState(null!==(e=t.notificationFeedItemsUnreadCount)&&void 0!==e?e:0);return(0,eu.v)("NotificationsCleared",()=>r(0)),z.useEffect(()=>{var e;r(null!==(e=t.notificationFeedItemsUnreadCount)&&void 0!==e?e:0)},[t.notificationFeedItemsUnreadCount]),(0,L.jsxs)(eB.default,{to:ta.Z.user.notifications.feed(),className:tF().notification,"data-test":"notification-bell",title:"Notifications",children:[(0,L.jsx)(tC,{}),n>0&&(0,L.jsx)(eG.Z,{fontSize:10,color:"white",center:!0,className:tF().unseen,children:n>99?"99+":n})]})}var tO=n(24109),tL=n(39354),tM=n.n(tL),tD=n(86159),tz=n(9572),tT=(0,W.default)(()=>Promise.all([n.e(34777),n.e(977)]).then(n.bind(n,977)),{loadableGenerated:{webpack:()=>[977]},loading:()=>(0,L.jsx)(tz.Z,{})}),tU=n(55579);let tA={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HighlightedChangeQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"highlightedChange"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"HighlightedChangeModalFragment"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"HighlightedChangeModalFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"HighlightedChange"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"body"}},{kind:"Field",name:{kind:"Name",value:"ctaUrl"}},{kind:"Field",name:{kind:"Name",value:"ctaText"}},{kind:"Field",name:{kind:"Name",value:"desktopImageUuid"}}]}}]};var tR=n(92538),tI=n(50104),tB=n.n(tI),tH=n(16471);let tV="highlighted_change_dismissed";function tW(){let e=(0,ei.dD)(),{data:t,loading:n,error:r}=(0,tU.aM)(tA,{ssr:!1,skip:e}),i=null==t?void 0:t.highlightedChange,{showChange:o,handleDismiss:a}=function(e){let[t,n]=(0,z.useState)(!!e);return(0,z.useEffect)(()=>{n((0,tR.ej)(tV)!==e)},[e]),{showChange:t,handleDismiss:()=>{e&&((0,tR.d8)(tV,e),n(!1))}}}(null==i?void 0:i.id);return e||n||r||tB()(i)||!o?null:(0,L.jsx)(tO.Z,{className:tM().button,trackingData:{meta:{component:"HighlightedChangeButton"},subjectId:i.id,subjectType:"highlighted_change"},onClick:()=>{(0,J.h7)({onClose:a,mobilePosition:"center",content:(0,L.jsx)(tT,{change:i,handleDismiss:a})})},children:(0,L.jsxs)("div",{className:"mx-1 flex flex-row items-center justify-center",children:[(0,L.jsx)(tD.Z,{className:tM().icon}),(0,L.jsx)(eG.Z,{fontSize:14,color:"white","aria-hidden":"true",children:"New"}),(0,L.jsx)(tH.Z,{children:"New on Product Hunt"})]})})}var tq=n(92744),tG=n(91641),tY=n(66914);class tK extends z.Component{static getDerivedStateFromError(e){return{error:e}}componentDidCatch(){}render(){return this.state.error?this.props.fallback:this.props.children}constructor(e){super(e),this.state={error:null}}}function tQ(){return(0,L.jsx)(tK,{fallback:(0,L.jsx)(tJ,{className:"invisible"}),children:(0,L.jsx)(z.Suspense,{fallback:(0,L.jsx)(tJ,{className:"invisible"}),children:(0,L.jsx)(tX,{children:e=>(null==e?void 0:e.user)?(0,L.jsxs)("div",{className:"flex flex-row items-center justify-end gap-4",children:[(0,L.jsx)(tw,{variant:"gradient",className:et()(t_().submit,"px-4"),title:"Submit",to:ta.Z.posts.new()}),(0,L.jsx)(tZ,{}),(0,L.jsx)(tW,{}),(0,L.jsx)(tw,{title:"My profile",children:(0,L.jsx)(tS.Z,{size:32,user:null==e?void 0:e.user,showCard:!1,isLink:!0})})]}):(0,L.jsx)(tJ,{})})})})}function tX(e){var t;let{children:n}=e,r=(0,tY.x)(),{data:i}=(0,tq.kJ)(tG._,{skip:!r}),o=(0,A.VG)();return n(null!==(t=null==i?void 0:i.viewer)&&void 0!==t?t:o)}function tJ(e){let{className:t}=e;return(0,L.jsxs)("div",{className:et()("flex flex-row items-center justify-end gap-4",t),children:[(0,L.jsx)(tw,{className:et()(t_().submit,"p-2 md:px-4"),to:ta.Z.newsletters.index({ref:"header_nav",campaign:"weekly_newsletter",source:"header_nav"}),onClick:()=>{(0,U.ob)({meta:{component:"HeaderSubscribeButton"}})},title:"Subscribe",variant:"gradient"}),(0,L.jsx)(tw,{className:et()(t_().submit,"p-2 md:px-4"),onClick:()=>{(0,tN.Z)({trackingComponent:"DesktopHeader"})},title:"Sign in",variant:"solid"})]})}var t$=n(98534),t0=n(85667);let t1={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HeaderDesktopProductsNavigationQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productCategories"},arguments:[{kind:"Argument",name:{kind:"Name",value:"visibleOnly"},value:{kind:"BooleanValue",value:!0}},{kind:"Argument",name:{kind:"Name",value:"parentOnly"},value:{kind:"BooleanValue",value:!0}},{kind:"Argument",name:{kind:"Name",value:"order"},value:{kind:"EnumValue",value:"subcategories_count_desc"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NavigationProductCategoryFragment"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NavigationProductCategorySubcategoryFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProductCategory"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"hasArticle"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"NavigationProductCategoryFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProductCategory"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"hasArticle"}},{kind:"Field",name:{kind:"Name",value:"subCategories"},arguments:[{kind:"Argument",name:{kind:"Name",value:"order"},value:{kind:"EnumValue",value:"alphabetical"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"FragmentSpread",name:{kind:"Name",value:"NavigationProductCategorySubcategoryFragment"}}]}}]}}]}}]};function t2(e){let{data:t}=e,n=e=>{(0,U.wT)({legacy:!1,title:e.currentTarget.textContent||""})},r=(0,t0.qo)(t.productCategories).reduce((e,t)=>(t.hasArticle&&e.push(t),(0,t0.qo)(t.subCategories.nodes).forEach(t=>{t.hasArticle&&e.push(t)}),e),[]).slice(0,5);return(0,L.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,L.jsx)(eG.Z,{fontSize:14,fontWeight:"semibold",color:"dark-gray",children:"Product Landscapes"}),(0,L.jsxs)("div",{className:"flex flex-row flex-wrap gap-2",children:[r.map(e=>(0,L.jsx)(eG.Z.Link,{className:"rounded-full bg-cloud px-4 py-1 transition-all duration-300 hover:font-medium",fontSize:14,color:"blue",to:e.path,onClick:n,children:e.name},e.id)),(0,L.jsx)(eG.Z.Link,{className:"rounded-full bg-cloud px-4 py-1 transition-all duration-300 hover:font-medium",fontSize:14,color:"blue",to:ta.Z.productCategories.index(),onClick:n,children:"See more"})]})]})}function t5(){let{data:e,loading:t}=(0,tU.aM)(t1);return(0,L.jsxs)("li",{className:"group relative",children:[(0,L.jsx)(eB.default,{onClick:t7,className:"text-16 text-light-gray group-hover:text-coral",to:ta.Z.productCategories.index({ref:"header_nav"}),children:"Products"}),e&&!t&&(0,L.jsx)(t4,{data:e})]})}function t4(e){let{data:t}=e,[n,r]=z.useState((0,t0.Ps)(t.productCategories));return(0,L.jsx)("div",{className:"absolute top-4 z-50 hidden w-fit translate-y-2 opacity-0 transition-all duration-200 ease-in group-hover:block group-hover:translate-y-0 group-hover:opacity-100",children:(0,L.jsxs)("div",{className:"mt-6 flex flex-col gap-4 overflow-hidden rounded-lg bg-white p-4 shadow-lg",children:[(0,L.jsx)(tk,{}),(0,L.jsx)(t2,{data:t}),(0,L.jsxs)("div",{className:"flex min-h-72 min-w-[500px] flex-row border-t border-light-blue py-4 md:w-[600px]",children:[(0,L.jsx)("div",{className:"mr-4 flex w-52 shrink-0 flex-col border-r border-light-blue pr-4",children:(0,t0.UI)(t.productCategories,e=>(0,t0.xb)(e.subCategories.nodes)?null:(0,L.jsx)(t$.Z,{className:et()("rounded px-2 py-1 hover:bg-cloud",e.id===(null==n?void 0:n.id)&&"bg-cloud"),onPointerEnter:()=>r(e),to:e.path,fontSize:14,color:"light-gray",subjectId:e.id,subjectType:"category",onClick:t7,children:e.name},e.id))}),(0,t0.UI)(t.productCategories,e=>(0,L.jsxs)("div",{className:et()("flex flex-1 flex-col gap-4",{hidden:e.id!==(null==n?void 0:n.id)}),children:[(0,L.jsx)(eG.Z,{fontSize:14,fontWeight:"semibold",children:e.name}),!(0,t0.xb)(e.subCategories.nodes)&&(0,L.jsx)("div",{className:"grid grid-cols-2 gap-2",children:(0,t0.UI)(e.subCategories.nodes,e=>(0,L.jsx)(t$.Z,{className:"hover:text-dark-gray",to:e.path,subjectId:e.id,subjectType:"category",fontSize:14,color:"light-gray",onClick:t7,children:e.name},"subcategory-".concat(e.id)))})]},e.id))]})]})})}function t7(e){(0,U.wT)({legacy:!1,title:e.currentTarget.textContent||""})}var t3=n(16553),t6=n.n(t3),t8=n(69158),t9=n(70039);let ne=(0,W.default)(()=>n.e(34455).then(n.bind(n,34455)),{loadableGenerated:{webpack:()=>[34455]}});function nt(){let{query:e}=(0,eN.default)(),t=function(){let e=(0,ei.useIsDesktop)(),[t,n]=z.useState("Search");return z.useEffect(()=>{if(e){var t;n("Search ( ".concat(T.jU&&(null===(t=navigator)||void 0===t?void 0:t.userAgent.toLowerCase().indexOf("mac"))>=0?"⌘":"ctrl"," + k )"))}},[e]),t}(),n=(0,ei.Av)(),{pathname:r}=(0,eN.default)(),i=(0,t9.yy)({context:"spotlight"});return((0,er.K)("k",()=>nn({query:e.q,pathname:r,provider:i}),{metaModified:!0}),n)?(0,L.jsx)(tO.Z,{className:t6().tabletContainer,onClick:()=>nn({query:e.q,pathname:r,provider:i}),children:(0,L.jsx)(t8.Z,{})}):(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)(eG.Z,{fontSize:14,className:t6().container,children:[(0,L.jsx)(t8.Z,{className:t6().searchIcon}),(0,L.jsx)("input",{"data-hj-allow":!0,"data-test":"header-search-input",autoComplete:"off",className:et()(t6().input,"input"),onClick:()=>nn({query:e.q,pathname:r,provider:i}),name:"q",placeholder:t,defaultValue:e.q,title:"Search"})]})})}function nn(e){let{query:t,pathname:n,provider:r}=e;(0,t9.Dc)({pathname:n,provider:r}),(0,J.h7)({content:(0,L.jsx)(ne,{defaultValue:t}),withoutPadding:!0,backgroundClassName:"sm:!rounded-[10px]"})}var nr=n(16463);let ni={ref:"header_nav"};function no(){let e=function(){let e=(0,nr.usePathname)();return!e||!na.includes(e)}(),t=(0,nr.usePathname)(),n=!!(null==t?void 0:t.startsWith("/search"));return(0,L.jsxs)("header",{className:et()(t_().header,"px-6",{[t_().stickyHeader]:e}),children:[(0,L.jsxs)("div",{className:"flex flex-row items-center gap-6 sm:gap-8",children:[(0,L.jsx)(eB.default,{to:ta.Z.root(),"aria-label":"Product Hunt Logo",onClick:()=>(0,eu.j)("HeaderLogoClick",null),children:(0,L.jsx)(eI.Z,{className:t_().logo})}),!n&&(0,L.jsx)(nt,{})]}),(0,L.jsx)("nav",{"aria-label":"Main Navigation",children:(0,L.jsxs)("ul",{className:"flex flex-row items-center justify-center gap-6 md:gap-8",children:[(0,L.jsx)(tw,{title:"Launches",to:tp()}),(0,L.jsx)(t5,{}),(0,L.jsx)(tw,{title:"News",to:ta.Z.newsletters.index(ni)}),(0,L.jsx)(tw,{title:"Community",to:ta.Z.discussions.index(ni)}),(0,L.jsx)(tw,{to:ta.Z.pages.advertising({ref:"header_nav"}),title:"Advertise"})]})}),(0,L.jsx)(tQ,{})]})}let na=["/","/all"];function nl(){return(nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ns=function(e){return eQ.createElement("svg",nl({xmlns:"http://www.w3.org/2000/svg",width:171,height:40,fill:"none",viewBox:"0 0 171 40"},e),S||(S=eQ.createElement("path",{fill:"#FF6154",d:"M20 40c11.046 0 20-8.954 20-20S31.046 0 20 0 0 8.954 0 20s8.954 20 20 20"})),E||(E=eQ.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M22.667 20H17v-6h5.667a3 3 0 1 1 0 6m0-10H13v20h4v-6h5.667a7 7 0 0 0 0-14",clipRule:"evenodd"})),C||(C=eQ.createElement("path",{fill:"#FF6154",fillRule:"evenodd",d:"M53.333 26.667V13.333h6.126c2.847 0 4.398 1.925 4.398 4.222 0 2.278-1.57 4.202-4.398 4.202h-3.337v4.91zm17.739-9.956v2.434a3.2 3.2 0 0 0-.688-.058c-.825 0-1.925.47-2.338 1.08v6.5h-2.492v-9.72h2.492v1.276c.688-.825 1.847-1.512 3.026-1.512m5.952 0c3.142 0 5.027 2.278 5.027 4.968s-1.885 4.988-5.027 4.988c-3.122 0-5.007-2.298-5.007-4.988s1.885-4.968 5.007-4.968m-17.957-.923c1.098 0 1.944.667 1.944 1.767 0 1.08-.846 1.748-1.944 1.748h-2.945v-3.515zm33.889-2.455v13.334h-2.514v-1.454c-.746.943-1.766 1.454-2.926 1.454-2.376 0-4.202-1.807-4.202-4.988 0-3.083 1.788-4.968 4.202-4.968 1.12 0 2.18.47 2.926 1.453v-4.83zM77.024 18.93c1.57 0 2.435 1.276 2.435 2.749 0 1.493-.865 2.768-2.435 2.768-1.552 0-2.416-1.275-2.416-2.768 0-1.473.864-2.75 2.416-2.75m20.906-1.984V22.7c0 1.316.688 1.747 1.748 1.747.962 0 1.728-.53 2.16-1.08v-6.42h2.494v9.72h-2.494v-1.434a4.5 4.5 0 0 1-3.337 1.434c-2.082 0-3.064-1.14-3.064-2.986v-6.735zm21.691-2.592v2.592h1.923v2.18h-1.923v4.261c0 .609.313 1.06.863 1.06.373 0 .728-.137.864-.294l.531 1.905c-.373.334-1.041.609-2.082.609-1.748 0-2.67-.904-2.67-2.612v-4.929h-1.57v-2.18h1.57v-2.592zm11.711-1.02v5.144h6.186v-5.145h2.808v13.334h-2.808v-5.754h-6.186v5.754h-2.787V13.333zm14.01 3.612V22.7c0 1.316.687 1.747 1.747 1.747.963 0 1.729-.53 2.161-1.08v-6.42h2.494v9.72h-2.494v-1.434a4.5 4.5 0 0 1-3.337 1.434c-2.082 0-3.064-1.14-3.064-2.986v-6.735zm23.262-2.592v2.592h1.924v2.18h-1.924v4.261c0 .609.314 1.06.864 1.06.372 0 .727-.137.865-.294l.529 1.905c-.372.334-1.041.609-2.082.609-1.747 0-2.67-.904-2.67-2.612v-4.929h-1.57v-2.18h1.57v-2.592zm-57.373 2.357c1.945 0 3.123.844 3.752 1.709l-1.631 1.53c-.451-.667-1.139-1.02-2.002-1.02-1.513 0-2.573 1.1-2.573 2.749s1.06 2.768 2.573 2.768a2.36 2.36 0 0 0 2.002-1.04l1.631 1.531c-.629.864-1.807 1.729-3.752 1.729-2.906 0-5.026-2.062-5.026-4.988 0-2.906 2.12-4.968 5.026-4.968m48.805 0c2.101 0 3.102 1.178 3.102 3.024v6.932h-2.514v-5.97c0-1.316-.686-1.767-1.747-1.767-.982 0-1.727.55-2.16 1.1v6.637h-2.493v-9.72h2.493v1.217c.609-.707 1.787-1.453 3.319-1.453M88.301 18.93c.826 0 1.729.451 2.141 1.08v3.357c-.412.629-1.315 1.08-2.14 1.08-1.433 0-2.415-1.119-2.415-2.768 0-1.63.982-2.75 2.414-2.75",clipRule:"evenodd"})))},nc=n(86702);function nu(e){let{to:t,title:n}=e;return(0,L.jsx)(eG.Z.Link,{to:t,color:"dark-gray",fontWeight:"semibold",fontSize:18,children:n})}var nd=n(44831),nf=n.n(nd);function nm(){return(nm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var nh=function(e){return eQ.createElement("svg",nm({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),P||(P=eQ.createElement("g",{clipPath:"url(#CaretIcon_svg__a)"},eQ.createElement("path",{stroke:"#21293C",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m6 3 5 5-5 5"}))),F||(F=eQ.createElement("defs",null,eQ.createElement("clipPath",{id:"CaretIcon_svg__a"},eQ.createElement("path",{fill:"#fff",d:"M0 16V0h16v16z"})))))};function np(e){let{section:t,isOpen:n,onChange:r}=e;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{className:et()(nf().accordian,"flex flex-row items-center"),onClick:()=>r(n?"":t),children:[(0,L.jsx)(eG.Z,{fontWeight:"semibold",fontSize:18,className:"flex-1",color:n?"coral":"dark-gray",children:t}),(0,L.jsx)(nh,{className:et()(nf().icon,n&&nf().opened)})]}),(0,L.jsx)("span",{className:n?"":"hidden",children:(0,L.jsx)(tm,{title:t})})]})}var nv=n(38344);function ng(){let e=(0,nv.Z)(),[t,n]=z.useState("Launches");return(0,L.jsxs)("div",{className:et()(nf().menu,"flex flex-1 flex-col gap-6 bg-white px-8 py-4"),children:[(0,L.jsx)(nt,{}),(0,L.jsx)(np,{isOpen:"Launches"===t,onChange:n,section:"Launches"}),(0,L.jsx)(np,{isOpen:"Products"===t,onChange:n,section:"Products"}),(0,L.jsx)(np,{isOpen:"News"===t,onChange:n,section:"News"}),(0,L.jsx)(np,{section:"Community",isOpen:"Community"===t,onChange:n}),(0,L.jsx)(nu,{to:ta.Z.pages.advertising({ref:"header_nav"}),title:"Advertise"}),e&&(0,L.jsx)(np,{isOpen:"My profile"===t,onChange:n,section:"My profile"})]})}var nk=n(4928),nx=n.n(nk),ny=n(25226),nw=n.n(ny);function nb(){return(nb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var nj=function(e){return eQ.createElement("svg",nb({xmlns:"http://www.w3.org/2000/svg",width:18,height:14,fill:"none",viewBox:"0 0 18 14"},e),Z||(Z=eQ.createElement("path",{fill:"#000",d:"M15.18 3.93 15 3.758l1.945-1.938a.633.633 0 0 0-.89-.89L14.03 2.96a8.71 8.71 0 0 0-10.047.017L1.945.93a.633.633 0 0 0-.89.89l1.96 1.953A8.86 8.86 0 0 0 .25 10.211V12a1.25 1.25 0 0 0 1.25 1.25h15A1.25 1.25 0 0 0 17.75 12v-1.875a8.7 8.7 0 0 0-2.57-6.195m-8.992 6.195a.937.937 0 1 1 0-1.875.937.937 0 0 1 0 1.875m5.625 0a.937.937 0 1 1 0-1.874.937.937 0 0 1 0 1.874"})))};function n_(){return(n_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var nN=function(e){return eQ.createElement("svg",n_({xmlns:"http://www.w3.org/2000/svg",width:14,height:17,fill:"none",viewBox:"0 0 14 17"},e),O||(O=eQ.createElement("path",{fill:"#21293C",d:"M10.891 8.524a3.64 3.64 0 0 1 1.735-3.056 3.73 3.73 0 0 0-2.938-1.589c-1.236-.13-2.434.74-3.064.74-.642 0-1.612-.727-2.656-.705A3.91 3.91 0 0 0 .676 5.922C-.748 8.386.314 12.008 1.678 14c.682.976 1.48 2.066 2.523 2.027 1.02-.042 1.402-.651 2.634-.651 1.221 0 1.579.65 2.643.626 1.096-.017 1.786-.98 2.444-1.964a8 8 0 0 0 1.118-2.276 3.52 3.52 0 0 1-2.149-3.238M8.88 2.57A3.59 3.59 0 0 0 9.702 0a3.65 3.65 0 0 0-2.36 1.222c-.599.68-.901 1.57-.843 2.474a3.02 3.02 0 0 0 2.383-1.127"})))},nS=n(14499);function nE(){let e=(0,nv.Z)(),t=(0,nS.Z)("subheader"),n=(0,eO.Z)(),[r,i]=z.useState(null);return(z.useEffect(()=>{i(function(){if(!navigator||!window)return null;let e=navigator.userAgent;return/android/i.test(e)?"android":/iPad|iPhone|iPod/.test(e)?"ios":null}())},[i]),e&&!n&&r)?(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)("div",{className:et()(nw().appBanner,"flex flex-row items-center justify-center gap-1 py-2"),children:["ios"===r&&(0,L.jsx)(nN,{}),"android"===r&&(0,L.jsx)(nj,{}),(0,L.jsx)(eG.Z.Link,{to:t,onClick:()=>{(0,U.ob)({meta:{component:"mobile_header",source_view:"mobile_app_banner",source_button:"get_app"}})},fontWeight:"medium",children:"Get our mobile apps today →"})]})}):null}var nC=n(78910),nP=n.n(nC);function nF(){return(0,L.jsx)(z.Suspense,{fallback:(0,L.jsx)(nO,{className:"invisible"}),children:(0,L.jsx)(nZ,{children:e=>(null==e?void 0:e.user)?(0,L.jsxs)("div",{className:"flex flex-row items-center justify-end gap-4",children:[(0,L.jsx)(eG.Z.Link,{to:ta.Z.posts.new(),className:et()(nP().submit,"rounded bg-barely-orange px-4"),color:"coral",children:"Submit"}),(0,L.jsx)(tZ,{}),(0,L.jsx)(tW,{}),(0,L.jsx)(tS.Z,{size:32,user:null==e?void 0:e.user,showCard:!1,isLink:!0})]}):(0,L.jsx)(nO,{})})})}function nZ(e){var t;let{children:n}=e,r=(0,tY.x)(),{data:i}=(0,tq.kJ)(tG._,{skip:!r}),o=(0,A.VG)();return n(null!==(t=null==i?void 0:i.viewer)&&void 0!==t?t:o)}function nO(e){let{className:t}=e;return(0,L.jsxs)("div",{className:et()("flex flex-row items-center justify-end gap-4",t),children:[(0,L.jsx)(eG.Z.Link,{className:et()(nP().submit,"rounded bg-barely-orange px-4"),color:"coral",to:ta.Z.newsletters.index({ref:"header_nav"}),children:"Subscribe"}),(0,L.jsx)(eG.Z,{className:et()(nP().submit,"rounded  bg-coral px-4"),color:"white",onClick:()=>(0,tN.Z)({trackingComponent:"DesktopHeader"}),children:"Sign in"})]})}function nL(){let[e,t]=(0,nc.w)(),n=(0,ei.dD)()?eI.Z:ns;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("header",{className:et()(e&&nx().headerOpen,nx().header,"flex flex-row items-center px-6 py-3"),children:[(0,L.jsxs)("div",{className:"flex flex-1 flex-row items-center gap-5",children:[(0,L.jsx)(nc.Z,{onChange:t,isOpen:e}),(0,L.jsx)(eB.default,{to:ta.Z.root(),"aria-label":"Product Hunt Logo",children:(0,L.jsx)(n,{className:nx().logo})})]}),(0,L.jsx)(nF,{})]}),(0,L.jsx)(nE,{}),(0,L.jsx)("span",{className:e?"":"hidden",children:(0,L.jsx)(ng,{})})]})}function nM(){return(0,ei.dD)()?(0,L.jsx)(nL,{}):(0,L.jsx)(no,{})}let nD=(0,W.default)(()=>n.e(35695).then(n.bind(n,35695)),{loadableGenerated:{webpack:()=>[35695]}});function nz(){let[e,t]=z.useState(0);return((0,eu.v)("VerificationRequired",()=>{t(e+1)}),0===e)?null:(0,L.jsx)(nD,{},e)}function nT(e){let{children:t,hideHeader:n=!1}=e;return(0,L.jsxs)(L.Fragment,{children:[!n&&(0,L.jsx)(nM,{}),(0,L.jsx)(G,{}),(0,L.jsx)(eR,{}),(0,L.jsx)(eP,{}),(0,L.jsx)(ef,{}),(0,L.jsx)(eU,{}),(0,L.jsx)(eb,{}),(0,L.jsx)(ea,{}),(0,L.jsx)(V,{}),t,(0,L.jsx)(eZ,{}),(0,L.jsx)(eM,{}),(0,L.jsx)(ez,{}),(0,L.jsx)(nz,{})]})}var nU=n(75299);function nA(e){let{children:t}=e;return(0,L.jsx)(nT,{children:(0,L.jsxs)(nU.ErrorBoundary,{children:[(0,L.jsx)(D,{}),t]})})}},76287:function(e,t,n){var r=n(61250),i=n(62637);e.exports=function(e){return i(r(e).toLowerCase())}},50104:function(e,t,n){var r=n(84238),i=n(14995),o=n(6727),a=n(60443),l=n(17806),s=n(46551),c=n(30761),u=n(78470),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(l(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||s(e)||u(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},48527:function(e,t,n){var r=n(22170),i=n(63117);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},48464:function(e,t,n){!function(){var t={452:function(e){"use strict";e.exports=n(46405)}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete r[e]}return o.exports}i.ab="//";var o={};(function(){var e,t=(e=i(452))&&"object"==typeof e&&"default"in e?e.default:e,n=/https?|ftp|gopher|file/;function r(e){"string"==typeof e&&(e=g(e));var r,i,o,a,l,s,c,u,d,f=(i=(r=e).auth,o=r.hostname,a=r.protocol||"",l=r.pathname||"",s=r.hash||"",c=r.query||"",u=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",r.host?u=i+r.host:o&&(u=i+(~o.indexOf(":")?"["+o+"]":o),r.port&&(u+=":"+r.port)),c&&"object"==typeof c&&(c=t.encode(c)),d=r.search||c&&"?"+c||"",a&&":"!==a.substr(-1)&&(a+=":"),r.slashes||(!a||n.test(a))&&!1!==u?(u="//"+(u||""),l&&"/"!==l[0]&&(l="/"+l)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),d&&"?"!==d[0]&&(d="?"+d),{protocol:a,host:u,pathname:l=l.replace(/[?#]/g,encodeURIComponent),search:d=d.replace("#","%23"),hash:s});return""+f.protocol+f.host+f.pathname+f.search+f.hash}var a="http://",l=a+"w.w",s=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,c=/https?|ftp|gopher|file/;function u(e,t){var n="string"==typeof e?g(e):e;e="object"==typeof e?r(e):e;var i=g(t),o="";n.protocol&&!n.slashes&&(o=n.protocol,e=e.replace(n.protocol,""),o+="/"===t[0]||"/"===e[0]?"/":""),o&&i.protocol&&(o="",i.slashes||(o=i.protocol,t=t.replace(i.protocol,"")));var u=e.match(s);u&&!i.protocol&&(e=e.substr((o=u[1]+(u[2]||"")).length),/^\/\/[^/]/.test(t)&&(o=o.slice(0,-1)));var d=new URL(e,l+"/"),f=new URL(t,d).toString().replace(l,""),m=i.protocol||n.protocol;return m+=n.slashes||i.slashes?"//":"",!o&&m?f=f.replace(a,m):o&&(f=f.replace(a,"")),c.test(f)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==f.slice(-1)||(f=f.slice(0,-1)),o&&(f=o+("/"===f[0]?f.substr(1):f)),f}function d(){}d.prototype.parse=g,d.prototype.format=r,d.prototype.resolve=u,d.prototype.resolveObject=u;var f=/^https?|ftp|gopher|file/,m=/^(.*?)([#?].*)/,h=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,p=/^([a-z0-9.+-]*:)?\/\/\/*/i,v=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function g(e,n,i){if(void 0===n&&(n=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof d)return e;var o=(e=e.trim()).match(m);e=o?o[1].replace(/\\/g,"/")+o[2]:e.replace(/\\/g,"/"),v.test(e)&&"/"!==e.slice(-1)&&(e+="/");var a=!/(^javascript)/.test(e)&&e.match(h),s=p.test(e),c="";a&&(f.test(a[1])||(c=a[1].toLowerCase(),e=""+a[2]+a[3]),a[2]||(s=!1,f.test(a[1])?(c=a[1],e=""+a[3]):e="//"+a[3]),3!==a[2].length&&1!==a[2].length||(c=a[1],e="/"+a[3]));var u,g=(o?o[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),k=g&&g[1],x=new d,y="",w="";try{u=new URL(e)}catch(t){y=t,c||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(w="/",e=e.substr(1));try{u=new URL(e,l)}catch(e){return x.protocol=c,x.href=c,x}}x.slashes=s&&!w,x.host="w.w"===u.host?"":u.host,x.hostname="w.w"===u.hostname?"":u.hostname.replace(/(\[|\])/g,""),x.protocol=y?c||null:u.protocol,x.search=u.search.replace(/\\/g,"%5C"),x.hash=u.hash.replace(/\\/g,"%5C");var b=e.split("#");!x.search&&~b[0].indexOf("?")&&(x.search="?"),x.hash||""!==b[1]||(x.hash="#"),x.query=n?t.decode(u.search.substr(1)):x.search.substr(1),x.pathname=w+(a?u.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):u.pathname),"about:"===x.protocol&&"blank"===x.pathname&&(x.protocol="",x.pathname=""),y&&"/"!==e[0]&&(x.pathname=x.pathname.substr(1)),c&&!f.test(c)&&"/"!==e.slice(-1)&&"/"===x.pathname&&(x.pathname=""),x.path=x.pathname+x.search,x.auth=[u.username,u.password].map(decodeURIComponent).filter(Boolean).join(":"),x.port=u.port,k&&!x.host.endsWith(k)&&(x.host+=k,x.port=k.slice(1)),x.href=w?""+x.pathname+x.search+x.hash:r(x);var j=/^(file)/.test(x.href)?["host","hostname"]:[];return Object.keys(x).forEach(function(e){~j.indexOf(e)||(x[e]=x[e]||null)}),x}o.parse=g,o.format=r,o.resolve=u,o.resolveObject=function(e,t){return g(u(e,t))},o.Url=d})(),e.exports=o}()},46405:function(e){!function(){"use strict";var t={815:function(e){e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(n);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var c=0;c<s;++c){var u,d,f,m,h=e[c].replace(a,"%20"),p=h.indexOf(r);(p>=0?(u=h.substr(0,p),d=h.substr(p+1)):(u=h,d=""),f=decodeURIComponent(u),m=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(o,f))?t(o[f])?o[f].push(m):o[f]=[o[f],m]:o[f]=m}return o};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,a,l){return(o=o||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?r(i(e),function(i){var l=encodeURIComponent(t(i))+a;return n(e[i])?r(e[i],function(e){return l+encodeURIComponent(t(e))}).join(o):l+encodeURIComponent(t(e[i]))}).join(o):l?encodeURIComponent(t(l))+a+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var i=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i={};i.decode=i.parse=r(815),i.encode=i.stringify=r(577),e.exports=i}()},46337:function(e,t,n){"use strict";function r(e){return e.networkError?"bodyText"in e.networkError?e.networkError.bodyText:e.networkError.message:e.graphQLErrors&&e.graphQLErrors.length>0?"GraphQL Error:\n\n"+e.graphQLErrors.map(e=>JSON.stringify(e,null,2)).join("\n\n"):null}n.d(t,{F:function(){return r}})},75299:function(e,t,n){"use strict";n.d(t,{ErrorBoundary:function(){return d}});var r=n(57437),i=n(27791),o=n(2265),a=n(64417),l=n(41288),s=n(51266),c=n(46337);function u(e){let{error:t}=e;if(t instanceof i.n)return(0,r.jsx)(a.default,{code:t.statusCode});if((0,l.MS)(t))return(0,r.jsx)(a.default,{code:500,bodyText:s.yG||s.Y8?(0,c.F)(t):null});throw t}class d extends o.Component{static getDerivedStateFromError(e){if((0,i.V)(e))return{error:e};throw e}render(){return this.state.error?(0,r.jsx)(u,{error:this.state.error,reset:()=>this.setState({error:void 0})}):this.props.children}constructor(e){super(e),this.state={}}}},31791:function(e,t,n){"use strict";function r(e){let t=0,n=0,r=0;return(4===e.length?(t=parseInt(e[1]+e[1],16),n=parseInt(e[2]+e[2],16),r=parseInt(e[3]+e[3],16)):7===e.length&&(t=parseInt(e[1]+e[2],16),n=parseInt(e[3]+e[4],16),r=parseInt(e[5]+e[6],16)),isNaN(t)||isNaN(n)||isNaN(r))?[0,0,0]:[t,n,r]}function i(e,t){let[n,i,o]=r(e);return"rgba(".concat(n,", ").concat(i,", ").concat(o,", ").concat(t,")")}n.d(t,{E:function(){return i},o:function(){return r}})},74187:function(e,t,n){"use strict";n.d(t,{G2:function(){return ee},vP:function(){return eN},IJ:function(){return eS},Z5:function(){return eE},ne:function(){return B},Nc:function(){return H},nt:function(){return W},m2:function(){return V},E4:function(){return s.E},yG:function(){return q},jh:function(){return M.j},F6:function(){return ed},SW:function(){return ew},u_:function(){return G},jc:function(){return d.j},eq:function(){return ef},Hr:function(){return Y},PD:function(){return K},As:function(){return eh},WU:function(){return L.WU},p6:function(){return en},P4:function(){return er},F3:function(){return eu},OU:function(){return es},_s:function(){return ec},oe:function(){return ea},zN:function(){return el},Yh:function(){return eo},sV:function(){return ep},yj:function(){return ei},oP:function(){return ej},NC:function(){return z.N},lT:function(){return Z.l},Ly:function(){return O.L},ZY:function(){return e_},Rn:function(){return D.R},Ax:function(){return y.A},RR:function(){return x.R},Al:function(){return $},CR:function(){return J},KC:function(){return ek},zk:function(){return X},eB:function(){return ex},Qc:function(){return T.Qc},JU:function(){return Q},_D:function(){return ey},RL:function(){return eg},uA:function(){return ev},PM:function(){return em},Nz:function(){return eb}});var r=n(79332),i=n(86465),o=n(3107),a=n(55226),l=n(42503),s=n(72781),c=n(36279),u=n(42553),d=n(33831),f=n(69729),m=n(62230),h=n(4192),p=n(92991),v=n(61174),g=n(37643),k=n(20740),x=n(35062),y=n(56717),w=n(35976),b=n(60238),j=n(57936),_=n(72587),N=n(80624),S=n(93275),E=n(89128),C=n(23764),P=n(10974),F=n(55675),Z=n(38799),O=n(73261),L=n(6469),M=n(78335),D=n(5291),z=n(63258),T=n(36223),U=n(23028);let A={lessThanXSeconds:{one:"1s",other:"{{count}}s"},xSeconds:{one:"1s",other:"{{count}}s"},halfAMinute:"1m",lessThanXMinutes:{one:"1m",other:"{{count}}m"},xMinutes:{one:"1m",other:"{{count}}m"},aboutXHours:{one:"1h",other:"{{count}}h"},xHours:{one:"1h",other:"{{count}}h"},xDays:{one:"1d",other:"{{count}}d"},aboutXMonths:{one:"1mo",other:"{{count}}mo"},xMonths:{one:"1mo",other:"{{count}}mo"},aboutXYears:{one:"1yr",other:"{{count}}yr"},xYears:{one:"1yr",other:"{{count}}yr"},overXYears:{one:"1yr",other:"{{count}}yr"},almostXYears:{one:"1yr",other:"{{count}}yr"}};var R={...U._,formatDistance:function(e,t,n){let r;return(n=n||{},r="string"==typeof A[e]?A[e]:1===t?A[e].one:A[e].other.replace("{{count}}",t),n.addSuffix)?n.comparison>0?"in "+r:r+" ago":r}},I=n(81553);let B=new Date(2013,10,21),H=(0,r.G)(B,1),V=2013,W=47;function q(e,t,n){let r=eh(null!=n?n:new Date);switch(t){case"years":return(0,i.B)(r,e);case"months":return(0,o.z)(r,e);case"hours":return(0,a.T)(r,e);case"minutes":return(0,l.m)(r,e);default:return(0,s.E)(r,e)}}function G(e,t){let n=new Date;return"minutes"===t?(0,c.X)(eh(e),n):"hours"===t?(0,u.A)(eh(e),n):"days"===t?(0,d.j)(eh(e),n):(0,f._)(eh(e),n)}function Y(e){let t=em(e);return(0,m.i)(t)}function K(e){let t=em(e);return(0,h.V)(t)}function Q(e){let t=new Date,n=eh(e);return(0,p.z)(n)?"Today":(0,v.g)(n)?"Yesterday":(0,g.x)(n,t)?(0,I.WU)(n,"EEEE"):(0,k.F)(n,t)?(0,I.WU)(n,"MMMM do"):(0,I.WU)(n,"MMMM do, yyyy")}function X(e){return(0,p.z)(eh(e))}function J(e,t){let n=t?eh(t):new Date;return(0,x.R)(eh(e),n)}function $(e,t){let n=t?eh(t):new Date;return(0,y.A)(eh(e),n)}let ee="America/Los_Angeles",et={locale:R};function en(e,t){return(0,I.WU)(eh(e),t,et)}function er(e){return en(e,"EEEE, MMMM do yyyy, h:mm:ss a")}function ei(e,t){return ep(e,"v6"===t?"LLLL d 'at' hh:mmaaaaa'm'":"MMMM do, yyyy h:mm a zzz")}function eo(e){return en(e,"yyyy-MM-dd")}function ea(e){return en(e,"MMMM do, yyyy")}function el(e){return en(e,"MMM d, yyyy")}function es(e){return en(e,"MMMM yyyy")}function ec(e){return en(e,"MMM yyyy")}function eu(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,w.H)(eh(e),new Date,{addSuffix:t})}function ed(e,t){let n=new Date;switch(t){case"months":return(0,b.d)(n,eh(e));case"weeks":return(0,j.p)(n,eh(e));default:return(0,d.j)(n,eh(e))}}function ef(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,_.Q)(eh(e),{addSuffix:t,includeSeconds:n,locale:R})}function em(e){return(0,I.zW)(e,ee)}function eh(e){return"string"==typeof e?(0,N.D)(e):"number"==typeof e?new Date(e):e}function ep(e,t){return(0,I.WU)((0,I.zW)(e,ee),t,{...et,timeZone:ee})}function ev(e){return new Intl.DateTimeFormat("en-US",{timeZone:"America/Los_Angeles",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(eh(e))+" PT"}function eg(e){let t=new Date,n=em(eh(e));return(0,g.x)(n,t)?"".concat((0,I.WU)(n,"EEEE")," at ").concat((0,I.WU)(n,"h:mm a")):(0,k.F)(n,t)?(0,I.WU)(n,"MMMM do h:mm a"):(0,I.WU)(n,"MMMM do h:mm a, yyyy")}function ek(e,t){return(0,S.K)(eh(e),eh(t))}function ex(e){let t=eh(e);return 6===t.getDay()?t:(0,E.v)(t,6,{weekStartsOn:0})}function ey(e){let t=new Date,n=eh(e);return(0,p.z)(n)?ef(n,!1):(0,k.F)(n,t)?(0,I.WU)(n,"MMM d"):(0,I.WU)(n,"MMM d, yyyy")}function ew(e){return(0,d.j)(new Date,eh(e))}function eb(e,t,n){let r=new Date(e,t-1,n);return r.setHours(0,0,0,0),r}function ej(e){return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate()}}function e_(e){let t=new Date;return t.setMonth(e-1),t.toLocaleDateString("default",{month:"long"})}function eN(e,t){return(0,C.M)((0,P.$)(eb(e,1,4)),t)}function eS(e,t){return(0,C.M)((0,F.U)(eb(e,1,1)),t)}function eE(e,t){return(0,r.G)(eS(e,t),1)}},63843:function(e,t,n){"use strict";function r(e){e.stopPropagation()}n.d(t,{E:function(){return r}}),n(2265)},97563:function(e,t,n){"use strict";n.d(t,{I:function(){return s},e4:function(){return o},qD:function(){return a},sQ:function(){return i},sY:function(){return c},xy:function(){return l}});var r=n(51266);function i(e,t){return o("".concat(r.se,"/").concat(e),t||{})}function o(e,t){let{height:n,width:r,quality:i,fm:o,blur:a,fillColor:l,auto:s,...c}=t,u="auto=".concat(s||"compress","&codec=mozjpeg&cs=strip"),d=o;return d||s||(u+="&auto=format"),(Number(r)>1e3||Number(n)>1e3)&&(d="pjpg"),d&&(u+="&fm=".concat(d)),r&&(u+="&w=".concat(r)),n&&(u+="&h=".concat(n)),i&&(u+="&q=".concat(i)),a&&(u+="&blur=".concat(a)),l&&(u+="&fill-color=".concat(l)),Object.entries(c||{}).forEach(e=>{let[t,n]=e;n&&(u+="&".concat(t,"=").concat(n))}),e=e.split("?")[0],"".concat(e,"?").concat(u)}function a(e){let{src:t,fm:n,width:r,height:i,fit:o="crop",bg:a}=e,l="".concat(t,"?fm=").concat(n,"&crop=").concat(o);return r&&(l+="&w=".concat(r)),i&&(l+="&h=".concat(i)),a&&(l+="&bg=".concat(a)),r&&r<500&&(l+="&dpr=2"),l}function l(e){let{uuid:t,fm:n,width:i,height:o,fit:l="crop",bg:s}=e;return a({src:"".concat(r.se,"/").concat(t),fm:n,width:i,height:o,fit:l,bg:s})}function s(e){return!!e&&e.includes("unsplash.com")}function c(e){return!!e&&(e.endsWith(".gif")||e.endsWith(".webp"))}},92705:function(e,t,n){"use strict";n.d(t,{X9:function(){return d},a6:function(){return c},et:function(){return u}});var r=n(2265),i=n(48464),o=n(59274),a=n(78204),l=n(16463),s=n(19984);let c="ModalOpen",u="ModalClose";function d(){let[e,t]=r.useState([]),{updateLocation:n}=(0,a.default)(),i=(0,l.usePathname)(),d=(0,l.useSearchParams)(),m=r.useRef(null);r.useEffect(()=>{m.current=e[0]},[e]),r.useEffect(()=>()=>{m.current&&m.current.url&&f(m.current.url)||(0,s.gr)()},[i,d]);let h=r.useMemo(()=>({open(r){var i;r.url&&(null===(i=e[0])||void 0===i?void 0:i.url)===r.url||(r.previousPath=r.resetToRoot?"/":window.location?window.location.pathname+window.location.search+window.location.hash:"/",r.replace?t(e=>[r,...e.slice(1)]):t([r,...e]),r.url&&!f(r.url)&&n(r.url,r.replace,void 0,!0))},close:r=>{let{updateNavigation:i}=r,[o,...a]=e;o&&(i&&o.previousPath&&!f(o.previousPath)&&n(o.previousPath,!0,void 0,!0),t(a))}}),[e,n]);return(0,o.v)(c,h.open),(0,o.v)(u,h.close),e[0]||null}function f(e){if(!e||!window.location)return!1;let t=(0,i.parse)(e);return t.pathname===window.location.pathname&&(t.hash||"")===(window.location.hash||"")}},15508:function(e,t,n){"use strict";n.d(t,{L:function(){return l},v:function(){return a}});var r=n(2265),i=n(59274),o=n(78204);function a(){let{updateLocation:e}=(0,o.default)();return r.useCallback(function(t){let{redirect:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,i.j)("NoticeOpen",t),n){var r;setTimeout(()=>e(n.to),null!==(r=n.afterMs)&&void 0!==r?r:1e3)}},[e])}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;setTimeout(()=>{(0,i.j)("NoticeOpen",e)},t)}},92091:function(e,t,n){"use strict";n.d(t,{$:function(){return i},F:function(){return o}});let r=/(\d)(?=(\d\d\d)+(?!\d))/g;function i(e){if(!e)return"0";let[t,n]=e.toString().split(".");return(t=t.replace(r,e=>"".concat(e,",")),n)?"".concat(t,".").concat(n):t}function o(e){return e>=1e6?(e/1e6).toFixed(1)+"M":e>999?(e/1e3).toFixed(1)+"K":e}},79576:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(57437);n(2265);var i=n(19984),o=n(50570),a=n(24109),l=n(28486),s=n(46142),c=n(41521),u=n(49140),d=n.n(u),f=n(56800),m=n.n(f);function h(e){let{reason:t}=e;(0,i.h7)({content:(0,r.jsxs)("div",{className:m()(d().container,"flex flex-col items-center gap-6"),children:[(0,r.jsx)(s.Z,{cdnPath:"category-tech/kitty.png",width:100,height:92,alt:"Product Hunt Login Kitty Logo"}),(0,r.jsx)(l.Z,{as:"h1",fontWeight:"semibold",fontSize:24,children:t?"Please verify your email in order to ".concat(t):"Please verify your email"}),(0,r.jsxs)(l.Z,{fontSize:14,color:"light-gray",children:["If you need to update the email linked to your account, go to"," ",(0,r.jsx)(l.Z.Link,{className:d().textLink,fontSize:14,color:"light-gray",hover:"blue",to:o.Z.user.profile(),target:"_blank",children:"your profile"}),"."]}),(0,r.jsx)(c.Z,{ButtonComponent:a.Z.Primary,children:"Resend confirmation"})]})})}},15462:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(57437);n(2265);var i=n(19984),o=n(57818),a=n(9572);function l(e){let{reason:t,trackingComponent:n}=e;(0,i.h7)({content:(0,r.jsx)(s,{reason:t,trackingComponent:n})})}let s=(0,o.default)(()=>Promise.all([n.e(13798),n.e(4546),n.e(94810),n.e(97255),n.e(73368)]).then(n.bind(n,73368)),{loadableGenerated:{webpack:()=>[73368]},loading:()=>(0,r.jsx)(a.Z,{})})},49242:function(e,t,n){"use strict";n.d(t,{Rz:function(){return o},iC:function(){return a},pk:function(){return i}}),n(2265);var r=n(59274);function i(e,t){(0,r.j)("PopoverToggle",{target:e,content:t})}function o(e,t){(0,r.j)("PopoverOpen",{target:e,content:t})}function a(){(0,r.j)("PopoverClose",null)}},37559:function(e){e.exports={backgroundImage:"styles_backgroundImage__KSpuM"}},8855:function(e){e.exports={reset:"styles_reset__0clCw",button:"styles_button__BmLM4",primary:"styles_primary__o9u3f",secondary:"styles_secondary__zB2Yb",small:"styles_small___owQ3",full:"styles_full__j4aVK",active:"styles_active__hotUv",fillWidth:"styles_fillWidth__i1e0K",blank:"styles_blank__ZZrxq"}},26194:function(e){e.exports={video:"styles_video__b8SeA",placeholder:"styles_placeholder__UiKRg"}},68113:function(e){e.exports={gold:"styles_gold__FIH2a",silver:"styles_silver__g_vct",bronze:"styles_bronze__gowIu"}},240:function(e){e.exports={screenReader:"styles_screenReader___13hu"}},26033:function(e){e.exports={container:"styles_container__pCSun",background:"styles_background__k2DVO",headline:"styles_headline__AmAeL",credit:"styles_credit__52S_O",image:"styles_image__s4YDy",box:"styles_box__EX4WD",button:"styles_button__ApmdG",devError:"styles_devError__qwmYW"}},49732:function(e){e.exports={activeUserFollowButton:"styles_activeUserFollowButton____lxf"}},59725:function(e){e.exports={inline:"styles_inline__Y6yqI",loader:"styles_loader__VMqCL",container:"styles_container__1cWVT",bottomSection:"styles_bottomSection__wj6Z5",role:"styles_role__bBMGN",hunterRole:"styles_hunterRole__Ql3_j",makerRole:"styles_makerRole__VkkHg",commenterRole:"styles_commenterRole__2LQCW",upvoterRole:"styles_upvoterRole__7ehz9",followButton:"styles_followButton___FOjB",popper:"styles_popper__1BzJg"}},58638:function(e){e.exports={odd:"styles_odd__wazk7",even:"styles_even__Qeyum"}},76271:function(e){e.exports={dropdown:"styles_dropdown__6p8ZV",small:"styles_small__Z8lg1",right:"styles_right__sWl5y",left:"styles_left__zme_r",shadow:"styles_shadow__RlOHG",separator:"styles_separator__DMWpM",submenuHover:"styles_submenuHover__m23JM"}},3601:function(e){e.exports={gradient:"styles_gradient__5cYBT",hoverMenu:"styles_hoverMenu__mIe2E"}},90156:function(e){e.exports={header:"styles_header__a5tfx",stickyHeader:"styles_stickyHeader__exul9",logo:"styles_logo__xwGFq",submit:"styles_submit__58ZM_"}},39354:function(e){e.exports={button:"styles_button__4HnLN",icon:"styles_icon__7xTsA"}},25226:function(e){e.exports={appBanner:"styles_appBanner__vKg0X"}},67954:function(e){e.exports={hamburger:"styles_hamburger__PLfOz",hamburgerTop:"styles_hamburgerTop__ZmYW_",hamburgerMiddle:"styles_hamburgerMiddle__jorTa",hamburgerBottom:"styles_hamburgerBottom__6mkhb",open:"styles_open__vDfJq"}},44831:function(e){e.exports={menu:"styles_menu__RTGWu",accordian:"styles_accordian__XDNcn",icon:"styles_icon__T6lZD",opened:"styles_opened__XDOCn"}},78910:function(e){e.exports={submit:"styles_submit__cTGNQ"}},4928:function(e){e.exports={header:"styles_header__hxGSK",logo:"styles_logo__xeq4y",headerOpen:"styles_headerOpen__bD52S"}},44014:function(e){e.exports={notification:"styles_notification__5vDwu",wiggle:"styles_wiggle__zVA09",unseen:"styles_unseen__KcVJ9"}},16553:function(e){e.exports={container:"styles_container__jp_kK",searchIcon:"styles_searchIcon__EUOS2",input:"styles_input__P5XTw",focused:"styles_focused__vjcow",tabletContainer:"styles_tabletContainer__osHmN"}},49838:function(e){e.exports={container:"styles_container__T4TJj"}},57401:function(e){e.exports={dropdown:"styles_dropdown__Id1LQ",small:"styles_small__7Do_R",right:"styles_right__EfLhk",left:"styles_left__a4ZNJ",shadow:"styles_shadow__0TWsG",separator:"styles_separator__UBc1V",hovered:"styles_hovered__HKoxi",container:"styles_container__K6Yj1"}},97478:function(e){e.exports={overlay:"styles_overlay__XLMQA",content:"styles_content__YesHX",contentCenter:"styles_contentCenter__BFbPB"}},46577:function(e){e.exports={notice:"styles_notice__uUViN",close:"styles_close__i5nIn",message:"styles_message__YFRhd",success:"styles_success__612Hh",error:"styles_error__EmiUw"}},49140:function(e){e.exports={container:"styles_container__6pjQB",textLink:"styles_textLink__klKMn"}},78639:function(e){e.exports={popover:"styles_popover__mdfV7"}}},function(e){e.O(0,[94810,15102,18020,95465,66084,97255,7957,53877,46403,58056,87138,48191,14604,55579,94531,7851,6469,39280,30283,25167,9783,50570,69558,63761,49423,92971,8523,1744],function(){return e(e.s=95214)}),_N_E=e.O()}]);