{"version":3,"file":"ListRatesBanner-acb0b86a.js","sources":["../../../app/javascript/src/hooks/useUpgradePlanUrl.js","../../../app/javascript/src/components/ui/UpgradeButton.jsx","../../../app/javascript/src/components/dashboard/integrations/components/ListRatesBanner.jsx"],"sourcesContent":["import { useSelector } from 'react-redux'\n\nexport default function useUpgradePlanUrl() {\n const userId = useSelector(\n ({ app: { current_user: { id } = {} } = {} }) => id\n )\n \n return `/ratesmgr/profiles/${userId}/edit?section=billing`\n}\n","import React from 'react'\nimport useUpgradePlanUrl from 'hooks/useUpgradePlanUrl'\n\nconst UpgradeButton = ({ text }) => {\n const upgradeLink = useUpgradePlanUrl()\n\n return (\n \n {text}\n \n )\n}\n\nUpgradeButton.defaultProps = {\n text: 'Upgrade Now',\n}\n\nexport default React.memo(UpgradeButton)\n","//\nimport React from 'react'\nimport useTooltip from 'hooks/useTooltip'\nimport { useSelector } from 'react-redux'\nimport UpgradeButton from 'components/ui/UpgradeButton'\n\n// tooltip texts\nexport const TP_FEDEX =\n 'These are the base rates published by FedEx and are not the same as using your own FedEx account rates.'\nexport const TP_USPS =\n 'These are the base rates published by USPS and are not the same as using your own USPS account rates.'\nexport const TP_UPS =\n 'These are the base rates published by UPS and are not the same as using your own UPS account rates.'\n\nexport default function ListRatesBanner({ onPrimaryActionClick, carrierType }) {\n return (\n
\n You are using FedEx® Standard List Rates\n
\n To use your own fedex account rates, enter your account\n credentials\n
\n\n You are using USPS online rates\n
\n You are displaying UPS published daily rates\n
\n Enter your account information to display UPS account rates.\n
\n\n You are displaying UPS published daily rates\n
\n If you'd like to display your UPS account rates, upgrade\n your account today!\n
\n