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AA4BuI,UAAYvI,EAAKwI,QAAQC,OAAOC,IAEtD1I,GAEV2I,MAAO,KAEVC,iBAAkB,CACfP,SAAS,EACTC,GAAEA,CAACtI,EAAMuH,KACNvH,EAAKwI,QAAQC,OAAOC,IAAO1I,EAA4BuI,UAEhDvI,GAEV2I,MAAO,KAEVE,YAAa,CACVR,SAAS,EACTC,GAAIA,CAACtI,EAAMuH,KACJvH,EAAK8I,MACiC,MAAnC9I,EAAKiH,SAASwB,OAAOM,YACtB/I,EAAKiH,SAASwB,OAAOM,WAAWC,YAAYhJ,EAAKiH,SAASwB,QAEzDzI,OAKf,EAAGiJ,oBACH/N,EAAAA,cAAA,OAAKM,IAAKmM,GACRzM,EAAAA,cAACgO,EAAAA,QAAW,KACThO,EAAAA,cAAC0D,EAAAA,EAAU,CAACxD,UAAU,sBAAsByD,YAAa2I,EAAY3I,YAAaC,KAAM,EAAGC,SAAWO,IACnG2J,IACI3J,EAAQ6J,OAAS,GAClBzB,EAAgBpI,EAAQ,GAAGiH,aAAa,MAE3CA,GAAgBrL,EAAAA,cAAA,OAAKE,UAAU,gBAC/BF,EAAAA,cAAA,KAAGkL,KAAM,GAAGG,YAAwBhK,OAAO,UAAQ,yBAIpD,I","sources":["..\\..\\..\\LSWebUICore.ClientApp\\./Components/Card.tsx","..\\..\\..\\LSWebUICore.ClientApp\\./Hooks/useClickOutside.ts","..\\..\\..\\LSWebUICore.ClientApp\\./Pages/Components/Signing/SigningModal.tsx","..\\..\\..\\LSWebUICore.ClientApp\\./Components/Review/ReviewList.tsx","..\\..\\..\\LSWebUICore.ClientApp\\./Components/Icons/Star.tsx","..\\..\\..\\LSWebUICore.ClientApp\\./Components/Rating.tsx","..\\..\\..\\LSWebUICore.ClientApp\\./Components/LsLoading/index.tsx","..\\..\\..\\LSWebUICore.ClientApp\\./Utils/assertContainerElement.ts","..\\..\\..\\LSWebUICore.ClientApp\\./Components/Review/Review.tsx","..\\..\\..\\LSWebUICore.ClientApp\\./Components/LsLoading/styles.module.scss","..\\..\\..\\LSWebUICore.ClientApp\\./Pages/PageBase.tsx","..\\..\\..\\LSWebUICore.ClientApp\\./Hooks/useUniqueId.ts","..\\..\\..\\LSWebUICore.ClientApp\\./Components/Review/ReviewPopup.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\";\r\nimport classNames from \"classnames\";\r\n\r\nexport type CardProps = HTMLAttributes & {\r\n [key: string]: any;\r\n tag?: React.ElementType;\r\n className?: string,\r\n selected?: boolean,\r\n active?: boolean,\r\n}\r\n\r\nexport const Card: React.FC = React.forwardRef(({ tag = \"div\", className, selected = false, active = false, ...rest }, ref) => {\r\n const mergedClassNames = classNames(\"card\",\r\n { \"card--selected\": selected },\r\n { \"card--active\": !selected && active },\r\n className);\r\n return React.createElement(tag, { ref: ref, className: mergedClassNames, ...rest });\r\n});","import { useEffect } from \"react\";\r\n\r\nconst useClickOutside = (ref, handler, bindTarget: Element | Document = document, disabled = false) => {\r\n useEffect(() => {\r\n if (disabled) {\r\n return;\r\n }\r\n\r\n let startedInside = false;\r\n let startedWhenMounted = false;\r\n const listener = (event) => {\r\n // Do nothing if `mousedown` or `touchstart` started inside ref element\r\n if (startedInside || !startedWhenMounted) return;\r\n // Do nothing if clicking ref's element or descendent elements\r\n if (!ref.current || ref.current.contains(event.target)) return;\r\n\r\n handler(event);\r\n };\r\n\r\n const validateEventStart = (event) => {\r\n startedWhenMounted = ref.current;\r\n startedInside = ref.current && ref.current.contains(event.target);\r\n };\r\n\r\n bindTarget.addEventListener(\"mousedown\", validateEventStart);\r\n bindTarget.addEventListener(\"touchstart\", validateEventStart);\r\n bindTarget.addEventListener(\"click\", listener);\r\n\r\n return () => {\r\n bindTarget.removeEventListener(\"mousedown\", validateEventStart);\r\n bindTarget.removeEventListener(\"touchstart\", validateEventStart);\r\n bindTarget.removeEventListener(\"click\", listener);\r\n };\r\n }, [ref, handler, bindTarget, disabled]);\r\n};\r\n\r\nexport default useClickOutside;","import React from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport * as Icons from \"Components/Icons\";\r\nimport { SigningForm } from \"./SigningForm\";\r\nimport { Modal, ModalBody } from \"Components/ReactstrapSlim\";\r\n\r\nconst DEFAULT_IMAGE_MESSAGE = [\"Work from where it works\", \"for you.\"];\r\n\r\nexport interface SigningModalProps {\r\n}\r\n\r\ntype SigningModeOrUndefined = LSStore.SigningMode | undefined;\r\n\r\nexport const SigningModal: React.FC = () => {\r\n const isOpen = useSelector(state => state.signingModal.isOpen);\r\n const initialMode = useSelector(state => state.signingModal.initialMode) as SigningModeOrUndefined;\r\n const [firstLineMessage, secondLineMessage] = useSelector(state => state.signingModal.imageMessage ?? DEFAULT_IMAGE_MESSAGE);\r\n const dispatch = useDispatch();\r\n const toggle = () => {\r\n dispatch(LSStore.signingModalSlice.actions.toggle());\r\n if (LSHelper.Account.onCloseCallback && typeof LSHelper.Account.onCloseCallback === \"function\")\r\n LSHelper.Account.onCloseCallback();\r\n }\r\n\r\n return (\r\n <>\r\n {isOpen && \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n © LiquidSpace, Inc. {new Date().getFullYear()}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {firstLineMessage &&
\r\n {firstLineMessage}\r\n
}\r\n {secondLineMessage &&
\r\n \r\n {secondLineMessage}\r\n \r\n
}\r\n
\r\n
\r\n
\r\n
\r\n
}\r\n \r\n )\r\n}","import classNames from \"classnames\";\r\nimport { LayoutContext } from \"Components/LayoutContext\";\r\nimport React, { useContext, useEffect, useState } from \"react\";\r\nimport { RatingClient, RatingViewModel } from \"Services/API/API\";\r\nimport { useApiClient } from \"Services/API/useApiClient\";\r\nimport LsLoading, { useLsLoading } from \"Components/LsLoading\";\r\nimport { Review } from \"./Review\";\r\n\r\ninterface ReviewListProps {\r\n workspaceId: Guid,\r\n take?: number,\r\n className?: string;\r\n onLoaded?: (reviews: RatingViewModel[]) => void;\r\n}\r\nconst ReviewList: React.FC = ({ workspaceId, take, className, onLoaded }) =>\r\n{\r\n const layoutContext = useContext(LayoutContext);\r\n const ratingClient = useApiClient(RatingClient);\r\n const [reviews, setReviews] = useState([]); \r\n const [wrapperClass, isLoading, setIsLoading] = useLsLoading(true);\r\n \r\n const loadReviews = async (abortSignal?: AbortSignal) => {\r\n setIsLoading(true);\r\n try {\r\n const data = await ratingClient.list(workspaceId, take);\r\n setReviews(data);\r\n if(onLoaded)\r\n onLoaded(data);\r\n }\r\n catch(ex) {\r\n if(!abortSignal?.aborted) {\r\n layoutContext.showError(ex);\r\n }\r\n }\r\n finally {\r\n if(!abortSignal?.aborted) {\r\n setIsLoading(false);\r\n }\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n const abortController = new AbortController();\r\n loadReviews(abortController.signal);\r\n return function cancel() {\r\n abortController.abort();\r\n }\r\n }, [workspaceId, take]);\r\n\r\n return (\r\n
\r\n \r\n {reviews.map(r => )}\r\n
\r\n );\r\n}\r\n\r\nexport default ReviewList;","import React from \"react\";\r\nimport { forwardRef } from \"react\";\r\nimport { Icon, IconProps } from \"./common\";\r\n\r\nconst Star: Icon = forwardRef(({ color = \"currentColor\", size = 24, ...rest }, ref) => \r\n \r\n);\r\nexport default Star;","import classNames from \"classnames\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport * as Icons from \"Components/Icons\";\r\nimport { RatingClient } from \"Services/API/API\";\r\nimport { useApiClient } from \"Services/API/useApiClient\";\r\nimport { UncontrolledTooltip } from \"Components/ReactstrapSlim\";\r\nimport uniqueId from \"lodash/uniqueId\";\r\n\r\ninterface RatingProps {\r\n className?: string;\r\n stars: number | undefined;\r\n hideNumber?: boolean;\r\n onClick?: React.MouseEventHandler;\r\n}\r\nexport const Rating: React.FC = function ({ stars, className, hideNumber, onClick }) {\r\n return (\r\n
\r\n {\r\n stars == null\r\n ? <> \r\n : <>\r\n {[...Array(5)].map((x, i) => = Math.round(stars) })} />)}\r\n {/* */}\r\n {!hideNumber && {stars.toFixed(1)}}\r\n \r\n }\r\n
\r\n );\r\n}\r\n\r\ninterface RatingAsyncProps {\r\n className?: string;\r\n venueId: Guid;\r\n workspaceId?: Guid;\r\n lazy?: boolean;\r\n}\r\nexport const RatingAsync: React.FC = function ({ venueId, workspaceId, className }) {\r\n const [stars, setStars] = useState(null);\r\n const ratingClient = useApiClient(RatingClient);\r\n\r\n useEffect(() => {\r\n const abortController = new AbortController();\r\n ratingClient.average(venueId, workspaceId, abortController.signal)\r\n .then(data => setStars(data.average));\r\n return function cleanup() {\r\n abortController.abort();\r\n }\r\n }, [venueId, workspaceId]);\r\n\r\n return stars && stars >= 1\r\n ? \r\n : null;\r\n}\r\n\r\n\r\nexport type RatingBadgeTheme = \"gray\" | \"yellow\" | \"transparent\";\r\n\r\nexport interface RatingBadgeProps {\r\n averageRating: number | undefined;\r\n ratingCount: number | undefined;\r\n theme?: RatingBadgeTheme,\r\n className?: string;\r\n}\r\n\r\nconst RatingBadgeImpl: React.FC = function ({ averageRating, ratingCount, className, theme = \"gray\" }) {\r\n const [id] = useState(() => uniqueId(\"rating-\"));\r\n const [fixedRating] = useState(() => (averageRating ?? 0).toFixed(1));\r\n\r\n return (
\r\n \r\n {fixedRating}\r\n \r\n This location is rated {fixedRating} by {ratingCount && ratingCount > 1 ? `${ratingCount} people` : \"1 person\"}\r\n \r\n
);\r\n}\r\n\r\nexport const RatingBadge: React.FC = props =>\r\n !props.averageRating || props.averageRating < 1\r\n ? null\r\n : ","import classNames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { useState, useEffect } from \"react\";\r\nimport classes from \"./styles.module.scss\";\r\nimport { useUniqueId } from \"Hooks\";\r\n\r\nexport interface LsLoadingProps {\r\n isLoading: boolean,\r\n className?: string\r\n}\r\nconst getWrapperClass = (loading: boolean): string | undefined => {\r\n return loading ? `reloading ${classes.reloading}` : undefined;\r\n}\r\n\r\nexport const useLsLoadingWrapper = (isLoading = false): string | undefined => {\r\n const [wrapperClass, setWrapperClass] = useState(getWrapperClass(isLoading));\r\n\r\n useEffect(() => {\r\n setWrapperClass(getWrapperClass(isLoading));\r\n }, [isLoading])\r\n\r\n return wrapperClass;\r\n}\r\n\r\nexport const useLsLoading = (initialIsLoading = false): [string | undefined, boolean, React.Dispatch>] => {\r\n const [isLoading, setIsLoading] = useState(initialIsLoading);\r\n const wrapperClass = useLsLoadingWrapper(isLoading);\r\n\r\n return [wrapperClass, isLoading, setIsLoading];\r\n}\r\n\r\nconst LsLoading: React.FC = ({ isLoading, className }) => {\r\n const gradient1 = useUniqueId(\"ls-loading-gradient-\");\r\n const gradient2 = useUniqueId(\"ls-loading-gradient-\");\r\n const gradient3 = useUniqueId(\"ls-loading-gradient-\");\r\n const gradient4 = useUniqueId(\"ls-loading-gradient-\");\r\n const gradient5 = useUniqueId(\"ls-loading-gradient-\");\r\n\r\n return (\r\n <>\r\n {isLoading\r\n ? \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n : null}\r\n \r\n );\r\n}\r\n\r\nexport default LsLoading;","function assertContainerElement(element: HTMLElement | null | undefined): asserts element is HTMLElement {\r\n if (!element) {\r\n throw new Error(\"Container element not found\");\r\n }\r\n}\r\n\r\nexport default assertContainerElement;","import classNames from \"classnames\";\r\nimport React, { SyntheticEvent, useEffect, useRef, useState } from \"react\";\r\nimport { RatingViewModel } from \"Services/API/API\";\r\nimport { Card, CardProps } from \"Components/Card\";\r\nimport { Rating } from \"Components/Rating\";\r\nimport moment from \"moment\";\r\n\r\ninterface ReviewProps extends CardProps {\r\n className?: string;\r\n review: RatingViewModel;\r\n}\r\nexport const Review: React.FC = ({ className, review, ...rest }) => {\r\n\r\n const reviewRef = useRef(null);\r\n\r\n const [readMoreVisible, setReadMoreVisible] = useState(false);\r\n const [isLineTrimmed, setIsLineTrimmed] = useState(true);\r\n\r\n const showOrHideMore = () => {\r\n if (reviewRef?.current && reviewRef.current.offsetHeight < reviewRef.current.scrollHeight) {\r\n setReadMoreVisible(true);\r\n }\r\n }\r\n\r\n const onClickReadMoreHandler = (e: SyntheticEvent) => {\r\n e.preventDefault();\r\n setReadMoreVisible(false);\r\n setIsLineTrimmed(false);\r\n }\r\n\r\n useEffect(() => {\r\n showOrHideMore();\r\n window.addEventListener(\"resize\", showOrHideMore);\r\n\r\n return function cleanup() {\r\n window.removeEventListener(\"resize\", showOrHideMore);\r\n }\r\n }, []);\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{review.memberFullName}
\r\n
{review.memberTitle}
\r\n
\r\n
\r\n
\r\n \r\n
{moment(review.date).format(\"MM/DD/YYYY\")}
\r\n
\r\n
\r\n
\r\n
\r\n {review.reviewText}\r\n
\r\n
\r\n Read more...\r\n
\r\n
\r\n \r\n
\r\n
\r\n
{review.workspaceName} @ {review.venueName}
\r\n
{review.venueAddress}
\r\n
\r\n
\r\n
\r\n );\r\n}","// extracted by mini-css-extract-plugin\nexport default {\"reloading\":\"L6jiG24iLLzJioD_xuG4\",\"image\":\"HEkYR99_d4EjN_rvEBB9\",\"ln\":\"admFjeYc9SGLnX8pkGbX\",\"changedash\":\"rc8r7nOxpavFLOU5sz4w\",\"ln2\":\"YzMlVNn4eVFVgS0W4Et_\",\"ln3\":\"_4IyhkCXc8POdftJWg13A\",\"shadow\":\"MZzvFzkLbteJgPrwTiXR\",\"shadow2\":\"SyBVYjeowXvsCtxJbKiN\"};","//ORDER IS IMPORTANT\r\nimport \"Utils/WebpackPublicPath\";\r\n\r\nimport \"Validation/yup/methods\";\r\n\r\nimport \"Styles/UIKit/uikit.scss\";\r\nimport * as React from \"react\";\r\nimport { CookiesProvider } from \"react-cookie\";\r\nimport { Provider } from \"react-redux\";\r\nimport { LayoutContextProvider } from \"Components/LayoutContext\";\r\n\r\ndeclare module \"react-redux\" {\r\n interface DefaultRootState extends LSStore.State {\r\n\r\n }\r\n}\r\n\r\nexport const PageBase: React.FC = function ({ children }) {\r\n return (\r\n \r\n \r\n \r\n {children}\r\n \r\n \r\n \r\n );\r\n}","import { useState } from \"react\"\r\nimport uniqueId from \"lodash/uniqueId\";\r\n\r\nfunction useUniqueId(prefix?: string | undefined) {\r\n const [id] = useState(() => uniqueId(prefix));\r\n return id;\r\n}\r\n\r\nexport default useUniqueId;","import classNames from \"classnames\";\r\nimport React, { useEffect, useImperativeHandle, useRef, useState } from \"react\";\r\nimport { Popover, PopoverBody } from \"Components/ReactstrapSlim\";\r\nimport { useClickOutside } from \"Hooks\";\r\nimport ReviewList from \"./ReviewList\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport * as Popper from \"popper.js\";\r\n\r\ninterface ReviewPopupOptions {\r\n target: HTMLElement,\r\n workspaceId: Guid\r\n}\r\n\r\nexport interface ReviewPopupHandle {\r\n open: (options: ReviewPopupOptions) => void,\r\n}\r\n\r\ninterface ReviewPopupProps {\r\n className?: string;\r\n}\r\n\r\ntype ExntededPopperData = Popper.Data & {\r\n storedTop: number\r\n}\r\n\r\nconst ReviewPopup = React.forwardRef(({ className }, ref) => {\r\n const reviewPopupStoreOptions = useSelector(state => state.reviewPopup.options);\r\n const dispatch = useDispatch();\r\n\r\n const [popupOption, setPopupOptions] = useState(undefined);\r\n const [workspaceUrl, setWorkspaceUrl] = useState(undefined);\r\n const popoverRef = useRef(null);\r\n\r\n const closePopup = () => {\r\n setPopupOptions(undefined);\r\n dispatch(LSStore.reviewPopupSlice.actions.close());\r\n }\r\n\r\n useClickOutside(popoverRef, (event: Event) => { \r\n closePopup();\r\n });\r\n\r\n useImperativeHandle(ref, () => ({\r\n open: setPopupOptions\r\n }));\r\n\r\n useEffect(() => {\r\n if (popupOption == undefined && reviewPopupStoreOptions != undefined)\r\n setPopupOptions({\r\n target: reviewPopupStoreOptions.target as HTMLElement,\r\n workspaceId: reviewPopupStoreOptions.workspaceId\r\n })\r\n else {\r\n setPopupOptions(undefined);\r\n if (reviewPopupStoreOptions != undefined) {\r\n setTimeout(() => setPopupOptions({\r\n target: reviewPopupStoreOptions.target as HTMLElement,\r\n workspaceId: reviewPopupStoreOptions.workspaceId\r\n }), 10);\r\n }\r\n }\r\n }, [reviewPopupStoreOptions]) \r\n\r\n useEffect(() => {\r\n if(popupOption == undefined) {\r\n setWorkspaceUrl(undefined);\r\n }\r\n }, [popupOption]);\r\n\r\n return popupOption == undefined\r\n ? null\r\n : ( { closePopup(); }} className={classNames(\"review-popup\", className)} modifiers={\r\n {\r\n /*\r\n * Save/Restore Y position solves the problem of preventOverflow modifier in popper v1:\r\n * it always tries to fit in the boundry on both primary (left/right - for placement=\"top\") and secondary (top/bottom - for placement=\"top\") axis.\r\n * To skip secondary axis preventOverflow, we have to store the top value before preventOverflow and restore it after.\r\n * In popper v2 it is simply done by setting altAxes to false in preventOverflow modifier options\r\n * \r\n * Additionally added a closeOnHide modifier, that closes the popover when target is considered hidden.\r\n * It also not working as good as it could, because in v1 detection of \"isVisible\" isn't correct.\r\n * It would've been better with Intersection Observer\r\n */\r\n saveYPosition: {\r\n enabled: true,\r\n fn(data, options) {\r\n (data as ExntededPopperData).storedTop = data.offsets.popper.top;\r\n\r\n return data;\r\n },\r\n order: 250\r\n }, \r\n restoreYPosition: {\r\n enabled: true,\r\n fn(data, options) {\r\n data.offsets.popper.top = (data as ExntededPopperData).storedTop;\r\n\r\n return data;\r\n },\r\n order: 350\r\n }, \r\n closeOnHide: {\r\n enabled: true,\r\n fn: (data, options) => {\r\n if (data.hide) {\r\n if (data.instance.popper.parentNode != null)\r\n data.instance.popper.parentNode.removeChild(data.instance.popper);\r\n }\r\n return data;\r\n }\r\n }\r\n }\r\n }>\r\n {({ scheduleUpdate }) =>\r\n (
\r\n \r\n {\r\n scheduleUpdate(); //Forces popover to reposition. We need to do this because content has loaded after poper has already positioned itself \r\n if (reviews.length > 1)\r\n setWorkspaceUrl(reviews[0].workspaceUrl); \r\n }} />\r\n {!!workspaceUrl && }\r\n \r\n
)}\r\n
)\r\n})\r\n\r\nexport default ReviewPopup;"],"names":["Card","React","tag","className","selected","active","rest","ref","mergedClassNames","classNames","useClickOutside","handler","bindTarget","document","disabled","useEffect","startedInside","startedWhenMounted","listener","event","current","contains","target","validateEventStart","addEventListener","removeEventListener","DEFAULT_IMAGE_MESSAGE","SigningModal","isOpen","useSelector","state","signingModal","initialMode","firstLineMessage","secondLineMessage","imageMessage","dispatch","useDispatch","toggle","LSStore","signingModalSlice","actions","LSHelper","Account","onCloseCallback","Modal","centered","trapFocus","ModalBody","role","tabIndex","onClick","Icons","SigningForm","mode","isModal","closeModal","Date","getFullYear","ReviewList","workspaceId","take","onLoaded","layoutContext","useContext","LayoutContext","ratingClient","useApiClient","RatingClient","reviews","setReviews","useState","wrapperClass","isLoading","setIsLoading","useLsLoading","abortController","AbortController","async","data","list","ex","abortSignal","aborted","showError","loadReviews","signal","abort","LsLoading","map","r","Review","key","id","review","forwardRef","color","size","width","height","viewBox","fill","xmlns","d","Rating","stars","hideNumber","Array","x","i","Math","round","toFixed","RatingBadgeImpl","averageRating","ratingCount","theme","uniqueId","fixedRating","UncontrolledTooltip","placement","fade","RatingBadge","props","getWrapperClass","loading","classes","reloading","undefined","useLsLoadingWrapper","setWrapperClass","initialIsLoading","gradient1","useUniqueId","gradient2","gradient3","gradient4","gradient5","image","bg","white","stroke","strokeWidth","ln","ln1","ln3","shadow","shadow2","shadow1","ln2","x1","y1","x2","y2","gradientUnits","stopColor","offset","stopOpacity","element","Error","reviewRef","useRef","readMoreVisible","setReadMoreVisible","isLineTrimmed","setIsLineTrimmed","showOrHideMore","offsetHeight","scrollHeight","window","style","backgroundImage","memberPicture","memberFullName","memberTitle","moment","date","format","reviewText","href","e","preventDefault","workspaceUrl","workspacePicture","title","workspaceName","venueName","venueAddress","PageBase","children","Provider","store","instance","LayoutContextProvider","CookiesProvider","prefix","reviewPopupStoreOptions","reviewPopup","options","popupOption","setPopupOptions","setWorkspaceUrl","popoverRef","closePopup","reviewPopupSlice","close","useImperativeHandle","open","setTimeout","Popover","modifiers","saveYPosition","enabled","fn","storedTop","offsets","popper","top","order","restoreYPosition","closeOnHide","hide","parentNode","removeChild","scheduleUpdate","PopoverBody","length"],"sourceRoot":""}