\n >\n );\n};\n\nexport default SplitScreenBase;\n","import React from 'react';\n\n/* As for now (August 2024), this SingleScreenBase is only used by Subscriptions */\nconst SingleScreenBase = ({ children }) => {\n return
{children}
;\n};\n\nexport default SingleScreenBase;\n","import { css } from '@emotion/react';\nimport { PAYPAL_THEME } from '@paypalcorp/pp-react';\n\n/*\n JS SDK buttons has a min-width of 150px.\n We noticed an issue with new button presentment on paywall, a 2-column button layout, \n buttons were overlapping the enclosed container on sysSizeMediaMd breakpoint.\n Hence, we have defined this specific breakpoint to overcome the issue.\n*/\nconst breakpointWidth = '51.25rem';\n\nconst styles = {\n pageContainer: css`\n min-height: 100vh;\n padding-top: 4.5rem;\n padding-bottom: 1rem;\n background-color: #f1f2f3;\n box-sizing: border-box;\n overflow: hidden;\n @media (max-width: 47rem) {\n padding-bottom: 3rem;\n }\n @media (max-width: 36rem) {\n padding-top: 0;\n }\n `,\n container: css`\n box-sizing: border-box;\n padding: 0 1rem;\n max-width: 86.5rem !important;\n\n @media screen and (max-width: ${PAYPAL_THEME.sysSizeMediaSm}) {\n padding: 0 0.75rem;\n }\n\n @media screen and (max-width: ${PAYPAL_THEME.sysSizeMediaXs}) {\n padding: 0 0.5rem;\n }\n `,\n contentContainer: css`\n position: relative;\n display: flex;\n border-radius: 1.5rem;\n box-shadow: 0px 0.1rem 1rem rgba(0, 0, 0, 0.15);\n background-color: #ffffff;\n flex-wrap: nowrap;\n min-height: 70vh;\n\n @media screen and (max-width: ${breakpointWidth}) {\n flex-direction: column;\n }\n\n .loading-spinner-container {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(255, 255, 255, 0.9);\n z-index: 9999;\n border-radius: 1.5rem;\n flex-direction: column;\n }\n\n .panel {\n /**\n * Why did we set width: 0?\n * This makes the panels the equal widths when there is not enough space for the children to grow\n * E.g: When Single select dropdown text is too long, it will not grow the dropdown width\n * TODO: move this to the SingleSelectList dropdown when paywall is ramped\n */\n width: 0;\n flex: 1;\n padding: 4rem;\n gap: 1.5rem;\n\n @media screen and (max-width: ${breakpointWidth}) {\n width: auto;\n }\n\n @media screen and (max-width: ${PAYPAL_THEME.sysSizeMediaLg}) {\n padding: 2rem;\n }\n\n @media screen and (max-width: ${PAYPAL_THEME.sysSizeMediaSm}) {\n padding: 1rem;\n }\n }\n\n .details-panel {\n /* Need to match the border for the panel */\n border-top-left-radius: 1.5rem;\n border-bottom-left-radius: 1.5rem;\n\n /* Swap when we swap the layout orientation */\n @media screen and (max-width: ${breakpointWidth}) {\n border-bottom-left-radius: 0;\n border-top-right-radius: 1.5rem;\n\n &.reverse-order {\n order: 1;\n background-color: transparent;\n }\n }\n\n background-color: rgb(250, 251, 251);\n }\n `,\n disclaimerPolicyStyle: css`\n justify-content: center;\n margin: 0 auto;\n text-align: center;\n `\n};\n\nexport default styles;\n","import React, { ReactNode } from 'react';\nimport { Container, Row, CaptionText, LoadingSpinner, ContainerProps } from '@paypalcorp/pp-react';\nimport commonStyles from '@components/common/commonStyles';\nimport ErrorMessage from '@components/payment/ErrorMessage';\nimport SplitScreenBase from '../SplitScreenBase';\nimport SingleScreenBase from '../SingleScreenBase';\nimport styles from './styles';\n\ninterface MainBaseContainerProps extends ContainerProps {\n xxl?: boolean;\n contentLeft: ReactNode;\n contentRight?: ReactNode;\n disclaimer?: ReactNode;\n isLoading?: boolean;\n loadingSpinnerText?: string;\n topLevelErrorStatus?: string;\n topLevelErrorMessage?: string;\n isMobileReverseOrder?: boolean;\n returnLink?: ReactNode;\n}\n\nconst MainBaseContainer = ({\n contentLeft,\n contentRight = null,\n disclaimer,\n isLoading = false,\n loadingSpinnerText = '',\n topLevelErrorStatus = '',\n topLevelErrorMessage = '',\n isMobileReverseOrder,\n returnLink = null,\n ...rest\n}: MainBaseContainerProps) => {\n return (\n