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AAA,kG,0DC5HnB,MAAM+P,EAAeA,CAAC8H,EAAUrL,KAC5B,CACHC,MAAOoL,EAASC,WAChBrH,IAAK,GACLzJ,UAAW6Q,EAASE,gBACpB/S,QAAS6S,EAASG,cAClBxL,cAAeA,IAIV8K,EAAiBA,CAC1B7M,EACAwN,EACA3M,EACAuB,EACAqL,KAEA,MAAMC,EAAmB7M,EACnB,GAAAhC,OAAG2B,EAAAA,EAAKC,EAAE,uBAAsB,KAAA5B,OAAIgC,IAAkBuB,EAAe,SAAM,IAC3E,GACAuL,EAAmBvL,EAAY,GAAAvD,OAC5B2B,EAAAA,EAAKC,EAAE,0BAAyB,KAAA5B,OAAI4O,EAAiB,GAAKrL,GAC7D,GACN,OAAOpC,EACDwN,EAAgBV,eAAc,GAAAjO,OAC3B2O,EAAgBT,gBAAe,MAAAlO,OAC1C2O,EAAgBV,eAAc,QAAAjO,OAE9B6O,GAAgB7O,OAAG8O,EAAgB,KACpC,C","sources":["Mui/styles/scrollerStye.js","hooks/useElementResizeObserver.js","client/hooks/useHeightResizePostMessage.js","hoc/withBadge.js","hoc/withTooltip.js","components/common/Button/FeverIconButton.js","components/common/Button/ShareButton.js","components/common/Dialog/DialogContainer.js","components/ReferralShareCard.js","client/components/Result/Share/ShareIconButton.js","client/components/Result/Share/button/LiffShareButton.js","hooks/useCopyToClipboard.js","client/components/Result/Share/button/CopyShareButton.js","components/common/Dialog/DialogShareButtonGroup.js","client/components/Result/Share/button/OtherShareButton.js","client/components/Result/Share/button/FacebookShareButton.js","client/components/Result/Share/button/LineShareButton.js","client/components/Result/Share/button/TwitterShareButton.js","client/components/Result/Share/button/WhatsAppShareButton.js","components/common/Dialog/DialogReferralShareCard.js","editor/game_mgmShare/utils/index.js"],"sourcesContent":["import { css } from '@emotion/core';\n\nexport const scrollbarHoverRevealStyle = {\n '& .ScrollbarsCustom-Track': {\n opacity: '0 !important'\n },\n\n '&.ScrollbarsCustom': {\n '&:hover': {\n '& .ScrollbarsCustom-Track': {\n opacity: '1 !important'\n }\n }\n },\n '& .ScrollbarsCustom-Wrapper': {\n bottom: '0 !important'\n }\n};\n\nexport const hiddenScrollbarStyle = css`\n overflow-y: auto;\n &::-webkit-scrollbar {\n display: none;\n }\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n`;\n","import { useEffect, useState } from 'react';\nimport ResizeObserver from 'resize-observer-polyfill';\n\nexport default function useElementResizeObserver({\n isEnable = true,\n callback,\n unmountCallback\n} = {}) {\n const [ref, setRef] = useState(null);\n useEffect(() => {\n if (isEnable && ref) {\n // Check to see if the native version is available and switch between this and the polyfill to improve performance on browsers with native support.\n // Use dynamic imports to only load the file when the polyfill is required.\n (async () => {\n if ('ResizeObserver' in window === false) {\n const module = await import('@juggle/resize-observer');\n window.ResizeObserver = module.ResizeObserver;\n }\n // Uses native or polyfill, depending on browser support.\n const ro = new ResizeObserver(entries => {\n for (const entry of entries) {\n if (entry.target === ref) {\n callback(ref);\n }\n }\n });\n ro.observe(ref);\n return () => {\n ro.unobserve(ref);\n if (typeof unmountCallback === 'function') {\n unmountCallback();\n }\n };\n })();\n }\n }, [isEnable, ref, callback, unmountCallback]);\n return [ref, setRef];\n}\n","import { useCallback, useRef } from 'react';\n\nimport {\n IS_IFRAME_MODE,\n IFRAME_MODE_MIN_HEIGHT,\n NEW_IFRAME_MODE_MIN_HEIGHT\n} from 'config/envVariable';\nimport * as postMsgEvent from 'config/postMsgEvent';\nimport useElementResizeObserver from 'hooks/useElementResizeObserver';\n\nexport function useHeightResizePostMessage({ useMaxSize = false } = {}) {\n const prevHeight = useRef(0);\n const handler = useCallback(\n element => {\n const height = element.clientHeight;\n const calculateTarget = useMaxSize\n ? [height, prevHeight.current, NEW_IFRAME_MODE_MIN_HEIGHT]\n : [height, IFRAME_MODE_MIN_HEIGHT];\n postHeightMessage(Math.max(...calculateTarget));\n\n if (height > prevHeight.current) {\n prevHeight.current = height;\n }\n },\n [useMaxSize]\n );\n // 偵測被 ref 綁定的 element 去監測此元素的大小變動,若是 iframe mode 就執行監聽,當 size 改變時,執行 callback handler\n const [, setRef] = useElementResizeObserver({ isEnable: IS_IFRAME_MODE, callback: handler });\n return setRef;\n}\n\n// 根據 promo 內部需要的高度發 postMessage 去更新 zine 內 iframe 高度\nexport function postHeightMessage(height) {\n window.parent.postMessage(\n {\n event: postMsgEvent.HEIGHT_RESIZE,\n payload: { height }\n },\n '*'\n );\n window.parent.postMessage(\n {\n sentinel: 'amp',\n type: 'embed-size',\n height: height\n },\n '*'\n );\n}\n\nexport function useFixedPopupHeightResizePostMessage({ isTrigger = true } = {}) {\n const handler = useCallback(element => {\n const promoBody = document.getElementById('promo-client-body');\n if (promoBody) {\n const promoBodyHeight = promoBody.clientHeight;\n const { height, top } = element.getBoundingClientRect();\n const bottomPadding = 20;\n const popupElementHeight = top + height + bottomPadding;\n if (popupElementHeight > promoBodyHeight) {\n postHeightMessage(popupElementHeight);\n }\n }\n }, []);\n const unmountHandler = useCallback(() => {\n const promoBody = document.getElementById('promo-client-body');\n if (promoBody) {\n const promoBodyHeight = promoBody.clientHeight;\n postHeightMessage(Math.max(promoBodyHeight, IFRAME_MODE_MIN_HEIGHT));\n }\n }, []);\n const [, setRef] = useElementResizeObserver({\n isEnable: IS_IFRAME_MODE && isTrigger,\n callback: handler,\n unmountCallback: unmountHandler\n });\n return setRef;\n}\n","import { css } from '@emotion/core';\nimport Badge from '@material-ui/core/Badge';\nimport { promo500 } from 'Mui/styles/color';\n\n/**\n * @method withBadge - MUI Badge HOC Function\n * @param {Object} props\n * @param {String} props.badgeColor - Badge 的背景顏色\n * @param {String} props.badgeVariant - Badge 的類型 dot (沒顯示數字只有點) | standard (顯示數字)\n * @param {Number} props.badgeCount - Badge 顯示的數字 or 文字 (預設 0 會不顯示)\n * @param {Number} props.badgeMaxCount - Badge 能顯示的顯示的最大數字\n * @param {String} props.badgePlacement - Badge 的位置 top-right | top-left | bottom-right | bottom-left\n * @param {Boolean} props.badgeInvisible - Badge 的顯示邏輯 (預設是 badgeCount 小於等於 0 會不顯示)\n * @param {String} props.badgeOverlap - Badge 包住的重疊形狀應要是該形狀。\n * @param {Object} props.badgeStyle - Badge 的 custom style\n * @returns {JSX.Element}\n */\n\nfunction withBadge(Component) {\n const BadgeHOC = props => {\n const {\n badgeColor = promo500.color,\n badgeVariant = 'standard',\n badgeCount,\n badgeMaxCount = 999,\n badgePlacement = 'top-right',\n badgeInvisible = badgeCount <= 0,\n badgeOverlap = 'circular',\n badgeStyle,\n ...others\n } = props;\n const vertical = badgePlacement.split('-')[0] || 'top';\n const horizontal = badgePlacement.split('-')[1] || 'right';\n return (\n \n \n \n );\n };\n return BadgeHOC;\n}\n\nexport default withBadge;\n\nconst badgeBaseStyle = (bgColor, badgeVariant) => css`\n & .MuiBadge-badge {\n ${\n badgeVariant === 'standard' &&\n `\n min-width: 17px;\n min-height: 17px;\n width: fit-content;\n height: 17px;\n font-family: Roboto;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n letter-spacing: 0.4px;\n `\n }\n background-color: ${bgColor};\n`;\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport MuiTooltip from '@material-ui/core/Tooltip';\nimport { system700 } from 'Mui/styles/color';\n\nconst styles = ({ tooltipGap }) => ({\n tooltip: {\n fontStyle: 'Noto Sans TC',\n fontWeight: 400,\n letterSpacing: '0.4px',\n backgroundColor: system700.color\n },\n tooltipPlacementTop: {\n margin: tooltipGap\n },\n tooltipPlacementBottom: {\n margin: tooltipGap\n },\n tooltipPlacementRight: {\n margin: tooltipGap\n },\n tooltipPlacementLeft: {\n margin: tooltipGap\n }\n});\n\n/**\n * @method withTooltip - MUI Tooltip HOC Function\n * @param {Object} props\n * @param {String} props.tooltipText - Tooltip 的顯示文字 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'\n * @param {String} props.tooltipPlacement - Tooltip 的位置 (沒顯示數字只有點) | standard (顯示數字)\n * @param {Boolean} props.disableTooltipListener - Tooltip 禁止被觸發\n * @param {Number} props.tooltipGap - Tooltip 跟元件的間距\n * @param {Object} props.badgeStyle - Tooltip 的 custom style\n * @returns {JSX.Element}\n */\n\nfunction withTooltip(Component) {\n const TooltipHOC = props => {\n const {\n tooltipText = 'tooltip text',\n tooltipPlacement = 'bottom',\n disableTooltipListener = false,\n tooltipGap = 0,\n tooltipStyle,\n ...others\n } = props;\n const Tooltip = withStyles({ ...styles({ tooltipGap }), ...tooltipStyle })(MuiTooltip);\n\n return (\n \n \n \n \n \n );\n };\n return TooltipHOC;\n}\n\nexport default withTooltip;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { css } from '@emotion/core';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport Box from '@material-ui/core/Box';\nimport Button from '@material-ui/core/Button';\nimport IconButton from '@material-ui/core/IconButton';\nimport { stylePropType } from 'utils/propTypes';\nimport { adjustColorAlpha, convertRGBtoRGBA } from 'utils/colorConvert';\nimport withBadge from 'hoc/withBadge';\nimport withTooltip from 'hoc/withTooltip';\n\n// 參考分享按鈕、訂閱通知按鈕\n/**\n * @method FeverIconButton - 包含 IconButton 的按鈕\n * @param {Object} props\n * @param {String} props.variant - 按鈕類型 text | outlined | contained\n * @param {String} props.href - 點擊按鈕時連結到的 URL。如果定義,a 元素將用作根節點\n * @param {String} props.imageUrl - 按鈕 icon 的圖片連結\n * @param {String} props.text - 按鈕 icon 隔壁的文字\n * @param {String} props.textColor - 按鈕 icon 隔壁的文字顏色\n * @param {String} props.bgColor - 按鈕主題顏色 (背景顏色)\n * @param {React.ReactNode} props.icon - 按鈕 icon 元件 (必須是 Component)\n * @param {String} props.iconVariant - icon 按鈕類型 default | outlined | contained\n * @param {String} props.iconPosition - icon 位置 start | end\n * @param {Number} props.iconSize - icon 按鈕大小\n * @param {Object} props.iconStyle - icon 本身 style\n * @param {Object} props.iconButtonStyle - icon 按鈕 style\n * @param {Object} props.buttonStyle - 客製化按鈕 style\n * @param {Boolean} props.loading - 讀取中\n * @param {String} props.loadingPosition - loading icon 位置 start | center | end\n * @param {String} props.loadingIndicator - 克制讀取中的文字 (取代 CircularProgress 顯示文字)\n * @param {Boolean} props.disabled - 禁用\n * @param {Function}props.onClick - 點擊事件\n * @returns {JSX.Element}\n */\n\nexport default function FeverIconButton({\n variant = 'contained',\n href,\n imageUrl,\n text,\n textColor,\n bgColor,\n icon: IconComp,\n iconVariant = 'default',\n iconPosition = 'start',\n iconSize = 28,\n iconStyle = {},\n iconButtonStyle = {},\n buttonStyle = {},\n loading = false,\n loadingPosition,\n loadingIndicator = '',\n disabled = false,\n onClick = () => {},\n ...props\n}) {\n const renderIcon = () => {\n let iconContent = null;\n if (loading) {\n return (\n
\n \n
\n );\n }\n\n if (IconComp) {\n iconContent = ;\n }\n\n if (imageUrl) {\n iconContent = (\n {imageUrl}\n );\n }\n\n return iconContent;\n };\n\n const getIcon = (iconPosition, loading, loadingPosition) => {\n if (loading && loadingPosition !== 'center' && iconPosition === loadingPosition) {\n return (\n
\n \n
\n );\n }\n // TODO: fix Warning validateDOMNesting(...): \n );\n }\n\n return (\n \n {renderIcon()}\n \n );\n };\n return renderButton();\n}\n\nconst iconButtonBaseStyle = ({ iconVariant, textColor, bgColor, text, disableHover = true }) => css`\n box-shadow: none;\n ${\n iconVariant === 'default' &&\n `\n background-color: transparent;\n border: none;\n color: ${text !== undefined ? textColor : 'inherit'};\n `\n }\n ${\n iconVariant === 'outlined' &&\n `\n background-color: transparent;\n border: 1px solid;\n color: ${text !== undefined ? bgColor : textColor || bgColor};\n border-color: ${text !== undefined ? bgColor : textColor || bgColor};\n\n &:hover {\n background-color: ${adjustColorAlpha(bgColor, 0.1)}\n }\n `\n }\n ${\n iconVariant === 'contained' &&\n `\n background-color: ${text !== undefined ? textColor : bgColor};\n border: none;\n color: ${text !== undefined ? bgColor : 'inherit'};\n\n &:hover {\n background-color: ${\n disableHover\n ? text !== undefined\n ? textColor\n : bgColor\n : convertRGBtoRGBA(bgColor, 0.3)\n }\n }\n `\n }\n \n`;\n\nconst iconBaseStyle = ({ iconSize }) => css`\n font-size: ${iconSize}px;\n`;\n\nconst iconImgStyle = ({ iconSize }) => css`\n width: ${iconSize}px;\n height: ${iconSize}px;\n`;\n\nconst buttonBaseStyle = ({ variant, textColor, bgColor, text = '', iconSize }) => css`\n display: flex;\n align-items: center;\n padding-block: 14px;\n min-width: ${text === '' && iconSize + 8 * 2 + 4 * 2}px;\n box-shadow: none;\n \n & .MuiButton-label {\n ${\n text === '' &&\n `aspect-ratio: 1; width: ${iconSize + 8 * 2}px; height: ${iconSize + 8 * 2}px;`\n }\n }\n ${\n variant === 'text' &&\n `\n color: ${textColor};\n background-color: transparent;\n border: none;\n `\n }\n ${\n variant === 'outlined' &&\n `\n color: ${bgColor};\n background-color: transparent;\n border: 1px solid;\n border-color: ${bgColor};\n border-radius: 50px;\n `\n }\n ${\n variant === 'contained' &&\n `\n color: ${textColor};\n background-color: ${bgColor};\n border-radius: 50px;\n\n &:hover {\n box-shadow: none;\n background-color: ${bgColor};\n }\n `\n }\n\n`;\n\nconst circularProgressStyle = ({ iconSize, bgColor, textColor }) => css`\n width: ${iconSize}px;\n height: ${iconSize}px;\n svg {\n color: ${bgColor || textColor};\n }\n`;\n\nconst buttonTextStyle = css`\n letter-spacing: 0.1px;\n`;\n\nFeverIconButton.propTypes = {\n variant: PropTypes.oneOf(['text', 'outlined', 'contained']),\n href: PropTypes.string,\n imageUrl: PropTypes.string,\n text: PropTypes.string,\n textColor: PropTypes.string,\n bgColor: PropTypes.string,\n icon: PropTypes.object,\n iconVariant: PropTypes.oneOf(['default', 'outlined', 'contained']),\n iconPosition: PropTypes.oneOf(['start', 'center', 'end']),\n iconSize: PropTypes.number,\n iconStyle: stylePropType,\n iconButtonStyle: stylePropType,\n buttonStyle: stylePropType,\n loading: PropTypes.bool,\n loadingPosition: PropTypes.oneOf(['start', 'center', 'end']),\n loadingIndicator: PropTypes.string,\n disabled: PropTypes.bool,\n onClick: PropTypes.func\n};\n\nexport const BadgeIconButton = withBadge(FeverIconButton);\n\nexport const TooltipIconButton = withTooltip(FeverIconButton);\n","import React, { useEffect, useState } from 'react';\nimport i18n from 'i18next';\nimport { css } from '@emotion/core';\nimport ShareIcon from '@material-ui/icons/Share';\nimport FeverIconButton from 'components/common/Button/FeverIconButton';\nimport DialogReferralShareCard from 'components/common/Dialog/DialogReferralShareCard';\nimport { system900, promo500, white } from 'Mui/styles/color';\nimport { IS_IFRAME_MODE, IFRAME_MODE_MIN_HEIGHT } from 'config/envVariable';\nimport { postHeightMessage } from 'client/hooks/useHeightResizePostMessage';\n\nfunction ShareButton({\n isEditor = false,\n text,\n textColor = '#FFFFFF',\n bgColor = promo500.color,\n config = {},\n onClick,\n isFetchingData = false\n}) {\n const [open, setOpen] = useState(false);\n const {\n variant = 'contained',\n isFixedWindow = true,\n dialogTextColor = system900.color,\n dialogBgColor = white.color,\n enableLineLiff = true,\n enableDisplayShareCardButton = true,\n enableDisplayShareCardImage = true,\n enableDisplayShareCardReferralCode = false,\n shareCardTitle,\n shareCardDesc,\n shareCardImageUrl = 'https://assets.fevercdn.com/promotion/img/MGM_Image.jpg',\n shareCardButtonText = i18n.t('btn.get_winner'),\n shareCardButtonTextColor = white.color,\n shareCardButtonBgColor = system900.color,\n isLoadingReferral = false,\n referralCode,\n shareLinkUrl\n } = config;\n\n const handleClick = () => {\n if (isEditor) {\n return;\n } else {\n setOpen(true);\n }\n if (typeof onClick === 'function') {\n onClick();\n }\n };\n\n const closeDialog = () => setOpen(false);\n\n useEffect(() => {\n if (IS_IFRAME_MODE) {\n const PADDING_UNIT = 16;\n const dialogElement = document.getElementById('dialog');\n const promoIframeContainerElement = document.getElementById('promo-client-body');\n const dialogHeight =\n dialogElement?.children.length > 0\n ? dialogElement?.children[0]?.clientHeight\n : IFRAME_MODE_MIN_HEIGHT;\n const promoIframeContainerHeight = promoIframeContainerElement.clientHeight;\n if (open && !isLoadingReferral) {\n if (dialogElement && promoIframeContainerElement) {\n if (promoIframeContainerHeight > dialogHeight + PADDING_UNIT * 2) {\n postHeightMessage(\n Math.max(promoIframeContainerHeight, IFRAME_MODE_MIN_HEIGHT)\n );\n } else {\n postHeightMessage(dialogHeight + PADDING_UNIT * 2);\n }\n }\n } else {\n if (promoIframeContainerElement) {\n postHeightMessage(Math.max(promoIframeContainerHeight, IFRAME_MODE_MIN_HEIGHT));\n }\n }\n }\n }, [open, isLoadingReferral]);\n\n return (\n // [Feat][NFV-414] Add it for gtm selector (fv-promo-share)\n
\n \n \n
\n );\n}\n\nexport default ShareButton;\n","import React, { useEffect, useRef, forwardRef } from 'react';\nimport { createPortal } from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { css } from '@emotion/core';\nimport Typography from '@material-ui/core/Typography';\nimport IconButton from '@material-ui/core/IconButton';\nimport Fade from '@material-ui/core/Fade';\nimport CloseIcon from '@material-ui/icons/Close';\nimport { system900 } from 'Mui/styles/color';\nimport { dp03 } from 'Mui/styles/shadow';\nimport { hiddenScrollbarStyle } from 'Mui/styles/scrollerStye';\nimport { stylePropType } from 'utils/propTypes';\n\nconst DialogContainer = forwardRef((props, ref) => {\n const {\n children,\n open,\n title,\n variant = 'h6',\n isFixedWindow = false,\n disableBackdrop = false,\n disableBackdropClick = false,\n backdropColor = 'rgba(255, 255, 255, 0.60)',\n themeTextColor = system900.color,\n themeBgColor = '#FFF',\n haveCloseIcon = true,\n isInnerDialog = false,\n onClose,\n arrow = false,\n arrowStyle,\n style\n } = props;\n const zIndexRef = useRef({ zIndex: 2 });\n\n const onBackdropClick = () => {\n !disableBackdropClick && typeof onClose === 'function' && onClose();\n };\n\n useEffect(() => {\n if (isInnerDialog && zIndexRef.current) {\n zIndexRef.current.zIndex++;\n }\n }, [isInnerDialog]);\n\n const containerDom = (\n <>\n \n \n {arrow &&
}\n {typeof onClose === 'function' && haveCloseIcon && (\n
\n \n \n \n
\n )}\n \n {title ??  }\n \n {children}\n \n
\n {!disableBackdrop && (\n \n \n \n )}\n \n );\n if (!open) return null;\n return isFixedWindow\n ? createPortal(containerDom, document.getElementById('dialog'))\n : containerDom;\n});\n\nexport default DialogContainer;\n\nconst containerStyle = themeBgColor => css`\n width: 320px;\n min-height: 96px;\n max-height: 600px;\n background: ${themeBgColor};\n border-radius: 12px;\n box-shadow: ${dp03.boxShadow};\n ${hiddenScrollbarStyle}\n`;\n\nconst positionStyle = (isFixedWindow, zIndexRef) => css`\n position: ${isFixedWindow ? 'fixed' : 'absolute'};\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: ${zIndexRef.current.zIndex + 1};\n`;\n\nconst backdropStyle = (isFixedWindow, backdropColor, zIndexRef) => css`\n position: ${isFixedWindow ? 'fixed' : 'absolute'};\n inset: 0;\n z-index: ${zIndexRef.current.zIndex};\n background: ${backdropColor};\n backdrop-filter: blur(2px);\n`;\n\nconst titleStyle = themeTextColor => css`\n text-align: center;\n color: ${themeTextColor};\n padding: 16px;\n line-height: normal;\n`;\n\nconst closeContainerStyle = css`\n position: absolute;\n right: 14px;\n top: 14px;\n`;\n\nconst closeIconStyle = css`\n color: ${system900.color};\n`;\n\nconst arrowBasicStyle = css`\n display: block;\n position: absolute;\n right: 28px;\n top: 4px;\n transform: translateY(-100%);\n height: 0;\n border-color: transparent transparent #ffffff transparent;\n border-style: solid;\n border-width: 0 12px 16px 12px;\n`;\n\nDialogContainer.propTypes = {\n children: PropTypes.node.isRequired,\n title: PropTypes.string,\n open: PropTypes.bool,\n isFixedWindow: PropTypes.bool,\n disableBackdrop: PropTypes.bool,\n disableBackdropClick: PropTypes.bool,\n backdropColor: PropTypes.string,\n themeTextColor: PropTypes.string,\n themeBgColor: PropTypes.string,\n haveCloseIcon: PropTypes.bool,\n onClose: PropTypes.func,\n arrow: PropTypes.bool,\n arrowStyle: stylePropType,\n style: stylePropType\n};\n","import React from 'react';\nimport i18n from 'i18next';\nimport PropTypes from 'prop-types';\nimport { css } from '@emotion/core';\nimport { system900, system800, system300 } from 'Mui/styles/color';\nimport Typography from '@material-ui/core/Typography';\nimport { replaceUsername } from 'utils/filter';\n\nconst Hero = ({ type, imageUrl, actionUri, variant }) => {\n return (\n
\n {Boolean(actionUri) ? (\n \n \n \n ) : (\n
\n \n
\n )}\n
\n );\n};\n\nconst Body = ({ type, isShowImage, children, variant }) => {\n return
{children}
;\n};\n\nconst Title = ({ children }) => {\n return
{children}
;\n};\n\nconst Description = ({ children }) => {\n return
{children}
;\n};\n\nconst Referral = ({ code }) => {\n return
{`${i18n.t('label.referral_code')}: ${code}`}
;\n};\n\nconst ActionButton = ({ buttonConfig }) => {\n const dynamicProps = buttonConfig?.uri ? { href: buttonConfig.uri, alt: buttonConfig.uri } : {};\n return (\n \n );\n};\n\nconst ReferralShareCard = ({\n variant = 'contained',\n type = 'default',\n title,\n description,\n imageUrl,\n isShowImage,\n buttonConfig = {},\n referralCode,\n isShowReferralCode\n}) => {\n return (\n
\n {isShowImage && }\n \n {title && type === 'line' && (\n \n {replaceUsername({\n text: title,\n variable: 'username',\n replace: true\n })}\n \n )}\n {description && type === 'line' && {description}}\n {description && type === 'default' && (\n \n {replaceUsername({\n text: description,\n variable: 'username',\n replace: true\n })}\n \n )}\n {isShowReferralCode && type === 'line' && }\n {buttonConfig?.enableDisplay && type === 'line' && (\n \n )}\n \n
\n );\n};\n\nconst containerStyle = type => css`\n display: flex;\n flex-direction: column;\n align-items: center;\n color: ${system900.color};\n background: ${type === 'default' ? 'transparent' : '#fff'};\n border-radius: 12px;\n gap: ${type === 'default' && '8px'};\n width: 100%;\n`;\n\nconst heroStyle = (type, imageUrl, variant) => css`\n width: 100%;\n border-top-right-radius: inherit;\n border-top-left-radius: inherit;\n overflow: hidden;\n ${\n type === 'default' &&\n `\n border-bottom-right-radius: inherit;\n border-bottom-left-radius: inherit;\n `\n }\n ${\n variant === 'outlined' &&\n `\n border: 1px solid ${system300.color};\n`\n }\n ${\n type === 'line' &&\n `\n border-bottom-width: 0px;\n `\n }\n & span {\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-bottom-right-radius: inherit;\n border-bottom-left-radius: inherit;\n \n ${\n type === 'default' &&\n `\n border-bottom-right-radius: inherit;\n border-bottom-left-radius: inherit;\n `\n }\n background-image: url(${imageUrl});\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center center;\n overflow: hidden;\n`;\n\nconst imageWrapperStyle = css`\n display: block;\n position: relative;\n width: 100%;\n aspect-ratio: 1.52 / 1;\n`;\n\nconst bodyStyle = (type, isShowImage, variant) => css`\n display: flex;\n flex-direction: column;\n padding-inline: 16px;\n padding-block: 12px;\n background: #fff;\n border-bottom-right-radius: inherit;\n border-bottom-left-radius: inherit;\n ${\n variant === 'outlined' &&\n `\n border: 1px solid ${system300.color};\n `\n }\n ${\n type === 'default' &&\n `\n border-top-right-radius: inherit;\n border-top-left-radius: inherit;\n `\n }\n\n ${\n type === 'line' &&\n !isShowImage &&\n `\n border-top-right-radius: inherit;\n border-top-left-radius: inherit;\n `\n }\n ${\n type === 'line' &&\n isShowImage &&\n `\n border-top-width: 0px;\n `\n }\n overflow: hidden;\n gap: 4px;\n width: 100%;\n`;\n\nconst titleStyle = css`\n align-self: stretch;\n color: ${system900.color};\n font-size: 20px;\n font-style: normal;\n font-weight: 700;\n line-height: normal;\n letter-spacing: 0.15px;\n word-break: normal;\n word-wrap: break-word;\n text-overflow: clip;\n`;\n\nconst descriptionStyle = css`\n align-self: stretch;\n color: ${system800.color};\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n letter-spacing: 0.1px;\n white-space: pre-line;\n word-break: normal;\n word-wrap: break-word;\n text-overflow: clip;\n`;\n\nconst referralStyle = css`\n width: 100%;\n padding-block: 8px;\n margin-block: 4px;\n text-align: center;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n letter-spacing: 1.25px;\n text-transform: capitalize;\n`;\n\nconst actionStyle = css`\n flex: none;\n flex-basis: auto;\n overflow: hidden;\n position: relative;\n`;\n\nconst buttonStyle = buttonConfig => css`\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 36px;\n padding: 0 16px;\n color: ${buttonConfig.textColor};\n background-color: ${buttonConfig.bgColor};\n border-radius: 8px;\n\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n letter-spacing: 1.25px;\n text-transform: capitalize;\n text-decoration: none;\n`;\n\nconst textStyle = css`\n overflow: hidden;\n text-overflow: ellipsis;\n box-sizing: border-box;\n white-space: nowrap;\n`;\n\nexport default ReferralShareCard;\n\nReferralShareCard.propTypes = {\n type: PropTypes.oneOf(['default', 'line']),\n description: PropTypes.string,\n imageUrl: PropTypes.string,\n buttonConfig: PropTypes.shape({\n enableDisplay: PropTypes.bool,\n label: PropTypes.string,\n uri: PropTypes.string,\n textColor: PropTypes.string,\n bgColor: PropTypes.string\n }),\n referralCode: PropTypes.string,\n isShowReferralCode: PropTypes.bool\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { css } from '@emotion/core';\nimport Typography from '@material-ui/core/Typography';\nimport { system900 } from 'Mui/styles/color';\nimport FeverIconButton from 'components/common/Button/FeverIconButton';\n\nconst ShareIconButton = ({\n variant,\n text,\n textColor = system900.color,\n bgColor,\n imageUrl,\n url,\n icon: Icon,\n size = 36,\n style,\n isExternal = true,\n onClick,\n isFetchingData\n}) => {\n const handleClick = event => {\n if (typeof onClick === 'function') onClick(event);\n if (url && isExternal) {\n window.open(url, '__blank');\n }\n };\n\n return (\n \n \n \n {text}\n \n \n );\n};\n\nexport default ShareIconButton;\n\nShareIconButton.propTypes = {\n variant: PropTypes.oneOf(['default', 'outlined', 'contained']),\n text: PropTypes.string,\n imageUrl: PropTypes.string,\n url: PropTypes.string,\n icon: PropTypes.object,\n size: PropTypes.number,\n style: PropTypes.object,\n onClick: PropTypes.func\n};\n\nconst shareButtonTextStyle = css`\n margin-top: 4px\n text-align: center;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n letter-spacing: 0.4px;\n text-transform: capitalize;\n`;\n\nconst shareButtonStyle = css`\n &.MuiButtonBase-root.Mui-disabled {\n background-color: #ffffff;\n }\n`;\n","import React, { useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport { css } from '@emotion/core';\nimport PropTypes from 'prop-types';\nimport i18n from 'i18next';\nimport { isMobile } from 'react-device-detect';\nimport Box from '@material-ui/core/Box';\nimport { getLiffUrl } from 'client/utils/login';\nimport ShareIconButton from '../ShareIconButton';\nimport DialogContainer from 'components/common/Dialog/DialogContainer';\nimport LineLiffQrCode from 'client/components/dialogLogin/LineLiffQrCode';\nimport { system900, system300 } from 'Mui/styles/color';\nimport { retrieveLineConfig } from 'utils/manipulatePartnerSponsor';\nimport { GLOBAL_LIFF_ID } from 'config/envVariable';\n\nconst LiffShareButton = ({\n url = '',\n color = system900.color,\n variant = 'contained',\n isFetchingData\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n const {\n partner,\n sponsor,\n sponsor: { uuid: sponsorUUID },\n promo: { uuid: promoUUID },\n settingStyle: { referralShareCard = {} }\n } = useSelector(s => s);\n const { lineLoginAppLiffId } = retrieveLineConfig({ partner, sponsor });\n const liffId = lineLoginAppLiffId || GLOBAL_LIFF_ID;\n\n const liffUrl = url\n ? getLiffUrl({\n liffId,\n sponsorUUID,\n redirectPath: '',\n appendQsObj: {\n promo_uuid: promoUUID,\n referral_url: url,\n username: referralShareCard?.fullname || '',\n // [860t11p9w] 企業版在 liff 流程 call promo api fever-host 要自己帶上正確的 domain\n 'fever-host': window.location.host\n }\n })\n : null;\n\n const openQrcode = () => setIsOpen(true);\n const closeQrcode = () => setIsOpen(false);\n\n return (\n <>\n \n \n \n \n \n \n \n );\n};\n\nexport default LiffShareButton;\n\nconst liffButtonStyle = variant => css`\n color: ${system900.color};\n border-color: ${variant === 'outlined' ? system300.color : ''};\n padding: 10px;\n`;\n\nLiffShareButton.propTypes = {\n url: PropTypes.string,\n color: PropTypes.string,\n variant: PropTypes.string\n};\n","import { useState } from 'react';\n\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n\n const fallbackCopy = text => {\n try {\n const textArea = document.createElement('textarea');\n textArea.value = text;\n document.body.appendChild(textArea);\n textArea.select();\n document.execCommand('copy');\n document.body.removeChild(textArea);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn('Fallback: Copy failed', error);\n setCopiedText(null);\n return false;\n }\n };\n\n const copy = async text => {\n if (!navigator?.clipboard) {\n console.warn('Clipboard not supported, using fallback');\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn('Copy failed, using fallback', error);\n return fallbackCopy(text); // 使用 fallback\n }\n };\n return [copiedText, copy];\n}\n\nexport default useCopyToClipboard;\n","import React, { useState } from 'react';\nimport i18n from 'i18next';\nimport { css } from '@emotion/core';\nimport PropTypes from 'prop-types';\nimport Popover from '@material-ui/core/Popover';\nimport Typography from '@material-ui/core/Typography';\nimport useCopyToClipboard from 'hooks/useCopyToClipboard';\nimport ShareIconButton from '../ShareIconButton';\nimport { system900, system300 } from 'Mui/styles/color';\n\nconst CopyShareButton = ({\n url = '',\n color = system900.color,\n variant = 'contained',\n isFetchingData\n}) => {\n const [, copy] = useCopyToClipboard();\n const [anchorEl, setAnchorEl] = useState(null);\n const handleClick = async event => {\n event.persist();\n const isCopySuccess = await copy(url);\n if (isCopySuccess) {\n setAnchorEl(event.currentTarget || event.target);\n }\n };\n const open = Boolean(anchorEl);\n function handleClose() {\n setAnchorEl(null);\n }\n return (\n <>\n \n \n {i18n.t('label.share_url')}\n \n \n );\n};\n\nexport default CopyShareButton;\n\nCopyShareButton.propTypes = {\n url: PropTypes.string,\n color: PropTypes.string,\n variant: PropTypes.string\n};\n\nconst copyButtonStyle = variant => css`\n position: 'relative';\n color: ${system300.color};\n border-color: ${variant === 'outlined' ? system300.color : ''};\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport i18n from 'i18next';\nimport { css } from '@emotion/core';\nimport {\n FacebookShareButton,\n LineShareButton,\n TwitterShareButton,\n WhatsAppShareButton\n} from 'client/components/Result/Share/button';\nimport DialogContainer from 'components/common/Dialog/DialogContainer';\nimport { system900 } from 'Mui/styles/color';\n\nconst DialogShareButtonGroup = ({ open, onClose, url }) => {\n return (\n \n
\n \n \n \n \n
\n \n );\n};\n\nexport default DialogShareButtonGroup;\n\nconst containerStyle = css`\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 16px;\n margin-bottom: 8px;\n gap: 16px;\n`;\n\nDialogShareButtonGroup.propTypes = {\n open: PropTypes.bool,\n onClose: PropTypes.func,\n url: PropTypes.string.isRequired\n};\n","import React, { useState } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { css } from '@emotion/core';\nimport i18n from 'i18next';\nimport ShareIcon from '@material-ui/icons/Share';\nimport ShareIconButton from '../ShareIconButton';\nimport DialogShareButtonGroup from 'components/common/Dialog/DialogShareButtonGroup';\nimport DialogSystem from 'client/components/DialogSystem';\nimport { system900, system300 } from 'Mui/styles/color';\n\nconst OtherShareButton = ({\n title = '',\n text = '',\n url = '',\n color = system900.color,\n variant = 'contained',\n isFetchingData\n}) => {\n const { pathname } = useLocation();\n\n const isEditor = pathname.includes('/edit');\n const [open, setOpen] = useState(false);\n const [showError, setShowError] = useState(false);\n const shareData = {\n title,\n text,\n url\n };\n const canUseShare =\n navigator.canShare && navigator.canShare(shareData) && /Mobi/i.test(navigator.userAgent);\n\n const handleShare = async () => {\n if (canUseShare) {\n try {\n await navigator.share(shareData).catch(err => {\n const { name } = err;\n if (name === 'NotAllowedError') {\n setShowError(true);\n }\n });\n } catch (error) {\n setOpen(true);\n }\n } else {\n setOpen(true);\n }\n };\n return (\n <>\n \n {Boolean(url) && !Boolean(isEditor) && (\n setOpen(false)} />\n )}\n {showError && (\n setShowError(false)}\n />\n )}\n \n );\n};\n\nexport default OtherShareButton;\n\nOtherShareButton.propTypes = {\n title: PropTypes.string,\n text: PropTypes.string,\n url: PropTypes.string,\n color: PropTypes.string,\n variant: PropTypes.string\n};\n\nconst otherButtonStyle = variant => css`\n color: ${system900.color};\n border-color: ${variant === 'outlined' ? system300.color : ''};\n padding: 10px;\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { css } from '@emotion/core';\nimport { isMobile } from 'react-device-detect';\nimport { IS_IFRAME_MODE } from 'config/envVariable';\nimport ShareIconButton from '../ShareIconButton';\n\nconst FacebookShareButton = ({ url }) => {\n const fbShareUrl = `https://www.facebook.com/sharer/sharer.php?u=${url}`;\n const handleClick = () => {\n if (isMobile) {\n if (IS_IFRAME_MODE) window.top.location = fbShareUrl;\n else window.location.href = fbShareUrl;\n } else window.open(fbShareUrl, '', 'toolbar=0,status=0,width=580,height=325');\n };\n return (\n \n );\n};\n\nexport default FacebookShareButton;\n\nFacebookShareButton.propTypes = {\n url: PropTypes.string\n};\n\nconst facebookButtonStyle = css`\n color: #ffffff;\n padding: 10px;\n\n * > img {\n scale: 1.7;\n }\n`;\n","import React from 'react';\nimport { css } from '@emotion/core';\nimport ShareIconButton from '../ShareIconButton';\n\nconst LineShareButton = ({ url }) => {\n return (\n \n );\n};\n\nexport default LineShareButton;\n\nconst lineButtonStyle = css`\n color: #ffffff;\n padding: 10px;\n`;\n","import React from 'react';\nimport { css } from '@emotion/core';\nimport TwitterIcon from '@material-ui/icons/Twitter';\nimport ShareIconButton from '../ShareIconButton';\n\nconst TwitterShareButton = ({ url }) => {\n return (\n \n );\n};\n\nexport default TwitterShareButton;\n\nconst twitterButtonStyle = css`\n color: #ffffff;\n padding: 10px;\n`;\n","import React from 'react';\nimport { css } from '@emotion/core';\n\nimport PropTypes from 'prop-types';\nimport WhatsAppIcon from '@material-ui/icons/WhatsApp';\nimport ShareIconButton from '../ShareIconButton';\n\nconst WhatsAppShareButton = ({ url }) => {\n return (\n \n );\n};\n\nexport default WhatsAppShareButton;\n\nWhatsAppShareButton.propTypes = {\n url: PropTypes.string.isRequired\n};\n\nconst whatsAppButtonStyle = css`\n color: #ffffff;\n padding: 10px;\n`;\n","import PropTypes from 'prop-types';\nimport { css } from '@emotion/core';\nimport DialogContainer from 'components/common/Dialog/DialogContainer';\nimport ReferralShareCard from 'components/ReferralShareCard';\nimport {\n LiffShareButton,\n CopyShareButton,\n OtherShareButton\n} from 'client/components/Result/Share/button';\nimport useScrollElementOnMount from 'client/hooks/useScrollElementOnMount';\nimport { getDescription } from 'editor/game_mgmShare/utils';\n\n// 參考邀請模組的邀請卡\n/**\n * @method DialogReferralShareCard - 分享邀請卡 Dialog\n * @param {Object} props\n * @param {String} props.variant - 卡片類型 outlined | contained\n * @param {Boolean} props.open - dialog 開關\n * @param {Boolean} props.isFixedWindow - 滿版 dialog (撐滿整個螢幕)\n * @param {Function} props.onClose - 按鈕 icon 隔壁的文字\n * @param {String} props.dialogTextColor - 按鈕 icon 隔壁的文字顏色\n * @param {String} props.dialogBgColor - 按鈕主題顏色 (背景顏色)\n * @param {Boolean} props.enableLineLiff - 開啟 liff 分享按鈕\n * @param {Object} props.referralShareCardConfig - 邀請卡設定 (title, description, imageUrl, button )\n * @param {Boolean} props.isShowImage - 顯示邀請卡圖片\n * @param {Boolean} props.isShowReferralCode - 顯示邀請碼\n * @param {String} props.referralCode - 邀請碼\n * @param {String} props.referralLink - 邀請碼連結\n * @returns {JSX.Element}\n */\nconst DialogReferralShareCard = ({\n variant,\n open,\n isFixedWindow,\n onClose,\n dialogTextColor,\n dialogBgColor,\n backdropColor,\n enableLineLiff,\n referralShareCardConfig: { title, description, imageUrl, button },\n isShowImage,\n isShowReferralCode,\n referralCode,\n referralLink,\n isFetchingData\n}) => {\n // [860t12ray] 讓 promo 活動在作為 iframe 被嵌入在 page 的 情況下, dialog 打開時,要自動 scroll 到 promo 中間,讓 dialog 置中\n const bindRef = useScrollElementOnMount({ trigger: open });\n return (\n \n
\n \n
\n
\n {enableLineLiff && (\n \n )}\n \n \n
\n \n );\n};\n\nexport default DialogReferralShareCard;\n\nconst contentContainerStyle = css`\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 24px;\n`;\n\nconst footerContainerStyle = css`\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 16px;\n margin-bottom: 8px;\n gap: 24px;\n`;\n\nDialogReferralShareCard.propTypes = {\n variant: PropTypes.oneOf(['outlined', 'contained']),\n open: PropTypes.bool,\n isFixedWindow: PropTypes.bool,\n onClose: PropTypes.func,\n dialogTextColor: PropTypes.string,\n dialogBgColor: PropTypes.string,\n backdropColor: PropTypes.string,\n enableLineLiff: PropTypes.bool,\n referralShareCardConfig: PropTypes.shape({\n title: PropTypes.string,\n description: PropTypes.string,\n imageUrl: PropTypes.string,\n button: PropTypes.shape({\n enableDisplay: PropTypes.bool,\n label: PropTypes.string,\n uri: PropTypes.string,\n textColor: PropTypes.string,\n bgColor: PropTypes.string\n })\n }),\n isShowImage: PropTypes.bool,\n isShowReferralCode: PropTypes.bool,\n referralCode: PropTypes.string,\n referralLink: PropTypes.string\n};\n","import i18n from 'i18next';\n\nexport const buttonConfig = (settings, enableDisplay) => {\n return {\n label: settings.buttonText,\n url: '',\n textColor: settings.buttonTextColor,\n bgColor: settings.buttonBgColor,\n enableDisplay: enableDisplay\n };\n};\n\nexport const getDescription = (\n enableLineLiff,\n previewSettings,\n referralCode,\n referralLink,\n isOringalShare\n) => {\n const referralCodeText = referralCode\n ? `${i18n.t('label.referral_code')} ${referralCode}` + (referralLink ? ',' : '')\n : '';\n const referralLinkText = referralLink\n ? `${i18n.t('label.mgm_mission_link')} ${isOringalShare ? '' : referralLink}`\n : '';\n return enableLineLiff\n ? previewSettings.invitationDesc\n : `${previewSettings.invitationTitle}\n${previewSettings.invitationDesc}\n\n${referralCodeText}${referralLinkText}\n`;\n};\n"],"names":["scrollbarHoverRevealStyle","opacity","bottom","hiddenScrollbarStyle","name","styles","useElementResizeObserver","isEnable","callback","unmountCallback","arguments","length","undefined","ref","setRef","useState","useEffect","window","module","ResizeObserver","ro","entries","entry","target","observe","useHeightResizePostMessage","useMaxSize","prevHeight","useRef","handler","useCallback","element","height","clientHeight","calculateTarget","current","NEW_IFRAME_MODE_MIN_HEIGHT","IFRAME_MODE_MIN_HEIGHT","postHeightMessage","Math","max","IS_IFRAME_MODE","parent","postMessage","event","postMsgEvent","payload","sentinel","type","useFixedPopupHeightResizePostMessage","isTrigger","promoBody","document","getElementById","promoBodyHeight","top","getBoundingClientRect","popupElementHeight","unmountHandler","Component","props","badgeColor","promo500","color","badgeVariant","badgeCount","badgeMaxCount","badgePlacement","badgeInvisible","badgeOverlap","badgeStyle","others","vertical","split","horizontal","___EmotionJSX","Badge","badgeContent","variant","invisible","anchorOrigin","css","_css","badgeBaseStyle","overlap","bgColor","_ref","tooltipGap","tooltip","fontStyle","fontWeight","letterSpacing","backgroundColor","system700","tooltipPlacementTop","margin","tooltipPlacementBottom","tooltipPlacementRight","tooltipPlacementLeft","tooltipText","tooltipPlacement","disableTooltipListener","tooltipStyle","Tooltip","withStyles","MuiTooltip","title","placement","disableFocusListener","disableTouchListener","disableHoverListener","style","display","FeverIconButton","href","imageUrl","text","textColor","icon","IconComp","iconVariant","iconPosition","iconSize","iconStyle","iconButtonStyle","buttonStyle","loading","loadingPosition","loadingIndicator","disabled","onClick","renderIcon","iconContent","circularProgressStyle","CircularProgress","width","iconBaseStyle","src","alt","iconImgStyle","getIcon","IconButton","iconButtonBaseStyle","disableFocusRipple","disableRipple","Button","_extends","buttonBaseStyle","Box","mr","buttonTextStyle","getButtonText","ml","_ref2","disableHover","concat","adjustColorAlpha","convertRGBtoRGBA","_ref3","_ref4","_ref5","_ref6","withBadge","withTooltip","isEditor","config","isFetchingData","open","setOpen","isFixedWindow","dialogTextColor","system900","dialogBgColor","white","enableLineLiff","enableDisplayShareCardButton","enableDisplayShareCardImage","enableDisplayShareCardReferralCode","shareCardTitle","shareCardDesc","shareCardImageUrl","shareCardButtonText","i18n","t","shareCardButtonTextColor","shareCardButtonBgColor","isLoadingReferral","referralCode","shareLinkUrl","_dialogElement$childr","PADDING_UNIT","dialogElement","promoIframeContainerElement","dialogHeight","children","promoIframeContainerHeight","id","ShareIcon","handleClick","DialogReferralShareCard","onClose","closeDialog","referralShareCardConfig","description","button","enableDisplay","label","uri","isShowImage","isShowReferralCode","referralLink","DialogContainer","forwardRef","disableBackdrop","disableBackdropClick","backdropColor","themeTextColor","themeBgColor","haveCloseIcon","isInnerDialog","arrow","arrowStyle","zIndexRef","zIndex","containerDom","React","Fade","in","containerStyle","positionStyle","arrowBasicStyle","closeContainerStyle","size","CloseIcon","closeIconStyle","Typography","titleStyle","backdropStyle","onBackdropClick","createPortal","dp03","boxShadow","propTypes","PropTypes","isRequired","stylePropType","Hero","actionUri","heroStyle","Boolean","imageWrapperStyle","Body","bodyStyle","Title","Description","descriptionStyle","Referral","code","referralStyle","ActionButton","buttonConfig","dynamicProps","actionStyle","textStyle","system300","system800","_ref7","replaceUsername","variable","replace","url","Icon","isExternal","flexDirection","justifyContent","alignItems","link","shareButtonStyle","shareButtonTextStyle","marginTop","textAlign","isOpen","setIsOpen","partner","sponsor","uuid","sponsorUUID","promo","promoUUID","settingStyle","referralShareCard","useSelector","s","lineLoginAppLiffId","retrieveLineConfig","liffId","GLOBAL_LIFF_ID","liffUrl","getLiffUrl","redirectPath","appendQsObj","promo_uuid","referral_url","username","fullname","location","host","closeQrcode","px","py","LineLiffQrCode","ShareIconButton","isMobile","liffButtonStyle","openQrcode","copiedText","setCopiedText","async","_navigator","navigator","clipboard","console","warn","writeText","error","textArea","createElement","value","body","appendChild","select","execCommand","removeChild","fallbackCopy","copy","useCopyToClipboard","anchorEl","setAnchorEl","persist","currentTarget","copyButtonStyle","Popover","transformOrigin","transform","padding","FacebookShareButton","LineShareButton","TwitterShareButton","WhatsAppShareButton","pathname","useLocation","includes","showError","setShowError","shareData","canUseShare","canShare","test","userAgent","share","catch","err","otherButtonStyle","DialogShareButtonGroup","DialogSystem","closePopup","fbShareUrl","facebookButtonStyle","encodeURIComponent","lineButtonStyle","TwitterIcon","twitterButtonStyle","WhatsAppIcon","whatsAppButtonStyle","bindRef","useScrollElementOnMount","trigger","contentContainerStyle","ReferralShareCard","getDescription","invitationDesc","invitationTitle","footerContainerStyle","LiffShareButton","CopyShareButton","OtherShareButton","settings","buttonText","buttonTextColor","buttonBgColor","previewSettings","isOringalShare","referralCodeText","referralLinkText"],"sourceRoot":""}