PageSourceSearch

https://aiven.io/remix-chunks/sharing-links-8MxCZQNE.js

js aiven.io collected 2026-09-24 08:42:16 UTC 4,698 bytes, 22 lines download raw bytes

1import{j as e,P as v,c as I}from"./typography-C5LMSFAT.js";import{B as N}from"./iframe-B8obmst8.js";import{c as S}from"./button-BhJu3BAA.js";import{l as z,f as T,t as E}from"./icon-twitter-CzWlWtnF.js";import{b as L}from"./misc-bYcQwmo8.js";import{b as f}from"./site-CNjt5fhN.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"bb7bd624a8a3321ff6d1587f421551039a69f342"}}catch{}})();try{(function(){var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="473e3192-a1b0-489a-b69b-915ea3da9a36",t._sentryDebugIdIdentifier="sentry-dbid-473e3192-a1b0-489a-b69b-915ea3da9a36")})()}catch{}const U="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21.5%2018L14.8571%2012M9.14286%2012L2.50003%2018M2%207L10.1649%2012.7154C10.8261%2013.1783%2011.1567%2013.4097%2011.5163%2013.4993C11.8339%2013.5785%2012.1661%2013.5785%2012.4837%2013.4993C12.8433%2013.4097%2013.1739%2013.1783%2013.8351%2012.7154L22%207M6.8%2020H17.2C18.8802%2020%2019.7202%2020%2020.362%2019.673C20.9265%2019.3854%2021.3854%2018.9265%2021.673%2018.362C22%2017.7202%2022%2016.8802%2022%2015.2V8.8C22%207.11984%2022%206.27976%2021.673%205.63803C21.3854%205.07354%2020.9265%204.6146%2020.362%204.32698C19.7202%204%2018.8802%204%2017.2%204H6.8C5.11984%204%204.27976%204%203.63803%204.32698C3.07354%204.6146%202.6146%205.07354%202.32698%205.63803C2%206.27976%202%207.11984%202%208.8V15.2C2%2016.8802%202%2017.7202%202.32698%2018.362C2.6146%2018.9265%203.07354%2019.3854%203.63803%2019.673C4.27976%2020%205.11984%2020%206.8%2020Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='1.5'%20/%3e%3c/svg%3e";function F({tagline:t,title:r,subtitle:s,shareTitle:i,currentUrl:o,variant:c="default",disableLinkedinShare:u=!1,disableFacebookShare:b=!1,disableTwitterShare:m=!1,disableEmailShare:g=!1}){const{requestInfo:p}=S(),x=L(p),d=i?encodeURIComponent(i):"",h=o||x,a=encodeURIComponent(h),w=`Check%20out%20this%20page%20${h}`,j=`https://www.facebook.com/sharer/sharer.php?u=${a}`,k=`https://www.linkedin.com/shareArticle?mini=true&url=${a}`,y=`https://twitter.com/intent/tweet?text=${d}&url=${a}`;function l(n){n.preventDefault(),f({object:"social media",action:"share",value:n.currentTarget.title}),window.open(n.currentTarget.href,"pop-up","left=1000,top=400,width=500,height=500,toolbar=1,resizable=0")}function C(){f({object:"social media",action:"share",value:"Share via email"})}return e.jsxs(e.Fragment,{children:[t||r?e.jsxs("div",{className:"mx-auto mb-6 max-w-content text-center",children:[t?e.jsx(v,{size:"overline",className:"mb-5",color:"tagline",children:t}):null,r?e.jsx("h2",{className:"mb-5",children:r}):null,s?e.jsx(N,{paragraphClassName:"text-md",value:s}):null]}):null,e.jsxs("ul",{className:I("flex items-center",{"flex-col justify-center gap-5 sm:flex-row":c==="button","flex-row gap-4":c==="default"}),children:[u?null:e.jsx("li",{className:`
2							flex size-8 items-center justify-center rounded-full
3							border border-base bg-black
4							hover:bg-surface
5							light:hover:bg-grey-70
6						`,children:e.jsx("a",{href:k,title:"Share on LinkedIn",onClick:l,children:e.jsx("img",{className:"size-[18px]",src:z,alt:"LinkedIn",width:"18",height:"18","aria-hidden":"true"})})}),b?null:e.jsx("li",{className:`
7							flex size-8 items-center justify-center rounded-full
8							border border-base bg-black
9							hover:bg-surface
10							light:hover:bg-grey-70
11						`,children:e.jsx("a",{href:j,title:"Share on Facebook",onClick:l,children:e.jsx("img",{className:"size-6",src:T,alt:"Facebook","aria-hidden":"true"})})}),m?null:e.jsx("li",{className:`
12							flex size-8 items-center justify-center rounded-full
13							border border-base bg-black
14							hover:bg-surface
15							light:hover:bg-grey-70
16						`,children:e.jsx("a",{href:y,title:"Share on Twitter",onClick:l,children:e.jsx("img",{src:E,alt:"Twitter",className:"size-6",width:"20",height:"20","aria-hidden":"true"})})}),g?null:e.jsx("li",{className:`
17							flex size-8 items-center justify-center rounded-full
18							border border-base bg-black
19							hover:bg-surface
20							light:hover:bg-grey-70
21						`,children:e.jsx("a",{href:`mailto:?subject=${d}&body=${w}`,title:"Share via email",onClick:C,children:e.jsx("img",{src:U,alt:"Email",className:"size-6",width:"20",height:"20","aria-hidden":"true"})})})]})]})}export{F as S};
22//# sourceMappingURL=sharing-links-8MxCZQNE.js.map

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.