{"version":3,"file":"analytics-constants.mjs","names":[],"sources":["../../src/analytics-constants.ts"],"sourcesContent":["export const AnalyticsEventName = {\n  PAGE_VIEW: 'PAGE_VIEW',\n  ADD_TO_CART: 'ADD_TO_CART',\n  PAGE_VIEW_2: 'PAGE_VIEW_2',\n  COLLECTION_VIEW: 'COLLECTION_VIEW',\n  PRODUCT_VIEW: 'PRODUCT_VIEW',\n  SEARCH_VIEW: 'SEARCH_VIEW',\n} as const;\n\nexport const AnalyticsPageType: AnalyticsPageType = {\n  article: 'article',\n  blog: 'blog',\n  captcha: 'captcha',\n  cart: 'cart',\n  collection: 'collection',\n  customersAccount: 'customers/account',\n  customersActivateAccount: 'customers/activate_account',\n  customersAddresses: 'customers/addresses',\n  customersLogin: 'customers/login',\n  customersOrder: 'customers/order',\n  customersRegister: 'customers/register',\n  customersResetPassword: 'customers/reset_password',\n  giftCard: 'gift_card',\n  home: 'index',\n  listCollections: 'list-collections',\n  forbidden: '403',\n  notFound: '404',\n  page: 'page',\n  password: 'password',\n  product: 'product',\n  policy: 'policy',\n  search: 'search',\n} as const;\n\nexport const ShopifySalesChannel: ShopifySalesChannel = {\n  hydrogen: 'hydrogen',\n  headless: 'headless',\n} as const;\n\nexport const ShopifyAppId = {\n  hydrogen: '6167201',\n  headless: '12875497473',\n} as const;\n\n/**\n * These duplicated interface declaration is so that we can generate proper documentation\n * for these public facing constants\n */\n\n/**\n * Analytics event names accepted by Shopify analytics.\n * @publicDocs */\nexport interface AnalyticsEventName {\n  /** Page view */\n  PAGE_VIEW: 'PAGE_VIEW';\n  /** Add to cart */\n  ADD_TO_CART: 'ADD_TO_CART';\n}\n\n/**\n * Analytics page type values accepted by Shopify analytics.\n * @publicDocs */\nexport interface AnalyticsPageType {\n  article: 'article';\n  blog: 'blog';\n  captcha: 'captcha';\n  cart: 'cart';\n  collection: 'collection';\n  customersAccount: 'customers/account';\n  customersActivateAccount: 'customers/activate_account';\n  customersAddresses: 'customers/addresses';\n  customersLogin: 'customers/login';\n  customersOrder: 'customers/order';\n  customersRegister: 'customers/register';\n  customersResetPassword: 'customers/reset_password';\n  giftCard: 'gift_card';\n  home: 'index';\n  listCollections: 'list-collections';\n  forbidden: '403';\n  notFound: '404';\n  page: 'page';\n  password: 'password';\n  product: 'product';\n  policy: 'policy';\n  search: 'search';\n}\n\n/**\n * Analytics sales channel values accepted by Shopify analytics.\n * @publicDocs */\nexport interface ShopifySalesChannel {\n  /** Shopify Hydrogen sales channel */\n  hydrogen: 'hydrogen';\n  /** Shopify Headless sales channel */\n  headless: 'headless';\n}\n"],"mappings":";AAAA,IAAa,qBAAqB;CAChC,WAAW;CACX,aAAa;CACb,aAAa;CACb,iBAAiB;CACjB,cAAc;CACd,aAAa;CACd;AAED,IAAa,oBAAuC;CAClD,SAAS;CACT,MAAM;CACN,SAAS;CACT,MAAM;CACN,YAAY;CACZ,kBAAkB;CAClB,0BAA0B;CAC1B,oBAAoB;CACpB,gBAAgB;CAChB,gBAAgB;CAChB,mBAAmB;CACnB,wBAAwB;CACxB,UAAU;CACV,MAAM;CACN,iBAAiB;CACjB,WAAW;CACX,UAAU;CACV,MAAM;CACN,UAAU;CACV,SAAS;CACT,QAAQ;CACR,QAAQ;CACT;AAED,IAAa,sBAA2C;CACtD,UAAU;CACV,UAAU;CACX;AAED,IAAa,eAAe;CAC1B,UAAU;CACV,UAAU;CACX"}