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/app/(dashboard)/(sidebar)/api/api.ts","webpack://_N_E/./src/libs/dayjs.ts","webpack://_N_E/./src/hooks/useTailwindBreakpoint.ts","webpack://_N_E/./src/providers/ChannelTalk.tsx","webpack://_N_E/./src/providers/GoogleTagManager.tsx","webpack://_N_E/./src/providers/MicrosoftClarity.tsx","webpack://_N_E/./src/providers/MixpanelProvider.tsx","webpack://_N_E/./src/providers/index.ts","webpack://_N_E/./src/clients/useCreateQueryClientCreator.ts","webpack://_N_E/./src/clients/index.ts","webpack://_N_E/./src/clients/referrals/apis.ts","webpack://_N_E/./src/clients/referrals/queries.ts","webpack://_N_E/./src/clients/referrals/index.ts","webpack://_N_E/./src/hooks/useBenefitCode.ts","webpack://_N_E/./src/assets/icons/circle-alert.svg","webpack://_N_E/./src/assets/icons/circle-info.svg","webpack://_N_E/./src/assets/icons/circle-minus.svg","webpack://_N_E/./src/assets/icons/circle-success.svg","webpack://_N_E/./src/components/ui/snackbar/snackbar.tsx","webpack://_N_E/./src/components/ui/snackbar/snackbars.tsx","webpack://_N_E/./src/components/ui/snackbar/index.ts","webpack://_N_E/./src/app/provider.tsx","webpack://_N_E/./src/app/subscriber.tsx","webpack://_N_E/./src/clients/auth/apis.ts","webpack://_N_E/./src/clients/auth/hooks/useLogoutMutationEffect.ts","webpack://_N_E/./src/clients/auth/hooks/index.ts","webpack://_N_E/./src/clients/auth/index.ts","webpack://_N_E/./src/clients/isApiErrorResponse.ts","webpack://_N_E/./src/clients/profiles/index.ts","webpack://_N_E/./src/clients/toApiErrorMessage.ts","webpack://_N_E/./src/components/Dividers/Divider.tsx","webpack://_N_E/./src/components/Dividers/TextDivider.tsx","webpack://_N_E/./src/components/Dividers/index.ts","webpack://_N_E/./src/components/LoadingOverlay/Ellipsis.tsx","webpack://_N_E/./src/components/LoadingOverlay/LoadingOverlay.tsx","webpack://_N_E/./src/features/events/hooks/useBoltaEventEmitter.ts","webpack://_N_E/./src/features/events/hooks/useBoltaEventSubscription.ts","webpack://_N_E/./src/features/events/hooks/index.ts","webpack://_N_E/./src/features/events/index.ts","webpack://_N_E/./src/hooks/useMount.ts","webpack://_N_E/./src/modules/emitter/createEmitter.ts","webpack://_N_E/./src/modules/emitter/EmitterProvider.tsx","webpack://_N_E/./src/modules/emitter/index.ts","webpack://_N_E/./src/modules/feature-flags/hooks/useFeatureFlagStore.ts","webpack://_N_E/./src/modules/feature-flags/containers/FeatureFlags.tsx","webpack://_N_E/./src/modules/feature-flags/containers/index.ts","webpack://_N_E/./src/modules/feature-flags/hooks/index.ts","webpack://_N_E/./src/modules/feature-flags/index.ts","webpack://_N_E/./src/providers/ChannelTalkClient.ts","webpack://_N_E/./src/store/layoutStore.ts","webpack://_N_E/./src/store/loadingOverlayStore.ts","webpack://_N_E/./src/store/snackbarStore.ts","webpack://_N_E/./src/utils/mixpanels.ts","webpack://_N_E/./src/utils/styles/cn.ts","webpack://_N_E/./src/app/globals.scss"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src595765437/src/bolta-app-v1/src/app/globals.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src595765437/src/bolta-app-v1/node_modules/react-datepicker/dist/react-datepicker.css\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"Provider\"] */ \"/codebuild/output/src595765437/src/bolta-app-v1/src/app/provider.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"Subscriber\"] */ \"/codebuild/output/src595765437/src/bolta-app-v1/src/app/subscriber.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src595765437/src/bolta-app-v1/src/components/LoadingOverlay/LoadingOverlay.tsx\");\n","import axios from \"axios\"\nimport qs from \"qs\"\n\nimport { useLoadingOverlayStore } from \"@/store/loadingOverlayStore\"\nimport { useSnackbarStore } from \"@/store/snackbarStore\"\nimport { logout } from \"@/clients/auth\"\n\nconst isServer = typeof window === \"undefined\"\n\n/**\n * @deprecated use @/clients/apiClients\n * - 내부 interceptor 사용에서 react와 라이프사이클 관리가 어려워 사용하지 않습니다.\n * - api에 따른 처리가 필요한 경우에는 각 API 호출부에서나, react-query instance의 onError 옵션을 사용합니다.\n */\nexport const instance = axios.create({\n baseURL: process.env.NEXT_PUBLIC_API_URL,\n headers: {\n Accept: \"application/json\",\n },\n withCredentials: true,\n})\n\n// 배열 형태의 쿼리 파라미터를 전송할 때, 배열 중괄호 [] 반영하지 않도록 설정\ninstance.defaults.paramsSerializer = function (paramObj) {\n return qs.stringify(paramObj, { arrayFormat: \"repeat\" })\n}\n\ninstance.interceptors.request.use(async config => {\n if (\n config.url?.includes(\"/workspaces/undefined\") &&\n /**\n * @todo js에서 window 객체를 바로 사용하지 않도록 수정\n */\n ![\"/login\", \"/join\"].includes(window.location.pathname)\n ) {\n logout().then(() => {\n window.location.href = \"/login\"\n })\n }\n\n if (isServer) {\n // 서버 사이드에서 쿠키 설정\n const { cookies } = await import(\"next/headers\")\n const existsCookies = cookies()\n .getAll()\n .map(cookie => `${cookie.name}=${cookie.value}`)\n .join(\";\")\n\n if (existsCookies) {\n config.headers.cookie = existsCookies\n }\n }\n // 클라이언트 사이드에서는 쿠키 설정을 하지 않습니다.\n\n return config\n})\n\ninstance.interceptors.response.use(\n response => response,\n error => {\n useLoadingOverlayStore.getState().stopLoading()\n\n if (error.response) {\n switch (error.response.status) {\n /**\n * 401에러에는 권한에러도 포함되기 때문에 로그아웃을 하면 안됩니다.\n * @todo js에서 window 객체를 바로 사용하지 않도록 수정\n */\n case 401: {\n if (![\"/login\", \"/join\"].includes(window.location.pathname)) {\n logout().then(() => {\n window.location.href = \"/login\"\n })\n }\n break\n }\n case 402:\n useSnackbarStore\n .getState()\n .openSnackbar(\"해당 기능은 차단되었습니다.\", \"danger\")\n break\n case 302:\n window.location.reload()\n break\n }\n\n const errorMessage =\n error.response.data?.body?.message ||\n error.response.data?.message ||\n \"알 수 없는 오류가 발생했습니다.\"\n\n if (errorMessage === \"[요청중복]\") return\n\n useSnackbarStore.getState().openSnackbar(errorMessage, \"danger\")\n } else {\n // 네트워크 오류 또는 서버 응답 없음\n const errorMessage = error?.message || \"네트워크 오류가 발생했습니다.\"\n\n useSnackbarStore.getState().openSnackbar(errorMessage, \"danger\")\n }\n\n return Promise.reject(error)\n },\n)\n\nexport default instance\n","/**\n * @see https://day.js.org/docs/en/plugin/plugin\n */\n// Locales\nimport \"dayjs/locale/ko\"\n\nimport dayjs from \"dayjs\"\nimport advancedFormat from \"dayjs/plugin/advancedFormat\"\nimport customParseFormat from \"dayjs/plugin/customParseFormat\"\nimport duration from \"dayjs/plugin/duration\"\nimport isBetween from \"dayjs/plugin/isBetween\"\nimport isSameOrAfter from \"dayjs/plugin/isSameOrAfter\"\nimport isSameOrBefore from \"dayjs/plugin/isSameOrBefore\"\nimport isToday from \"dayjs/plugin/isToday\"\nimport isTomorrow from \"dayjs/plugin/isTomorrow\"\nimport isYesterday from \"dayjs/plugin/isYesterday\"\nimport tz from \"dayjs/plugin/timezone\"\nimport utc from \"dayjs/plugin/utc\"\nimport localizedFormat from \"dayjs/plugin/localizedFormat\"\nimport weekday from \"dayjs/plugin/weekday\"\n\ndayjs.extend(advancedFormat)\ndayjs.extend(customParseFormat)\ndayjs.extend(duration)\ndayjs.extend(isBetween)\ndayjs.extend(isSameOrAfter)\ndayjs.extend(isSameOrBefore)\ndayjs.extend(isToday)\ndayjs.extend(isTomorrow)\ndayjs.extend(isYesterday)\ndayjs.extend(tz)\ndayjs.extend(utc)\ndayjs.extend(localizedFormat)\ndayjs.extend(weekday)\n","\"use client\"\nimport { useEffect, useState } from \"react\"\n\nimport { useLayoutStore } from \"@/store/layoutStore\"\n\nconst useTailwindBreakpoint = () => {\n const [breakpoint, setBreakpoint] = useState(\"\")\n const [prevBreakpoint, setPrevBreakpoint] = useState(\"\")\n const isLeftOpen = useLayoutStore(state => state.isLeftOpen)\n const closeLeft = useLayoutStore(state => state.closeLeft)\n const openLeft = useLayoutStore(state => state.openLeft)\n\n useEffect(() => {\n setPrevBreakpoint(breakpoint)\n\n if (breakpoint !== prevBreakpoint) {\n // Left메뉴 실시간 자동 열기/닫기\n if ([\"xs\", \"sm\"].includes(breakpoint) && isLeftOpen) {\n closeLeft() // close left\n }\n }\n\n const checkBreakpoint = () => {\n const width = window.innerWidth\n\n if (width < 640) {\n setBreakpoint(\"xs\") // Extra small devices (portrait phones)\n } else if (width >= 640 && width < 768) {\n setBreakpoint(\"sm\") // Small devices (landscape phones)\n } else if (width >= 768 && width < 1024) {\n setBreakpoint(\"md\") // Medium devices (tablets)\n } else if (width >= 1024 && width < 1280) {\n setBreakpoint(\"lg\") // Large devices (desktops)\n } else if (width >= 1280 && width < 1536) {\n setBreakpoint(\"xl\") // Extra large devices (large desktops)\n } else {\n setBreakpoint(\"2xl\") // Extra extra large devices\n }\n }\n\n checkBreakpoint()\n window.addEventListener(\"resize\", checkBreakpoint)\n\n return () => window.removeEventListener(\"resize\", checkBreakpoint)\n }, [breakpoint, isLeftOpen, closeLeft, openLeft, prevBreakpoint])\n\n return breakpoint\n}\n\nexport { useTailwindBreakpoint }\n","\"use client\"\nimport { useEffect } from \"react\"\n\nimport ChannelTalkClient from \"./ChannelTalkClient\"\n\nconst ChannelTalk = () => {\n useEffect(() => {\n const channelTalkClient = new ChannelTalkClient()\n channelTalkClient.boot({\n pluginKey: \"3448f494-1d6a-4a4b-91db-6537d1f494ed\",\n hideChannelButtonOnBoot: true,\n })\n\n return () => {\n channelTalkClient.shutdown()\n }\n }, [])\n\n return <>\n}\n\nexport default ChannelTalk\n","\"use client\"\nimport { useEffect } from \"react\"\nimport TagManager from \"react-gtm-module\"\n\nconst GoogleTagManager = ({ id }: { id: string }) => {\n useEffect(() => {\n if (process.env.NEXT_PUBLIC_APP_ENV !== \"production\") return\n TagManager.initialize({ gtmId: id })\n }, [id])\n return <>\n}\n\nexport default GoogleTagManager\n","import { useEffect } from \"react\"\nimport { clarity } from \"react-microsoft-clarity\"\n\nconst MicrosoftClarity = ({ id }: { id: string }) => {\n useEffect(() => {\n if (process.env.NEXT_PUBLIC_APP_ENV !== \"production\") return\n clarity.init(id)\n }, [id])\n return <>\n}\n\nexport default MicrosoftClarity\n","import mixpanel, { Persistence } from \"mixpanel-browser\"\nimport { useEffect } from \"react\"\n\nconst MixpanelProvider = ({ token }: { token?: string }) => {\n useEffect(() => {\n if (!token) {\n console.error(\"Mixpanel token is not provided\")\n return\n }\n const config = {\n debug: process.env.NEXT_PUBLIC_MIXPANEL_DEBUG === \"true\",\n track_pageview: false,\n cross_subdomain_cookie: true,\n persistence: \"localStorage\" as Persistence,\n }\n mixpanel.init(token, config)\n }, [token])\n return <>\n}\n\nexport default MixpanelProvider\n","export { default as ChannelTalk } from \"./ChannelTalk\"\nexport { default as GoogleTagManager } from \"./GoogleTagManager\"\nexport { default as MicrosoftClarity } from \"./MicrosoftClarity\"\nexport { default as MixpanelProvider } from \"./MixpanelProvider\"\n","import { QueryClient, QueryCache, MutationCache } from \"@tanstack/query-core\"\nimport * as React from \"react\"\nimport { useRouter } from \"next/navigation\"\n\nimport { useProfileStore } from \"@/store/profiles\"\n\nimport { isApiErrorResponse } from \"./isApiErrorResponse\"\nimport { logout } from \"./auth\"\n\nexport function useCreateQueryClientCreator() {\n const router = useRouter()\n const setProfile = useProfileStore(state => state.setProfile)\n const setWorkspaceGroup = useProfileStore(state => state.setWorkspaceGroup)\n\n const commonHandler = async () => {\n setProfile(null)\n setWorkspaceGroup(null)\n router.replace(\"/login\")\n }\n\n const [queryClient] = React.useState(() => {\n return new QueryClient({\n defaultOptions: {\n queries: {\n retry: false,\n refetchOnWindowFocus: false,\n },\n },\n queryCache: new QueryCache({\n // onError: error => {\n // const isApiError = isApiErrorResponse(error)\n // if (isApiError) {\n // /**\n // * 모든 API의 호출하기 전에 각 Layer에서 profile query를 호출하여 session 여부를 확인하기 때문에 profileQuery 기준으로 redirection을 처리합니다.\n // */\n // switch (error.status) {\n // case 401: {\n // logout().finally(() => commonHandler())\n // break\n // }\n // }\n // }\n // },\n }),\n mutationCache: new MutationCache({\n onError: error => {\n const isApiError = isApiErrorResponse(error)\n if (isApiError) {\n switch (error.status) {\n case 401: {\n logout().finally(() => commonHandler())\n break\n }\n }\n }\n },\n }),\n })\n })\n\n return queryClient\n}\n","export * from \"./apiClients\"\nexport * from \"./useCreateQueryClientCreator\"\n","import { apiPrivateClient } from \"@/clients/apiClients\"\n\nexport type RegisterBenefitCodeApi = {\n Request: {\n benefitCode: string\n }\n Response: void\n}\n\n/**\n * 추천인 코드(bref) 등록 API\n * @param benefitCode 추천인 코드\n */\nexport const registerBenefitCode = async (\n request: RegisterBenefitCodeApi[\"Request\"],\n) => {\n try {\n await apiPrivateClient(\n \"/gateway/homepage/benefit\",\n {\n method: \"POST\",\n data: request,\n },\n )\n return true\n } catch (error) {\n return false\n }\n}\n","import { queryOptions } from \"@tanstack/react-query\"\n\nimport { registerBenefitCode, RegisterBenefitCodeApi } from \"./apis\"\n\nexport const referralsQueries = {\n _id: [\"referrals\"],\n registerBenefitCode: (request: RegisterBenefitCodeApi[\"Request\"]) => {\n return queryOptions({\n queryKey: [...referralsQueries._id, \"registerBenefitCode\", request],\n queryFn: () => registerBenefitCode(request),\n enabled: !!request.benefitCode,\n staleTime: 1000 * 60 * 30, // 30분\n })\n },\n}\n","export * from \"./apis\"\nexport * from \"./queries\"\n","\"use client\"\n\nimport { useSearchParams } from \"next/navigation\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { referralsQueries } from \"@/clients/referrals\"\n\nexport const useBenefitCode = () => {\n const searchParams = useSearchParams()\n const benefitCode = searchParams.get(\"bref\") || \"\"\n\n useQuery(\n referralsQueries.registerBenefitCode({\n benefitCode,\n }),\n )\n}\n","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 SvgCircleAlert = function SvgCircleAlert(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n fill: \"none\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#EF2A2B\",\n fillRule: \"evenodd\",\n d: \"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m0 6a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2zm1 5a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0z\",\n clipRule: \"evenodd\"\n })));\n};\nexport default SvgCircleAlert;","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 SvgCircleInfo = function SvgCircleInfo(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n fill: \"none\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#077DFD\",\n fillRule: \"evenodd\",\n d: \"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m0 6a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2zm1 5a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0z\",\n clipRule: \"evenodd\"\n })));\n};\nexport default SvgCircleInfo;","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 SvgCircleMinus = function SvgCircleMinus(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n fill: \"none\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#455D7E\",\n fillRule: \"evenodd\",\n d: \"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1M8 11a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z\",\n clipRule: \"evenodd\"\n })));\n};\nexport default SvgCircleMinus;","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 SvgCircleSuccess = function SvgCircleSuccess(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n fill: \"none\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#13AC74\",\n fillRule: \"evenodd\",\n d: \"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m5.207 8.707a1 1 0 0 0-1.414-1.414L10.5 13.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0z\",\n clipRule: \"evenodd\"\n })));\n};\nexport default SvgCircleSuccess;","\"use client\"\n\nimport * as React from \"react\"\nimport * as SnackbarPrimitives from \"@radix-ui/react-toast\"\nimport { XIcon } from \"lucide-react\"\nimport { tv, type VariantProps } from \"tailwind-variants\"\n\nimport { cn } from \"@/utils/styles\"\nimport DangerIcon from \"@/assets/icons/circle-alert.svg\"\nimport InfoIcon from \"@/assets/icons/circle-info.svg\"\nimport DeleteIcon from \"@/assets/icons/circle-minus.svg\"\nimport SuccessIcon from \"@/assets/icons/circle-success.svg\"\n\nconst snackbarVariants = tv({\n slots: {\n viewport: [\n \"fixed left-1/2 top-[68px] z-[999] -translate-x-1/2\",\n \"flex flex-col-reverse md:top-[80px]\",\n ],\n root: [\n \"group pointer-events-auto\",\n \"w-full max-w-[calc(100vw-20px)]\",\n \"min-w-[280px] max-w-[500px]\",\n \"px-3 py-[14px]\",\n \"flex\",\n \"font-medium\",\n \"border-1\",\n \"rounded-[5px]\",\n ],\n icon: [\"w-6 h-6 mr-2 shrink-0\"],\n message: [\"whitespace-pre-line break-all pl-1 pr-2 pt-[2px] text-sm\"],\n close: [\n \"h-7 w-7\",\n \"p-1 ml-auto -mr-2 -my-[3px]\",\n \"text-gray-08\",\n \"opacity-80 hover:opacity-100 transition\",\n \"cursor-pointer shrink-0\",\n ],\n closeIcon: [\"w-4 h-4\"],\n },\n variants: {\n variant: {\n info: {\n root: [\"bg-[#E7F2FB] border-[#A7D9FF]\"],\n },\n success: {\n root: [\"bg-[#E7F5F0] border-[#97D5B7]\"],\n },\n delete: {\n root: [\"bg-second border-[#97ACC2]\"],\n },\n danger: {\n root: [\"bg-danger border-[#FFBFBF]\"],\n },\n },\n },\n defaultVariants: {\n variant: \"success\",\n },\n})\n\nexport type SnackbarVariantsProps = VariantProps\nconst SnackbarContext = React.createContext(null)\n\nfunction useSnackbarContext() {\n const context = React.useContext(SnackbarContext)\n if (!context) {\n throw new Error(\"useSnackbarContext must be used within a SnackbarProvider\")\n }\n return context\n}\n\ntype SnackbarProviderProps = React.ComponentPropsWithoutRef<\n typeof SnackbarPrimitives.Provider\n>\n\nconst SnackbarProvider = ({\n children,\n variant = \"info\",\n ...props\n}: SnackbarProviderProps & SnackbarVariantsProps) => {\n const contextValues = React.useMemo(() => {\n return {\n variant,\n }\n }, [variant])\n return (\n \n {children}\n \n )\n}\n\nconst SnackbarViewport = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => {\n const contextValues = useSnackbarContext()\n const variants = snackbarVariants(contextValues)\n return (\n \n )\n})\nSnackbarViewport.displayName = SnackbarPrimitives.Viewport.displayName\n\nconst Snackbar = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => {\n const contextValues = useSnackbarContext()\n const variants = snackbarVariants(contextValues)\n return (\n \n )\n})\nSnackbar.displayName = SnackbarPrimitives.Root.displayName\n\nconst SnackbarClose = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => {\n const contextValues = useSnackbarContext()\n const variants = snackbarVariants(contextValues)\n return (\n \n \n \n )\n})\nSnackbarClose.displayName = SnackbarPrimitives.Close.displayName\n\nconst SnackbarIcon = () => {\n const contextValues = useSnackbarContext()\n const variants = snackbarVariants(contextValues)\n switch (contextValues.variant) {\n case \"info\": {\n return \n }\n case \"success\": {\n return \n }\n case \"delete\": {\n return \n }\n case \"danger\": {\n return \n }\n default: {\n return null\n }\n }\n}\n\nconst SnackbarContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => {\n const contextValues = useSnackbarContext()\n const variants = snackbarVariants(contextValues)\n return
\n})\nSnackbarContent.displayName = \"SnackbarContent\"\n\nexport {\n Snackbar,\n SnackbarClose,\n SnackbarContent,\n SnackbarIcon,\n SnackbarProvider,\n SnackbarViewport,\n}\n","\"use client\"\n\nimport * as React from \"react\"\n\nimport {\n Snackbar,\n SnackbarClose,\n SnackbarContent,\n SnackbarIcon,\n SnackbarProvider,\n SnackbarViewport,\n} from \"@/components/ui/snackbar/snackbar\"\nimport { useSnackbarStore } from \"@/store/snackbarStore\"\n\nconst SNACKBAR_DURATION = 1000 * 6\n\nexport function Snackbars() {\n const isOpen = useSnackbarStore(state => state.isOpen)\n const message = useSnackbarStore(state => state.message)\n const variant = useSnackbarStore(state => state.variant)\n const closeSnackbar = useSnackbarStore(state => state.closeSnackbar)\n\n return (\n \n \n \n \n {message}\n \n \n \n )\n}\n","export * from \"./snackbar\"\nexport * from \"./snackbars\"\n","\"use client\"\n\nimport \"@/libs/dayjs\"\n\nimport { NextUIProvider } from \"@nextui-org/react\"\nimport { QueryClientProvider } from \"@tanstack/react-query\"\nimport dayjs from \"dayjs\"\nimport { usePathname } from \"next/navigation\"\nimport * as React from \"react\"\nimport { I18nextProvider } from \"react-i18next\"\n\nimport { useTailwindBreakpoint } from \"@/hooks/useTailwindBreakpoint\"\nimport { createI18n } from \"@/i18n\"\nimport {\n ChannelTalk,\n GoogleTagManager,\n MicrosoftClarity,\n MixpanelProvider,\n} from \"@/providers\"\nimport { useBreakpointStore } from \"@/store/layoutStore\"\nimport { BoltaEvent } from \"@/utils/mixpanels\"\nimport { useProfileStore } from \"@/store/profiles/store\"\nimport { useCreateQueryClientCreator } from \"@/clients\"\nimport { FeatureFlags } from \"@/modules/feature-flags\"\nimport { useBenefitCode } from \"@/hooks/useBenefitCode\"\nimport { createEmitter, EmitterProvider } from \"@/modules/emitter\"\nimport { Snackbars } from \"@/components/ui/snackbar\"\n\nexport function Provider({ children }: { children: React.ReactNode }) {\n const workspaceId = useProfileStore(state => state.getCurrentWorkspaceId())\n const pathname = usePathname()\n const breakpoint = useTailwindBreakpoint()\n const setBreakpoint = useBreakpointStore(state => state.setBreakpoint)\n const queryClient = useCreateQueryClientCreator()\n const [i18n] = React.useState(() => createI18n(\"ko\"))\n const [emitter] = React.useState(() => createEmitter())\n\n React.useEffect(() => {\n setBreakpoint(breakpoint)\n }, [breakpoint, setBreakpoint])\n\n React.useEffect(() => {\n dayjs.locale(\"ko\")\n dayjs.tz.setDefault(\"Asia/Seoul\")\n }, [])\n\n React.useEffect(() => {\n BoltaEvent.trackPageView({ workspaceId })\n }, [pathname, workspaceId])\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n {children}\n \n \n \n \n \n \n )\n}\n\nfunction ProviderInner({ children }: { children: React.ReactNode }) {\n useBenefitCode()\n\n return (\n <>\n {children}\n\n \n \n \n )\n}\n","\"use client\"\n\nimport * as React from \"react\"\n\nimport { useBoltaEventSubscription } from \"@/features/events\"\n\ntype SubscriberProps = {\n children: React.ReactNode\n}\n\nexport function Subscriber({ children }: SubscriberProps) {\n useBoltaEventSubscription()\n\n return <>{children}\n}\n","import { apiPrivateClient } from \"@/clients/apiClients\"\n\n/**\n * 로그아웃 API\n * NOTE: logout API는 직접 구현한게 아니라 스프링부트 자체 로그아웃 엔드포인트입니다. 세션이 끊기면서 Http connection도 자동으로 끊기는거 같아요. (Body/Header가 모두 비어서 Browser에서 CORS 처리 합니다.)\n * 그러므로, catch 처리를 통해서 handling 되어야 합니다.\n */\nexport const logout = async () => {\n try {\n await apiPrivateClient.post(\"/logout\")\n } catch (error) {\n // Session is terminated.\n }\n}\n","import { MutationOptions, useMutation, useQueryClient } from \"@tanstack/react-query\"\n\nimport { logout } from \"@/clients/auth\"\nimport { ApiErrorResponse } from \"@/clients/types\"\nimport { useProfileStore } from \"@/store/profiles\"\nimport { BoltaEvent } from \"@/utils/mixpanels\"\nimport { profileQueries } from \"@/clients/profiles\"\n\ntype LogoutMutationOptions = MutationOptions\ntype LogoutMutationOnSuccess = LogoutMutationOptions[\"onSuccess\"]\ntype LogoutMutationOnError = LogoutMutationOptions[\"onError\"]\ntype LogoutMutationOnSettled = LogoutMutationOptions[\"onSettled\"]\n\ninterface UseLogoutMutationOptions {\n onSuccess?: LogoutMutationOnSuccess\n onError?: LogoutMutationOnError\n onSettled?: LogoutMutationOnSettled\n}\n\nexport function useLogoutMutationEffect({\n onSuccess,\n onError,\n onSettled,\n}: UseLogoutMutationOptions = {}) {\n const workspaceId = useProfileStore(state => state.getCurrentWorkspaceId())\n const setProfile = useProfileStore(state => state.setProfile)\n const setWorkspaceGroup = useProfileStore(state => state.setWorkspaceGroup)\n const queryClient = useQueryClient()\n\n const commonHandler = async () => {\n setProfile(null)\n setWorkspaceGroup(null)\n BoltaEvent.logout({ workspaceId })\n await queryClient.resetQueries({\n queryKey: profileQueries.profile().queryKey,\n exact: true,\n })\n }\n\n const handleSuccess: LogoutMutationOnSuccess = async (...args) => {\n await commonHandler()\n onSuccess?.(...args)\n }\n\n const handleError: LogoutMutationOnError = async (...args) => {\n await commonHandler()\n onError?.(...args)\n }\n\n return useMutation({\n mutationFn: logout,\n onSuccess: handleSuccess,\n onError: handleError,\n onSettled,\n })\n}\n","export * from \"./useLogoutMutationEffect\"\n","export * from \"./apis\"\nexport * from \"./hooks\"\n","import { ApiErrorResponse, ApiErrorBody } from \"./types\"\n\nexport const isApiErrorResponse = (\n error: Error | ApiErrorResponse,\n): error is ApiErrorResponse => {\n return \"name\" in error && error.name === \"AxiosError\"\n}\n","export * from \"./apis\"\nexport * from \"./hooks\"\nexport * from \"./queries\"\nexport * from \"./select\"\n","import { TFunction } from \"i18next\"\n\nimport { ApiErrorBody, BoltaApiErrorResponse } from \"./types\"\nimport { isApiErrorResponse } from \"./isApiErrorResponse\"\n\nexport const toApiErrorMessage =\n (t: TFunction) =>\n (error: BoltaApiErrorResponse) => {\n const unexpectedMessage = t(\"error.apis.unexpected\")\n const apiErrorBody = toApiErrorBody(error)\n if (apiErrorBody) {\n return apiErrorBody?.message || unexpectedMessage\n }\n if (error instanceof Error) {\n return error?.message || unexpectedMessage\n }\n return unexpectedMessage\n }\n\nexport const toApiErrorBody = (\n error: BoltaApiErrorResponse,\n) => {\n if (isApiErrorResponse(error)) {\n return error.response?.data?.body\n }\n return null\n}\n","import * as React from \"react\"\n\nimport { cn } from \"@/utils/styles\"\n\ntype ElementType = React.ComponentProps<\"hr\">\n\nexport function Divider({ className, ...props }: ElementType) {\n return
\n}\n","import { VariantProps } from \"@nextui-org/react\"\nimport { tv } from \"tailwind-variants\"\n\nconst textDividerVariants = tv({\n base: [\"border-gray-05\"],\n variants: {\n variant: {\n horizontal: [\"w-[100%]\", \"border-b\"],\n vertical: [\"h-[10px]\", \"border-r\"],\n },\n },\n defaultVariants: {\n variant: \"vertical\",\n },\n})\n\ntype TextDividerVariants = VariantProps\n\ntype ElementType = HTMLDivElement\ntype ElementProps = React.HTMLAttributes\n\nexport type TextDividerProps = TextDividerVariants & ElementProps\n\nexport function TextDivider({\n className,\n variant,\n ...others\n}: TextDividerVariants & ElementProps) {\n return \n}\n","export * from \"./Divider\"\nexport * from \"./TextDivider\"\n","export default function Ellipsis() {\n return (\n
\n
\n
\n
\n
\n
\n )\n}\n","\"use client\"\nimport { useEffect, useState } from \"react\"\n\nimport { useLoadingOverlayStore } from \"@/store/loadingOverlayStore\"\n\nimport Ellipsis from \"./Ellipsis\"\n\nexport default function LoadingOverlay() {\n const isLoading = useLoadingOverlayStore(state => state.isLoading)\n const [showMask, setShowMask] = useState(false)\n\n useEffect(() => {\n let timer\n\n if (isLoading) {\n timer = setTimeout(() => {\n setShowMask(true)\n }, 400)\n } else {\n setShowMask(false)\n }\n\n return () => {\n if (timer) {\n clearTimeout(timer)\n }\n }\n }, [isLoading])\n\n if (!isLoading) return null\n\n return (\n \n
\n \n
\n )\n}\n","import { useEmitter } from \"@/modules/emitter\"\n\nimport { BoltaEventMap } from \"../types\"\n\nexport const useBoltaEventEmitter = () => {\n const emitter = useEmitter()\n\n return emitter\n}\n","import { BoltaEvent } from \"@/utils/mixpanels\"\nimport { useEmitter } from \"@/modules/emitter\"\nimport { useMount } from \"@/hooks/useMount\"\n\nimport { BoltaEventMap } from \"../types\"\n\nexport const useBoltaEventSubscription = () => {\n const emitter = useEmitter()\n\n useMount(() => {\n const eventHandler = (\n eventType: keyof BoltaEventMap,\n eventData: BoltaEventMap[keyof BoltaEventMap],\n ) => {\n BoltaEvent.trackV2(eventType, eventData)\n }\n emitter.on(\"*\", eventHandler)\n return () => {\n emitter.off(\"*\", eventHandler)\n }\n })\n}\n","export * from \"./useBoltaEventEmitter\"\nexport * from \"./useBoltaEventSubscription\"\n","export * from \"./hooks\"\nexport * from \"./types\"\n","import * as React from \"react\"\n\nexport function useMount(callback?: () => void) {\n const mounted = React.useRef(false)\n\n React.useEffect(() => {\n callback?.()\n mounted.current = true\n }, [])\n\n return mounted.current\n}\n","import mitt, { Emitter as MittEmitter, EventType as MittEventType } from \"mitt\"\n\nexport function createEmitter<\n Events extends Record,\n>(): MittEmitter {\n const emitter = mitt()\n\n return emitter\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n\"use client\"\n\nimport * as React from \"react\"\nimport {\n Emitter as MittEmitter,\n EventType as MittEventType,\n Handler as MittHandler,\n WildcardHandler as MittWildcardHandler,\n} from \"mitt\"\n\nexport type EmitterContextValues> =\n MittEmitter\n\nconst EmitterContext = React.createContext>(\n null as unknown as EmitterContextValues,\n)\n\ntype EmitterProviderProps> = {\n emitter: MittEmitter\n children: React.ReactNode\n}\n\nexport const EmitterProvider = >({\n emitter,\n children,\n}: EmitterProviderProps) => {\n return {children}\n}\n\nexport const useEmitter = >() => {\n const context = React.useContext(EmitterContext)\n if (!context) {\n throw new Error(\"useEmitter must be used within an EmitterProvider\")\n }\n return context as MittEmitter\n}\n\nexport const useEmitterSubscription = >(\n eventName: keyof Events | \"*\",\n handler: MittHandler | MittWildcardHandler,\n) => {\n const emitter = useEmitter()\n\n React.useEffect(() => {\n emitter.on(eventName, handler as MittHandler)\n return () => {\n emitter.off(eventName, handler as MittHandler)\n }\n }, [emitter, eventName, handler])\n}\n","export * from \"./createEmitter\"\nexport * from \"./EmitterProvider\"\n","import { keys, pipe, some } from \"@fxts/core\"\nimport dayjs from \"dayjs\"\nimport { create } from \"zustand\"\n\nimport { isEqualsBusinessRegistrationNumber } from \"@/features/customers\"\n\nexport type FeatureFlagsState = {\n today: dayjs.Dayjs\n isDeveloperPartner: (\n today: dayjs.Dayjs,\n businessRegistrationNumber?: string,\n ) => boolean\n setToday: (date: dayjs.Dayjs) => void\n}\n\nexport const useFeatureFlagStore = create()(set => ({\n today: dayjs(),\n isDeveloperPartner: (today: dayjs.Dayjs, businessRegistrationNumber?: string) => {\n return checkIsDeveloperPartner(today, businessRegistrationNumber || \"\")\n },\n setToday: (nextToday: dayjs.Dayjs) => {\n return set({\n today: nextToday,\n })\n },\n}))\n\n/**\n * @see https://bolta-corp.slack.com/archives/C07458L6YJW/p1740057819905009\n */\nexport const DEVELOPERS_OPEN_DATES = {\n RELEASE: dayjs(\"2025-02-24\"),\n ALL: dayjs(\"2025-04-01\"),\n} as const\n\nexport type DeveloperCenterOpenKey = \"RELEASE\" | \"ALL\" | null\n\n/**\n * RELEASE ~ BETA 기간에 노출되는 파트너 목록입니다.\n * @see isEqualsBusinessRegistrationNumber 로 비교하시면 됩니다.\n */\nexport const DEVELOPERS_BETA_PARTNERS = {\n \"564-81-01462\": \"주식회사 인에디트\",\n \"803-87-02219\": \"주식회사 오더체크\",\n \"427-81-03083\": \"주식회사 오더테크\",\n \"564-81-02684\": \"(주) 볼타코퍼레이션\",\n \"669-88-01204\": \"주식회사 넥스트에디션(캠핏)\",\n \"283-81-01767\": \"주식회사 파이노버스랩(페이먼스)\",\n \"610-88-02384\": \"주식회사 디원더(빌딩케어)\",\n \"407-87-00105\": \"주식회사 콜버스랩(자리톡, 콜버스)\",\n \"363-86-03014\": \"주식회사 라프디\",\n \"561-88-02044\": \"주식회사 파워테스크\",\n \"716-87-02405\": \"주식회사 모요\",\n} as const\n\nfunction getCurrentDeveloperCenterOpenKey(\n today: dayjs.Dayjs,\n): DeveloperCenterOpenKey {\n if (today.isSameOrAfter(DEVELOPERS_OPEN_DATES.ALL)) {\n return \"ALL\"\n }\n if (today.isSameOrAfter(DEVELOPERS_OPEN_DATES.RELEASE)) {\n return \"RELEASE\"\n }\n return null\n}\n\nconst checkIsDeveloperPartner = (\n today: dayjs.Dayjs,\n businessRegistrationNumber: string,\n) => {\n const currentDeveloperCenterStatus = getCurrentDeveloperCenterOpenKey(today)\n if (currentDeveloperCenterStatus === \"ALL\") {\n return true\n }\n if (currentDeveloperCenterStatus === \"RELEASE\") {\n const isPartner = pipe(\n keys(DEVELOPERS_BETA_PARTNERS),\n some(key => {\n return isEqualsBusinessRegistrationNumber(key, businessRegistrationNumber)\n }),\n )\n return isPartner\n }\n return false\n}\n","\"use client\"\n\nimport * as React from \"react\"\nimport { Settings } from \"lucide-react\"\nimport dayjs from \"dayjs\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { Popover, PopoverContent, PopoverTrigger } from \"@/components/ui/popover\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\"\nimport { useProfileStore } from \"@/store/profiles\"\nimport { isEqualsBusinessRegistrationNumber } from \"@/features/customers\"\nimport { DatePicker } from \"@/components/DatePicker\"\n\nimport {\n useFeatureFlagStore,\n DEVELOPERS_BETA_PARTNERS,\n DEVELOPERS_OPEN_DATES,\n} from \"../hooks/useFeatureFlagStore\"\n\nconst FeatureFlagsContent = () => {\n const workspace = useProfileStore(state => state.getCurrentWorkspace())\n const setToday = useFeatureFlagStore(state => state.setToday)\n const today = useFeatureFlagStore(state => state.today)\n\n const onChangeDate = (date: string | null) => {\n if (date) {\n setToday(dayjs(date).tz(\"Asia/Seoul\").startOf(\"day\"))\n }\n }\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n Feature Flags\n \n Dev 모드에서만 확인할 수 있습니다.\n \n \n
\n

Current Date

\n \n
\n\n
\n

Current Workspace

\n
\n {workspace?.businessRegistrationNumber}\n
\n
\n\n
\n

Release Schedule

\n
\n {Object.entries(DEVELOPERS_OPEN_DATES).map(([key, date]) => (\n
\n {key}\n \n {dayjs(date).format(\"YYYY-MM-DD\")}\n \n
\n ))}\n
\n
\n\n
\n

Beta Partners

\n
\n {Object.entries(DEVELOPERS_BETA_PARTNERS).map(([id, name]) => {\n const isCurrentWorkspace = isEqualsBusinessRegistrationNumber(\n id,\n workspace?.businessRegistrationNumber ?? \"\",\n )\n return (\n \n {name}\n {id}\n
\n )\n })}\n
\n
\n \n \n \n \n
\n )\n}\n\nexport const FeatureFlags = () => {\n if (process.env.NEXT_PUBLIC_APP_ENV === \"development\") {\n return \n }\n return null\n}\n","export * from \"./FeatureFlags\"\n","export * from \"./useFeatureFlagStore\"\n","export * from \"./containers\"\nexport * from \"./hooks\"\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable prefer-rest-params */\n\nclass ChannelTalkClient {\n constructor() {\n this.loadScript()\n }\n\n private loadScript() {\n const windowReference = window as any\n if (windowReference.ChannelIO) {\n return\n }\n const channelIO = function () {\n channelIO.c(arguments)\n }\n channelIO.q = []\n channelIO.c = function (args: any) {\n channelIO.q.push(args)\n }\n windowReference.ChannelIO = channelIO\n function loadChannelIO() {\n if (windowReference.ChannelIOInitialized) {\n return\n }\n windowReference.ChannelIOInitialized = true\n const newScript = document.createElement(\"script\")\n newScript.type = \"text/javascript\"\n newScript.async = true\n newScript.src = \"https://cdn.channel.io/plugin/ch-plugin-web.js\"\n newScript.charset = \"UTF-8\"\n const existScript = document.getElementsByTagName(\"script\")[0]\n existScript.parentNode?.insertBefore(newScript, existScript)\n }\n\n if (document.readyState === \"complete\") {\n loadChannelIO()\n } else if (window.addEventListener) {\n // 여기에서 변경\n window.addEventListener(\"load\", loadChannelIO, false)\n }\n }\n\n boot(settings: { pluginKey: string; hideChannelButtonOnBoot: boolean }) {\n ;(window as any).ChannelIO(\"boot\", settings)\n }\n\n shutdown() {\n ;(window as any).ChannelIO(\"shutdown\")\n }\n}\n\nexport default ChannelTalkClient\n","import { create } from \"zustand\"\nimport { persist } from \"zustand/middleware\"\n\ninterface ShowDataState {\n isShowData: boolean\n toggleShowData: () => void\n}\n\ninterface BreakpointState {\n breakpoint: string\n isMobile: boolean\n setBreakpoint: (breakpoint: string) => void\n}\n\ninterface LayoutState {\n isLeftOpen: boolean\n isCardChanged: boolean\n openGroup: string[]\n toggleLeft: () => void\n openLeft: () => void\n closeLeft: () => void\n setOpenGroup: (group: string[]) => void\n setCardChanged: (isCardChanged: boolean) => void\n}\n\ninterface PageSizeState {\n pageSize: number\n setPageSize: (pageSize: number) => void\n}\n\nexport const useBreakpointStore = create(set => ({\n isMobile: false,\n breakpoint: \"sm\",\n setBreakpoint: breakpoint =>\n set({ breakpoint, isMobile: breakpoint === \"sm\" || breakpoint === \"xs\" }),\n}))\n\nexport const useLayoutStore = create(set => ({\n isLeftOpen: true,\n isCardChanged: false,\n /**\n * @todo openGroup 비교 mechanism이 특정 key값이 아닌 string이라 개선이 필요함\n */\n openGroup: [\"지급요청 관리\", \"개발자센터\"],\n toggleLeft: () => set(state => ({ isLeftOpen: !state.isLeftOpen })),\n openLeft: () => set({ isLeftOpen: true }),\n closeLeft: () => set({ isLeftOpen: false }),\n setCardChanged: (isCardChanged: boolean) => set({ isCardChanged }),\n setOpenGroup: (group: string[]) => set({ openGroup: group }),\n}))\n\nexport const usePageSizeStore = create()(\n persist(\n set => ({\n pageSize: 10,\n setPageSize: pageSize => set({ pageSize }),\n }),\n {\n name: \"page-size\", // persist key\n },\n ),\n)\n\nexport const useShowDataStore = create()(\n persist(\n set => ({\n isShowData: false,\n toggleShowData: () => set(state => ({ isShowData: !state.isShowData })),\n }),\n {\n name: \"show-dev-data\", // persist key\n },\n ),\n)\n","import { create } from \"zustand\"\n\ninterface LoadingOverlayState {\n isLoading: boolean\n startLoading: () => () => void\n stopLoading: () => void\n}\n\n/**\n * @deprecated OverlayLoading을 더 이상 사용하지말고, 각 페이지 별로 layout별로 처리하시기 바랍니다.\n */\nexport const useLoadingOverlayStore = create()(set => ({\n isLoading: false,\n startLoading: () => {\n set({ isLoading: true })\n return () => set({ isLoading: false })\n },\n stopLoading: () => set({ isLoading: false }),\n}))\n","\"use client\"\n\nimport * as React from \"react\"\nimport { create } from \"zustand\"\n\nimport { SnackbarVariantsProps } from \"@/components/ui/snackbar\"\n\ntype SnackbarState = SnackbarVariantsProps & {\n isOpen: boolean\n message: React.ReactNode\n onClose?: () => void\n openSnackbar: (\n message: React.ReactNode,\n variant?: SnackbarVariantsProps[\"variant\"],\n options?: OpenSnackbarOptions,\n ) => void\n closeSnackbar: () => void\n}\n\ntype OpenSnackbarOptions = {\n onClose?: () => void\n}\n\nexport const useSnackbarStore = create()((set, get) => ({\n isOpen: false,\n message: \"\",\n variant: \"success\",\n onClose: undefined,\n openSnackbar: (message, variant = \"success\", options) => {\n const { isOpen, onClose: prevOnClose } = get()\n const { onClose: nextOnClose } = options || {}\n if (isOpen) {\n set({ isOpen: false, message, variant })\n prevOnClose?.()\n setTimeout(() => {\n set({ isOpen: true, message, variant, onClose: nextOnClose })\n }, 100)\n } else {\n set({ isOpen: true, message, variant, onClose: nextOnClose })\n }\n },\n closeSnackbar: () => {\n const { isOpen, onClose } = get()\n if (isOpen) {\n set({ isOpen: false })\n onClose?.()\n }\n },\n}))\n","import mixpanel, { Dict } from \"mixpanel-browser\"\n\nimport { ProfileModel, ProfileWorkspaceModel } from \"@/features/profiles\"\n\nconst MixpanelIdentify = (\n profile: ProfileModel,\n { workspaceId }: { workspaceId: number },\n workspaces: ProfileWorkspaceModel[],\n) => {\n mixpanel.identify(profile.account.id.toString())\n mixpanel.set_group(\n \"workspace\",\n workspaces.map(workspace => workspace.id),\n )\n workspaces.forEach(workspace => {\n mixpanel.get_group(\"workspace\", workspace.id.toString()).set({\n id: workspace.id,\n $name: workspace.organizationName,\n organizationName: workspace.organizationName,\n representativeName: workspace.representativeName,\n businessRegistrationNumber: workspace.businessRegistrationNumber,\n taxRegistrationId: workspace.taxRegistrationId,\n address: workspace.address,\n businessType: workspace.businessType,\n businessItem: workspace.businessItem,\n staff: {\n id: workspace.staff.id,\n email: workspace.staff.email,\n displayName: workspace.staff.displayName,\n telephone: workspace.staff.telephone,\n },\n })\n })\n mixpanel.people.set({\n $email: profile.account.email,\n $name: profile.account.displayName,\n })\n MixPanelTrack(\"login_success\", { workspaceId })\n}\n\nconst MixPanelReset = ({ workspaceId }: { workspaceId: number }) => {\n MixPanelTrack(\"clicked__logout__left_side_bar\", { workspaceId })\n mixpanel.reset()\n}\n\nconst MixPanelTrack = (\n event: string,\n { workspaceId }: { workspaceId: number },\n properties?: Dict,\n) => {\n mixpanel.track(event, { ...properties, workspace: workspaceId })\n}\n\nconst MixPanelTrackV2 = (\n event: string,\n properties?: Dict & { workspaceId: number },\n) => {\n mixpanel.track(event, { ...properties })\n}\n\nconst MixPanelTrackPageView = (\n { workspaceId }: { workspaceId: number },\n properties?: Dict,\n) => {\n mixpanel.track_pageview({ ...properties, workspace: workspaceId })\n}\n\nexport const BoltaEvent = {\n identify: MixpanelIdentify,\n logout: MixPanelReset,\n trackV2: MixPanelTrackV2,\n trackPageView: MixPanelTrackPageView,\n}\n","import { clsx, ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...classes: ClassValue[]) {\n return twMerge(clsx(...classes))\n}\n","// extracted by mini-css-extract-plugin"],"names":["Promise","resolve","then","__webpack_require__","t","bind","instance","axios","create","baseURL","process","headers","Accept","withCredentials","defaults","paramsSerializer","paramObj","qs","arrayFormat","interceptors","request","use","config","url","includes","window","location","pathname","logout","href","response","error","useLoadingOverlayStore","getState","stopLoading","status","useSnackbarStore","openSnackbar","reload","errorMessage","data","body","message","reject","__webpack_exports__","Z","_path","circle_info_path","circle_minus_path","circle_success_path","dayjs","advancedFormat","customParseFormat","duration","isBetween","isSameOrAfter","isSameOrBefore","isToday","isTomorrow","isYesterday","tz","utc","localizedFormat","weekday","useTailwindBreakpoint","breakpoint","setBreakpoint","useState","prevBreakpoint","setPrevBreakpoint","isLeftOpen","useLayoutStore","state","closeLeft","openLeft","useEffect","checkBreakpoint","width","innerWidth","addEventListener","removeEventListener","providers_ChannelTalk","channelTalkClient","ChannelTalkClient","boot","pluginKey","hideChannelButtonOnBoot","shutdown","jsx_runtime","jsx","Fragment","providers_GoogleTagManager","id","param","TagManager","gtmId","providers_MicrosoftClarity","clarity","init","providers_MixpanelProvider","token","console","debug","env","NEXT_PUBLIC_MIXPANEL_DEBUG","track_pageview","cross_subdomain_cookie","persistence","mixpanel","registerBenefitCode","apiPrivateClient","method","referralsQueries","_id","queryOptions","queryKey","queryFn","enabled","benefitCode","staleTime","useBenefitCode","searchParams","useSearchParams","get","useQuery","_extends","Object","assign","n","e","arguments","length","r","hasOwnProperty","call","apply","circle_alert","props","node_modules_react","createElement","xmlns","height","fill","fillRule","d","clipRule","circle_info_extends","circle_info","circle_minus_extends","circle_minus","circle_success_extends","circle_success","snackbarVariants","tv","slots","viewport","root","icon","close","closeIcon","variants","variant","info","success","delete","danger","defaultVariants","SnackbarContext","React","useSnackbarContext","context","SnackbarProvider","children","contextValues","Provider","value","SnackbarPrimitives","SnackbarViewport","ref","className","cn","displayName","Snackbar","SnackbarClose","XIcon","SnackbarIcon","InfoIcon","SuccessIcon","DeleteIcon","DangerIcon","SnackbarContent","div","Snackbars","isOpen","closeSnackbar","jsxs","open","onOpenChange","onClick","workspaceId","useProfileStore","getCurrentWorkspaceId","usePathname","useBreakpointStore","queryClient","useCreateQueryClientCreator","router","useRouter","setProfile","setWorkspaceGroup","commonHandler","replace","QueryClient","defaultOptions","queries","retry","refetchOnWindowFocus","queryCache","QueryCache","mutationCache","MutationCache","onError","isApiErrorResponse","finally","i18n","createI18n","emitter","createEmitter","setDefault","BoltaEvent","trackPageView","GoogleTagManager","MicrosoftClarity","ChannelTalk","MixpanelProvider","EmitterProvider","QueryClientProvider","client","I18nextProvider","NextUIProvider","ProviderInner","FeatureFlags","Subscriber","useBoltaEventSubscription","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","post","useLogoutMutationEffect","onSuccess","onSettled","useQueryClient","resetQueries","profileQueries","profile","exact","handleSuccess","args","handleError","useMutation","mutationFn","name","toApiErrorMessage","unexpectedMessage","apiErrorBody","toApiErrorBody","Error","Divider","hr","textDividerVariants","base","horizontal","vertical","TextDivider","others","span","Ellipsis","LoadingOverlay","isLoading","showMask","setShowMask","timer","setTimeout","clearTimeout","style","opacity","useBoltaEventEmitter","useEmitter","useMount","eventHandler","eventType","eventData","trackV2","on","off","callback","mounted","current","mitt","EmitterContext","useFeatureFlagStore","set","today","isDeveloperPartner","businessRegistrationNumber","checkIsDeveloperPartner","setToday","nextToday","DEVELOPERS_OPEN_DATES","RELEASE","ALL","DEVELOPERS_BETA_PARTNERS","currentDeveloperCenterStatus","pipe","keys","some","key","isEqualsBusinessRegistrationNumber","loadScript","windowReference","ChannelIO","channelIO","c","loadChannelIO","existScript","ChannelIOInitialized","newScript","document","type","async","src","charset","getElementsByTagName","parentNode","insertBefore","q","push","readyState","settings","constructor","isMobile","isCardChanged","openGroup","toggleLeft","setCardChanged","setOpenGroup","group","usePageSizeStore","persist","pageSize","setPageSize","useShowDataStore","isShowData","toggleShowData","startLoading","onClose","undefined","options","prevOnClose","nextOnClose","MixPanelTrack","event","properties","track","workspace","identify","workspaces","account","toString","set_group","map","forEach","get_group","$name","organizationName","representativeName","taxRegistrationId","address","businessType","businessItem","staff","email","telephone","people","$email","reset","_len","classes","_key","twMerge","clsx"],"sourceRoot":""}