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,CAiDnR,IA/Cc,SAAiBO,GAC7B,OAAoB,gBAAoB,MAAOb,EAAS,CACtDc,MAAO,6BACPC,MAAO,IACPC,OAAQ,GACRC,KAAM,QACLJ,GAAQd,IAAUA,EAAqB,gBAAoB,OAAQ,CACpEkB,KAAM,OACNC,SAAU,UACVC,EAAG,g7CACH2E,SAAU,aACPH,IAAWA,EAAsB,gBAAoB,OAAQ,CAChE1E,KAAM,oBACNC,SAAU,UACVC,EAAG,28FACH2E,SAAU,aACPF,IAAWA,EAAsB,gBAAoB,OAAQ,CAChE3E,KAAM,oBACNC,SAAU,UACVC,EAAG,0uBACH2E,SAAU,aACPD,IAAUA,EAAqB,gBAAoB,OAAQ,KAAmB,gBAAoB,iBAAkB,CACvHE,GAAI,cACJC,GAAI,QACJC,GAAI,QACJC,GAAI,OACJC,GAAI,OACJC,cAAe,kBACD,gBAAoB,OAAQ,CAC1CC,UAAW,YACI,gBAAoB,OAAQ,CAC3C3B,OAAQ,EACR2B,UAAW,aACK,gBAAoB,iBAAkB,CACtDN,GAAI,cACJC,IAAK,MACLC,GAAI,OACJC,GAAI,OACJC,GAAI,OACJC,cAAe,kBACD,gBAAoB,OAAQ,CAC1CC,UAAW,YACI,gBAAoB,OAAQ,CAC3C3B,OAAQ,EACR2B,UAAW,eAEf,C","sources":["webpack://LessMeeting/./wwwroot/src/images/caret.svg","webpack://LessMeeting/./wwwroot/src/images/wallet.svg","webpack://LessMeeting/./wwwroot/src/js/components/layout.tsx","webpack://LessMeeting/./wwwroot/src/js/components/common/avatar.tsx","webpack://LessMeeting/./wwwroot/src/images/settings.svg","webpack://LessMeeting/./wwwroot/src/images/logout.svg","webpack://LessMeeting/./wwwroot/src/images/menu.svg","webpack://LessMeeting/./wwwroot/src/images/logo.svg"],"sourcesContent":["var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nvar SvgCaret = function SvgCaret(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 10,\n height: 7\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M8.97 1.055a1 1 0 0 0-1.415 0L4.762 3.848 1.97 1.055A1 1 0 1 0 .555 2.47l3.5 3.5a1 1 0 0 0 1.414 0l3.5-3.5a1 1 0 0 0 0-1.414\"\n })));\n};\nexport default SvgCaret;","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nvar SvgWallet = function SvgWallet(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 15,\n height: 12\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.52 1.28H2.56a1.28 1.28 0 0 0-1.28 1.28v6.4c0 .707.573 1.28 1.28 1.28h8.96a1.28 1.28 0 0 0 1.28-1.28v-6.4a1.28 1.28 0 0 0-1.28-1.28M2.56 0A2.56 2.56 0 0 0 0 2.56v6.4a2.56 2.56 0 0 0 2.56 2.56h8.96a2.56 2.56 0 0 0 2.56-2.56v-6.4A2.56 2.56 0 0 0 11.52 0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.68 5.76a3.2 3.2 0 0 1 3.2-3.2h2.56a.64.64 0 0 1 0 1.28h-2.56a1.92 1.92 0 0 0 0 3.84h2.56a.64.64 0 0 1 0 1.28h-2.56a3.2 3.2 0 0 1-3.2-3.2\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M11.52 5.76a.64.64 0 1 1-1.28 0 .64.64 0 0 1 1.28 0\"\n }))));\n};\nexport default SvgWallet;","import { useState, useEffect } from \"react\";\r\nimport { useResponsive } from 'ahooks'\r\nimport { DateTime } from 'luxon'\r\nconst { findWindows } = await import(\r\n /* webpackChunkName: \"windowsiana\" */ 'windows-iana'\r\n);\r\n\r\nimport AvatarComponent from \"./common/avatar\"\r\n\r\nimport CaretIcon from \"../../images/caret.svg\";\r\nimport WalletIcon from \"../../images/wallet.svg\";\r\nimport SettingsIcon from \"../../images/settings.svg\";\r\nimport LogoutIcon from \"../../images/logout.svg\";\r\nimport LogoIcon from \"../../images/logo.svg\";\r\nimport MenuIcon from \"../../images/menu.svg\";\r\n\r\ntype Props = LayoutProps & TimezoneDifferenceComponentProps;\r\n\r\nexport default function Component(props: Props): JSX.Element {\r\n return (<>\r\n \r\n \r\n )\r\n}\r\n\r\ntype LayoutProps = {\r\n name: string;\r\n selectedMenu: string;\r\n licensesText: string;\r\n licensesUrl: string;\r\n tutorialUrl: string;\r\n outlookUrl: string;\r\n settingsUrl: string;\r\n signOutUrl: string;\r\n userHomeUrl: string;\r\n meetingsUrl: string;\r\n userTasksUrl: string;\r\n teamsUrl: string;\r\n};\r\n\r\nfunction LayoutComponent(props: Props): JSX.Element {\r\n const responsive = useResponsive()\r\n\r\n if (!responsive[\"lg\"]) {\r\n return \r\n }\r\n\r\n return \r\n}\r\n\r\nfunction MobileLayout({\r\n name,\r\n selectedMenu,\r\n licensesText,\r\n licensesUrl,\r\n tutorialUrl,\r\n settingsUrl,\r\n signOutUrl,\r\n userHomeUrl,\r\n meetingsUrl,\r\n userTasksUrl,\r\n teamsUrl,\r\n}: Props): JSX.Element {\r\n const [isOpen, setIsOpen] = useState(false);\r\n\r\n const toggleOpen = () => setIsOpen(!isOpen);\r\n\r\n useEffect(() => {\r\n const close = () => setIsOpen(false);\r\n\r\n if (isOpen) {\r\n document.addEventListener(\"click\", close);\r\n } else {\r\n document.removeEventListener(\"click\", close);\r\n }\r\n return () => document.removeEventListener(\"click\", close);\r\n }, [isOpen]);\r\n\r\n let links = [\r\n { text: \"Help\", href: \"https://support.lessmeeting.com\", pageName: \"help\", isSeparated: true },\r\n { text: \"Tutorial\", href: tutorialUrl, pageName: \"help\", isSeparated: true },\r\n { text: \"Dashboard\", href: userHomeUrl, pageName: \"home\", isSeparated: true },\r\n { text: \"Meetings\", href: meetingsUrl, pageName: \"meetings\", isSeparated: false },\r\n { text: \"Action Items\", href: userTasksUrl, pageName: \"tasks\", isSeparated: false },\r\n { text: \"Teams\", href: teamsUrl, pageName: \"team\", isSeparated: false },\r\n { text: \"Settings\", href: settingsUrl, pageName: \"settings\", isSeparated: true },\r\n { text: \"Sign Out\", href: signOutUrl, pageName: \"signout\", isSeparated: true },\r\n ]\r\n\r\n if (licensesUrl) {\r\n links = [\r\n { text: \"Help\", href: \"https://support.lessmeeting.com\", pageName: \"help\", isSeparated: true },\r\n { text: \"Tutorial\", href: tutorialUrl, pageName: \"help\", isSeparated: true },\r\n { text: \"Dashboard\", href: userHomeUrl, pageName: \"home\", isSeparated: true },\r\n { text: \"Meetings\", href: meetingsUrl, pageName: \"meetings\", isSeparated: false },\r\n { text: \"Action Items\", href: userTasksUrl, pageName: \"tasks\", isSeparated: false },\r\n { text: \"Teams\", href: teamsUrl, pageName: \"team\", isSeparated: false },\r\n { text: licensesText, href: licensesUrl, pageName: \"licenses\", isSeparated: true },\r\n { text: \"Settings\", href: settingsUrl, pageName: \"settings\", isSeparated: false },\r\n { text: \"Sign Out\", href: signOutUrl, pageName: \"signout\", isSeparated: true },\r\n ]\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n {isOpen\r\n ?
\r\n
\r\n \r\n
\r\n {name}\r\n
\r\n
\r\n {links.map(({ text, href, pageName, isSeparated }) => (\r\n \r\n
\r\n {text}\r\n
\r\n ))}\r\n
\r\n : null}\r\n \r\n );\r\n}\r\n\r\nfunction DesktopLayout({\r\n name,\r\n selectedMenu,\r\n licensesText,\r\n licensesUrl,\r\n tutorialUrl,\r\n settingsUrl,\r\n signOutUrl,\r\n userHomeUrl,\r\n meetingsUrl,\r\n userTasksUrl,\r\n teamsUrl,\r\n}: Props): JSX.Element {\r\n const [isOpen, setIsOpen] = useState(false);\r\n\r\n const toggleDropdown = () => setIsOpen(!isOpen);\r\n\r\n useEffect(() => {\r\n const close = () => setIsOpen(false);\r\n\r\n if (isOpen) {\r\n document.addEventListener(\"click\", close);\r\n } else {\r\n document.removeEventListener(\"click\", close);\r\n }\r\n return () => document.removeEventListener(\"click\", close);\r\n }, [isOpen]);\r\n\r\n const links = [\r\n { text: \"Dashboard\", href: userHomeUrl, pageName: \"home\" },\r\n { text: \"Meetings\", href: meetingsUrl, pageName: \"meetings\" },\r\n { text: \"Action Items\", href: userTasksUrl, pageName: \"tasks\" },\r\n { text: \"Teams\", href: teamsUrl, pageName: \"team\" },\r\n ]\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n {links.map(({ text, href, pageName }) => (
{text}
))}\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 {name}\r\n
\r\n \r\n
\r\n {isOpen ? (\r\n
\r\n \r\n {licensesUrl ? (\r\n \r\n \r\n
\r\n ) : null}\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
Sign Out
\r\n
\r\n
\r\n
\r\n \r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\ntype TimezoneDifferenceComponentProps = {\r\n currentAttendeeId: string\r\n userTimezoneName: string\r\n timezones: {\r\n value: string\r\n label: string\r\n }[]\r\n accountUrl: string\r\n}\r\n\r\nfunction TimezoneDifferenceComponent({\r\n currentAttendeeId,\r\n accountUrl,\r\n userTimezoneName,\r\n timezones\r\n}: TimezoneDifferenceComponentProps): JSX.Element {\r\n const browserTimeZone = timezones.find(t => t.value == findWindows(window.browserTimeZoneName)[0]);\r\n\r\n const currentBrowserWindowsTimezone = browserTimeZone?.label;\r\n const dismissLocalStorageKey = `${currentAttendeeId} - ${userTimezoneName} - ${currentBrowserWindowsTimezone}`\r\n let dismissLocalStorageValue = localStorage.getItem(dismissLocalStorageKey)\r\n\r\n const [isOpen, setOpen] = useState(DateTime.now().offset !== -new Date().getTimezoneOffset() && dismissLocalStorageValue == null)\r\n\r\n if (!browserTimeZone || !isOpen) {\r\n return null\r\n }\r\n\r\n if (dismissLocalStorageValue && DateTime.fromISO(dismissLocalStorageValue).diffNow().shiftTo('days').days < -14) {\r\n localStorage.removeItem(dismissLocalStorageKey)\r\n dismissLocalStorageValue = null\r\n }\r\n\r\n const onClose = () => {\r\n localStorage.setItem(dismissLocalStorageKey, new Date().toISOString())\r\n setOpen(false)\r\n }\r\n\r\n return (\r\n
\r\n

\r\n The time zone in your profile is set to {userTimezoneName}, but we've detected a change to {currentBrowserWindowsTimezone}. Would you like to update your working hours to your current time zone?\r\n

\r\n
\r\n Configure in settings\r\n \r\n
\r\n
\r\n )\r\n}\r\n","type Props = {\r\n name: string\r\n className?: string\r\n}\r\n\r\nexport default function AvatarComponent({ name, className }: Props): JSX.Element {\r\n return name ?
\r\n {name[0].toUpperCase()}\r\n
: null\r\n}","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nvar SvgSettings = function SvgSettings(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 15,\n height: 12\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M.64 8.32a.64.64 0 1 0 0 1.28h7.04a.64.64 0 1 0 0-1.28zm10.88 0a.64.64 0 0 0 0 1.28h1.92a.64.64 0 0 0 0-1.28z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.6 10.24a1.28 1.28 0 1 0 0-2.56 1.28 1.28 0 0 0 0 2.56m0 1.28a2.56 2.56 0 1 0 0-5.12 2.56 2.56 0 0 0 0 5.12M.64 1.92a.64.64 0 1 0 0 1.28h1.92a.64.64 0 1 0 0-1.28zm5.76 0a.64.64 0 1 0 0 1.28h7.04a.64.64 0 0 0 0-1.28z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4.48 3.84a1.28 1.28 0 1 0 0-2.56 1.28 1.28 0 0 0 0 2.56m0 1.28a2.56 2.56 0 1 0 0-5.12 2.56 2.56 0 0 0 0 5.12\"\n }))));\n};\nexport default SvgSettings;","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nvar SvgLogout = function SvgLogout(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 13,\n height: 13\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n fill: \"currentColor\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.78 8.32a.64.64 0 0 1 .662.616c.03.796.073 1.377.114 1.794.041.41.289.658.634.7.407.049.982.09 1.77.09s1.363-.041 1.77-.09c.345-.042.593-.29.633-.7.078-.774.157-2.11.157-4.33s-.08-3.556-.156-4.33c-.041-.41-.289-.658-.634-.7-.408-.049-.982-.09-1.77-.09s-1.363.041-1.77.09c-.345.042-.593.29-.634.7a30 30 0 0 0-.114 1.794.64.64 0 1 1-1.278-.048c.03-.818.074-1.426.119-1.873.093-.94.749-1.72 1.752-1.843C7.502.043 8.128 0 8.96 0s1.459.043 1.925.1c1.003.123 1.659.902 1.752 1.843.083.829.163 2.21.163 4.457s-.08 3.629-.163 4.457c-.093.94-.749 1.72-1.752 1.843-.467.057-1.094.1-1.925.1a16 16 0 0 1-1.925-.1c-1.003-.123-1.659-.902-1.752-1.843a31 31 0 0 1-.12-1.873.64.64 0 0 1 .616-.664\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M3.332 8.188a.64.64 0 1 1-.904.904l-2.24-2.24a.64.64 0 0 1 0-.904l2.24-2.24a.64.64 0 0 1 .904.904L2.185 5.76H8.32a.64.64 0 1 1 0 1.28H2.185z\"\n }))));\n};\nexport default SvgLogout;","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nvar SvgMenu = function SvgMenu(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n \"data-name\": \"Layer 2\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n fill: \"currentColor\",\n \"data-name\": \"menu\"\n }, /*#__PURE__*/React.createElement(\"rect\", {\n width: 18,\n height: 2,\n x: 3,\n y: 11,\n rx: 0.95,\n ry: 0.95\n }), /*#__PURE__*/React.createElement(\"rect\", {\n width: 18,\n height: 2,\n x: 3,\n y: 16,\n rx: 0.95,\n ry: 0.95\n }), /*#__PURE__*/React.createElement(\"rect\", {\n width: 18,\n height: 2,\n x: 3,\n y: 6,\n rx: 0.95,\n ry: 0.95\n })))));\n};\nexport default SvgMenu;","var _path, _path2, _path3, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nvar SvgLogo = function SvgLogo(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 194,\n height: 37,\n fill: \"none\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#fff\",\n fillRule: \"evenodd\",\n d: \"M71.638 25.76h-8.255V10.545a.787.787 0 0 0-1.575 0V27.03h9.957zm4.064-8.928q.965-1.13 2.718-1.13 3.225 0 3.632 4.166H74.56q.177-1.906 1.144-3.036m6.68-.66q-1.27-1.791-3.886-1.791-2.64 0-4.102 1.778t-1.486 4.648q0 2.997 1.575 4.775t4.674 1.778q1.32 0 2.273-.292.696-.213 1.467-.583a.65.65 0 0 0 .32-.857.64.64 0 0 0-.85-.32q-.705.326-1.357.515a6.8 6.8 0 0 1-1.93.267q-2.361 0-3.454-1.384-1.092-1.385-1.118-3.747h9.144q0-2.996-1.27-4.788m7.035 11.188q-.863 0-2.019-.267a7 7 0 0 1-1.253-.398.65.65 0 0 1-.32-.86.654.654 0 0 1 .844-.348q1.462.603 2.799.604 1.574 0 2.464-.534.888-.534.889-1.55 0-1.472-3.353-2.641-1.778-.585-2.883-1.423t-1.105-2.158q0-1.6 1.22-2.502 1.218-.902 3.302-.902.838 0 1.98.292.706.18 1.199.414c.31.147.43.527.288.84a.645.645 0 0 1-.843.323 11 11 0 0 0-.973-.37q-.712-.23-1.702-.229-1.296 0-2.134.572-.838.57-.838 1.46.025.788.85 1.334.826.545 2.35 1.054 4.115 1.446 4.115 3.81 0 1.625-1.27 2.552t-3.607.927m8.624-.267q1.155.267 2.018.267 2.337 0 3.608-.927 1.269-.927 1.269-2.552 0-2.364-4.114-3.81-1.525-.509-2.35-1.054-.826-.547-.85-1.334 0-.89.837-1.46.838-.572 2.134-.572.991 0 1.702.229.46.148.973.37a.645.645 0 0 0 .843-.323h.001c.142-.313.021-.693-.289-.84a6.8 6.8 0 0 0-1.198-.414q-1.143-.292-1.981-.292-2.084 0-3.302.902-1.22.902-1.22 2.502.001 1.32 1.105 2.158 1.105.84 2.883 1.423 3.353 1.169 3.353 2.641 0 1.016-.889 1.55-.89.534-2.464.534-1.337 0-2.799-.604a.654.654 0 0 0-.844.349.65.65 0 0 0 .32.86q.53.23 1.254.397\",\n clipRule: \"evenodd\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"url(#logo_svg__a)\",\n fillRule: \"evenodd\",\n d: \"M161.933 9.866q-.533.534-.533 1.32 0 .789.533 1.322.532.533 1.295.533a1.84 1.84 0 0 0 1.333-.533q.546-.534.546-1.321t-.546-1.321a1.84 1.84 0 0 0-1.333-.533q-.763 0-1.295.533m-41.596 1.297-4.428 6.653-4.954-6.763a2.97 2.97 0 0 0-2.392-1.212h-.16a.42.42 0 0 0-.419.418v16.435c0 .23.187.418.419.418h2.439a.42.42 0 0 0 .418-.418V16.572l3.69 4.73a1.268 1.268 0 0 0 2.038-.047l2.909-4.1v9.539c0 .23.187.418.418.418h2.49a.42.42 0 0 0 .419-.418V10.259a.42.42 0 0 0-.419-.418c-.992 0-1.918.496-2.468 1.322m35.135.238h-.001a3.38 3.38 0 0 0-2.784 3.326v.092h-1.484a.17.17 0 0 0-.167.168v2.205c0 .093.075.167.167.167h1.484v5.816q0 2.109 1.296 3.277 1.294 1.17 3.606 1.17.609 0 1.359-.23.653-.2 1.025-.456c.066-.044.084-.13.055-.202l-.851-2.105a.165.165 0 0 0-.221-.086q-.605.258-1.189.258-.864 0-1.334-.61t-.469-1.6v-5.232h3.004c.117 0 .199-.12.155-.23l-.882-2.204a.17.17 0 0 0-.156-.106h-2.121v-3.006a.42.42 0 0 0-.492-.412m17.128 3.444a9.9 9.9 0 0 0-2.438 1.269l-.516-1.218a.17.17 0 0 0-.154-.103h-1.88a.17.17 0 0 0-.168.168v11.984c0 .092.075.167.168.167h2.966a.17.17 0 0 0 .168-.167v-8.367a13.5 13.5 0 0 1 1.677-1.054 3.5 3.5 0 0 1 1.625-.394q.839 0 1.308.636.47.635.47 1.777v7.402c0 .092.075.167.168.167h2.966a.17.17 0 0 0 .168-.167V19.39q0-2.362-.94-3.682-.939-1.322-3.277-1.322-1.016 0-2.311.457m11.124.431a5.4 5.4 0 0 0-2.17 2.286q-.75 1.473-.75 3.404 0 2.972 1.664 4.711t4.534 1.74q1.447 0 2.718-.787v1.041q0 1.193-.902 1.905-.901.711-2.4.737a8 8 0 0 1-1.88-.28 11.6 11.6 0 0 1-1.923-.735.17.17 0 0 0-.227.083l-.867 2.045a.17.17 0 0 0 .061.209q.874.557 2.372.926 1.6.393 2.54.393 2.996 0 4.775-1.358 1.778-1.359 1.778-3.9V14.962a.167.167 0 0 0-.167-.168h-1.47a.17.17 0 0 0-.139.075l-.688 1.043a6.4 6.4 0 0 0-1.688-1.041q-.954-.407-1.792-.407-1.955 0-3.379.813m1.258 8.319q-.774-1.003-.774-2.63 0-1.625.787-2.653t2.134-1.029q.712 0 1.32.241.61.241 1.271.8v5.258a6.1 6.1 0 0 1-1.309.762q-.622.255-1.282.254-1.371 0-2.147-1.003m-43.497-8.332a5.35 5.35 0 0 0-2.145 2.274q-.75 1.473-.75 3.429 0 3.023 1.816 4.737t5.321 1.714q1.499 0 2.591-.393a7.3 7.3 0 0 0 1.928-1.05.18.18 0 0 0 .056-.203l-.846-2.092a.17.17 0 0 0-.238-.08q-.846.465-1.586.72-.813.279-1.828.279-1.753 0-2.604-.686t-1.105-1.98h8.139a.17.17 0 0 0 .167-.169v-.848q0-1.804-.609-3.264a5.14 5.14 0 0 0-1.88-2.324q-1.27-.863-3.124-.864-1.906 0-3.303.8m1.525 2.642q.685-.622 1.702-.622 1.014 0 1.664.61.646.609.901 1.828h-5.156q.203-1.194.889-1.816m-14.352-2.642a5.36 5.36 0 0 0-2.145 2.274q-.75 1.473-.749 3.429 0 3.023 1.815 4.737 1.817 1.714 5.322 1.714 1.499 0 2.591-.393a7.3 7.3 0 0 0 1.928-1.05.18.18 0 0 0 .054-.203l-.846-2.092a.167.167 0 0 0-.236-.08q-.846.465-1.587.72-.811.279-1.828.279-1.752 0-2.603-.686t-1.106-1.98h8.139a.167.167 0 0 0 .167-.169v-.848q0-1.804-.609-3.264a5.14 5.14 0 0 0-1.879-2.324q-1.272-.863-3.125-.864-1.905 0-3.303.8m1.525 2.642q.686-.622 1.702-.622t1.664.61q.647.609.901 1.828h-5.156q.203-1.194.889-1.816m31.587-3.112a.17.17 0 0 0-.168.168v11.984c0 .092.075.167.168.167h2.967a.17.17 0 0 0 .167-.167V14.96a.167.167 0 0 0-.167-.168z\",\n clipRule: \"evenodd\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"url(#logo_svg__b)\",\n fillRule: \"evenodd\",\n d: \"M24.137 0c0 1.115.904 2.018 2.018 2.018h5.58A2.02 2.02 0 0 0 29.717 0zM11.251 17.157l-.081.63c2 0 3.79-1.199 4.593-3.029A13.17 13.17 0 0 1 27.393 6.9v.766a.498.498 0 1 0 .996 0v-.761c6.917.28 12.479 5.905 12.655 12.848h-.883a.499.499 0 0 0 0 .996h.87c-.35 7.037-6.32 12.545-13.416 12.545H14.86a.013.013 0 0 0-.013.013 3.64 3.64 0 0 0 3.638 3.639h9.097c9.255 0 16.985-7.35 17.12-16.604.136-9.406-7.476-17.103-16.852-17.103a16.815 16.815 0 0 0-16.598 13.918m16.693 3.33-1.471-1.763a3.656 3.656 0 0 0-5.13-.625l1.218 1.439 3.37 4.298a2.384 2.384 0 0 0 3.557.22l5.868-5.833a3.64 3.64 0 0 0 .008-5.156zM0 20.526a3.65 3.65 0 0 0 3.651 3.652h12.964a3.65 3.65 0 0 0-3.652-3.652zm7.802 6.383a3.65 3.65 0 0 0 3.652 3.65H21.55a3.65 3.65 0 0 0-3.652-3.65z\",\n clipRule: \"evenodd\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"logo_svg__a\",\n x1: 107.984,\n x2: 193.047,\n y1: 32.954,\n y2: 32.954,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"#008EFF\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#00D670\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"logo_svg__b\",\n x1: -2.274,\n x2: 17.214,\n y1: 18.924,\n y2: 48.933,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"#008EFF\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#00D670\"\n })))));\n};\nexport default SvgLogo;"],"names":["_path","_extends","Object","assign","bind","n","e","arguments","length","t","r","hasOwnProperty","call","apply","props","xmlns","width","height","fill","fillRule","d","_g","findWindows","Component","LayoutComponent","TimezoneDifferenceComponent","currentAttendeeId","accountUrl","settingsUrl","userTimezoneName","timezones","DesktopLayout","MobileLayout","name","selectedMenu","licensesText","licensesUrl","tutorialUrl","signOutUrl","userHomeUrl","meetingsUrl","userTasksUrl","teamsUrl","isOpen","setIsOpen","useState","useEffect","close","document","addEventListener","removeEventListener","links","text","href","pageName","isSeparated","className","onClick","A","title","map","target","browserTimeZone","find","value","window","browserTimeZoneName","currentBrowserWindowsTimezone","label","dismissLocalStorageKey","dismissLocalStorageValue","localStorage","getItem","setOpen","now","offset","Date","getTimezoneOffset","fromISO","diffNow","shiftTo","days","removeItem","setItem","toISOString","AvatarComponent","toUpperCase","viewBox","x","y","rx","ry","_path2","_path3","_defs","clipRule","id","x1","x2","y1","y2","gradientUnits","stopColor"],"sourceRoot":""}