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,MAIxC,OAFI0I,EAAKnB,YAAWA,EAAYmB,EAAKnB,WACjCvC,EAAMuC,YAAWA,GAAaA,EAAYA,EAAY,IAAM,IAAMvC,EAAMuC,WACrEhB,EAAAA,cAAoB,MAAOmB,EAAS,CACzCoB,OAAQ,eACRC,KAAM,eACNC,YAAa,KACZN,EAAKlB,KAAMA,EAAMoB,EAAU,CAC5BrB,UAAWA,EACXjG,MAAOoG,EAASA,EAAS,CACvBL,MAAOrC,EAAMqC,OAASqB,EAAKrB,OAC1BqB,EAAKpH,OAAQ0D,EAAM1D,OACtB2H,OAAQJ,EACRK,MAAOL,EACPM,MAAO,+BACLR,GAASpC,EAAAA,cAAoB,QAAS,KAAMoC,GAAQ3D,EAAMtE,SAChE,EACA,YAAuB4G,IAAhBG,EAA4BlB,EAAAA,cAAoBkB,EAAY2B,SAAU,MAAM,SAAUV,GAC3F,OAAOD,EAAKC,EACd,IAAKD,EAAKrB,EACZ,C","sources":["atoms/Toolbars/Toolbar.jsx","stores/GlobalStore.js","../node_modules/@mantine/core/src/Flex/flex-props.ts","../node_modules/@mantine/core/src/Flex/Flex.tsx","../node_modules/@mantine/utils/src/pack-sx/pack-sx.ts","../node_modules/react-icons/lib/esm/iconsManifest.js","../node_modules/react-icons/lib/esm/iconContext.js","../node_modules/react-icons/lib/esm/iconBase.js"],"sourcesContent":["import React, { useState } from 'react';\nimport { Box, Paper, Flex, UnstyledButton, Button, Text, ThemeIcon } from '@mantine/core';\nimport { AiFillHome, AiFillCalendar } from 'react-icons/ai';\nimport { BsFillGearFill } from 'react-icons/bs';\nimport useGlobalStore from 'stores/GlobalStore';\nimport { useNavigate } from 'react-router-dom';\nexport default function Toolbar() {\n\tconst navigate = useNavigate();\n\tconst { tab, setState: setGlobalState } = useGlobalStore();\n\tconst tools = [\n\t\t{\n\t\t\tlabel: 'Home',\n\t\t\ticon: ,\n\t\t\troute: '/',\n\t\t},\n\t\t{\n\t\t\tlabel: 'Bookings',\n\t\t\ticon: ,\n\t\t\troute: '/bookings',\n\t\t},\n\t\t{\n\t\t\tlabel: 'Settings',\n\t\t\ticon: ,\n\t\t\troute: '/settings',\n\t\t},\n\t];\n\tconst onSwitchTab = (tab) => {\n\t\tsetGlobalState('tab', tab);\n\t\tconst tabRoute = tools.find((x) => x.label == tab).route;\n\t\tnavigate(tabRoute);\n\t};\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{tools.map((x, i) => {\n\t\t\t\t\t\tif (tab === x.label) {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t onSwitchTab(x.label)}>{x.icon}\n\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n","import { create } from 'zustand';\nimport { devtools, persist, createJSONStorage } from 'zustand/middleware';\n\nconst STORE_KEY = 'nhcc-global-store';\n\nconst initialState = {\n\ttab: 'Home',\n\tauth: {},\n\tuser: {},\n\tloginRedirection: \"/\",\n\tbackRedirection: \"/\",\n\tisShowGoogleMapReact: true,\n};\n\nconst useGlobalStore = create()(\n\tdevtools(\n\t\tpersist(\n\t\t\t(set, get) => ({\n\t\t\t\t...initialState,\n\t\t\t\tisLogin: () => Object.keys(get().auth).length > 0,\n\t\t\t\tsetState: (key, value) => {\n\t\t\t\t\tset((s) => ({ [key]: value }));\n\t\t\t\t},\n\t\t\t\tlogout: () => {\n\t\t\t\t\tset(s => (initialState))\n\t\t\t\t}\n\t\t\t}),\n\t\t\t{\n\t\t\t\tname: STORE_KEY,\n\t\t\t\tversion: 1,\n\t\t\t}\n\t\t)\n\t)\n);\nexport default useGlobalStore;\n","import type { SystemPropData } from '../Box';\n\nexport const FLEX_SYSTEM_PROPS: Record = {\n gap: { type: 'spacing', property: 'gap' },\n rowGap: { type: 'spacing', property: 'rowGap' },\n columnGap: { type: 'spacing', property: 'columnGap' },\n\n align: { type: 'identity', property: 'alignItems' },\n justify: { type: 'identity', property: 'justifyContent' },\n wrap: { type: 'identity', property: 'flexWrap' },\n direction: { type: 'identity', property: 'flexDirection' },\n};\n","import React, { forwardRef, CSSProperties } from 'react';\nimport { DefaultProps, useComponentDefaultProps, SystemProp, SpacingValue } from '@mantine/styles';\nimport { packSx } from '@mantine/utils';\nimport { Box, getSystemStyles } from '../Box';\nimport { FLEX_SYSTEM_PROPS } from './flex-props';\n\nexport interface FlexProps extends DefaultProps, React.ComponentPropsWithoutRef<'div'> {\n /** gap CSS property */\n gap?: SystemProp;\n\n /** row-gap CSS property */\n rowGap?: SystemProp;\n\n /** column-gap CSS property */\n columnGap?: SystemProp;\n\n /** align-items CSS property */\n align?: SystemProp;\n\n /** justify-content CSS property */\n justify?: SystemProp;\n\n /** flex-wrap CSS property */\n wrap?: SystemProp;\n\n /** flex-direction CSS property */\n direction?: SystemProp;\n}\n\nconst defaultProps: Partial = {};\n\nexport const Flex = forwardRef((props, ref) => {\n const { gap, rowGap, columnGap, align, justify, wrap, direction, sx, ...others } =\n useComponentDefaultProps('Flex', defaultProps, props);\n\n return (\n \n getSystemStyles(\n { gap, rowGap, columnGap, align, justify, wrap, direction },\n theme,\n FLEX_SYSTEM_PROPS\n ),\n ...packSx(sx),\n ]}\n ref={ref}\n />\n );\n});\n\nFlex.displayName = '@mantine/core/Flex';\n","export function packSx(sx: T | T[]) {\n return Array.isArray(sx) ? sx : [sx];\n}\n","export var IconsManifest = [\n {\n \"id\": \"ci\",\n \"name\": \"Circum Icons\",\n \"projectUrl\": \"https://circumicons.com/\",\n \"license\": \"MPL-2.0 license\",\n \"licenseUrl\": \"https://github.com/Klarr-Agency/Circum-Icons/blob/main/LICENSE\"\n },\n {\n \"id\": \"fa\",\n \"name\": \"Font Awesome 5\",\n \"projectUrl\": \"https://fontawesome.com/\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"fa6\",\n \"name\": \"Font Awesome 6\",\n \"projectUrl\": \"https://fontawesome.com/\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"io\",\n \"name\": \"Ionicons 4\",\n \"projectUrl\": \"https://ionicons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"io5\",\n \"name\": \"Ionicons 5\",\n \"projectUrl\": \"https://ionicons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"md\",\n \"name\": \"Material Design icons\",\n \"projectUrl\": \"http://google.github.io/material-design-icons/\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"https://github.com/google/material-design-icons/blob/master/LICENSE\"\n },\n {\n \"id\": \"ti\",\n \"name\": \"Typicons\",\n \"projectUrl\": \"http://s-ings.com/typicons/\",\n \"license\": \"CC BY-SA 3.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by-sa/3.0/\"\n },\n {\n \"id\": \"go\",\n \"name\": \"Github Octicons icons\",\n \"projectUrl\": \"https://octicons.github.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/primer/octicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"fi\",\n \"name\": \"Feather\",\n \"projectUrl\": \"https://feathericons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/feathericons/feather/blob/master/LICENSE\"\n },\n {\n \"id\": \"lu\",\n \"name\": \"Lucide\",\n \"projectUrl\": \"https://lucide.dev/\",\n \"license\": \"ISC\",\n \"licenseUrl\": \"https://github.com/lucide-icons/lucide/blob/main/LICENSE\"\n },\n {\n \"id\": \"gi\",\n \"name\": \"Game Icons\",\n \"projectUrl\": \"https://game-icons.net/\",\n \"license\": \"CC BY 3.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/3.0/\"\n },\n {\n \"id\": \"wi\",\n \"name\": \"Weather Icons\",\n \"projectUrl\": \"https://erikflowers.github.io/weather-icons/\",\n \"license\": \"SIL OFL 1.1\",\n \"licenseUrl\": \"http://scripts.sil.org/OFL\"\n },\n {\n \"id\": \"di\",\n \"name\": \"Devicons\",\n \"projectUrl\": \"https://vorillaz.github.io/devicons/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"ai\",\n \"name\": \"Ant Design Icons\",\n \"projectUrl\": \"https://github.com/ant-design/ant-design-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"bs\",\n \"name\": \"Bootstrap Icons\",\n \"projectUrl\": \"https://github.com/twbs/icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"ri\",\n \"name\": \"Remix Icon\",\n \"projectUrl\": \"https://github.com/Remix-Design/RemixIcon\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"http://www.apache.org/licenses/\"\n },\n {\n \"id\": \"fc\",\n \"name\": \"Flat Color Icons\",\n \"projectUrl\": \"https://github.com/icons8/flat-color-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"gr\",\n \"name\": \"Grommet-Icons\",\n \"projectUrl\": \"https://github.com/grommet/grommet-icons\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"http://www.apache.org/licenses/\"\n },\n {\n \"id\": \"hi\",\n \"name\": \"Heroicons\",\n \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"hi2\",\n \"name\": \"Heroicons 2\",\n \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"si\",\n \"name\": \"Simple Icons\",\n \"projectUrl\": \"https://simpleicons.org/\",\n \"license\": \"CC0 1.0 Universal\",\n \"licenseUrl\": \"https://creativecommons.org/publicdomain/zero/1.0/\"\n },\n {\n \"id\": \"sl\",\n \"name\": \"Simple Line Icons\",\n \"projectUrl\": \"https://thesabbir.github.io/simple-line-icons/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"im\",\n \"name\": \"IcoMoon Free\",\n \"projectUrl\": \"https://github.com/Keyamoon/IcoMoon-Free\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://github.com/Keyamoon/IcoMoon-Free/blob/master/License.txt\"\n },\n {\n \"id\": \"bi\",\n \"name\": \"BoxIcons\",\n \"projectUrl\": \"https://github.com/atisawd/boxicons\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://github.com/atisawd/boxicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"cg\",\n \"name\": \"css.gg\",\n \"projectUrl\": \"https://github.com/astrit/css.gg\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"vsc\",\n \"name\": \"VS Code Icons\",\n \"projectUrl\": \"https://github.com/microsoft/vscode-codicons\",\n \"license\": \"CC BY 4.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"tb\",\n \"name\": \"Tabler Icons\",\n \"projectUrl\": \"https://github.com/tabler/tabler-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"tfi\",\n \"name\": \"Themify Icons\",\n \"projectUrl\": \"https://github.com/lykmapipo/themify-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/thecreation/standard-icons/blob/master/modules/themify-icons/LICENSE\"\n },\n {\n \"id\": \"rx\",\n \"name\": \"Radix Icons\",\n \"projectUrl\": \"https://icons.radix-ui.com\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/radix-ui/icons/blob/master/LICENSE\"\n },\n {\n \"id\": \"pi\",\n \"name\": \"Phosphor Icons\",\n \"projectUrl\": \"https://github.com/phosphor-icons/core\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/phosphor-icons/core/blob/main/LICENSE\"\n },\n {\n \"id\": \"lia\",\n \"name\": \"Icons8 Line Awesome\",\n \"projectUrl\": \"https://icons8.com/line-awesome\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/icons8/line-awesome/blob/master/LICENSE.md\"\n }\n]","import React from \"react\";\nexport var DefaultContext = {\n color: undefined,\n size: undefined,\n className: undefined,\n style: undefined,\n attr: undefined\n};\nexport var IconContext = React.createContext && React.createContext(DefaultContext);","var __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from \"react\";\nimport { IconContext, DefaultContext } from \"./iconContext\";\nfunction Tree2Element(tree) {\n return tree && tree.map(function (node, i) {\n return React.createElement(node.tag, __assign({\n key: i\n }, node.attr), Tree2Element(node.child));\n });\n}\nexport function GenIcon(data) {\n // eslint-disable-next-line react/display-name\n return function (props) {\n return React.createElement(IconBase, __assign({\n attr: __assign({}, data.attr)\n }, props), Tree2Element(data.child));\n };\n}\nexport function IconBase(props) {\n var elem = function (conf) {\n var attr = props.attr,\n size = props.size,\n title = props.title,\n svgProps = __rest(props, [\"attr\", \"size\", \"title\"]);\n var computedSize = size || conf.size || \"1em\";\n var className;\n if (conf.className) className = conf.className;\n if (props.className) className = (className ? className + \" \" : \"\") + props.className;\n return React.createElement(\"svg\", __assign({\n stroke: \"currentColor\",\n fill: \"currentColor\",\n strokeWidth: \"0\"\n }, conf.attr, attr, svgProps, {\n className: className,\n style: __assign(__assign({\n color: props.color || conf.color\n }, conf.style), props.style),\n height: computedSize,\n width: computedSize,\n xmlns: \"http://www.w3.org/2000/svg\"\n }), title && React.createElement(\"title\", null, title), props.children);\n };\n return IconContext !== undefined ? React.createElement(IconContext.Consumer, null, function (conf) {\n return elem(conf);\n }) : elem(DefaultContext);\n}"],"names":["Toolbar","navigate","useNavigate","_useGlobalStore","useGlobalStore","tab","setGlobalState","setState","tools","label","icon","_jsx","AiFillHome","size","route","AiFillCalendar","BsFillGearFill","onSwitchTab","tabRoute","find","x","Box","w","children","Paper","radius","bg","p","Flex","align","justify","gap","map","i","Button","style","cursor","onClick","styles","root","background","_jsxs","Text","initialState","auth","user","loginRedirection","backRedirection","isShowGoogleMapReact","create","devtools","persist","set","get","_objectSpread","isLogin","Object","keys","length","key","value","s","_defineProperty","logout","name","version","FLEX_SYSTEM_PROPS","type","property","rowGap","columnGap","wrap","direction","__defProp","defineProperty","__defProps","defineProperties","__getOwnPropDescs","getOwnPropertyDescriptors","__getOwnPropSymbols","getOwnPropertySymbols","__hasOwnProp","prototype","hasOwnProperty","__propIsEnum","propertyIsEnumerable","__defNormalProp","obj","enumerable","configurable","writable","defaultProps","forwardRef","props","ref","a","b","_a","useComponentDefaultProps","sx","others","source","exclude","target","prop","call","indexOf","_step2","_iterator2","_createForOfIteratorHelper","n","done","err","e","f","__objRest","React","_step","_iterator","__spreadValues","display","theme","getSystemStyles","concat","_toConsumableArray","packSx","displayName","Array","isArray","DefaultContext","color","undefined","className","attr","IconContext","__assign","assign","t","arguments","apply","this","__rest","Tree2Element","tree","node","tag","child","GenIcon","data","IconBase","elem","conf","title","svgProps","computedSize","stroke","fill","strokeWidth","height","width","xmlns","Consumer"],"sourceRoot":""}