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,iBAAiB,GAElC,IAGAH,EAAE,gBAAgBC,MAAK,WACgB,GAAjCD,EAAEE,MAAMC,KAAK,mBACfH,EAAEE,MAAME,OAAM,SAAUC,GACtBA,EAAEC,iBACFN,EAAEE,MAAMe,QAAQ,iBAAiBC,YAAY,YAC/C,IACAlB,EAAEE,MAAMC,KAAK,iBAAiB,GAElC,IAEAH,EAAE,mBAAmBC,MAAK,WACW,GAA/BD,EAAEE,MAAMC,KAAK,iBACfH,EAAEE,MAAME,OAAM,SAAUC,GACtBA,EAAEC,iBACFN,EAAEE,MAAMgB,YAAY,aACpBlB,EAAEE,MAAMe,QAAQ,OAAOH,KAAK,gBAAgBI,YAAY,YAC1D,IACAlB,EAAEE,MAAMC,KAAK,eAAe,GAEhC,GACF,G","sources":["webpack://daocloud/./app/javascript/components/header/MobileMenu.jsx","webpack://daocloud/./app/javascript/components/shared/DesktopH5.jsx","webpack://daocloud/./app/javascript/components/shared/DesktopTitle3.jsx","webpack://daocloud/./app/javascript/components/shared/HealMeSquareButton.jsx","webpack://daocloud/./app/javascript/components/shared/HealMeTooltip.jsx","webpack://daocloud/./app/javascript/components/shared/LoadingSpinner.jsx","webpack://daocloud/./app/javascript/components/shared/Modal.jsx","webpack://daocloud/./app/javascript/components/shared/RadioButtons.jsx","webpack://daocloud/./app/javascript/hooks/useWindowSize.jsx","webpack://daocloud/./app/javascript/src/application/toggle-controls.js"],"sourcesContent":["import clsx from \"clsx\"\nimport PropTypes from \"prop-types\"\nimport React, { useState } from \"react\"\n\nconst logoutLink = \"/logout\"\nconst findPractitionerLink = \"/practitioner-search\"\nconst listYourPracticeLink = \"/lp/application\"\n\nconst LinkList = ({ items }) => (\n <>\n {items.map((item) => (\n \n {item.name}\n \n ))}\n \n)\n\nconst MobileMenuContainer = ({ children }) => {\n const [isHovered, setIsHovered] = useState(false)\n\n const handleMouseEnter = () => {\n setIsHovered(true)\n }\n\n const handleMouseLeave = () => {\n setIsHovered(false)\n }\n\n const toggleShow = () => {\n setIsHovered(!isHovered)\n }\n\n return (\n \n \n
\n {children}\n
\n \n )\n}\n\nconst MobileMenu = ({ isLoggedIn, isPractitioner }) => {\n const DefaultLinks = [\n { name: \"Home\", href: \"/\" },\n { name: \"Find Practitioners\", href: findPractitionerLink },\n { name: \"List Your Practice\", href: listYourPracticeLink },\n { name: \"Login\", href: \"/login\" }\n ]\n\n const ClientLoggedInLinks = [\n { name: \"Home\", href: \"/\" },\n { name: \"Find Practitioners\", href: findPractitionerLink },\n { name: \"List Your Practice\", href: listYourPracticeLink },\n { name: \"Payment Methods\", href: \"/payment_methods\" },\n { name: \"Your Bookings\", href: \"/appointments\" },\n { name: \"Your Reviews\", href: \"/my-reviews\" },\n { name: \"Settings\", href: \"/settings\" },\n { name: \"Logout\", href: logoutLink }\n ]\n\n return (\n <>\n {isLoggedIn && isPractitioner ? null : (\n \n {isLoggedIn ? : }\n \n )}\n \n )\n}\n\nMobileMenu.propTypes = {\n isLoggedIn: PropTypes.bool.isRequired,\n isPractitioner: PropTypes.bool.isRequired\n}\n\nexport default MobileMenu\n","import React from \"react\"\nimport styled from \"styled-components\"\n\nconst Title = styled.h2`\n font-family: \"Manrope\";\n font-style: normal;\n font-weight: 700;\n font-size: 24px;\n line-height: 32px;\n letter-spacing: -1%;\n color: #0b3954;\n margin-bottom: 24px;\n\n @media only screen and (max-width: 768px) {\n font-size: 21px;\n line-height: 27px;\n }\n`\n// DEPRECATED: use Typography instead\nexport default function DesktopTitle1({ content }) {\n return {content}\n}\n","import React from \"react\"\nimport styled from \"styled-components\"\n\nconst Title = styled.h3`\n font-family: inherit\n font-style: normal;\n font-weight: 500;\n font-size: 18px;\n line-height: 24px;\n letter-spacing: -1%;\n color: #0b3954;\n margin-bottom: 16px;\n`\n// DEPRECATED: use Typography instead\nexport default function DesktopTitle3({ content }) {\n return {content}\n}\n","import PropTypes from \"prop-types\"\nimport React from \"react\"\nimport styled from \"styled-components\"\n\nconst Button = styled.button`\n border: none;\n padding: 12px 16px;\n background: #0d9da4;\n color: #fff;\n font-size: 16px;\n font-weight: 700;\n text-align: center;\n letter-spacing: 0.03em;\n height: fit-content;\n min-width: 130px;\n border-radius: 4px;\n\n &:hover {\n cursor: pointer;\n }\n\n &:disabled {\n opacity: 50%;\n\n &:hover {\n cursor: not-allowed;\n }\n }\n ${({ fullWidth }) => fullWidth && `width: 100%;`}\n\n ${({ fitContent }) => fitContent && `width: fit-content;`}\n\n ${({ size }) => size === \"slim\" && `padding: 10px 37px; font-size: 14px; font-weight: 500; border-radius: 4px;`}\n\n ${({ size }) =>\n size === \"large\" && `padding: 24px 48px; font-size: 14px; font-weight: 700; border-radius: 4px; min-width: 175px;`}\n\n ${({ size }) =>\n size === \"medium\" && `padding: 16px 24px; font-size: 16px; font-weight: 700; border-radius: 4px; min-width: 175px;`}\n\n ${({ size }) =>\n size === \"small\" && `padding: 0px 16px; font-size: 16px; line-height: 32px; font-weight: 700; border-radius: 4px;`}\n\n ${({ type }) =>\n type === \"primary\" &&\n `&:hover:enabled { background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), #0D9DA4;}`}\n\n ${({ type }) => type === \"tertiary\" && `&:hover:enabled { background-color: #E4EFF6;}`}\n\n ${({ type }) => type === \"white\" && `&:hover:enabled { border: 1px solid #889FAD !important;}`}\n`\nconst customStyling = {\n secondary: {},\n tertiary: {\n background: \"#F3F8FB\",\n color: \"#0D9DA4\",\n border: \"1px solid #F3F8FB\"\n },\n link: {\n color: \"#0D9DA4\",\n background: \"transparent\",\n border: \"1px solid #0D9DA4\"\n },\n redLink: {\n color: \"#EB5757\",\n background: \"transparent\"\n },\n quaternary: {\n background: \"#fff\",\n color: \"#0B3954\",\n border: \"1px solid #C8D6DF\",\n padding: \"8px 24px\",\n fontSize: \"14px\",\n fontWeight: \"400\",\n lineHeight: \"16px\"\n },\n warning: {\n background: \"#EB5757\",\n color: \"#FFF\",\n letterSpacing: \"3%\",\n lineHeight: \"16px\",\n border: \"1px solid #EB5757\"\n },\n white: {\n background: \"#fff\",\n color: \"#0B3954\",\n border: \"1px solid #C8D6DF\"\n }\n}\n\nconst HealMeSquareButton = ({\n type,\n icon,\n label,\n disabled = false,\n onClick,\n fullWidth = false,\n fitContent = false,\n size = \"full\",\n loading = false,\n className,\n testId\n}) => {\n if (disabled) {\n onClick = undefined\n }\n\n return (\n \n {loading ? (\n \n ) : (\n <>\n {icon && } {label}\n \n )}\n \n )\n}\n\nHealMeSquareButton.propTypes = {\n type: PropTypes.oneOf([\"primary\", \"secondary\", \"tertiary\", \"link\", \"redLink\", \"quaternary\", \"warning\", \"white\"]),\n icon: PropTypes.string,\n label: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n fullWidth: PropTypes.bool,\n fitContent: PropTypes.bool,\n size: PropTypes.oneOf([\"slim\", \"medium\", \"large\", \"full\"]),\n loading: PropTypes.bool,\n className: PropTypes.string,\n testId: PropTypes.string\n}\n\nexport default HealMeSquareButton\n","import PropTypes from \"prop-types\"\nimport React from \"react\"\nimport { Tooltip } from \"react-tooltip\"\n\nconst HealMeTooltip = (props) => (\n \n)\n\nHealMeTooltip.propTypes = {\n id: PropTypes.string,\n anchorSelect: PropTypes.string,\n render: PropTypes.func,\n place: PropTypes.oneOf([\"top\", \"right\", \"bottom\", \"left\"]),\n noArrow: PropTypes.bool,\n isOpen: PropTypes.bool\n}\n\nexport default HealMeTooltip\n","import React from \"react\"\nimport { twMerge } from \"tailwind-merge\"\n\nconst LoadingSpinner = ({ className, spinnerClassName }) => (\n
\n \n \n \n \n
\n)\n\nexport default LoadingSpinner\n","import NiceModal, { useModal } from \"@ebay/nice-modal-react\"\nimport { Dialog, DialogPanel, Transition, TransitionChild } from \"@headlessui/react\"\nimport { XMarkIcon } from \"@heroicons/react/24/outline\"\nimport PropTypes from \"prop-types\"\nimport React, { useState, useEffect, Fragment } from \"react\"\nimport ReactModal from \"react-modal\"\nimport styled from \"styled-components\"\nimport { twMerge } from \"tailwind-merge\"\n\nimport { Button, CloseButton } from \"./Buttons\"\nimport DesktopH5 from \"./DesktopH5\"\nimport DesktopTitle3 from \"./DesktopTitle3\"\nimport HealMeSquareButton from \"./HealMeSquareButton\"\nimport Typography from \"./Typography\"\n\nconst ModalContent = styled.div`\n margin: ${(props) => props.contentMargin};\n overflow-y: scroll;\n overflow-x: hidden;\n max-height: calc(80vh - ${(props) => props.headerHeight}px - ${(props) => props.footerHeight}px - 164px);\n @media (min-width: 640px) and (max-width: 767px) {\n max-height: calc(80vh - ${(props) => props.headerHeight}px - ${(props) => props.footerHeight}px - 104px);\n }\n @media (max-width: 767px) {\n max-height: calc(100vh - ${(props) => props.headerHeight}px - ${(props) => props.footerHeight}px - 164px);\n }\n`\n// DEPRECATED: use AnimatedModal instead\nconst Modal = ({\n closeModal,\n open,\n children,\n header,\n footer,\n hideFooter,\n handleClick,\n size = \"large\",\n wide = false,\n contentMargin = \"32px 32px 140px 32px\"\n}) => {\n const [dimension, updateDimension] = useState({ width: 0, height: 0 })\n\n useEffect(() => {\n updateDimension({\n ...dimension,\n width: window.innerWidth,\n height: window.innerHeight\n })\n }, [window.innerWidth])\n\n const customStyles = {\n content: {\n top: \"50%\",\n left: \"50%\",\n right: \"auto\",\n bottom: \"auto\",\n marginRight: \"-50%\",\n transform: \"translate(-50%, -50%)\",\n width: size === \"large\" || wide ? \"60vw\" : \"40vw\",\n padding: \"0\",\n borderColor: \"#E4EFF6\",\n height: size === \"large\" ? \"80vh\" : \"fit-content\",\n overflow: \"none\"\n },\n overlay: { zIndex: 9999, backgroundColor: \"rgba(0,0,0,0.6)\" }\n }\n\n const mobileCustomStyle = {\n content: {\n top: \"0\",\n left: \"0\",\n right: \"auto\",\n bottom: \"auto\",\n marginRight: \"0\",\n transform: \"none\",\n inset: \"none\",\n width: \"100vw\",\n padding: \"0\",\n borderColor: \"#E4EFF6\",\n height: size === \"small\" ? \"100vh\" : \"100vh\",\n overflow: \"none\",\n position: \"fixed\",\n overflowY: \"scroll\"\n },\n overlay: { zIndex: 99993, backgroundColor: \"rgba(0,0,0,0.6)\" }\n }\n\n const [headerHeight, setHeaderHeight] = useState(0)\n const [headerEl, setHeaderEl] = useState()\n\n const [footerHeight, setFooterHeight] = useState(0)\n const [footerEl, setFooterEl] = useState()\n\n useEffect(() => {\n setHeaderHeight(headerEl?.clientHeight)\n setFooterHeight(footerEl?.clientHeight)\n }, [headerEl, footerEl])\n\n const mdBreakpoint = 767\n return (\n
\n \n
\n
\n \n
\n {header && (\n
\n {\n setHeaderEl(el)\n }}>\n {header}\n
\n
\n )}\n \n {children}\n \n {\n setFooterEl(el)\n }}>\n {!hideFooter && (\n <>\n {footer ? (\n
\n
{footer}
\n
\n ) : (\n \n
\n \n
\n
\n )}\n \n )}\n \n \n \n \n )\n}\n\nModal.propTypes = {\n closeModal: PropTypes.func,\n open: PropTypes.bool,\n children: PropTypes.node,\n header: PropTypes.node,\n footer: PropTypes.node,\n hideFooter: PropTypes.bool,\n handleClick: PropTypes.func,\n size: PropTypes.oneOf([\"large\", \"small\"]),\n wide: PropTypes.bool,\n contentMargin: PropTypes.string\n}\n\nexport default Modal\n\nexport const SaveOrCancelFooter = ({ onSave, onCancel, loading, cancelLabel = \"Cancel\", saveLabel = \"Save\" }) => (\n <>\n onCancel()} label={cancelLabel} />\n onSave()} label={saveLabel} />\n \n)\n\nexport const ConfirmCancelModal = NiceModal.create(({ loading }) => {\n const modal = useModal()\n\n return (\n modal.hide()}\n size=\"small\"\n header={\n
\n \n
\n }\n footer={\n <>\n modal.hide()} label=\"Go back\" />\n modal.resolve()}\n label=\"Cancel appointment\"\n />\n \n }>\n \n

This appointment will immediately be cancelled and the practitioner will be notified.

\n \n )\n})\n\n// This code is based on https://tailwindui.com/components/application-ui/overlays/modals\nexport const NewModal = NiceModal.create(({ children, ...rest }) => {\n const modal = useModal()\n\n return (\n modal.remove()} {...rest}>\n {children}\n \n )\n})\n\n// TODO: for some reason the NewModal using NiceModal doesn't animate. This one uses the same code\n// except it using React state to manage the visibility instead of NiceModal.\nexport const AnimatedModal = ({\n visible,\n hideModal,\n children,\n header,\n showFooter = false,\n footerButtons = [],\n cancelButtonCopy = \"Cancel\",\n cancelButtonType = \"tertiary\",\n actionButtonCopy = \"Save\",\n actionButtonType = \"primary\",\n onSave,\n fullHeightInMobile = false,\n saveDisabled = false,\n hideSaveButton = false,\n hideCancelButton = false,\n overflowVisible = false,\n unmount = true,\n animate = true,\n dialogClassName = \"\",\n hideCloseButton = false\n}) => (\n \n \n \n
\n \n\n
\n
\n \n \n {header ? (\n
\n \n {header}\n \n {!hideCloseButton && }\n
\n ) : !hideCloseButton ? (\n \n ) : null}\n {children}\n {showFooter && (\n
\n
\n {!hideCancelButton && (\n \n )}\n {footerButtons.map((button) => {\n if (button.show === false) return null\n return (\n \n {button.label}\n \n )\n })}\n {!hideSaveButton && (\n \n )}\n
\n
\n )}\n \n \n
\n
\n
\n
\n)\n\nexport const MobileFullScreenModal = ({\n visible,\n hideModal,\n children,\n header,\n showFooter = false,\n cancelButtonCopy = \"Cancel\",\n cancelButtonType = \"tertiary\",\n actionButtonCopy = \"Save\",\n actionButtonType = \"primary\",\n onSave,\n onCancel,\n saveDisabled = false,\n hideSaveButton = false,\n overflowVisible = false,\n unmount = true\n}) => (\n \n
\n
\n \n {header ? (\n
\n \n {header}\n \n \n
\n ) : (\n \n )}\n {children}\n {showFooter && (\n
\n
\n \n {!hideSaveButton && (\n \n )}\n
\n
\n )}\n \n
\n
\n
\n)\n\nexport const ModalBackdrop = ({ children, visible, hideModal }) => (\n \n \n \n
\n \n \n \n \n\n
\n \n {children}\n \n
\n
\n
\n)\n","import React from \"react\"\nimport { twMerge } from \"tailwind-merge\"\n\nimport HealMeTooltip from \"./HealMeTooltip\"\nimport { Label } from \"./Inputs\"\n\nexport const Radio = ({ className, ...rest }) => (\n \n)\n\nexport const RadioWithLabel = ({ id, label, checked, disabledTooltipMessage, className, ...rest }) => {\n id ||= \"radio-\" + label.toLowerCase().replace(\" \", \"-\")\n\n return (\n
\n \n \n {rest.disabled && disabledTooltipMessage && (\n \n )}\n
\n )\n}\n","import { useState, useEffect } from \"react\"\n\nexport default function useWindowSize() {\n const isSSR = typeof window === \"undefined\"\n\n const [windowSize, setWindowSize] = useState({\n width: isSSR ? null : window.innerWidth,\n height: isSSR ? null : window.innerHeight\n })\n\n function changeWindowSize() {\n setWindowSize({ width: window.innerWidth, height: window.innerHeight })\n }\n\n useEffect(() => {\n window.addEventListener(\"resize\", changeWindowSize)\n\n return () => {\n window.removeEventListener(\"resize\", changeWindowSize)\n }\n }, [])\n\n return windowSize\n}\n","document.addEventListener(\"DOMContentLoaded\", function () {\n // Sometimes, using .js/remote loads requires us to fire App.refireLoad()\n // so all the JS we need works.\n //\n // Sometimes, this means that jQuery handlers can get attached multiple times to the\n // same objects. Usually this makes little difference as even if it runs multiple times\n // it has no problematic effect. Like the [data-icon] handler, or the handler that adds 'working'\n // class to a form button on submit. Even if it runs multiple times, it's just adding the 'working'\n // class a few times - which isn't an issue.\n\n // But click events that use class toggles cause issues, as having a double handler means\n // that toggle behavior runs twice, ie, it cancels itself out.\n\n // All such tricky controls are grouped here and constructed to first check on the element\n // if the handler was already bound once.\n\n // Togglers\n $(\"[data-toggle]\").each(function () {\n if ($(this).data(\"toggleBound\") != true) {\n $(this).click(function (e) {\n e.preventDefault()\n let targetSelector = $(this).attr(\"data-toggle\")\n $(targetSelector).slideToggle()\n\n if ($(this).attr(\"data-remove\")) {\n $(this).fadeOut()\n $(\"#close-booking-modal-button\").removeClass(\"hidden\")\n }\n\n if ($(this).attr(\"data-remove-book-btn\")) {\n $(\"#book-session-button\").fadeOut()\n $(\"#close-booking-modal-button\").removeClass(\"hidden\")\n }\n\n if ($(this).attr(\"data-restore\")) {\n $(\"#close-booking-modal-button\").addClass(\"hidden\")\n $(\"#book-session-button\").attr(\"style\", \"display:block\")\n }\n })\n $(this).data(\"toggleBound\", true)\n }\n })\n\n // Action Toggles\n $(\"[data-action-toggle]\").each(function () {\n if ($(this).data(\"toggleBound\") != true) {\n const el = $(this)\n const links = el.find(\"[data-toggler] a\")\n $(\"[data-action-target]\", el).hide()\n\n links.click(function (e) {\n e.preventDefault()\n\n if ($(this).hasClass(\"selected\")) {\n $(\"[data-action-target]\", el).hide()\n $(this).removeClass(\"selected\")\n } else {\n links.removeClass(\"selected\")\n $(\"[data-action-target]\", el).hide()\n\n const action = $(this).attr(\"data-action\")\n el.find(`[data-action-target][data-action=${action}]`).show()\n el.find(`[data-toggler] a[data-action=${action}]`).addClass(\"selected\")\n }\n })\n $(this).data(\"toggleBound\", true)\n }\n })\n\n // Dropdowns\n $(\".dropdown button\").each(function () {\n if ($(this).data(\"dropdownBound\") != true) {\n $(this).click((e) => {\n e.preventDefault()\n $(this).closest(\".dropdown\").toggleClass(\"is-active\")\n })\n $(this).data(\"dropdownBound\", true)\n }\n })\n\n $(\".dropdown .dropdown-trigger a\").each(function () {\n if ($(this).data(\"dropdownBound\") != true) {\n $(this).click((e) => {\n e.preventDefault()\n $(this).closest(\".dropdown\").toggleClass(\"is-active\")\n })\n $(this).data(\"dropdownBound\", true)\n }\n })\n\n // Navbar\n $(\".navbar-link\").each(function () {\n if ($(this).data(\"dropdownBound\") != true) {\n $(this).click(function (e) {\n e.preventDefault()\n $(this).closest(\".has-dropdown\").toggleClass(\"is-active\")\n })\n $(this).data(\"dropdownBound\", true)\n }\n })\n\n $(\"a.navbar-burger\").each(function () {\n if ($(this).data(\"toggleBound\") != true) {\n $(this).click(function (e) {\n e.preventDefault()\n $(this).toggleClass(\"is-active\")\n $(this).closest(\"nav\").find(\".navbar-menu\").toggleClass(\"is-active\")\n })\n $(this).data(\"toggleBound\", true)\n }\n })\n})\n"],"names":["findPractitionerLink","listYourPracticeLink","LinkList","items","React","map","item","className","key","name","href","MobileMenuContainer","children","isHovered","setIsHovered","useState","onMouseEnter","handleMouseEnter","onMouseLeave","handleMouseLeave","onClick","toggleShow","clsx","MobileMenu","isLoggedIn","isPractitioner","DefaultLinks","ClientLoggedInLinks","Title","styled","h2","DesktopTitle1","content","h3","DesktopTitle3","Button","button","fullWidth","fitContent","size","type","customStyling","secondary","tertiary","background","color","border","link","redLink","quaternary","padding","fontSize","fontWeight","lineHeight","warning","letterSpacing","white","HealMeSquareButton","icon","label","disabled","loading","testId","undefined","style","src","width","props","Tooltip","Object","assign","zIndex","maxWidth","borderRadius","LoadingSpinner","spinnerClassName","twMerge","xmlns","fill","viewBox","cx","cy","r","stroke","strokeWidth","d","ModalContent","div","contentMargin","headerHeight","footerHeight","Modal","closeModal","open","header","footer","hideFooter","handleClick","wide","dimension","updateDimension","height","useEffect","window","innerWidth","innerHeight","customStyles","top","left","right","bottom","marginRight","transform","borderColor","overflow","overlay","backgroundColor","mobileCustomStyle","inset","position","overflowY","setHeaderHeight","headerEl","setHeaderEl","setFooterHeight","footerEl","setFooterEl","clientHeight","ReactModal","isOpen","onRequestClose","ariaHideApp","ref","el","paddingBottom","ConfirmCancelModal","NiceModal","modal","useModal","visible","hide","DesktopH5","resolve","NewModal","rest","AnimatedModal","hideModal","remove","showFooter","footerButtons","cancelButtonCopy","cancelButtonType","actionButtonCopy","actionButtonType","onSave","fullHeightInMobile","saveDisabled","hideSaveButton","hideCancelButton","overflowVisible","unmount","animate","dialogClassName","hideCloseButton","Transition","show","Dialog","onClose","TransitionChild","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","DialogPanel","Typography","variant","as","CloseButton","MobileFullScreenModal","onCancel","ModalBackdrop","Fragment","XMarkIcon","Radio","RadioWithLabel","id","checked","disabledTooltipMessage","toLowerCase","replace","Label","htmlFor","HealMeTooltip","place","useWindowSize","isSSR","windowSize","setWindowSize","changeWindowSize","addEventListener","removeEventListener","document","$","each","this","data","click","e","preventDefault","targetSelector","attr","slideToggle","fadeOut","removeClass","addClass","links","find","hasClass","action","closest","toggleClass"],"sourceRoot":""}