@singi-labs/sifa-sdk 0.18.15 → 0.18.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/{index-DIwi3bpk.d.cts → index-E2qQbMnv.d.cts} +10 -0
  2. package/dist/{index-DIwi3bpk.d.ts → index-E2qQbMnv.d.ts} +10 -0
  3. package/dist/index.cjs +187 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +90 -7
  6. package/dist/index.d.ts +90 -7
  7. package/dist/index.js +182 -2
  8. package/dist/index.js.map +1 -1
  9. package/dist/jsonld/index.d.cts +1 -1
  10. package/dist/jsonld/index.d.ts +1 -1
  11. package/dist/{network-map-CfAPUSb6.d.ts → network-map-BYdQF1tr.d.ts} +4 -4
  12. package/dist/{network-map-B2VRYlgb.d.cts → network-map-BdDqR9-B.d.cts} +4 -4
  13. package/dist/{org-C3e5hz3h.d.ts → org-BftCzySH.d.ts} +20 -3
  14. package/dist/{org-CLi7-wje.d.cts → org-DhAmipS-.d.cts} +20 -3
  15. package/dist/{profile-investment-CIG7Hy8g.d.cts → profile-investment-vmHROP_v.d.cts} +5 -0
  16. package/dist/{profile-investment-CIG7Hy8g.d.ts → profile-investment-vmHROP_v.d.ts} +5 -0
  17. package/dist/{profile-summary-B9EQmnC7.d.cts → profile-summary-BeiM3TmH.d.cts} +1 -1
  18. package/dist/{profile-summary-nbzILRkf.d.ts → profile-summary-CKAuwczF.d.ts} +1 -1
  19. package/dist/query/fetchers/index.cjs +22 -0
  20. package/dist/query/fetchers/index.cjs.map +1 -1
  21. package/dist/query/fetchers/index.d.cts +6 -6
  22. package/dist/query/fetchers/index.d.ts +6 -6
  23. package/dist/query/fetchers/index.js +21 -1
  24. package/dist/query/fetchers/index.js.map +1 -1
  25. package/dist/query/hooks/index.cjs +85 -24
  26. package/dist/query/hooks/index.cjs.map +1 -1
  27. package/dist/query/hooks/index.d.cts +5 -5
  28. package/dist/query/hooks/index.d.ts +5 -5
  29. package/dist/query/hooks/index.js +84 -25
  30. package/dist/query/hooks/index.js.map +1 -1
  31. package/dist/query/index.cjs +82 -23
  32. package/dist/query/index.cjs.map +1 -1
  33. package/dist/query/index.d.cts +8 -8
  34. package/dist/query/index.d.ts +8 -8
  35. package/dist/query/index.js +79 -24
  36. package/dist/query/index.js.map +1 -1
  37. package/dist/resume/index.d.cts +1 -1
  38. package/dist/resume/index.d.ts +1 -1
  39. package/dist/schemas/index.cjs +5 -0
  40. package/dist/schemas/index.cjs.map +1 -1
  41. package/dist/schemas/index.d.cts +1 -1
  42. package/dist/schemas/index.d.ts +1 -1
  43. package/dist/schemas/index.js +5 -0
  44. package/dist/schemas/index.js.map +1 -1
  45. package/dist/{types-XejLm3AA.d.cts → types-2qTC_DBy.d.cts} +6 -1
  46. package/dist/{types-DqVbTzXo.d.ts → types-CLrLfvXz.d.ts} +6 -1
  47. package/dist/{use-org-notification-emails-DHLosH0F.d.cts → use-org-notification-emails-CR2PDfjF.d.cts} +13 -4
  48. package/dist/{use-org-notification-emails-6VO57byN.d.ts → use-org-notification-emails-CxBtveF9.d.ts} +13 -4
  49. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement } from './index-DIwi3bpk.cjs';
2
- export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, R as RecognizedEntity, S as SkillRef, Q as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-DIwi3bpk.cjs';
3
- export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, S as SIFA_REPO_GROUPS, z as SkillView, V as VolunteeringView, B as describeSifaRecord, F as hasAdultContent, G as repoGroupForCollection } from './types-XejLm3AA.cjs';
4
- import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, A as AgentRef, O as OrgProfileRecord } from './profile-investment-CIG7Hy8g.cjs';
5
- export { c as ArtifactLink, d as ArtifactLinkSchema, B as BlobRef, e as BlobRefSchema, E as EndorsementConfirmationRecord, f as EndorsementConfirmationRecordSchema, g as EndorsementRecord, h as EndorsementRecordSchema, G as GraphFollowRecord, i as GraphFollowRecordSchema, I as InvestmentAmountSchema, j as OrgEmploymentAttestationRecord, k as OrgEmploymentAttestationRecordSchema, l as OrgProfileRecordSchema, m as PROFILE_INVESTMENT_NSID, n as PROFILE_INVOLVEMENT_NSID, o as PresentationDurationSchema, p as PresentationLink, q as PresentationLinkSchema, r as ProfileCertificationRecord, s as ProfileCertificationRecordSchema, t as ProfileCourseRecord, u as ProfileCourseRecordSchema, v as ProfileEducationRecord, w as ProfileEducationRecordSchema, x as ProfileExternalAccountRecord, y as ProfileExternalAccountRecordSchema, z as ProfileHonorRecord, C as ProfileHonorRecordSchema, D as ProfileInvestmentRecordSchema, F as ProfileInvolvementRecord, H as ProfileInvolvementRecordSchema, J as ProfileLanguageRecord, K as ProfileLanguageRecordSchema, L as ProfilePositionRecord, M as ProfilePositionRecordSchema, N as ProfilePresentationDeliveryRecordSchema, Q as ProfilePresentationRecordSchema, R as ProfileProjectRecord, S as ProfileProjectRecordSchema, T as ProfilePublicationRecord, U as ProfilePublicationRecordSchema, V as ProfileSelfRecord, W as ProfileSelfRecordSchema, X as ProfileSkillRecord, Y as ProfileSkillRecordSchema, Z as ProfileVolunteeringRecord, _ as ProfileVolunteeringRecordSchema, $ as PublicationAuthor, a0 as PublicationAuthorSchema, a1 as agentRefSchema, a2 as atUriSchema, a3 as cidSchema, a4 as datetimeSchema, a5 as didSchema, a6 as externalRecordRefSchema, a7 as languageTagSchema, a8 as makeGraphFollowRecordSchema, a9 as maxGraphemes, aa as partialDateSchema, ab as selfLabelsSchema, ac as skillRefSchema, ad as strongRefSchema, ae as uriSchema } from './profile-investment-CIG7Hy8g.cjs';
1
+ import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement } from './index-E2qQbMnv.cjs';
2
+ export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, R as RecognizedEntity, S as SkillRef, Q as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-E2qQbMnv.cjs';
3
+ export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, S as SIFA_REPO_GROUPS, z as SkillView, V as VolunteeringView, B as describeSifaRecord, F as hasAdultContent, G as repoGroupForCollection } from './types-2qTC_DBy.cjs';
4
+ import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, A as AgentRef, O as OrgProfileRecord } from './profile-investment-vmHROP_v.cjs';
5
+ export { c as ArtifactLink, d as ArtifactLinkSchema, B as BlobRef, e as BlobRefSchema, E as EndorsementConfirmationRecord, f as EndorsementConfirmationRecordSchema, g as EndorsementRecord, h as EndorsementRecordSchema, G as GraphFollowRecord, i as GraphFollowRecordSchema, I as InvestmentAmountSchema, j as OrgEmploymentAttestationRecord, k as OrgEmploymentAttestationRecordSchema, l as OrgProfileRecordSchema, m as PROFILE_INVESTMENT_NSID, n as PROFILE_INVOLVEMENT_NSID, o as PresentationDurationSchema, p as PresentationLink, q as PresentationLinkSchema, r as ProfileCertificationRecord, s as ProfileCertificationRecordSchema, t as ProfileCourseRecord, u as ProfileCourseRecordSchema, v as ProfileEducationRecord, w as ProfileEducationRecordSchema, x as ProfileExternalAccountRecord, y as ProfileExternalAccountRecordSchema, z as ProfileHonorRecord, C as ProfileHonorRecordSchema, D as ProfileInvestmentRecordSchema, F as ProfileInvolvementRecord, H as ProfileInvolvementRecordSchema, J as ProfileLanguageRecord, K as ProfileLanguageRecordSchema, L as ProfilePositionRecord, M as ProfilePositionRecordSchema, N as ProfilePresentationDeliveryRecordSchema, Q as ProfilePresentationRecordSchema, R as ProfileProjectRecord, S as ProfileProjectRecordSchema, T as ProfilePublicationRecord, U as ProfilePublicationRecordSchema, V as ProfileSelfRecord, W as ProfileSelfRecordSchema, X as ProfileSkillRecord, Y as ProfileSkillRecordSchema, Z as ProfileVolunteeringRecord, _ as ProfileVolunteeringRecordSchema, $ as PublicationAuthor, a0 as PublicationAuthorSchema, a1 as agentRefSchema, a2 as atUriSchema, a3 as cidSchema, a4 as datetimeSchema, a5 as didSchema, a6 as externalRecordRefSchema, a7 as languageTagSchema, a8 as makeGraphFollowRecordSchema, a9 as maxGraphemes, aa as partialDateSchema, ab as selfLabelsSchema, ac as skillRefSchema, ad as strongRefSchema, ae as uriSchema } from './profile-investment-vmHROP_v.cjs';
6
6
  import { z } from 'zod';
7
- export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-B9EQmnC7.cjs';
7
+ export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-BeiM3TmH.cjs';
8
8
  import { E as EntitySearchResult } from './feed-BMm9Pkew.cjs';
9
9
  export { A as AtmosphereFeedItem, a as AtmosphereFeedItemSchema, b as EntityImportSearchResponse, c as EntityImportSearchResponseSchema, d as EntityMintDomainResponse, e as EntityMintDomainResponseSchema, f as EntityResolveDomainRequest, g as EntityResolveDomainRequestSchema, h as EntityResolveDomainResponse, i as EntityResolveDomainResponseSchema, j as EntitySearchResponse, k as EntitySearchResponseSchema, l as EntitySearchResultSchema, m as EntitySelectRequest, n as EntitySelectRequestSchema, o as EntitySelectResponse, p as EntitySelectResponseSchema, F as FEATURE_FLAGS, q as FeatureAllowlistEntry, r as FeatureAllowlistEntrySchema, s as FeatureFlag, t as FeedActor, u as FeedActorSchema, v as FeedCursor, w as FollowFeedItem, x as FollowFeedItemSchema, y as FollowFeedPage, z as FollowFeedPageSchema, B as FollowProfileItem, C as FollowProfilePage, D as FollowProfilePageSchema, G as FollowProfileSchema, S as SifaFeedItem, H as SifaFeedItemSchema, I as decodeFeedCursor, J as encodeFeedCursor } from './feed-BMm9Pkew.cjs';
10
10
 
@@ -2049,6 +2049,31 @@ interface PrimaryPositionCandidate {
2049
2049
  }
2050
2050
  declare function pickPrimaryPosition<T extends PrimaryPositionCandidate>(positions: readonly T[] | undefined): T | undefined;
2051
2051
 
2052
+ /**
2053
+ * Shared "which item did the user flag as primary?" rule for the profile
2054
+ * sections that feed the Highlights block (education, publication, presentation,
2055
+ * involvement, project).
2056
+ *
2057
+ * Returns the item explicitly flagged `primary`, excluding hidden items and any
2058
+ * the eligibility predicate rejects, or `undefined` when none qualifies. Callers
2059
+ * layer their own automatic fallback behind it, e.g.
2060
+ * `pickPrimaryFlagged(items) ?? mostRecent(items)`, so an explicit choice
2061
+ * overrides the default pick without changing the default itself.
2062
+ *
2063
+ * Hidden wins over primary, matching {@link pickPrimaryPosition}: an item flagged
2064
+ * both hidden and primary is excluded rather than surfaced.
2065
+ *
2066
+ * Eligibility differs by section and is passed in by the caller: education and
2067
+ * publication allow any item; involvement and project allow only ongoing items
2068
+ * (no end date); presentation allows a reusable talk. Standalone one-off sessions
2069
+ * are never candidates because only `presentation` records carry the flag.
2070
+ */
2071
+ interface PrimaryFlagCandidate {
2072
+ primary?: boolean;
2073
+ hidden?: boolean;
2074
+ }
2075
+ declare function pickPrimaryFlagged<T extends PrimaryFlagCandidate>(items: readonly T[] | undefined, isEligible?: (item: T) => boolean): T | undefined;
2076
+
2052
2077
  /** True when the whole employer string is a self-employment / pseudo employer. */
2053
2078
  declare function isPseudoEmployer(company: string): boolean;
2054
2079
 
@@ -2617,6 +2642,64 @@ interface InvolvementGroup {
2617
2642
  */
2618
2643
  declare function groupInvolvementByHeading(items: ProfileInvolvement[]): InvolvementGroup[];
2619
2644
 
2645
+ /** The slice of a profile the Highlights block reads. Both `Profile` and a
2646
+ * page's anonymous `Omit<Profile,'isOwnProfile'>` view satisfy it. `did` and
2647
+ * `handle` identify the owner so co-author/co-speaker/member lists can exclude
2648
+ * them (the owner is always implied; only other people are worth naming). */
2649
+ type ProfileHighlightsInput = Pick<Profile, 'did' | 'handle' | 'displayName' | 'presentations' | 'presentationDeliveries' | 'publications' | 'positions' | 'education' | 'courses' | 'projects' | 'involvement'>;
2650
+ type ProfileHighlightSection = 'talk' | 'publication' | 'career' | 'education' | 'project' | 'involvement';
2651
+ /** Blue pill: upcoming/current. Grey pill: recent (most recent, ended). */
2652
+ type ProfileHighlightStatus = 'upcoming' | 'current' | 'recent';
2653
+ interface ProfileHighlightTile {
2654
+ section: ProfileHighlightSection;
2655
+ /** Same-page anchor for the section this tile summarizes. */
2656
+ href: string;
2657
+ title: string;
2658
+ meta?: string;
2659
+ dateStr?: string;
2660
+ imageUrl?: string;
2661
+ status: ProfileHighlightStatus;
2662
+ }
2663
+ /**
2664
+ * A start/end span. Ongoing (a start with no end) reads "Since Jan 2014"; a
2665
+ * closed span uses an en dash; equal ends collapse to one month.
2666
+ */
2667
+ declare function formatSpanDate(start?: string, end?: string): string | undefined;
2668
+ /** A single month/year date (publications, completed courses). */
2669
+ declare function formatSingleDate(date?: string): string | undefined;
2670
+ /**
2671
+ * A talk delivery date. Day-level strings ("2026-10-12") render as
2672
+ * "Oct 12, 2026"; month- or year-only strings fall back to the month formatter.
2673
+ * UTC-fixed so server and client agree.
2674
+ */
2675
+ declare function formatEventDate(date?: string): string | undefined;
2676
+ interface BuildProfileHighlightsOptions {
2677
+ /** Injectable "today" (YYYY-MM-DD) so upcoming/latest is deterministic in tests. */
2678
+ today: string;
2679
+ }
2680
+ /**
2681
+ * Compute the tiles for the Highlights block. Row 1 = Talk + Publication (media);
2682
+ * row 2 = Career, Education, Project, Involvement (compact). Per-section policy:
2683
+ * Career + Education always show their most-recent record; Project + Involvement
2684
+ * appear only when something is ongoing; Talk/Publication always show the latest.
2685
+ * Hidden records are excluded everywhere. Both rows are returned in a fixed order
2686
+ * so every surface renders the same sequence.
2687
+ */
2688
+ declare function buildProfileHighlights(profile: ProfileHighlightsInput, { today }: BuildProfileHighlightsOptions): {
2689
+ row1: ProfileHighlightTile[];
2690
+ row2: ProfileHighlightTile[];
2691
+ };
2692
+ /**
2693
+ * Whether the Highlights block is worth rendering at all. A single tile just
2694
+ * duplicates the one section right below it, so the block is omitted under two
2695
+ * tiles. Shared by every surface (profile page + personal site) so the collapse
2696
+ * threshold can never diverge between them.
2697
+ */
2698
+ declare function shouldRenderHighlights(rows: {
2699
+ row1: ProfileHighlightTile[];
2700
+ row2: ProfileHighlightTile[];
2701
+ }): boolean;
2702
+
2620
2703
  /**
2621
2704
  * Canonical metadata for the votable Sifa roadmap items: a one-line description
2622
2705
  * and the sifa-workspace issue(s) tracking each item. Single source of truth
@@ -2648,4 +2731,4 @@ declare function roadmapIssueUrl(issue: number): string;
2648
2731
  */
2649
2732
  declare const SIFA_SDK_VERSION: string;
2650
2733
 
2651
- export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, AgentRef, type AgentRefFlat, type AppCategoryId, type AppUrlPatterns, type AppWithId, type ArtifactLinkKindOption, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DailyActivityCount, type DimensionKey, type DimensionMap, type DisambiguationFields, type DisplayUrl, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, type FormatDisplayUrlOptions, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvestmentOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type PublicationTypeOption, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, type RgbColor, type RoadmapItemMeta, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, type UrlPathPolicy, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, actorShowsIdentity, buildMetaDescription, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, excludeSelfApp, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
2734
+ export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, AgentRef, type AgentRefFlat, type AppCategoryId, type AppUrlPatterns, type AppWithId, type ArtifactLinkKindOption, type BuildProfileHighlightsOptions, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DailyActivityCount, type DimensionKey, type DimensionMap, type DisambiguationFields, type DisplayUrl, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, type FormatDisplayUrlOptions, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvestmentOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryFlagCandidate, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, type ProfileHighlightSection, type ProfileHighlightStatus, type ProfileHighlightTile, type ProfileHighlightsInput, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type PublicationTypeOption, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, type RgbColor, type RoadmapItemMeta, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, type UrlPathPolicy, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, actorShowsIdentity, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, excludeSelfApp, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatLocation, formatPresentationDuration, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, shouldRenderHighlights, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement } from './index-DIwi3bpk.js';
2
- export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, R as RecognizedEntity, S as SkillRef, Q as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-DIwi3bpk.js';
3
- export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, S as SIFA_REPO_GROUPS, z as SkillView, V as VolunteeringView, B as describeSifaRecord, F as hasAdultContent, G as repoGroupForCollection } from './types-DqVbTzXo.js';
4
- import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, A as AgentRef, O as OrgProfileRecord } from './profile-investment-CIG7Hy8g.js';
5
- export { c as ArtifactLink, d as ArtifactLinkSchema, B as BlobRef, e as BlobRefSchema, E as EndorsementConfirmationRecord, f as EndorsementConfirmationRecordSchema, g as EndorsementRecord, h as EndorsementRecordSchema, G as GraphFollowRecord, i as GraphFollowRecordSchema, I as InvestmentAmountSchema, j as OrgEmploymentAttestationRecord, k as OrgEmploymentAttestationRecordSchema, l as OrgProfileRecordSchema, m as PROFILE_INVESTMENT_NSID, n as PROFILE_INVOLVEMENT_NSID, o as PresentationDurationSchema, p as PresentationLink, q as PresentationLinkSchema, r as ProfileCertificationRecord, s as ProfileCertificationRecordSchema, t as ProfileCourseRecord, u as ProfileCourseRecordSchema, v as ProfileEducationRecord, w as ProfileEducationRecordSchema, x as ProfileExternalAccountRecord, y as ProfileExternalAccountRecordSchema, z as ProfileHonorRecord, C as ProfileHonorRecordSchema, D as ProfileInvestmentRecordSchema, F as ProfileInvolvementRecord, H as ProfileInvolvementRecordSchema, J as ProfileLanguageRecord, K as ProfileLanguageRecordSchema, L as ProfilePositionRecord, M as ProfilePositionRecordSchema, N as ProfilePresentationDeliveryRecordSchema, Q as ProfilePresentationRecordSchema, R as ProfileProjectRecord, S as ProfileProjectRecordSchema, T as ProfilePublicationRecord, U as ProfilePublicationRecordSchema, V as ProfileSelfRecord, W as ProfileSelfRecordSchema, X as ProfileSkillRecord, Y as ProfileSkillRecordSchema, Z as ProfileVolunteeringRecord, _ as ProfileVolunteeringRecordSchema, $ as PublicationAuthor, a0 as PublicationAuthorSchema, a1 as agentRefSchema, a2 as atUriSchema, a3 as cidSchema, a4 as datetimeSchema, a5 as didSchema, a6 as externalRecordRefSchema, a7 as languageTagSchema, a8 as makeGraphFollowRecordSchema, a9 as maxGraphemes, aa as partialDateSchema, ab as selfLabelsSchema, ac as skillRefSchema, ad as strongRefSchema, ae as uriSchema } from './profile-investment-CIG7Hy8g.js';
1
+ import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement } from './index-E2qQbMnv.js';
2
+ export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, R as RecognizedEntity, S as SkillRef, Q as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-E2qQbMnv.js';
3
+ export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, S as SIFA_REPO_GROUPS, z as SkillView, V as VolunteeringView, B as describeSifaRecord, F as hasAdultContent, G as repoGroupForCollection } from './types-CLrLfvXz.js';
4
+ import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, A as AgentRef, O as OrgProfileRecord } from './profile-investment-vmHROP_v.js';
5
+ export { c as ArtifactLink, d as ArtifactLinkSchema, B as BlobRef, e as BlobRefSchema, E as EndorsementConfirmationRecord, f as EndorsementConfirmationRecordSchema, g as EndorsementRecord, h as EndorsementRecordSchema, G as GraphFollowRecord, i as GraphFollowRecordSchema, I as InvestmentAmountSchema, j as OrgEmploymentAttestationRecord, k as OrgEmploymentAttestationRecordSchema, l as OrgProfileRecordSchema, m as PROFILE_INVESTMENT_NSID, n as PROFILE_INVOLVEMENT_NSID, o as PresentationDurationSchema, p as PresentationLink, q as PresentationLinkSchema, r as ProfileCertificationRecord, s as ProfileCertificationRecordSchema, t as ProfileCourseRecord, u as ProfileCourseRecordSchema, v as ProfileEducationRecord, w as ProfileEducationRecordSchema, x as ProfileExternalAccountRecord, y as ProfileExternalAccountRecordSchema, z as ProfileHonorRecord, C as ProfileHonorRecordSchema, D as ProfileInvestmentRecordSchema, F as ProfileInvolvementRecord, H as ProfileInvolvementRecordSchema, J as ProfileLanguageRecord, K as ProfileLanguageRecordSchema, L as ProfilePositionRecord, M as ProfilePositionRecordSchema, N as ProfilePresentationDeliveryRecordSchema, Q as ProfilePresentationRecordSchema, R as ProfileProjectRecord, S as ProfileProjectRecordSchema, T as ProfilePublicationRecord, U as ProfilePublicationRecordSchema, V as ProfileSelfRecord, W as ProfileSelfRecordSchema, X as ProfileSkillRecord, Y as ProfileSkillRecordSchema, Z as ProfileVolunteeringRecord, _ as ProfileVolunteeringRecordSchema, $ as PublicationAuthor, a0 as PublicationAuthorSchema, a1 as agentRefSchema, a2 as atUriSchema, a3 as cidSchema, a4 as datetimeSchema, a5 as didSchema, a6 as externalRecordRefSchema, a7 as languageTagSchema, a8 as makeGraphFollowRecordSchema, a9 as maxGraphemes, aa as partialDateSchema, ab as selfLabelsSchema, ac as skillRefSchema, ad as strongRefSchema, ae as uriSchema } from './profile-investment-vmHROP_v.js';
6
6
  import { z } from 'zod';
7
- export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-nbzILRkf.js';
7
+ export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-CKAuwczF.js';
8
8
  import { E as EntitySearchResult } from './feed-BMm9Pkew.js';
9
9
  export { A as AtmosphereFeedItem, a as AtmosphereFeedItemSchema, b as EntityImportSearchResponse, c as EntityImportSearchResponseSchema, d as EntityMintDomainResponse, e as EntityMintDomainResponseSchema, f as EntityResolveDomainRequest, g as EntityResolveDomainRequestSchema, h as EntityResolveDomainResponse, i as EntityResolveDomainResponseSchema, j as EntitySearchResponse, k as EntitySearchResponseSchema, l as EntitySearchResultSchema, m as EntitySelectRequest, n as EntitySelectRequestSchema, o as EntitySelectResponse, p as EntitySelectResponseSchema, F as FEATURE_FLAGS, q as FeatureAllowlistEntry, r as FeatureAllowlistEntrySchema, s as FeatureFlag, t as FeedActor, u as FeedActorSchema, v as FeedCursor, w as FollowFeedItem, x as FollowFeedItemSchema, y as FollowFeedPage, z as FollowFeedPageSchema, B as FollowProfileItem, C as FollowProfilePage, D as FollowProfilePageSchema, G as FollowProfileSchema, S as SifaFeedItem, H as SifaFeedItemSchema, I as decodeFeedCursor, J as encodeFeedCursor } from './feed-BMm9Pkew.js';
10
10
 
@@ -2049,6 +2049,31 @@ interface PrimaryPositionCandidate {
2049
2049
  }
2050
2050
  declare function pickPrimaryPosition<T extends PrimaryPositionCandidate>(positions: readonly T[] | undefined): T | undefined;
2051
2051
 
2052
+ /**
2053
+ * Shared "which item did the user flag as primary?" rule for the profile
2054
+ * sections that feed the Highlights block (education, publication, presentation,
2055
+ * involvement, project).
2056
+ *
2057
+ * Returns the item explicitly flagged `primary`, excluding hidden items and any
2058
+ * the eligibility predicate rejects, or `undefined` when none qualifies. Callers
2059
+ * layer their own automatic fallback behind it, e.g.
2060
+ * `pickPrimaryFlagged(items) ?? mostRecent(items)`, so an explicit choice
2061
+ * overrides the default pick without changing the default itself.
2062
+ *
2063
+ * Hidden wins over primary, matching {@link pickPrimaryPosition}: an item flagged
2064
+ * both hidden and primary is excluded rather than surfaced.
2065
+ *
2066
+ * Eligibility differs by section and is passed in by the caller: education and
2067
+ * publication allow any item; involvement and project allow only ongoing items
2068
+ * (no end date); presentation allows a reusable talk. Standalone one-off sessions
2069
+ * are never candidates because only `presentation` records carry the flag.
2070
+ */
2071
+ interface PrimaryFlagCandidate {
2072
+ primary?: boolean;
2073
+ hidden?: boolean;
2074
+ }
2075
+ declare function pickPrimaryFlagged<T extends PrimaryFlagCandidate>(items: readonly T[] | undefined, isEligible?: (item: T) => boolean): T | undefined;
2076
+
2052
2077
  /** True when the whole employer string is a self-employment / pseudo employer. */
2053
2078
  declare function isPseudoEmployer(company: string): boolean;
2054
2079
 
@@ -2617,6 +2642,64 @@ interface InvolvementGroup {
2617
2642
  */
2618
2643
  declare function groupInvolvementByHeading(items: ProfileInvolvement[]): InvolvementGroup[];
2619
2644
 
2645
+ /** The slice of a profile the Highlights block reads. Both `Profile` and a
2646
+ * page's anonymous `Omit<Profile,'isOwnProfile'>` view satisfy it. `did` and
2647
+ * `handle` identify the owner so co-author/co-speaker/member lists can exclude
2648
+ * them (the owner is always implied; only other people are worth naming). */
2649
+ type ProfileHighlightsInput = Pick<Profile, 'did' | 'handle' | 'displayName' | 'presentations' | 'presentationDeliveries' | 'publications' | 'positions' | 'education' | 'courses' | 'projects' | 'involvement'>;
2650
+ type ProfileHighlightSection = 'talk' | 'publication' | 'career' | 'education' | 'project' | 'involvement';
2651
+ /** Blue pill: upcoming/current. Grey pill: recent (most recent, ended). */
2652
+ type ProfileHighlightStatus = 'upcoming' | 'current' | 'recent';
2653
+ interface ProfileHighlightTile {
2654
+ section: ProfileHighlightSection;
2655
+ /** Same-page anchor for the section this tile summarizes. */
2656
+ href: string;
2657
+ title: string;
2658
+ meta?: string;
2659
+ dateStr?: string;
2660
+ imageUrl?: string;
2661
+ status: ProfileHighlightStatus;
2662
+ }
2663
+ /**
2664
+ * A start/end span. Ongoing (a start with no end) reads "Since Jan 2014"; a
2665
+ * closed span uses an en dash; equal ends collapse to one month.
2666
+ */
2667
+ declare function formatSpanDate(start?: string, end?: string): string | undefined;
2668
+ /** A single month/year date (publications, completed courses). */
2669
+ declare function formatSingleDate(date?: string): string | undefined;
2670
+ /**
2671
+ * A talk delivery date. Day-level strings ("2026-10-12") render as
2672
+ * "Oct 12, 2026"; month- or year-only strings fall back to the month formatter.
2673
+ * UTC-fixed so server and client agree.
2674
+ */
2675
+ declare function formatEventDate(date?: string): string | undefined;
2676
+ interface BuildProfileHighlightsOptions {
2677
+ /** Injectable "today" (YYYY-MM-DD) so upcoming/latest is deterministic in tests. */
2678
+ today: string;
2679
+ }
2680
+ /**
2681
+ * Compute the tiles for the Highlights block. Row 1 = Talk + Publication (media);
2682
+ * row 2 = Career, Education, Project, Involvement (compact). Per-section policy:
2683
+ * Career + Education always show their most-recent record; Project + Involvement
2684
+ * appear only when something is ongoing; Talk/Publication always show the latest.
2685
+ * Hidden records are excluded everywhere. Both rows are returned in a fixed order
2686
+ * so every surface renders the same sequence.
2687
+ */
2688
+ declare function buildProfileHighlights(profile: ProfileHighlightsInput, { today }: BuildProfileHighlightsOptions): {
2689
+ row1: ProfileHighlightTile[];
2690
+ row2: ProfileHighlightTile[];
2691
+ };
2692
+ /**
2693
+ * Whether the Highlights block is worth rendering at all. A single tile just
2694
+ * duplicates the one section right below it, so the block is omitted under two
2695
+ * tiles. Shared by every surface (profile page + personal site) so the collapse
2696
+ * threshold can never diverge between them.
2697
+ */
2698
+ declare function shouldRenderHighlights(rows: {
2699
+ row1: ProfileHighlightTile[];
2700
+ row2: ProfileHighlightTile[];
2701
+ }): boolean;
2702
+
2620
2703
  /**
2621
2704
  * Canonical metadata for the votable Sifa roadmap items: a one-line description
2622
2705
  * and the sifa-workspace issue(s) tracking each item. Single source of truth
@@ -2648,4 +2731,4 @@ declare function roadmapIssueUrl(issue: number): string;
2648
2731
  */
2649
2732
  declare const SIFA_SDK_VERSION: string;
2650
2733
 
2651
- export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, AgentRef, type AgentRefFlat, type AppCategoryId, type AppUrlPatterns, type AppWithId, type ArtifactLinkKindOption, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DailyActivityCount, type DimensionKey, type DimensionMap, type DisambiguationFields, type DisplayUrl, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, type FormatDisplayUrlOptions, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvestmentOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type PublicationTypeOption, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, type RgbColor, type RoadmapItemMeta, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, type UrlPathPolicy, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, actorShowsIdentity, buildMetaDescription, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, excludeSelfApp, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
2734
+ export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, AgentRef, type AgentRefFlat, type AppCategoryId, type AppUrlPatterns, type AppWithId, type ArtifactLinkKindOption, type BuildProfileHighlightsOptions, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DailyActivityCount, type DimensionKey, type DimensionMap, type DisambiguationFields, type DisplayUrl, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, type FormatDisplayUrlOptions, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvestmentOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryFlagCandidate, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, type ProfileHighlightSection, type ProfileHighlightStatus, type ProfileHighlightTile, type ProfileHighlightsInput, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type PublicationTypeOption, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, type RgbColor, type RoadmapItemMeta, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, type UrlPathPolicy, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, actorShowsIdentity, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, excludeSelfApp, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatLocation, formatPresentationDuration, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, shouldRenderHighlights, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
package/dist/index.js CHANGED
@@ -5083,6 +5083,12 @@ function countFilledDimensions(input) {
5083
5083
  return n;
5084
5084
  }
5085
5085
 
5086
+ // src/logic/primary-item.ts
5087
+ function pickPrimaryFlagged(items, isEligible = () => true) {
5088
+ if (!items || items.length === 0) return void 0;
5089
+ return items.find((item) => item.primary === true && !item.hidden && isEligible(item));
5090
+ }
5091
+
5086
5092
  // src/logic/profile-summary.ts
5087
5093
  var DEFAULT_MAX_SKILLS = 5;
5088
5094
  function summarizeProfileView(view, options = {}) {
@@ -5404,6 +5410,175 @@ function groupInvolvementByHeading(items) {
5404
5410
  }
5405
5411
  return groups;
5406
5412
  }
5413
+
5414
+ // src/profile/highlights.ts
5415
+ function coPeopleLabel(people, self) {
5416
+ const names = (people ?? []).filter((p) => p.did !== self.did && (!p.handle || p.handle !== self.handle)).map((p) => p.displayName ?? p.name ?? p.handle).filter((n) => Boolean(n && n.trim()));
5417
+ return names.length ? `with ${names.join(", ")}` : void 0;
5418
+ }
5419
+ var EN_DASH = "\u2013";
5420
+ function visible(items) {
5421
+ return (items ?? []).filter((i) => !i.hidden);
5422
+ }
5423
+ function metaLine(parts) {
5424
+ const kept = parts.filter((p) => Boolean(p && p.trim()));
5425
+ return kept.length ? kept.join(" \xB7 ") : void 0;
5426
+ }
5427
+ function formatSpanDate(start, end) {
5428
+ if (start && !end) return `Since ${formatTimelineDate(start)}`;
5429
+ if (!start && !end) return void 0;
5430
+ if (!start) return formatTimelineDate(end);
5431
+ const a = formatTimelineDate(start);
5432
+ const b = formatTimelineDate(end);
5433
+ return a === b ? a : `${a} ${EN_DASH} ${b}`;
5434
+ }
5435
+ function formatSingleDate(date) {
5436
+ return date ? formatTimelineDate(date) : void 0;
5437
+ }
5438
+ var EVENT_DAY_FMT = new Intl.DateTimeFormat("en", {
5439
+ year: "numeric",
5440
+ month: "short",
5441
+ day: "numeric",
5442
+ timeZone: "UTC"
5443
+ });
5444
+ function formatEventDate(date) {
5445
+ if (!date) return void 0;
5446
+ if (date.length === 10) {
5447
+ const d = /* @__PURE__ */ new Date(`${date}T00:00:00Z`);
5448
+ if (!Number.isNaN(d.getTime())) return EVENT_DAY_FMT.format(d);
5449
+ }
5450
+ return formatTimelineDate(date);
5451
+ }
5452
+ function pickTalk(presentations, deliveries, today, self) {
5453
+ const talkRkeys = new Set(presentations.map((p) => p.rkey));
5454
+ const occasions = [];
5455
+ for (const p of presentations) {
5456
+ const dated = visible(p.deliveries).filter((d) => d.date);
5457
+ if (!dated.length) continue;
5458
+ const date = dated.reduce((max, d) => d.date && d.date > max ? d.date : max, "");
5459
+ const delivery2 = dated.find((d) => d.date === date);
5460
+ if (!delivery2) continue;
5461
+ occasions.push({ date, title: p.title, delivery: delivery2, imageUrl: p.coverImageUrl ?? void 0 });
5462
+ }
5463
+ for (const d of deliveries) {
5464
+ const standalone = !d.presentationRkey || !talkRkeys.has(d.presentationRkey);
5465
+ if (!standalone || !d.date || d.hidden) continue;
5466
+ occasions.push({ date: d.date, title: d.title || d.eventName || "Talk", delivery: d });
5467
+ }
5468
+ if (!occasions.length) return void 0;
5469
+ const best = occasions.reduce((a, b) => b.date > a.date ? b : a);
5470
+ const { delivery } = best;
5471
+ return {
5472
+ section: "talk",
5473
+ href: "#presentations",
5474
+ title: best.title,
5475
+ meta: metaLine([
5476
+ delivery.eventName,
5477
+ delivery.location,
5478
+ getPresentationRoleLabel(delivery.role ?? void 0),
5479
+ getCalendarEventModeLabel(delivery.mode ?? void 0),
5480
+ coPeopleLabel(delivery.coSpeakers, self)
5481
+ ]),
5482
+ dateStr: formatEventDate(best.date),
5483
+ imageUrl: best.imageUrl,
5484
+ status: best.date > today ? "upcoming" : "recent"
5485
+ };
5486
+ }
5487
+ function buildProfileHighlights(profile, { today }) {
5488
+ const row1 = [];
5489
+ const row2 = [];
5490
+ const self = { did: profile.did, handle: profile.handle };
5491
+ const talk = pickTalk(
5492
+ visible(profile.presentations),
5493
+ visible(profile.presentationDeliveries),
5494
+ today,
5495
+ self
5496
+ );
5497
+ if (talk) row1.push(talk);
5498
+ const publication = sortByDateDesc(visible(profile.publications), singleDateExtractor)[0];
5499
+ if (publication) {
5500
+ const venue = publication.publicationName ?? publication.publisher;
5501
+ const coAuthors = coPeopleLabel(publication.contributors, self);
5502
+ const venueIsSelf = venue === profile.handle || !!profile.displayName && venue === profile.displayName && !coAuthors;
5503
+ row1.push({
5504
+ section: "publication",
5505
+ href: "#publications",
5506
+ title: publication.title,
5507
+ meta: metaLine([coAuthors, venue && !venueIsSelf ? venue : void 0, publication.subtitle]),
5508
+ dateStr: formatSingleDate(publication.date),
5509
+ imageUrl: publication.image ?? void 0,
5510
+ status: "recent"
5511
+ });
5512
+ }
5513
+ const positions = visible(profile.positions);
5514
+ const career = pickPrimaryPosition(positions) ?? sortByDateDesc(positions, lexiconDateExtractor)[0];
5515
+ if (career) {
5516
+ row2.push({
5517
+ section: "career",
5518
+ href: "#career",
5519
+ title: career.title,
5520
+ meta: metaLine([career.entityName ?? career.company]),
5521
+ dateStr: formatSpanDate(career.startedAt, career.endedAt),
5522
+ status: career.endedAt ? "recent" : "current"
5523
+ });
5524
+ }
5525
+ const education = sortByDateDesc(visible(profile.education), lexiconDateExtractor)[0];
5526
+ if (education) {
5527
+ const institution = education.entityName ?? education.institution;
5528
+ const title = education.degree || education.fieldOfStudy || institution || "Education";
5529
+ row2.push({
5530
+ section: "education",
5531
+ href: "#education",
5532
+ title,
5533
+ meta: metaLine([title === institution ? void 0 : institution]),
5534
+ dateStr: formatSpanDate(education.startedAt, education.endedAt),
5535
+ status: education.endedAt ? "recent" : "current"
5536
+ });
5537
+ } else {
5538
+ const course = visible(profile.courses)[0];
5539
+ if (course) {
5540
+ row2.push({
5541
+ section: "education",
5542
+ href: "#courses",
5543
+ title: course.name,
5544
+ meta: metaLine([course.entityName ?? course.institution]),
5545
+ dateStr: formatSingleDate(course.completedAt),
5546
+ status: "recent"
5547
+ });
5548
+ }
5549
+ }
5550
+ const ongoingProjects = visible(profile.projects).filter((p) => !p.endDate);
5551
+ const project = sortByDateDesc(ongoingProjects, dateRangeExtractor)[0];
5552
+ if (project) {
5553
+ row2.push({
5554
+ section: "project",
5555
+ href: "#projects",
5556
+ title: project.name,
5557
+ meta: coPeopleLabel(project.members, self),
5558
+ dateStr: formatSpanDate(project.startDate, project.endDate),
5559
+ status: "current"
5560
+ });
5561
+ }
5562
+ const ongoingInvolvement = visible(profile.involvement).filter((i) => !i.endedAt);
5563
+ const involvement = sortByDateDesc(ongoingInvolvement, lexiconDateExtractor)[0];
5564
+ if (involvement) {
5565
+ row2.push({
5566
+ section: "involvement",
5567
+ href: "#involvement",
5568
+ title: involvement.role || involvement.kind || "Involvement",
5569
+ meta: metaLine([
5570
+ involvement.entityName ?? involvement.upstream,
5571
+ coPeopleLabel(involvement.collaborators, self)
5572
+ ]),
5573
+ dateStr: formatSpanDate(involvement.startedAt, involvement.endedAt),
5574
+ status: "current"
5575
+ });
5576
+ }
5577
+ return { row1, row2 };
5578
+ }
5579
+ function shouldRenderHighlights(rows) {
5580
+ return rows.row1.length + rows.row2.length >= 2;
5581
+ }
5407
5582
  var BlobRefSchema = z.object({
5408
5583
  $type: z.literal("blob"),
5409
5584
  ref: z.object({ $link: z.string().min(1) }),
@@ -5685,6 +5860,7 @@ var ProfileEducationRecordSchema = z.object({
5685
5860
  startedAt: partialDateSchema.optional(),
5686
5861
  endedAt: partialDateSchema.optional(),
5687
5862
  labels: selfLabelsSchema.optional(),
5863
+ isPrimary: z.boolean().optional(),
5688
5864
  createdAt: datetimeSchema
5689
5865
  });
5690
5866
  var ProfileExternalAccountRecordSchema = z.object({
@@ -5732,6 +5908,7 @@ var ProfileProjectRecordSchema = z.object({
5732
5908
  startedAt: partialDateSchema.optional(),
5733
5909
  endedAt: partialDateSchema.optional(),
5734
5910
  labels: selfLabelsSchema.optional(),
5911
+ isPrimary: z.boolean().optional(),
5735
5912
  createdAt: datetimeSchema
5736
5913
  });
5737
5914
 
@@ -5762,6 +5939,7 @@ var ProfileInvolvementRecordSchema = z.object({
5762
5939
  labels: selfLabelsSchema.optional(),
5763
5940
  collaborators: z.array(projectMemberRefSchema).max(50).optional(),
5764
5941
  sameAs: externalRecordRefSchema.optional(),
5942
+ isPrimary: z.boolean().optional(),
5765
5943
  createdAt: datetimeSchema
5766
5944
  }).passthrough();
5767
5945
  var ProfileLanguageRecordSchema = z.object({
@@ -5820,6 +5998,7 @@ var ProfilePresentationRecordSchema = z.object({
5820
5998
  writeupRef: externalRecordRefSchema.optional(),
5821
5999
  // Optional uploaded cover image for the talk page.
5822
6000
  coverImage: BlobRefSchema.optional(),
6001
+ isPrimary: z.boolean().optional(),
5823
6002
  createdAt: datetimeSchema
5824
6003
  });
5825
6004
  var communityAddressSchema = z.object({
@@ -5864,6 +6043,7 @@ var ProfilePublicationRecordSchema = z.object({
5864
6043
  description: z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
5865
6044
  authors: z.array(PublicationAuthorSchema).max(50).optional(),
5866
6045
  publishedAt: partialDateSchema.optional(),
6046
+ isPrimary: z.boolean().optional(),
5867
6047
  createdAt: datetimeSchema
5868
6048
  });
5869
6049
  var ProfileSelfRecordSchema = z.object({
@@ -6225,8 +6405,8 @@ function describeSifaRecord(collection, value) {
6225
6405
  }
6226
6406
 
6227
6407
  // src/index.ts
6228
- var SIFA_SDK_VERSION = "0.18.15";
6408
+ var SIFA_SDK_VERSION = "0.18.17";
6229
6409
 
6230
- export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, InvestmentAmountSchema, MIN_SKILLS, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVESTMENT_NSID, PROFILE_INVOLVEMENT_NSID, PROJECT_ROLES, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvestmentRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, actorShowsIdentity, agentRefSchema, atUriSchema, buildMetaDescription, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, excludeSelfApp, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
6410
+ export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, InvestmentAmountSchema, MIN_SKILLS, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVESTMENT_NSID, PROFILE_INVOLVEMENT_NSID, PROJECT_ROLES, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvestmentRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, actorShowsIdentity, agentRefSchema, atUriSchema, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, excludeSelfApp, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatLocation, formatPresentationDuration, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, shouldRenderHighlights, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
6231
6411
  //# sourceMappingURL=index.js.map
6232
6412
  //# sourceMappingURL=index.js.map