{"version":3,"sources":["../../src/jsonld/ActionStatusType.ts","../../src/jsonld/ContactPointOption.ts","../../src/jsonld/ItemAvailability.ts","../../src/jsonld/MapCategoryType.ts","../../src/RichResult.tsx"],"sourcesContent":["import type { EnumValue } from '@xylabs/sdk-js'\nimport { Enum } from '@xylabs/sdk-js'\n\nexport const ActionStatusType = Enum({\n  ActiveActionStatus: 'ActiveActionStatus',\n  CompletedActionStatus: 'CompletedActionStatus',\n  FailedActionStatus: 'FailedActionStatus',\n  PotentialActionStatus: 'PotentialActionStatus',\n})\n\nexport type ActionStatusType = EnumValue<typeof ActionStatusType>\n","import type { EnumValue } from '@xylabs/sdk-js'\nimport { Enum } from '@xylabs/sdk-js'\n\nexport const ContactPointOption = Enum({\n  HearingImpairedSupported: 'HearingImpairedSupported',\n  TollFree: 'TollFree',\n})\n\nexport type ContactPointOption = EnumValue<typeof ContactPointOption>\n","import type { EnumValue } from '@xylabs/sdk-js'\nimport { Enum } from '@xylabs/sdk-js'\n\nexport const ItemAvailability = Enum({\n  /** Indicates that the item has been discontinued. */\n  Discontinued: 'https://schema.org/Discontinued',\n  /** Indicates that the item is in stock. */\n  InStock: 'https://schema.org/InStock',\n  /** Indicates that the item is available only at physical locations. */\n  InStoreOnly: 'https://schema.org/InStoreOnly',\n  /** Indicates that the item has limited availability. */\n  LimitedAvailability: 'https://schema.org/LimitedAvailability',\n  /** Indicates that the item is available only online. */\n  OnlineOnly: 'https://schema.org/OnlineOnly',\n  /** Indicates that the item is out of stock. */\n  OutOfStock: 'https://schema.org/OutOfStock',\n  /** Indicates that the item is available for pre-order. */\n  PreOrder: 'https://schema.org/PreOrder',\n  /** Indicates that the item is available for ordering and delivery before general availability. */\n  PreSale: 'https://schema.org/PreSale',\n  /** Indicates that the item has sold out. */\n  SoldOut: 'https://schema.org/SoldOut',\n})\n\nexport type ItemAvailability = EnumValue<typeof ItemAvailability>\n","import type { EnumValue } from '@xylabs/sdk-js'\nimport { Enum } from '@xylabs/sdk-js'\n\nexport const MapCategoryType = Enum({\n  ParkingMap: 'ParkingMap',\n  SeatingMap: 'SeatingMap',\n  TransitMap: 'TransitMap',\n  VenueMap: 'VenueMap',\n})\n\nexport type MapCategoryType = EnumValue<typeof MapCategoryType>\n","import React from 'react'\n\nimport type { Base, Thing } from './jsonld/index.ts'\n\ntype WithContext<T extends Base> = T & {\n  '@context': 'https://schema.org'\n}\n\nexport interface RichResultProps {\n  thing: Thing\n}\n\nexport const RichResult: React.FC<RichResultProps> = (props) => {\n  const { thing } = props\n  const thingWithContext = thing as WithContext<Thing>\n  thingWithContext['@context'] = 'https://schema.org'\n  return <script type=\"application/ld+json\">{JSON.stringify(thingWithContext)}</script>\n}\n"],"mappings":";AACA,SAAS,YAAY;AAEd,IAAM,mBAAmB,KAAK;AAAA,EACnC,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,oBAAoB;AAAA,EACpB,uBAAuB;AACzB,CAAC;;;ACPD,SAAS,QAAAA,aAAY;AAEd,IAAM,qBAAqBA,MAAK;AAAA,EACrC,0BAA0B;AAAA,EAC1B,UAAU;AACZ,CAAC;;;ACLD,SAAS,QAAAC,aAAY;AAEd,IAAM,mBAAmBA,MAAK;AAAA;AAAA,EAEnC,cAAc;AAAA;AAAA,EAEd,SAAS;AAAA;AAAA,EAET,aAAa;AAAA;AAAA,EAEb,qBAAqB;AAAA;AAAA,EAErB,YAAY;AAAA;AAAA,EAEZ,YAAY;AAAA;AAAA,EAEZ,UAAU;AAAA;AAAA,EAEV,SAAS;AAAA;AAAA,EAET,SAAS;AACX,CAAC;;;ACrBD,SAAS,QAAAC,aAAY;AAEd,IAAM,kBAAkBA,MAAK;AAAA,EAClC,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,UAAU;AACZ,CAAC;;;ACQQ;AAJF,IAAM,aAAwC,CAAC,UAAU;AAC9D,QAAM,EAAE,MAAM,IAAI;AAClB,QAAM,mBAAmB;AACzB,mBAAiB,UAAU,IAAI;AAC/B,SAAO,oBAAC,YAAO,MAAK,uBAAuB,eAAK,UAAU,gBAAgB,GAAE;AAC9E;","names":["Enum","Enum","Enum"]}