react-social-detector
Version:
A comprehensive TypeScript library for detecting and validating social network URLs with React hooks support
1 lines • 51.5 kB
JavaScript
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{forwardRef as a,useMemo as o,useState as i,useCallback as c,useRef as r,useEffect as n}from"react";var s={behance:{domains:["/behance\\.net$/"],baseUrl:"https://behance.net/",displayName:"Behance",exampleDomain:"behance.net",allowSubdomains:!1},bluesky:{domains:["/bsky\\.app$/","/bsky\\.social$/"],baseUrl:"https://bsky.app/profile/",displayName:"Bluesky",exampleDomain:"bsky.app",allowSubdomains:!1},clubhouse:{domains:["/joinclubhouse\\.com$/","/clubber\\.one$/"],baseUrl:"https://joinclubhouse.com/@",usernamePrefix:"@",displayName:"Clubhouse",exampleDomain:"joinclubhouse.com",allowSubdomains:!1},devto:{domains:["/dev\\.to$/"],baseUrl:"https://dev.to/",displayName:"Dev.to",exampleDomain:"dev.to",allowSubdomains:!1},discord:{domains:["/discord\\.com$/","/discord\\.gg$/","/discordapp\\.com$/","/discord\\.media$/","/discordapp\\.net$/","/discordstatus\\.com$/","/com\\.discord$/"],baseUrl:"https://discord.com/users/",displayName:"Discord",exampleDomain:"discord.com",allowSubdomains:!0},dribbble:{domains:["/dribbble\\.com$/"],baseUrl:"https://dribbble.com/",displayName:"Dribbble",exampleDomain:"dribbble.com",allowSubdomains:!1},facebook:{domains:["/facebook\\.com$/","/fbcdn\\.net$/","/tfbnw\\.net$/","/messenger\\.com$/","/m\\.me$/","/fb\\.com$/","/fbcdn\\.com$/","/facebook\\.net$/","/fbsbx\\.com$/","/fb\\.me$/","/thefacebook\\.com$/","/com\\.facebook\\.lite$/"],baseUrl:"https://facebook.com/",displayName:"Facebook",exampleDomain:"facebook.com",allowSubdomains:!0},github:{domains:["/github\\.com$/"],baseUrl:"https://github.com/",displayName:"GitHub",exampleDomain:"github.com",allowSubdomains:!1},gitlab:{domains:["/gitlab\\.com$/"],baseUrl:"https://gitlab.com/",displayName:"GitLab",exampleDomain:"gitlab.com",allowSubdomains:!1},instagram:{domains:["/instagram\\.com$/","/cdninstagram\\.com$/","/com\\.instagram\\.android$/","/instagram\\.c10r\\.facebook\\.com$/","/instagramstatic-a\\.akamaihd\\.net$/"],baseUrl:"https://instagram.com/",displayName:"Instagram",exampleDomain:"instagram.com",allowSubdomains:!0},linkedin:{domains:["/linkedin\\.com$/","/linkedin\\.cn$/","/linkedin\\.net$/","/linkedin\\.co\\.uk$/","/linkedin\\.com\\.br$/","/linkedin\\.com\\.au$/","/lnkd\\.in$/","/com\\.linkedin\\.android$/"],baseUrl:"https://linkedin.com/in/",displayName:"LinkedIn",exampleDomain:"linkedin.com",allowSubdomains:!0},mastodon:{domains:["/mastodon\\.social$/","/mastodon\\.world$/","/fosstodon\\.org$/"],baseUrl:"https://mastodon.social/@",usernamePrefix:"@",displayName:"Mastodon",exampleDomain:"mastodon.social",allowSubdomains:!1},medium:{domains:["/medium\\.com$/","/com\\.medium\\.reader$/","/com\\.medium$/"],baseUrl:"https://medium.com/@",usernamePrefix:"@",displayName:"Medium",exampleDomain:"medium.com",allowSubdomains:!0},onlyfans:{domains:["/onlyfans\\.com$/"],baseUrl:"https://onlyfans.com/",displayName:"OnlyFans",exampleDomain:"onlyfans.com",allowSubdomains:!1},pinterest:{domains:["/pinterest\\.com$/","/pinterest\\.co\\.uk$/","/pinterest\\.ca$/","/pinterest\\.com\\.au$/","/pinterest\\.de$/","/pinterest\\.fr$/","/pinterest\\.it$/","/pinterest\\.jp$/","/pin\\.it$/","/pinimg\\.com$/","/com\\.pinterest$/"],baseUrl:"https://pinterest.com/",displayName:"Pinterest",exampleDomain:"pinterest.com",allowSubdomains:!0},producthunt:{domains:["/producthunt\\.com$/"],baseUrl:"https://producthunt.com/@",usernamePrefix:"@",displayName:"Product Hunt",exampleDomain:"producthunt.com",allowSubdomains:!1},qq:{domains:["/qq\\.com$/","/myqcloud\\.com$/","/qcloud\\.com$/","/tencent-cloud\\.com$/","/com\\.tencent\\.mobileqq$/"],baseUrl:"https://user.qzone.qq.com/",displayName:"QQ",exampleDomain:"qq.com",allowSubdomains:!0},quora:{domains:["/quora\\.com$/","/com\\.quora\\.android$/"],baseUrl:"https://quora.com/profile/",displayName:"Quora",exampleDomain:"quora.com",allowSubdomains:!1},reddit:{domains:["/reddit\\.com$/","/redd\\.it$/","/redditgifts\\.com$/","/redditmedia\\.com$/","/redditstatic\\.com$/","/com\\.reddit\\.frontpage$/"],baseUrl:"https://reddit.com/u/",displayName:"Reddit",exampleDomain:"reddit.com",allowSubdomains:!0},slack:{domains:["/slack\\.com$/","/com\\.slack$/","/slack-redir\\.net$/"],baseUrl:"https://slack.com/app_redirect?team=",displayName:"Slack",exampleDomain:"slack.com",allowSubdomains:!0},snapchat:{domains:["/snapchat\\.com$/","/com\\.snapchat\\.android$/"],baseUrl:"https://snapchat.com/add/",displayName:"Snapchat",exampleDomain:"snapchat.com",allowSubdomains:!1},spotify:{domains:["/spotify\\.com$/"],baseUrl:"https://open.spotify.com/user/",displayName:"Spotify",exampleDomain:"spotify.com",allowSubdomains:!1},substack:{domains:["/substack\\.com$/"],baseUrl:"https://substack.com/@",usernamePrefix:"@",displayName:"Substack",exampleDomain:"substack.com",allowSubdomains:!1},telegram:{domains:["/t\\.me$/","/telegram\\.me$/","/telegram\\.org$/","/org\\.telegram\\.messenger$/"],baseUrl:"https://t.me/",displayName:"Telegram",exampleDomain:"t.me",allowSubdomains:!1},threads:{domains:["/threads\\.net$/"],baseUrl:"https://threads.net/@",usernamePrefix:"@",displayName:"Threads",exampleDomain:"threads.net",allowSubdomains:!1},tiktok:{domains:["/tiktok\\.com$/","/tiktokv\\.com$/","/tiktokcdn\\.com$/","/musical\\.ly$/","/douyin\\.com$/","/com\\.zhiliaoapp\\.musically$/"],baseUrl:"https://tiktok.com/@",usernamePrefix:"@",displayName:"TikTok",exampleDomain:"tiktok.com",allowSubdomains:!0},tumblr:{domains:["/tumblr\\.com$/","/t\\.umblr\\.com$/","/tmblr\\.co$/","/tumblr\\.net$/","/com\\.tumblr$/"],baseUrl:"https://tumblr.com/blog/",displayName:"Tumblr",exampleDomain:"tumblr.com",allowSubdomains:!0},twitter:{domains:["/twitter\\.com$/","/x\\.com$/","/twimg\\.com$/","/tweetdeck\\.com$/","/t\\.co$/","/com\\.twitter\\.android$/"],baseUrl:"https://x.com/",displayName:"X (Twitter)",exampleDomain:"x.com",allowSubdomains:!0},twitch:{domains:["/twitch\\.tv$/","/jtvnw\\.net$/","/ttvnw\\.net$/","/tv\\.twitch\\.android\\.app$/"],baseUrl:"https://twitch.tv/",displayName:"Twitch",exampleDomain:"twitch.tv",allowSubdomains:!0},vkontakte:{domains:["/vk\\.com$/","/vkontakte\\.com$/","/vk-cdn\\.me$/","/vk-cdn\\.net$/","/com\\.vkontakte\\.android$/"],baseUrl:"https://vk.com/",displayName:"VKontakte",exampleDomain:"vk.com",allowSubdomains:!0},wechat:{domains:["/wechat\\.org$/","/w\\.url\\.cn$/","/wechat\\.com$/","/com\\.tencent\\.mm$/"],baseUrl:"https://weixin.qq.com/",displayName:"WeChat",exampleDomain:"wechat.com",allowSubdomains:!0},weibo:{domains:["/weibo\\.com$/","/weibo\\.cn$/","/com\\.weico\\.international$/","/com\\.sina\\.weibo$/"],baseUrl:"https://weibo.com/u/",displayName:"Weibo",exampleDomain:"weibo.com",allowSubdomains:!0},wikipedia:{domains:["/wikipedia\\.org$/"],baseUrl:"https://en.wikipedia.org/wiki/User:",displayName:"Wikipedia",exampleDomain:"wikipedia.org",allowSubdomains:!0},whatsapp:{domains:["/whatsapp\\.net$/","/whatsapp\\.com$/","/whatsapp\\.biz$/","/wa\\.me$/","/com\\.whatsapp$/"],baseUrl:"https://wa.me/",displayName:"WhatsApp",exampleDomain:"wa.me",allowSubdomains:!0},youtube:{domains:["/youtube\\.com$/","/youtu\\.be$/","/youtube-nocookie\\.com$/","/googlevideo\\.com$/","/ytimg\\.com$/","/com\\.google\\.android\\.youtube$/"],baseUrl:"https://youtube.com/@",usernamePrefix:"@",displayName:"YouTube",exampleDomain:"youtube.com",allowSubdomains:!0}};const l=Object.fromEntries(Object.entries(s).map(([e,t])=>[e,{...t,domains:t.domains.map(e=>{const t=e.replace(/^\/(.*)\/([gimuy]*)$/,"$1");return new RegExp(t)})}]));class m{constructor(){this.domainCache=new Map,this.patterns=l}detect(e,t,a={}){const o=performance.now(),i={strictMode:!1,includeSubdomains:!0,caseSensitive:!1,extractMetadata:!1,...a},c=this.validateInput(e);if(!c.isValid)return this.createErrorResult(e,c.error||"Invalid input");const r=c.normalizedInput,n=[()=>this.detectByPattern(r),()=>this.detectByDomain(r,i),()=>this.detectByUrlStructure(r)];for(const e of n){const a=e();if(a.isValid)return this.buildResult(a,r,t,i,performance.now()-o)}return this.createUnknownResult(e,performance.now()-o)}extractUsername(e,t){const a=this.validateInput(e);if(!a.isValid)return null;const o=a.normalizedInput;if(t&&this.patterns[t])return this.extractUsernameForPlatform(o,t);const i=this.detect(o);return i.isValid&&"unknown"!==i.platform?this.extractUsernameForPlatform(o,i.platform):null}validatePlatform(e,t){const a=this.detect(e);return a.isValid&&a.platform===t}getSupportedPlatforms(){return Object.entries(this.patterns).map(([e,t])=>({key:e,displayName:t.displayName,exampleDomain:t.exampleDomain,baseUrl:t.baseUrl}))}generateProfileUrl(e,t){const a=this.patterns[e];if(!a||!t?.trim())return null;const o=this.sanitizeUsername(t);if(a.usernamePrefix){if(a.baseUrl.endsWith(a.usernamePrefix)){const e=o.startsWith(a.usernamePrefix)?o.slice(a.usernamePrefix.length):o;return`${a.baseUrl}${e}`}return o.startsWith(a.usernamePrefix)?`${a.baseUrl}${o}`:`${a.baseUrl}${a.usernamePrefix}${o}`}return`${a.baseUrl}${o}`}validateInput(e){if(!e||"string"!=typeof e)return{isValid:!1,error:"Input is required and must be a string"};const t=e.trim();if(!t)return{isValid:!1,error:"Input cannot be empty"};let a=t.toLowerCase();return a.includes(".")&&!a.match(/^https?:\/\//)&&(a=`https://${a}`),{isValid:!0,normalizedInput:a}}detectByPattern(e){try{const t=new URL(e).hostname;for(const[e,a]of Object.entries(this.patterns))if(a.domains.some(e=>e.test(t)))return{platform:e,isValid:!0,displayName:a.displayName,confidence:"high"}}catch{}return{platform:"unknown",isValid:!1,confidence:"low"}}detectByDomain(e,t){const a=this.domainCache.get(e);if(void 0!==a){if(null===a)return{platform:"unknown",isValid:!1,confidence:"medium"};return{platform:a,isValid:!0,displayName:this.patterns[a].displayName,confidence:"medium"}}try{const t=new URL(e).hostname.toLowerCase();for(const[a,o]of Object.entries(this.patterns))if(o.domains.some(e=>e.test(t)))return this.domainCache.set(e,a),{platform:a,isValid:!0,displayName:o.displayName,confidence:"medium"};this.domainCache.set(e,null)}catch{this.domainCache.set(e,null)}return{platform:"unknown",isValid:!1,confidence:"medium"}}detectByUrlStructure(e){const t=[{pattern:/\/watch\?v=/,platforms:["youtube"]},{pattern:/\/status\/\d+/,platforms:["twitter"]},{pattern:/\/p\/[\w-]+/,platforms:["instagram"]},{pattern:/\/in\/[\w-]+/,platforms:["linkedin"]},{pattern:/\/@[\w-]+/,platforms:["twitter","medium","youtube"]},{pattern:/\/u\/[\w-]+/,platforms:["reddit"]},{pattern:/\/channel\//,platforms:["youtube"]},{pattern:/\/c\/[\w-]+/,platforms:["youtube"]},{pattern:/\/user\/[\w-]+/,platforms:["reddit","github"]},{pattern:/\/company\/[\w-]+/,platforms:["linkedin"]},{pattern:/\/profile\/[\w-]+/,platforms:["facebook"]}];for(const{pattern:a,platforms:o}of t)if(a.test(e)){const e=o[0],t=this.patterns[e];if(t)return{platform:e,isValid:!0,displayName:t.displayName,confidence:"low"}}return{platform:"unknown",isValid:!1,confidence:"low"}}extractUsernameForPlatform(e,t){try{const a=new URL(e).pathname,o={instagram:/\/([^/?]+)\/?(?:\?|$)/,facebook:/\/([^/?]+)\/?(?:\?|$)/,twitter:/\/([^/?]+)\/?(?:\?|$)/,linkedin:/\/in\/([^/?]+)\/?(?:\?|$)/,youtube:/\/@([^/?]+)\/?(?:\?|$)/,tiktok:/\/@([^/?]+)\/?(?:\?|$)/,github:/\/([^/?]+)\/?(?:\?|$)/,reddit:/\/u\/([^/?]+)\/?(?:\?|$)/,discord:/\/users\/([^/?]+)\/?(?:\?|$)/,telegram:/\/([^/?]+)\/?(?:\?|$)/,twitch:/\/([^/?]+)\/?(?:\?|$)/,pinterest:/\/([^/?]+)\/?(?:\?|$)/,medium:/\/@([^/?]+)\/?(?:\?|$)/}[t];if(o){const e=a.match(o);return e?this.sanitizeUsername(e[1]):null}}catch{return null}return null}sanitizeUsername(e){return e.trim().replace(/[^\w@.-]/g,"").toLowerCase()}buildResult(e,t,a,o,i){const c=this.patterns[e.platform],r=a?this.generateProfileUrl(e.platform,a):t,n={platform:e.platform,isValid:e.isValid,normalizedUrl:r||void 0,displayName:e.displayName||c?.displayName,confidence:e.confidence,detectionMethod:this.getDetectionMethod(e.confidence)};if(o.extractMetadata){const o=a||this.extractUsernameForPlatform(t,e.platform);return{...n,metadata:{extractedUsername:o||void 0,originalInput:t,processingTime:i}}}return n}createErrorResult(e,t){return{platform:"unknown",isValid:!1,confidence:"low",detectionMethod:"none",displayName:"Unknown"}}createUnknownResult(e,t){return{platform:"unknown",isValid:!1,confidence:"low",detectionMethod:"none",metadata:{originalInput:e,processingTime:t}}}getDetectionMethod(e){switch(e){case"high":return"pattern";case"medium":return"domain";case"low":return"url_structure";default:return"none"}}}const d=new m;function u(e,t,a){return d.detect(e,t,a)}const p={isPlatformSupported:e=>e in l,getPlatformDisplayName:e=>l[e]?.displayName||e,getPlatformExampleDomain:e=>l[e]?.exampleDomain||`${e}.com`,getAllPlatformKeys:()=>Object.keys(l),getAllPlatforms:()=>d.getSupportedPlatforms(),normalizeUrl:e=>{try{const t=e.startsWith("http")?e:`https://${e}`;return new URL(t).href.toLowerCase()}catch{return e}},extractDomain:e=>{if(!e?.trim())return null;try{if("https://"===e||"http://"===e)return null;if(!e.startsWith("http")&&!e.includes("."))return null;const t=e.startsWith("http")?e:`https://${e}`;return new URL(t).hostname}catch{return null}},validateUsername:(e,t)=>{if(!e?.trim())return!1;const a=e.trim();if("github"===t)return!(a.length>39||a.length<1)&&(!a.startsWith("-")&&!a.endsWith("-")&&(!a.includes("--")&&/^[a-zA-Z0-9-]+$/.test(a)));const o={twitter:/^[a-zA-Z0-9_]{1,15}$/,instagram:/^[a-zA-Z0-9._]{1,30}$/,tiktok:/^[a-zA-Z0-9._]{1,24}$/,youtube:/^[a-zA-Z0-9._-]{1,30}$/,linkedin:/^[a-zA-Z0-9-]{3,100}$/,reddit:/^[a-zA-Z0-9_-]{3,20}$/,facebook:/^[a-zA-Z0-9.]{5,50}$/,discord:/^\d{17,19}$/,telegram:/^[a-zA-Z0-9_]{5,32}$/,twitch:/^[a-zA-Z0-9_]{4,25}$/,pinterest:/^[a-zA-Z0-9_]{3,30}$/,medium:/^[a-zA-Z0-9_-]{1,30}$/}[t];return!o||o.test(a)},generateProfileUrl:(e,t)=>d.generateProfileUrl(e,t)};const h={default:{color:"#000000",viewBox:"0 0 24 24",path:"m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 0 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 1 0-1.42-1.42Zm8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 0 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 1 0 1.42 1.42l3.88-3.89a4.49 4.49 0 0 0 0-6.33ZM8.83 15.17a1 1 0 0 0 1.1.22 1 1 0 0 0 .32-.22l4.92-4.92a1 1 0 0 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42Z"},facebook:{color:"#3b5998",viewBox:"0 0 320 512",path:"M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"},tiktok:{color:"#000000",viewBox:"0 0 448 512",path:"M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"},twitter:{color:"#000000",viewBox:"0 0 512 512",path:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"},bluesky:{color:"#0065da",viewBox:"0 0 24 24",path:"M12 10.8c-1-2.1-4-6-6.8-8C2.6 1 1.6 1.3.9 1.6.1 1.9 0 3 0 3.8c0 .7.4 5.6.6 6.4C1.4 13 4.3 14 7 13.6h.4H7c-4 .6-7.4 2-2.8 7 5 5.3 6.8-1 7.8-4.2 1 3.2 2 9.3 7.7 4.3 4.3-4.3 1.2-6.5-2.7-7a9 9 0 0 1-.4-.1h.4c2.7.3 5.6-.6 6.4-3.4.2-.8.6-5.7.6-6.4 0-.7-.1-1.9-.9-2.2-.7-.3-1.7-.7-4.3 1.2-2.8 2-5.7 5.9-6.8 8"},instagram:{color:"#e94475",viewBox:"0 0 448 512",path:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"},youtube:{color:"#ff3333",viewBox:"0 0 576 512",path:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"},linkedin:{color:"#007fb1",viewBox:"0 0 448 512",path:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"},whatsapp:{color:"#007fb1",viewBox:"0 0 448 512",path:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"},discord:{color:"#5865F2",viewBox:"0 0 640 512",path:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"},reddit:{color:"#FF4500",viewBox:"0 0 512 512",path:"M0 256C0 114.6 114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256L37.1 512c-13.7 0-20.5-16.5-10.9-26.2L75 437C28.7 390.7 0 326.7 0 256zM349.6 153.6c23.6 0 42.7-19.1 42.7-42.7s-19.1-42.7-42.7-42.7c-20.6 0-37.8 14.6-41.8 34c-34.5 3.7-61.4 33-61.4 68.4l0 .2c-37.5 1.6-71.8 12.3-99 29.1c-10.1-7.8-22.8-12.5-36.5-12.5c-33 0-59.8 26.8-59.8 59.8c0 24 14.1 44.6 34.4 54.1c2 69.4 77.6 125.2 170.6 125.2s168.7-55.9 170.6-125.3c20.2-9.6 34.1-30.2 34.1-54c0-33-26.8-59.8-59.8-59.8c-13.7 0-26.3 4.6-36.4 12.4c-27.4-17-62.1-27.7-100-29.1l0-.2c0-25.4 18.9-46.5 43.4-49.9l0 0c4.4 18.8 21.3 32.8 41.5 32.8zM177.1 246.9c16.7 0 29.5 17.6 28.5 39.3s-13.5 29.6-30.3 29.6s-31.4-8.8-30.4-30.5s15.4-38.3 32.1-38.3zm190.1 38.3c1 21.7-13.7 30.5-30.4 30.5s-29.3-7.9-30.3-29.6c-1-21.7 11.8-39.3 28.5-39.3s31.2 16.6 32.1 38.3zm-48.1 56.7c-10.3 24.6-34.6 41.9-63 41.9s-52.7-17.3-63-41.9c-1.2-2.9 .8-6.2 3.9-6.5c18.4-1.9 38.3-2.9 59.1-2.9s40.7 1 59.1 2.9c3.1 .3 5.1 3.6 3.9 6.5z"},pinterest:{color:"#cb2128",viewBox:"0 0 384 512",path:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"},behance:{color:"#007CFF",viewBox:"0 0 576 512",path:"M232 237.2c31.8-15.2 48.4-38.2 48.4-74 0-70.6-52.6-87.8-113.3-87.8H0v354.4h171.8c64.4 0 124.9-30.9 124.9-102.9 0-44.5-21.1-77.4-64.7-89.7zM77.9 135.9H151c28.1 0 53.4 7.9 53.4 40.5 0 30.1-19.7 42.2-47.5 42.2h-79v-82.7zm83.3 233.7H77.9V272h84.9c34.3 0 56 14.3 56 50.6 0 35.8-25.9 47-57.6 47zm358.5-240.7H376V94h143.7v34.9zM576 305.2c0-75.9-44.4-139.2-124.9-139.2-78.2 0-131.3 58.8-131.3 135.8 0 79.9 50.3 134.7 131.3 134.7 61.3 0 101-27.6 120.1-86.3H509c-6.7 21.9-34.3 33.5-55.7 33.5-41.3 0-63-24.2-63-65.3h185.1c.3-4.2.6-8.7.6-13.2zM390.4 274c2.3-33.7 24.7-54.8 58.5-54.8 35.4 0 53.2 20.8 56.2 54.8H390.4z"},clubhouse:{color:"#1F1F1A",viewBox:"0 0 223 184",path:"M115.467 0C122.582 0 127.948 3.15673 131.091 10.2734C135.682 7.27289 141.989 6.15794 147.36 7.58008C154.632 9.4764 159.062 14.5459 161.742 30.0566C162.689 34.9758 164.099 40.9883 165.837 46.2031C168.043 52.8626 170.574 58.0725 174.992 65.8252C176.413 68.1955 178.145 70.8895 179.884 73.416L181.311 70.5713C185.568 61.8594 193.948 53.3203 206.105 53.3203C211.326 53.3204 217.004 55.2168 220.157 60.5986C222.026 63.4059 223.015 66.7079 222.999 70.0811C222.999 74.1915 221.266 78.3074 219.846 81.4697C219.528 82.1056 219.378 82.4181 219.378 82.5742C219.177 82.9941 218.971 83.42 218.764 83.8516C215.218 91.2177 210.853 100.287 210.853 110.74C210.853 142.866 199.001 159.32 189.847 167.864C180.519 176.576 165.999 184 149.1 184C137.109 184 124.622 180.525 114.364 173.721C100.745 164.676 92.3051 150.85 84.7529 138.479C84.5189 138.096 84.2852 137.713 84.0527 137.333C77.7232 126.736 73.143 118.202 66.3564 102.062C62.4116 93.0428 58.7782 83.6947 55.7861 73.7334C53.1007 65.0217 54.5165 58.6974 57.9766 54.5869C61.459 50.3146 66.3618 48.2564 71.7275 47.9385C72.6748 47.9385 73.6221 47.9437 74.5693 48.1055C73.8582 45.4202 73.484 42.6568 73.4551 39.8789C73.4551 29.583 81.523 21.9922 92.416 21.9922C93.8367 21.9922 95.2575 22.148 96.5166 22.4658C96.4919 22.1904 96.4674 21.9229 96.4434 21.6621C96.3153 20.2755 96.2051 19.0779 96.2051 17.8809C96.2053 6.63711 105.365 0.000137359 115.467 0ZM142.603 16.4873C140.123 16.465 137.482 17.2682 135.827 18.6904C134.089 20.2688 133.459 21.5292 133.933 25.0039C134.724 32.6112 135.983 38.4674 137.403 44C140.206 54.961 144.581 63.898 147.584 70.0322C148.134 71.1552 148.637 72.1849 149.077 73.1152C150.024 75.1673 150.821 75.9647 152.397 75.8086C152.81 75.7785 153.189 75.7488 153.542 75.7207C155.084 75.5981 156.134 75.5145 157.29 75.6416C159.184 75.8034 160.61 76.9133 160.61 78.8096C160.61 80.3878 159.814 81.0241 156.973 81.6543C151.133 82.9204 143.711 84.9727 136.445 89.0889C130.277 92.5803 124.912 96.8529 120.02 103.021C119.546 103.652 119.061 103.969 118.275 103.969C117.172 103.969 116.225 102.704 115.277 101.438C114.33 100.171 113.701 99.2226 113.701 98.2744C113.701 97.1646 114.174 96.2105 115.277 94.7939C115.913 93.9258 116.59 93.1437 117.193 92.4463C118.241 91.235 119.066 90.2799 119.066 89.5791C119.066 89.0454 118.424 88.0103 117.62 86.7148C117.231 86.0875 116.802 85.3991 116.392 84.6768C114.341 80.8841 110.865 73.2765 108.497 67.582C104.87 58.8813 102.34 47.8045 100.919 41C99.1805 33.5708 96.4945 31.5068 92.3936 31.5068C86.7105 31.507 82.9327 34.8255 82.9326 39.8896C82.9326 43.225 84.0302 47.6482 86.2422 54.9268C87.663 59.6676 89.0845 64.4083 90.3438 67.7324C92.4281 73.5017 94.691 79.2047 97.1299 84.833C98.7547 88.4659 100.975 92.5998 102.53 95.4971C102.938 96.256 103.3 96.9303 103.594 97.4883C103.671 97.6269 103.754 97.7748 103.841 97.9297C104.648 99.3639 105.806 101.42 105.806 102.703C105.806 105.235 103.922 106.652 101.398 106.652C99.9777 106.652 98.7127 106.022 97.292 103.808C95.5591 101.259 91.7641 93.8346 89.084 88.3018C87.0279 83.7115 83.5568 75.474 81.8184 69.7852C78.9767 60.772 77.0819 57.2918 72.1953 57.4424C69.3538 57.6042 66.9799 58.5579 65.2471 60.6104C63.5089 62.8246 63.3585 66.2997 64.7793 70.8896C67.777 80.5386 71.2596 89.3901 75.0039 98.459C81.6456 114.115 85.9085 122.202 92.0654 132.481C92.2214 132.736 92.3773 132.992 92.5332 133.247C100.107 145.64 107.633 157.954 119.534 165.856C128.215 171.545 138.813 174.562 149.065 174.562C163.43 174.562 175.599 168.221 183.333 160.948C191.24 153.67 201.33 139.424 201.33 110.79C201.33 98.3034 206.471 87.3705 209.965 79.9395C210.145 79.5571 210.32 79.1839 210.49 78.8203C210.531 78.7394 210.573 78.6546 210.617 78.5664C211.608 76.5884 213.482 72.8484 213.482 70.1201C213.482 68.8596 213.176 67.1245 212.385 65.8584C210.964 63.6443 208.752 62.8468 206.072 62.8467C197.692 62.8467 192.32 69.183 189.322 74.7158C188.063 77.1326 187.061 79.6749 186.331 82.3008C184.593 88.1514 182.854 90.5272 177.806 94.6377C175.12 97.0137 171.81 100.015 169.921 102.391C166.762 106.668 165.81 110.311 165.019 116C164.862 117.428 162.176 118.058 158.866 118.058C156.972 118.058 156.343 117.427 156.343 114.421C156.343 111.259 157.446 106.513 159.813 102.246C163.129 96.3898 166.757 93.2269 170.39 90.2207C174.022 87.2146 175.125 85.9539 175.755 84.0576C172.44 79.6124 169.291 75.0329 166.762 70.6045C162.182 62.5398 159.185 56.516 156.822 49.2432C154.968 43.4854 153.49 37.613 152.397 31.6631C150.503 20.5754 148.614 17.7363 144.987 16.7881C144.207 16.5924 143.407 16.4917 142.603 16.4873ZM47.4453 113.312C49.1614 113.412 50.454 114.527 51.418 116.953C52.8388 120.506 51.8634 121.918 48.8379 123.803C45.494 125.878 27.7772 135.18 23.7705 136.658C20.9177 137.718 17.8191 137.473 15.9971 132.062C13.7575 125.381 16.9 123.797 21.374 122.057C25.3355 120.523 41.7666 114.561 45.584 113.523C46.1879 113.348 46.8175 113.277 47.4453 113.312ZM4.16309 70.9395C4.9375 70.8614 5.81257 70.912 6.77637 71.0068C11.2515 71.4365 31.9838 74.8104 35.2822 75.8311C38.6975 76.8908 39.1708 78.4527 38.7529 81.4365C38.2236 85.318 36.4744 86.06 34.2402 86.127C29.4764 86.2608 9.68539 85.4071 5.16602 84.9609C1.23233 84.5705 -0.361563 82.8363 0.0673828 77.1309C0.412841 72.535 1.84517 71.1737 4.16309 70.9395ZM115.467 9.50391C110.887 9.50401 105.371 11.8688 105.371 17.8809C105.371 21.8352 106.468 27.6864 107.571 32.416C108.95 35.7648 109.497 38.186 110.605 43.0957C111.02 44.9322 111.513 47.1175 112.157 49.8291C113.578 55.6964 115.306 60.7493 117.044 65.1777C119.094 70.571 121.462 75.1616 124.777 81.3301C126.354 84.3307 127.152 84.3364 130.94 82.2783C133.938 80.6944 138.351 78.7925 141.66 77.6826C135.977 65.351 131.247 55.0546 128.879 46.3594C128.249 43.8268 126.037 33.6883 125.407 29.2598C124.934 24.8314 124.46 21.0441 123.356 16.9336C122.097 11.8693 120.359 9.50391 115.467 9.50391ZM14.1367 18.2324C15.2844 18.1544 16.5714 18.5226 18.0254 19.2754C22.5163 21.6179 38.3629 33.9829 41.3887 36.4316C44.3194 38.7852 43.9186 40.0071 42.3809 43.041C40.8486 46.0751 39.4102 46.8508 36.6855 45.9863C31.6022 44.3785 17.1821 35.7242 11.8389 32.5176C11.7538 32.4665 11.6712 32.4164 11.5908 32.3682C11.3075 32.1982 11.0531 32.0463 10.832 31.9141C7.02118 29.6107 6.52512 27.5413 9.18262 22.4941C10.6536 19.711 12.22 18.3551 14.1367 18.2324Z"},devto:{color:"#000000",viewBox:"0 0 448 512",path:"M120.12 208.29c-3.88-2.9-7.77-4.35-11.65-4.35H91.03v104.47h17.45c3.88 0 7.77-1.45 11.65-4.35 3.88-2.9 5.82-7.25 5.82-13.06v-69.65c-.01-5.8-1.96-10.16-5.83-13.06zM404.1 32H43.9C19.7 32 .06 51.59 0 75.8v360.4C.06 460.41 19.7 480 43.9 480h360.2c24.21 0 43.84-19.59 43.9-43.8V75.8c-.06-24.21-19.7-43.8-43.9-43.8zM154.2 291.19c0 18.81-11.61 47.31-48.36 47.25h-46.4V172.98h47.38c35.44 0 47.36 28.46 47.37 47.28l.01 70.93zm100.68-88.66H201.6v38.42h32.57v29.57H201.6v38.41h53.29v29.57h-62.18c-11.16.29-20.44-8.53-20.72-19.69V193.7c-.27-11.15 8.56-20.41 19.71-20.69h63.19l-.01 29.52zm103.64 115.29c-13.2 30.75-36.85 24.63-47.44 0l-38.53-144.8h32.57l29.71 113.72 29.57-113.72h32.58l-38.46 144.8z"},dribbble:{color:"#ea4c89",viewBox:"0 0 512 512",path:"M256 8C119.252 8 8 119.252 8 256s111.252 248 248 248 248-111.252 248-248S392.748 8 256 8zm163.97 114.366c29.503 36.046 47.369 81.957 47.835 131.955-6.984-1.477-77.018-15.682-147.502-6.818-5.752-14.041-11.181-26.393-18.617-41.614 78.321-31.977 113.818-77.482 118.284-83.523zM396.421 97.87c-3.81 5.427-35.697 48.286-111.021 76.519-34.712-63.776-73.185-116.168-79.04-124.008 67.176-16.193 137.966 1.27 190.061 47.489zm-230.48-33.25c5.585 7.659 43.438 60.116 78.537 122.509-99.087 26.313-186.36 25.934-195.834 25.809C62.38 147.205 106.678 92.573 165.941 64.62zM44.17 256.323c0-2.166.043-4.322.108-6.473 9.268.19 111.92 1.513 217.706-30.146 6.064 11.868 11.857 23.915 17.174 35.949-76.599 21.575-146.194 83.527-180.531 142.306C64.794 360.405 44.17 310.73 44.17 256.323zm81.807 167.113c22.127-45.233 82.178-103.622 167.579-132.756 29.74 77.283 42.039 142.053 45.189 160.638-68.112 29.013-150.015 21.053-212.768-27.882zm248.38 8.489c-2.171-12.886-13.446-74.897-41.152-151.033 66.38-10.626 124.7 6.768 131.947 9.055-9.442 58.941-43.273 109.844-90.795 141.978z"},github:{color:"#24292e",viewBox:"0 0 496 512",path:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},gitlab:{color:"#f96424",viewBox:"0 0 512 512",path:"M503.5 204.6L502.8 202.8L433.1 21.02C431.7 17.45 429.2 14.43 425.9 12.38C423.5 10.83 420.8 9.865 417.9 9.57C415 9.275 412.2 9.653 409.5 10.68C406.8 11.7 404.4 13.34 402.4 15.46C400.5 17.58 399.1 20.13 398.3 22.9L351.3 166.9H160.8L113.7 22.9C112.9 20.13 111.5 17.59 109.6 15.47C107.6 13.35 105.2 11.72 102.5 10.7C99.86 9.675 96.98 9.295 94.12 9.587C91.26 9.878 88.51 10.83 86.08 12.38C82.84 14.43 80.33 17.45 78.92 21.02L9.267 202.8L8.543 204.6C-1.484 230.8-2.72 259.6 5.023 286.6C12.77 313.5 29.07 337.3 51.47 354.2L51.74 354.4L52.33 354.8L158.3 434.3L210.9 474L242.9 498.2C246.6 500.1 251.2 502.5 255.9 502.5C260.6 502.5 265.2 500.1 268.9 498.2L300.9 474L353.5 434.3L460.2 354.4L460.5 354.1C482.9 337.2 499.2 313.5 506.1 286.6C514.7 259.6 513.5 230.8 503.5 204.6z"},mastodon:{color:"#17063B",viewBox:"0 0 448 512",path:"M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"},medium:{color:"#000000",viewBox:"0 0 640 512",path:"M180.5,74.262C80.813,74.262,0,155.633,0,256S80.819,437.738,180.5,437.738,361,356.373,361,256,280.191,74.262,180.5,74.262Zm288.25,10.646c-49.845,0-90.245,76.619-90.245,171.095s40.406,171.1,90.251,171.1,90.251-76.619,90.251-171.1H559C559,161.5,518.6,84.908,468.752,84.908Zm139.506,17.821c-17.526,0-31.735,68.628-31.735,153.274s14.2,153.274,31.735,153.274S640,340.631,640,256C640,171.351,625.785,102.729,608.258,102.729Z"},onlyfans:{color:"#00aeef",viewBox:"0 0 276 184",path:"M276.001 0C268.273 34.0399 241.637 60.0429 195.409 69C218.751 75.7172 246.297 69.0195 246.377 69C238.375 103.934 213.015 125.823 176.443 128.514C174.249 133.586 171.594 138.474 168.495 143.112C160.557 154.993 149.99 164.815 137.678 171.857C137.529 171.943 137.381 172.027 137.232 172.111C137.17 172.146 137.108 172.181 137.046 172.216C136.854 172.324 136.662 172.431 136.469 172.537C136.42 172.564 136.371 172.591 136.322 172.618C136.115 172.733 135.906 172.845 135.697 172.958C135.662 172.977 135.627 172.997 135.592 173.016C135.381 173.129 135.169 173.242 134.957 173.354C134.926 173.371 134.895 173.387 134.864 173.403C121.897 180.24 107.443 183.891 92.7053 183.996C92.592 183.997 92.4787 183.998 92.3654 183.998C92.2442 183.998 92.1225 184 92.0012 184V183.998C86.0034 183.998 79.9916 183.413 74.052 182.231C56.2058 178.682 39.8129 169.92 26.9465 157.054C14.0801 144.187 5.31763 127.794 1.76778 109.948C-1.78205 92.102 0.0398961 73.6037 7.00313 56.793C13.9664 39.9822 25.7586 25.614 40.8879 15.5049C56.0172 5.39585 73.8044 0 92.0002 0C114.151 3.88742e-05 135.478 7.98948 152.13 22.3711C168.78 2.126 190.117 0 229.803 0H276.001ZM102.562 66.501C97.5186 64.4121 91.9692 63.8657 86.6154 64.9307C81.2617 65.9956 76.3435 68.6235 72.4836 72.4834C68.6237 76.3433 65.9958 81.2614 64.9309 86.6152C63.8659 91.969 64.4123 97.5184 66.5012 102.562C68.5901 107.605 72.1275 111.916 76.6662 114.948C81.205 117.981 86.5414 119.6 92.0002 119.6C95.6259 119.604 99.2169 118.894 102.568 117.509C105.918 116.123 108.963 114.09 111.527 111.526C114.09 108.963 116.124 105.918 117.509 102.567C118.894 99.2167 119.605 95.6257 119.6 92C119.6 86.5412 117.981 81.2048 114.948 76.666C111.916 72.1273 107.605 68.5899 102.562 66.501Z"},producthunt:{color:"#000000",viewBox:"0 0 512 512",path:"M326.3 218.8c0 20.5-16.7 37.2-37.2 37.2h-70.3v-74.4h70.3c20.5 0 37.2 16.7 37.2 37.2zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-128.1-37.2c0-47.9-38.9-86.8-86.8-86.8H169.2v248h49.6v-74.4h70.3c47.9 0 86.8-38.9 86.8-86.8z"},qq:{color:"#000000",viewBox:"0 0 448 512",path:"M433.754 420.445c-11.526 1.393-44.86-52.741-44.86-52.741 0 31.345-16.136 72.247-51.051 101.786 16.842 5.192 54.843 19.167 45.803 34.421-7.316 12.343-125.51 7.881-159.632 4.037-34.122 3.844-152.316 8.306-159.632-4.037-9.045-15.25 28.918-29.214 45.783-34.415-34.92-29.539-51.059-70.445-51.059-101.792 0 0-33.334 54.134-44.859 52.741-5.37-.65-12.424-29.644 9.347-99.704 10.261-33.024 21.995-60.478 40.144-105.779C60.683 98.063 108.982.006 224 0c113.737.006 163.156 96.133 160.264 214.963 18.118 45.223 29.912 72.85 40.144 105.778 21.768 70.06 14.716 99.053 9.346 99.704z"},quora:{color:"#000000",viewBox:"0 0 448 512",path:"M440.5 386.7h-29.3c-1.5 13.5-10.5 30.8-33 30.8-20.5 0-35.3-14.2-49.5-35.8 44.2-34.2 74.7-87.5 74.7-153C403.5 111.2 306.8 32 205 32 105.3 32 7.3 111.7 7.3 228.7c0 134.1 131.3 221.6 249 189C276 451.3 302 480 351.5 480c81.8 0 90.8-75.3 89-93.3zM297 329.2C277.5 300 253.3 277 205.5 277c-30.5 0-54.3 10-69 22.8l12.2 24.3c6.2-3 13-4 19.8-4 35.5 0 53.7 30.8 69.2 61.3-10 3-20.7 4.2-32.7 4.2-75 0-107.5-53-107.5-156.7C97.5 124.5 130 71 205 71c76.2 0 108.7 53.5 108.7 157.7.1 41.8-5.4 75.6-16.7 100.5z"},slack:{color:"#4A164A",viewBox:"0 0 448 512",path:"M94.12 315.1c0 25.9-21.16 47.06-47.06 47.06S0 341 0 315.1c0-25.9 21.16-47.06 47.06-47.06h47.06v47.06zm23.72 0c0-25.9 21.16-47.06 47.06-47.06s47.06 21.16 47.06 47.06v117.84c0 25.9-21.16 47.06-47.06 47.06s-47.06-21.16-47.06-47.06V315.1zm47.06-188.98c-25.9 0-47.06-21.16-47.06-47.06S139 32 164.9 32s47.06 21.16 47.06 47.06v47.06H164.9zm0 23.72c25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06H47.06C21.16 243.96 0 222.8 0 196.9s21.16-47.06 47.06-47.06H164.9zm188.98 47.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06h-47.06V196.9zm-23.72 0c0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06V79.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06V196.9zM283.1 385.88c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06v-47.06h47.06zm0-23.72c-25.9 0-47.06-21.16-47.06-47.06 0-25.9 21.16-47.06 47.06-47.06h117.84c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06H283.1z"},snapchat:{color:"#FFC91B",viewBox:"0 0 512 512",path:"M496.926,366.6c-3.373-9.176-9.8-14.086-17.112-18.153-1.376-.806-2.641-1.451-3.72-1.947-2.182-1.128-4.414-2.22-6.634-3.373-22.8-12.09-40.609-27.341-52.959-45.42a102.889,102.889,0,0,1-9.089-16.12c-1.054-3.013-1-4.724-.248-6.287a10.221,10.221,0,0,1,2.914-3.038c3.918-2.591,7.96-5.22,10.7-6.993,4.885-3.162,8.754-5.667,11.246-7.44,9.362-6.547,15.909-13.5,20-21.278a42.371,42.371,0,0,0,2.1-35.191c-6.2-16.318-21.613-26.449-40.287-26.449a55.543,55.543,0,0,0-11.718,1.24c-1.029.224-2.059.459-3.063.72.174-11.16-.074-22.94-1.066-34.534-3.522-40.758-17.794-62.123-32.674-79.16A130.167,130.167,0,0,0,332.1,36.443C309.515,23.547,283.91,17,256,17S202.6,23.547,180,36.443a129.735,129.735,0,0,0-33.281,26.783c-14.88,17.038-29.152,38.44-32.673,79.161-.992,11.594-1.24,23.435-1.079,34.533-1-.26-2.021-.5-3.051-.719a55.461,55.461,0,0,0-11.717-1.24c-18.687,0-34.125,10.131-40.3,26.449a42.423,42.423,0,0,0,2.046,35.228c4.105,7.774,10.652,14.731,20.014,21.278,2.48,1.736,6.361,4.24,11.246,7.44,2.641,1.711,6.5,4.216,10.28,6.72a11.054,11.054,0,0,1,3.3,3.311c.794,1.624.818,3.373-.36,6.6a102.02,102.02,0,0,1-8.94,15.785c-12.077,17.669-29.363,32.648-51.434,44.639C32.355,348.608,20.2,352.75,15.069,366.7c-3.868,10.528-1.339,22.506,8.494,32.6a49.137,49.137,0,0,0,12.4,9.387,134.337,134.337,0,0,0,30.342,12.139,20.024,20.024,0,0,1,6.126,2.741c3.583,3.137,3.075,7.861,7.849,14.78a34.468,34.468,0,0,0,8.977,9.127c10.019,6.919,21.278,7.353,33.207,7.811,10.776.41,22.989.881,36.939,5.481,5.778,1.91,11.78,5.605,18.736,9.92C194.842,480.951,217.707,495,255.973,495s61.292-14.123,78.118-24.428c6.907-4.24,12.872-7.9,18.489-9.758,13.949-4.613,26.163-5.072,36.939-5.481,11.928-.459,23.187-.893,33.206-7.812a34.584,34.584,0,0,0,10.218-11.16c3.434-5.84,3.348-9.919,6.572-12.771a18.971,18.971,0,0,1,5.753-2.629A134.893,134.893,0,0,0,476.02,408.71a48.344,48.344,0,0,0,13.019-10.193l.124-.149C498.389,388.5,500.708,376.867,496.926,366.6Zm-34.013,18.277c-20.745,11.458-34.533,10.23-45.259,17.137-9.114,5.865-3.72,18.513-10.342,23.076-8.134,5.617-32.177-.4-63.239,9.858-25.618,8.469-41.961,32.822-88.038,32.822s-62.036-24.3-88.076-32.884c-31-10.255-55.092-4.241-63.239-9.858-6.609-4.563-1.24-17.211-10.341-23.076-10.739-6.907-24.527-5.679-45.26-17.075-13.206-7.291-5.716-11.8-1.314-13.937,75.143-36.381,87.133-92.552,87.666-96.719.645-5.046,1.364-9.014-4.191-14.148-5.369-4.96-29.189-19.7-35.8-24.316-10.937-7.638-15.748-15.264-12.2-24.638,2.48-6.485,8.531-8.928,14.879-8.928a27.643,27.643,0,0,1,5.965.67c12,2.6,23.659,8.617,30.392,10.242a10.749,10.749,0,0,0,2.48.335c3.6,0,4.86-1.811,4.612-5.927-.768-13.132-2.628-38.725-.558-62.644,2.84-32.909,13.442-49.215,26.04-63.636,6.051-6.932,34.484-36.976,88.857-36.976s82.88,29.92,88.931,36.827c12.611,14.421,23.225,30.727,26.04,63.636,2.071,23.919.285,49.525-.558,62.644-.285,4.327,1.017,5.927,4.613,5.927a10.648,10.648,0,0,0,2.48-.335c6.745-1.624,18.4-7.638,30.4-10.242a27.641,27.641,0,0,1,5.964-.67c6.386,0,12.4,2.48,14.88,8.928,3.546,9.374-1.24,17-12.189,24.639-6.609,4.612-30.429,19.343-35.8,24.315-5.568,5.134-4.836,9.1-4.191,14.149.533,4.228,12.511,60.4,87.666,96.718C468.629,373.011,476.119,377.524,462.913,384.877Z"},spotify:{color:"#2EBD59",viewBox:"0 0 496 512",path:"M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z"},substack:{color:"#ff6719",viewBox:"0 0 161 184",path:"M160.993 41.4472H0V63.1934H160.993V41.4472ZM0 82.8944V184L80.4931 138.846L161 184V82.8944H0ZM160.993 0H0V21.7425H160.993V0Z"},telegram:{color:"#49a9e9",viewBox:"0 0 496 512",path:"M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z"},threads:{color:"#000000",viewBox:"0 0 448 512",path:"M331.5 235.7c2.2 .9 4.2 1.9 6.3 2.8c29.2 14.1 50.6 35.2 61.8 61.4c15.7 36.5 17.2 95.8-30.3 143.2c-36.2 36.2-80.3 52.5-142.6 53h-.3c-70.2-.5-124.1-24.1-160.4-70.2c-32.3-41-48.9-98.1-49.5-169.6V256v-.2C17 184.3 33.6 127.2 65.9 86.2C102.2 40.1 156.2 16.5 226.4 16h.3c70.3 .5 124.9 24 162.3 69.9c18.4 22.7 32 50 40.6 81.7l-40.4 10.8c-7.1-25.8-17.8-47.8-32.2-65.4c-29.2-35.8-73-54.2-130.5-54.6c-57 .5-100.1 18.8-128.2 54.4C72.1 146.1 58.5 194.3 58 256c.5 61.7 14.1 109.9 40.3 143.3c28 35.6 71.2 53.9 128.2 54.4c51.4-.4 85.4-12.6 113.7-40.9c32.3-32.2 31.7-71.8 21.4-95.9c-6.1-14.2-17.1-26-31.9-34.9c-3.7 26.9-11.8 48.3-24.7 64.8c-17.1 21.8-41.4 33.6-72.7 35.3c-23.6 1.3-46.3-4.4-63.9-16c-20.8-13.8-33-34.8-34.3-59.3c-2.5-48.3 35.7-83 95.2-86.4c21.1-1.2 40.9-.3 59.2 2.8c-2.4-14.8-7.3-26.6-14.6-35.2c-10-11.7-25.6-17.7-46.2-17.8H227c-16.6 0-39 4.6-53.3 26.3l-34.4-23.6c19.2-29.1 50.3-45.1 87.8-45.1h.8c62.6 .4 99.9 39.5 103.7 107.7l-.2 .2zm-156 68.8c1.3 25.1 28.4 36.8 54.6 35.3c25.6-1.4 54.6-11.4 59.5-73.2c-13.2-2.9-27.8-4.4-43.4-4.4c-4.8 0-9.6 .1-14.4 .4c-42.9 2.4-57.2 23.2-56.2 41.8l-.1 .1z"},tumblr:{color:"#2c4762",viewBox:"0 0 320 512",path:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"},twitch:{color:"#6441A5",viewBox:"0 0 512 512",path:"M391.17,103.47H352.54v109.7h38.63ZM285,103H246.37V212.75H285ZM120.83,0,24.31,91.42V420.58H140.14V512l96.53-91.42h77.25L487.69,256V0ZM449.07,237.75l-77.22,73.12H294.61l-67.6,64v-64H140.14V36.58H449.07Z"},vkontakte:{color:"#0077ff",viewBox:"0 0 294 184",path:"M161.7 184C62.475 184 2.45 115.307 0 0H49C51.45 84.64 90.65 120.213 120.05 127.573V0H167.825V73.6C196 69.92 225.4 36.8 235.2 0H284.2C275.625 45.3867 243.775 78.5067 220.5 92C243.775 103.04 280.525 131.253 294 184H243.775C231.525 148.427 205.8 122.667 169.05 117.76V184H162.925H161.7Z"},wechat:{color:"#00c80f",viewBox:"0 0 64 64",path:"M65.6 65.6H-1.6V-1.6h67.2zM49.738 46.043c2.846-2.061 4.662-5.107 4.662-8.498 0-6.207-6.043-11.244-13.492-11.244-7.453 0-13.494 5.037-13.494 11.244 0 6.213 6.041 11.246 13.494 11.246 1.537 0 3.025-.221 4.402-.615l.395-.059c.262 0 .498.078.717.207l2.955 1.707.26.082a.45.45 0 0 0 .451-.449l-.074-.328-.605-2.271-.047-.287a.9.9 0 0 1 .376-.735M25.793 13.887C16.85 13.887 9.6 19.93 9.6 27.383c0 4.066 2.182 7.723 5.596 10.197.275.195.453.518.453.879l-.055.344-.732 2.725-.086.393c0 .301.24.541.539.541l.311-.1 3.545-2.049c.27-.152.551-.248.861-.248l.475.068a19 19 0 0 0 5.287.742l.891-.021a10.3 10.3 0 0 1-.543-3.309c0-6.793 6.611-12.305 14.768-12.305l.879.021c-1.225-6.443-7.918-11.374-15.996-11.374m10.615 21.859a1.798 1.798 0 1 1-.001-3.6 1.798 1.798 0 0 1 .001 3.6m8.996 0a1.798 1.798 0 1 1-.001-3.6 1.798 1.798 0 0 1 .001 3.6M20.395 25.221a2.16 2.16 0 1 1 .002-4.318 2.16 2.16 0 0 1-.002 4.318m10.796 0c-1.193 0-2.158-.965-2.158-2.158s.965-2.158 2.158-2.158 2.158.965 2.158 2.158-.964 2.158-2.158 2.158"},weibo:{color:"#000000",viewBox:"0 0 512 512",path:"M407 177.6c7.6-24-13.4-46.8-37.4-41.7-22 4.8-28.8-28.1-7.1-32.8 50.1-10.9 92.3 37.1 76.5 84.8-6.8 21.2-38.8 10.8-32-10.3zM214.8 446.7C108.5 446.7 0 395.3 0 310.4c0-44.3 28-95.4 76.3-143.7C176 67 279.5 65.8 249.9 161c-4 13.1 12.3 5.7 12.3 6 79.5-33.6 140.5-16.8 114 51.4-3.7 9.4 1.1 10.9 8.3 13.1 135.7 42.3 34.8 215.2-169.7 215.2zm143.7-146.3c-5.4-55.7-78.5-94-163.4-85.7-84.8 8.6-148.8 60.3-143.4 116s78.5 94 163.4 85.7c84.8-8.6 148.8-60.3 143.4-116zM347.9 35.1c-25.9 5.6-16.8 43.7 8.3 38.3 72.3-15.2 134.8 52.8 111.7 124-7.4 24.2 29.1 37 37.4 12 31.9-99.8-55.1-195.9-157.4-174.3zm-78.5 311c-17.1 38.8-66.8 60-109.1 46.3-40.8-13.1-58-53.4-40.3-89.7 17.7-35.4 63.1-55.4 103.4-45.1 42 10.8 63.1 50.2 46 88.5zm-86.3-30c-12.9-5.4-30 .3-38 12.9-8.3 12.9-4.3 28 8.6 34 13.1 6 30.8.3 39.1-12.9 8-13.1 3.7-28.3-9.7-34zm32.6-13.4c-5.1-1.7-11.4.6-14.3 5.4-2.9 5.1-1.4 10.6 3.7 12.9 5.1 2 11.7-.3 14.6-5.4 2.8-5.2 1.1-10.9-4-12.9z"},wikipedia:{color:"#000000",viewBox:"0 0 640 512",path:"M640 51.2l-.3 12.2c-28.1.8-45 15.8-55.8 40.3-25 57.8-103.3 240-155.3 358.6H415l-81.9-193.1c-32.5 63.6-68.3 130-99.2 193.1-.3.3-15 0-15-.3C172 352.3 122.8 243.4 75.8 133.4 64.4 106.7 26.4 63.4.2 63.7c0-3.1-.3-10-.3-14.2h161.9v13.9c-19.2 1.1-52.8 13.3-43.3 34.2 21.9 49.7 103.6 240.3 125.6 288.6 15-29.7 57.8-109.2 75.3-142.8-13.9-28.3-58.6-133.9-72.8-160-9.7-17.8-36.1-19.4-55.8-19.7V49.8l142.5.3v13.1c-19.4.6-38.1 7.8-29.4 26.1 18.9 40 30.6 68.1 48.1 104.7 5.6-10.8 34.7-69.4 48.1-100.8 8.9-20.6-3.9-28.6-38.6-29.4.3-3.6 0-10.3.3-13.6 44.4-.3 111.1-.3 123.1-.6v13.6c-22.5.8-45.8 12.8-58.1 31.7l-59.2 122.8c6.4 16.1 63.3 142.8 69.2 156.7L559.2 91.8c-8.6-23.1-36.4-28.1-47.2-28.3V49.6l127.8 1.1.2.5z"}},C=a((t,a)=>{const o=a,{platform:i,height:c,width:r,pathColor:n,type:s,divProps:l,ariaLabel:m}=t,d=r||"1rem",u=c||"1rem",{path:p,color:C,viewBox:f}=h[i]||h.default,w=n||C,$=m||`${i||"unknown"} social icon`;return"rounded"===s?e("div",{ref:o,className:`${l?.className||""}`,style:{backgroundColor:l?.backgroundColor||C,borderRadius:"50%",padding:`calc(${"number"==typeof d?`${d}px`:d} / 100 * 30)`,display:"flex",justifyContent:"center",alignContent:"center"},children:e(b,{path:p,title:`${i} social icon`,ariaLabel:$,fillColor:w,viewBox:f,height:u,width:d})}):e(b,{path:p,title:`${i} social icon`,ariaLabel:$||"",fillColor:w,viewBox:f,height:u,width:d})}),b=a=>{const{ariaLabel:o,fillColor:i,viewBox:c,height:r,width:n,path:s,title:l}=a;return t("svg",{xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":o,className:"social-svg",fill:i||"currentColor",strokeWidth:"0",viewBox:c||"0 0 64 64",height:r,width:n,style:{transition:"fill 170ms ease-in-out"},children:[e("title",{children:l}),e("path",{d:s})]})};function f(e={}){const{maxConcurrent:t=5,strictMode:a,includeSubdomains:r,caseSensitive:n,extractMetadata:s}=e,l=o(()=>{const e={};return void 0!==a&&(e.strictMode=a),void 0!==r&&(e.includeSubdomains=r),void 0!==n&&(e.caseSensitive=n),void 0!==s&&(e.extractMetadata=s),e},[a,r,n,s]),[m,u]=i([]),[p,h]=i(!1),[C,b]=i({completed:0,total:0}),f=c(async e=>{if(!e.length)return[];h(!0),u([]),b({completed:0,total:e.length});const a=[],o=[];for(let a=0;a<e.length;a+=t)o.push(e.slice(a,a+t));try{for(const e of o){const t=e.map(async e=>{try{const t=d.detect(e.input,e.username,{...l,extractMetadata:!0});return t.isValid||"unknown"!==t.platform?{...e,result:t}:{...e,result:t,error:"Invalid input provided"}}catch(t){return{...e,result:{platform:"unknown",isValid:!1,confidence:"low",detectionMethod:"none",metadata:{originalInput:e.input}},error:t instanceof Error?t.message:"Detection failed"}}}),o=await Promise.all(t);a.push(...o),b(e=>({...e,completed:a.length})),u([...a])}return h(!1),a}catch(e){throw h(!1),e}},[t,l]);return{results:m,isDetecting:p,progress:C,detectBulk:f,clear:c(()=>{u([]),b({completed:0,total:0}),h(!1)},[])}}function w(e={}){const{debounceMs:t=300,strictMode:a,includeSubdomains:s,caseSensitive:l,extractMetadata:m}=e,u=o(()=>{const e={};return void 0!==a&&(e.strictMode=a),void 0!==s&&(e.includeSubdomains=s),void 0!==l&&(e.caseSensitive=l),void 0!==m&&(e.extractMetadata=m),e},[a,s,l,m]),[p,h]=i(null),[C,b]=i(!1),[f,w]=i(null),$=r(null),v=r(null),x=o(()=>d.getSupportedPlatforms(),[]),y=c(()=>{$.current&&(clearTimeout($.current),$.current=null),v.current&&(v.current.abort(),v.current=null)},[]),k=c(()=>{y(),h(null),w(n