@rebuy/rebuy-hydrogen 3.0.0-beta.1 → 3.0.0-beta.10

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 (143) hide show
  1. package/README.md +0 -2
  2. package/dist/components/AddToCartBtn/AddToCartBtn.d.ts +3 -0
  3. package/dist/components/AddToCartBtn/AddToCartBtn.d.ts.map +1 -0
  4. package/dist/components/AddToCartBtn/HydrogenAddToCartBtn.d.ts +3 -0
  5. package/dist/components/AddToCartBtn/HydrogenAddToCartBtn.d.ts.map +1 -0
  6. package/dist/components/AddToCartBtn/HydrogenReactAddToCartBtn.d.ts +3 -0
  7. package/dist/components/AddToCartBtn/HydrogenReactAddToCartBtn.d.ts.map +1 -0
  8. package/dist/components/AddToCartBtn/index.d.ts +2 -0
  9. package/dist/components/AddToCartBtn/index.d.ts.map +1 -0
  10. package/{src/components/AddToCartBtn/types.ts → dist/components/AddToCartBtn/types.d.ts} +1 -2
  11. package/dist/components/AddToCartBtn/types.d.ts.map +1 -0
  12. package/dist/components/ProductCard/ProductCard.d.ts +3 -0
  13. package/dist/components/ProductCard/ProductCard.d.ts.map +1 -0
  14. package/dist/components/ProductCard/index.d.ts +2 -0
  15. package/dist/components/ProductCard/index.d.ts.map +1 -0
  16. package/{src/components/ProductCard/types.ts → dist/components/ProductCard/types.d.ts} +2 -2
  17. package/dist/components/ProductCard/types.d.ts.map +1 -0
  18. package/dist/components/ProductPrice/ProductPrice.d.ts +5 -0
  19. package/dist/components/ProductPrice/ProductPrice.d.ts.map +1 -0
  20. package/dist/components/ProductPrice/index.d.ts +2 -0
  21. package/dist/components/ProductPrice/index.d.ts.map +1 -0
  22. package/dist/components/Title/Title.d.ts +3 -0
  23. package/dist/components/Title/Title.d.ts.map +1 -0
  24. package/dist/components/Title/index.d.ts +2 -0
  25. package/dist/components/Title/index.d.ts.map +1 -0
  26. package/{src/components/Title/types.ts → dist/components/Title/types.d.ts} +1 -1
  27. package/dist/components/Title/types.d.ts.map +1 -0
  28. package/dist/components/VariantSelect/VariantSelect.d.ts +3 -0
  29. package/dist/components/VariantSelect/VariantSelect.d.ts.map +1 -0
  30. package/dist/components/VariantSelect/index.d.ts +2 -0
  31. package/dist/components/VariantSelect/index.d.ts.map +1 -0
  32. package/{src/components/VariantSelect/types.ts → dist/components/VariantSelect/types.d.ts} +1 -1
  33. package/dist/components/VariantSelect/types.d.ts.map +1 -0
  34. package/{src/context/RebuyContext.tsx → dist/context/RebuyContext.d.ts} +2 -5
  35. package/dist/context/RebuyContext.d.ts.map +1 -0
  36. package/dist/hooks/titleLevel.d.ts +3 -0
  37. package/dist/hooks/titleLevel.d.ts.map +1 -0
  38. package/dist/index.css +296 -0
  39. package/dist/index.css.map +7 -0
  40. package/{src/index.ts → dist/index.d.ts} +1 -0
  41. package/dist/index.d.ts.map +1 -0
  42. package/dist/index.js +1967 -0
  43. package/dist/index.js.map +7 -0
  44. package/dist/index.mjs +1935 -0
  45. package/dist/index.mjs.map +7 -0
  46. package/dist/providers/RebuyHydrogenContextProvider.d.ts +3 -0
  47. package/dist/providers/RebuyHydrogenContextProvider.d.ts.map +1 -0
  48. package/dist/providers/RebuyHydrogenReactContextProvider.d.ts +3 -0
  49. package/dist/providers/RebuyHydrogenReactContextProvider.d.ts.map +1 -0
  50. package/{src/providers/types.ts → dist/providers/types.d.ts} +12 -16
  51. package/dist/providers/types.d.ts.map +1 -0
  52. package/dist/queries/cart.queries.d.ts +5 -0
  53. package/dist/queries/cart.queries.d.ts.map +1 -0
  54. package/dist/types/common.d.ts +9 -0
  55. package/dist/types/common.d.ts.map +1 -0
  56. package/{src/types/rebuyCustom.ts → dist/types/rebuyCustom.d.ts} +12 -35
  57. package/dist/types/rebuyCustom.d.ts.map +1 -0
  58. package/{src/types/rebuySmartCart.ts → dist/types/rebuySmartCart.d.ts} +1 -5
  59. package/dist/types/rebuySmartCart.d.ts.map +1 -0
  60. package/dist/types/shopify.d.ts +85 -0
  61. package/dist/types/shopify.d.ts.map +1 -0
  62. package/{src/types/widgets.ts → dist/types/widgets.d.ts} +2 -9
  63. package/dist/types/widgets.d.ts.map +1 -0
  64. package/dist/utils/convertToRebuyProduct.d.ts +156 -0
  65. package/dist/utils/convertToRebuyProduct.d.ts.map +1 -0
  66. package/dist/utils/createContextParameters.d.ts +3 -0
  67. package/dist/utils/createContextParameters.d.ts.map +1 -0
  68. package/dist/utils/getEncodedAttributes.d.ts +3 -0
  69. package/dist/utils/getEncodedAttributes.d.ts.map +1 -0
  70. package/dist/utils/getRebuyConfig.d.ts +3 -0
  71. package/dist/utils/getRebuyConfig.d.ts.map +1 -0
  72. package/dist/widgetContainer/RebuyWidgetContainer.d.ts +8 -0
  73. package/dist/widgetContainer/RebuyWidgetContainer.d.ts.map +1 -0
  74. package/dist/widgets/RebuyCompleteTheLook/RebuyCompleteTheLook.d.ts +3 -0
  75. package/dist/widgets/RebuyCompleteTheLook/RebuyCompleteTheLook.d.ts.map +1 -0
  76. package/{src/widgets/RebuyCompleteTheLook/index.ts → dist/widgets/RebuyCompleteTheLook/index.d.ts} +1 -0
  77. package/dist/widgets/RebuyCompleteTheLook/index.d.ts.map +1 -0
  78. package/{src/widgets/RebuyCompleteTheLook/types.ts → dist/widgets/RebuyCompleteTheLook/types.d.ts} +1 -1
  79. package/dist/widgets/RebuyCompleteTheLook/types.d.ts.map +1 -0
  80. package/dist/widgets/RebuyDynamicBundleProducts/BundleImages.d.ts +5 -0
  81. package/dist/widgets/RebuyDynamicBundleProducts/BundleImages.d.ts.map +1 -0
  82. package/dist/widgets/RebuyDynamicBundleProducts/BundlePrice.d.ts +5 -0
  83. package/dist/widgets/RebuyDynamicBundleProducts/BundlePrice.d.ts.map +1 -0
  84. package/dist/widgets/RebuyDynamicBundleProducts/BundleSelection.d.ts +3 -0
  85. package/dist/widgets/RebuyDynamicBundleProducts/BundleSelection.d.ts.map +1 -0
  86. package/dist/widgets/RebuyDynamicBundleProducts/RebuyDynamicBundleProducts.d.ts +3 -0
  87. package/dist/widgets/RebuyDynamicBundleProducts/RebuyDynamicBundleProducts.d.ts.map +1 -0
  88. package/dist/widgets/RebuyDynamicBundleProducts/Select.d.ts +3 -0
  89. package/dist/widgets/RebuyDynamicBundleProducts/Select.d.ts.map +1 -0
  90. package/{src/widgets/RebuyDynamicBundleProducts/index.ts → dist/widgets/RebuyDynamicBundleProducts/index.d.ts} +1 -0
  91. package/dist/widgets/RebuyDynamicBundleProducts/index.d.ts.map +1 -0
  92. package/{src/widgets/RebuyDynamicBundleProducts/types.ts → dist/widgets/RebuyDynamicBundleProducts/types.d.ts} +1 -5
  93. package/dist/widgets/RebuyDynamicBundleProducts/types.d.ts.map +1 -0
  94. package/dist/widgets/RebuyProductAddOns/RebuyProductAddOnCard.d.ts +3 -0
  95. package/dist/widgets/RebuyProductAddOns/RebuyProductAddOnCard.d.ts.map +1 -0
  96. package/dist/widgets/RebuyProductAddOns/RebuyProductAddOns.d.ts +3 -0
  97. package/dist/widgets/RebuyProductAddOns/RebuyProductAddOns.d.ts.map +1 -0
  98. package/{src/widgets/RebuyProductAddOns/index.ts → dist/widgets/RebuyProductAddOns/index.d.ts} +1 -0
  99. package/dist/widgets/RebuyProductAddOns/index.d.ts.map +1 -0
  100. package/{src/widgets/RebuyProductAddOns/types.ts → dist/widgets/RebuyProductAddOns/types.d.ts} +2 -7
  101. package/dist/widgets/RebuyProductAddOns/types.d.ts.map +1 -0
  102. package/dist/widgets/RebuyProductRecommendations/RebuyProductRecommendations.d.ts +3 -0
  103. package/dist/widgets/RebuyProductRecommendations/RebuyProductRecommendations.d.ts.map +1 -0
  104. package/{src/widgets/RebuyProductRecommendations/index.ts → dist/widgets/RebuyProductRecommendations/index.d.ts} +1 -0
  105. package/dist/widgets/RebuyProductRecommendations/index.d.ts.map +1 -0
  106. package/{src/widgets/RebuyProductRecommendations/types.ts → dist/widgets/RebuyProductRecommendations/types.d.ts} +1 -1
  107. package/dist/widgets/RebuyProductRecommendations/types.d.ts.map +1 -0
  108. package/package.json +48 -36
  109. package/src/components/AddToCartBtn/AddToCartBtn.tsx +0 -45
  110. package/src/components/AddToCartBtn/HydrogenAddToCartBtn.tsx +0 -43
  111. package/src/components/AddToCartBtn/HydrogenReactAddToCartBtn.tsx +0 -35
  112. package/src/components/AddToCartBtn/index.ts +0 -1
  113. package/src/components/ProductCard/ProductCard.tsx +0 -70
  114. package/src/components/ProductCard/index.ts +0 -1
  115. package/src/components/ProductPrice/ProductPrice.tsx +0 -49
  116. package/src/components/ProductPrice/index.ts +0 -1
  117. package/src/components/Title/Title.tsx +0 -20
  118. package/src/components/Title/index.ts +0 -1
  119. package/src/components/VariantSelect/VariantSelect.tsx +0 -45
  120. package/src/components/VariantSelect/index.ts +0 -1
  121. package/src/hooks/titleLevel.tsx +0 -42
  122. package/src/providers/RebuyHydrogenContextProvider.tsx +0 -112
  123. package/src/providers/RebuyHydrogenReactContextProvider.tsx +0 -192
  124. package/src/queries/cart.queries.ts +0 -467
  125. package/src/types/common.ts +0 -8
  126. package/src/types/css.d.ts +0 -11
  127. package/src/types/env.d.ts +0 -12
  128. package/src/types/rebuy.d.ts +0 -31
  129. package/src/types/shopify.ts +0 -142
  130. package/src/utils/convertToRebuyProduct.tsx +0 -319
  131. package/src/utils/createContextParameters.ts +0 -142
  132. package/src/utils/getEncodedAttributes.ts +0 -11
  133. package/src/utils/getRebuyConfig.ts +0 -31
  134. package/src/widgetContainer/RebuyWidgetContainer.tsx +0 -183
  135. package/src/widgets/RebuyCompleteTheLook/RebuyCompleteTheLook.tsx +0 -50
  136. package/src/widgets/RebuyDynamicBundleProducts/BundleImages.tsx +0 -62
  137. package/src/widgets/RebuyDynamicBundleProducts/BundlePrice.tsx +0 -93
  138. package/src/widgets/RebuyDynamicBundleProducts/BundleSelection.tsx +0 -65
  139. package/src/widgets/RebuyDynamicBundleProducts/RebuyDynamicBundleProducts.tsx +0 -118
  140. package/src/widgets/RebuyDynamicBundleProducts/Select.tsx +0 -41
  141. package/src/widgets/RebuyProductAddOns/RebuyProductAddOnCard.tsx +0 -66
  142. package/src/widgets/RebuyProductAddOns/RebuyProductAddOns.tsx +0 -218
  143. package/src/widgets/RebuyProductRecommendations/RebuyProductRecommendations.tsx +0 -50
package/README.md CHANGED
@@ -6,8 +6,6 @@ Rebuy + Hydrogen package is a web development framework used for building Shopif
6
6
 
7
7
  Rebuy makes it incredibly easy to bring powerful personalized product recommendations and smart search to your Shopify Hydrogen 2.0 Storefront. For more details on this, please check out our [Rebuy + Shopify Hydrogen 2.0 documentation](https://developers.rebuyengine.com/reference/rebuy-shopify-hydrogen-2).
8
8
 
9
- Components and more coming soon.
10
-
11
9
  ## How Rebuy + Hydrogen Works
12
10
 
13
11
  Rebuy + Hydrogen is a lightweight framework for creating personalized shopping experiences that are lightening fast. The framework is composed of:
@@ -0,0 +1,3 @@
1
+ import type { AddToCartBtnProps } from '~/components/AddToCartBtn/types';
2
+ export declare const AddToCartBtn: ({ addToCartBtnText, addToCartCallback, disabled, isHydrogenReact, moneyData, selectedVariants, }: AddToCartBtnProps) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=AddToCartBtn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddToCartBtn.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/AddToCartBtn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAIzE,eAAO,MAAM,YAAY,GAAI,kGAO1B,iBAAiB,4CAgCnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { btnProps } from '~/components/AddToCartBtn/types';
2
+ export declare const HydrogenAddToCartBtn: ({ addToCartBtnText, addToCartCallback, disabled, linesToAdd, moneyData, }: btnProps) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=HydrogenAddToCartBtn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydrogenAddToCartBtn.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/HydrogenAddToCartBtn.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGhE,eAAO,MAAM,oBAAoB,GAAI,2EAMlC,QAAQ,4CA6BV,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { btnProps } from '~/components/AddToCartBtn/types';
2
+ export declare const HydrogenReactAddToCartBtn: ({ addToCartBtnText, addToCartCallback, disabled, linesToAdd, moneyData, }: btnProps) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=HydrogenReactAddToCartBtn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydrogenReactAddToCartBtn.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/HydrogenReactAddToCartBtn.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGhE,eAAO,MAAM,yBAAyB,GAAI,2EAMvC,QAAQ,4CAkBV,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './AddToCartBtn';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { MoneyV2 } from '@shopify/hydrogen-react/storefront-api-types';
2
2
  import type { RebuyProductVariant } from '~/types/rebuyCustom';
3
-
4
3
  export type btnProps = {
5
4
  addToCartBtnText?: string;
6
5
  addToCartCallback?: () => void;
@@ -16,7 +15,6 @@ export type btnProps = {
16
15
  }[];
17
16
  moneyData?: MoneyV2;
18
17
  };
19
-
20
18
  export type AddToCartBtnProps = {
21
19
  addToCartBtnText?: string;
22
20
  addToCartCallback?: () => void;
@@ -25,3 +23,4 @@ export type AddToCartBtnProps = {
25
23
  moneyData?: MoneyV2;
26
24
  selectedVariants: RebuyProductVariant[];
27
25
  };
26
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/AddToCartBtn/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,MAAM,MAAM,QAAQ,GAAG;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE;QACR,UAAU,EAAE;YACR,GAAG,EAAE,MAAM,CAAC;YACZ,KAAK,EAAE,MAAM,CAAC;SACjB,EAAE,CAAC;QACJ,aAAa,EAAE,MAAM,CAAC;QACtB,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,OAAO,CAAC;KAC5B,EAAE,CAAC;IACJ,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;CAC3C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ProductCardProps } from '~/components/ProductCard/types';
2
+ export declare const ProductCard: ({ addToCartBtnText, addToCartCallback, isHydrogenReact, product, productCardTitleLevel, }: ProductCardProps) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ProductCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAQvE,eAAO,MAAM,WAAW,GAAI,2FAMzB,gBAAgB,4CAsClB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ProductCard';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import type { ProductCardTitleLevel } from '~/types/common';
2
2
  import type { RebuyProduct } from '~/types/rebuyCustom';
3
-
4
3
  export type ProductCardProps = {
5
4
  addToCartBtnText?: string;
6
- addToCartCallback?: () => void; // to allow for custom add to cart logic/opening the cart drawer
5
+ addToCartCallback?: () => void;
7
6
  isHydrogenReact?: boolean;
8
7
  product: RebuyProduct;
9
8
  productCardTitleLevel: ProductCardTitleLevel;
10
9
  };
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ProductCard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,YAAY,CAAC;IACtB,qBAAqB,EAAE,qBAAqB,CAAC;CAChD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { RebuyProductVariant } from '~/types/rebuyCustom';
2
+ export declare const RebuyProductPrice: ({ selectedVariant }: {
3
+ selectedVariant: RebuyProductVariant;
4
+ }) => import("react/jsx-runtime").JSX.Element | null;
5
+ //# sourceMappingURL=ProductPrice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductPrice.d.ts","sourceRoot":"","sources":["../../../src/components/ProductPrice/ProductPrice.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG/D,eAAO,MAAM,iBAAiB,GAAI,qBAAqB;IAAE,eAAe,EAAE,mBAAmB,CAAA;CAAE,mDAuB9F,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ProductPrice';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ProductPrice/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { TitleProps } from '~/components/Title/types';
2
+ export declare const Title: ({ level, style, text }: TitleProps) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=Title.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../src/components/Title/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D,eAAO,MAAM,KAAK,GAAI,wBAAwB,UAAU,4CAgBvD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Title';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Title/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { ProductCardTitleLevel } from '~/types/common';
2
-
3
2
  export type TitleProps = {
4
3
  level: ProductCardTitleLevel;
5
4
  style?: React.CSSProperties;
6
5
  text: string;
7
6
  };
7
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Title/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D,MAAM,MAAM,UAAU,GAAG;IACrB,KAAK,EAAE,qBAAqB,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { VariantSelectProps } from '~/components/VariantSelect/types';
2
+ export declare const VariantSelect: ({ handleSelectedVariant, product }: VariantSelectProps) => false | import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=VariantSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VariantSelect.d.ts","sourceRoot":"","sources":["../../../src/components/VariantSelect/VariantSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,eAAO,MAAM,aAAa,GAAI,oCAAoC,kBAAkB,oDA8BnF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './VariantSelect';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/VariantSelect/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { RebuyProduct } from '~/types/rebuyCustom';
2
-
3
2
  export type VariantSelectProps = {
4
3
  handleSelectedVariant: (product: RebuyProduct, variant_id: string) => void;
5
4
  product: RebuyProduct;
6
5
  };
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/VariantSelect/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,qBAAqB,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3E,OAAO,EAAE,YAAY,CAAC;CACzB,CAAC"}
@@ -1,9 +1,6 @@
1
- import { createContext } from 'react';
2
-
3
1
  import { type ContextParameters } from '~/types/rebuyCustom';
4
-
5
2
  export type RebuyContextType = {
6
3
  contextParameters: ContextParameters;
7
4
  };
8
-
9
- export const RebuyContext = createContext<RebuyContextType | null>(null);
5
+ export declare const RebuyContext: import("react").Context<RebuyContextType | null>;
6
+ //# sourceMappingURL=RebuyContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RebuyContext.d.ts","sourceRoot":"","sources":["../../src/context/RebuyContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,YAAY,kDAA+C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ProductCardTitleLevel } from '~/types/common';
2
+ export declare const getTitleLevel: (level: string, decreaseLevel?: boolean) => ProductCardTitleLevel;
3
+ //# sourceMappingURL=titleLevel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"titleLevel.d.ts","sourceRoot":"","sources":["../../src/hooks/titleLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,EAAE,gBAAe,OAAe,KAAG,qBAyC7E,CAAC"}
package/dist/index.css ADDED
@@ -0,0 +1,296 @@
1
+ /* src/components/AddToCartBtn/AddToCartBtn.module.css */
2
+ .AddToCartBtn_button {
3
+ padding: 8px 16px;
4
+ border-radius: 4px;
5
+ font-size: 16px;
6
+ color: #fff;
7
+ background-color: #000;
8
+ border: none;
9
+ cursor: pointer;
10
+ width: 100%;
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: center;
14
+ gap: 8px;
15
+ }
16
+ .AddToCartBtn_button:disabled {
17
+ opacity: 0.5;
18
+ cursor: not-allowed;
19
+ }
20
+ .AddToCartBtn_button:hover {
21
+ background-color: #333;
22
+ }
23
+
24
+ /* src/components/ProductPrice/ProductPrice.module.css */
25
+ .ProductPrice_priceContainer {
26
+ display: flex;
27
+ align-items: center;
28
+ gap: 8px;
29
+ }
30
+ .ProductPrice_compareAtPrice {
31
+ opacity: 0.5;
32
+ }
33
+
34
+ /* src/components/VariantSelect/VariantSelect.module.css */
35
+ .VariantSelect_select {
36
+ width: 100%;
37
+ padding: 8px;
38
+ border: 1px solid #ccc;
39
+ border-radius: 4px;
40
+ font-size: 16px;
41
+ color: #333;
42
+ background-color: #fff;
43
+ }
44
+
45
+ /* src/components/ProductCard/ProductCard.module.css */
46
+ .ProductCard_container {
47
+ display: flex;
48
+ flex-direction: column;
49
+ gap: 24px;
50
+ max-width: 256px;
51
+ height: 100%;
52
+ justify-content: space-between;
53
+ }
54
+ .ProductCard_productInfo {
55
+ display: grid;
56
+ gap: 4px;
57
+ align-items: start;
58
+ }
59
+
60
+ /* src/widgets/RebuyCompleteTheLook/RebuyCompleteTheLook.module.css */
61
+ .RebuyCompleteTheLook_container {
62
+ padding: 2rem 1rem;
63
+ margin: 1rem 0;
64
+ background-color: #f0f4f8;
65
+ border-radius: 1rem;
66
+ @media (width >= 768px) {
67
+ padding: 4rem;
68
+ }
69
+ }
70
+ .RebuyCompleteTheLook_productGrid {
71
+ display: grid;
72
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
73
+ gap: 2rem;
74
+ list-style: none;
75
+ padding: 0;
76
+ margin: 0;
77
+ @media (width >= 768px) {
78
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
79
+ }
80
+ }
81
+ .RebuyCompleteTheLook_productItem {
82
+ width: 100%;
83
+ }
84
+
85
+ /* src/widgets/RebuyDynamicBundleProducts/RebuyDynamicBundleProducts.module.css */
86
+ .RebuyDynamicBundleProducts_container {
87
+ padding: 32px 16px;
88
+ background-color: #f0f4f8;
89
+ border-radius: 16px;
90
+ max-width: 768px;
91
+ margin: 16px 0;
92
+ @media (width >= 768px) {
93
+ padding: 64px;
94
+ }
95
+ }
96
+ .RebuyDynamicBundleProducts_addCartBtnContainer {
97
+ display: flex;
98
+ justify-content: center;
99
+ }
100
+ .RebuyDynamicBundleProducts_addCartBtnContainer form {
101
+ width: 100%;
102
+ }
103
+ .RebuyDynamicBundleProducts_bundleContainer {
104
+ display: flex;
105
+ flex-direction: column;
106
+ gap: 16px;
107
+ margin-bottom: 16px;
108
+ }
109
+ .RebuyDynamicBundleProducts_select {
110
+ width: 100%;
111
+ padding: 8px;
112
+ border: 1px solid #ccc;
113
+ border-radius: 4px;
114
+ font-size: 16px;
115
+ color: #333;
116
+ background-color: #fff;
117
+ @media (width >= 768px) {
118
+ width: 60%;
119
+ }
120
+ }
121
+ .RebuyDynamicBundleProducts_bundleItemRowContainer {
122
+ margin-bottom: 16px;
123
+ }
124
+ .RebuyDynamicBundleProducts_unselected {
125
+ opacity: 0.5;
126
+ }
127
+ .RebuyDynamicBundleProducts_bundleItemRow {
128
+ display: flex;
129
+ flex-direction: row;
130
+ gap: 8px;
131
+ align-items: start;
132
+ }
133
+ .RebuyDynamicBundleProducts_bundleItemInput {
134
+ flex-grow: 1;
135
+ }
136
+ .RebuyDynamicBundleProducts_bundleItemLabel {
137
+ display: flex;
138
+ flex-direction: row;
139
+ gap: 8px;
140
+ cursor: pointer;
141
+ margin-bottom: 8px;
142
+ }
143
+ .RebuyDynamicBundleProducts_bundleImages {
144
+ display: flex;
145
+ flex-wrap: wrap;
146
+ gap: 8px;
147
+ margin-bottom: 16px;
148
+ justify-content: center;
149
+ }
150
+ .RebuyDynamicBundleProducts_bundleImage {
151
+ animation: RebuyDynamicBundleProducts_fade-in 0.5s ease-in;
152
+ }
153
+ @keyframes RebuyDynamicBundleProducts_fade-in {
154
+ from {
155
+ opacity: 0;
156
+ }
157
+ to {
158
+ opacity: 1;
159
+ }
160
+ }
161
+ .RebuyDynamicBundleProducts_bundleImageDelimiter {
162
+ display: flex;
163
+ align-items: center;
164
+ }
165
+ .RebuyDynamicBundleProducts_bundleImageDelimiter span {
166
+ font-weight: 600;
167
+ }
168
+ .RebuyDynamicBundleProducts_compareAtPrice {
169
+ text-decoration: line-through;
170
+ opacity: 0.5;
171
+ }
172
+
173
+ /* src/widgets/RebuyProductAddOns/RebuyProductAddOns.module.css */
174
+ .RebuyProductAddOns_container {
175
+ display: flex;
176
+ flex-direction: column;
177
+ gap: 10px;
178
+ margin: 16px 0;
179
+ background-color: #f0f4f8;
180
+ border-radius: 16px;
181
+ padding: 32px 16px;
182
+ @media (width >= 768px) {
183
+ padding: 64px;
184
+ }
185
+ }
186
+ .RebuyProductAddOns_productAddOnsList {
187
+ display: grid;
188
+ grid-template-columns: repeat(1, minmax(0, 1fr));
189
+ gap: 8px;
190
+ @media (width >= 768px) {
191
+ grid-template-columns: repeat(2, minmax(0, 1fr));
192
+ }
193
+ @media (width >= 1024px) {
194
+ grid-template-columns: repeat(3, minmax(0, 1fr));
195
+ }
196
+ }
197
+ .RebuyProductAddOns_addOnCard {
198
+ cursor: pointer;
199
+ &:hover {
200
+ opacity: 0.8;
201
+ }
202
+ }
203
+ .RebuyProductAddOns_addOnCardContent {
204
+ display: flex;
205
+ gap: 8px;
206
+ flex-direction: column;
207
+ position: relative;
208
+ padding: 16px;
209
+ border-radius: 8px;
210
+ border: 2px solid #e2e5ea;
211
+ background-color: #fff;
212
+ }
213
+ .RebuyProductAddOns_addOnCardInput {
214
+ position: absolute;
215
+ top: 10px;
216
+ right: 10px;
217
+ z-index: 1;
218
+ appearance: none;
219
+ border-radius: 50%;
220
+ width: 24px;
221
+ height: 24px;
222
+ background-color: #f0f0f0;
223
+ border: 1px solid #ddd;
224
+ cursor: pointer;
225
+ transition: all 0.2s ease-in-out;
226
+ }
227
+ .RebuyProductAddOns_addOnCardInput:checked {
228
+ background-color: #4a7dff;
229
+ border-color: #4a7dff;
230
+ }
231
+ .RebuyProductAddOns_addOnCardInput:checked::after {
232
+ content: "";
233
+ position: absolute;
234
+ top: 50%;
235
+ left: 50%;
236
+ transform: translate(-50%, -50%) rotate(45deg);
237
+ width: 5px;
238
+ height: 10px;
239
+ border: solid white;
240
+ border-width: 0 2px 2px 0;
241
+ margin-top: -1px;
242
+ }
243
+ .RebuyProductAddOns_addOnCardContentImage {
244
+ display: flex;
245
+ align-items: center;
246
+ justify-content: center;
247
+ overflow: hidden;
248
+ margin: 0 auto;
249
+ position: relative;
250
+ }
251
+ .RebuyProductAddOns_addOnCardOutOfStock {
252
+ border-radius: 4px;
253
+ background-color: #e2e5ea;
254
+ font-size: 12px;
255
+ }
256
+ .RebuyProductAddOns_addOnCardTextContent {
257
+ display: flex;
258
+ flex-direction: column;
259
+ }
260
+ .RebuyProductAddOns_addOnCardLearnMore {
261
+ text-decoration: underline;
262
+ color: gray;
263
+ font-size: 14px;
264
+ }
265
+ .RebuyProductAddOns_addCartBtnContainer {
266
+ display: flex;
267
+ justify-content: center;
268
+ padding-top: 16px;
269
+ }
270
+ .RebuyProductAddOns_addCartBtnContainer form {
271
+ width: 100%;
272
+ }
273
+ .RebuyProductAddOns_moneyContainer {
274
+ display: flex;
275
+ align-items: center;
276
+ gap: 8px;
277
+ justify-content: center;
278
+ }
279
+
280
+ /* src/widgets/RebuyProductRecommendations/RebuyProductRecommendations.module.css */
281
+ .RebuyProductRecommendations_container {
282
+ padding: 32px 16px;
283
+ background-color: #f0f4f8;
284
+ border-radius: 16px;
285
+ margin: 16px 0;
286
+ @media (width >= 768px) {
287
+ padding: 64px;
288
+ }
289
+ }
290
+ .RebuyProductRecommendations_productGrid {
291
+ display: grid;
292
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
293
+ gap: 32px;
294
+ list-style: none;
295
+ }
296
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/components/AddToCartBtn/AddToCartBtn.module.css", "../src/components/ProductPrice/ProductPrice.module.css", "../src/components/VariantSelect/VariantSelect.module.css", "../src/components/ProductCard/ProductCard.module.css", "../src/widgets/RebuyCompleteTheLook/RebuyCompleteTheLook.module.css", "../src/widgets/RebuyDynamicBundleProducts/RebuyDynamicBundleProducts.module.css", "../src/widgets/RebuyProductAddOns/RebuyProductAddOns.module.css", "../src/widgets/RebuyProductRecommendations/RebuyProductRecommendations.module.css"],
4
+ "sourcesContent": ["/* stylelint-disable selector-class-pattern */\n\n/* TODO: Update classes to BEM naming convention (rb-{block}__{element}--{modifier}) */\n\n.button {\n padding: 8px 16px;\n border-radius: 4px;\n font-size: 16px;\n color: #fff;\n background-color: #000;\n border: none;\n cursor: pointer;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n}\n\n.button:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.button:hover {\n background-color: #333;\n}\n", "/* stylelint-disable selector-class-pattern */\n\n/* TODO: Update classes to BEM naming convention (rb-{block}__{element}--{modifier}) */\n\n.priceContainer {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.compareAtPrice {\n opacity: 0.5;\n}\n", "/* stylelint-disable selector-class-pattern */\n\n/* TODO: Update classes to BEM naming convention (rb-{block}__{element}--{modifier}) */\n\n.select {\n width: 100%;\n padding: 8px;\n border: 1px solid #ccc;\n border-radius: 4px;\n font-size: 16px;\n color: #333;\n background-color: #fff;\n}\n", "/* stylelint-disable selector-class-pattern */\n\n/* TODO: Update classes to BEM naming convention (rb-{block}__{element}--{modifier}) */\n\n.container {\n display: flex;\n flex-direction: column;\n gap: 24px;\n max-width: 256px;\n height: 100%;\n justify-content: space-between;\n}\n\n.productInfo {\n display: grid;\n gap: 4px;\n align-items: start;\n}\n", "/* stylelint-disable */\n\n.container {\n padding: 2rem 1rem;\n margin: 1rem 0;\n background-color: #f0f4f8;\n border-radius: 1rem;\n\n @media (width >= 768px) {\n padding: 4rem;\n }\n}\n\n.productGrid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n gap: 2rem;\n list-style: none;\n padding: 0;\n margin: 0;\n\n @media (width >= 768px) {\n grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));\n }\n}\n\n.productItem {\n width: 100%;\n}\n", "/* stylelint-disable selector-class-pattern */\n\n/* TODO: Update classes to BEM naming convention (rb-{block}__{element}--{modifier}) */\n\n/* RebuyDynamicBundleProducts.tsx */\n.container {\n padding: 32px 16px;\n background-color: #f0f4f8;\n border-radius: 16px;\n max-width: 768px;\n margin: 16px 0;\n\n @media (width >= 768px) {\n padding: 64px;\n }\n}\n\n.addCartBtnContainer {\n display: flex;\n justify-content: center;\n}\n\n.addCartBtnContainer form {\n width: 100%;\n}\n\n.bundleContainer {\n display: flex;\n flex-direction: column;\n gap: 16px;\n margin-bottom: 16px;\n}\n\n/* Select.tsx */\n.select {\n width: 100%;\n padding: 8px;\n border: 1px solid #ccc;\n border-radius: 4px;\n font-size: 16px;\n color: #333;\n background-color: #fff;\n\n @media (width >= 768px) {\n width: 60%;\n }\n}\n\n/* BundleSelection.tsx */\n.bundleItemRowContainer {\n margin-bottom: 16px;\n}\n\n.unselected {\n opacity: 0.5;\n}\n\n.bundleItemRow {\n display: flex;\n flex-direction: row;\n gap: 8px;\n align-items: start;\n}\n\n.bundleItemInput {\n flex-grow: 1;\n}\n\n.bundleItemLabel {\n display: flex;\n flex-direction: row;\n gap: 8px;\n cursor: pointer;\n margin-bottom: 8px;\n}\n\n/* BundleImages.tsx */\n.bundleImages {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n margin-bottom: 16px;\n justify-content: center;\n}\n\n.bundleImage {\n animation: fade-in 0.5s ease-in;\n}\n\n@keyframes fade-in {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n.bundleImageDelimiter {\n display: flex;\n align-items: center;\n}\n\n.bundleImageDelimiter span {\n font-weight: 600;\n}\n\n.compareAtPrice {\n text-decoration: line-through;\n opacity: 0.5;\n}\n", "/* stylelint-disable selector-class-pattern */\n\n/* TODO: Update classes to BEM naming convention (rb-{block}__{element}--{modifier}) */\n.container {\n display: flex;\n flex-direction: column;\n gap: 10px;\n margin: 16px 0;\n background-color: #f0f4f8;\n border-radius: 16px;\n padding: 32px 16px;\n\n @media (width >= 768px) {\n padding: 64px;\n }\n}\n\n.productAddOnsList {\n display: grid;\n grid-template-columns: repeat(1, minmax(0, 1fr));\n gap: 8px;\n\n @media (width >= 768px) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n\n @media (width >= 1024px) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}\n\n.addOnCard {\n cursor: pointer;\n\n &:hover {\n opacity: 0.8;\n }\n}\n\n.addOnCardContent {\n display: flex;\n gap: 8px;\n flex-direction: column;\n position: relative;\n padding: 16px;\n border-radius: 8px;\n border: 2px solid #e2e5ea;\n background-color: #fff;\n}\n\n.addOnCardInput {\n position: absolute;\n top: 10px;\n right: 10px;\n z-index: 1;\n appearance: none;\n border-radius: 50%;\n width: 24px;\n height: 24px;\n background-color: #f0f0f0;\n border: 1px solid #ddd;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n}\n\n.addOnCardInput:checked {\n background-color: #4a7dff;\n border-color: #4a7dff;\n}\n\n.addOnCardInput:checked::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(45deg);\n width: 5px;\n height: 10px;\n border: solid white;\n border-width: 0 2px 2px 0;\n margin-top: -1px;\n}\n\n.addOnCardContentImage {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n margin: 0 auto;\n position: relative;\n}\n\n.addOnCardOutOfStock {\n border-radius: 4px;\n background-color: #e2e5ea;\n font-size: 12px;\n}\n\n.addOnCardTextContent {\n display: flex;\n flex-direction: column;\n}\n\n.addOnCardLearnMore {\n text-decoration: underline;\n color: gray;\n font-size: 14px;\n}\n\n.addCartBtnContainer {\n display: flex;\n justify-content: center;\n padding-top: 16px;\n}\n\n.addCartBtnContainer form {\n width: 100%;\n}\n\n.moneyContainer {\n display: flex;\n align-items: center;\n gap: 8px;\n justify-content: center;\n}\n", "/* stylelint-disable selector-class-pattern */\n\n/* TODO: Update classes to BEM naming convention (rb-{block}__{element}--{modifier}) */\n.container {\n padding: 32px 16px;\n background-color: #f0f4f8;\n border-radius: 16px;\n margin: 16px 0;\n\n @media (width >= 768px) {\n padding: 64px;\n }\n}\n\n.productGrid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n gap: 32px;\n list-style: none;\n}\n"],
5
+ "mappings": "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",
6
+ "names": ["button", "priceContainer", "compareAtPrice", "select", "container", "productInfo", "container", "productGrid", "productItem", "container", "addCartBtnContainer", "bundleContainer", "select", "bundleItemRowContainer", "unselected", "bundleItemRow", "bundleItemInput", "bundleItemLabel", "bundleImages", "bundleImage", "fade-in", "bundleImageDelimiter", "compareAtPrice", "container", "productAddOnsList", "addOnCard", "addOnCardContent", "addOnCardInput", "addOnCardContentImage", "addOnCardOutOfStock", "addOnCardTextContent", "addOnCardLearnMore", "addCartBtnContainer", "moneyContainer", "container", "productGrid"]
7
+ }
@@ -5,3 +5,4 @@ export * from './widgets/RebuyCompleteTheLook';
5
5
  export * from './widgets/RebuyDynamicBundleProducts';
6
6
  export * from './widgets/RebuyProductAddOns';
7
7
  export * from './widgets/RebuyProductRecommendations';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC"}