PageSourceSearch

https://builds.contra.com/assets/assets/chunks/shared~entries/src/…/pages/@internal/ads/n~nbmjmod4-5BcdxrQQ.js

js contra.com collected 2026-09-24 08:29:17 UTC 72,019 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bf214bad-fab4-53f7-b2f2-fc8acbf94fd8")}catch(e){}}();
3const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/InstagramEmbed-CMo-jtIX.js","assets/chunks/rolldown-runtime-DvfoX5Ak.js","assets/chunks/framework-BAK0rp3s.js","assets/chunks/shared~entries/src/pages/@internal/contra-labs/evals~TwitterEmbed~TikTokEmbed~PinterestEmbe~omnonop7-Dzo7M9VI.js","assets/chunks/shared_core-C6HDEX7I.js","assets/chunks/analytics-aiTwjjj1.js","assets/chunks/relay-CZTrPIhu.js","assets/chunks/sentry-C0l1EdwH.js","assets/chunks/styled_system-mBJTjpbq.js","assets/chunks/motion-BGOtVi9S.js","assets/static/shared_core.kgXncdWh.b-eOMmjk.css","assets/chunks/classnames-JPcSiKpD.js","assets/chunks/LinkedInEmbed-DBt7VZUg.js","assets/chunks/TwitterEmbed-BEu1wqkx.js","assets/chunks/TwitterEmbed-B5k06yRU.js","assets/chunks/YouTubeEmbed-c7XAJ03T.js","assets/static/style-5dc0be92.B0sQn39F.css"])))=>i.map(i=>d[i]);
4import{i as e,s as t}from"../../../../../../../../../../../rolldown-runtime-DvfoX5Ak.js";import{Au as n,Cn as r,Di as i,En as a,Hu as o,Kt as s,Md as c,Nu as l,Op as u,Qt as d,Sn as f,Tn as p,Wt as m,Yr as h,_n as g,_r as _,ai as v,bn as y,cd as b,el as x,gr as S,nh as C,ra as w,rh as T,ua as E,vr as D,wn as O,wp as k,xn as A,yp as ee,yr as te,zi as ne}from"../../../../../../../../../../../shared_core-C6HDEX7I.js";import{it as re,nt as ie,rt as j,st as ae,yt as oe}from"../../../../../../../../../../../framework-BAK0rp3s.js";import{n as M,t as se}from"../../../../../../../../../../../styled_system-mBJTjpbq.js";import{t as ce}from"../../../../../../../../../../../VerifiedWhitecheckIcon-DWuhBuoF.js";import{n as le,r as ue}from"./n~f9kkv4pg-CaJknasQ.js";import{t as de}from"../../../../../../../../../../../useHasDefaultReferralProgramV2Access-DPewGha8.js";import{t as N}from"../../../../../../../../../../../SocialPostLinkPreview-C4Ynh2mZ.js";import{r as fe}from"../../../../../../../../../../../utilities-BPYQ9fIs.js";import{t as pe}from"../../../../../../../../../../../TagListMenu-CbEq3Jqr.js";import{t as me}from"../../../../../../../../../../../buildJobDuration-DyMQKYvI.js";import{t as he}from"../../../../../../../../../../../formatEstimatedHours-BlGnqnnJ.js";import{t as ge}from"../../../../../../../../../../../useRelevantTags-RmC2fUBg.js";import{t as _e}from"../../../../../../../../../../../getBudgetVariantTimeframe-DzNNFJME.js";import{t as ve}from"../../../../../../../../../../../getJobTimezoneLabel-DvRxQQpw.js";import{t as ye}from"../../../../../../../../../../../getShortRelativeTime-AUz-7bhw.js";import{t as be}from"../../../../../../../../../../../renderJobBudgetValue-SZRzS870.js";import{t as xe}from"../../../../../../../../../../../ProjectCoverWrapper-C6CxctmS.js";import{t as P}from"../../../../../../../../../../../MediaGalleryItem-CxKUjsg3.js";import{t as F}from"../../../../../../../../../../../ProductPriceWithProductOfferingsDropdown-9W3TYW2A.js";import{t as I}from"../../../../../../../../../../../transformProductFeaturedMediaToMediaItems-6QSucA2D.js";import{i as Se,n as L,r as R,t as z}from"../../../../../../../../../../../getExternalReviewerName-D3Ja1Idu.js";var B=ae(),V=(function(){var e=[{defaultValue:null,kind:`LocalArgument`,name:`slug`}],t=[{kind:`Variable`,name:`slug`,variableName:`slug`}],n={alias:null,args:null,kind:`ScalarField`,name:`id`,storageKey:null},r={alias:null,args:null,kind:`ScalarField`,name:`name`,storageKey:null},i={alias:null,args:null,kind:`ScalarField`,name:`slug`,storageKey:null},a={alias:null,args:null,kind:`ScalarField`,name:`uid`,storageKey:null},o=[a],s={alias:null,args:null,kind:`ScalarField`,name:`title`,storageKey:null},c={alias:null,args:null,kind:`ScalarField`,name:`mainLabel`,storageKey:null},l={alias:null,args:null,kind:`ScalarField`,name:`__typename`,storageKey:null},u={alias:null,args:null,kind:`ScalarField`,name:`foregroundColorVariant`,storageKey:null},d={alias:null,args:null,concreteType:`SocialPostTagVector`,kind:`LinkedField`,name:`badgeMedia`,plural:!1,selections:[{alias:null,args:null,kind:`ScalarField`,name:`assetUrl`,storageKey:null}],storageKey:null},f={alias:`name`,args:null,kind:`ScalarField`,name:`skillName`,storageKey:null},p=[a,n],m={kind:`InlineFragment`,selections:[n],type:`Node`,abstractKey:`__isNode`};return{fragment:{argumentDefinitions:e,kind:`Fragment`,metadata:null,name:`CommunityTopicEmbedQuery`,selections:[{alias:null,args:t,concreteType:`SocialPostTag`,kind:`LinkedField`,name:`socialPostTagBySlug`,plural:!1,selections:[n,r,i,{alias:null,args:null,concreteType:`ChallengeDetails`,kind:`LinkedField`,name:`challengeDetails`,plural:!1,selections:[{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`openGraphImage`,plural:!1,selections:o,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`SocialPostTagHeaderDetails`,kind:`LinkedField`,name:`headerDetails`,plural:!1,selections:[s,c,{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`backgroundMedia`,plural:!1,selections:[l],storageKey:null},u,d],storageKey:null},{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`tag`,plural:!1,selections:[{kind:`InlineFragment`,selections:[l,n,r],type:`CommunityUserDefinedTag`,abstractKey:null},{kind:`InlineFragment`,selections:[l,n,f],type:`Role`,abstractKey:null},{kind:`InlineFragment`,selections:[l,n,r,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`logoImage`,plural:!1,selections:o,storageKey:null}],type:`Tool`,abstractKey:null}],storageKey:null}],storageKey:null}],type:`Query`,abstractKey:null},kind:`Request`,operation:{argumentDefinitions:e,kind:`Operation`,name:`CommunityTopicEmbedQuery`,selections:[{alias:null,args:t,concreteType:`SocialPostTag`,kind:`LinkedField`,name:`socialPostTagBySlug`,plural:!1,selections:[n,r,i,{alias:null,args:null,concreteType:`ChallengeDetails`,kind:`LinkedField`,name:`challengeDetails`,plural:!1,selections:[{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`openGraphImage`,plural:!1,selections:p,storageKey:null},n],storageKey:null},{alias:null,args:null,concreteType:`SocialPostTagHeaderDetails`,kind:`LinkedField`,name:`headerDetails`,plural:!1,selections:[s,c,{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`backgroundMedia`,plural:!1,selections:[l,m],storageKey:null},u,d],storageKey:null},{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`tag`,plural:!1,selections:[l,{kind:`InlineFragment`,selections:[n,r],type:`CommunityUserDefinedTag`,abstractKey:null},{kind:`InlineFragment`,selections:[n,f],type:`Role`,abstractKey:null},{kind:`InlineFragment`,selections:[n,r,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`logoImage`,plural:!1,selections:p,storageKey:null}],type:`Tool`,abstractKey:null},m],storageKey:null}],storageKey:null}]},params:{id:`9ff22f5158c21bc5036321b5e9017bbd`,metadata:{},name:`CommunityTopicEmbedQuery`,operationKind:`query`,text:null}}})();V.hash=`bd2c53e66727883107ddecdf8a81d2a2`;var H=t(oe(),1),U=ie(),CommunityTopicEmbedImplementation=({customBorderRadius:e,customHeight:t,onLoad:r,slug:i,webPageMetadata:a})=>{let o=T(V,{slug:i}
4),{track:s}=c(),l=k(`/community/topic/@slug`,{args:{slug:i}}),d=(0,H.useCallback)(e=>{e.stopPropagation(),s(`link`,{action:`tapped`,link_name:`community_topic_preview`,section:`social_post`,social_post_tag_id:o.socialPostTagBySlug?.id??void 0})},[o.socialPostTagBySlug?.id,s]);if((0,H.useEffect)(()=>{r()},[]),!o.socialPostTagBySlug||o.socialPostTagBySlug.tag.__typename===`%other`)return null;let f=o.socialPostTagBySlug.headerDetails?.title??o.socialPostTagBySlug.name,p=o.socialPostTagBySlug.headerDetails?.mainLabel,m=o.socialPostTagBySlug.challengeDetails?.openGraphImage?.uid,h=le(o.socialPostTagBySlug.headerDetails?.foregroundColorVariant),g=fe(o.socialPostTagBySlug.tag)&&o.socialPostTagBySlug.tag.logoImage?o.socialPostTagBySlug.tag.logoImage.uid:null,_=(0,U.jsx)(ue,{addDarkBackgroundIfLightIcon:!0,badgeMedia:o.socialPostTagBySlug.headerDetails?.badgeMedia??null,fallback:(0,U.jsx)(n,{className:`iHkMOF jmzEDN`,size:16}),foregroundColorVariant:h,size:16,toolLogoImageUid:g,topicSlug:o.socialPostTagBySlug.slug}),v=m??(o.socialPostTagBySlug.headerDetails?.backgroundMedia&&a?.openGraphImage?.uid);return v&&p&&f?(0,U.jsxs)(`a`,{className:`gEYBWy iHMUDJ jZzPrs hYCnIA hDGJaH dTBYkx fPSBzf iRgpoQ bYPznK gnlqYH jTWvec hYZFkb`,href:l,onAuxClick:d,onClick:d,style:{borderRadius:`${e??16}px`,...t&&{height:`${t}px`}},target:`_blank`,children:[(0,U.jsx)(`img`,{alt:f,className:`hYZFjI fXCUBF hYZFkb`,src:u(v,{transforms:{height:630,width:1200}})}),(0,U.jsxs)(`div`,{className:`fPSBzf iRgpoQ gnlqYH jsgMzt jsgMDf jsgMpR jsOvyL hYZFkb`,children:[(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf jsnMfm hYZFkb`,children:[(0,U.jsx)(`div`,{className:`bYPztT fPSBzf jmzEDN`,children:_}),(0,U.jsx)(`span`,{className:`cHzrOo gCDAPB gnlqYH hWhrno cbkwRf`,children:f})]}),(0,U.jsx)(`span`,{className:`bucdke hxnFtC gnlqYH hWhrno`,style:{display:`-webkit-box`,WebkitBoxOrient:`vertical`,WebkitLineClamp:1},children:p})]})]}):a?(0,U.jsx)(N,{description:a.description,openGraphImage:a.openGraphImage,title:a.title,url:a.url}):null},CommunityTopicEmbed=e=>{let t=(0,B.c)(6),{customBorderRadius:n,customHeight:r,onLoad:i,slug:a,webPageMetadata:o}=e,s;return t[0]!==n||t[1]!==r||t[2]!==i||t[3]!==a||t[4]!==o?(s=(0,U.jsx)(H.Suspense,{children:(0,U.jsx)(CommunityTopicEmbedImplementation,{customBorderRadius:n,customHeight:r,onLoad:i,slug:a,webPageMetadata:o})}),t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s):s=t[5],s},FigmaMakeEmbed=e=>{let t=(0,B.c)(7),{customBorderRadius:n,customHeight:r,onLoad:i,originalUrl:a}=e,o=r??600,s=n??6,c;t[0]===s?c=t[1]:(c={border:`none`,borderRadius:s,boxShadow:`0 0 0 1px rgba(0, 0, 0, 0.1)`,width:`100%`},t[0]=s,t[1]=c);let l;return t[2]!==i||t[3]!==a||t[4]!==o||t[5]!==c?(l=(0,U.jsx)(`iframe`,{allow:`fullscreen`,allowFullScreen:!0,height:o,loading:`lazy`,onLoad:i,referrerPolicy:`no-referrer`,sandbox:`allow-scripts allow-same-origin`,src:a,style:c,title:`Figma Make embed`,width:`100%`}),t[2]=i,t[3]=a,t[4]=o,t[5]=c,t[6]=l):l=t[6],l},W=(function(){var e=[{defaultValue:null,kind:`LocalArgument`,name:`slug`}],t=[{kind:`Variable`,name:`slug`,variableName:`slug`}],n={alias:null,args:null,kind:`ScalarField`,name:`id`,storageKey:null},r={alias:null,args:null,kind:`ScalarField`,name:`name`,storageKey:null},i={alias:null,args:null,kind:`ScalarField`,name:`uid`,storageKey:null},a={alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`logoImage`,plural:!1,selections:[i,n],storageKey:null},o={alias:null,args:null,kind:`ScalarField`,name:`__typename`,storageKey:null},s={alias:null,args:null,kind:`ScalarField`,name:`feeMax`,storageKey:null},c={alias:null,args:null,kind:`ScalarField`,name:`feeMin`,storageKey:null},l=[{alias:null,args:null,kind:`ScalarField`,name:`estimatedHours`,storageKey:null},s,c];return{fragment:{argumentDefinitions:e,kind:`Fragment`,metadata:null,name:`JobEmbedQuery`,selections:[{alias:null,args:t,concreteType:`Job`,kind:`LinkedField`,name:`jobBySlug`,plural:!1,selections:[n,{args:null,kind:`FragmentSpread`,name:`JobEmbedCard_job`}],storageKey:null}],type:`Query`,abstractKey:null},kind:`Request`,operation:{argumentDefinitions:e,kind:`Operation`,name:`JobEmbedQuery`,selections:[{alias:null,args:t,concreteType:`Job`,kind:`LinkedField`,name:`jobBySlug`,plural:!1,selections:[n,{alias:null,args:null,concreteType:`JobPosting`,kind:`LinkedField`,name:`jobPosting`,plural:!1,selections:[n,{alias:null,args:null,kind:`ScalarField`,name:`approvedAt`,storageKey:null}],storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`analyticsId`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`title`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`slug`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`timezoneOffsetTolerance`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`timezonePrimaryUtcOffset`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`visitorCanEdit`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`createdAt`,storageKey:null},{alias:null,args:null,concreteType:`ExpertProgram`,kind:`LinkedField`,name:`expertProgram`,plural:!1,selections:[n],storageKey:null},{alias:null,args:null,concreteType:`Organization`,kind:`LinkedField`,name:`organization`,plural:!1,selections:[r,a,{alias:null,args:null,kind:`ScalarField`,name:`isVerified`,storageKey:null},n],storageKey:null},{alias:null,args:null,concreteType:`JobOwner`,kind:`LinkedField`,name:`owner`,plural:!1,selections:[{alias:null,args:null,concreteType:`
4UserProfile`,kind:`LinkedField`,name:`userProfile`,plural:!1,selections:[{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`avatarImage`,plural:!1,selections:[i,{alias:null,args:null,kind:`ScalarField`,name:`url`,storageKey:null},n],storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`firstName`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`lastName`,storageKey:null},n],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`budget`,plural:!1,selections:[o,{kind:`InlineFragment`,selections:[s,c],type:`FixedPriceJobBudget`,abstractKey:null},{kind:`InlineFragment`,selections:l,type:`HourlyRateJobBudget`,abstractKey:null},{kind:`InlineFragment`,selections:l,type:`WeeklyRateJobBudget`,abstractKey:null},{kind:`InlineFragment`,selections:l,type:`MonthlyRateJobBudget`,abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:`JobDuration`,kind:`LinkedField`,name:`duration`,plural:!1,selections:[{alias:null,args:null,kind:`ScalarField`,name:`amount`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`interval`,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`JobRolesConnection`,kind:`LinkedField`,name:`roles`,plural:!1,selections:[{alias:null,args:null,concreteType:`JobRolesEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`Role`,kind:`LinkedField`,name:`node`,plural:!1,selections:[o,n,r],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`JobToolsConnection`,kind:`LinkedField`,name:`tools`,plural:!1,selections:[{alias:null,args:null,concreteType:`JobToolsEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`Tool`,kind:`LinkedField`,name:`node`,plural:!1,selections:[o,n,r,a],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:`42631548a6d52da13c084d94b170946c`,metadata:{},name:`JobEmbedQuery`,operationKind:`query`,text:null}}})();W.hash=`f903f9765a873b0d88506cc1489b4f97`;var G=(function(){var e={alias:null,args:null,kind:`ScalarField`,name:`id`,storageKey:null},t={alias:null,args:null,kind:`ScalarField`,name:`name`,storageKey:null},n={alias:null,args:null,kind:`ScalarField`,name:`uid`,storageKey:null},r={alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`logoImage`,plural:!1,selections:[n],storageKey:null},i={alias:null,args:null,kind:`ScalarField`,name:`__typename`,storageKey:null},a={alias:null,args:null,kind:`ScalarField`,name:`feeMax`,storageKey:null},o={alias:null,args:null,kind:`ScalarField`,name:`feeMin`,storageKey:null},s=[{alias:null,args:null,kind:`ScalarField`,name:`estimatedHours`,storageKey:null},a,o];return{argumentDefinitions:[],kind:`Fragment`,metadata:null,name:`JobEmbedCard_job`,selections:[{alias:null,args:null,concreteType:`JobPosting`,kind:`LinkedField`,name:`jobPosting`,plural:!1,selections:[e,{alias:null,args:null,kind:`ScalarField`,name:`approvedAt`,storageKey:null}],storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`analyticsId`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`title`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`slug`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`timezoneOffsetTolerance`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`timezonePrimaryUtcOffset`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`visitorCanEdit`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`createdAt`,storageKey:null},{alias:null,args:null,concreteType:`ExpertProgram`,kind:`LinkedField`,name:`expertProgram`,plural:!1,selections:[e],storageKey:null},{alias:null,args:null,concreteType:`Organization`,kind:`LinkedField`,name:`organization`,plural:!1,selections:[t,r,{alias:null,args:null,kind:`ScalarField`,name:`isVerified`,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`JobOwner`,kind:`LinkedField`,name:`owner`,plural:!1,selections:[{alias:null,args:null,concreteType:`
4UserProfile`,kind:`LinkedField`,name:`userProfile`,plural:!1,selections:[{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`avatarImage`,plural:!1,selections:[n,{alias:null,args:null,kind:`ScalarField`,name:`url`,storageKey:null}],storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`firstName`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`lastName`,storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`budget`,plural:!1,selections:[i,{kind:`InlineFragment`,selections:[a,o],type:`FixedPriceJobBudget`,abstractKey:null},{kind:`InlineFragment`,selections:s,type:`HourlyRateJobBudget`,abstractKey:null},{kind:`InlineFragment`,selections:s,type:`WeeklyRateJobBudget`,abstractKey:null},{kind:`InlineFragment`,selections:s,type:`MonthlyRateJobBudget`,abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:`JobDuration`,kind:`LinkedField`,name:`duration`,plural:!1,selections:[{alias:null,args:null,kind:`ScalarField`,name:`amount`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`interval`,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`JobRolesConnection`,kind:`LinkedField`,name:`roles`,plural:!1,selections:[{alias:null,args:null,concreteType:`JobRolesEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`Role`,kind:`LinkedField`,name:`node`,plural:!1,selections:[i,e,t],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`JobToolsConnection`,kind:`LinkedField`,name:`tools`,plural:!1,selections:[{alias:null,args:null,concreteType:`JobToolsEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`Tool`,kind:`LinkedField`,name:`node`,plural:!1,selections:[i,e,t,r],storageKey:null}],storageKey:null}],storageKey:null}],type:`Job`,abstractKey:null}})();G.hash=`527fb7870fa08ba9d58d893c268eed5f`;var GradientGlow=e=>{let t=(0,B.c)(19),{blurSize:n,borderRadius:r,children:i,duration:a,opacity:o,spreadSize:s}=e,c=n===void 0?4:n,l=r===void 0?`6px`:r,u=a===void 0?3:a,d=o===void 0?.7:o,f=s===void 0?2:s,p;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(p={backgroundPosition:[`0% 50%`,`200% 50%`]},t[0]=p):p=t[0];let m=`-${f}px`,h=`blur(${c}px)`,g=`calc(100% + ${f*2}px)`,_=`-${f}px`,y=`-${f}px`,b=`-${f}px`,x=`calc(100% + ${f*2}px)`,S;t[1]!==l||t[2]!==d||t[3]!==_||t[4]!==y||t[5]!==b||t[6]!==x||t[7]!==m||t[8]!==h||t[9]!==g?(S={background:`linear-gradient(117deg, #F9E45D, #F882C9, #9B73F4, #F882C9, #F9E45D)`,backgroundSize:`200% 200%`,borderRadius:l,bottom:m,filter:h,height:g,left:_,opacity:d,position:`absolute`,right:y,top:b,width:x,zIndex:0},t[1]=l,t[2]=d,t[3]=_,t[4]=y,t[5]=b,t[6]=x,t[7]=m,t[8]=h,t[9]=g,t[10]=S):S=t[10];let C;t[11]===u?C=t[12]:(C={duration:u,ease:`linear`,repeat:1/0},t[11]=u,t[12]=C);let w;t[13]!==S||t[14]!==C?(w=(0,U.jsx)(v.div,{animate:p,style:S,transition:C}),t[13]=S,t[14]=C,t[15]=w):w=t[15];let T;return t[16]!==i||t[17]!==w?(T=(0,U.jsxs)(`div`,{className:`jTWvec`,children:[w,i]}),t[16]=i,t[17]=w,t[18]=T):T=t[18],T},K=e(()=>{let e=(0,B.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(GradientGlow,{blurSize:3,duration:3,opacity:.8,spreadSize:2,children:(0,U.jsx)(`span`,{className:`bYPztT ijiAiy jsnJKs unbqo jsxFtA jRXFuD bYPznK dGYjex dCifdE ATGGx jTWvec bYPzoC hLQIGS kIIaya Axjab`,children:`Pro`})}),e[0]=t):t=e[0],t},`ProTag`),UpgradeToProButton=()=>{let e=(0,B.c)(6),{initiateSubscriptionFlow:t}=i(),t0;e[0]===t?t0=e[1]:(t0=e=>{e.stopPropagation(),e.preventDefault(),t({successParameters:{}})},e[0]=t,e[1]=t0);let n,r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsx)(K,{}),r=(0,U.jsx)(`div`,{className:`unbqo jrPWok jRXTuE jsxrFy bYPzoC`,children:`Unlock all jobs now`}),e[2]=n,e[3]=r):(n=e[2],r=e[3]);let a;return e[4]===t0?a=e[5]:(a=(0,U.jsx)(GradientGlow,{blurSize:6,borderRadius:`30px`,duration:5,opacity:.7,spreadSize:3,children:(0,U.jsxs)(`button`,{className:`hYEuKI bYPztT iaBdBF dpjryq fPSBzf cMGtQw jrIcfy bYPznK fZxbXn jTWvec iPkQcN cbkwRf Axjab`,onClick:t0,type:`button`,children:[n,r]})}),e[4]=t0,e[5]=a),a},buildDescription=({budget:e,duration:t,isExpertJob:n,timezoneOffsetTolerance:r,timezonePrimaryUtcOffset:i})=>{if(n||!e||e.__typename===`%other`)return null;let a=e.__typename===`FixedPriceJobBudget`,o=[be(e.feeMin,e.feeMax),_e(e.__typename)].filter(
4Boolean).join(``),s=me({budget:e,duration:t}),c=ve({timezoneOffsetTolerance:r,timezonePrimaryUtcOffset:i,variant:`short`}),l=[o,e.__typename===`HourlyRateJobBudget`&&e.estimatedHours?he(e?.estimatedHours):null,a?`One time`:null,s,c].filter(_);return l.length>0?l:null},TagList=e=>{let t=(0,B.c)(7),{roles:n,tools:r}=e,{roleIds:i,toolIds:a}=ge(),o;t[0]!==i||t[1]!==n||t[2]!==a||t[3]!==r?(o=[...n,...r].map(e=>({...e,checked:e.__typename===`Role`?i.includes(e.id):a.includes(e.id)})).toSorted(_temp),t[0]=i,t[1]=n,t[2]=a,t[3]=r,t[4]=o):o=t[4];let s=o,c;return t[5]===s?c=t[6]:(c=(0,U.jsx)(pe,{itemHeight:32,items:s,maxRows:1,readOnly:!0,tagSize:`medium`,transformItemToTag:_temp2,variant:`gray10-new`}),t[5]=s,t[6]=c),c},JobEmbedCardPrimitive=e=>{let t=(0,B.c)(90),{analyticsId:n,approvedAt:r,budget:i,dismissSlot:a,duration:o,isExpertJob:s,organization:u,ownerUserProfile:f,positionIndex:p,roles:m,slug:h,timezoneOffsetTolerance:g,timezonePrimaryUtcOffset:_,title:v,tools:y,variant:C,visitorCanEdit:T}=e,D=C===void 0?`default`:C,{track:O}=c(),{isContractor:A}=x(),te=de(),t2;t[0]!==n||t[1]!==p||t[2]!==O?(t2=()=>{O(`button`,{action:`tapped`,button_name:`demand_visit_job_posting`,job_posting_id:n,position_index:p,section:`job_posting_card`})},t[0]=n,t[1]=p,t[2]=O,t[3]=t2):t2=t[3];let re=t2,ie;t[4]===h?ie=t[5]:(ie=k(`/opportunity/@slug`,{args:{slug:h}}),t[4]=h,t[5]=ie);let j=ie,ae=f?.firstName,oe=f?.lastName,M;t[6]!==ae||t[7]!==oe?(M=S({firstName:ae,lastName:oe},`fullName`),t[6]=ae,t[7]=oe,t[8]=M):M=t[8];let le=M,ue;t[9]!==i||t[10]!==o||t[11]!==s||t[12]!==g||t[13]!==_?(ue=buildDescription({budget:i,duration:o,isExpertJob:s,timezoneOffsetTolerance:g,timezonePrimaryUtcOffset:_}),t[9]=i,t[10]=o,t[11]=s,t[12]=g,t[13]=_,t[14]=ue):ue=t[14];let N=ue,fe=u?u.name:le,pe=u?u?.logoImage??void 0:f?.avatarImage,me=ne(`FIFTY_PERCENT_COUPON_OFF_CONTRA_PRO`),he=ee()?.profile?.hasActivePortfolioSubscription??!1,ge=D===`embed`,_e=!ge&&!he,t8;t[15]!==n||t[16]!==N||t[17]!==u||t[18]!==le||t[19]!==f?.avatarImage?.uid||t[20]!==p||t[21]!==v||t[22]!==O?(t8=e=>{e.stopPropagation(),e.preventDefault(),O(`button`,{action:`tapped`,button_name:`job_embed_card_refer`,job_posting_id:n,position_index:p,section:`job_embed_card`});let t=u?u.name:le,r=u?u.logoImage?.uid??``:f?.avatarImage?.uid??``;d({opportunityFeedPost:{details:N?.join(` • `)??``,id:String(n),owner:{avatar:{uid:r},name:t},title:v??``},prefilledMessage:`Check out this job, I think you'd be a great fit!`,type:`OPPORTUNITY_REFERRAL`})},t[15]=n,t[16]=N,t[17]=u,t[18]=le,t[19]=f?.avatarImage?.uid,t[20]=p,t[21]=v,t[22]=O,t[23]=t8):t8=t[23],f?.avatarImage?.uid;let ve=t8,t9;t[24]!==n||t[25]!==p||t[26]!==h||t[27]!==O?(t9=e=>{e.stopPropagation(),e.preventDefault(),O(`button`,{action:`tapped`,button_name:`job_embed_card_apply`,job_posting_id:n,position_index:p,section:`job_embed_card`});let t=k(`/opportunity/@slug`,{args:{slug:h},search:{showApply:!0}});window.open(t,`_blank`,`noreferrer`)},t[24]=n,t[25]=p,t[26]=h,t[27]=O,t[28]=t9):t9=t[28];let be=t9,xe=`View job - ${v}`,P;t[29]===D?P=t[30]:(P=se([D],[[-1,-1,[`default`,-2,`embed`,-3]]],[`eveMep gfegUP jqowxY fTKCTg jFabLL VcpYp gEYBWy dEMbUs dAaTQP hDGJaH dTBYkx fPSBzf iRgpoQ dVuiVB ATIAQ fjmZFo hYZFkb`,`eveMep gfegUP jqowxY fTKCTg jFabLL VcpYp gEYBWy dEMbUs dAaTQP hDGJaH dTBYkx fPSBzf iRgpoQ dVuiVB ATIAQ fjmZFo hYZFkb dcFSwB`,`eveMep gfegUP jqowxY fTKCTg jFabLL VcpYp gEYBWy dEMbUs dAaTQP hDGJaH dTBYkx fPSBzf iRgpoQ dVuiVB ATIAQ fjmZFo hYZFkb hYCnIA`],0),t[29]=D,t[30]=P);let F;t[31]===D?F=t[32]:(F=se([D],[[-1,-1,[`default`,-2,`embed`,-3]]],[`gEYBWy fPSBzf iRgpoQ fNCcFz hYZFkb`,`gEYBWy fPSBzf iRgpoQ fNCcFz hYZFkb jrIcfy`,`gEYBWy fPSBzf iRgpoQ fNCcFz hYZFkb dAaUHp`],0),t[31]=D,t[32]=F);let I;t[33]!==fe||t[34]!==pe||t[35]!==u?(I=(0,U.jsx)(`div`,{className:`fPSBzf jTWvec`,children:u?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(w,{"aria-label":fe,avatarImage:pe,border:`gray20`,onClick:_temp3,size:40}),u.isVerified?(0,U.jsx)(ce,{className:`kyGdCf jXSfKH hWgptE ggsjeX dHinaL`,size:16}):null]}):(0,U.jsx)(w,{"aria-label":fe,avatarImage:pe,border:`gray20`,size:`sm`})}),t[33]=fe,t[34]=pe,t[35]=u,t[36]=I):I=t[36];let Se=u?u.name:le,L;t[37]!==r||t[38]!==ge?(L=ge&&r?(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf cMGtQw jrWRtM`,children:[(0,U.jsx)(`div`,{className:`gvJMFl dDifmo ATHrf ATHrs`}),(0,U.jsx)(`span`,{className:`iHkMOF hxnFtC`,children:ye(r,!0)})]}):null,t[37]=r,t[38]=ge,t[39]=L):L=t[39];let R;t[40]!==Se||t[41]!==L?(R=(0,U.jsxs)(`div`,{className:`bYPztT bucdke fPSBzf cMGtQw jrPWok jRYfTR jrWRtM jsxrFy`,children:[Se,L]}),t[40]=Se,t[41]=L,t[42]=R):R=t[42];let z;t[43]===v?z=t[44]:(z=(0,U.jsx)(`div`,{className:`uDneo jsgMqa jRXTuE jrPIAi gnlqYH hWhrno cbkwRf hYZFkb`,children:v}),t[43]=v,t[44]=z);let V;t[45]!==R||t[46]!==z?(V=(0,U.jsxs)(`div`,{className:`fPSBzf iRgpoQ gnlqYH hWhrno cbkwRf`,children:[R,z]}),t[45]=R,t[46]=z,t[47]=V):V=t[47];let H;t[48]!==I||t[49]!==V?(H=(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf hlUslA gTvoMs jrIcfy gnlqYH`,children:[I,V]}),t[48]=I,t[49]=V,t[50]=H):H=t[50];let W;t[51]===a?W=t[52]:(W=(0,U.jsx)(`div`,{className:`jmzEDN`,children:a}),t[51]=a,t[52]=W);let G;t[53]!==H||t[54]!==W?(G=(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf cMGtQw jrIcfy hYZFkb`,children:[H,W]}),t[53]=H,t[54]=W,t[55]=G):G=t[55];let K;t[56]===N?K=t[57]:(K=N&&N.length>0?(0,U.jsx)(`div`,{className:`bYPztT fPSBzf cMGtQw gasSYy jrIcfy hYZFkb`,children:N.map(_temp4)}):null,t[56]=N,t[57]=K);let q;t[58]!==m||t[59]!==y?(q=m.length>0||y.length>0?(0,U.jsx)(`div`,{className:`bYPztT fPSBzf cMGtQw dAaUHp hYZFkb`,children:(0,U.jsx)(`div`,{className:`bYPztT fPSBzf cMGtQw gTvoMs jrWRtM hYZFkb`,children:(0,U.jsx)(TagList,{roles:m,tools:y})})}
4):null,t[58]=m,t[59]=y,t[60]=q):q=t[60];let J;t[61]===T?J=t[62]:(J=se([T],[[-1,-1,[`true`,-2]]],[`bYPztT Cxvbg giSVLJ hecgTI fPSBzf cMGtQw dAaUHp dDWCpe jsgMoz hYZFkb`,`bYPztT Cxvbg giSVLJ hecgTI ddgODW cMGtQw dAaUHp dDWCpe jsgMoz hYZFkb`],0),t[61]=T,t[62]=J);let Y;t[63]!==te||t[64]!==A||t[65]!==ve?(Y=A?(0,U.jsx)(`div`,{className:`bYPztT fPSBzf jrIcfy`,children:te?(0,U.jsx)(E,{content:`Earn $25 when someone you refer upgrades to Pro`,delay:500,children:(0,U.jsxs)(`button`,{className:`dHYEnE lhYlsK bYPztT dqpYKm dZMtvg bwrUTQ ksdoCR gpPnyU fPSBzf jrWRtM jsOfqH fQaDCD idXdrM gesHzh fNDdIP gucnyf iULMNO ivweNq`,onClick:ve,type:`button`,children:[(0,U.jsx)(`svg`,{"aria-hidden":`true`,focusable:`false`,height:`0`,style:{position:`absolute`},width:`0`,children:(0,U.jsx)(`defs`,{children:(0,U.jsxs)(`linearGradient`,{gradientTransform:`rotate(45)`,id:`referEarnGiftIconGradient`,children:[(0,U.jsx)(`stop`,{offset:`0%`,stopColor:`#00E4F5`}),(0,U.jsx)(`stop`,{offset:`100%`,stopColor:`#BE3AEC`})]})})}),(0,U.jsx)(l,{size:16}),`Refer & Earn`]})}):(0,U.jsxs)(`button`,{className:`bYPztT fdiXMQ fPSBzf jrWRtM bYPznK fQaDCD`,onClick:ve,type:`button`,children:[(0,U.jsx)(l,{size:16}),`Refer & Earn`]})}):(0,U.jsx)(`button`,{className:`bYPztT fdiXMQ fPSBzf jrWRtM fQaDCD`,onClick:ve,type:`button`,children:`Refer job`}),t[63]=te,t[64]=A,t[65]=ve,t[66]=Y):Y=t[66];let X;t[67]!==A||t[68]!==be?(X=A?(0,U.jsx)(b,{onClick:be,size:`small`,variant:`primary`,children:`Apply on Contra`}):null,t[67]=A,t[68]=be,t[69]=X):X=t[69];let Z;t[70]!==J||t[71]!==Y||t[72]!==X?(Z=(0,U.jsxs)(`div`,{className:J,children:[Y,X]}),t[70]=J,t[71]=Y,t[72]=X,t[73]=Z):Z=t[73];let Q;t[74]!==F||t[75]!==G||t[76]!==K||t[77]!==q||t[78]!==Z?(Q=(0,U.jsxs)(`div`,{className:F,children:[G,K,q,Z]}),t[74]=F,t[75]=G,t[76]=K,t[77]=q,t[78]=Z,t[79]=Q):Q=t[79];let $;t[80]!==me||t[81]!==_e?($=_e?(0,U.jsxs)(`div`,{className:`bYPztT cDfdbJ hJuqGQ fPSBzf cMGtQw gasSYy dAaUHp bYPznK dOVAwc jRSnGx fNCcFz bYPzoC hYZFkb`,children:[(0,U.jsxs)(`div`,{className:`fPSBzf kdFIjO iRgpoQ jsnMfm hMIOua`,children:[me?(0,U.jsx)(`div`,{className:`iICIbf jsxFtA jRXFuD xKdOw jsgMFL hLQIGS`,children:`50% OFF PRO FOR EXPERTS`}):null,(0,U.jsx)(`div`,{className:`uDneo jsgMqa jRXTuE jrPIAi`,children:`More jobs are waiting for you`}),(0,U.jsx)(`div`,{className:`ismVzS jrPWok jRYfTR jsxrFy`,children:`Get matched to more roles like this`})]}),(0,U.jsx)(UpgradeToProButton,{})]}):null,t[80]=me,t[81]=_e,t[82]=$):$=t[82];let Ce;return t[83]!==j||t[84]!==re||t[85]!==xe||t[86]!==P||t[87]!==Q||t[88]!==$?(Ce=(0,U.jsxs)(`a`,{"aria-label":xe,className:P,href:j,onClick:re,target:`_blank`,children:[Q,$]}),t[83]=j,t[84]=re,t[85]=xe,t[86]=P,t[87]=Q,t[88]=$,t[89]=Ce):Ce=t[89],Ce},JobEmbedCard=e=>{let t=(0,B.c)(25),{dismissSlot:n,jobRef:r,positionIndex:i,variant:a}=e,o=a===void 0?`default`:a,s=C(G,r),{analyticsId:c,budget:l,createdAt:u,duration:d,expertProgram:f,jobPosting:p,organization:m,owner:h,slug:g,timezoneOffsetTolerance:_,timezonePrimaryUtcOffset:v,title:y,visitorCanEdit:b}=s;s.roles?.edges;let x;t[0]===s.roles?.edges?x=t[1]:(x=s.roles?.edges?.map?.(_temp5)??[],t[0]=s.roles?.edges,t[1]=x);let S=x,t3;t[2]===s.tools?.edges?t3=t[3]:(t3=()=>s.tools?.edges?.map?.(_temp6)??[],t[2]=s.tools?.edges,t[3]=t3),s.tools?.edges;let w;t[4]===t3?w=t[5]:(w=t3(),t[4]=t3,t[5]=w);let T=w,E=!!f?.id,D=p?.approvedAt??u,O=p?.id??``,k=h?.userProfile??null,A;return t[6]!==c||t[7]!==l||t[8]!==n||t[9]!==d||t[10]!==E||t[11]!==m||t[12]!==i||t[13]!==S||t[14]!==g||t[15]!==D||t[16]!==O||t[17]!==k||t[18]!==_||t[19]!==v||t[20]!==y||t[21]!==T||t[22]!==o||t[23]!==b?(A=(0,U.jsx)(JobEmbedCardPrimitive,{analyticsId:c,approvedAt:D,budget:l,dismissSlot:n,duration:d,isExpertJob:E,jobPostingId:O,organization:m,ownerUserProfile:k,positionIndex:i,roles:S,slug:g,timezoneOffsetTolerance:_,timezonePrimaryUtcOffset:v,title:y,tools:T,variant:o,visitorCanEdit:b}),t[6]=c,t[7]=l,t[8]=n,t[9]=d,t[10]=E,t[11]=m,t[12]=i,t[13]=S,t[14]=g,t[15]=D,t[16]=O,t[17]=k,t[18]=_,t[19]=v,t[20]=y,t[21]=T,t[22]=o,t[23]=b,t[24]=A):A=t[24],A};function _temp(e,t){return e.checked===t.checked?0:e.checked?-1:1}function _temp2(e){return{icon:e.logoImage?.uid?{uid:e.logoImage?.uid}:void 0,iconVariant:`SQUARE_NO_BACKGROUND`,label:e.name,mode:`none`,value:e.id}}function _temp3(){}function _temp4(e,t){return(0,U.jsxs)(H.Fragment,{children:[t>0?(0,U.jsx)(`div`,{className:`faZLFI jrPWok jsxrFy`,children:`•`}):null,(0,U.jsx)(`div`,{className:`bucdke jrPWok jRYfTR jsxrFy`,children:e})]},e)}function _temp5(e){let{node:t}=e;return t}function _temp6(e){let{node:t}=e;return t}var JobEmbedImplementation=({onJobLoaded:e,onLoad:t,slug:n})=>{let r=T(W,{slug:n}),i=(0,H.useRef)(!1);return(0,H.useEffect)(()=>{t()},[]),(0,H.useEffect)(()=>{r.jobBySlug&&e&&!i.current&&(i.current=!0,e(r.jobBySlug.id))},[r.jobBySlug,e]),r.jobBySlug?(0,U.jsx)(JobEmbedCard,{jobRef:r.jobBySlug,positionIndex:0,variant:`embed`}):null},JobEmbed=e=>{let t=(0,B.c)(4),{onJobLoaded:n,onLoad:r,slug:i}=e,a;return t[0]!==n||t[1]!==r||t[2]!==i?(a=(0,U.jsx)(H.Suspense,{children:(0,U.jsx)(JobEmbedImplementation,{onJobLoaded:n,onLoad:r,slug:i})}),t[0]=n,t[1]=r,t[2]=i,t[3]=a):a=t[3],a},q=(function(){var e=[{defaultValue:null,kind:`LocalArgument`,name:`slug`}],t=[{kind:`Variable`,name:`slug`,variableName:`slug`}],n={alias:null,args:null,kind:`ScalarField`,name:`id`,storageKey:null},r={alias:null,args:null,kind:`ScalarField`,name:`title`,storageKey:null},i={alias:null,args:null,kind:`ScalarField`,name:`analyticsId`,storageKey:null},a={alias:null,args:null,kind:`ScalarField`,name:`status`,storageKey:null},o={alias:null,args:null,kind:`ScalarField`,name:`firstName`,storageKey:null},s={alias:null,args:null,kind:`ScalarField`,name:`lastName`,storageKey:null},c={alias:null,args:null,kind:`ScalarField`,name:`uid`,storageKey:null},l={kind:`InlineFragment`,selections:[{alias:null,args:null,concreteType:`
4UserProfile`,kind:`LinkedField`,name:`userProfile`,plural:!1,selections:[n,o,s,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`avatarImage`,plural:!1,selections:[c,n,{alias:null,args:null,kind:`ScalarField`,name:`url`,storageKey:null}],storageKey:null}],storageKey:null}],type:`ExistingUserCollaborator`,abstractKey:null},u={alias:null,args:null,kind:`ScalarField`,name:`hasActivePortfolioSubscription`,storageKey:null},d={alias:null,args:null,kind:`ScalarField`,name:`activePortfolioSubscriptionPlanName`,storageKey:null},f={alias:null,args:null,concreteType:`PortfolioProjectRoleConnection`,kind:`LinkedField`,name:`roles`,plural:!1,selections:[{alias:null,args:null,concreteType:`PortfolioProjectRoleEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`Role`,kind:`LinkedField`,name:`node`,plural:!1,selections:[n,{alias:null,args:null,kind:`ScalarField`,name:`skillName`,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},p={alias:null,args:null,kind:`ScalarField`,name:`name`,storageKey:null},m={alias:null,args:null,concreteType:`PortfolioProjectToolConnection`,kind:`LinkedField`,name:`tools`,plural:!1,selections:[{alias:null,args:null,concreteType:`PortfolioProjectToolEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`Tool`,kind:`LinkedField`,name:`node`,plural:!1,selections:[n,p,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`logoImage`,plural:!1,selections:[n,c],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},h={alias:null,args:null,kind:`ScalarField`,name:`__typename`,storageKey:null},g=[c,n],_=[o,s,{alias:null,args:null,concreteType:`Organization`,kind:`LinkedField`,name:`organizationV2`,plural:!1,selections:[p,n],storageKey:null},n];return{fragment:{argumentDefinitions:e,kind:`Fragment`,metadata:null,name:`PortfolioProjectEmbedQuery`,selections:[{alias:null,args:t,concreteType:`PortfolioProject`,kind:`LinkedField`,name:`portfolioProjectBySlug`,plural:!1,selections:[n,r,i,{alias:null,args:null,concreteType:`PortfolioProjectCollaboratorConnection`,kind:`LinkedField`,name:`collaborators`,plural:!1,selections:[{alias:null,args:null,concreteType:`PortfolioProjectCollaboratorEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`node`,plural:!1,selections:[a,l],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`userProfile`,plural:!1,selections:[n,o,s,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`avatarImage`,plural:!1,selections:[c],storageKey:null},u,d],storageKey:null},{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`cover`,plural:!1,selections:[{args:null,kind:`FragmentSpread`,name:`ProjectCoverWrapper_portfolioProjectCover`}],storageKey:null},f,m,{args:null,kind:`FragmentSpread`,name:`VerifiedProjectTag_portfolioProject`}],storageKey:null}],type:`Query`,abstractKey:null},kind:`Request`,operation:{argumentDefinitions:e,kind:`Operation`,name:`PortfolioProjectEmbedQuery`,selections:[{alias:null,args:t,concreteType:`PortfolioProject`,kind:`LinkedField`,name:`portfolioProjectBySlug`,plural:!1,selections:[n,r,i,{alias:null,args:null,concreteType:`PortfolioProjectCollaboratorConnection`,kind:`LinkedField`,name:`collaborators`,plural:!1,selections:[{alias:null,args:null,concreteType:`PortfolioProjectCollaboratorEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`node`,plural:!1,selections:[h,a,l,n],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`userProfile`,plural:!1,selections:[n,o,s,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`avatarImage`,plural:!1,selections:g,storageKey:null},u,d],storageKey:null},{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`cover`,plural:!1,selections:[h,{kind:`TypeDiscriminator`,abstractKey:`__isPortfolioProjectCover`},{kind:`InlineFragment`,selections:[{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`image`,plural:!1,selections:[{alias:null,args:null,kind:`ScalarField`,name:`animated`,storageKey:null},c,n],storageKey:null}],type:`PortfolioProjectImageCover`,abstractKey:null},{kind:`InlineFragment`,selections:[{alias:null,args:null,kind:`ScalarField`,name:`style`,storageKey:null}],type:`PortfolioProjectTextCover`,abstractKey:null},{kind:`InlineFragment`,selections:[{alias:null,args:null,concreteType:`ContraVideo`,kind:`LinkedField`,name:`video`,plural:!1,selections:g,storageKey:null}],type:`PortfolioProjectVideoCover`,abstractKey:null}],storageKey:null}
4,f,m,{alias:null,args:null,concreteType:`VerifiedPaidProject`,kind:`LinkedField`,name:`verifiedPaidProject`,plural:!1,selections:[{alias:null,args:null,kind:`ScalarField`,name:`showTotalCost`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`totalCostIsPubliclyVisible`,storageKey:null},{alias:null,args:null,concreteType:`PublicPaidProject`,kind:`LinkedField`,name:`paidProject`,plural:!1,selections:[n,{alias:null,args:null,kind:`ScalarField`,name:`paidToDate`,storageKey:null},{alias:null,args:null,concreteType:`PublicPaidProjectClient`,kind:`LinkedField`,name:`client`,plural:!1,selections:[{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`userProfile`,plural:!1,selections:_,storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`PublicInvoice`,kind:`LinkedField`,name:`invoice`,plural:!1,selections:[n,{alias:null,args:null,kind:`ScalarField`,name:`totalAmount`,storageKey:null},{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`clientOwnerProfile`,plural:!1,selections:_,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:`9ebe35f0d30a7823ec733bffe1b54bef`,metadata:{},name:`PortfolioProjectEmbedQuery`,operationKind:`query`,text:null}}})();q.hash=`a3a85c6ab66a7a8145fba81e3de6f708`;var ProTag=e=>{let t=(0,B.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=M(`coAKiw jsnJKs unbqo oHDQy fNBpFJ eJFCxu jRXFuD dSyNxL jdmOYL fNCaSL fNCaYZ fNCbcn fNCbdx bYPzoC hLQIGS fNAAGV`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,U.jsx)(`span`,{className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a},J=(function(){var e={alias:null,args:null,kind:`ScalarField`,name:`id`,storageKey:null},t=[{alias:null,args:null,kind:`ScalarField`,name:`firstName`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`lastName`,storageKey:null},{alias:null,args:null,concreteType:`Organization`,kind:`LinkedField`,name:`organizationV2`,plural:!1,selections:[{alias:null,args:null,kind:`ScalarField`,name:`name`,storageKey:null}],storageKey:null}];return{argumentDefinitions:[],kind:`Fragment`,metadata:null,name:`VerifiedProjectTag_portfolioProject`,selections:[{alias:null,args:null,concreteType:`VerifiedPaidProject`,kind:`LinkedField`,name:`verifiedPaidProject`,plural:!1,selections:[{alias:null,args:null,kind:`ScalarField`,name:`showTotalCost`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`totalCostIsPubliclyVisible`,storageKey:null},{alias:null,args:null,concreteType:`PublicPaidProject`,kind:`LinkedField`,name:`paidProject`,plural:!1,selections:[e,{alias:null,args:null,kind:`ScalarField`,name:`paidToDate`,storageKey:null},{alias:null,args:null,concreteType:`PublicPaidProjectClient`,kind:`LinkedField`,name:`client`,plural:!1,selections:[{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`userProfile`,plural:!1,selections:t,storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`PublicInvoice`,kind:`LinkedField`,name:`invoice`,plural:!1,selections:[e,{alias:null,args:null,kind:`ScalarField`,name:`totalAmount`,storageKey:null},{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`clientOwnerProfile`,plural:!1,selections:t,storageKey:null}],storageKey:null}],storageKey:null}],type:`PortfolioProject`,abstractKey:null}})();J.hash=`38348be15567e7e9469e99930a71a5c1`;var VerifiedProjectTag=e=>{let t=(0,B.c)(15),{portfolioProjectRef:n}=e,r=C(J,n),i=r.verifiedPaidProject?.paidProject?.client?.userProfile.organizationV2??r.verifiedPaidProject?.invoice?.clientOwnerProfile?.organizationV2,a=r.verifiedPaidProject?.paidProject?.client?.userProfile??r.verifiedPaidProject?.invoice?.clientOwnerProfile,o=i?`Completed on Contra for ${i.name}`:a?`Completed on Contra for ${a?.firstName} ${a?.lastName}`:null,c=r.verifiedPaidProject?.paidProject?.paidToDate??r.verifiedPaidProject?.invoice?.totalAmount,l=!!(r.verifiedPaidProject?.showTotalCost&&r.verifiedPaidProject?.totalCostIsPubliclyVisible&&c),u;t[0]!==l||t[1]!==c?(u=l&&c?te.deserialize(c):null,t[0]=l,t[1]=c,t[2]=u):u=t[2];let d=u,f;t[3]===d?f=t[4]:(f=se([!!d],[[-1,-1,[`false`,-2,`true`,-3]]],[`bYPztT fPSBzf jsnMfm fNDbsJ bYPznK gsynQA`,`bYPztT fPSBzf jsnMfm fNDbsJ bYPznK gsynQA f
4NBMTY fNBpxA fNBpFS fNBMXm`,`bYPztT fPSBzf jsnMfm fNDbsJ bYPznK gsynQA fNBMTY jsOvNr jsOvuZ fNBMXm`],0),t[3]=d,t[4]=f);let p;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,U.jsx)(D,{size:16}),t[5]=p):p=t[5];let m;t[6]===d?m=t[7]:(m=d?(0,U.jsxs)(`p`,{className:`dkAowc`,children:[s(d),` earned`]}):null,t[6]=d,t[7]=m);let h;t[8]!==f||t[9]!==m?(h=(0,U.jsxs)(`div`,{className:f,children:[p,m]}),t[8]=f,t[9]=m,t[10]=h):h=t[10];let g=h;if(!r?.verifiedPaidProject)return null;let _;return t[11]!==g||t[12]!==o||t[13]!==d?(_=(0,U.jsx)(`div`,{className:`cDlHWI dKCFRy unbqo jTWvec`,children:o&&d?(0,U.jsx)(E,{content:o,children:g}):g}),t[11]=g,t[12]=o,t[13]=d,t[14]=_):_=t[14],_},PortfolioProjectEmbedImplementation=({authorUserProfileId:e,customBorderRadius:t,customHeight:n,onLoad:r,slug:i})=>{let a=T(q,{slug:i}),{track:o}=c(),s=k(`/p/@slug`,{args:{slug:i}}),l=(0,H.useCallback)(e=>{e.stopPropagation(),o(`link`,{action:`tapped`,link_name:`portfolio_cover_social_post_embed`,portfolio_project_id:a.portfolioProjectBySlug?.analyticsId??void 0})},[a.portfolioProjectBySlug?.analyticsId,o]);if((0,H.useEffect)(()=>{r()},[]),!a.portfolioProjectBySlug)return null;let u=a.portfolioProjectBySlug.userProfile?.id===e,d=S({firstName:a.portfolioProjectBySlug.userProfile?.firstName,lastName:a.portfolioProjectBySlug.userProfile?.lastName},`fullName`),f=a.portfolioProjectBySlug.roles.edges.map(e=>({...e.node,name:e.node.skillName})),p=[...a.portfolioProjectBySlug.tools.edges.map(e=>({...e.node,logoImage:e.node.logoImage??void 0})),...f],m=a.portfolioProjectBySlug.collaborators.edges.filter(e=>e.node.status===`CONFIRMED`);return(0,U.jsxs)(`a`,{className:`gEYBWy iHMUDJ jZzPrs hYCnIA hDGJaH dTBYkx fPSBzf iRgpoQ bYPznK gnlqYH jTWvec hYZFkb`,href:s,onClick:l,style:{borderRadius:`${t??16}px`,...n!=null&&{height:`${n}px`}},target:`_blank`,children:[(0,U.jsxs)(`div`,{className:`hdsZww fFXUdE jszkma jTWvec hYZFkb`,children:[(0,U.jsx)(xe,{coverRef:a.portfolioProjectBySlug.cover,width:504}),(0,U.jsx)(`div`,{className:`eQmjvw jXSfKH dAaUNY gsynQA`,children:(0,U.jsx)(VerifiedProjectTag,{portfolioProjectRef:a.portfolioProjectBySlug})})]}),(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf iRgpoQ gTvoMs dVuiVB fawNMY eXclLq gnlqYH jsgMzt jsOvNr jsOvuZ jsgMoz hWhrno cbkwRf hYZFkb`,children:[u?(0,U.jsxs)(`div`,{className:`fPSBzf iRgpoQ dKLBtz gnlqYH hYZFkb`,children:[(0,U.jsx)(`div`,{className:`cHzrOo kDYZJM hlUslA gTvoMs bncTJQ gnlqYH hWhrno cbkwRf hYZFkb`,children:a.portfolioProjectBySlug.title}),(0,U.jsx)(pe,{ariaLabel:`Skills and tools`,itemHeight:32,items:p,maxRows:1,showHoverState:!1,tagSize:`medium`,transformItemToTag:e=>({icon:e.logoImage?{uid:e.logoImage.uid}:void 0,iconVariant:e.logoImage?`SQUARE_NO_BACKGROUND`:void 0,label:e.name,mode:`none`,readOnly:!0,value:e.id}),variant:`gray10-new`})]}):(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf dVuiVB gEYBVn hYZFkb`,children:[a.portfolioProjectBySlug.userProfile?.avatarImage?.uid?(0,U.jsx)(`div`,{className:`eUEhIU`,children:(0,U.jsx)(w,{avatarImage:{uid:a.portfolioProjectBySlug.userProfile.avatarImage.uid},size:40})}):null,(0,U.jsxs)(`div`,{className:`bqNVDS fMVwGR gOgtJC kJHBEy kyasWh kdWjC hsFrMJ fPSBzf iRgpoQ hlUslA gnlqYH`,children:[(0,U.jsx)(`p`,{className:`gCDAPB`,children:a.portfolioProjectBySlug.title}),(0,U.jsxs)(`p`,{className:`dkAowc keTmSR`,children:[d,a.portfolioProjectBySlug.userProfile?.hasActivePortfolioSubscription?(0,U.jsx)(ProTag,{children:a.portfolioProjectBySlug.userProfile.activePortfolioSubscriptionPlanName===`max`?`Max`:`Pro`}):null]})]})]}),m.length>0?(0,U.jsxs)(`div`,{className:`fPDHMd giSVLJ hecgTI cYdhWw dVuiVB fNCnEx jsgMoz hYZFkb`,children:[(0,U.jsx)(`p`,{className:`fdiXMQ fQaDCD`,children:`Project collaborators`}),(0,U.jsx)(`div`,{className:`fPSBzf gasSYy jrIcfy`,children:m.map(e=>(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf jmzEDN ZWNVL dVuiVB fNBpFS`,children:[(0,U.jsx)(w,{avatarImage:e.node.userProfile?.avatarImage,fallbackName:e.node.userProfile?.firstName??`?`,size:24}),S({firstName:e.node.userProfile?.firstName,lastName:e.node.userProfile?.lastName},`fullName`,`?`)]},e.node.userProfile?.id))})]}):null]})]})},PortfolioProjectEmbed=e=>{let t=(0,B.c)(6),{authorUserProfileId:n,customBorderRadius:r,customHeight:i,onLoad:a,slug:o}=e,s;return t[0]!==n||t[1]!==r||t[2]!==i||t[3]!==a||t[4]!==o?(s=(0,U.jsx)(H.Suspense,{children:(0,U.jsx)(PortfolioProjectEmbedImplementation,{authorUserProfileId:n,customBorderRadius:r,customHeight:i,onLoad:a,slug:o})}),t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s):s=t[5],s},Y=(function(){var e=[{defaultValue:null,kind:`LocalArgument`,name:`slug`}],t=[{kind:`Variable`,name:`slug`,variableName:`slug`}],n={alias:null,args:null,kind:`ScalarField`,name:`id`,storageKey:null},r={alias:null,args:null,kind:`ScalarField`,name:`title`,storageKey:null},i={alias:null,args:null,kind:`ScalarField`,name:`analyticsId`,storageKey:null},a={alias:null,args:null,kind:`ScalarField`,name:`__typename`,storageKey:null},o={alias:null,args:null,kind:`ScalarField`,name:`uid`,storageKey:null},s={alias:null,args:null,kind:`ScalarField`,name:`height`,storageKey:null},c={alias:null,args:null,kind:`ScalarField`,name:`width`,storageKey:null},l={alias:null,args:null,kind:`ScalarField`,name:`price`,storageKey:null},u={alias:null,args:null,kind:`ScalarField`,name:`slug`,storageKey:null},d={alias:null,args:null,concreteType:`BillingInterval`,kind:`LinkedField`,name:`billingInterval`,plural:!1,selections:[{alias:null,args:null,kind:`ScalarField`,name:`unit`,storageKey:null},{alias:null,args:null,kind:`ScalarField`,name:`value`,storageKey:null}],storageKey:null},f={alias:null,args:null,kind:`ScalarField`,name:`firstName`,storageKey:null},p={alias:null,args:null,kind:`ScalarField`,name:`lastName`,storageKey:null},m={alias:null,args:null,kind:`ScalarField`,name:`hasActivePortfolioSubscription`,storageKey:null},h={alias:null,args:null,kind:`ScalarField`,name:`activePortfolioSubscriptionPlanName`,
4storageKey:null};return{fragment:{argumentDefinitions:e,kind:`Fragment`,metadata:null,name:`ProductEmbedQuery`,selections:[{alias:null,args:t,concreteType:`Product`,kind:`LinkedField`,name:`productBySlug`,plural:!1,selections:[n,r,i,{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`featuredMedia`,plural:!0,selections:[{kind:`InlineFragment`,selections:[a,o,s,c,n],type:`ContraImage`,abstractKey:null},{kind:`InlineFragment`,selections:[a,s,n,o,c],type:`ContraVideo`,abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:`ProductOfferingConnection`,kind:`LinkedField`,name:`productOfferings`,plural:!1,selections:[{alias:null,args:null,concreteType:`ProductOfferingEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`ProductOffering`,kind:`LinkedField`,name:`node`,plural:!1,selections:[r,{alias:null,args:null,concreteType:`PaymentLink`,kind:`LinkedField`,name:`paymentLink`,plural:!1,selections:[l,u,d],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`owner`,plural:!1,selections:[n,f,p,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`avatarImage`,plural:!1,selections:[o],storageKey:null},m,h],storageKey:null}],storageKey:null}],type:`Query`,abstractKey:null},kind:`Request`,operation:{argumentDefinitions:e,kind:`Operation`,name:`ProductEmbedQuery`,selections:[{alias:null,args:t,concreteType:`Product`,kind:`LinkedField`,name:`productBySlug`,plural:!1,selections:[n,r,i,{alias:null,args:null,concreteType:null,kind:`LinkedField`,name:`featuredMedia`,plural:!0,selections:[a,{kind:`InlineFragment`,selections:[o,s,c,n],type:`ContraImage`,abstractKey:null},{kind:`InlineFragment`,selections:[s,n,o,c],type:`ContraVideo`,abstractKey:null},{kind:`InlineFragment`,selections:[n],type:`Node`,abstractKey:`__isNode`}],storageKey:null},{alias:null,args:null,concreteType:`ProductOfferingConnection`,kind:`LinkedField`,name:`productOfferings`,plural:!1,selections:[{alias:null,args:null,concreteType:`ProductOfferingEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`ProductOffering`,kind:`LinkedField`,name:`node`,plural:!1,selections:[r,{alias:null,args:null,concreteType:`PaymentLink`,kind:`LinkedField`,name:`paymentLink`,plural:!1,selections:[l,u,d,n],storageKey:null},n],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`owner`,plural:!1,selections:[n,f,p,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`avatarImage`,plural:!1,selections:[o,n],storageKey:null},m,h],storageKey:null}],storageKey:null}]},params:{id:`e76868583d9bd2b56441a51b1a2f1899`,metadata:{},name:`ProductEmbedQuery`,operationKind:`query`,text:null}}})();Y.hash=`ed6846e9ec532b89e1cb57905637f29b`;var ProductEmbedImplementation=({customBorderRadius:e,customHeight:t,onLoad:n,slug:r})=>{let i=T(Y,{slug:r}),{track:a}=c(),o=k(`/products/@slug`,{args:{slug:r}}),s=(0,H.useCallback)(e=>{e.stopPropagation(),a(`link`,{action:`tapped`,link_name:`product_social_post_embed`,product_id:i.productBySlug?.analyticsId??void 0})},[i.productBySlug?.analyticsId,a]);if((0,H.useEffect)(()=>{n()},[]),!i.productBySlug)return null;let l=I(i.productBySlug.featuredMedia)[0],u=[i.productBySlug.owner?.firstName,i.productBySlug.owner?.lastName].filter(Boolean).join(` `);return(0,U.jsxs)(`a`,{className:`gEYBWy iHMUDJ jZzPrs hYCnIA dAaTQP hDGJaH dTBYkx fPSBzf iRgpoQ bYPznK gnlqYH jTWvec hYZFkb`,href:o,onClick:s,rel:`noreferrer`,style:{borderRadius:e===void 0?void 0:`${e}px`,height:t===void 0?void 0:`${t}px`},target:`_blank`,children:[(0,U.jsx)(`div`,{className:`elTCSD jszkma jTWvec hYZFkb`,children:l?(0,U.jsx)(P,{isSelected:!0,item:l}):(0,U.jsx)(`div`,{className:`dcFSAO hYZFjI hYZFkb`})}),(0,U.jsxs)(`div`,{className:`fPSBzf gTvoMs dVuiVB cCuyDY gnlqYH kIYMjD hYZFkb`,children:[i.productBySlug.owner?.avatarImage?.uid?(0,U.jsx)(`div`,{className:`eUEhIU`,children:(0,U.jsx)(w,{avatarImage:{uid:i.productBySlug.owner.avatarImage.uid},size:40})}):null,(0,U.jsxs)(`div`,{className:`bqNVDS fMVwGR gOgtJC fPSBzf iRgpoQ hlUslA jsnMfm gnlqYH`,children:[(0,U.jsx)(`div`,{className:`cHzrOo bncTJQ gnlqYH hWhrno cbkwRf`,children:i.productBySlug.title}),(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf jrWRtM`,children:[(0,U.jsx)(`p`,{className:`bucdke dkAowc`,children:u}),i.productBySlug.owner?.hasActivePortfolioSubscription?(0,U.jsx)(ProTag,{children:i.productBySlug.owner.activePortfolioSubscriptionPlanName===`max`?`Max`:`Pro`}):null]}),(0,U.jsx)(F,{product:i.productBySlug,size:`sm`})]})]})]})},ProductEmbed=e=>{let t=(0,B.c)(5),{customBorderRadius:n,customHeight:r,onLoad:i,slug:a}=e,o;return t[0]!==n||t[1]!==r||t[2]!==i||t[3]!==a?(o=(0,U.jsx)(H.Suspense,{children:(0,U.jsx)(ProductEmbedImplementation,{customBorderRadius:n,customHeight:r,onLoad:i,slug:a})}),t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o):o=t[4],o},X=(function(){var e=[{defaultValue:null,kind:`LocalArgument`,name:`displayUsern
4ame`},{defaultValue:null,kind:`LocalArgument`,name:`highlightedUserReviewId`}],t=[{kind:`Variable`,name:`username`,variableName:`displayUsername`}],n={alias:null,args:null,kind:`ScalarField`,name:`firstName`,storageKey:null},r={alias:null,args:null,kind:`ScalarField`,name:`lastName`,storageKey:null},i={alias:null,args:null,kind:`ScalarField`,name:`uid`,storageKey:null},a=[i],o={alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`avatarImage`,plural:!1,selections:a,storageKey:null},s={alias:null,args:null,kind:`ScalarField`,name:`hasActivePortfolioSubscription`,storageKey:null},c={alias:null,args:null,kind:`ScalarField`,name:`activePortfolioSubscriptionPlanName`,storageKey:null},l=[{kind:`Literal`,name:`filter`,value:{commentOnlyVisibleToRecipient:!1,isPositiveReview:!0}},{kind:`Literal`,name:`first`,value:1},{kind:`Variable`,name:`highlightedReviewId`,variableName:`highlightedUserReviewId`}],u={alias:null,args:null,kind:`ScalarField`,name:`id`,storageKey:null},d={alias:null,args:null,kind:`ScalarField`,name:`createdAt`,storageKey:null},f={alias:null,args:null,kind:`ScalarField`,name:`reviewText`,storageKey:null},p={alias:null,args:null,kind:`ScalarField`,name:`relationshipType`,storageKey:null},m={alias:null,args:null,kind:`ScalarField`,name:`title`,storageKey:null},h={alias:null,args:null,kind:`ScalarField`,name:`__typename`,storageKey:null},g={alias:null,args:null,kind:`ScalarField`,name:`name`,storageKey:null},_={alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`logoImage`,plural:!1,selections:a,storageKey:null},v=[{alias:null,args:null,concreteType:`Tool`,kind:`LinkedField`,name:`node`,plural:!1,selections:[h,u,g,_],storageKey:null}],y=[{alias:null,args:null,concreteType:`Role`,kind:`LinkedField`,name:`node`,plural:!1,selections:[h,u,g],storageKey:null}],b={alias:null,args:null,concreteType:`PortfolioProjectRoleConnection`,kind:`LinkedField`,name:`roles`,plural:!1,selections:[{alias:null,args:null,concreteType:`PortfolioProjectRoleEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:y,storageKey:null}],storageKey:null},x={alias:null,args:null,concreteType:`ProductizedServiceRoleConnection`,kind:`LinkedField`,name:`roles`,plural:!1,selections:[{alias:null,args:null,concreteType:`ProductizedServiceRoleEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:y,storageKey:null}],storageKey:null},S={alias:null,args:null,kind:`ScalarField`,name:`visitorCanViewReviewerIdentity`,storageKey:null},C={alias:null,args:null,kind:`ScalarField`,name:`importSource`,storageKey:null},w={alias:null,args:null,kind:`ScalarField`,name:`anonymizedReviewerIndustry`,storageKey:null},T={alias:null,args:null,kind:`ScalarField`,name:`anonymizedReviewerPrimarySkill`,storageKey:null},E={alias:null,args:null,kind:`ScalarField`,name:`reviewerBelongsToOrganization`,storageKey:null},D={alias:null,args:null,kind:`ScalarField`,name:`reviewerName`,storageKey:null},O=[i,u],k={alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`avatarImage`,plural:!1,selections:O,storageKey:null},A={alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`logoImage`,plural:!1,selections:O,storageKey:null},ee=[{alias:null,args:null,concreteType:`Tool`,kind:`LinkedField`,name:`node`,plural:!1,selections:[h,u,g,A],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:`Fragment`,metadata:null,name:`UserReviewEmbedQuery`,selections:[{alias:null,args:t,concreteType:`UserProfile`,kind:`LinkedField`,name:`userProfileByUsername`,plural:!1,selections:[n,r,o,s,c,{alias:null,args:l,concreteType:`UserReviewConnection`,kind:`LinkedField`,name:`userReviews`,plural:!1,selections:[{alias:null,args:null,concreteType:`UserReviewEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`UserReview`,kind:`LinkedField`,name:`node`,plural:!1,selections:[u,d,f,p,{alias:null,args:null,concreteType:`UserReviewAssociatedWork`,kind:`LinkedField`,name:`associatedWork`,plural:!1,selections:[{alias:null,args:null,concreteType:`PaidProjectProfile`,kind:`LinkedField`,name:`paidProjectProfile`,plural:!1,selections:[m],storageKey:null},{alias:null,args:null,concreteType:`PortfolioProject`,kind:`LinkedField`,name:`portfolioProject`,plural:!1,selections:[m,{alias:null,args:null,concreteType:`PortfolioProjectToolConnection`,kind:`LinkedField`,name:`tools`,plural:!1,selections:[{alias:null,args:null,concreteType:`PortfolioProjectToolEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:v,storageKey:null}],storageKey:null},b],storageKey:null},{alias:null,args:null,concreteType:`ProductizedService`,kind:`LinkedField`,name:`productizedService`,plural:!1,selections:[m,{alias:null,args:null,concreteType:`ProductizedServiceToolConnection`,kind:`LinkedField`,name:`tools`,plural:!1,selections:[{alias:null,args:null,concreteType:`ProductizedServiceToolEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:v,storageKey:null}],storageKey:null},x],storageKey:null}],storageKey:null}
4,S,C,w,T,E,{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`author`,plural:!1,selections:[n,r,o,{alias:null,args:null,concreteType:`Organization`,kind:`LinkedField`,name:`organizationV2`,plural:!1,selections:[u,g,_],storageKey:null}],storageKey:null},D,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`reviewerAvatar`,plural:!1,selections:a,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:`Query`,abstractKey:null},kind:`Request`,operation:{argumentDefinitions:e,kind:`Operation`,name:`UserReviewEmbedQuery`,selections:[{alias:null,args:t,concreteType:`UserProfile`,kind:`LinkedField`,name:`userProfileByUsername`,plural:!1,selections:[n,r,k,s,c,{alias:null,args:l,concreteType:`UserReviewConnection`,kind:`LinkedField`,name:`userReviews`,plural:!1,selections:[{alias:null,args:null,concreteType:`UserReviewEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:[{alias:null,args:null,concreteType:`UserReview`,kind:`LinkedField`,name:`node`,plural:!1,selections:[u,d,f,p,{alias:null,args:null,concreteType:`UserReviewAssociatedWork`,kind:`LinkedField`,name:`associatedWork`,plural:!1,selections:[{alias:null,args:null,concreteType:`PaidProjectProfile`,kind:`LinkedField`,name:`paidProjectProfile`,plural:!1,selections:[m,u],storageKey:null},{alias:null,args:null,concreteType:`PortfolioProject`,kind:`LinkedField`,name:`portfolioProject`,plural:!1,selections:[m,{alias:null,args:null,concreteType:`PortfolioProjectToolConnection`,kind:`LinkedField`,name:`tools`,plural:!1,selections:[{alias:null,args:null,concreteType:`PortfolioProjectToolEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:ee,storageKey:null}],storageKey:null},b,u],storageKey:null},{alias:null,args:null,concreteType:`ProductizedService`,kind:`LinkedField`,name:`productizedService`,plural:!1,selections:[m,{alias:null,args:null,concreteType:`ProductizedServiceToolConnection`,kind:`LinkedField`,name:`tools`,plural:!1,selections:[{alias:null,args:null,concreteType:`ProductizedServiceToolEdge`,kind:`LinkedField`,name:`edges`,plural:!0,selections:ee,storageKey:null}],storageKey:null},x,u],storageKey:null}],storageKey:null},S,C,w,T,E,{alias:null,args:null,concreteType:`UserProfile`,kind:`LinkedField`,name:`author`,plural:!1,selections:[n,r,k,{alias:null,args:null,concreteType:`Organization`,kind:`LinkedField`,name:`organizationV2`,plural:!1,selections:[u,g,A],storageKey:null},u],storageKey:null},D,{alias:null,args:null,concreteType:`ContraImage`,kind:`LinkedField`,name:`reviewerAvatar`,plural:!1,selections:O,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},u],storageKey:null}]},params:{id:`b4652cd3478179faa927b8151b16af68`,metadata:{},name:`UserReviewEmbedQuery`,operationKind:`query`,text:null}}})();X.hash=`f5320a1d1926a8bbf8917427b77f73f8`;var Z=`https://builds.contra.com/assets/assets/static/user-review-background.DkEDxQur.webp`,UserReviewEmbedImplementation=({customBorderRadius:e,customHeight:t,displayUsername:n,onLoad:r,userReviewId:i})=>{let a=T(X,{displayUsername:n,highlightedUserReviewId:i}),{track:o}=c(),s=(0,H.useCallback)(e=>{e.stopPropagation(),o(`link`,{action:`tapped`,link_name:`user_review_social_post_embed`,user_review_id:i})},[o,i]),l=a.userProfileByUsername?.userReviews?.edges[0]?.node,u=k(`/@username/reviews`,{args:{username:n},search:{highlightedReviewId:i}});if((0,H.useEffect)(()=>{r()},[]),!l)return null;let d=(l.associatedWork.portfolioProject??l.associatedWork.productizedService??l.associatedWork.paidProjectProfile)?.title,f=l.visitorCanViewReviewerIdentity,p=l.reviewText||`${f?l.author?.firstName||z(l.reviewerName):`A verified client`} recommends working with ${a.userProfileByUsername.firstName}`,g=f?[{avatarImage:R(l.author,l.reviewerAvatar),key:`authorAvatar`},{avatarImage:l.author?.organizationV2?.logoImage??null,key:`companyAvatar`}].filter(({avatarImage:e})=>!!e):[],_=S({firstName:a.userProfileByUsername.firstName,lastName:a.userProfileByUsername.lastName},`fullName`),v=f?L(l.author,l.reviewerName,S):Se({importSource:l.importSource,industry:l.anonymizedReviewerIndustry,primarySkill:l.anonymizedReviewerPrimarySkill,relationshipType:l.relationshipType,reviewerBelongsToOrganization:l.reviewerBelongsToOrganization}),y=f?[l.author?.organizationV2?.name,`${l.relationshipType.slice(0,1)}${l.relationshipType.slice(1).toLowerCase()}
4`].filter(Boolean).join(`, `):`${l.relationshipType.slice(0,1)}${l.relationshipType.slice(1).toLowerCase()}`,b=(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf jrWRtM`,children:[(0,U.jsx)(`span`,{children:_}),a.userProfileByUsername?.hasActivePortfolioSubscription?(0,U.jsx)(ProTag,{children:a.userProfileByUsername.activePortfolioSubscriptionPlanName===`max`?`Max`:`Pro`}):null]});return(0,U.jsxs)(`a`,{className:`bYPztT gMmEcR fPSBzf bYPznK gnlqYH jsxrDU jsxrHO jsxrus jsxrti jTWvec fwiqUo cnjrGw clLRfe ftvxYy hYZFkb`,href:u,onClick:s,style:{borderRadius:`${e??16}px`,height:t?`${t}px`:void 0},target:`_blank`,children:[(0,U.jsx)(`div`,{className:`kyGdCf CbbpT hYZFjI kiKDyH jXSfKH hYZFkb`,style:{backgroundImage:`url(${Z})`,backgroundPosition:`center`,backgroundSize:`cover`}}),(0,U.jsxs)(`div`,{className:`euaIkU jZzPrs dKCFRy lbSnLk fPSBzf iRgpoQ dAaUHp jsgMzt jsgMDf jsgMpR jsgMoz cGmYLa hNAKdJ dXTfTU dXDhOC dVwfaI dTQOAS HMDXS hYZFkb Axjab`,children:[(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf dVuiVB`,children:[(0,U.jsx)(w,{avatarImage:a.userProfileByUsername.avatarImage,size:40}),(0,U.jsx)(`div`,{className:`hlUslA gnlqYH`,children:d?(0,U.jsxs)(`div`,{className:`fPSBzf iRgpoQ`,children:[(0,U.jsx)(`p`,{className:`gCDAPB gnlqYH hWhrno cbkwRf`,children:d}),(0,U.jsx)(`div`,{className:`bYPztT bucdke fPSBzf eJFCxu jrWRtM dkAowc`,children:b})]}):(0,U.jsx)(`p`,{className:`iMxzeX gnlqYH hWhrno cbkwRf`,children:b})}),(0,U.jsx)(`div`,{className:`eUEhIU gnlqYH`,children:(0,U.jsx)(h,{condensed:!0,variant:`black`})})]}),(0,U.jsx)(`div`,{children:(0,U.jsx)(`p`,{className:`hxnFtC`,children:p})}),(0,U.jsxs)(`div`,{className:`bYPztT fPSBzf etJpkR dVuiVB gnlqYH`,children:[g.length>0?(0,U.jsx)(m,{borderColor:`#F2F4F7`,data:g,size:40}):null,(0,U.jsxs)(`div`,{className:`fPSBzf iRgpoQ gnlqYH`,children:[(0,U.jsx)(`p`,{className:`gCDAPB gnlqYH ljHGQN hWhrno cbkwRf`,children:v}),(0,U.jsx)(`p`,{className:`bucdke eJFCxu dkAowc gnlqYH ljHGQN hWhrno cbkwRf`,children:y})]})]})]})]})},UserReviewEmbed=e=>{let t=(0,B.c)(2),n;return t[0]===e?n=t[1]:(n=(0,U.jsx)(H.Suspense,{children:(0,U.jsx)(UserReviewEmbedImplementation,{...e})}),t[0]=e,t[1]=n),n};re();var Q={BEHANCE_GALLERY:async()=>a,CANVA_DESIGN:async()=>p,FIGMA:async()=>O,INSTAGRAM:()=>j(()=>import(`../../../../../../../../../../../InstagramEmbed-CMo-jtIX.js`).then(e=>e.InstagramEmbed),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])),LINKEDIN_FEED_POST:()=>j(()=>import(`../../../../../../../../../../../LinkedInEmbed-DBt7VZUg.js`).then(e=>e.LinkedInEmbed),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10,11])),LOOM_VIDEO:async()=>r,RIVE_FILE:async()=>f,SPLINE_SHARED_FILE:async()=>A,TWITTER_STATUS:()=>j(()=>import(`../../../../../../../../../../../TwitterEmbed-BEu1wqkx.js`).then(e=>e.TwitterEmbed),__vite__mapDeps([13,14,1,2,3,4,5,6,7,8,9,10,11])),VIMEO_VIDEO:async()=>y,YOUTUBE_VIDEO:()=>j(()=>import(`../../../../../../../../../../../YouTubeEmbed-c7XAJ03T.js`).then(e=>e.YouTubeEmbed),__vite__mapDeps([15,1,2,8,16]))},$=new Map,getEmbedLoaderKey=e=>e.site===`BEHANCE`&&e.contentType===`GALLERY`?`BEHANCE_GALLERY`:e.site===`CANVA`&&e.contentType===`DESIGN`?`CANVA_DESIGN`:e.site===`FIGMA`?`FIGMA`:e.site===`LOOM`&&e.contentType===`VIDEO`?`LOOM_VIDEO`:e.site===`RIVE`&&e.contentType===`FILE`?`RIVE_FILE`:e.site===`SPLINE`&&e.contentType===`SHARED_FILE`?`SPLINE_SHARED_FILE`:(e.site===`TWITTER`||e.site===`X`)&&e.contentType===`STATUS`?`TWITTER_STATUS`:e.site===`VIMEO`&&e.contentType===`VIDEO`?`VIMEO_VIDEO`:e.site===`YOUTUBE`&&(e.contentType===`SHORT_VIDEO`||e.contentType===`VIDEO`||e.contentType===`LIVE_VIDEO`)?`YOUTUBE_VIDEO`:e.site===`INSTAGRAM`&&(e.contentType===`POST`||e.contentType===`REEL`)?`INSTAGRAM`:e.site===`LINKEDIN`&&e.contentType===`FEED_POST`?`LINKEDIN_FEED_POST`:null,Embed=e=>{let t=(0,B.c)(42),{authorUserProfileId:n,contentInfo:r,customBorderRadius:i,customHeight:a,onJobLoaded:o,onLoad:s,originalUrl:c,webPageMetadata:l}=e,[u,d]=(0,H.useState)(null),f;t[0]===r?f=t[1]:(f=r?getEmbedLoaderKey(r):null,t[0]=r,t[1]=f);let p=f,t2,m;if(t[2]===p?(t2=t[3],m=t[4]):(t2=()=>{if(!p)return;let e=$.get(p);if(e){d(()=>e);return}Q[p]().then(e=>{$.set(p,e),d(()=>e)}
4)},m=[p],t[2]=p,t[3]=t2,t[4]=m),(0,H.useEffect)(t2,m),!r)return null;if(r.site===`FIGMA_MAKE`&&r.contentType===`SITE`){let e;return t[5]===c?e=t[6]:(e=(0,U.jsx)(FigmaMakeEmbed,{originalUrl:c}),t[5]=c,t[6]=e),e}if(r.site===`CONTRA`&&r.contentType===`PORTFOLIO_PROJECT`){let e;return t[7]!==n||t[8]!==r.slug||t[9]!==i||t[10]!==a||t[11]!==s?(e=(0,U.jsx)(PortfolioProjectEmbed,{authorUserProfileId:n,customBorderRadius:i,customHeight:a,onLoad:s,slug:r.slug}),t[7]=n,t[8]=r.slug,t[9]=i,t[10]=a,t[11]=s,t[12]=e):e=t[12],e}if(r.site===`CONTRA`&&r.contentType===`JOB`){let e;return t[13]!==r.slug||t[14]!==o||t[15]!==s?(e=(0,U.jsx)(JobEmbed,{onJobLoaded:o,onLoad:s,slug:r.slug}),t[13]=r.slug,t[14]=o,t[15]=s,t[16]=e):e=t[16],e}if(r.site===`CONTRA`&&r.contentType===`USER_REVIEW`){let e=r.displayUsername??``,n;return t[17]!==r.userReviewId||t[18]!==i||t[19]!==a||t[20]!==s||t[21]!==e?(n=(0,U.jsx)(UserReviewEmbed,{customBorderRadius:i,customHeight:a,displayUsername:e,onLoad:s,userReviewId:r.userReviewId}),t[17]=r.userReviewId,t[18]=i,t[19]=a,t[20]=s,t[21]=e,t[22]=n):n=t[22],n}if(r.site===`CONTRA`&&r.contentType===`COMMUNITY_TOPIC`){let e;return t[23]!==r.slug||t[24]!==i||t[25]!==a||t[26]!==s||t[27]!==l?(e=(0,U.jsx)(CommunityTopicEmbed,{customBorderRadius:i,customHeight:a,onLoad:s,slug:r.slug,webPageMetadata:l}),t[23]=r.slug,t[24]=i,t[25]=a,t[26]=s,t[27]=l,t[28]=e):e=t[28],e}if(r.site===`CONTRA`&&r.contentType===`PRODUCT`){let e;return t[29]!==r.slug||t[30]!==i||t[31]!==a||t[32]!==s?(e=(0,U.jsx)(ProductEmbed,{customBorderRadius:i,customHeight:a,onLoad:s,slug:r.slug}
4),t[29]=r.slug,t[30]=i,t[31]=a,t[32]=s,t[33]=e):e=t[33],e}if(u){let e=`videoId`in r?r.videoId:void 0,n;return t[34]!==u||t[35]!==r||t[36]!==i||t[37]!==a||t[38]!==s||t[39]!==c||t[40]!==e?(n=(0,U.jsx)(u,{contentInfo:r,customBorderRadius:i,customHeight:a,onLoad:s,originalUrl:c,videoId:e}),t[34]=u,t[35]=r,t[36]=i,t[37]=a,t[38]=s,t[39]=c,t[40]=e,t[41]=n):n=t[41],n}return null},SocialPostEmbed=e=>{let t=(0,B.c)(24),{authorUserProfileId:n,className:r,contentInfo:i,customBorderRadius:a,customHeight:s,onDismissClick:c,onJobLoaded:l,originalUrl:u,webPageMetadata:d}=e,[f,p]=(0,H.useState)(!1),t1;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(t1=()=>{p(!0)},t[0]=t1):t1=t[0];let m=t1;if(!i)return null;let h;t[1]===r?h=t[2]:(h=M(`bYPztT fPSBzf jTWvec hYZFkb`,r),t[1]=r,t[2]=h);let g=f||i.site===`INSTAGRAM`||i.site===`FIGMA_MAKE`&&i.contentType===`SITE`?1:.5,_;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(_={duration:.3,ease:`easeOut`},t[3]=_):_=t[3];let y;t[4]===g?y=t[5]:(y={opacity:g,transition:_},t[4]=g,t[5]=y);let b;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(b={opacity:0},t[6]=b):b=t[6];let x;t[7]!==n||t[8]!==i||t[9]!==a||t[10]!==s||t[11]!==l||t[12]!==u||t[13]!==d?(x=(0,U.jsx)(Embed,{authorUserProfileId:n,contentInfo:i,customBorderRadius:a,customHeight:s,onJobLoaded:l,onLoad:m,originalUrl:u,webPageMetadata:d}),t[7]=n,t[8]=i,t[9]=a,t[10]=s,t[11]=l,t[12]=u,t[13]=d,t[14]=x):x=t[14];let S;t[15]!==y||t[16]!==x?(S=(0,U.jsx)(v.div,{animate:y,className:`bYPztT fPSBzf iRgpoQ gTvoMs bYPznK hYZFkb`,initial:b,layout:!0,children:x}),t[15]=y,t[16]=x,t[17]=S):S=t[17];let C;t[18]===c?C=t[19]:(C=c?(0,U.jsx)(`button`,{className:`hGcQAZ bYPztT fPtSx dUYEPg bZRhvx fPSBzf fNDbsJ bYPznK jXSfKH dVlUbw jrIcdL fNDbsm AxmbL`,onClick:c,type:`button`,children:(0,U.jsx)(o,{size:16})}):null,t[18]=c,t[19]=C);let w;return t[20]!==h||t[21]!==S||t[22]!==C?(w=(0,U.jsxs)(`div`,{className:h,children:[S,C]}),t[20]=h,t[21]=S,t[22]=C,t[23]=w):w=t[23],w},Ce=[`BEHANCE_GALLERY`,`CANVA_DESIGN`,`FIGMA_BOARD`,`FIGMA_DESIGN`,`FIGMA_FILE`,`FIGMA_MAKE_SITE`,`FIGMA_PROTOTYPE`,`LOOM_VIDEO`,`RIVE_FILE`,`SPLINE_SHARED_FILE`,`TWITTER_STATUS`,`VIMEO_VIDEO`,`X_STATUS`,`YOUTUBE_SHORT_VIDEO`,`YOUTUBE_VIDEO`,`YOUTUBE_LIVE_VIDEO`,`INSTAGRAM_POST`,`INSTAGRAM_REEL`,`LINKEDIN_FEED_POST`],isFigmaMakeSite=e=>{try{return new URL(e).hostname.endsWith(`.figma.site`)}catch{return!1}},extractEmbeddableContentInfoFromUrl=e=>{try{let t=new URL(e),n=t.pathname.split(`/`);if((n[2]===`recommendations`||n[2]===`reviews`)&&t.searchParams.has(`highlightedReviewId`))return t.pathname=t.pathname.replace(/\/recommendations/,`/reviews`),{contentType:`USER_REVIEW`,displayUsername:n[1],site:`CONTRA`,url:t.toString(),urlVariant:`DEFAULT`,userReviewId:t.searchParams.get(`highlightedReviewId`)};if(t.search=``,!/instagram\.com/i.test(t.hostname)&&/\/p\/[\dA-Za-z]{8}.*/.test(t.pathname))return{contentType:`PORTFOLIO_PROJECT`,site:`CONTRA`,slug:t.pathname.split(`/`)[2],url:t.toString(),urlVariant:`DEFAULT`};if(/\/opportunity\/[\dA-Za-z-]+/.test(t.pathname))return{contentType:`JOB`,site:`CONTRA`,slug:t.pathname.split(`/`)[2],url:t.toString(),urlVariant:`DEFAULT`};if(/\/community\/topic\/[\dA-Za-z-]+/.test(t.pathname))return{contentType:`COMMUNITY_TOPIC`,site:`CONTRA`,slug:t.pathname.split(`/`)[3],url:t.toString(),urlVariant:`DEFAULT`};if(/\/products\/[\dA-Za-z-]+/.test(t.pathname))return{contentType:`PRODUCT`,site:`CONTRA`,slug:t.pathname.split(`/`)[2],url:t.toString(),urlVariant:`DEFAULT`};if(isFigmaMakeSite(e))return{contentType:`SITE`,site:`FIGMA_MAKE`,url:e,urlVariant:`DEFAULT`}}catch{return null}try{let t=g(e);if(t&&Ce.includes(`${t.site}_${t.contentType}`))return t}catch{return null}return null};export{SocialPostEmbed as n,JobEmbedCard as r,extractEmbeddableContentInfoFromUrl as t};
5//# sourceMappingURL=n~nbmjmod4-5BcdxrQQ.js.map
6//# debugId=bf214bad-fab4-53f7-b2f2-fc8acbf94fd8

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.