@ubnt/store.core 11.9.3-alpha.22 → 11.9.3-alpha.24

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 (174) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/lib/assets/ai-360.jpg +0 -0
  3. package/lib/assets/ai-3602.jpg +0 -0
  4. package/lib/assets/ai-dslr.jpg +0 -0
  5. package/lib/assets/ai-dslr2.jpg +0 -0
  6. package/lib/assets/ai-turret.jpg +0 -0
  7. package/lib/assets/ai-turret2.jpg +0 -0
  8. package/lib/assets/attention.svg +5 -5
  9. package/lib/assets/attention2.svg +5 -5
  10. package/lib/assets/compact.svg +2 -2
  11. package/lib/assets/compact2.svg +2 -2
  12. package/lib/assets/express.jpg +0 -0
  13. package/lib/assets/express2.jpg +0 -0
  14. package/lib/assets/g2-reader-pro.jpg +0 -0
  15. package/lib/assets/g2-reader-pro2.jpg +0 -0
  16. package/lib/assets/g3-reader-pro.jpg +0 -0
  17. package/lib/assets/g3-reader-pro2.jpg +0 -0
  18. package/lib/assets/g4-instant.jpg +0 -0
  19. package/lib/assets/g4-instant2.jpg +0 -0
  20. package/lib/assets/g4-ptz.jpg +0 -0
  21. package/lib/assets/g4-ptz2.jpg +0 -0
  22. package/lib/assets/g5-bullet.jpg +0 -0
  23. package/lib/assets/g5-bullet2.jpg +0 -0
  24. package/lib/assets/g5-dome.jpg +0 -0
  25. package/lib/assets/g5-dome2.jpg +0 -0
  26. package/lib/assets/g5-flex.jpg +0 -0
  27. package/lib/assets/g5-flex2.jpg +0 -0
  28. package/lib/assets/g5-turret-ultra.jpg +0 -0
  29. package/lib/assets/g5-turret-ultra2.jpg +0 -0
  30. package/lib/assets/ptz2.svg +2 -2
  31. package/lib/assets/ptz3.svg +2 -2
  32. package/lib/assets/ucgFiber.jpg +0 -0
  33. package/lib/assets/ucgFiber2.jpg +0 -0
  34. package/lib/assets/ucgMax.jpg +0 -0
  35. package/lib/assets/ucgMax2.jpg +0 -0
  36. package/lib/assets/ucgUltra.jpg +0 -0
  37. package/lib/assets/ucgUltra2.jpg +0 -0
  38. package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.d.ts +0 -4
  39. package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js +0 -16
  40. package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js.map +1 -1
  41. package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.mjs +1 -16
  42. package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.mjs.map +1 -1
  43. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/CompareTableMarkup.js +180 -182
  44. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/CompareTableMarkup.js.map +1 -1
  45. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/CompareTableMarkup.mjs +181 -183
  46. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/CompareTableMarkup.mjs.map +1 -1
  47. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.d.ts +2 -1
  48. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js +6 -2
  49. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js.map +1 -1
  50. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.mjs +6 -2
  51. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.mjs.map +1 -1
  52. package/lib/components/ModelCompareV4/ModelCompareV4.js +17 -22
  53. package/lib/components/ModelCompareV4/ModelCompareV4.js.map +1 -1
  54. package/lib/components/ModelCompareV4/ModelCompareV4.mjs +17 -22
  55. package/lib/components/ModelCompareV4/ModelCompareV4.mjs.map +1 -1
  56. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  57. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  58. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  59. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  60. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
  61. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  62. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  63. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  64. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.js +1 -1
  65. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.mjs +2 -2
  66. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.js +1 -1
  67. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.mjs +2 -2
  68. package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.js +1 -1
  69. package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.mjs +2 -2
  70. package/lib/constants/modelCompareData/assets/Compact/g5-flex.jpg.js +1 -1
  71. package/lib/constants/modelCompareData/assets/Compact/g5-flex.jpg.mjs +2 -2
  72. package/lib/constants/modelCompareData/assets/Consoles/bigCompare/express.jpg.js +5 -5
  73. package/lib/constants/modelCompareData/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
  74. package/lib/constants/modelCompareData/assets/Consoles/bigCompare/ucgFiber.jpg.js +5 -5
  75. package/lib/constants/modelCompareData/assets/Consoles/bigCompare/ucgFiber.jpg.mjs +2 -2
  76. package/lib/constants/modelCompareData/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  77. package/lib/constants/modelCompareData/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  78. package/lib/constants/modelCompareData/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  79. package/lib/constants/modelCompareData/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  80. package/lib/constants/modelCompareData/assets/Consoles/express.jpg.js +1 -1
  81. package/lib/constants/modelCompareData/assets/Consoles/express.jpg.mjs +2 -2
  82. package/lib/constants/modelCompareData/assets/Consoles/ucgFiber.jpg.js +1 -1
  83. package/lib/constants/modelCompareData/assets/Consoles/ucgFiber.jpg.mjs +2 -2
  84. package/lib/constants/modelCompareData/assets/Consoles/ucgMax.jpg.js +1 -1
  85. package/lib/constants/modelCompareData/assets/Consoles/ucgMax.jpg.mjs +2 -2
  86. package/lib/constants/modelCompareData/assets/Consoles/ucgUltra.jpg.js +1 -1
  87. package/lib/constants/modelCompareData/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  88. package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.js +1 -1
  89. package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.mjs +2 -2
  90. package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.js +1 -1
  91. package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.mjs +2 -2
  92. package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.js +1 -1
  93. package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.mjs +2 -2
  94. package/lib/constants/modelCompareData/assets/DomeTurret/g5-turret-ultra.jpg.js +1 -1
  95. package/lib/constants/modelCompareData/assets/DomeTurret/g5-turret-ultra.jpg.mjs +2 -2
  96. package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader-pro.jpg.js +1 -1
  97. package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader-pro.jpg.mjs +2 -2
  98. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-pro.jpg.js +1 -1
  99. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-pro.jpg.mjs +2 -2
  100. package/lib/constants/modelCompareData/assets/PTZ/g4-ptz.jpg.js +1 -1
  101. package/lib/constants/modelCompareData/assets/PTZ/g4-ptz.jpg.mjs +2 -2
  102. package/lib/constants/modelCompareData/assets/compact.svg.js +1 -1
  103. package/lib/constants/modelCompareData/assets/compact.svg.mjs +2 -2
  104. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.js +1 -1
  105. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.mjs +2 -2
  106. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.js +1 -1
  107. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.mjs +2 -2
  108. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.js +1 -1
  109. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.mjs +2 -2
  110. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g5-flex.jpg.js +1 -1
  111. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g5-flex.jpg.mjs +2 -2
  112. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.js +1 -1
  113. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.mjs +2 -2
  114. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.js +1 -1
  115. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.mjs +2 -2
  116. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.js +1 -1
  117. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.mjs +2 -2
  118. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-turret-ultra.jpg.js +1 -1
  119. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-turret-ultra.jpg.mjs +2 -2
  120. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader-pro.jpg.js +1 -1
  121. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader-pro.jpg.mjs +2 -2
  122. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-pro.jpg.js +1 -1
  123. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-pro.jpg.mjs +2 -2
  124. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g4-ptz.jpg.js +1 -1
  125. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g4-ptz.jpg.mjs +2 -2
  126. package/lib/constants/modelCompareData/assets/product-list-assets/compact.svg.js +1 -1
  127. package/lib/constants/modelCompareData/assets/product-list-assets/compact.svg.mjs +2 -2
  128. package/lib/constants/modelCompareData/assets/product-list-assets/ptz.svg.js +1 -1
  129. package/lib/constants/modelCompareData/assets/product-list-assets/ptz.svg.mjs +2 -2
  130. package/lib/constants/modelCompareData/assets/ptz.svg.js +1 -1
  131. package/lib/constants/modelCompareData/assets/ptz.svg.mjs +2 -2
  132. package/lib/constants/modelCompareData/data/CloudGateways.js +9 -9
  133. package/lib/constants/modelCompareData/data/CloudGateways.mjs +6 -6
  134. package/lib/constants/modelCompareData/data/DreamMachineConsolev4.js +9 -9
  135. package/lib/constants/modelCompareData/data/DreamMachineConsolev4.mjs +6 -6
  136. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.js +1 -1
  137. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.mjs +1 -1
  138. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Ptz.js +1 -1
  139. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Ptz.mjs +1 -1
  140. package/lib/constants/modelCompareData/data/product-list-groups/compact.js +1 -1
  141. package/lib/constants/modelCompareData/data/product-list-groups/compact.mjs +1 -1
  142. package/lib/constants/modelCompareData/data/product-list-groups/ptz.js +1 -1
  143. package/lib/constants/modelCompareData/data/product-list-groups/ptz.mjs +1 -1
  144. package/lib/constants/modelCompareData/data/products/ai360.js +2 -2
  145. package/lib/constants/modelCompareData/data/products/ai360.mjs +2 -2
  146. package/lib/constants/modelCompareData/data/products/aiDslr.js +2 -2
  147. package/lib/constants/modelCompareData/data/products/aiDslr.mjs +2 -2
  148. package/lib/constants/modelCompareData/data/products/aiTurret.js +2 -2
  149. package/lib/constants/modelCompareData/data/products/aiTurret.mjs +2 -2
  150. package/lib/constants/modelCompareData/data/products/express.js +1 -1
  151. package/lib/constants/modelCompareData/data/products/express.mjs +1 -1
  152. package/lib/constants/modelCompareData/data/products/g2ReaderPro.js +2 -2
  153. package/lib/constants/modelCompareData/data/products/g2ReaderPro.mjs +2 -2
  154. package/lib/constants/modelCompareData/data/products/g3ReaderPro.js +2 -2
  155. package/lib/constants/modelCompareData/data/products/g3ReaderPro.mjs +2 -2
  156. package/lib/constants/modelCompareData/data/products/g4Instant.js +2 -2
  157. package/lib/constants/modelCompareData/data/products/g4Instant.mjs +2 -2
  158. package/lib/constants/modelCompareData/data/products/g4Ptz.js +2 -2
  159. package/lib/constants/modelCompareData/data/products/g4Ptz.mjs +2 -2
  160. package/lib/constants/modelCompareData/data/products/g5Bullet.js +2 -2
  161. package/lib/constants/modelCompareData/data/products/g5Bullet.mjs +2 -2
  162. package/lib/constants/modelCompareData/data/products/g5Dome.js +2 -2
  163. package/lib/constants/modelCompareData/data/products/g5Dome.mjs +2 -2
  164. package/lib/constants/modelCompareData/data/products/g5Flex.js +2 -2
  165. package/lib/constants/modelCompareData/data/products/g5Flex.mjs +2 -2
  166. package/lib/constants/modelCompareData/data/products/g5TurretUltra.js +2 -2
  167. package/lib/constants/modelCompareData/data/products/g5TurretUltra.mjs +2 -2
  168. package/lib/constants/modelCompareData/data/products/ucgFiber.js +1 -1
  169. package/lib/constants/modelCompareData/data/products/ucgFiber.mjs +1 -1
  170. package/lib/constants/modelCompareData/data/products/ucgMax.js +1 -1
  171. package/lib/constants/modelCompareData/data/products/ucgMax.mjs +1 -1
  172. package/lib/constants/modelCompareData/data/products/ucgUltra.js +1 -1
  173. package/lib/constants/modelCompareData/data/products/ucgUltra.mjs +1 -1
  174. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"CompareTable.styles.mjs","sources":["../../../../src/components/ModelCompareV4/CompareTable/CompareTable.styles.tsx"],"sourcesContent":["import styled, { createGlobalStyle, css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../../Badge\";\nimport { Button as ButtonBase } from \"../../Button\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport { StickyGridItem } from \"./CompareTableMarkup/components/StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\nexport const SPOTLIGHT_Z_INDEX = -1;\n\nexport const TOOLTIP_CLASS_NAME = `model-compare-tooltip`;\nexport const PRODUCT_HEADER_TOOLTIP_CLASSNAME =\n \"model-compare-product-header-tooltip\";\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HEADER_GRID_ITEM_Y_PADDING = 16;\n\nexport const HEADER_GRID_ITEM_GAP_DESKTOP = 24;\nexport const HEADER_GRID_ITEM_GAP_MOBILE = 12;\n\nexport const ProductHeaderTooltipStyles = createGlobalStyle`\n .${PRODUCT_HEADER_TOOLTIP_CLASSNAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n width: 175px;\n font-size: 12px;\n line-height: 16px;\n font-weight: 700;\n padding: 10px 20px;\n margin-top: -1.5px;\n background: white;\n text-align: center;\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n background: white;\n }\n }\n`;\n\n// This expands the hoverable area of the tooltip so users can move their mouse casually to the tooltip\nexport const ProductHeaderTooltipHoverArea = styled.div<{\n $width: number | undefined;\n $tooltipIsPositionedTop: boolean;\n}>`\n position: absolute;\n ${({ $tooltipIsPositionedTop }) =>\n $tooltipIsPositionedTop\n ? css`\n bottom: 0;\n `\n : css`\n top: 0;\n `}\n bottom: 0;\n right: 50%;\n transform: translateX(50%);\n width: ${({ $width }) => $width ?? 175}px;\n height: 40px;\n`;\n\nexport const ProductHeaderTooltipLink = styled.a`\n color: ${theme.colors.primaryBlue};\n\n &:hover {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const SPOTLIGHT_BORDER_WIDTH = 4;\n\nexport const Spotlight = styled.div<{\n $spotlightDimensions: { width: number; height: number };\n $columnCoordinates: { x: number; y: number };\n}>`\n ${({ $spotlightDimensions, $columnCoordinates }) =>\n $spotlightDimensions &&\n $columnCoordinates &&\n css`\n width: ${$spotlightDimensions.width}px;\n height: ${$spotlightDimensions.height}px;\n position: absolute;\n top: ${$columnCoordinates.y}px;\n left: ${$columnCoordinates.x}px;\n z-index: ${SPOTLIGHT_Z_INDEX};\n border-radius: 8px;\n border: ${SPOTLIGHT_BORDER_WIDTH}px solid transparent;\n background:\n linear-gradient(#f2f8ff, #f2f8ff) padding-box,\n linear-gradient(96deg, #338cff 0.54%, #6bd2fd 100%) border-box;\n background-clip: padding-box, border-box;\n pointer-events: none;\n `}\n`;\n\nexport const SpotlightCover = styled.div<{\n $spotlightDimensions: { width: number; height: number };\n $columnCoordinates: { x: number; y: number };\n $coverWidth: number;\n $isRightCover?: boolean;\n $isSmallScreen: boolean;\n}>`\n ${({ $spotlightDimensions, $columnCoordinates, $coverWidth }) =>\n $spotlightDimensions &&\n $columnCoordinates &&\n $coverWidth &&\n css`\n width: ${$coverWidth}px;\n height: ${$spotlightDimensions}px;\n position: absolute;\n left: 0;\n top: ${$columnCoordinates.y}px;\n background: white;\n `}\n\n ${({ $isRightCover, $spotlightDimensions, $coverWidth }) =>\n $isRightCover &&\n css`\n left: ${$spotlightDimensions.width + $coverWidth}px;\n `}\n\n display: none;\n\n ${({ $isSmallScreen }) =>\n $isSmallScreen &&\n css`\n display: block;\n `}\n`;\n\nconst NDAA_BADGE_WIDTH = 144;\nconst NDAA_BADGE_HEIGHT = 32;\n\nconst HALF_BADGE_WIDTH = NDAA_BADGE_WIDTH / 2;\nconst HALF_BADGE_HEIGHT = NDAA_BADGE_HEIGHT / 2;\n\nexport const NDAABadge = styled.img<{\n $columnCoordinates: { x: number; y: number };\n $spotlightWidth: number;\n}>`\n display: flex;\n position: absolute;\n width: ${NDAA_BADGE_WIDTH}px;\n height: ${NDAA_BADGE_HEIGHT}px;\n top: ${({ $columnCoordinates }) =>\n $columnCoordinates.y - HALF_BADGE_HEIGHT}px;\n left: ${({ $columnCoordinates, $spotlightWidth }) =>\n $columnCoordinates.x + $spotlightWidth / 2 - HALF_BADGE_WIDTH}px;\n z-index: 50;\n`;\n\nexport const HeaderGridItem = styled(StickyGridItem)<{\n $hasTransparentBackground?: boolean;\n}>`\n background: ${({ $hasTransparentBackground }) =>\n $hasTransparentBackground ? \"transparent\" : theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: ${HEADER_GRID_ITEM_Y_PADDING}px 0;\n gap: ${HEADER_GRID_ITEM_GAP_DESKTOP}px;\n position: relative;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n gap: ${HEADER_GRID_ITEM_GAP_MOBILE}px;\n /* Need this padding-top so sticky offset looks good on mobile */\n padding: 25px 0 0;\n }\n`;\n\nexport const EmptyHeaderGridItem = styled(HeaderGridItem)`\n align-items: center;\n justify-content: center;\n`;\n\nexport const EmptyHeaderEmptyProductDescription = styled.div<{\n $headerItemsAreSticking: boolean;\n}>`\n width: 100%;\n height: 100%;\n\n ${({ $headerItemsAreSticking }) =>\n $headerItemsAreSticking &&\n css`\n display: none;\n `}\n`;\n\nexport const HeaderGridItemContainer = styled.div<{ $isStuck: boolean }>`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n`;\n\nexport const RemoveProductButton = styled.button<{ $isSmallScreen: boolean }>`\n position: absolute;\n top: 25px;\n right: 25px;\n background: transparent;\n border: none;\n padding: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 30px;\n color: #c2c6cb;\n\n ${({ $isSmallScreen }) =>\n $isSmallScreen &&\n css`\n top: 0;\n right: 4%;\n `}\n`;\n\nexport const ProductMeta = styled.div`\n position: relative;\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n &::before {\n display: none;\n }\n &::after {\n display: none;\n }\n }\n`;\n\nconst productTitleStyles = css`\n font-size: 16px;\n font-weight: 700;\n line-height: normal;\n letter-spacing: -0.32px;\n`;\n\nexport const ProductTitle = styled.div<{ $isMigrationTable: boolean }>`\n ${productTitleStyles}\n\n color: ${({ $isMigrationTable }) =>\n $isMigrationTable ? \"#808893\" : `${theme.colors.black}`};\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 14px;\n }\n`;\n\nexport const ProductTitleLink = styled.button`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n border: none;\n background: transparent;\n\n :focus,\n :hover {\n text-decoration: none;\n }\n\n :focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 14px;\n font-weight: 400;\n line-height: normal;\n margin-top: 6px;\n letter-spacing: -0.24px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n margin: 4px auto 12px;\n font-size: 12px;\n }\n`;\n\nexport const SelectFromAboveIsStuckContainer = styled.div<{\n $isStuck: boolean;\n}>`\n display: none;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n align-items: center;\n\n ${({ $isStuck }) =>\n $isStuck &&\n css`\n display: flex;\n `}\n`;\n\nexport const SelectFromAboveIsStuck = styled(ProductDescription)`\n margin: 0;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin: 10px 0 20px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px 16px 16px 8px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n color: ${theme.colors.black65};\n line-height: 16.8px;\n letter-spacing: -0.28px;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 12px;\n line-height: 14px;\n }\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const SelectFromAboveIconCopyContainer = styled.div<{\n $isStuck: boolean;\n}>`\n display: flex;\n flex-direction: column;\n align-items: center;\n opacity: 1;\n\n ${({ $isStuck }) =>\n $isStuck &&\n css`\n opacity: 0;\n `}\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n -webkit-user-drag: none;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltipHoverArea = styled.div`\n position: absolute;\n height: 35px;\n width: 35px;\n top: 50%;\n transform: translateY(-50%);\n`;\n\nexport const PropertyTooltip = styled.div`\n position: relative;\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: ${theme.colors.black85};\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n :focus,\n :hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)<{ $removePointerEvents: boolean }>`\n ${buttonStyles};\n\n ${({ $removePointerEvents }) =>\n $removePointerEvents &&\n css`\n pointer-events: none;\n `}\n`;\n\n// TODO: remove if not used anywhere else in store.core\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n\n cursor: default;\n color: #445178;\n\n :focus,\n :hover {\n color: #445178;\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 10px 10px;\n text-wrap: pretty;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n\nexport const TooltipStyles = createGlobalStyle<{ maxWidth?: number }>`\n .${TOOLTIP_CLASS_NAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n max-width: ${({ maxWidth }) => maxWidth ?? 200}px;\n font-size: 12px;\n line-height: 16px;\n font-weight: 400;\n padding: 8px 16px;\n margin-top: -1.5px;\n background: ${theme.colors.white};\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n background: ${theme.colors.white};\n }\n }\n`;\n\nexport const CompanyLogoWrapper = styled.div`\n align-self: center;\n align-content: flex-end;\n min-height: 28px;\n`;\n\nexport const Container = styled.div<{ $isMigrationTable: boolean }>`\n display: flex;\n flex-direction: column;\n gap: 31px;\n background-color: ${({ $isMigrationTable }) =>\n $isMigrationTable ? `transparent` : \"#fff\"};\n`;\n\nexport const OpacityTransitionContainer = styled.div<{\n $isStaticTable: boolean;\n $hasBeenObserved: boolean;\n}>`\n ${({ $isStaticTable }) =>\n $isStaticTable &&\n css`\n opacity: 0;\n transition: opacity 300ms;\n `}\n\n ${({ $isStaticTable, $hasBeenObserved }) =>\n $isStaticTable &&\n $hasBeenObserved &&\n css`\n opacity: 1;\n `}\n`;\n"],"names":["MOBILE_BREAKPOINT","SPOTLIGHT_Z_INDEX","TOOLTIP_CLASS_NAME","PRODUCT_HEADER_TOOLTIP_CLASSNAME","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HEADER_GRID_ITEM_Y_PADDING","HEADER_GRID_ITEM_GAP_DESKTOP","HEADER_GRID_ITEM_GAP_MOBILE","ProductHeaderTooltipStyles","createGlobalStyle","ProductHeaderTooltipHoverArea","div","$tooltipIsPositionedTop","css","$width","ProductHeaderTooltipLink","a","primaryBlue","SPOTLIGHT_BORDER_WIDTH","Spotlight","$spotlightDimensions","$columnCoordinates","width","height","y","x","SpotlightCover","$coverWidth","$isRightCover","$isSmallScreen","NDAA_BADGE_WIDTH","NDAA_BADGE_HEIGHT","HALF_BADGE_WIDTH","HALF_BADGE_HEIGHT","NDAABadge","img","$spotlightWidth","HeaderGridItem","$hasTransparentBackground","BREAKPOINTS","MOBILE_AND_DOWN","EmptyHeaderGridItem","EmptyHeaderEmptyProductDescription","$headerItemsAreSticking","HeaderGridItemContainer","RemoveProductButton","button","ProductMeta","productTitleStyles","ProductTitle","$isMigrationTable","black","ProductTitleLink","ProductDescription","black65","$maxWidth","$direction","SelectFromAboveIsStuckContainer","$isStuck","SelectFromAboveIsStuck","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","SelectFromAboveIconCopyContainer","ProductImage","ProductImageWrap","PropertyTooltipHoverArea","PropertyTooltip","PropertyTooltipContent","black85","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","ButtonBase","$removePointerEvents","ComingSoon","NotesWrap","Note","FootnotesWrap","Footnote","KitIncluded","TooltipStyles","maxWidth","CompanyLogoWrapper","Container","OpacityTransitionContainer","$isStaticTable","$hasBeenObserved"],"mappings":";;;;;;;;;;;;AAUO,MAAMA,iBAAoB,GAAA,GAAA;AAC1B,MAAMC,iBAAoB,GAAA,CAAA,CAAA;AAE1B,MAAMC,kBAAqB,GAAA,uBAAA;AAC3B,MAAMC,gCACX,GAAA,sCAAA;AAEW,MAAAC,mBAAA,GAAsBC,OAAOC,cAAc,CAAA;AAAA,gBACxCC,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIrB,MAAAC,yBAAA,GAA4BL,OAAOC,cAAc,CAAA,EAAA;AAEvD,MAAMK,0BAA6B,GAAA,EAAA;AAEnC,MAAMC,4BAA+B,GAAA,EAAA;AACrC,MAAMC,2BAA8B,GAAA,EAAA;AAEpC,MAAMC,0BAA6B,GAAAC,iBAAA;AAAA,KACrCZ,gCAAgC;AA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AGC;;AAAA,IAED,CAAC;EAAEwF,cAAA;EAAgBC;AAAiB,CAAA,KACpCD,kBACAC,gBACA,IAAAzF,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;"}
1
+ {"version":3,"file":"CompareTable.styles.mjs","sources":["../../../../src/components/ModelCompareV4/CompareTable/CompareTable.styles.tsx"],"sourcesContent":["import styled, { createGlobalStyle, css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../../Badge\";\nimport { Button as ButtonBase } from \"../../Button\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\nimport { StickyGridItem } from \"./CompareTableMarkup/components/StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\nexport const SPOTLIGHT_Z_INDEX = -1;\n\nexport const TOOLTIP_CLASS_NAME = `model-compare-tooltip`;\nexport const PRODUCT_HEADER_TOOLTIP_CLASSNAME =\n \"model-compare-product-header-tooltip\";\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HEADER_GRID_ITEM_Y_PADDING = 16;\n\nexport const HEADER_GRID_ITEM_GAP_DESKTOP = 24;\nexport const HEADER_GRID_ITEM_GAP_MOBILE = 12;\n\nexport const ProductHeaderTooltipStyles = createGlobalStyle`\n .${PRODUCT_HEADER_TOOLTIP_CLASSNAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n width: 175px;\n font-size: 12px;\n line-height: 16px;\n font-weight: 700;\n padding: 10px 20px;\n margin-top: -1.5px;\n background: white;\n text-align: center;\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n background: white;\n }\n }\n`;\n\n// This expands the hoverable area of the tooltip so users can move their mouse casually to the tooltip\nexport const ProductHeaderTooltipHoverArea = styled.div<{\n $width: number | undefined;\n $tooltipIsPositionedTop: boolean;\n}>`\n position: absolute;\n ${({ $tooltipIsPositionedTop }) =>\n $tooltipIsPositionedTop\n ? css`\n bottom: 0;\n `\n : css`\n top: 0;\n `}\n bottom: 0;\n right: 50%;\n transform: translateX(50%);\n width: ${({ $width }) => $width ?? 175}px;\n height: 40px;\n`;\n\nexport const ProductHeaderTooltipLink = styled.a`\n color: ${theme.colors.primaryBlue};\n\n &:hover {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const SPOTLIGHT_BORDER_WIDTH = 4;\n\nexport const Spotlight = styled.div<{\n $spotlightDimensions: { width: number; height: number };\n $columnCoordinates: { x: number; y: number };\n}>`\n ${({ $spotlightDimensions, $columnCoordinates }) =>\n $spotlightDimensions &&\n $columnCoordinates &&\n css`\n width: ${$spotlightDimensions.width}px;\n height: ${$spotlightDimensions.height}px;\n position: absolute;\n top: ${$columnCoordinates.y}px;\n left: ${$columnCoordinates.x}px;\n z-index: ${SPOTLIGHT_Z_INDEX};\n border-radius: 8px;\n border: ${SPOTLIGHT_BORDER_WIDTH}px solid transparent;\n background:\n linear-gradient(#f2f8ff, #f2f8ff) padding-box,\n linear-gradient(96deg, #338cff 0.54%, #6bd2fd 100%) border-box;\n background-clip: padding-box, border-box;\n pointer-events: none;\n `}\n`;\n\nexport const SpotlightCover = styled.div<{\n $spotlightDimensions: { width: number; height: number };\n $columnCoordinates: { x: number; y: number };\n $coverWidth: number;\n $isRightCover?: boolean;\n $isSmallScreen: boolean;\n}>`\n ${({ $spotlightDimensions, $columnCoordinates, $coverWidth }) =>\n $spotlightDimensions &&\n $columnCoordinates &&\n $coverWidth &&\n css`\n width: ${$coverWidth}px;\n height: ${$spotlightDimensions}px;\n position: absolute;\n left: 0;\n top: ${$columnCoordinates.y}px;\n background: white;\n `}\n\n ${({ $isRightCover, $spotlightDimensions, $coverWidth }) =>\n $isRightCover &&\n css`\n left: ${$spotlightDimensions.width + $coverWidth}px;\n `}\n\n display: none;\n\n ${({ $isSmallScreen }) =>\n $isSmallScreen &&\n css`\n display: block;\n `}\n`;\n\nconst NDAA_BADGE_WIDTH = 144;\nconst NDAA_BADGE_HEIGHT = 32;\n\nconst HALF_BADGE_WIDTH = NDAA_BADGE_WIDTH / 2;\nconst HALF_BADGE_HEIGHT = NDAA_BADGE_HEIGHT / 2;\n\nexport const NDAABadge = styled.img<{\n $columnCoordinates: { x: number; y: number };\n $spotlightWidth: number;\n}>`\n display: flex;\n position: absolute;\n width: ${NDAA_BADGE_WIDTH}px;\n height: ${NDAA_BADGE_HEIGHT}px;\n top: ${({ $columnCoordinates }) =>\n $columnCoordinates.y - HALF_BADGE_HEIGHT}px;\n left: ${({ $columnCoordinates, $spotlightWidth }) =>\n $columnCoordinates.x + $spotlightWidth / 2 - HALF_BADGE_WIDTH}px;\n z-index: 50;\n`;\n\nexport const HeaderGridItem = styled(StickyGridItem)<{\n $hasTransparentBackground?: boolean;\n}>`\n background: ${({ $hasTransparentBackground }) =>\n $hasTransparentBackground ? \"transparent\" : theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: ${HEADER_GRID_ITEM_Y_PADDING}px 0;\n gap: ${HEADER_GRID_ITEM_GAP_DESKTOP}px;\n position: relative;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n gap: ${HEADER_GRID_ITEM_GAP_MOBILE}px;\n /* Need this padding-top so sticky offset looks good on mobile */\n padding: 25px 0 0;\n }\n`;\n\nexport const EmptyHeaderGridItem = styled(HeaderGridItem)`\n align-items: center;\n justify-content: center;\n`;\n\nexport const EmptyHeaderEmptyProductDescription = styled.div<{\n $headerItemsAreSticking: boolean;\n}>`\n width: 100%;\n height: 100%;\n\n ${({ $headerItemsAreSticking }) =>\n $headerItemsAreSticking &&\n css`\n display: none;\n `}\n`;\n\nexport const HeaderGridItemContainer = styled.div<{ $isStuck: boolean }>`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n`;\n\nexport const RemoveProductButton = styled.button<{ $isSmallScreen: boolean }>`\n position: absolute;\n top: 25px;\n right: 25px;\n background: transparent;\n border: none;\n padding: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 30px;\n color: #c2c6cb;\n\n ${({ $isSmallScreen }) =>\n $isSmallScreen &&\n css`\n top: 0;\n right: 4%;\n `}\n`;\n\nexport const ProductMeta = styled.div`\n position: relative;\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n &::before {\n display: none;\n }\n &::after {\n display: none;\n }\n }\n`;\n\nconst productTitleStyles = css`\n font-size: 16px;\n font-weight: 700;\n line-height: normal;\n letter-spacing: -0.32px;\n`;\n\nexport const ProductTitle = styled.div<{ $isMigrationTable: boolean }>`\n ${productTitleStyles}\n\n color: ${({ $isMigrationTable }) =>\n $isMigrationTable ? \"#808893\" : `${theme.colors.black}`};\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 14px;\n }\n`;\n\nexport const ProductTitleLink = styled.button`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n border: none;\n background: transparent;\n\n :focus,\n :hover {\n text-decoration: none;\n }\n\n :focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 14px;\n font-weight: 400;\n line-height: normal;\n margin-top: 6px;\n letter-spacing: -0.24px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n margin: 4px auto 12px;\n font-size: 12px;\n }\n`;\n\nexport const SelectFromAboveIsStuckContainer = styled.div<{\n $isStuck: boolean;\n}>`\n display: none;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n align-items: center;\n\n ${({ $isStuck }) =>\n $isStuck &&\n css`\n display: flex;\n `}\n`;\n\nexport const SelectFromAboveIsStuck = styled(ProductDescription)`\n margin: 0;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin: 10px 0 20px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px 16px 16px 8px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n color: ${theme.colors.black65};\n line-height: 16.8px;\n letter-spacing: -0.28px;\n\n @media ${BREAKPOINTS.MOBILE_AND_DOWN} {\n font-size: 12px;\n line-height: 14px;\n }\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const SelectFromAboveIconCopyContainer = styled.div<{\n $isStuck: boolean;\n}>`\n display: flex;\n flex-direction: column;\n align-items: center;\n opacity: 1;\n\n ${({ $isStuck }) =>\n $isStuck &&\n css`\n opacity: 0;\n `}\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n -webkit-user-drag: none;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltipHoverArea = styled.div`\n position: absolute;\n height: 35px;\n width: 35px;\n top: 50%;\n transform: translateY(-50%);\n`;\n\nexport const PropertyTooltip = styled.div`\n position: relative;\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: ${theme.colors.black85};\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n :focus,\n :hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)<{ $removePointerEvents: boolean }>`\n ${buttonStyles};\n\n ${({ $removePointerEvents }) =>\n $removePointerEvents &&\n css`\n pointer-events: none;\n `}\n`;\n\n// TODO: remove if not used anywhere else in store.core\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n\n cursor: default;\n color: #445178;\n\n :focus,\n :hover {\n color: #445178;\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 10px 10px;\n text-wrap: pretty;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n\nexport const TooltipStyles = createGlobalStyle<{ maxWidth?: number }>`\n .${TOOLTIP_CLASS_NAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n max-width: ${({ maxWidth }) => maxWidth ?? 200}px;\n font-size: 12px;\n line-height: 16px;\n font-weight: 400;\n padding: 8px 16px;\n margin-top: -1.5px;\n background: ${theme.colors.white};\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n background: ${theme.colors.white};\n }\n }\n`;\n\nexport const CompanyLogoWrapper = styled.div`\n align-self: center;\n align-content: flex-end;\n min-height: 28px;\n`;\n\nexport const Container = styled.div<{ $isMigrationTable: boolean }>`\n display: flex;\n flex-direction: column;\n gap: 31px;\n background-color: ${({ $isMigrationTable }) =>\n $isMigrationTable ? `transparent` : \"#fff\"};\n`;\n"],"names":["MOBILE_BREAKPOINT","SPOTLIGHT_Z_INDEX","TOOLTIP_CLASS_NAME","PRODUCT_HEADER_TOOLTIP_CLASSNAME","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HEADER_GRID_ITEM_Y_PADDING","HEADER_GRID_ITEM_GAP_DESKTOP","HEADER_GRID_ITEM_GAP_MOBILE","ProductHeaderTooltipStyles","createGlobalStyle","ProductHeaderTooltipHoverArea","div","$tooltipIsPositionedTop","css","$width","ProductHeaderTooltipLink","a","primaryBlue","SPOTLIGHT_BORDER_WIDTH","Spotlight","$spotlightDimensions","$columnCoordinates","width","height","y","x","SpotlightCover","$coverWidth","$isRightCover","$isSmallScreen","NDAA_BADGE_WIDTH","NDAA_BADGE_HEIGHT","HALF_BADGE_WIDTH","HALF_BADGE_HEIGHT","NDAABadge","img","$spotlightWidth","HeaderGridItem","$hasTransparentBackground","BREAKPOINTS","MOBILE_AND_DOWN","EmptyHeaderGridItem","EmptyHeaderEmptyProductDescription","$headerItemsAreSticking","HeaderGridItemContainer","RemoveProductButton","button","ProductMeta","productTitleStyles","ProductTitle","$isMigrationTable","black","ProductTitleLink","ProductDescription","black65","$maxWidth","$direction","SelectFromAboveIsStuckContainer","$isStuck","SelectFromAboveIsStuck","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","SelectFromAboveIconCopyContainer","ProductImage","ProductImageWrap","PropertyTooltipHoverArea","PropertyTooltip","PropertyTooltipContent","black85","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","ButtonBase","$removePointerEvents","ComingSoon","NotesWrap","Note","FootnotesWrap","Footnote","KitIncluded","TooltipStyles","maxWidth","CompanyLogoWrapper","Container"],"mappings":";;;;;;;;;;;;AAUO,MAAMA,iBAAoB,GAAA,GAAA;AAC1B,MAAMC,iBAAoB,GAAA,CAAA,CAAA;AAE1B,MAAMC,kBAAqB,GAAA,uBAAA;AAC3B,MAAMC,gCACX,GAAA,sCAAA;AAEW,MAAAC,mBAAA,GAAsBC,OAAOC,cAAc,CAAA;AAAA,gBACxCC,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIrB,MAAAC,yBAAA,GAA4BL,OAAOC,cAAc,CAAA,EAAA;AAEvD,MAAMK,0BAA6B,GAAA,EAAA;AAEnC,MAAMC,4BAA+B,GAAA,EAAA;AACrC,MAAMC,2BAA8B,GAAA,EAAA;AAEpC,MAAMC,0BAA6B,GAAAC,iBAAA;AAAA,KACrCZ,gCAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAmB9B,MAAMa,gCAAgCX,MAAO,CAAAY,GAAA;AAAA;AAAA,IAKhD,CAAC;EAAEC;CAAwB,KAC3BA,uBACI,GAAAC,GAAA;AAAA;AAAA,SAGA,GAAAA,GAAA;AAAA;AAAA,SAEC;AAAA;AAAA;AAAA;AAAA,WAIE,CAAC;EAAEC;CAAO,KAAMA,UAAU,GAAG;AAAA;AAAA,CAAA;AAIjC,MAAMC,2BAA2BhB,MAAO,CA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AW/F,MAAO,CAAAY,GAAA;AAAA;AAAA,iBAEd,KAAK,EAAE;AAAA,WACbV,KAAA,CAAMC,OAAO2D,OAAO;AAAA;AAAA,CAAA;AAIxB,MAAMkC,cAAchG,MAAO,CAAAY,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAKvBV,KAAA,CAAMC,OAAOoD,OAAO;AAAA,CAAA;AAGxB,MAAM0C,aAAgB,GAAAvF,iBAAA;AAAA,KACxBb,kBAAkB;AAAA;AAAA,iBAEN,CAAC;EAAEqG;CAAS,KAAMA,YAAY,GAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAMhChG,KAAA,CAAMC,OAAOC,KAAK;;AAAA;AAAA;AAAA,oBAIhBF,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA;AAAA,CAAA;AAK/B,MAAM+F,qBAAqBnG,MAAO,CAAAY,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMlC,MAAMwF,YAAYpG,MAAO,CAAAY,GAAA;AAAA;AAAA;AAAA;AAAA,sBAIV,CAAC;EAAEuC;AACrB,CAAA,KAAAA,iBAAA,GAAoB,gBAAgB,MAAM;AAAA,CAAA;"}
@@ -157,201 +157,199 @@ const CompareTableMarkup = ({
157
157
  }
158
158
  return () => {};
159
159
  }, [isMigrationTable, isSmallScreen, isMigrationTableMobileVersion]);
160
+ const greatestProductHeaderHeight = isMigrationTable ? Math.max(...productHeaderRefs.current.map(header => header?.getBoundingClientRect().height).filter(height => typeof height === "number")) : void 0;
160
161
  return (
161
162
  // APPLY left to right override in all cases rather than redo the model compare for Arabic
162
163
  /* @__PURE__ */
163
164
  jsxRuntime.jsx("section", {
164
165
  dir: utils.LanguageDirectionType.ltr,
165
- children: /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.OpacityTransitionContainer, {
166
- $hasBeenObserved: hasBeenObserved,
167
- $isStaticTable: isStaticTable,
168
- children: /* @__PURE__ */jsxRuntime.jsxs(StickyGrid.StickyGrid, {
169
- templateColumns,
170
- children: [/* @__PURE__ */jsxRuntime.jsxs(StickyGridHeader.StickyGridHeader, {
171
- removePositionSticky: isMigrationTable,
172
- stickOffset,
173
- onStickyStateChange: setHeaderItemsAreSticking,
174
- nonScrollChildren: ({
175
- grid: {
176
- isAtMinX
177
- },
178
- isStuck
179
- }) => {
180
- if (!isMigrationTable) return /* @__PURE__ */jsxRuntime.jsx(HeaderShadow.HeaderShadow, {
181
- leftColumnWidth,
182
- shadowLeftColumn: isAtMinX,
183
- show: isStuck
184
- });
185
- return null;
166
+ children: /* @__PURE__ */jsxRuntime.jsxs(StickyGrid.StickyGrid, {
167
+ templateColumns,
168
+ children: [/* @__PURE__ */jsxRuntime.jsxs(StickyGridHeader.StickyGridHeader, {
169
+ removePositionSticky: isMigrationTable,
170
+ stickOffset,
171
+ greatestHeaderHeight: greatestProductHeaderHeight,
172
+ onStickyStateChange: setHeaderItemsAreSticking,
173
+ nonScrollChildren: ({
174
+ grid: {
175
+ isAtMinX
186
176
  },
187
- children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PlaceholderGridItem, {
188
- stickX: !isMigrationTable
189
- }), products.map((product, index) => {
190
- const headerElement = productHeaderRefs.current[index];
191
- const gridBodyElement = gridBodyRef.current;
192
- const headerRect = headerElement?.getBoundingClientRect();
193
- const gridBodyRect = gridBodyElement?.getBoundingClientRect();
194
- const greatestProductHeaderHeight = Math.max(...productHeaderRefs.current.map(header => header?.getBoundingClientRect().height).filter(height => typeof height === "number"));
195
- const sharedSpotlightValues = {
196
- $isSmallScreen: isMigrationTableMobileVersion,
197
- $coverWidth: (document.documentElement.clientWidth - (headerRect?.width ?? 0)) / 2,
198
- $columnCoordinates: {
199
- x: columnPositions[index]?.left ?? 0,
200
- y: columnPositions[index]?.top ?? 0
201
- },
202
- $spotlightDimensions: {
203
- width: headerRect?.width ?? 0,
204
- height: greatestProductHeaderHeight + (gridBodyRect?.height ?? 0)
205
- }
206
- };
207
- return product.propertyValues.length ? /* @__PURE__ */jsxRuntime.jsxs(CompareTable_styles.Container, {
208
- $isMigrationTable: isMigrationTable,
209
- children: [isMigrationTable && /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.CompanyLogoWrapper, {
210
- children: /* @__PURE__ */jsxRuntime.jsx(CompanyLogo.CompanyLogo, {
211
- company: product.competitorCompany
212
- })
213
- }), isMigrationTable && reactDom.createPortal(headerElement && gridBodyElement && product.isSpotlit ? /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
214
- children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.SpotlightCover, {
215
- ...sharedSpotlightValues
216
- }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.SpotlightCover, {
217
- $isRightCover: true,
218
- ...sharedSpotlightValues
219
- }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.NDAABadge, {
220
- src: ndaaBadge__default["default"],
221
- alt: `The ${formatMessage(product.title)} is NDAA Compliant`,
222
- $columnCoordinates: sharedSpotlightValues.$columnCoordinates,
223
- $spotlightWidth: sharedSpotlightValues.$spotlightDimensions.width
224
- }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.Spotlight, {
225
- $spotlightDimensions: sharedSpotlightValues.$spotlightDimensions,
226
- $columnCoordinates: sharedSpotlightValues.$columnCoordinates
227
- })]
228
- }) : null, document.body), /* @__PURE__ */jsxRuntime.jsx(ProductHeader.ProductHeader, {
229
- ref: el => productHeaderRefs.current[index] = el,
230
- isStaticProduct: isStaticTable || !isOverviewPage && index === 0,
231
- product,
232
- setSelectedProducts,
233
- index,
234
- setExternalState,
235
- selectedProducts,
236
- linkToStoreTitleClick,
237
- hasBeenObserved,
238
- isLessThanOrEqualToFiveProducts,
239
- hasMultipleProductsSelected,
240
- isSmallScreen: isSmallScreen || isMigrationTableMobileVersion,
241
- onLinkClick,
242
- showBadges,
243
- isMigrationTable
244
- }, `${product.id}-${index}`)]
245
- }, `${product.id}-${index}`) : /* @__PURE__ */jsxRuntime.jsx(EmptyColumnHeader.EmptyColumnHeader, {
177
+ isStuck
178
+ }) => {
179
+ if (!isMigrationTable) return /* @__PURE__ */jsxRuntime.jsx(HeaderShadow.HeaderShadow, {
180
+ leftColumnWidth,
181
+ shadowLeftColumn: isAtMinX,
182
+ show: isStuck
183
+ });
184
+ return null;
185
+ },
186
+ children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PlaceholderGridItem, {
187
+ stickX: !isMigrationTable
188
+ }), products.map((product, index) => {
189
+ const headerElement = productHeaderRefs.current[index];
190
+ const gridBodyElement = gridBodyRef.current;
191
+ const headerRect = headerElement?.getBoundingClientRect();
192
+ const gridBodyRect = gridBodyElement?.getBoundingClientRect();
193
+ const greatestProductHeaderHeight2 = Math.max(...productHeaderRefs.current.map(header => header?.getBoundingClientRect().height).filter(height => typeof height === "number"));
194
+ const sharedSpotlightValues = {
195
+ $isSmallScreen: isMigrationTableMobileVersion,
196
+ $coverWidth: (document.documentElement.clientWidth - (headerRect?.width ?? 0)) / 2,
197
+ $columnCoordinates: {
198
+ x: columnPositions[index]?.left ?? 0,
199
+ y: columnPositions[index]?.top ?? 0
200
+ },
201
+ $spotlightDimensions: {
202
+ width: headerRect?.width ?? 0,
203
+ height: greatestProductHeaderHeight2 + (gridBodyRect?.height ?? 0)
204
+ }
205
+ };
206
+ return product.propertyValues.length ? /* @__PURE__ */jsxRuntime.jsxs(CompareTable_styles.Container, {
207
+ $isMigrationTable: isMigrationTable,
208
+ children: [isMigrationTable && /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.CompanyLogoWrapper, {
209
+ children: /* @__PURE__ */jsxRuntime.jsx(CompanyLogo.CompanyLogo, {
210
+ company: product.competitorCompany
211
+ })
212
+ }), isMigrationTable && reactDom.createPortal(headerElement && gridBodyElement && product.isSpotlit ? /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
213
+ children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.SpotlightCover, {
214
+ ...sharedSpotlightValues
215
+ }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.SpotlightCover, {
216
+ $isRightCover: true,
217
+ ...sharedSpotlightValues
218
+ }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.NDAABadge, {
219
+ src: ndaaBadge__default["default"],
220
+ alt: `The ${formatMessage(product.title)} is NDAA Compliant`,
221
+ $columnCoordinates: sharedSpotlightValues.$columnCoordinates,
222
+ $spotlightWidth: sharedSpotlightValues.$spotlightDimensions.width
223
+ }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.Spotlight, {
224
+ $spotlightDimensions: sharedSpotlightValues.$spotlightDimensions,
225
+ $columnCoordinates: sharedSpotlightValues.$columnCoordinates
226
+ })]
227
+ }) : null, document.body), /* @__PURE__ */jsxRuntime.jsx(ProductHeader.ProductHeader, {
228
+ ref: el => productHeaderRefs.current[index] = el,
229
+ isStaticProduct: isStaticTable || !isOverviewPage && index === 0,
246
230
  product,
231
+ setSelectedProducts,
247
232
  index,
233
+ setExternalState,
234
+ selectedProducts,
235
+ linkToStoreTitleClick,
248
236
  hasBeenObserved,
249
- maxImageHeight,
250
- headerItemsAreSticking
251
- }, `${product.id}-${index}`);
252
- })]
253
- }), /* @__PURE__ */jsxRuntime.jsxs(StickyGridBody.StickyGridBody, {
254
- ref: gridBodyRef,
255
- children: [properties.map(property => /* @__PURE__ */jsxRuntime.jsxs(React.Fragment, {
256
- children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyTitleGridItem, {
257
- stickX: !isMigrationTable,
258
- children: !!leftColumnWidth && /* @__PURE__ */jsxRuntime.jsxs(CompareTable_styles.PropertyTitleGridItemContent, {
259
- children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyIcon, {
260
- children: /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
261
- width: 30,
262
- height: 30,
263
- src: property.icon
264
- })
265
- }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyTitle, {
266
- children: property.title.split("\n").map((part, i, arr) => /* @__PURE__ */jsxRuntime.jsxs(React.Fragment, {
267
- children: [part, i < arr.length - 1 && /* @__PURE__ */jsxRuntime.jsx("br", {})]
268
- }, i))
269
- }), property.tooltip && /* @__PURE__ */jsxRuntime.jsxs(CompareTable_styles.PropertyTooltip, {
270
- children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.TooltipStyles, {
271
- maxWidth: property.tooltipWidth
272
- }), /* @__PURE__ */jsxRuntime.jsxs(Tooltip.Tooltip, {
273
- tooltipClassName: CompareTable_styles.TOOLTIP_CLASS_NAME,
274
- description: /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyTooltipContent, {
275
- dangerouslySetInnerHTML: {
276
- __html: property.tooltip
277
- }
278
- }),
279
- portal: true,
280
- motif: "dark",
281
- isInteractive: true,
282
- position: "right",
283
- width: property.tooltipWidth,
284
- children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyTooltipHoverArea, {}), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.TooltipIcon, {
285
- width: 20,
286
- height: 20,
287
- src: tooltipIcon__default["default"]
288
- })]
289
- })]
290
- })]
291
- })
292
- }), products.map((product, index) => {
293
- const isLastProduct = index === products.length - 1;
294
- const productProperty = product.propertyValues?.find(product2 => product2.propertyId === property.id);
295
- return /* @__PURE__ */jsxRuntime.jsx(PropertyValueGridItem.PropertyValueGridItem, {
296
- isLastProduct,
297
- productProperty,
298
- property,
299
- includeProperty: isSmallScreen || isMigrationTableMobileVersion,
300
- index,
301
- isMigrationTable,
302
- isSpotlightProduct: !!product.isSpotlit
303
- }, `${product.id}-${index}`);
304
- })]
305
- }, property.id)), hasNotes && /* @__PURE__ */jsxRuntime.jsx(Notes.Notes, {
306
- products
307
- }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.EmptyPropertyTitleGridItem, {
308
- stickX: true
309
- }), products.map((product, index) => renderButton({
237
+ isLessThanOrEqualToFiveProducts,
238
+ hasMultipleProductsSelected,
239
+ isSmallScreen: isSmallScreen || isMigrationTableMobileVersion,
240
+ onLinkClick,
241
+ showBadges,
242
+ isMigrationTable
243
+ }, `${product.id}-${index}`)]
244
+ }, `${product.id}-${index}`) : /* @__PURE__ */jsxRuntime.jsx(EmptyColumnHeader.EmptyColumnHeader, {
310
245
  product,
311
246
  index,
312
- getComingSoonButtonText,
313
- showBuyButton,
314
- onLinkClick
315
- })), hasFootnotes && /* @__PURE__ */jsxRuntime.jsx(FootNotes.FootNotes, {
316
- products
247
+ hasBeenObserved,
248
+ maxImageHeight,
249
+ headerItemsAreSticking
250
+ }, `${product.id}-${index}`);
251
+ })]
252
+ }), /* @__PURE__ */jsxRuntime.jsxs(StickyGridBody.StickyGridBody, {
253
+ ref: gridBodyRef,
254
+ children: [properties.map(property => /* @__PURE__ */jsxRuntime.jsxs(React.Fragment, {
255
+ children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyTitleGridItem, {
256
+ stickX: !isMigrationTable,
257
+ children: !!leftColumnWidth && /* @__PURE__ */jsxRuntime.jsxs(CompareTable_styles.PropertyTitleGridItemContent, {
258
+ children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyIcon, {
259
+ children: /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
260
+ width: 30,
261
+ height: 30,
262
+ src: property.icon
263
+ })
264
+ }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyTitle, {
265
+ children: property.title.split("\n").map((part, i, arr) => /* @__PURE__ */jsxRuntime.jsxs(React.Fragment, {
266
+ children: [part, i < arr.length - 1 && /* @__PURE__ */jsxRuntime.jsx("br", {})]
267
+ }, i))
268
+ }), property.tooltip && /* @__PURE__ */jsxRuntime.jsxs(CompareTable_styles.PropertyTooltip, {
269
+ children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.TooltipStyles, {
270
+ maxWidth: property.tooltipWidth
271
+ }), /* @__PURE__ */jsxRuntime.jsxs(Tooltip.Tooltip, {
272
+ tooltipClassName: CompareTable_styles.TOOLTIP_CLASS_NAME,
273
+ description: /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyTooltipContent, {
274
+ dangerouslySetInnerHTML: {
275
+ __html: property.tooltip
276
+ }
277
+ }),
278
+ portal: true,
279
+ motif: "dark",
280
+ isInteractive: true,
281
+ position: "right",
282
+ width: property.tooltipWidth,
283
+ children: [/* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.PropertyTooltipHoverArea, {}), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.TooltipIcon, {
284
+ width: 20,
285
+ height: 20,
286
+ src: tooltipIcon__default["default"]
287
+ })]
288
+ })]
289
+ })]
290
+ })
291
+ }), products.map((product, index) => {
292
+ const isLastProduct = index === products.length - 1;
293
+ const productProperty = product.propertyValues?.find(product2 => product2.propertyId === property.id);
294
+ return /* @__PURE__ */jsxRuntime.jsx(PropertyValueGridItem.PropertyValueGridItem, {
295
+ isLastProduct,
296
+ productProperty,
297
+ property,
298
+ includeProperty: isSmallScreen || isMigrationTableMobileVersion,
299
+ index,
300
+ isMigrationTable,
301
+ isSpotlightProduct: !!product.isSpotlit
302
+ }, `${product.id}-${index}`);
317
303
  })]
318
- }), /* @__PURE__ */jsxRuntime.jsx(StickyGridOverlay.StickyGridOverlay, {
319
- style: {
320
- left: `${leftColumnWidth}px`
321
- },
322
- topOffset: overlayTopOffset,
323
- children: ({
324
- isAtMinX
325
- }) => /* @__PURE__ */jsxRuntime.jsx(CompareTableOverflowScrollButton.ModelCompareOverflowScrollButton, {
326
- isVisible: !isAtMinX,
327
- color: leftColumnWidth > 0 ? "rgb(23 49 73 / 0.1)" : "white",
328
- rotationDegrees: 180,
329
- onClickColumnDiff: -1,
330
- totalColumns: products.length,
331
- totalDeadSpace: leftColumnWidth,
332
- isSmallScreen: isSmallScreen || isMigrationTableMobileVersion,
333
- isMigrationTable
334
- })
335
- }), /* @__PURE__ */jsxRuntime.jsx(StickyGridOverlay.StickyGridOverlay, {
336
- style: {
337
- right: 0
338
- },
339
- topOffset: overlayTopOffset,
340
- children: ({
341
- isAtMaxX
342
- }) => /* @__PURE__ */jsxRuntime.jsx(CompareTableOverflowScrollButton.ModelCompareOverflowScrollButton, {
343
- isLeftButton: false,
344
- isVisible: !isAtMaxX,
345
- color: "white",
346
- rotationDegrees: 0,
347
- onClickColumnDiff: 1,
348
- totalColumns: products.length,
349
- totalDeadSpace: leftColumnWidth,
350
- isSmallScreen: isSmallScreen || isMigrationTable,
351
- isMigrationTable
352
- })
304
+ }, property.id)), hasNotes && /* @__PURE__ */jsxRuntime.jsx(Notes.Notes, {
305
+ products
306
+ }), /* @__PURE__ */jsxRuntime.jsx(CompareTable_styles.EmptyPropertyTitleGridItem, {
307
+ stickX: true
308
+ }), products.map((product, index) => renderButton({
309
+ product,
310
+ index,
311
+ getComingSoonButtonText,
312
+ showBuyButton,
313
+ onLinkClick
314
+ })), hasFootnotes && /* @__PURE__ */jsxRuntime.jsx(FootNotes.FootNotes, {
315
+ products
353
316
  })]
354
- })
317
+ }), /* @__PURE__ */jsxRuntime.jsx(StickyGridOverlay.StickyGridOverlay, {
318
+ style: {
319
+ left: `${leftColumnWidth}px`
320
+ },
321
+ topOffset: overlayTopOffset,
322
+ children: ({
323
+ isAtMinX
324
+ }) => /* @__PURE__ */jsxRuntime.jsx(CompareTableOverflowScrollButton.ModelCompareOverflowScrollButton, {
325
+ isVisible: !isAtMinX,
326
+ color: leftColumnWidth > 0 ? "rgb(23 49 73 / 0.1)" : "white",
327
+ rotationDegrees: 180,
328
+ onClickColumnDiff: -1,
329
+ totalColumns: products.length,
330
+ totalDeadSpace: leftColumnWidth,
331
+ isSmallScreen: isSmallScreen || isMigrationTableMobileVersion,
332
+ isMigrationTable
333
+ })
334
+ }), /* @__PURE__ */jsxRuntime.jsx(StickyGridOverlay.StickyGridOverlay, {
335
+ style: {
336
+ right: 0
337
+ },
338
+ topOffset: overlayTopOffset,
339
+ children: ({
340
+ isAtMaxX
341
+ }) => /* @__PURE__ */jsxRuntime.jsx(CompareTableOverflowScrollButton.ModelCompareOverflowScrollButton, {
342
+ isLeftButton: false,
343
+ isVisible: !isAtMaxX,
344
+ color: "white",
345
+ rotationDegrees: 0,
346
+ onClickColumnDiff: 1,
347
+ totalColumns: products.length,
348
+ totalDeadSpace: leftColumnWidth,
349
+ isSmallScreen: isSmallScreen || isMigrationTable,
350
+ isMigrationTable
351
+ })
352
+ })]
355
353
  })
356
354
  })
357
355
  );