{"version":3,"sources":["constants/routes/index.tsx","assets/icons/Billing.ts","assets/icons/Check.ts","assets/icons/Claims.ts","assets/icons/Dashboard.ts","assets/icons/Employers.ts","assets/icons/Settings.ts","assets/icons/Statements.ts","assets/icons/Logout.ts","assets/icons/Selected.ts","assets/icons/SwitchAccounts.ts","redux/adminBilling/state.ts","redux/auth/state.ts","redux/settings/state.ts","redux/employerBusiness/state.ts","redux/employee/state.ts","redux/reducers.ts","redux/auth/reducer.ts","redux/adminBilling/reducer.ts","redux/settings/reducer.ts","redux/employerBusiness/reducer.ts","redux/employee/reducer.ts","redux/store.ts","views/index.tsx","serviceWorker.ts","assets/icons/sygnet.ts","assets/icons/logo.ts","assets/icons/logo-negative.ts","assets/icons/chevron-left-alt.ts","assets/icons/Close.ts","assets/icons/DateRange.ts","assets/icons/Dropdown.ts","assets/icons/MeatBallMenu.ts","assets/icons/ModalError.ts","assets/icons/ModalWarning.ts","assets/icons/index.ts","index.tsx","redux/actionTypes.ts","components/common/loading/index.tsx","constants/services/index.ts","constants/options.ts","constants/index.ts"],"names":["Setting","React","lazy","AdminBilling","CompanyDetails","ClaimDetails","AdminClaims","Employers","Employer","EmployerBusiness","EmployerStatements","EmployeeStatements","Dashboard","EmployerDashboard","MyEmployee","EmployeeDashboard","adminRoutes","path","exact","name","component","employerRoutes1","employerRoutes2","employerRoutes3","_tag","employerRoutes4","employerRoutes","employeeRoutes","Billing","CheckMark","Claims","Settings","Statements","Logout","Selected","SwitchAccounts","InitialAdminBillingState","history","summary","InitialAuthState","access","refresh","InitialSettingState","sidebarShow","InitialEmployerBusinessState","employer","InitialEmployeeBusinessState","employee","reducers","combineReducers","auth","state","arguments","length","undefined","action","type","SET_TOKEN","payload","adminBilling","setting","TOGGLE_SIDEBAR","employerBusiness","employeeBusiness","middleware","thunk","persistConfig","key","storage","debug","whitelist","persistedReducer","persistReducer","stripePromise","loadStripe","concat","stripeConfig","public_key","AuthPages","InternalPages","StatusPage","Store","store","createStore","applyMiddleware","persistor","persistStore","configureStore","AppRenderer","createElement","Provider","Elements","stripe","PersistGate","loading","Loading","Suspense","fallback","BrowserRouter","Switch","Route","status","Boolean","window","location","hostname","match","sygnet","logo","logoNegative","chevronLeftAlt","Close","DateRange","Dropdown","MeatBallMenu","ModalError","ModalWarning","icons","cilAlignCenter","cilAlignLeft","cilAlignRight","cilApplicationsSettings","cilArrowRight","cilArrowTop","cilAsterisk","cilBan","cilBasket","cilBell","cilBold","cilBookmark","cilCalculator","cilCalendar","cilCloudDownload","cilCloudUpload","cilChartPie","cilCheck","cilCheckAlt","cilChevronBottom","cilChevronLeft","cilChevronRight","cilChevronTop","cilCircle","cilCheckCircle","cilCode","cilCommentSquare","cilCreditCard","cilCursor","cilCursorMove","cilDrop","cilDollar","cilEnvelopeClosed","cilEnvelopeLetter","cilEnvelopeOpen","cilEuro","cilGlobeAlt","cilGrid","cilFile","cilFullscreen","cilFullscreenExit","cilGraph","cilHome","cilInbox","cilIndentDecrease","cilIndentIncrease","cilInputPower","cilItalic","cilJustifyCenter","cilJustifyLeft","cilLaptop","cilLayers","cilLightbulb","cilList","cilListNumbered","cilListRich","cilLocationPin","cilLockLocked","cilMagnifyingGlass","cilMap","cilMoon","cilNotes","cilOptions","cilPaperclip","cilPaperPlane","cilPencil","cilPeople","cilPhone","cilPrint","cilPuzzle","cilSave","cilScrubber","cilSettings","cilShare","cilShareAll","cilShareBoxed","cilShieldAlt","cilSpeech","cilSpeedometer","cilSpreadsheet","cilStar","cilSun","cilTags","cilTask","cilTrash","cilUnderline","cilUser","cilUserFemale","cilUserFollow","cilUserUnfollow","cilX","cilXCircle","cilWarning","cifUs","cifBr","cifIn","cifFr","cifEs","cifPl","cibSkype","cibFacebook","cibTwitter","cibLinkedin","cibFlickr","cibTumblr","cibXing","cibGithub","cibStackOverflow","cibYoutube","cibDribbble","cibInstagram","cibPinterest","cibVk","cibYahoo","cibBehance","cibReddit","cibVimeo","cibCcMastercard","cibCcVisa","cibStripe","cibPaypal","cibGooglePay","cibCcAmex","ReactDOM","render","StrictMode","App","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","catch","error","console","message","_ref","relative","className","classnames","API_URL","process","publicAPIService","axios","create","baseURL","apiService","TokenStorage","this","getToken","headers","Authorization","Promise","resolve","reject","post","getRefreshToken","response","storeToken","data","storeRefreshToken","token","localStorage","setItem","LOCAL_STORAGE_TOKEN","profile","LOCAL_STORAGE_PROFILE","JSON","stringify","refreshToken","LOCAL_STORAGE_REFRESH_TOKEN","LOCAL_STORAGE_ROLE","removeItem","getItem","parse","interceptors","request","use","async","requestConfig","config","tokens","common","url","clear","href","getNewToken","re_request_error","new_token_error","hoverOptions","interactiveDebounce","moveTransition","allowHTML","offset","delay","placement","modifier","enabled","fn","styles","popper","position","height","left","innerWidth","rects","width","top","noteOptions","arrow","inertia","interactive","maxWidth","appendTo","body","tooltipContent","gracePeriod","content","html","rollOver","prorate","startDate","adminAccess","claimsAccess","billingAccess","employeesAccess","secret_key","customer"],"mappings":"kGAAA,kQAIA,MAAMA,EAAUC,IAAMC,KAAK,IAAM,2EAC3BC,EAAeF,IAAMC,KACvB,IAAM,2EAEJE,EAAiBH,IAAMC,KACzB,IAAM,2EAEJG,EAAeJ,IAAMC,KACvB,IAAM,sDAEJI,EAAcL,IAAMC,KAAK,IAAM,2EAC/BK,EAAYN,IAAMC,KACpB,IAAM,2EAEJM,EAAWP,IAAMC,KACnB,IAAM,2EAEJO,EAAmBR,IAAMC,KAC3B,IAAM,2EAEJQ,EAAqBT,IAAMC,KAC7B,IAAM,2EAEJS,EAAqBV,IAAMC,KAC7B,IAAM,2EAIJU,EAAYX,IAAMC,KACpB,IAAM,2EAoBJW,EAAoBZ,IAAMC,KAC5B,IAAM,2EAMJY,EAAab,IAAMC,KACrB,IAAM,2EAEJa,EAAoBd,IAAMC,KAC5B,IAAM,2EAwCGc,EAAmB,CAC5B,CACIC,KAAM,eACNC,OAAO,EACPC,KAAM,eACNC,UAAWd,GAEf,CACIW,KAAM,2BACNC,O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ASC,UAEiB,UAA7BF,OAAOC,SAASC,UAEhBF,OAAOC,SAASC,SAASC,MACrB,2D,gsCCHGC,OAbA,CACX,UAAU,w7BCgCCC,OAjCF,CACT,UAAU,owNCgCCC,OAjCM,CACjB,UAAU,0wNCcCC,OAfQ,CACnB,UAAU,moC,8BCoBCC,OArBD,CACV,QAAQ,k1B,UCoBGC,OArBG,CACd,QAAQ,m+BCmBGC,OApBE,CACb,OAAO,+0B,oBCmBIC,OApBM,CACjB,OAAO,0hCCkBIC,OAnBI,CACf,QAAQ,+5BCmBGC,OApBM,CACjB,QAAQ,8sC,wCCqSGC,OAlJD,CACVzF,aACAC,eACAC,YACAiF,SACAnG,eACAoG,aACAC,YACA1G,eACA0B,YACAiF,gBACAC,cACAC,gBACAlF,cACAH,cACAC,gBACAG,oBACAwE,UACAC,QACAC,gBACAC,kBACAQ,mBACAC,iBACAC,kBACAC,4BACAC,kBACAC,gBACAC,gBACAC,WACAC,cACAC,YACAC,YACAC,gBACAC,kBACAC,gBACAC,qBACAC,mBACAC,gBACAC,aACAC,iBACAC,sBACAC,oBACAC,qBACAC,mBACAC,eACAC,oBACAC,aACAC,sBACAC,mBACAC,eACAC,mBACAC,aACAC,eACAC,uBACAC,uBACAC,qBACAC,aACAC,iBACAC,aACAC,aACAC,mBACAC,uBACAC,cACAC,aACAC,cACAC,uBACAC,uBACAC,mBACAC,eACAC,sBACAC,oBACAC,eACAC,eACAC,kBACAC,aACAC,qBACAC,iBACAC,oBACAC,mBACAC,wBACAC,YACAC,aACAC,cACAC,gBACAC,kBACAC,mBACAC,eACAC,eACAC,cACAC,cACAC,eACAC,aACAC,iBACAC,iBACAC,cACAC,iBACAC,mBACAC,kBACAC,eACAC,oBACAC,oBACAC,aACAC,YACAC,aACAC,aACAC,cACAC,kBACAC,aACAC,mBACAC,mBACAC,qBACAC,UACAC,gBACAC,gBACAC,WACAC,WACAC,WACAC,WACAC,WACAC,WACAC,cACAC,iBACAC,gBACAC,iBACAC,eACAC,eACA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nconst Setting = React.lazy(() => import('../../views/Setting'));\nconst AdminBilling = React.lazy(\n () => import('../../views/AdminBilling'),\n);\nconst CompanyDetails = React.lazy(\n () => import('../../views/CompanyDetails'),\n);\nconst ClaimDetails = React.lazy(\n () => import('../../views/Claims/ClaimDetails'),\n);\nconst AdminClaims = React.lazy(() => import('../../views/Claims'));\nconst Employers = React.lazy(\n () => import('../../views/AdminEmployers'),\n);\nconst Employer = React.lazy(\n () => import('../../views/Employers'),\n);\nconst EmployerBusiness = React.lazy(\n () => import('../../views/MyBusiness'),\n);\nconst EmployerStatements = React.lazy(\n () => import('../../views/Statements'),\n);\nconst EmployeeStatements = React.lazy(\n () => import('../../views/Employee/EmployeeSatements'),\n);\n\n\nconst Dashboard = React.lazy(\n () => import('../../views/DashBoard'),\n);\n// const EmployerEligibility = React.lazy(\n// () => import('../../views/AdminEmployers/EmployerEligibility'),\n// );\n// const EmployerWizard = React.lazy(\n// () => import('../../views/AdminEmployers/EmployerEligibility/EmployerWizard'),\n// );\n// const EmployeeAddClass = React.lazy(\n// () => import('../../views/AdminEmployers/EmployerEligibility/AddEmployeeClasses'),\n// );\n// const EmployeeSummery = React.lazy(\n// () => import('../../views/AdminEmployers/EmployerEligibility/SetupSettings/index'),\n// );\n// const KibonoFunds = React.lazy(\n// () => import('../../views/AdminEmployers/EmployerEligibility/EmployerWizard/EmployeeSummery/KibonoAccountFund'),\n// );\n// const AccessPermission = React.lazy(\n// () => import('../../views/AdminEmployers/EmployerEligibility/EmployerWizard/EmployerBusiness'),\n// );\nconst EmployerDashboard = React.lazy(\n () => import('../../views/AdminEmployers/EmployerDashborad'),\n);\n// const EligibilitySteps= React.lazy(\n// () => import('../../views/AdminEmployers/EmployerEligibility/EmployerWizard/EmployerBusiness/EligibilitySteps'),\n// );\n\nconst MyEmployee = React.lazy(\n () => import('../../views/Employee'),\n);\nconst EmployeeDashboard = React.lazy(\n () => import('../../views/EmployeeDashboard'),\n);\n// const Toaster = React.lazy(() => import('./views/notifications/toaster/Toaster'));\n// const Tables = React.lazy(() => import('./views/base/tables/Tables'));\n\n// const Breadcrumbs = React.lazy(() => import('./views/base/breadcrumbs/Breadcrumbs'));\n// const Cards = React.lazy(() => import('./views/base/cards/Cards'));\n// const Carousels = React.lazy(() => import('./views/base/carousels/Carousels'));\n// const Collapses = React.lazy(() => import('./views/base/collapses/Collapses'));\n// const BasicForms = React.lazy(() => import('./views/base/forms/BasicForms'));\n\n// const Jumbotrons = React.lazy(() => import('./views/base/jumbotrons/Jumbotrons'));\n// const ListGroups = React.lazy(() => import('./views/base/list-groups/ListGroups'));\n// const Navbars = React.lazy(() => import('./views/base/navbars/Navbars'));\n// const Navs = React.lazy(() => import('./views/base/navs/Navs'));\n// const Paginations = React.lazy(() => import('./views/base/paginations/Pagnations'));\n// const Popovers = React.lazy(() => import('./views/base/popovers/Popovers'));\n// const ProgressBar = React.lazy(() => import('./views/base/progress-bar/ProgressBar'));\n// const Switches = React.lazy(() => import('./views/base/switches/Switches'));\n\n// const Tabs = React.lazy(() => import('./views/base/tabs/Tabs'));\n// const Tooltips = React.lazy(() => import('./views/base/tooltips/Tooltips'));\n// const BrandButtons = React.lazy(() => import('./views/buttons/brand-buttons/BrandButtons'));\n// const ButtonDropdowns = React.lazy(() => import('./views/buttons/button-dropdowns/ButtonDropdowns'));\n// const ButtonGroups = React.lazy(() => import('./views/buttons/button-groups/ButtonGroups'));\n// const Buttons = React.lazy(() => import('./views/buttons/buttons/Buttons'));\n// const Charts = React.lazy(() => import('./views/charts/Charts'));\n// const Dashboard = React.lazy(() => import('./views/dashboard/Dashboard'));\n// const CoreUIIcons = React.lazy(() => import('./views/icons/coreui-icons/CoreUIIcons'));\n// const Flags = React.lazy(() => import('./views/icons/flags/Flags'));\n// const Brands = React.lazy(() => import('./views/icons/brands/Brands'));\n// const Alerts = React.lazy(() => import('./views/notifications/alerts/Alerts'));\n// const Badges = React.lazy(() => import('./views/notifications/badges/Badges'));\n// const Modals = React.lazy(() => import('./views/notifications/modals/Modals'));\n// const Colors = React.lazy(() => import('./views/theme/colors/Colors'));\n// const Typography = React.lazy(() => import('./views/theme/typography/Typography'));\n// const Widgets = React.lazy(() => import('./views/widgets/Widgets'));\n// const Users = React.lazy(() => import('./views/users/Users'));\n// const User = React.lazy(() => import('./views/users/User'));\n\nexport const adminRoutes: any = [\n {\n path: '/app/claims/',\n exact: true,\n name: 'Admin Claims',\n component: AdminClaims,\n },\n {\n path: '/app/claims/claimDetails',\n exact: true,\n name: 'Admin Claims',\n component: ClaimDetails,\n },\n {\n path: '/app/employers',\n exact: true,\n name: 'Employers',\n component: Employers,\n },\n {\n path: '/app/employers/:id',\n exact: true,\n name: 'Admin Employer',\n component: Employer,\n },\n {\n path: '/app/billing',\n exact: true,\n name: 'Admin Billing',\n component: AdminBilling,\n },\n {\n path: '/app/billing/companyDetails/:id',\n exact: true,\n name: 'Admin Billing',\n component: CompanyDetails,\n },\n {\n path: '/app/settings',\n exact: true,\n name: 'Settings',\n component: Setting,\n },\n];\n\nexport const employerRoutes1: any = [\n {\n path: '/app/employerDashboard',\n exact: true,\n name: 'EmployerDashboard',\n component: EmployerDashboard,\n },\n {\n path: '/app/dashboard',\n exact: true,\n name: 'Dashboard',\n component: Dashboard,\n },\n];\nexport const employerRoutes2: any = [\n {\n path: '/app/myBusiness',\n exact: true,\n name: 'EmployerBusiness',\n component: EmployerBusiness,\n },\n];\nexport const employerRoutes3: any = [\n {\n _tag: 'CSidebarNavItem',\n name: 'Statements',\n path: '/app/statements',\n component:EmployerStatements,\n },\n\n {\n path: '/app/statements',\n exact: true,\n name: 'MyEmployee',\n component: MyEmployee,\n },\n];\nexport const employerRoutes4: any = [\n {\n path: '/app/settings',\n exact: true,\n name: 'Settings',\n component: Setting,\n },\n];\nexport const employerRoutes: any = [...employerRoutes1, ...employerRoutes2, ...employerRoutes3, ...employerRoutes4];\nexport const employeeRoutes: any = [\n {\n path: '/app/settings',\n exact: true,\n name: 'Settings',\n component: Setting,\n },\n {\n path: '/app/my-dashboard',\n exact: true,\n name: 'Dashboard',\n component: EmployeeDashboard,\n },\n {\n path: '/app/my-statements',\n exact: true,\n name: 'Statements',\n component:EmployeeStatements ,\n },\n];\n\n\nconst routes: any = [\n // { path: '/', exact: true, name: 'Home' },\n \n \n \n \n // {\n // path: '/app/employeeStatement', \n // exact: true,\n // name: 'Employee Statements',\n // component: EmployeeStatements,\n // },\n \n \n\n // {\n // path: '/app/employerEligibility',\n // exact: true,\n // name: ' EmployerEligibility',\n // component: EmployerEligibility,\n // },\n // {\n // path: '/app/employerWizard',\n // exact: true,\n // name: 'EmployerWizard',\n // component: EmployerWizard,\n // },\n // {\n // path: '/app/employeeAddOrUpdate',\n // exact: true,\n // name: 'EmployeeAddClass',\n // component: EmployeeAddClass,\n // },\n // {\n // path: '/app/employeeSummery/:id',\n // exact: true,\n // name: 'EmployeeSummery',\n // component: EmployeeSummery,\n // },\n // {\n // path: '/app/kibonoFunds',\n // exact: true,\n // name: 'KibonoFunds',\n // component: KibonoFunds,\n // },\n // {\n // path: '/app/accessPermission',\n // exact: true,\n // name: 'AccessPermission',\n // component: AccessPermission,\n // },\n // {\n // path: '/app/eligibilitySteps',\n // exact: true,\n // name: 'EligibilitySteps',\n // component: EligibilitySteps,\n // },\n // { path: '/dashboard', name: 'Dashboard', component: Dashboard },\n // { path: '/theme', name: 'Theme', component: Colors, exact: true },\n // { path: '/theme/colors', name: 'Colors', component: Colors },\n // { path: '/theme/typography', name: 'Typography', component: Typography },\n // { path: '/base', name: 'Base', component: Cards, exact: true },\n // { path: '/base/breadcrumbs', name: 'Breadcrumbs', component: Breadcrumbs },\n // { path: '/base/cards', name: 'Cards', component: Cards },\n // { path: '/base/carousels', name: 'Carousel', component: Carousels },\n // { path: '/base/collapses', name: 'Collapse', component: Collapses },\n // { path: '/base/forms', name: 'Forms', component: BasicForms },\n // { path: '/base/jumbotrons', name: 'Jumbotrons', component: Jumbotrons },\n // { path: '/base/list-groups', name: 'List Groups', component: ListGroups },\n // { path: '/base/navbars', name: 'Navbars', component: Navbars },\n // { path: '/base/navs', name: 'Navs', component: Navs },\n // { path: '/base/paginations', name: 'Paginations', component: Paginations },\n // { path: '/base/popovers', name: 'Popovers', component: Popovers },\n // { path: '/base/progress-bar', name: 'Progress Bar', component: ProgressBar },\n // { path: '/base/switches', name: 'Switches', component: Switches },\n // { path: '/base/tables', name: 'Tables', component: Tables },\n // { path: '/base/tabs', name: 'Tabs', component: Tabs },\n // { path: '/base/tooltips', name: 'Tooltips', component: Tooltips },\n // { path: '/buttons', name: 'Buttons', component: Buttons, exact: true },\n // { path: '/buttons/buttons', name: 'Buttons', component: Buttons },\n // { path: '/buttons/button-dropdowns', name: 'Dropdowns', component: ButtonDropdowns },\n // { path: '/buttons/button-groups', name: 'Button Groups', component: ButtonGroups },\n // { path: '/buttons/brand-buttons', name: 'Brand Buttons', component: BrandButtons },\n // { path: '/charts', name: 'Charts', component: Charts },\n // { path: '/icons', exact: true, name: 'Icons', component: CoreUIIcons },\n // { path: '/icons/coreui-icons', name: 'CoreUI Icons', component: CoreUIIcons },\n // { path: '/icons/flags', name: 'Flags', component: Flags },\n // { path: '/icons/brands', name: 'Brands', component: Brands },\n // { path: '/notifications', name: 'Notifications', component: Alerts, exact: true },\n // { path: '/notifications/alerts', name: 'Alerts', component: Alerts },\n // { path: '/notifications/badges', name: 'Badges', component: Badges },\n // { path: '/notifications/modals', name: 'Modals', component: Modals },\n // { path: '/notifications/toaster', name: 'Toaster', component: Toaster },\n // { path: '/widgets', name: 'Widgets', component: Widgets },\n // { path: '/users', exact: true, name: 'Users', component: Users },\n // { path: '/users/:id', exact: true, name: 'User Details', component: User }\n];\n\nexport default routes;\n","/** @format */\n\nconst Billing = [\n '20 20',\n `Billing\n \n \n \n \n \n `\n];\nexport default Billing;","/** @format */\n\nconst CheckMark = [\n '16 12',\n `\n CheckMark\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\nexport default CheckMark;","/** @format */\n\nconst Claims = [\n '16 20',\n `\n Claims\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default Claims;\n","/** @format */\n\n\nconst Dashboard = [\n '19 16',\n `\n Dashboard\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default Dashboard;","/** @format */\n\nconst Employers = [\n '20 18',\n `Company/Employers\n \n \n \n \n \n \n `\n];\n\nexport default Employers;\n","/** @format */\n\nconst Settings = [\n '20 20',\n `Settings\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default Settings;","/** @format */\n\nconst Statements = [\n '16 20',\n `Statements\n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default Statements;\n","/** @format */\n\nconst Logout = [\n '18 18',\n `Logout\n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default Logout;\n","/** @format */\n\nconst Selected = [\n '10 18',\n `Selected \n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default Selected;\n","/** @format */\n\nconst SwitchAccounts = [\n '20 16',\n `Switch Accounts\n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default SwitchAccounts;","/** @format */\n\nimport { AdminBillingState } from './type';\n\nconst InitialAdminBillingState: AdminBillingState = {\n history: [],\n summary: {},\n};\n\nexport default InitialAdminBillingState;\n","/** @format */\n\nimport AuthState from './type';\n\nconst InitialAuthState: AuthState = {\n access: '',\n refresh: '',\n};\n\nexport default InitialAuthState;\n","/** @format */\n\nimport SettingState from './type';\n\nconst InitialSettingState: SettingState = {\n sidebarShow: 'responsive',\n};\n\nexport default InitialSettingState;\n","/** @format */\n\nimport { EmployerBusinessState } from './type';\n\nconst InitialEmployerBusinessState: EmployerBusinessState = {\n employer: {},\n};\n\nexport default InitialEmployerBusinessState;","/** @format */\n\nimport { EmployeeBusinessState } from './type';\n\nconst InitialEmployeeBusinessState: EmployeeBusinessState = {\n employee: {},\n};\n\nexport default InitialEmployeeBusinessState;","/** @format */\n\nimport { combineReducers } from 'redux';\nimport adminBilling from './adminBilling/reducer';\nimport auth from './auth/reducer';\nimport setting from './settings/reducer';\nimport employerBusiness from './employerBusiness/reducer';\nimport employeeBusiness from './employee/reducer';\n\n\nconst reducers = combineReducers({\n auth,\n adminBilling,\n setting,\n employerBusiness,\n employeeBusiness\n});\n\nexport default reducers;\n","/** @format */\n\nimport { SET_TOKEN } from '../actionTypes';\nimport InitialAuthState from './state';\n\nexport default (state: any = InitialAuthState, action: any) => {\n switch (action.type) {\n case SET_TOKEN:\n return { ...state, ...action.payload };\n\n default:\n return { ...state };\n }\n};\n","/** @format */\n\nimport { SET_TOKEN } from '../actionTypes';\nimport InitialAuthState from './state';\n\nexport default (state: any = InitialAuthState, action: any) => {\n switch (action.type) {\n case SET_TOKEN:\n return { ...state, ...action.payload };\n\n default:\n return { ...state };\n }\n};\n","/** @format */\n\nimport { TOGGLE_SIDEBAR } from '../actionTypes';\nimport InitialSettingState from './state';\n\nexport default (state: any = InitialSettingState, action: any) => {\n switch (action.type) {\n case TOGGLE_SIDEBAR:\n return { ...state, sidebarShow: action.payload };\n\n default:\n return { ...state };\n }\n};\n","/** @format */\n\nimport InitialEmployerBusinessState from './state';\n\nexport default (state: any = InitialEmployerBusinessState, action: any) => {\n switch (action.type) {\n default:\n return { ...state };\n }\n};\n","/** @format */\n\nimport InitialEmployeeBusinessState from './state';\n\nexport default (state: any = InitialEmployeeBusinessState, action: any) => {\n switch (action.type) {\n default:\n return { ...state };\n }\n};\n","/** @format */\n\nimport {\n createStore,\n applyMiddleware,\n // compose\n} from 'redux';\nimport thunk from 'redux-thunk';\nimport { persistStore, persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport reducers from './reducers';\n\nconst middleware = [thunk];\n\nconst persistConfig = {\n key: 'ASSYST_KIBONO_root',\n storage,\n debug: false,\n whitelist: ['auth'],\n};\n\nconst persistedReducer = persistReducer(persistConfig, reducers);\n\nexport default () => {\n const store = createStore(\n persistedReducer,\n applyMiddleware(...middleware),\n );\n const persistor = persistStore(store);\n return {\n store,\n persistor,\n };\n};\n","/** @format */\n\nimport React, { lazy, Suspense } from 'react';\nimport { BrowserRouter, Route, Switch } from 'react-router-dom';\nimport { Provider } from 'react-redux';\nimport { PersistGate } from 'redux-persist/integration/react';\nimport Loading from '../components/common/loading';\nimport configureStore from '../redux/store';\nimport { stripeConfig } from '../constants';\nimport { Elements } from \"@stripe/react-stripe-js\";\nimport { loadStripe } from \"@stripe/stripe-js\";\n\nconst stripePromise = loadStripe(`${stripeConfig.public_key}`);\n\nconst AuthPages = lazy(\n () => import(/* webpackChunkName: \"AuthLayout\" */ './auth'),\n);\nconst InternalPages = lazy(\n () =>\n import(\n /* webpackChunkName: \"AuthLayout\" */ '../containers/InternalLayout'\n ),\n);\nconst StatusPage = lazy(\n () =>\n import(\n /* webpackChunkName: \"StatusPages\" */ '../containers/StatusPage'\n ),\n);\nconst Store = configureStore();\nconst AppRenderer: React.FC = () => {\n return (\n \n \n {/* \n // @ts-ignore */}\n }\n persistor={Store.persistor}>\n }>\n {/* Localization */}\n {/* Notification */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\nexport default AppRenderer;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/,\n ),\n);\n\ntype Config = {\n onSuccess?: (registration: ServiceWorkerRegistration) => void;\n onUpdate?: (registration: ServiceWorkerRegistration) => void;\n};\n\nexport function register(config?: Config) {\n if (\n process.env.NODE_ENV === 'production' &&\n 'serviceWorker' in navigator\n ) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(\n process.env.PUBLIC_URL,\n window.location.href,\n );\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA',\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl: string, config?: Config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker === null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.',\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log(\n 'Content is cached for offline use.',\n );\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error(\n 'Error during service worker registration:',\n error,\n );\n });\n}\n\nfunction checkValidServiceWorker(swUrl: string, config?: Config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType !== null &&\n contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.',\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","/** @format */\n\nconst sygnet = [\n '160 160',\n `\n coreui logo\n \n \n \n \n \n \n`,\n];\n\nexport default sygnet;\n","/** @format */\n\nconst logo = [\n '608 134',\n `\n coreui react pro\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n`,\n];\n\nexport default logo;\n","/** @format */\n\nconst logoNegative = [\n '608 134',\n `\n coreui react pro logo\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n`,\n];\nexport default logoNegative;\n","/** @format */\n\nconst chevronLeftAlt = [\n '512 512',\n `\n chevron-left-alt\n\n\n \n \n \n \n \n \n`,\n];\n\nexport default chevronLeftAlt;\n","/** @format */\n\nconst Close = [\n '10 10',\n `\n Close\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default Close;\n","/** @format */\n\nconst DateRange = [\n '18 20',\n `\n Date Range\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default DateRange;","/** @format */\n\nconst Dropdown = [\n '10 6',\n `Dropdown\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default Dropdown;\n","/** @format */\n\nconst MeatBallMenu = [\n '16 4',\n `Meat Ball Menu\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default MeatBallMenu;\n","/** @format */\n\nconst ModalError = [\n '49 49',\n `Modal Error\n \n \n \n \n \n \n \n \n \n \n \n \n \n `\n];\n\nexport default ModalError;","/** @format */\n\nconst ModalWarning = [\n '71 71',\n `Modal Warning\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n`\n];\n\nexport default ModalWarning;\n","/** @format */\n\nimport {\n cibSkype,\n cibFacebook,\n cibTwitter,\n cibLinkedin,\n cibFlickr,\n cibTumblr,\n cibXing,\n cibGithub,\n cibStackOverflow,\n cibYoutube,\n cibDribbble,\n cibInstagram,\n cibPinterest,\n cibVk,\n cibYahoo,\n cibBehance,\n cibReddit,\n cibVimeo,\n cibCcMastercard,\n cibCcVisa,\n cibStripe,\n cibPaypal,\n cibGooglePay,\n cibCcAmex,\n cifUs,\n cifBr,\n cifIn,\n cifFr,\n cifEs,\n cifPl,\n cilAlignCenter,\n cilAlignLeft,\n cilAlignRight,\n cilApplicationsSettings,\n cilArrowRight,\n cilArrowTop,\n cilAsterisk,\n cilBan,\n cilBasket,\n cilBell,\n cilBold,\n cilBookmark,\n cilCalculator,\n cilCalendar,\n cilCloudDownload,\n cilCloudUpload,\n cilChartPie,\n cilCheck,\n cilCheckAlt,\n cilChevronBottom,\n cilChevronLeft,\n cilChevronRight,\n cilChevronTop,\n cilCircle,\n cilCheckCircle,\n cilCode,\n cilCommentSquare,\n cilCreditCard,\n cilCursor,\n cilCursorMove,\n cilDrop,\n cilDollar,\n cilEnvelopeClosed,\n cilEnvelopeLetter,\n cilEnvelopeOpen,\n cilEuro,\n cilGlobeAlt,\n cilGrid,\n cilFile,\n cilFullscreen,\n cilFullscreenExit,\n cilGraph,\n cilHome,\n cilInbox,\n cilIndentDecrease,\n cilIndentIncrease,\n cilInputPower,\n cilItalic,\n cilJustifyCenter,\n cilJustifyLeft,\n cilLaptop,\n cilLayers,\n cilLightbulb,\n cilList,\n cilListNumbered,\n cilListRich,\n cilLocationPin,\n cilLockLocked,\n cilMagnifyingGlass,\n cilMap,\n cilMoon,\n cilNotes,\n cilOptions,\n cilPaperclip,\n cilPaperPlane,\n cilPencil,\n cilPeople,\n cilPhone,\n cilPrint,\n cilPuzzle,\n cilSave,\n cilScrubber,\n cilSettings,\n cilShare,\n cilShareAll,\n cilShareBoxed,\n cilShieldAlt,\n cilSpeech,\n cilSpeedometer,\n cilSpreadsheet,\n cilStar,\n cilSun,\n cilTags,\n cilTask,\n cilTrash,\n cilUnderline,\n cilUser,\n cilUserFemale,\n cilUserFollow,\n cilUserUnfollow,\n cilX,\n cilXCircle,\n cilWarning,\n} from '@coreui/icons';\nimport sygnet from './sygnet';\nimport logo from './logo';\nimport logoNegative from './logo-negative';\nimport chevronLeftAlt from './chevron-left-alt';\nimport Billing from './Billing';\nimport CheckMark from './Check';\nimport Claims from './Claims';\nimport Close from './Close';\nimport Dashboard from './Dashboard';\nimport DateRange from './DateRange';\nimport Dropdown from './Dropdown';\nimport Employers from './Employers';\nimport Logout from './Logout';\nimport MeatBallMenu from './MeatBallMenu';\nimport ModalError from './ModalError';\nimport ModalWarning from './ModalWarning';\nimport Selected from './Selected';\nimport Settings from './Settings';\nimport Statements from './Statements';\nimport SwitchAccounts from './SwitchAccounts';\n\n\n\nconst icons = {\n Billing,\n CheckMark,\n Claims,\n Close,\n Dashboard,\n DateRange,\n Dropdown,\n Employers,\n Logout,\n MeatBallMenu,\n ModalError,\n ModalWarning,\n Selected,\n Settings,\n Statements,\n SwitchAccounts,\n sygnet,\n logo,\n logoNegative,\n chevronLeftAlt,\n cilAlignCenter,\n cilAlignLeft,\n cilAlignRight,\n cilApplicationsSettings,\n cilArrowRight,\n cilArrowTop,\n cilAsterisk,\n cilBan,\n cilBasket,\n cilBell,\n cilBold,\n cilBookmark,\n cilCalculator,\n cilCalendar,\n cilCloudDownload,\n cilCloudUpload,\n cilChartPie,\n cilCheck,\n cilCheckAlt,\n cilChevronBottom,\n cilChevronLeft,\n cilChevronRight,\n cilChevronTop,\n cilCircle,\n cilCheckCircle,\n cilCode,\n cilCommentSquare,\n cilCreditCard,\n cilCursor,\n cilCursorMove,\n cilDrop,\n cilDollar,\n cilEnvelopeClosed,\n cilEnvelopeLetter,\n cilEnvelopeOpen,\n cilEuro,\n cilGlobeAlt,\n cilGrid,\n cilFile,\n cilFullscreen,\n cilFullscreenExit,\n cilGraph,\n cilHome,\n cilInbox,\n cilIndentDecrease,\n cilIndentIncrease,\n cilInputPower,\n cilItalic,\n cilJustifyCenter,\n cilJustifyLeft,\n cilLaptop,\n cilLayers,\n cilLightbulb,\n cilList,\n cilListNumbered,\n cilListRich,\n cilLocationPin,\n cilLockLocked,\n cilMagnifyingGlass,\n cilMap,\n cilMoon,\n cilNotes,\n cilOptions,\n cilPaperclip,\n cilPaperPlane,\n cilPencil,\n cilPeople,\n cilPhone,\n cilPrint,\n cilPuzzle,\n cilSave,\n cilScrubber,\n cilSettings,\n cilShare,\n cilShareAll,\n cilShareBoxed,\n cilShieldAlt,\n cilSpeech,\n cilSpeedometer,\n cilSpreadsheet,\n cilStar,\n cilSun,\n cilTags,\n cilTask,\n cilTrash,\n cilUnderline,\n cilUser,\n cilUserFemale,\n cilUserFollow,\n cilUserUnfollow,\n cilX,\n cilXCircle,\n cilWarning,\n cifUs,\n cifBr,\n cifIn,\n cifFr,\n cifEs,\n cifPl,\n cibSkype,\n cibFacebook,\n cibTwitter,\n cibLinkedin,\n cibFlickr,\n cibTumblr,\n cibXing,\n cibGithub,\n cibStackOverflow,\n cibYoutube,\n cibDribbble,\n cibInstagram,\n cibPinterest,\n cibVk,\n cibYahoo,\n cibBehance,\n cibReddit,\n cibVimeo,\n cibCcMastercard,\n cibCcVisa,\n cibStripe,\n cibPaypal,\n cibGooglePay,\n cibCcAmex,\n};\n\nexport default icons;\n","/** @format */\n\nimport 'react-app-polyfill/ie11'; // For IE 11 support\nimport 'react-app-polyfill/stable';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport './App.css';\n// import App from './App';\nimport App from './views';\nimport * as serviceWorker from './serviceWorker';\nimport icons from './assets/icons';\nimport \"typeface-roboto\";\nimport './scss/style.scss';\n\n(React as any).icons = icons;\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root'),\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","/**\n * /* SETTINGS\n *\n * @format\n */\n\nexport const TOGGLE_SIDEBAR = 'TOGGLE_SIDEBAR';\nexport const SET_TOKEN = 'SET_TOKEN';\n","/** @format */\n\nimport React from 'react';\nimport classnames from 'classnames';\nimport { LoadingProps } from './type';\n\nconst Loading: React.FC = ({\n relative,\n}: LoadingProps) => (\n \n
\n
\n
\n
\n
\n
\n
\n);\n\nexport default Loading;\n","/** @format */\n\nimport axios, { AxiosRequestConfig } from 'axios';\n\n// export const API_URL = 'http://localhost:9000/';\n// export const API_URL = 'https://api.kibono.ca/';\nexport const API_URL = process.env.REACT_APP_API;\nexport const publicAPIService = axios.create({ baseURL: API_URL });\nexport const apiService = axios.create({ baseURL: API_URL });\n\nconst localStorageToken = process.env.REACT_APP_LOCAL_STORAGE_TOKEN;\nconst localStorageProfile = process.env.REACT_APP_LOCAL_STORAGE_PROFILE;\nconst localStorageRole = process.env.REACT_APP_LOCAL_STORAGE_ROLE;\nconst localStorageRefreshToken = process.env.REACT_APP_LOCAL_STORAGE_REFRESH_TOKEN;\nexport class TokenStorage {\n private static readonly LOCAL_STORAGE_TOKEN = localStorageToken || \"\";\n\n private static readonly LOCAL_STORAGE_PROFILE = localStorageProfile || \"\";\n\n private static readonly LOCAL_STORAGE_ROLE = localStorageRole || \"\";\n\n private static readonly LOCAL_STORAGE_REFRESH_TOKEN = localStorageRefreshToken || \"\";\n\n public static isAuthenticated(): boolean {\n return this.getToken() !== null;\n }\n\n public static getAuthentication(): AxiosRequestConfig {\n return {\n headers: { Authorization: `Token ${this.getToken()}` },\n };\n }\n\n public static getNewToken(): Promise {\n return new Promise((resolve, reject) => {\n apiService\n .post(`auth/jwt/refresh/`, {\n refresh: this.getRefreshToken(),\n })\n .then(response => {\n this.storeToken(response.data.access);\n this.storeRefreshToken(\n response.data.refresh,\n );\n resolve(response.data.access);\n })\n .catch(error => {\n reject(error);\n });\n });\n }\n\n public static storeToken(token: string): void {\n localStorage.setItem(TokenStorage.LOCAL_STORAGE_TOKEN, token);\n }\n\n public static storeProfileData(profile: any): void {\n localStorage.setItem(TokenStorage.LOCAL_STORAGE_PROFILE, JSON.stringify(profile));\n }\n\n public static storeRefreshToken(refreshToken: string): void {\n localStorage.setItem(\n TokenStorage.LOCAL_STORAGE_REFRESH_TOKEN,\n refreshToken,\n );\n }\n\n public static storeActiveRole(employer: boolean): void {\n employer ? localStorage.setItem(TokenStorage.LOCAL_STORAGE_ROLE, \"active\") : localStorage.removeItem(TokenStorage.LOCAL_STORAGE_ROLE);\n }\n\n public static clear(): void {\n localStorage.removeItem(TokenStorage.LOCAL_STORAGE_TOKEN);\n localStorage.removeItem(\n TokenStorage.LOCAL_STORAGE_REFRESH_TOKEN,\n );\n localStorage.removeItem(TokenStorage.LOCAL_STORAGE_PROFILE);\n localStorage.removeItem(TokenStorage.LOCAL_STORAGE_ROLE);\n }\n\n public static getRefreshToken(): string | null {\n return localStorage.getItem(\n TokenStorage.LOCAL_STORAGE_REFRESH_TOKEN,\n );\n }\n\n public static getToken(): string | null {\n return localStorage.getItem(TokenStorage.LOCAL_STORAGE_TOKEN);\n }\n\n public static getProfile(): any {\n let profile: any = localStorage.getItem(TokenStorage.LOCAL_STORAGE_PROFILE);\n if (profile) {\n profile = JSON.parse(profile);\n }\n return profile;\n }\n\n public static isEmployerRoleActive(): any {\n return localStorage.getItem(TokenStorage.LOCAL_STORAGE_ROLE);\n }\n}\n\nexport const requestInterceptor = apiService.interceptors.request.use(\n async (config: AxiosRequestConfig) => {\n // Do something before request is sent\n const requestConfig = config;\n const tokens = TokenStorage.getToken();\n if (tokens) {\n requestConfig.headers.common.Authorization = `Token ${tokens}`;\n }\n return requestConfig;\n },\n error => {\n // Do something with request error\n return Promise.reject(error);\n },\n);\nexport const responseInterceptor = apiService.interceptors.response.use(\n response => {\n // Return a successful response back to the calling service\n return response;\n },\n error => {\n // Return any error which is not due to authentication back to the calling service\n if (\n (error.response && error.response.status !== 401) ||\n error.config.url === 'auth/jwt/create/'\n ) {\n return new Promise((resolve, reject) => reject(error));\n }\n // Logout user if token refresh didn't work or user is disabled\n if (\n error.config.url === 'auth/jwt/refresh/'\n ) {\n TokenStorage.clear();\n window.location.href=\"/\";\n // return new Promise((resolve, reject) => reject(error));\n return null;\n }\n // Try request again with new token\n return TokenStorage.getNewToken()\n .then(token => {\n // New request with new token\n const { config } = error;\n config.headers.Authorization = `Token ${token}`;\n\n return new Promise((resolve, reject) => {\n apiService\n .request(config)\n .then(response => {\n resolve(response);\n })\n .catch(re_request_error => {\n reject(re_request_error);\n });\n });\n })\n .catch(new_token_error => {\n return new Promise((resolve, reject) =>\n reject(new_token_error),\n );\n });\n },\n);\n","export const hoverOptions = {\n interactiveDebounce: 75, \n moveTransition: 'transform 0.2s ease-out',\n allowHTML: true,\n // maxWidth:800,\n // maxHeight: 800,\n offset: [0, -50],\n delay: [500, 100],\n placement: 'auto',\n // strategy: 'fixed',\n modifier: [{\n name: 'computeStyles',\n enabled: true,\n fn({state}: any) {\n state.styles.popper = {\n ...state.styles.popper,\n position: 'fixed',\n height: '100vh',\n left: `${(window.innerWidth - state.rects.popper.width) / 2}px`,\n top: '50%',\n // transform: 'translateY(-50%)',\n }\n \n return state\n },\n }]\n}; \n\nexport const noteOptions = {\n arrow: false,\n inertia: true,\n interactive: true,\n maxWidth: 550,\n moveTransition:\n 'transform 0.2s ease-out',\n appendTo: document.body,\n};\n\nexport const tooltipContent = {\n gracePeriod: {\n content: '
The period immediately after a benefit period ends. An Employee can submit claims for the prior benefit period until the end of the Grace Period.
Example: Jan-Dec benefit period. 90-Day Grace Period. Employees have until 31 March of the following year to submit claims for the prior year.
',\n html: true,\n },\n rollOver: {\n content: '
Any remaining Employee benefits will be added to their opening balance for the next benefit period. A maximum of 1 year is allowed.
Example: $500 annual limit. End of Year 1, Employee has $200 remaining. In Year 2, Employee has $700 to spend ($500 annual limit + $200 rollover). If by end of Year 2 $600 remains, only $500 is allowed to be rolled over into Year 3 as $100 relates to rollover from Year 1. A maximum of 1 benefit year of rollover is allowed.
',\n html: true,\n },\n prorate: {\n content: '
Prorate the annual limit for this benefit period (year) only
',\n html: true,\n },\n startDate: {\n content: \"
Only claims with a service date during the Benefit Period are eligible and are deducted from the Employee's Benefit Limit. Benefit Periods are 365 days long and Benefit Limits reset each new Benefit Period.
\",\n html: true,\n },\n adminAccess: {\n content: `
Employee will have FULL Employer access:\n
  • View/Modify Company Details & Benefit Settings
  • \n
  • Manage Access Permissions
  • \n
  • View all Pending & Approved Claim Balances
  • \n
  • Manage & Send Payments to Kibono
  • \n
  • Manage Account Type, Billing Settings & Payment Sources
  • \n
  • View Invoices and Tax Statements
  • \n
  • Add/Modify Employees, Classes & Benefit Limits
  • `,\n html: true,\n },\n claimsAccess: {\n content: `
    Employee will have access to:\n
  • View all Pending & Approved Claim Balances
  • \n
  • Manage & Send Payments to Kibono
  • `,\n html: true,\n },\n billingAccess: {\n content: `
    Employee will have access to:\n
  • Manage Account Type, Billing Settings & Payment Sources
  • \n
  • View Invoices and Tax Statements
  • `,\n html: true,\n },\n employeesAccess: {\n content: `
    Employee will have access to:\n
  • Add/Modify Employees, Classes & Benefit Limits
  • `,\n html: true,\n }\n}","/** @format */\n\nexport * from './services';\nexport * from './routes';\nexport * from './options';\n\n\nconst stripeKey = process.env.REACT_APP_STRIPE_KEY;\nexport const stripeConfig = {\n public_key: stripeKey || \"\",\n secret_key: '',\n customer: '',\n};"],"sourceRoot":""}