PageSourceSearch

https://nicklaunches.com/_next/static/chunks/0ca597zno0xaj.js

js nicklaunches.com collected 2026-10-01 12:33:01 UTC 23,014 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,38760,e=>{"use strict";var t=e.i(610359);e.s(["CountSkeleton",0,function({className:e="h-3 w-4"}){return(0,t.jsx)("span",{className:`bg-foreground/20 inline-block animate-pulse rounded ${e}`,"aria-hidden":"true"})},"UpvoteSpinner",0,function({className:e="size-4"}){return(0,t.jsxs)("svg",{className:`${e} animate-spin`,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})]})}])},157623,e=>{"use strict";var t=e.i(455657);let{Provider:r,useUpvote:n}=(0,e.i(496972).createUpvoteStore)({fetchCounts:e=>t.client.signals.upvoteCounts(e),submitUpvote:e=>t.client.signals.upvote(e)});e.s(["SignalUpvoteProvider",0,r,"useSignalUpvote",0,n])},423113,e=>{"use strict";var t=e.i(610359),r=e.i(506910),n=e.i(217848),o=e.i(126421),a=e.i(38760),s=e.i(705983),i=e.i(157623),l=e.i(693015);function d({className:e}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 4l8 10H4l8-10z"})})}function c({slug:e,name:s,callbackUrl:i,snap:u}){let{data:f}=(0,r.useSession)(),h=!!f?.user?.id,{upvotes:x,upvoted:b,loading:m,submit:p}=u,[g,v]=(0,o.useState)(!1),y=m?(0,t.jsx)(a.CountSkeleton,{}):(0,t.jsx)("span",{className:"font-heading text-sm leading-none",children:x});if(!h)return(0,t.jsxs)(n.default,{href:i,"aria-label":`Sign in to upvote ${s}`,className:"border-border bg-secondary-background text-foreground shadow-shadow hover:translate-x-boxShadowX hover:translate-y-boxShadowY hover:bg-main/20 flex size-14 flex-col items-center justify-center gap-0.5 rounded-full border-2 transition-all hover:shadow-none",children:[(0,t.jsx)(d,{className:"size-4"}),y]});let w=b?"bg-main text-main-foreground":"bg-secondary-background text-foreground hover:bg-main/20";return(0,t.jsxs)("button",{type:"button",disabled:g||b||m,"aria-pressed":b,"aria-label":b?`You upvoted ${s}`:`Upvote ${s}`,onClick:async t=>{if(t.preventDefault(),t.stopPropagation(),!g&&!b){v(!0);try{await p()&&(0,l.track)("upvote",{surface:"card",item_id:e})}finally{v(!1)}}},className:`border-border shadow-shadow hover:translate-x-boxShadowX hover:translate-y-boxShadowY disabled:hover:shadow-shadow flex size-14 flex-col items-center justify-center gap-0.5 rounded-full border-2 transition-all hover:shadow-none disabled:hover:translate-x-0 disabled:hover:translate-y-0 ${w}`,children:[g?(0,t.jsx)(a.UpvoteSpinner,{className:"size-4"}):(0,t.jsx)(d,{className:"size-4"}),y]})}function u({slug:e,callbackUrl:s,snap:i}){let{data:c}=(0,r.useSession)(),f=!!c?.user?.id,{upvotes:h,upvoted:x,loading:b,submit:m}=i,[p,g]=(0,o.useState)(!1),[v,y]=(0,o.useState)(null),w=b?(0,t.jsx)(a.CountSkeleton,{className:"h-4 w-5"}):(0,t.jsx)("span",{className:"font-heading",children:h});return f?(0,t.jsxs)("div",{className:"flex flex-col items-stretch gap-2",children:[(0,t.jsxs)("button",{type:"button",disabled:p||x||b,"aria-pressed":x,onClick:async()=>{if(!p&&!x){y(null),g(!0);try{await m()?(0,l.track)("upvote",{surface:"product_page",item_id:e}):y("Could not save your upvote.")}finally{g(!1)}}},className:"border-border bg-main text-main-foreground shadow-shadow hover:translate-x-boxShadowX hover:translate-y-boxShadowY rounded-base disabled:shadow-shadow inline-flex min-h-14 items-center justify-center gap-2 border-2 px-5 py-3 text-sm font-semibold transition-all hover:shadow-none disabled:translate-x-0 disabled:translate-y-0 disabled:opacity-70",children:[p?(0,t.jsx)(a.UpvoteSpinner,{className:"size-4"}):(0,t.jsx)(d,{className:"size-4"}),(0,t.jsx)("span",{children:p?"Saving...":x?"Upvoted":"Upvote"}),w]}),v?(0,t.jsx)("p",{className:"text-danger text-center text-xs",children:v}):null]}):(0,t.jsxs)("div",{className:"flex flex-col items-stretch gap-2",children:[(0,t.jsxs)(n.default,{href:s,className:"border-border bg-secondary-background text-foreground shadow-shadow hover:translate-x-boxShadowX hover:translate-y-boxShadowY rounded-base inline-flex min-h-14 items-center justify-center gap-2 border-2 px-5 py-3 text-sm font-semibold transition-all hover:shadow-none",children:[(0,t.jsx)(d,{className:"size-4"}),w]}
1),(0,t.jsx)("p",{className:"text-foreground/60 text-center text-xs",children:"Sign in to upvote"})]})}function f({slug:e,name:r,callbackUrl:n}){let o=(0,s.useProductUpvote)(e);return(0,t.jsx)(c,{slug:e,name:r,callbackUrl:n,snap:o})}function h({slug:e,name:r,callbackUrl:n}){let o=(0,i.useSignalUpvote)(e);return(0,t.jsx)(c,{slug:e,name:r,callbackUrl:n,snap:o})}function x({slug:e,callbackUrl:r}){let n=(0,s.useProductUpvote)(e);return(0,t.jsx)(u,{slug:e,callbackUrl:r,snap:n})}e.s(["UpvoteButton",0,function({target:e,variant:r,slug:n,name:o,callbackUrl:a}){return"page"===r?(0,t.jsx)(x,{slug:n,callbackUrl:a}):"signal"===e?(0,t.jsx)(h,{slug:n,name:o??"",callbackUrl:a}):(0,t.jsx)(f,{slug:n,name:o??"",callbackUrl:a})}])},512603,e=>{"use strict";var t=e.i(366225);let r=new(e.i(367239)).RPCLink({url:()=>`${window.location.origin}/api/rpc`,fetch:async(e,t)=>{let r=new URL(e.url);r.pathname.endsWith("/")||(r.pathname+="/");let n="GET"===e.method||"HEAD"===e.method?void 0:await e.blob();return globalThis.fetch(r,{...t,method:e.method,headers:e.headers,body:n,signal:e.signal,credentials:"include",redirect:"follow",keepalive:!0})}}),n=(0,t.createORPCClient)(r);e.s(["beaconClient",0,n])},52807,e=>{"use strict";var t=e.i(610359),r=e.i(126421),n=e.i(512603);let o=new Set,a=new WeakMap,s=new WeakMap,i=null,l=null,d=!1;function c(){if(null!=l&&(clearTimeout(l),l=null),0!==o.size)for(;o.size>0;){let e=Array.from(o).slice(0,50);for(let t of e)o.delete(t);n.beaconClient.products.recordImpressions({slugs:e}).catch(()=>{})}}function u(e){let t=a.get(e);null!=t&&(clearTimeout(t),a.delete(e))}e.s(["ImpressionTracker",0,function({slug:e}){let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{try{if(sessionStorage.getItem(`nl-imp:${e}`))return}catch{}let t="u"<typeof IntersectionObserver?null:i||(i=new IntersectionObserver(e=>{for(let t of e){let e=t.target;if(t.isIntersecting&&t.intersectionRatio>=.5){if(a.has(e))continue;let t=window.setTimeout(()=>{a.delete(e),i?.unobserve(e);let t=s.get(e);t&&function(e){if(function(e){try{let t=`nl-imp:${e}`;if(sessionStorage.getItem(t))return!1;return sessionStorage.setItem(t,"1"),!0}catch{return!0}}(e)){if(o.add(e),d||(d=!0,document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&c()}),window.addEventListener("pagehide",()=>c())),o.size>=50)return c();null!=l&&clearTimeout(l),l=window.setTimeout(c,3e3)}}(t)},1e3);a.set(e,t)}else u(e)}},{threshold:[.5]})),r=n.current?.parentElement??n.current;if(t&&r)return s.set(r,e),t.observe(r),()=>{u(r),t.unobserve(r),s.delete(r)}},[e]),(0,t.jsx)("span",{ref:n,"aria-hidden":"true",className:"hidden"})}])},333360,e=>{"use strict";let t=(0,e.i(870452).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],333360)},449416,e=>{"use strict";let t=(0,e.i(870452).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],449416)},719913,e=>{"use strict";var t=e.i(610359);let r={card:"bg-secondary-background text-foreground",sunken:"bg-background text-foreground",accent:"bg-main text-main-foreground",none:""},n={none:"",sm:"p-4",md:"p-5",lg:"p-6",xl:"p-8"},o={flat:"",raised:"shadow-shadow",pressable:"shadow-shadow transition-all hover:translate-x-boxShadowX hover:translate-y-boxShadowY hover:shadow-none"};e.s(["Card",0,function({as:e="div",surface:a="none",padding:s="none",elevation:i="flat",heavy:l=!1,className:d="",children:c,...u}){let f=["border-border rounded-base",l?"border-4":"border-2",r[a],n[s],o[i],d].filter(Boolean).join(" ");return(0,t.jsx)(e,{className:f,...u,children:c})}])},157496,e=>{"use strict";var t=e.i(610359);let r={neutral:"border-border bg-secondary-background text-foreground",sunken:"border-border bg-background text-foreground",accent:"border-border bg-main text-main-foreground",tint:"border-main bg-main/20 text-foreground",green:"border-border bg-green text-main-foreground",red:"border-border bg-red text-main-foreground"},n={xs:"px-1.5 py-0.5 text-[10px]",sm:"px-2 py-0.5 text-[11px]",md:"px-2.5 py-0.5 text-xs"};e.s(["Badge",0,function({tone:e="neutral",size:o="md",pill:a=!1,uppercase:s=!1,hairline:i=!1,icon:l,className:d="",children:c}){let u=["inline-flex items-center gap-1 align-middle font-semibold whitespace-nowrap",a?"rounded-full":"rounded-base",i?"border":"border-2",s?"tracking-wide uppercase":"",r[e],n[o],d].filter(
1Boolean).join(" ");return(0,t.jsxs)("span",{className:u,children:[l,c]})},"CardFlag",0,function({align:e="right",tone:n="accent",children:o}){return(0,t.jsx)("span",{className:`border-border rounded-base absolute -top-3 ${"left"===e?"left-4":"right-4"} inline-flex items-center border-2 px-2 py-0.5 text-[10px] font-semibold tracking-wide uppercase ${r[n]}`,children:o})}])},134960,e=>{"use strict";var t=e.i(610359),r=e.i(333360),n=e.i(449416),o=e.i(126421);e.s(["CopyButton",0,function({value:e,label:a="Copy",copiedLabel:s="Copied",className:i,compact:l=!1,onCopied:d}){let[c,u]=(0,o.useState)(!1);async function f(){try{await navigator.clipboard.writeText(e),u(!0),d?.()}catch{window.prompt("Copy",e)}}return(0,o.useEffect)(()=>{if(!c)return;let e=window.setTimeout(()=>u(!1),2e3);return()=>window.clearTimeout(e)},[c]),(0,t.jsxs)("button",{type:"button",onClick:f,"aria-live":"polite",className:[l?"border-border bg-background hover:bg-secondary-background rounded-base inline-flex items-center gap-1.5 border-2 px-2.5 py-1 text-xs font-semibold transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground focus-visible:ring-offset-2":"border-border bg-secondary-background shadow-shadow hover:translate-x-boxShadowX hover:translate-y-boxShadowY rounded-base inline-flex items-center justify-center gap-2 border-2 px-4 py-2 text-sm font-semibold transition-all hover:shadow-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground focus-visible:ring-offset-2",i].filter(Boolean).join(" "),children:[c?(0,t.jsx)(r.Check,{className:"size-3.5","aria-hidden":"true"}):(0,t.jsx)(n.Copy,{className:"size-3.5","aria-hidden":"true"}),(0,t.jsx)("span",{children:c?s:a})]})}])},997678,e=>{"use strict";var t=e.i(610359),r=e.i(126421);let n={sm:"px-2 py-1 text-xs",md:"px-3 py-2 text-sm",lg:"min-h-12 px-4 py-3 text-sm"},o={flat:"focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-transparent",raised:"shadow-shadow focus-visible:translate-x-boxShadowX focus-visible:translate-y-boxShadowY focus-visible:shadow-none"},a={card:"bg-secondary-background",sunken:"bg-background"};function s(e,t,r,s,i){return["border-border text-foreground placeholder:text-foreground/50 rounded-base w-full border-2 transition-all outline-none disabled:cursor-not-allowed disabled:opacity-60",a[r],n[e],o[t],s?"border-danger focus-visible:ring-danger":"",i].filter(Boolean).join(" ")}e.s(["Field",0,function({label:e,hint:n,error:o,count:a,required:s=!1,className:i="",children:l}){let d=(0,r.useId)(),c=`${d}-hint`,u=`${d}-error`,f="function"==typeof l,h=(0,t.jsxs)("span",{className:"flex items-center justify-between gap-2",children:[(0,t.jsxs)("span",{className:"font-heading text-foreground text-sm",children:[e,s&&(0,t.jsx)("span",{className:"text-danger ml-1","aria-hidden":"true",children:"*"})]}),a&&(0,t.jsx)("span",{className:"text-foreground/50 text-xs",children:a})]}),x=(0,t.jsxs)(t.Fragment,{children:[f?l({id:d,"aria-describedby":o?u:n?c:void 0,invalid:!!o}):l,o?(0,t.jsx)("p",{id:u,role:"alert",className:"text-danger text-xs font-semibold",children:o}):n?(0,t.jsx)("p",{id:c,className:"text-foreground/70 text-xs",children:n}):null]});return f?(0,t.jsxs)("div",{className:`flex flex-col gap-1.5 ${i}`.trim(),children:[(0,t.jsx)("label",{htmlFor:d,children:h}),x]}):(0,t.jsxs)("label",{className:`flex flex-col gap-1.5 ${i}`.trim(),children:[h,x]})},"Input",0,function({size:e="lg",elevation:r="raised",surface:n="card",invalid:o=!1,className:a,...i}){return(0,t.jsx)("input",{className:s(e,r,n,o,a),"aria-invalid":o||void 0,...i})},"Select",0,function({size:e="lg",elevation:r="raised",surface:n="card",invalid:o=!1,className:a,...i}){return(0,t.jsx)("select",{className:s(e,r,n,o,a),"aria-invalid":o||void 0,...i})},"Textarea",0,function({size:e="lg",elevation:r="raised",surface:n="card",invalid:o=!1,className:a,...i}){return(0,t.jsx)("textarea",{className:s(e,r,n,o,a),"aria-invalid":o||void 0,...i})}])},614781,e=>{"use strict";let t=(0,e.i(870452).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",0,t],614781)},821576,e=>{"use strict";let t=(0,e.i(870452).default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);e.s(["MessageCircle",0,t],821576)},2811,e=>{"use strict";let t=(0,e.i(870452).default)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);e.s(["Bell",0,t],2811)},581936,e=>{"use strict";function t(e){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric"}).format(new Date(e))}e.s(["formatDate",0,t,"parseDemoVideo",0,function(e){try{let t=new URL(e),r=t.hostname.replace(/^www\./,"");if("youtube.com"===r||"m.youtube.com"===r){let e=t.searchParams.get("v");if(e)return{kind:"youtube",embedUrl:`https://www.youtube.com/embed/${encodeURIComponent(e)}`}}if("youtu.be"===r){let e=t.pathname.slice(1).split("/")[0];if(e)return{kind:"youtube",embedUrl:`https://www.youtube.com/embed/${encodeURIComponent(e)}`}}
1if("vimeo.com"===r){let e=t.pathname.split("/").filter(Boolean)[0];if(e&&/^\d+$/.test(e))return{kind:"vimeo",embedUrl:`https://player.vimeo.com/video/${e}`}}if(/\.mp4($|\?)/i.test(t.pathname+t.search))return{kind:"mp4",embedUrl:t.toString()}}catch{}return null},"relativeDate",0,function(e){let r=new Date(e),n=Math.max(1,Math.floor((Date.now()-r.getTime())/6e4));if(n<60)return`${n}m`;let o=Math.floor(n/60);if(o<24)return`${o}h`;let a=Math.floor(o/24);return a<30?`${a}d`:t(e)}])},325661,(e,t,r)=>{"use strict";var n=e.r(126421),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,s=n.useEffect,i=n.useLayoutEffect,l=n.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),o=n[0].inst,c=n[1];return i(function(){o.value=r,o.getSnapshot=t,d(o)&&c({inst:o})},[e,r,t]),s(function(){return d(o)&&c({inst:o}),e(function(){d(o)&&c({inst:o})})},[e]),l(r),r};r.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},56032,(e,t,r)=>{"use strict";t.exports=e.r(325661)},220206,(e,t,r)=>{"use strict";var n=e.r(126421),o=e.r(56032),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useSyncExternalStore,i=n.useRef,l=n.useEffect,d=n.useMemo,c=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var u=i(null);if(null===u.current){var f={hasValue:!1,value:null};u.current=f}else f=u.current;var h=s(e,(u=d(function(){function e(e){if(!l){if(l=!0,s=e,e=n(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return i=t}return i=e}if(t=i,a(s,e))return t;var r=n(e);return void 0!==o&&o(t,r)?(s=e,t):(s=e,i=r)}var s,i,l=!1,d=void 0===r?null:r;return[function(){return e(t())},null===d?void 0:function(){return e(d())}]},[t,r,n,o]))[0],u[1]);return l(function(){f.hasValue=!0,f.value=h},[h]),c(h),h}},596482,(e,t,r)=>{"use strict";t.exports=e.r(220206)},887886,e=>{"use strict";var t=e.i(610359),r=e.i(333360),n=e.i(449416);let o=(0,e.i(870452).default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);var a=e.i(157537),s=e.i(126421),i=e.i(719913),l=e.i(693015);function d({product:e,sizeClass:r}){let n=e.name.charAt(0).toUpperCase();return(0,t.jsx)("div",{className:`border-border bg-background rounded-base grid shrink-0 place-content-center overflow-hidden border-2 ${r}`,children:e.logo?(0,t.jsx)("img",{src:e.logo,alt:`${e.name} logo`,className:"size-full object-cover"}):(0,t.jsx)("span",{className:"font-heading text-3xl",children:n})})}function c({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",className:e,children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}function u({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",className:e,children:(0,t.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})}function f({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",className:e,children:(0,t.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z"})})}function h({title:e,text:o,path:x,logo:b,shareItemId:m,onClose:p}
1){let[g]=(0,s.useState)(()=>{try{return new URL(x,window.location.origin).toString()}catch{return x}}),[v,y]=(0,s.useState)(!1);function w(e){m&&(0,l.track)("share",{method:e,content_type:"launch",item_id:m})}async function j(){try{await navigator.clipboard.writeText(g),y(!0),w("copy_link")}catch{window.prompt("Copy this link",g)}}(0,s.useEffect)(()=>{let e=e=>{"Escape"===e.key&&p()};document.addEventListener("keydown",e);let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=t}},[p]),(0,s.useEffect)(()=>{if(!v)return;let e=window.setTimeout(()=>y(!1),2e3);return()=>window.clearTimeout(e)},[v]);let k=o?`${e} — ${o}`:e,S=[{key:"x",label:"Share on X",href:`https://twitter.com/intent/tweet?url=${encodeURIComponent(g)}&text=${encodeURIComponent(k)}`,icon:(0,t.jsx)(c,{className:"size-5"})},{key:"facebook",label:"Share on Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(g)}`,icon:(0,t.jsx)(u,{className:"size-5"})},{key:"linkedin",label:"Share on LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(g)}`,icon:(0,t.jsx)(f,{className:"size-5"})}];return(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 px-4",role:"dialog","aria-modal":"true","aria-label":`Share ${e}`,onClick:p,children:(0,t.jsxs)(i.Card,{surface:"card",padding:"lg",elevation:"raised",className:"relative w-full max-w-md",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("button",{type:"button",onClick:p,"aria-label":"Close",className:"border-border hover:bg-background rounded-base absolute top-4 right-4 inline-flex size-8 items-center justify-center border-2 transition-colors",children:(0,t.jsx)(a.X,{className:"size-4","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center",children:[(0,t.jsx)(d,{product:{name:e,logo:b??""},sizeClass:"size-16"}),(0,t.jsx)("h2",{className:"text-lg font-bold",children:e}),o?(0,t.jsx)("p",{className:"text-foreground/70 text-sm",children:o}):null]}),(0,t.jsx)("div",{className:"mt-6 flex items-center justify-center gap-4",children:S.map(e=>(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer noopener","aria-label":e.label,title:e.label,onClick:()=>w(e.key),className:"border-border shadow-shadow hover:translate-x-boxShadowX hover:translate-y-boxShadowY bg-background rounded-base inline-flex size-14 items-center justify-center border-2 transition-all hover:shadow-none",children:e.icon},e.key))}),(0,t.jsx)("p",{className:"text-foreground/70 mt-6 mb-2 text-sm font-medium",children:"or copy link"}),(0,t.jsxs)(i.Card,{surface:"sunken",className:"flex items-center gap-2 p-1.5",children:[(0,t.jsx)("input",{type:"text",readOnly:!0,value:g,onFocus:e=>e.currentTarget.select(),className:"min-w-0 flex-1 bg-transparent px-2 text-sm focus:outline-none"}),(0,t.jsxs)("button",{type:"button",onClick:j,"aria-live":"polite",className:"border-border bg-main text-main-foreground rounded-base inline-flex shrink-0 items-center gap-1.5 border-2 px-3 py-2 text-sm font-semibold transition-colors",children:[v?(0,t.jsx)(r.Check,{className:"size-4","aria-hidden":"true"}):(0,t.jsx)(n.Copy,{className:"size-4","aria-hidden":"true"}),(0,t.jsx)("span",{children:v?"Copied":"Copy Link"})]})]})]})})}e.s(["ShareButton",0,function({title:e,text:r,path:n,logo:a,variant:i="secondary",className:l,label:d="Share",shareItemId:c}){let[u,f]=(0,s.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",onClick:()=>f(!0),className:["border-border shadow-shadow hover:translate-x-boxShadowX hover:translate-y-boxShadowY rounded-base inline-flex min-h-12 items-center justify-center gap-2 border-2 px-5 py-2.5 text-sm font-semibold transition-all hover:shadow-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground focus-visible:ring-offset-2","primary"===i?"bg-main text-main-foreground":"bg-secondary-background text-foreground",l].filter(
1Boolean).join(" "),children:[(0,t.jsx)(o,{className:"size-4","aria-hidden":"true"}),(0,t.jsx)("span",{children:d})]}),u?(0,t.jsx)(h,{title:e,text:r,path:n,logo:a,shareItemId:c,onClose:()=>f(!1)}):null]})}],887886)}]);

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