@abcagency/hc-ui-components 1.3.21 → 1.3.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/{bundle.js → bundleDist/bundle.js} +30 -19
  2. package/bundleDist/bundle.js.map +1 -0
  3. package/bundleDist/dist/styles/index.css +3 -0
  4. package/bundleDist/dist/types/apis/hcApi.d.ts +5 -0
  5. package/bundleDist/dist/types/clientToken.d.ts +2 -0
  6. package/bundleDist/dist/types/components/containers/accordions/map-accordion-item-container.d.ts +12 -0
  7. package/bundleDist/dist/types/components/containers/jobListing/listing-details-container.d.ts +6 -0
  8. package/bundleDist/dist/types/components/containers/list/item-list-container.d.ts +9 -0
  9. package/bundleDist/dist/types/components/containers/list/list-item/list-item-container.d.ts +14 -0
  10. package/bundleDist/dist/types/components/modules/accordions/MapAccordionItem.d.ts +10 -0
  11. package/bundleDist/dist/types/components/modules/accordions/default.d.ts +19 -0
  12. package/bundleDist/dist/types/components/modules/buttons/button-group-apply.d.ts +24 -0
  13. package/bundleDist/dist/types/components/modules/buttons/commute-pill.d.ts +5 -0
  14. package/bundleDist/dist/types/components/modules/buttons/default.d.ts +48 -0
  15. package/bundleDist/dist/types/components/modules/buttons/pill-wrapper.d.ts +3 -0
  16. package/bundleDist/dist/types/components/modules/dialogs/apply-dialog.d.ts +8 -0
  17. package/bundleDist/dist/types/components/modules/filter/sort.d.ts +8 -0
  18. package/bundleDist/dist/types/components/modules/grid.d.ts +8 -0
  19. package/bundleDist/dist/types/components/modules/icon.d.ts +10 -0
  20. package/bundleDist/dist/types/components/modules/jobListing/listing-details.d.ts +18 -0
  21. package/bundleDist/dist/types/components/modules/list/field-mapper.d.ts +10 -0
  22. package/bundleDist/dist/types/components/modules/list/header-item.d.ts +11 -0
  23. package/bundleDist/dist/types/components/modules/list/header.d.ts +11 -0
  24. package/bundleDist/dist/types/components/modules/list/item-expand-card/index.d.ts +7 -0
  25. package/bundleDist/dist/types/components/modules/list/item-expand-card/recruiter-contact-nav.d.ts +17 -0
  26. package/bundleDist/dist/types/components/modules/list/item-expand-card/recruiter-details.d.ts +21 -0
  27. package/bundleDist/dist/types/components/modules/list/item-expand-card/recruiter-headshot.d.ts +8 -0
  28. package/bundleDist/dist/types/components/modules/list/item-list.d.ts +20 -0
  29. package/bundleDist/dist/types/components/modules/list/list-item/list-item.d.ts +3 -0
  30. package/bundleDist/dist/types/constants/eventTypes.d.ts +13 -0
  31. package/bundleDist/dist/types/contexts/mapContext.d.ts +29 -0
  32. package/bundleDist/dist/types/contexts/mapListContext.d.ts +59 -0
  33. package/bundleDist/dist/types/contexts/trackEventContext.d.ts +6 -0
  34. package/bundleDist/dist/types/enums/SectionType.d.ts +9 -0
  35. package/bundleDist/dist/types/hooks/useList.d.ts +13 -0
  36. package/bundleDist/dist/types/services/configService.d.ts +6 -0
  37. package/bundleDist/dist/types/services/googlePlacesNearbyService.d.ts +5 -0
  38. package/bundleDist/dist/types/services/listingAggregatorService.d.ts +12 -0
  39. package/bundleDist/dist/types/services/listingEntityService.d.ts +6 -0
  40. package/bundleDist/dist/types/services/listingService.d.ts +9 -0
  41. package/bundleDist/dist/types/services/recruiterService.d.ts +6 -0
  42. package/bundleDist/dist/types/types/Address.d.ts +7 -0
  43. package/bundleDist/dist/types/types/ContentSection.d.ts +8 -0
  44. package/bundleDist/dist/types/types/GetListingParams.d.ts +8 -0
  45. package/bundleDist/dist/types/types/LatLng.d.ts +4 -0
  46. package/bundleDist/dist/types/types/ListingEntity.d.ts +10 -0
  47. package/bundleDist/dist/types/types/ListingFields.d.ts +25 -0
  48. package/bundleDist/dist/types/types/Listings.d.ts +31 -0
  49. package/bundleDist/dist/types/types/Recruiter.d.ts +9 -0
  50. package/bundleDist/dist/types/types/SimilarListing.d.ts +24 -0
  51. package/bundleDist/dist/types/types/config/Colors.d.ts +8 -0
  52. package/bundleDist/dist/types/types/config/MapConfig.d.ts +30 -0
  53. package/bundleDist/dist/types/types/config/PointsOfInterestConfig.d.ts +13 -0
  54. package/bundleDist/dist/types/types/config/SearchConfig.d.ts +4 -0
  55. package/bundleDist/dist/types/util/filterUtil.d.ts +28 -0
  56. package/bundleDist/dist/types/util/loading.d.ts +3 -0
  57. package/bundleDist/dist/types/util/localStorageUtil.d.ts +3 -0
  58. package/bundleDist/dist/types/util/mapUtil.d.ts +15 -0
  59. package/bundleDist/dist/types/util/sortUtil.d.ts +1 -0
  60. package/bundleDist/dist/types/util/stringUtils.d.ts +1 -0
  61. package/bundleDist/dist/types/util/urlFilterUtil.d.ts +8 -0
  62. package/bundleDist/styles/index.css +3 -0
  63. package/dist/components/containers/accordions/filter-container.js +4 -2
  64. package/dist/components/containers/accordions/filter-container.js.map +1 -1
  65. package/dist/components/containers/accordions/filter-item-container.js +6 -1
  66. package/dist/components/containers/accordions/filter-item-container.js.map +1 -1
  67. package/dist/components/containers/accordions/map-accordion-item-container.js +4 -2
  68. package/dist/components/containers/accordions/map-accordion-item-container.js.map +1 -1
  69. package/dist/components/containers/jobListing/listing-details-container.js +2 -2
  70. package/dist/components/containers/jobListing/listing-details-container.js.map +1 -1
  71. package/dist/components/containers/list/item-list-container.js +2 -2
  72. package/dist/components/containers/list/item-list-container.js.map +1 -1
  73. package/dist/components/modules/accordions/MapAccordionItem.js +2 -1
  74. package/dist/components/modules/accordions/MapAccordionItem.js.map +1 -1
  75. package/dist/components/modules/dialogs/apply-dialog.js +1 -1
  76. package/dist/components/modules/dialogs/apply-dialog.js.map +1 -1
  77. package/dist/components/modules/filter/search.js +1 -1
  78. package/dist/components/modules/filter/search.js.map +1 -1
  79. package/dist/components/modules/jobListing/listing-details.js +5 -4
  80. package/dist/components/modules/jobListing/listing-details.js.map +1 -1
  81. package/dist/components/modules/list/field-mapper.js +1 -1
  82. package/dist/components/modules/list/field-mapper.js.map +1 -1
  83. package/dist/components/modules/list/item-list.js.map +1 -1
  84. package/dist/contexts/mapListContext.js.map +1 -1
  85. package/dist/services/listingAggregatorService.js.map +1 -1
  86. package/dist/styles/index.css +3 -1
  87. package/dist/types/components/containers/jobListing/listing-details-container.d.ts +2 -2
  88. package/dist/types/components/modules/accordions/MapAccordionItem.d.ts +2 -1
  89. package/dist/types/components/modules/jobListing/listing-details.d.ts +2 -2
  90. package/dist/types/components/modules/list/item-list.d.ts +0 -1
  91. package/dist/types/types/ListingFields.d.ts +5 -0
  92. package/dist/types/types/config/MapConfig.d.ts +1 -0
  93. package/dist/util/filterUtil.js +2 -2
  94. package/dist/util/filterUtil.js.map +1 -1
  95. package/package.json +1 -1
  96. package/postcss.config.js +5 -4
  97. package/rollup.config.mjs +1 -1
  98. package/src/components/containers/accordions/filter-container.js +2 -1
  99. package/src/components/containers/accordions/filter-item-container.js +66 -62
  100. package/src/components/containers/accordions/map-accordion-item-container.js +70 -70
  101. package/src/components/containers/jobListing/listing-details-container.js +2 -2
  102. package/src/components/containers/list/item-list-container.tsx +2 -3
  103. package/src/components/modules/accordions/MapAccordionItem.js +30 -29
  104. package/src/components/modules/dialogs/apply-dialog.js +48 -48
  105. package/src/components/modules/filter/search.js +1 -1
  106. package/src/components/modules/jobListing/listing-details.js +5 -5
  107. package/src/components/modules/list/field-mapper.js +1 -1
  108. package/src/components/modules/list/item-list.tsx +0 -1
  109. package/src/contexts/mapListContext.tsx +311 -311
  110. package/src/services/listingAggregatorService.ts +76 -76
  111. package/src/styles/index.css +14 -115
  112. package/src/types/ListingFields.ts +5 -0
  113. package/src/types/config/MapConfig.ts +1 -0
  114. package/src/util/filterUtil.js +239 -239
  115. package/stats.html +1 -1
  116. package/tailwind.config.js +4 -4
  117. package/bundle.js.map +0 -1
  118. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
  119. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  120. package/styles/index.css +0 -1
@@ -0,0 +1,8 @@
1
+ import { SectionType } from '../enums/SectionType';
2
+ export type ContentSection = {
3
+ title?: string;
4
+ contentFormatted?: string;
5
+ contentRaw?: string;
6
+ sectionType: SectionType;
7
+ sortIndex: number;
8
+ };
@@ -0,0 +1,8 @@
1
+ export type GetListingsParams = {
2
+ location?: string[];
3
+ category?: string[];
4
+ categoryClass?: string[];
5
+ education?: string[];
6
+ city?: string[];
7
+ state?: string[];
8
+ };
@@ -0,0 +1,4 @@
1
+ export type LatLng = {
2
+ lat: number;
3
+ lng: number;
4
+ };
@@ -0,0 +1,10 @@
1
+ import { Address } from './Address';
2
+ export type ListingEntity = {
3
+ id: number;
4
+ listingId: number;
5
+ latitude: number;
6
+ longitude: number;
7
+ entityDisplayName?: string;
8
+ address?: Address;
9
+ travelTime?: string;
10
+ };
@@ -0,0 +1,25 @@
1
+ export type ListingFields = {
2
+ posted?: string;
3
+ subTitle?: string;
4
+ education?: string;
5
+ position?: string;
6
+ category?: string;
7
+ categoryClass?: string;
8
+ shift?: string;
9
+ custom1?: string;
10
+ custom2?: string;
11
+ custom3?: string;
12
+ custom4?: string;
13
+ custom5?: string;
14
+ cityState?: string;
15
+ city?: string;
16
+ state?: string;
17
+ schedule?: string;
18
+ customFlag1?: number;
19
+ bonus?: number;
20
+ remote?: number;
21
+ useClientJobUrl?: boolean;
22
+ dateCreated: Date;
23
+ dateLastEdited?: Date;
24
+ travelTime?: string;
25
+ };
@@ -0,0 +1,31 @@
1
+ import { ListingFields } from './ListingFields';
2
+ import { Recruiter } from './Recruiter';
3
+ import { ListingEntity } from './ListingEntity';
4
+ import { ContentSection } from './ContentSection';
5
+ import { SimilarListing } from './SimilarListing';
6
+ export type Listing = {
7
+ id: number;
8
+ fields?: ListingFields;
9
+ entityId?: number;
10
+ applyUrl?: string;
11
+ applyOnline?: number;
12
+ detailsUrl?: string;
13
+ displayOnSite: number;
14
+ displayRecruiter: number;
15
+ recruiterId?: number;
16
+ description1?: string;
17
+ description2?: string;
18
+ description3?: string;
19
+ description4?: string;
20
+ custom1: string;
21
+ custom2: string;
22
+ custom3: string;
23
+ custom4: string;
24
+ custom5: string;
25
+ customFlag1: number;
26
+ slug?: string;
27
+ recruiter?: Recruiter;
28
+ entity?: ListingEntity;
29
+ contentSections?: ContentSection[];
30
+ similarListings?: SimilarListing[];
31
+ };
@@ -0,0 +1,9 @@
1
+ export type Recruiter = {
2
+ id?: number;
3
+ email?: string;
4
+ firstName?: string;
5
+ lastName?: string;
6
+ linkedInUrl?: string;
7
+ mobilePhone?: string;
8
+ headshot?: string;
9
+ };
@@ -0,0 +1,24 @@
1
+ export type SimilarListing = {
2
+ id: number;
3
+ city: string;
4
+ companyName: string;
5
+ companyId: number;
6
+ domain: string;
7
+ refreshedPubDate?: Date;
8
+ clientJobUrl: string;
9
+ refreshNum: number;
10
+ requestURI: string;
11
+ schedule: string;
12
+ scheduleId?: number;
13
+ shift: string;
14
+ sponsored: boolean;
15
+ stateAbbrev: string;
16
+ subTitle: string;
17
+ title: string;
18
+ uniqueId: string;
19
+ zip: string;
20
+ slug?: string;
21
+ dateCreated: Date;
22
+ categoryId: number;
23
+ categoryClassId: number;
24
+ };
@@ -0,0 +1,8 @@
1
+ export type Colors = {
2
+ uiText: string;
3
+ uiAccent: string;
4
+ primary: string;
5
+ primaryDark: string;
6
+ secondary: string;
7
+ secondaryDark: string;
8
+ };
@@ -0,0 +1,30 @@
1
+ import { Colors } from "./Colors";
2
+ import { PointsOfInterestConfig } from "./PointsOfInterestConfig";
3
+ import { SearchConfig } from "./SearchConfig";
4
+ export type MapConfig = {
5
+ title: string;
6
+ titleShort: string;
7
+ description: string;
8
+ jobsDomain: string;
9
+ useDetailsPostMessage: boolean;
10
+ author: string;
11
+ url: string;
12
+ logo: string;
13
+ companyName: string;
14
+ shareImage: string;
15
+ clientAuthKey: string;
16
+ colors: Colors;
17
+ hideLocations: boolean;
18
+ fieldsShown: string[];
19
+ fieldFiltersShown: string[];
20
+ locationFiltersShown: string[];
21
+ fieldNames: Record<string, string>;
22
+ specialFeatures: Record<string, string>;
23
+ searchConfig: SearchConfig;
24
+ internalApplyLink: string;
25
+ useApplyDialog: boolean;
26
+ pointsOfInterestConfig: PointsOfInterestConfig;
27
+ showMap: boolean;
28
+ companyId: string;
29
+ SubcategoryRequireCategory: boolean;
30
+ };
@@ -0,0 +1,13 @@
1
+ export type PointsOfInterestConfig = {
2
+ title: string;
3
+ pointsOfInterestNames: Record<string, string>;
4
+ pointsOfInterestIcons: Record<string, string>;
5
+ placeMarkerColors: {
6
+ innerFillColor: string;
7
+ innerStrokeColor: string;
8
+ outerFillColor: string;
9
+ outerStrokeColor: string;
10
+ };
11
+ placeMarkerSize: number;
12
+ placeMappings: Record<string, string[]>;
13
+ };
@@ -0,0 +1,4 @@
1
+ export type SearchConfig = {
2
+ label: string;
3
+ placeholder: string;
4
+ };
@@ -0,0 +1,28 @@
1
+ export function getFilterOptions(listings: any, filteredListings: any, field: any, excludeZeroCount?: null): {
2
+ name: any;
3
+ count: any;
4
+ }[];
5
+ export function getSpecialFeatureOptions(listings: any, filteredListings: any, siteConfig: any, favorites: any): {
6
+ name: string;
7
+ count: any;
8
+ }[];
9
+ export function generateFilterOptions(filteredListings: any, allListings: any, siteConfig: any, filterOptions: any, parentField: any, favorites: any): {
10
+ filters: any;
11
+ locations: any;
12
+ pointsOfInterest: {
13
+ id: string;
14
+ title: any;
15
+ items: {
16
+ key: string;
17
+ name: any;
18
+ }[];
19
+ };
20
+ } | null;
21
+ export function applyFilters(allListings: any, selectedFilters: any, query: any, listingEntities: any, favorites: any, siteConfig: any): {
22
+ filteredListings: any;
23
+ mapItems: any[];
24
+ };
25
+ export function filterListingsByLocation(allListings: any, selectedLocation: any, listingEntities: any): {
26
+ filteredListings: any;
27
+ mapItems: any[];
28
+ };
@@ -0,0 +1,3 @@
1
+ export default Loading;
2
+ declare function Loading(): React.JSX.Element;
3
+ import React from "react";
@@ -0,0 +1,3 @@
1
+ export declare const getStorageObject: <T>(item: string, defaultItem?: T | null) => T | null;
2
+ export declare const getStorageItem: (item: string, defaultItem?: string | null) => string | null;
3
+ export declare const setStorageObject: (key: string, item: any) => void;
@@ -0,0 +1,15 @@
1
+ export function getDistinctItemsByProximity(items: any, listingEntitiesDetails: any): any[];
2
+ export function findCloseItems(itemsObj: any): {
3
+ item1: any;
4
+ item2: any;
5
+ }[];
6
+ export function adjustItemPositions(itemsObj: any, closeItemPairs: any): any;
7
+ export function clusterOptions(clusterGridSize: any, fillColor: any): {
8
+ gridSize: any;
9
+ styles: {
10
+ url: string;
11
+ textColor: string;
12
+ height: number;
13
+ width: number;
14
+ }[];
15
+ };
@@ -0,0 +1 @@
1
+ export function dynamicSort(items: any, fieldName: any, order?: string): any;
@@ -0,0 +1 @@
1
+ export function capitalize(str: any): any;
@@ -0,0 +1,8 @@
1
+ export function updateURLWithFilters(filters: any, location: any, query: any): void;
2
+ export function parseQueryParams(search: any): {};
3
+ export function filtersFromURL(location: any): {
4
+ filters: {};
5
+ query: null;
6
+ } | undefined;
7
+ export function hasFiltersInURL(location: any): boolean | undefined;
8
+ export function hasQueryInUrl(location: any): boolean | undefined;
@@ -0,0 +1,3 @@
1
+ /*
2
+ ! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com
3
+ */*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:var(--font-roboto-flex),ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af}input::placeholder,textarea::placeholder{color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:0 0 0 0 #fff,/*!*/ /*!*/ 0 0 0 1px #2563eb,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:none;background-position:0 0;background-repeat:repeat;background-size:auto auto;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:inherit;print-color-adjust:inherit}[type=checkbox],[type=radio]{--tw-shadow:0 0 transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:0 0 0 0 #fff,/*!*/ /*!*/ 0 0 0 4px #2563eb,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}@media (forced-colors:active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}@media (forced-colors:active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:transparent none repeat 0 0/auto auto padding-box border-box scroll;background:initial;border-color:inherit;border-radius:0;border-width:0;font-size:inherit;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}html{--tw-text-opacity:1;color:#141414;color:rgba(20,20,20,var(--tw-text-opacity));font-size:clamp(.88rem,.83rem + .24vw,1rem);scroll-behavior:smooth}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.hc-sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.hc-pointer-events-none{pointer-events:none}.hc-fixed{position:fixed}.hc-absolute{position:absolute}.hc-relative{position:relative}.hc-sticky{position:sticky}.hc-inset-0{bottom:0;top:0}.hc-inset-0,.hc-inset-x-0{left:0;right:0}.hc-bottom-0{bottom:0}.hc-bottom-10{bottom:2.5rem}.hc-left-0{left:0}.hc-left-2{left:.5rem}.hc-left-2\.5{left:.625rem}.hc-right-\[10px\]{right:10px}.hc-top-0{top:0}.hc-top-1{top:.25rem}.hc-top-1\.5{top:.375rem}.hc-top-\[10px\]{top:10px}.hc-z-10{z-index:10}.hc-z-20{z-index:20}.hc-z-\[1000\]{z-index:1000}.hc-z-\[200\]{z-index:200}.hc-z-\[2\]{z-index:2}.hc-order-first{order:-9999}.hc-order-last{order:9999}.hc-col-span-1{grid-column:span 1/span 1}.hc-col-span-2{grid-column:span 2/span 2}.hc-float-right{float:right}.hc-m-auto{margin:auto}.hc-my-1{margin-bottom:.25rem;margin-top:.25rem}.hc-mb-2{margin-bottom:.5rem}.hc-mb-3{margin-bottom:.75rem}.hc-mb-5{margin-bottom:1.25rem}.hc-ml-0{margin-left:0}.hc-ml-auto{margin-left:auto}.hc-mr-1{margin-right:.25rem}.hc-mr-1\.5{margin-right:.375rem}.hc-mr-2{margin-right:.5rem}.hc-mt-1{margin-top:.25rem}.hc-mt-2{margin-top:.5rem}.hc-mt-4{margin-top:1rem}.hc-mt-6{margin-top:1.5rem}.hc-mt-px{margin-top:1px}.hc-block{display:block}.hc-inline-block{display:inline-block}.hc-inline{display:inline}.hc-flex{display:flex}.hc-inline-flex{display:inline-flex}.hc-grid{display:grid}.hc-hidden{display:none}.hc-size-2{height:.5rem;width:.5rem}.hc-size-2\.5{height:.625rem;width:.625rem}.hc-size-3{height:.75rem;width:.75rem}.hc-size-3\.5{height:.875rem;width:.875rem}.hc-size-4{height:1rem;width:1rem}.hc-size-5{height:1.25rem;width:1.25rem}.hc-size-8{height:2rem;width:2rem}.hc-h-5{height:1.25rem}.hc-h-\[25px\]{height:25px}.hc-h-auto{height:auto}.hc-h-fit{height:-moz-fit-content;height:fit-content}.hc-h-full{height:100%}.hc-h-screen{height:100vh}.hc-max-h-60{max-height:15rem}.hc-max-h-\[100vh\]{max-height:100vh}.hc-max-h-\[20vh\]{max-height:20vh}.hc-max-h-\[85vh\]{max-height:85vh}.hc-max-h-\[95vh\]{max-height:95vh}.hc-min-h-\[30rem\]{min-height:30rem}.hc-min-h-screen{min-height:100vh}.hc-w-2\/5{width:40%}.hc-w-8{width:2rem}.hc-w-\[25px\]{width:25px}.hc-w-\[90vw\]{width:90vw}.hc-w-full{width:100%}.hc-min-w-\[100\%\]{min-width:100%}.hc-max-w-\[450px\]{max-width:450px}.hc-flex-1{flex:1 1 0%}.hc-flex-auto{flex:1 1 auto}.hc-shrink-0{flex-shrink:0}.hc-flex-grow,.hc-grow{flex-grow:1}.hc-rotate-45{--tw-rotate:45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(45deg) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes hc-contentShow{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.hc-animate-contentShow{animation:hc-contentShow .15s cubic-bezier(.16,1,.3,1)}@keyframes hc-overlayShow{0%{opacity:0}to{opacity:1}}.hc-animate-overlayShow{animation:hc-overlayShow .15s cubic-bezier(.16,1,.3,1)}.hc-cursor-default{cursor:default}.hc-cursor-not-allowed{cursor:not-allowed}.hc-cursor-pointer{cursor:pointer}.hc-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.hc-auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.hc-grid-flow-col{grid-auto-flow:column}.hc-auto-rows-min{grid-auto-rows:min-content}.hc-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.hc-flex-row{flex-direction:row}.hc-flex-col{flex-direction:column}.hc-flex-wrap{flex-wrap:wrap}.hc-items-start{align-items:flex-start}.hc-items-center{align-items:center}.hc-items-stretch{align-items:stretch}.hc-justify-end{justify-content:flex-end}.hc-justify-center{justify-content:center}.hc-justify-between{justify-content:space-between}.hc-gap-0{gap:0}.hc-gap-1{gap:.25rem}.hc-gap-1\.5{gap:.375rem}.hc-gap-12{gap:3rem}.hc-gap-2{gap:.5rem}.hc-gap-4{gap:1rem}.hc-gap-px{gap:1px}.hc-gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.hc-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:1rem;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:0;margin-right:calc(1rem*var(--tw-space-x-reverse))}.hc-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:.5rem;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.hc-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:1rem;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.hc-divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:0;border-left-width:1px;border-left-width:calc(1px*(1 - var(--tw-divide-x-reverse)));border-right-width:0;border-right-width:calc(1px*var(--tw-divide-x-reverse))}.hc-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:1px;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.hc-divide-primary>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:#002575;border-color:rgba(0,37,117,var(--tw-divide-opacity))}.hc-divide-uiAccent\/10>:not([hidden])~:not([hidden]){border-color:rgba(15,23,42,.1)}.hc-divide-uiAccent\/20>:not([hidden])~:not([hidden]){border-color:rgba(15,23,42,.2)}.hc-overflow-auto{overflow:auto}.hc-overflow-hidden{overflow:hidden}.hc-overflow-x-auto{overflow-x:auto}.hc-overflow-y-auto{overflow-y:auto}.hc-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-text-balance{text-wrap:balance}.hc-break-words{word-wrap:break-word}.hc-rounded{border-radius:.25rem}.hc-rounded-\[6px\]{border-radius:6px}.hc-rounded-full{border-radius:9999px}.hc-rounded-md{border-radius:.375rem}.hc-rounded-none{border-radius:0}.hc-rounded-sm{border-radius:.125rem}.hc-rounded-b{border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.hc-border{border-width:1px}.hc-border-0{border-width:0}.hc-border-x-0{border-left-width:0;border-right-width:0}.hc-border-b{border-bottom-width:1px}.hc-border-b-0{border-bottom-width:0}.hc-border-t{border-top-width:1px}.hc-border-t-0{border-top-width:0}.hc-border-none{border-style:none}.\!hc-border-secondary{--tw-border-opacity:1!important;border-color:#ff612b!important;border-color:rgba(255,97,43,var(--tw-border-opacity))!important}.hc-border-gray-100{--tw-border-opacity:1;border-color:#f3f4f6;border-color:rgba(243,244,246,var(--tw-border-opacity))}.hc-border-primary{--tw-border-opacity:1;border-color:#002575;border-color:rgba(0,37,117,var(--tw-border-opacity))}.hc-border-secondary{--tw-border-opacity:1;border-color:#ff612b;border-color:rgba(255,97,43,var(--tw-border-opacity))}.hc-border-transparent{border-color:transparent}.hc-border-uiAccent\/10{border-color:rgba(15,23,42,.1)}.hc-border-uiAccent\/20{border-color:rgba(15,23,42,.2)}.hc-border-uiAccent\/30{border-color:rgba(15,23,42,.3)}.hc-bg-black\/50{background-color:rgba(0,0,0,.5)}.hc-bg-gray-100{--tw-bg-opacity:1;background-color:#f3f4f6;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.hc-bg-gray-300{--tw-bg-opacity:1;background-color:#d1d5db;background-color:rgba(209,213,219,var(--tw-bg-opacity))}.hc-bg-primary{--tw-bg-opacity:1;background-color:#002575;background-color:rgba(0,37,117,var(--tw-bg-opacity))}.hc-bg-primary\/10{background-color:rgba(0,37,117,.1)}.hc-bg-secondary{--tw-bg-opacity:1;background-color:#ff612b;background-color:rgba(255,97,43,var(--tw-bg-opacity))}.hc-bg-transparent{background-color:transparent}.hc-bg-uiAccent\/10{background-color:rgba(15,23,42,.1)}.hc-bg-uiAccent\/5{background-color:rgba(15,23,42,.05)}.hc-bg-white{--tw-bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.hc-bg-clip-border{background-clip:border-box}.hc-object-cover{-o-object-fit:cover;object-fit:cover}.\!hc-p-0{padding:0!important}.\!hc-p-3{padding:.75rem!important}.hc-p-1{padding:.25rem}.hc-p-1\.5{padding:.375rem}.hc-p-2{padding:.5rem}.hc-p-2\.5{padding:.625rem}.hc-p-3{padding:.75rem}.hc-p-4{padding:1rem}.hc-p-\[25px\]{padding:25px}.hc-px-0{padding-left:0;padding-right:0}.hc-px-10{padding-left:2.5rem;padding-right:2.5rem}.hc-px-2{padding-left:.5rem;padding-right:.5rem}.hc-px-3{padding-left:.75rem;padding-right:.75rem}.hc-px-4{padding-left:1rem;padding-right:1rem}.hc-px-6{padding-left:1.5rem;padding-right:1.5rem}.hc-py-0{padding-bottom:0;padding-top:0}.hc-py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.hc-py-1{padding-bottom:.25rem;padding-top:.25rem}.hc-py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.hc-py-2{padding-bottom:.5rem;padding-top:.5rem}.hc-py-4{padding-bottom:1rem;padding-top:1rem}.hc-pb-1{padding-bottom:.25rem}.hc-pb-2{padding-bottom:.5rem}.hc-pb-4{padding-bottom:1rem}.hc-pl-1{padding-left:.25rem}.hc-pl-1\.5{padding-left:.375rem}.hc-pl-2{padding-left:.5rem}.hc-pl-4{padding-left:1rem}.hc-pl-7{padding-left:1.75rem}.hc-pr-1{padding-right:.25rem}.hc-pr-2{padding-right:.5rem}.hc-pr-3{padding-right:.75rem}.hc-pr-4{padding-right:1rem}.hc-ps-4{padding-left:1rem}.hc-pt-0{padding-top:0}.hc-pt-0\.5{padding-top:.125rem}.hc-pt-1{padding-top:.25rem}.hc-pt-1\.5{padding-top:.375rem}.hc-pt-2{padding-top:.5rem}.hc-pt-20{padding-top:5rem}.hc-text-left{text-align:left}.hc-text-center{text-align:center}.hc-align-middle{vertical-align:middle}.\!hc-font-\[inherit\]{font-family:inherit!important}.hc-text-2xl{font-size:1.5rem;line-height:2rem}.hc-text-\[15px\]{font-size:15px}.hc-text-\[17px\]{font-size:17px}.hc-text-base{font-size:1rem;line-height:1.5rem}.hc-text-lg{font-size:1.125rem;line-height:1.75rem}.hc-text-sm{font-size:.875rem;line-height:1.25rem}.hc-text-xs{font-size:.75rem;line-height:1rem}.hc-font-bold{font-weight:700}.hc-font-medium{font-weight:500}.hc-font-semibold{font-weight:600}.hc-uppercase{text-transform:uppercase}.hc-normal-case{text-transform:none}.hc-leading-5{line-height:1.25rem}.hc-leading-none{line-height:1}.hc-leading-normal{line-height:1.5}.hc-leading-tight{line-height:1.25}.hc-text-black{--tw-text-opacity:1;color:#000;color:rgba(0,0,0,var(--tw-text-opacity))}.hc-text-blue-500{--tw-text-opacity:1;color:#3b82f6;color:rgba(59,130,246,var(--tw-text-opacity))}.hc-text-current{color:currentColor}.hc-text-gray-500{--tw-text-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--tw-text-opacity))}.hc-text-gray-900{--tw-text-opacity:1;color:#111827;color:rgba(17,24,39,var(--tw-text-opacity))}.hc-text-inherit{color:inherit}.hc-text-primary{--tw-text-opacity:1;color:#002575;color:rgba(0,37,117,var(--tw-text-opacity))}.hc-text-uiAccent{--tw-text-opacity:1;color:#0f172a;color:rgba(15,23,42,var(--tw-text-opacity))}.hc-text-uiAccent\/30{color:rgba(15,23,42,.3)}.hc-text-uiAccent\/50{color:rgba(15,23,42,.5)}.hc-text-uiText{--tw-text-opacity:1;color:#141414;color:rgba(20,20,20,var(--tw-text-opacity))}.hc-text-uiText\/60{color:hsla(0,0%,8%,.6)}.hc-text-white{--tw-text-opacity:1;color:#fff;color:rgba(255,255,255,var(--tw-text-opacity))}.hc-opacity-0{opacity:0}.hc-opacity-100{opacity:1}.hc-opacity-30{opacity:.3}.hc-opacity-85{opacity:.85}.hc-shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:0 0 transparent,0 0 transparent,0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.hc-shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:0 0 transparent,0 0 transparent,0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.hc-outline-none{outline:2px solid transparent;outline-offset:2px}.hc-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:0 0 0 0 #fff,/*!*/ /*!*/ 0 0 0 1px #2563eb,0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.hc-ring-inset{--tw-ring-inset:inset}.hc-ring-primary\/20{--tw-ring-color:rgba(0,37,117,.2)}.hc-ring-uiAccent\/10{--tw-ring-color:rgba(15,23,42,.1)}.hc-transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hc-transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hc-transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hc-transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hc-duration-100{transition-duration:.1s}.hc-duration-300{transition-duration:.3s}.hc-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}@keyframes enter{0%{opacity:1;opacity:var(--tw-enter-opacity,1);transform:translateZ(0) scaleX(1) rotate(0);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:1;opacity:var(--tw-exit-opacity,1);transform:translateZ(0) scaleX(1) rotate(0);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.hc-duration-100{animation-duration:.1s}.hc-duration-300{animation-duration:.3s}.hc-ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.fit-content{height:-moz-fit-content;height:fit-content}.placeholder\:hc-text-gray-400::-moz-placeholder{--tw-text-opacity:1;color:#9ca3af;color:rgba(156,163,175,var(--tw-text-opacity))}.placeholder\:hc-text-gray-400::placeholder{--tw-text-opacity:1;color:#9ca3af;color:rgba(156,163,175,var(--tw-text-opacity))}.placeholder\:hc-text-uiText\/50::-moz-placeholder{color:hsla(0,0%,8%,.5)}.placeholder\:hc-text-uiText\/50::placeholder{color:hsla(0,0%,8%,.5)}.focus-within\:hc-ring-1:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:0 0 0 0 #fff,/*!*/ /*!*/ 0 0 0 1px #2563eb,0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.focus-within\:hc-ring-uiAccent:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgba(15,23,42,var(--tw-ring-opacity))}.hover\:hc-border-indigo-300:hover{--tw-border-opacity:1;border-color:#a5b4fc;border-color:rgba(165,180,252,var(--tw-border-opacity))}.hover\:hc-border-primaryDark:hover{--tw-border-opacity:1;border-color:#001f5f;border-color:rgba(0,31,95,var(--tw-border-opacity))}.hover\:hc-bg-primaryDark:hover{--tw-bg-opacity:1;background-color:#001f5f;background-color:rgba(0,31,95,var(--tw-bg-opacity))}.hover\:hc-bg-uiAccent\/5:hover{background-color:rgba(15,23,42,.05)}.hover\:hc-bg-opacity-70:hover{--tw-bg-opacity:0.7}.hover\:hc-text-gray-500:hover{--tw-text-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--tw-text-opacity))}.hover\:hc-text-primary:hover{--tw-text-opacity:1;color:#002575;color:rgba(0,37,117,var(--tw-text-opacity))}.hover\:hc-text-uiText:hover{--tw-text-opacity:1;color:#141414;color:rgba(20,20,20,var(--tw-text-opacity))}.hover\:hc-text-white:hover{--tw-text-opacity:1;color:#fff;color:rgba(255,255,255,var(--tw-text-opacity))}.hover\:hc-opacity-70:hover{opacity:.7}.hover\:hc-opacity-75:hover{opacity:.75}.hover\:hc-shadow-xl:hover{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:0 0 transparent,0 0 transparent,0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.focus\:hc-border-indigo-300:focus{--tw-border-opacity:1;border-color:#a5b4fc;border-color:rgba(165,180,252,var(--tw-border-opacity))}.focus\:hc-border-primaryDark:focus{--tw-border-opacity:1;border-color:#001f5f;border-color:rgba(0,31,95,var(--tw-border-opacity))}.focus\:hc-bg-primaryDark:focus{--tw-bg-opacity:1;background-color:#001f5f;background-color:rgba(0,31,95,var(--tw-bg-opacity))}.focus\:hc-bg-uiAccent\/5:focus{background-color:rgba(15,23,42,.05)}.focus\:hc-bg-opacity-70:focus{--tw-bg-opacity:0.7}.focus\:hc-text-primary:focus{--tw-text-opacity:1;color:#002575;color:rgba(0,37,117,var(--tw-text-opacity))}.focus\:hc-text-uiText:focus{--tw-text-opacity:1;color:#141414;color:rgba(20,20,20,var(--tw-text-opacity))}.focus\:hc-text-white:focus{--tw-text-opacity:1;color:#fff;color:rgba(255,255,255,var(--tw-text-opacity))}.focus\:hc-opacity-70:focus{opacity:.7}.focus\:hc-shadow-xl:focus{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:0 0 transparent,0 0 transparent,0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.focus\:hc-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:hc-ring-0:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:0 0 0 0 #fff,var(--tw-ring-shadow),0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.focus\:hover\:hc-bg-uiAccent\/5:hover:focus{background-color:rgba(15,23,42,.05)}.focus-visible\:hc-ring:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:0 0 0 0 #fff,var(--tw-ring-shadow),0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.focus-visible\:hc-ring-uiAccent:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgba(15,23,42,var(--tw-ring-opacity))}.focus-visible\:hc-ring-opacity-75:focus-visible{--tw-ring-opacity:0.75}.hc-group:active .group-active\:hc-opacity-100,.hc-group:hover .group-hover\:hc-opacity-100{opacity:1}.data-\[disabled\]\:hc-pointer-events-none[data-disabled]{pointer-events:none}@keyframes hc-slideUp{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:hc-animate-slideUp[data-state=closed]{animation:hc-slideUp .3s cubic-bezier(.87,0,.13,1)}@keyframes hc-slideDown{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:hc-animate-slideDown[data-state=open]{animation:hc-slideDown .3s cubic-bezier(.87,0,.13,1)}.data-\[state\=open\]\:hc-rounded-b-none[data-state=open]{border-bottom-left-radius:0;border-bottom-right-radius:0}.data-\[state\=open\]\:hc-border-b-transparent[data-state=open]{border-bottom-color:transparent}.data-\[highlighted\]\:hc-bg-primary[data-highlighted],.data-\[state\=active\]\:hc-bg-primary[data-state=active]{--tw-bg-opacity:1;background-color:#002575;background-color:rgba(0,37,117,var(--tw-bg-opacity))}.data-\[disabled\]\:hc-text-gray-500[data-disabled]{--tw-text-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--tw-text-opacity))}.data-\[highlighted\]\:hc-text-white[data-highlighted],.data-\[state\=active\]\:hc-text-white[data-state=active]{--tw-text-opacity:1;color:#fff;color:rgba(255,255,255,var(--tw-text-opacity))}.data-\[state\=open\]\:hc-text-primary[data-state=open]{--tw-text-opacity:1;color:#002575;color:rgba(0,37,117,var(--tw-text-opacity))}.data-\[highlighted\]\:hc-outline-none[data-highlighted]{outline:2px solid transparent;outline-offset:2px}.hc-group[data-state=open] .group-data-\[state\=open\]\:\!hc-rotate-180{--tw-rotate:180deg!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(180deg) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@media (min-width:640px){.sm\:hc-w-1\/3{width:33.333333%}.sm\:hc-text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:768px){.md\:hc-absolute{position:absolute}.md\:hc-left-1{left:.25rem}.md\:hc-left-1\.5{left:.375rem}.md\:hc-mb-2{margin-bottom:.5rem}.md\:hc-block{display:block}.md\:hc-grid{display:grid}.md\:hc-hidden{display:none}.md\:hc-max-h-45vh{max-height:45vh}.md\:hc-max-h-\[25vh\]{max-height:25vh}.md\:hc-max-h-screen{max-height:100vh}.md\:hc-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:hc-grid-cols-\[1fr_2\.5fr\]{grid-template-columns:1fr 2.5fr}.md\:hc-grid-rows-\[100vh\]{grid-template-rows:100vh}.md\:hc-grid-rows-\[50vh_50vh\]{grid-template-rows:50vh 50vh}.md\:hc-flex-col{flex-direction:column}.md\:hc-self-center{align-self:center}.md\:hc-border-none{border-style:none}.md\:hc-bg-gray-100{--tw-bg-opacity:1;background-color:#f3f4f6;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.md\:hc-bg-transparent{background-color:transparent}.md\:hc-p-0{padding:0}.md\:hc-px-4{padding-left:1rem;padding-right:1rem}.md\:hc-px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:hc-pl-4{padding-left:1rem}.md\:hc-pt-4{padding-top:1rem}.md\:hc-text-sm{font-size:.875rem;line-height:1.25rem}.md\:hc-text-xs{font-size:.75rem;line-height:1rem}}@media (min-width:1024px){.lg\:hc-order-last{order:9999}.lg\:hc-mb-0{margin-bottom:0}.lg\:hc-inline{display:inline}.lg\:hc-w-auto{width:auto}.lg\:hc-grid-cols-\[1fr_3\.5fr\]{grid-template-columns:1fr 3.5fr}.lg\:hc-flex-row{flex-direction:row}.lg\:hc-flex-col{flex-direction:column}.lg\:hc-gap-16{gap:4rem}.lg\:hc-border-none{border-style:none}.lg\:hc-p-0{padding:0}.lg\:hc-px-8{padding-left:2rem;padding-right:2rem}.lg\:hc-pt-2{padding-top:.5rem}.lg\:hc-text-sm{font-size:.875rem;line-height:1.25rem}}
@@ -14,7 +14,8 @@ var AccordionFiltersContainer = function AccordionFiltersContainer(_ref) {
14
14
  var _useMapList = useMapList(),
15
15
  filterOptions = _useMapList.filterOptions,
16
16
  selectedFilters = _useMapList.selectedFilters,
17
- setSelectedFilters = _useMapList.setSelectedFilters;
17
+ setSelectedFilters = _useMapList.setSelectedFilters,
18
+ siteConfig = _useMapList.siteConfig;
18
19
  var handleSetSelectedFilters = function handleSetSelectedFilters(prevFilters) {
19
20
  setSelectedFilters(prevFilters);
20
21
  setLocation(null);
@@ -37,7 +38,8 @@ var AccordionFiltersContainer = function AccordionFiltersContainer(_ref) {
37
38
  filter: filter,
38
39
  setDefaultValue: setDefaultValue,
39
40
  selectedFilters: selectedFilters,
40
- setSelectedFilters: handleSetSelectedFilters
41
+ setSelectedFilters: handleSetSelectedFilters,
42
+ subcategoryRequireCategory: siteConfig.subcategoryRequireCategory
41
43
  });
42
44
  }));
43
45
  };
@@ -1 +1 @@
1
- {"version":3,"file":"filter-container.js","sources":["../../../../src/components/containers/accordions/filter-container.js"],"sourcesContent":["import React from 'react';\nimport { useMapList } from '~/contexts/mapListContext';\nimport AccordionFilters from '~/components/modules/accordions/filters';\nimport AccordionFilterItem from '~/components/containers/accordions/filter-item-container';\n\nconst AccordionFiltersContainer = ({\n\tclassName,\n\tdefaultValue,\n\tsetDefaultValue,\n\tsetLocation,\n\tsetSelectedListItem,\n\tSubcategoryRequireCategory\n}) => {\n\tconst { filterOptions, selectedFilters, setSelectedFilters } = useMapList();\n\n\tconst handleSetSelectedFilters = prevFilters => {\n\t\tsetSelectedFilters(prevFilters);\n\t\tsetLocation(null);\n\t\tsetSelectedListItem(null);\n\t};\n\n\treturn (\n\t\t<AccordionFilters\n\t\t\tclassName={className}\n\t\t\tdefaultValue={defaultValue}\n\t\t\tfilterOptions={filterOptions}\n\t\t>\n\t\t\t{filterOptions?.filters?.map(filter => {\n\t\t\t\tif(filter.id === 'category' && SubcategoryRequireCategory === true && (!selectedFilters.categoryClass || Object.keys(selectedFilters.categoryClass).length < 1)){\n\t\t\t\t\treturn;\n\t\t\t\t} else if (filter.id === 'category' && SubcategoryRequireCategory === true && filter.items.length > 0) {\n\t\t\t\t\tfilter.items = filter.items.filter(item => item.count > 0);\n\t\t\t\t}\n\t\t\t\treturn (<AccordionFilterItem\n\t\t\t\t\tkey={filter.id}\n\t\t\t\t\tfilter={filter}\n\t\t\t\t\tsetDefaultValue={setDefaultValue}\n\t\t\t\t\tselectedFilters={selectedFilters}\n\t\t\t\t\tsetSelectedFilters={handleSetSelectedFilters}\n\t\t\t\t/>);\n\t\t\t}\n\t\t\t)}\n\t\t</AccordionFilters>\n\t);\n};\n\nexport default AccordionFiltersContainer;\n"],"names":["AccordionFiltersContainer","_ref","_filterOptions$filter","className","defaultValue","setDefaultValue","setLocation","setSelectedListItem","SubcategoryRequireCategory","_useMapList","useMapList","filterOptions","selectedFilters","setSelectedFilters","handleSetSelectedFilters","prevFilters","React","createElement","AccordionFilters","filters","map","filter","id","categoryClass","Object","keys","length","items","item","count","AccordionFilterItem","key"],"mappings":";;;;;AAKA,IAAMA,yBAAyB,GAAG,SAA5BA,yBAAyBA,CAAAC,IAAA,EAOzB;AAAA,EAAA,IAAAC,qBAAA,CAAA;AAAA,EAAA,IANLC,SAAS,GAAAF,IAAA,CAATE,SAAS;IACTC,YAAY,GAAAH,IAAA,CAAZG,YAAY;IACZC,eAAe,GAAAJ,IAAA,CAAfI,eAAe;IACfC,WAAW,GAAAL,IAAA,CAAXK,WAAW;IACXC,mBAAmB,GAAAN,IAAA,CAAnBM,mBAAmB;IACnBC,0BAA0B,GAAAP,IAAA,CAA1BO,0BAA0B,CAAA;AAE1B,EAAA,IAAAC,WAAA,GAA+DC,UAAU,EAAE;IAAnEC,aAAa,GAAAF,WAAA,CAAbE,aAAa;IAAEC,eAAe,GAAAH,WAAA,CAAfG,eAAe;IAAEC,kBAAkB,GAAAJ,WAAA,CAAlBI,kBAAkB,CAAA;AAE1D,EAAA,IAAMC,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAGC,WAAW,EAAI;IAC/CF,kBAAkB,CAACE,WAAW,CAAC,CAAA;IAC/BT,WAAW,CAAC,IAAI,CAAC,CAAA;IACjBC,mBAAmB,CAAC,IAAI,CAAC,CAAA;GACzB,CAAA;AAED,EAAA,oBACCS,cAAA,CAAAC,aAAA,CAACC,gBAAgB,EAAA;AAChBf,IAAAA,SAAS,EAAEA,SAAU;AACrBC,IAAAA,YAAY,EAAEA,YAAa;AAC3BO,IAAAA,aAAa,EAAEA,aAAAA;AAAc,GAAA,EAE5BA,aAAa,KAAbA,IAAAA,IAAAA,aAAa,gBAAAT,qBAAA,GAAbS,aAAa,CAAEQ,OAAO,MAAAjB,IAAAA,IAAAA,qBAAA,uBAAtBA,qBAAA,CAAwBkB,GAAG,CAAC,UAAAC,MAAM,EAAI;AACtC,IAAA,IAAGA,MAAM,CAACC,EAAE,KAAK,UAAU,IAAId,0BAA0B,KAAK,IAAI,KAAK,CAACI,eAAe,CAACW,aAAa,IAAIC,MAAM,CAACC,IAAI,CAACb,eAAe,CAACW,aAAa,CAAC,CAACG,MAAM,GAAG,CAAC,CAAC,EAAC;AAC/J,MAAA,OAAA;AACD,KAAC,MAAM,IAAIL,MAAM,CAACC,EAAE,KAAK,UAAU,IAAId,0BAA0B,KAAK,IAAI,IAAIa,MAAM,CAACM,KAAK,CAACD,MAAM,GAAG,CAAC,EAAE;MACtGL,MAAM,CAACM,KAAK,GAAGN,MAAM,CAACM,KAAK,CAACN,MAAM,CAAC,UAAAO,IAAI,EAAA;AAAA,QAAA,OAAIA,IAAI,CAACC,KAAK,GAAG,CAAC,CAAA;OAAC,CAAA,CAAA;AAC3D,KAAA;AACA,IAAA,oBAAQb,cAAA,CAAAC,aAAA,CAACa,mBAAmB,EAAA;MAC3BC,GAAG,EAAEV,MAAM,CAACC,EAAG;AACfD,MAAAA,MAAM,EAAEA,MAAO;AACfhB,MAAAA,eAAe,EAAEA,eAAgB;AACjCO,MAAAA,eAAe,EAAEA,eAAgB;AACjCC,MAAAA,kBAAkB,EAAEC,wBAAAA;AAAyB,KAC7C,CAAC,CAAA;AACH,GACA,CACiB,CAAC,CAAA;AAErB;;;;"}
1
+ {"version":3,"file":"filter-container.js","sources":["../../../../src/components/containers/accordions/filter-container.js"],"sourcesContent":["import React from 'react';\nimport { useMapList } from '~/contexts/mapListContext';\nimport AccordionFilters from '~/components/modules/accordions/filters';\nimport AccordionFilterItem from '~/components/containers/accordions/filter-item-container';\n\nconst AccordionFiltersContainer = ({\n\tclassName,\n\tdefaultValue,\n\tsetDefaultValue,\n\tsetLocation,\n\tsetSelectedListItem,\n\tSubcategoryRequireCategory\n}) => {\n\tconst { filterOptions, selectedFilters, setSelectedFilters, siteConfig } = useMapList();\n\n\tconst handleSetSelectedFilters = prevFilters => {\n\t\tsetSelectedFilters(prevFilters);\n\t\tsetLocation(null);\n\t\tsetSelectedListItem(null);\n\t};\n\n\treturn (\n\t\t<AccordionFilters\n\t\t\tclassName={className}\n\t\t\tdefaultValue={defaultValue}\n\t\t\tfilterOptions={filterOptions}\n\t\t>\n\t\t\t{filterOptions?.filters?.map(filter => {\n\t\t\t\tif(filter.id === 'category' && SubcategoryRequireCategory === true && (!selectedFilters.categoryClass || Object.keys(selectedFilters.categoryClass).length < 1)){\n\t\t\t\t\treturn;\n\t\t\t\t} else if (filter.id === 'category' && SubcategoryRequireCategory === true && filter.items.length > 0) {\n\t\t\t\t\tfilter.items = filter.items.filter(item => item.count > 0);\n\t\t\t\t}\n\t\t\t\treturn (<AccordionFilterItem\n\t\t\t\t\tkey={filter.id}\n\t\t\t\t\tfilter={filter}\n\t\t\t\t\tsetDefaultValue={setDefaultValue}\n\t\t\t\t\tselectedFilters={selectedFilters}\n\t\t\t\t\tsetSelectedFilters={handleSetSelectedFilters}\n\t\t\t\t\tsubcategoryRequireCategory={siteConfig.subcategoryRequireCategory}\n\t\t\t\t/>);\n\t\t\t}\n\t\t\t)}\n\t\t</AccordionFilters>\n\t);\n};\n\nexport default AccordionFiltersContainer;\n"],"names":["AccordionFiltersContainer","_ref","_filterOptions$filter","className","defaultValue","setDefaultValue","setLocation","setSelectedListItem","SubcategoryRequireCategory","_useMapList","useMapList","filterOptions","selectedFilters","setSelectedFilters","siteConfig","handleSetSelectedFilters","prevFilters","React","createElement","AccordionFilters","filters","map","filter","id","categoryClass","Object","keys","length","items","item","count","AccordionFilterItem","key","subcategoryRequireCategory"],"mappings":";;;;;AAKA,IAAMA,yBAAyB,GAAG,SAA5BA,yBAAyBA,CAAAC,IAAA,EAOzB;AAAA,EAAA,IAAAC,qBAAA,CAAA;AAAA,EAAA,IANLC,SAAS,GAAAF,IAAA,CAATE,SAAS;IACTC,YAAY,GAAAH,IAAA,CAAZG,YAAY;IACZC,eAAe,GAAAJ,IAAA,CAAfI,eAAe;IACfC,WAAW,GAAAL,IAAA,CAAXK,WAAW;IACXC,mBAAmB,GAAAN,IAAA,CAAnBM,mBAAmB;IACnBC,0BAA0B,GAAAP,IAAA,CAA1BO,0BAA0B,CAAA;AAE1B,EAAA,IAAAC,WAAA,GAA2EC,UAAU,EAAE;IAA/EC,aAAa,GAAAF,WAAA,CAAbE,aAAa;IAAEC,eAAe,GAAAH,WAAA,CAAfG,eAAe;IAAEC,kBAAkB,GAAAJ,WAAA,CAAlBI,kBAAkB;IAAEC,UAAU,GAAAL,WAAA,CAAVK,UAAU,CAAA;AAEtE,EAAA,IAAMC,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAGC,WAAW,EAAI;IAC/CH,kBAAkB,CAACG,WAAW,CAAC,CAAA;IAC/BV,WAAW,CAAC,IAAI,CAAC,CAAA;IACjBC,mBAAmB,CAAC,IAAI,CAAC,CAAA;GACzB,CAAA;AAED,EAAA,oBACCU,cAAA,CAAAC,aAAA,CAACC,gBAAgB,EAAA;AAChBhB,IAAAA,SAAS,EAAEA,SAAU;AACrBC,IAAAA,YAAY,EAAEA,YAAa;AAC3BO,IAAAA,aAAa,EAAEA,aAAAA;AAAc,GAAA,EAE5BA,aAAa,KAAbA,IAAAA,IAAAA,aAAa,gBAAAT,qBAAA,GAAbS,aAAa,CAAES,OAAO,MAAAlB,IAAAA,IAAAA,qBAAA,uBAAtBA,qBAAA,CAAwBmB,GAAG,CAAC,UAAAC,MAAM,EAAI;AACtC,IAAA,IAAGA,MAAM,CAACC,EAAE,KAAK,UAAU,IAAIf,0BAA0B,KAAK,IAAI,KAAK,CAACI,eAAe,CAACY,aAAa,IAAIC,MAAM,CAACC,IAAI,CAACd,eAAe,CAACY,aAAa,CAAC,CAACG,MAAM,GAAG,CAAC,CAAC,EAAC;AAC/J,MAAA,OAAA;AACD,KAAC,MAAM,IAAIL,MAAM,CAACC,EAAE,KAAK,UAAU,IAAIf,0BAA0B,KAAK,IAAI,IAAIc,MAAM,CAACM,KAAK,CAACD,MAAM,GAAG,CAAC,EAAE;MACtGL,MAAM,CAACM,KAAK,GAAGN,MAAM,CAACM,KAAK,CAACN,MAAM,CAAC,UAAAO,IAAI,EAAA;AAAA,QAAA,OAAIA,IAAI,CAACC,KAAK,GAAG,CAAC,CAAA;OAAC,CAAA,CAAA;AAC3D,KAAA;AACA,IAAA,oBAAQb,cAAA,CAAAC,aAAA,CAACa,mBAAmB,EAAA;MAC3BC,GAAG,EAAEV,MAAM,CAACC,EAAG;AACfD,MAAAA,MAAM,EAAEA,MAAO;AACfjB,MAAAA,eAAe,EAAEA,eAAgB;AACjCO,MAAAA,eAAe,EAAEA,eAAgB;AACjCC,MAAAA,kBAAkB,EAAEE,wBAAyB;MAC7CkB,0BAA0B,EAAEnB,UAAU,CAACmB,0BAAAA;AAA2B,KAClE,CAAC,CAAA;AACH,GACA,CACiB,CAAC,CAAA;AAErB;;;;"}
@@ -8,13 +8,18 @@ var FilterItemContainer = function FilterItemContainer(_ref) {
8
8
  var filter = _ref.filter,
9
9
  setDefaultValue = _ref.setDefaultValue,
10
10
  setSelectedFilters = _ref.setSelectedFilters,
11
- selectedFilters = _ref.selectedFilters;
11
+ selectedFilters = _ref.selectedFilters,
12
+ _ref$subcategoryRequi = _ref.subcategoryRequireCategory,
13
+ subcategoryRequireCategory = _ref$subcategoryRequi === void 0 ? false : _ref$subcategoryRequi;
12
14
  var fieldKey = filter.id;
13
15
  var activeItemsCount = selectedFilters != null && selectedFilters[fieldKey] ? Object.keys(selectedFilters[fieldKey]).length : 0;
14
16
  var handleClearFilters = function handleClearFilters(event) {
15
17
  event.stopPropagation();
16
18
  setSelectedFilters(function (prevFilters) {
17
19
  var updatedFilters = _objectSpread2({}, prevFilters);
20
+ if (subcategoryRequireCategory && fieldKey == 'categoryClass') {
21
+ delete updatedFilters['category'];
22
+ }
18
23
  delete updatedFilters[fieldKey];
19
24
  return updatedFilters;
20
25
  });
@@ -1 +1 @@
1
- {"version":3,"file":"filter-item-container.js","sources":["../../../../src/components/containers/accordions/filter-item-container.js"],"sourcesContent":["import React, { memo } from 'react';\nimport AccordionFilterItem from '~/components/modules/accordions/filterItem';\nimport FilterItem from '~/components/containers/filter/filter-item-container';\nimport ItemsPill from '~/components/modules/buttons/items-pill';\n\nconst FilterItemContainer = ({\n\tfilter,\n\tsetDefaultValue,\n\tsetSelectedFilters,\n\tselectedFilters\n}) => {\n\tconst fieldKey = filter.id;\n\tconst activeItemsCount = selectedFilters != null && selectedFilters[fieldKey]\n\t\t? Object.keys(selectedFilters[fieldKey]).length\n\t\t: 0;\n\n\tconst handleClearFilters = event => {\n\t\tevent.stopPropagation();\n\t\tsetSelectedFilters(prevFilters => {\n\t\t\tconst updatedFilters = { ...prevFilters };\n\t\t\tdelete updatedFilters[fieldKey];\n\t\t\treturn updatedFilters;\n\t\t});\n\t};\n\n\tconst header = (\n\t\t<>\n\t\t\t{filter.title}\n\t\t\t{activeItemsCount > 0 && (\n\t\t\t\t<ItemsPill\n\t\t\t\t\tactiveItemsCount={activeItemsCount}\n\t\t\t\t\tonClick={handleClearFilters}\n\t\t\t\t/>\n\t\t\t)}\n\t\t</>\n\t);\n\n\tconst body = (\n\t\t<>\n\t\t\t{filter.items.sort().map(item => (\n\t\t\t\t<FilterItem\n\t\t\t\t\tkey={item.name}\n\t\t\t\t\titem={item}\n\t\t\t\t\tfield={filter.id}\n\t\t\t\t\tselectedFilters={selectedFilters}\n\t\t\t\t\tsetSelectedFilters={setSelectedFilters}\n\t\t\t\t/>\n\t\t\t))}\n\t\t</>\n\t);\n\n\treturn (\n\t\t<AccordionFilterItem\n\t\t\tid={filter.id}\n\t\t\tsetDefaultValue={setDefaultValue}\n\t\t\theader={header}\n\t\t\tbody={body}\n\t\t/>\n\t);\n};\n\nexport default memo(FilterItemContainer);\n"],"names":["FilterItemContainer","_ref","filter","setDefaultValue","setSelectedFilters","selectedFilters","fieldKey","id","activeItemsCount","Object","keys","length","handleClearFilters","event","stopPropagation","prevFilters","updatedFilters","_objectSpread","header","React","createElement","Fragment","title","ItemsPill","onClick","body","items","sort","map","item","FilterItem","key","name","field","AccordionFilterItem","memo"],"mappings":";;;;;;AAKA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA,EAKnB;AAAA,EAAA,IAJLC,MAAM,GAAAD,IAAA,CAANC,MAAM;IACNC,eAAe,GAAAF,IAAA,CAAfE,eAAe;IACfC,kBAAkB,GAAAH,IAAA,CAAlBG,kBAAkB;IAClBC,eAAe,GAAAJ,IAAA,CAAfI,eAAe,CAAA;AAEf,EAAA,IAAMC,QAAQ,GAAGJ,MAAM,CAACK,EAAE,CAAA;EAC1B,IAAMC,gBAAgB,GAAGH,eAAe,IAAI,IAAI,IAAIA,eAAe,CAACC,QAAQ,CAAC,GAC1EG,MAAM,CAACC,IAAI,CAACL,eAAe,CAACC,QAAQ,CAAC,CAAC,CAACK,MAAM,GAC7C,CAAC,CAAA;AAEJ,EAAA,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAGC,KAAK,EAAI;IACnCA,KAAK,CAACC,eAAe,EAAE,CAAA;IACvBV,kBAAkB,CAAC,UAAAW,WAAW,EAAI;AACjC,MAAA,IAAMC,cAAc,GAAAC,cAAA,CAAA,EAAA,EAAQF,WAAW,CAAE,CAAA;MACzC,OAAOC,cAAc,CAACV,QAAQ,CAAC,CAAA;AAC/B,MAAA,OAAOU,cAAc,CAAA;AACtB,KAAC,CAAC,CAAA;GACF,CAAA;EAED,IAAME,MAAM,gBACXC,cAAA,CAAAC,aAAA,CAAAD,cAAA,CAAAE,QAAA,EACEnB,IAAAA,EAAAA,MAAM,CAACoB,KAAK,EACZd,gBAAgB,GAAG,CAAC,iBACpBW,cAAA,CAAAC,aAAA,CAACG,eAAS,EAAA;AACTf,IAAAA,gBAAgB,EAAEA,gBAAiB;AACnCgB,IAAAA,OAAO,EAAEZ,kBAAAA;AAAmB,GAC5B,CAED,CACF,CAAA;EAED,IAAMa,IAAI,gBACTN,cAAA,CAAAC,aAAA,CAAAD,cAAA,CAAAE,QAAA,EAAA,IAAA,EACEnB,MAAM,CAACwB,KAAK,CAACC,IAAI,EAAE,CAACC,GAAG,CAAC,UAAAC,IAAI,EAAA;AAAA,IAAA,oBAC5BV,cAAA,CAAAC,aAAA,CAACU,qBAAU,EAAA;MACVC,GAAG,EAAEF,IAAI,CAACG,IAAK;AACfH,MAAAA,IAAI,EAAEA,IAAK;MACXI,KAAK,EAAE/B,MAAM,CAACK,EAAG;AACjBF,MAAAA,eAAe,EAAEA,eAAgB;AACjCD,MAAAA,kBAAkB,EAAEA,kBAAAA;AAAmB,KACvC,CAAC,CAAA;AAAA,GACF,CACA,CACF,CAAA;AAED,EAAA,oBACCe,cAAA,CAAAC,aAAA,CAACc,qBAAmB,EAAA;IACnB3B,EAAE,EAAEL,MAAM,CAACK,EAAG;AACdJ,IAAAA,eAAe,EAAEA,eAAgB;AACjCe,IAAAA,MAAM,EAAEA,MAAO;AACfO,IAAAA,IAAI,EAAEA,IAAAA;AAAK,GACX,CAAC,CAAA;AAEJ,CAAC,CAAA;AAED,0BAAeU,aAAAA,IAAI,CAACnC,mBAAmB,CAAC;;;;"}
1
+ {"version":3,"file":"filter-item-container.js","sources":["../../../../src/components/containers/accordions/filter-item-container.js"],"sourcesContent":["import React, { memo } from 'react';\r\nimport AccordionFilterItem from '~/components/modules/accordions/filterItem';\r\nimport FilterItem from '~/components/containers/filter/filter-item-container';\r\nimport ItemsPill from '~/components/modules/buttons/items-pill';\r\n\r\nconst FilterItemContainer = ({\r\n\tfilter,\r\n\tsetDefaultValue,\r\n\tsetSelectedFilters,\r\n\tselectedFilters,\r\n\tsubcategoryRequireCategory = false\r\n}) => {\r\n\tconst fieldKey = filter.id;\r\n\tconst activeItemsCount = selectedFilters != null && selectedFilters[fieldKey]\r\n\t\t? Object.keys(selectedFilters[fieldKey]).length\r\n\t\t: 0;\r\n\r\n\tconst handleClearFilters = event => {\r\n\t\tevent.stopPropagation();\r\n\t\tsetSelectedFilters(prevFilters => {\r\n\t\t\tconst updatedFilters = { ...prevFilters };\r\n\t\t\tif(subcategoryRequireCategory && fieldKey == 'categoryClass'){\r\n\t\t\t\tdelete updatedFilters['category'];\r\n\t\t\t}\r\n\t\t\tdelete updatedFilters[fieldKey];\r\n\t\t\treturn updatedFilters;\r\n\t\t});\r\n\t};\r\n\r\n\tconst header = (\r\n\t\t<>\r\n\t\t\t{filter.title}\r\n\t\t\t{activeItemsCount > 0 && (\r\n\t\t\t\t<ItemsPill\r\n\t\t\t\t\tactiveItemsCount={activeItemsCount}\r\n\t\t\t\t\tonClick={handleClearFilters}\r\n\t\t\t\t/>\r\n\t\t\t)}\r\n\t\t</>\r\n\t);\r\n\r\n\tconst body = (\r\n\t\t<>\r\n\t\t\t{filter.items.sort().map(item => (\r\n\t\t\t\t<FilterItem\r\n\t\t\t\t\tkey={item.name}\r\n\t\t\t\t\titem={item}\r\n\t\t\t\t\tfield={filter.id}\r\n\t\t\t\t\tselectedFilters={selectedFilters}\r\n\t\t\t\t\tsetSelectedFilters={setSelectedFilters}\r\n\t\t\t\t/>\r\n\t\t\t))}\r\n\t\t</>\r\n\t);\r\n\r\n\treturn (\r\n\t\t<AccordionFilterItem\r\n\t\t\tid={filter.id}\r\n\t\t\tsetDefaultValue={setDefaultValue}\r\n\t\t\theader={header}\r\n\t\t\tbody={body}\r\n\t\t/>\r\n\t);\r\n};\r\n\r\nexport default memo(FilterItemContainer);\r\n"],"names":["FilterItemContainer","_ref","filter","setDefaultValue","setSelectedFilters","selectedFilters","_ref$subcategoryRequi","subcategoryRequireCategory","fieldKey","id","activeItemsCount","Object","keys","length","handleClearFilters","event","stopPropagation","prevFilters","updatedFilters","_objectSpread","header","React","createElement","Fragment","title","ItemsPill","onClick","body","items","sort","map","item","FilterItem","key","name","field","AccordionFilterItem","memo"],"mappings":";;;;;;AAKA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA,EAMnB;AAAA,EAAA,IALLC,MAAM,GAAAD,IAAA,CAANC,MAAM;IACNC,eAAe,GAAAF,IAAA,CAAfE,eAAe;IACfC,kBAAkB,GAAAH,IAAA,CAAlBG,kBAAkB;IAClBC,eAAe,GAAAJ,IAAA,CAAfI,eAAe;IAAAC,qBAAA,GAAAL,IAAA,CACfM,0BAA0B;AAA1BA,IAAAA,0BAA0B,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,qBAAA,CAAA;AAElC,EAAA,IAAME,QAAQ,GAAGN,MAAM,CAACO,EAAE,CAAA;EAC1B,IAAMC,gBAAgB,GAAGL,eAAe,IAAI,IAAI,IAAIA,eAAe,CAACG,QAAQ,CAAC,GAC1EG,MAAM,CAACC,IAAI,CAACP,eAAe,CAACG,QAAQ,CAAC,CAAC,CAACK,MAAM,GAC7C,CAAC,CAAA;AAEJ,EAAA,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAGC,KAAK,EAAI;IACnCA,KAAK,CAACC,eAAe,EAAE,CAAA;IACvBZ,kBAAkB,CAAC,UAAAa,WAAW,EAAI;AACjC,MAAA,IAAMC,cAAc,GAAAC,cAAA,CAAA,EAAA,EAAQF,WAAW,CAAE,CAAA;AACzC,MAAA,IAAGV,0BAA0B,IAAIC,QAAQ,IAAI,eAAe,EAAC;QAC5D,OAAOU,cAAc,CAAC,UAAU,CAAC,CAAA;AAClC,OAAA;MACA,OAAOA,cAAc,CAACV,QAAQ,CAAC,CAAA;AAC/B,MAAA,OAAOU,cAAc,CAAA;AACtB,KAAC,CAAC,CAAA;GACF,CAAA;EAED,IAAME,MAAM,gBACXC,cAAA,CAAAC,aAAA,CAAAD,cAAA,CAAAE,QAAA,EACErB,IAAAA,EAAAA,MAAM,CAACsB,KAAK,EACZd,gBAAgB,GAAG,CAAC,iBACpBW,cAAA,CAAAC,aAAA,CAACG,eAAS,EAAA;AACTf,IAAAA,gBAAgB,EAAEA,gBAAiB;AACnCgB,IAAAA,OAAO,EAAEZ,kBAAAA;AAAmB,GAC5B,CAED,CACF,CAAA;EAED,IAAMa,IAAI,gBACTN,cAAA,CAAAC,aAAA,CAAAD,cAAA,CAAAE,QAAA,EAAA,IAAA,EACErB,MAAM,CAAC0B,KAAK,CAACC,IAAI,EAAE,CAACC,GAAG,CAAC,UAAAC,IAAI,EAAA;AAAA,IAAA,oBAC5BV,cAAA,CAAAC,aAAA,CAACU,qBAAU,EAAA;MACVC,GAAG,EAAEF,IAAI,CAACG,IAAK;AACfH,MAAAA,IAAI,EAAEA,IAAK;MACXI,KAAK,EAAEjC,MAAM,CAACO,EAAG;AACjBJ,MAAAA,eAAe,EAAEA,eAAgB;AACjCD,MAAAA,kBAAkB,EAAEA,kBAAAA;AAAmB,KACvC,CAAC,CAAA;AAAA,GACF,CACA,CACF,CAAA;AAED,EAAA,oBACCiB,cAAA,CAAAC,aAAA,CAACc,qBAAmB,EAAA;IACnB3B,EAAE,EAAEP,MAAM,CAACO,EAAG;AACdN,IAAAA,eAAe,EAAEA,eAAgB;AACjCiB,IAAAA,MAAM,EAAEA,MAAO;AACfO,IAAAA,IAAI,EAAEA,IAAAA;AAAK,GACX,CAAC,CAAA;AAEJ,CAAC,CAAA;AAED,0BAAeU,aAAAA,IAAI,CAACrC,mBAAmB,CAAC;;;;"}
@@ -16,7 +16,8 @@ var MapAccordionItemContainer = function MapAccordionItemContainer(_ref) {
16
16
  isActive = _ref.isActive,
17
17
  hasListItemSelected = _ref.hasListItemSelected;
18
18
  var _useMapList = useMapList(),
19
- mapItems = _useMapList.mapItems;
19
+ mapItems = _useMapList.mapItems,
20
+ recruiters = _useMapList.recruiters;
20
21
  var _useMap = useMap(),
21
22
  selectItem = _useMap.selectItem;
22
23
  var _useTrackEvent = useTrackEvent(),
@@ -56,7 +57,8 @@ var MapAccordionItemContainer = function MapAccordionItemContainer(_ref) {
56
57
  item: item,
57
58
  itemRefs: itemRefs,
58
59
  itemExpandedContent: itemExpandedContent,
59
- isActive: isActive
60
+ isActive: isActive,
61
+ recruiter: recruiters[item.recruiterId]
60
62
  }, /*#__PURE__*/React__default.createElement(ListItemContainer, {
61
63
  showMap: showMap,
62
64
  item: item,
@@ -1 +1 @@
1
- {"version":3,"file":"map-accordion-item-container.js","sources":["../../../../src/components/containers/accordions/map-accordion-item-container.js"],"sourcesContent":["import React from 'react';\nimport { useMap } from '~/contexts/mapContext';\nimport { useMapList } from '~/contexts/mapListContext';\nimport { useTrackEvent } from '~/contexts/trackEventContext';\nimport { setStorageObject } from '~/util/localStorageUtil';\nimport MapAccordionItem from '~/components/modules/accordions/MapAccordionItem';\nimport ListItemContainer from '~/components/containers/list/list-item/list-item-container';\n\nconst MapAccordionItemContainer = ({\n\tshowMap,\n\titem,\n\titemRefs,\n\tfieldsShown,\n\titemExpandedContent,\n\tspecialFeatures,\n\tisActive,\n\thasListItemSelected\n}) => {\n\tconst { mapItems } = useMapList();\n\tconst { selectItem } = useMap();\n\tconst { trackEvent, eventTypes } = useTrackEvent();\n\n\tconst setSelectedItemAndZoomMap = (item, isActive) => {\n\t\tif (isActive) {\n\t\t\tlocalStorage.removeItem(\"selectedListItem\");\n\t\t\tconst location = mapItems.find(x => Object.prototype.hasOwnProperty.call(x.items, item.id)) || null;\n\t\t\tselectItem(null, null, 9, { lat: 39.8283, lng: -98.5795 });\n\t\t} else {\n\t\t\tsetStorageObject(\"selectedListItem\", item);\n\t\t\tconst location = mapItems.find(x => Object.prototype.hasOwnProperty.call(x.items, item.id)) || null;\n\t\t\tselectItem(item, location, 12, {\n\t\t\t\tlat: location?.latitude,\n\t\t\t\tlng: location?.longitude\n\t\t\t});\n\t\t}\n\t};\n\n\tconst handleItemClick = item => {\n\t\ttrackEvent(eventTypes.JOB_LISTING_SELECTED, {\n\t\t\tjobTitle: item.fields.position,\n\t\t\tjobCategory: item.fields.category,\n\t\t\tentityDisplayName: item?.mapDetails?.entityDisplayName\n\t\t});\n\n\t\tsetSelectedItemAndZoomMap(item, isActive);\n\t};\n\n\treturn (\n\t\t<MapAccordionItem\n\t\t\titem={item}\n\t\t\titemRefs={itemRefs}\n\t\t\titemExpandedContent={itemExpandedContent}\n\t\t\tisActive={isActive}\n\n\t\t>\n\t\t\t<ListItemContainer\n\t\t\t\tshowMap={showMap}\n\t\t\t\titem={item}\n\t\t\t\titemRefs={itemRefs}\n\t\t\t\tfieldsShown={fieldsShown}\n\t\t\t\tspecialFeatures={specialFeatures}\n\t\t\t\tisActive={isActive}\n\t\t\t\thasListItemSelected={hasListItemSelected}\n\t\t\t\tonClick={() => handleItemClick(item)}\n\t\t\t/>\n\t\t</MapAccordionItem>\n\t);\n};\n\nexport default MapAccordionItemContainer;\n"],"names":["MapAccordionItemContainer","_ref","showMap","item","itemRefs","fieldsShown","itemExpandedContent","specialFeatures","isActive","hasListItemSelected","_useMapList","useMapList","mapItems","_useMap","useMap","selectItem","_useTrackEvent","useTrackEvent","trackEvent","eventTypes","setSelectedItemAndZoomMap","localStorage","removeItem","find","x","Object","prototype","hasOwnProperty","call","items","id","lat","lng","setStorageObject","location","latitude","longitude","handleItemClick","_item$mapDetails","JOB_LISTING_SELECTED","jobTitle","fields","position","jobCategory","category","entityDisplayName","mapDetails","React","createElement","MapAccordionItem","ListItemContainer","onClick"],"mappings":"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"}
1
+ {"version":3,"file":"map-accordion-item-container.js","sources":["../../../../src/components/containers/accordions/map-accordion-item-container.js"],"sourcesContent":["import React from 'react';\r\nimport { useMap } from '~/contexts/mapContext';\r\nimport { useMapList } from '~/contexts/mapListContext';\r\nimport { useTrackEvent } from '~/contexts/trackEventContext';\r\nimport { setStorageObject } from '~/util/localStorageUtil';\r\nimport MapAccordionItem from '~/components/modules/accordions/MapAccordionItem';\r\nimport ListItemContainer from '~/components/containers/list/list-item/list-item-container';\r\n\r\nconst MapAccordionItemContainer = ({\r\n\tshowMap,\r\n\titem,\r\n\titemRefs,\r\n\tfieldsShown,\r\n\titemExpandedContent,\r\n\tspecialFeatures,\r\n\tisActive,\r\n\thasListItemSelected\r\n}) => {\r\n\tconst { mapItems, recruiters } = useMapList();\r\n\tconst { selectItem } = useMap();\r\n\tconst { trackEvent, eventTypes } = useTrackEvent();\r\n\r\n\tconst setSelectedItemAndZoomMap = (item, isActive) => {\r\n\t\tif (isActive) {\r\n\t\t\tlocalStorage.removeItem(\"selectedListItem\");\r\n\t\t\tconst location = mapItems.find(x => Object.prototype.hasOwnProperty.call(x.items, item.id)) || null;\r\n\t\t\tselectItem(null, null, 9, { lat: 39.8283, lng: -98.5795 });\r\n\t\t} else {\r\n\t\t\tsetStorageObject(\"selectedListItem\", item);\r\n\t\t\tconst location = mapItems.find(x => Object.prototype.hasOwnProperty.call(x.items, item.id)) || null;\r\n\t\t\tselectItem(item, location, 12, {\r\n\t\t\t\tlat: location?.latitude,\r\n\t\t\t\tlng: location?.longitude\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n\r\n\tconst handleItemClick = item => {\r\n\t\ttrackEvent(eventTypes.JOB_LISTING_SELECTED, {\r\n\t\t\tjobTitle: item.fields.position,\r\n\t\t\tjobCategory: item.fields.category,\r\n\t\t\tentityDisplayName: item?.mapDetails?.entityDisplayName\r\n\t\t});\r\n\r\n\t\tsetSelectedItemAndZoomMap(item, isActive);\r\n\t};\r\n\r\n\treturn (\r\n\t\t<MapAccordionItem\r\n\t\t\titem={item}\r\n\t\t\titemRefs={itemRefs}\r\n\t\t\titemExpandedContent={itemExpandedContent}\r\n\t\t\tisActive={isActive}\r\n\t\t\trecruiter={recruiters[item.recruiterId]}\r\n\t\t>\r\n\t\t\t<ListItemContainer\r\n\t\t\t\tshowMap={showMap}\r\n\t\t\t\titem={item}\r\n\t\t\t\titemRefs={itemRefs}\r\n\t\t\t\tfieldsShown={fieldsShown}\r\n\t\t\t\tspecialFeatures={specialFeatures}\r\n\t\t\t\tisActive={isActive}\r\n\t\t\t\thasListItemSelected={hasListItemSelected}\r\n\t\t\t\tonClick={() => handleItemClick(item)}\r\n\t\t\t/>\r\n\t\t</MapAccordionItem>\r\n\t);\r\n};\r\n\r\nexport default MapAccordionItemContainer;\r\n"],"names":["MapAccordionItemContainer","_ref","showMap","item","itemRefs","fieldsShown","itemExpandedContent","specialFeatures","isActive","hasListItemSelected","_useMapList","useMapList","mapItems","recruiters","_useMap","useMap","selectItem","_useTrackEvent","useTrackEvent","trackEvent","eventTypes","setSelectedItemAndZoomMap","localStorage","removeItem","find","x","Object","prototype","hasOwnProperty","call","items","id","lat","lng","setStorageObject","location","latitude","longitude","handleItemClick","_item$mapDetails","JOB_LISTING_SELECTED","jobTitle","fields","position","jobCategory","category","entityDisplayName","mapDetails","React","createElement","MapAccordionItem","recruiter","recruiterId","ListItemContainer","onClick"],"mappings":"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"}
@@ -6,7 +6,7 @@ import ListingDetails from '../../modules/jobListing/listing-details.js';
6
6
 
7
7
  var ListingDetailsContainer = function ListingDetailsContainer(_ref) {
8
8
  var item = _ref.item,
9
- recruiters = _ref.recruiters;
9
+ recruiter = _ref.recruiter;
10
10
  var _useTrackEvent = useTrackEvent(),
11
11
  trackEvent = _useTrackEvent.trackEvent,
12
12
  eventTypes = _useTrackEvent.eventTypes;
@@ -25,7 +25,7 @@ var ListingDetailsContainer = function ListingDetailsContainer(_ref) {
25
25
  jobsDomain = siteConfig.jobsDomain;
26
26
  return /*#__PURE__*/React__default.createElement(ListingDetails, {
27
27
  item: item,
28
- recruiters: recruiters,
28
+ recruiter: recruiter,
29
29
  travelTime: travelTime,
30
30
  useDetailsPostMessage: useDetailsPostMessage,
31
31
  navigateToDetails: navigateToDetails,
@@ -1 +1 @@
1
- {"version":3,"file":"listing-details-container.js","sources":["../../../../src/components/containers/jobListing/listing-details-container.js"],"sourcesContent":["import React from 'react';\nimport { useMap } from '~/contexts/mapContext';\nimport { useMapList } from '~/contexts/mapListContext';\nimport { useTrackEvent } from '~/contexts/trackEventContext';\nimport ListingDetails from '~/components/modules/jobListing/listing-details';\n\nconst ListingDetailsContainer = ({ item, recruiters }) => {\n\tconst { trackEvent, eventTypes } = useTrackEvent();\n\tconst { travelTime } = useMap();\n\tconst { siteConfig, navigateToDetails, navigateToEasyApply, Link, linkFormat } = useMapList();\n\n\tconst {\n\t useDetailsPostMessage,\n\t useApplyDialog,\n\t internalApplyLink,\n\t companyName,\n\t jobsDomain\n\t} = siteConfig;\n\n\treturn (\n\t <ListingDetails\n\t\t\titem={item}\n\t\t\trecruiters={recruiters}\n\t\t\ttravelTime={travelTime}\n\t\t\tuseDetailsPostMessage={useDetailsPostMessage}\n\t\t\tnavigateToDetails={navigateToDetails}\n\t\t\tnavigateToEasyApply={navigateToEasyApply}\n\t\t\tLink={Link}\n\t\t\tlinkFormat={linkFormat}\n\t\t\tuseApplyDialog={useApplyDialog}\n\t\t\tinternalApplyLink={internalApplyLink}\n\t\t\tcompanyName={companyName}\n\t\t\tjobsDomain={jobsDomain}\n\t\t\ttrackEvent={trackEvent}\n\t\t\teventTypes={eventTypes}\n\t />\n\t);\n};\n\nexport default ListingDetailsContainer;\n"],"names":["ListingDetailsContainer","_ref","item","recruiters","_useTrackEvent","useTrackEvent","trackEvent","eventTypes","_useMap","useMap","travelTime","_useMapList","useMapList","siteConfig","navigateToDetails","navigateToEasyApply","Link","linkFormat","useDetailsPostMessage","useApplyDialog","internalApplyLink","companyName","jobsDomain","React","createElement","ListingDetails"],"mappings":";;;;;;AAMA,IAAMA,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAAC,IAAA,EAA6B;AAAA,EAAA,IAAvBC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,UAAU,GAAAF,IAAA,CAAVE,UAAU,CAAA;AAClD,EAAA,IAAAC,cAAA,GAAmCC,aAAa,EAAE;IAA1CC,UAAU,GAAAF,cAAA,CAAVE,UAAU;IAAEC,UAAU,GAAAH,cAAA,CAAVG,UAAU,CAAA;AAC9B,EAAA,IAAAC,OAAA,GAAuBC,MAAM,EAAE;IAAvBC,UAAU,GAAAF,OAAA,CAAVE,UAAU,CAAA;AAClB,EAAA,IAAAC,WAAA,GAAiFC,UAAU,EAAE;IAArFC,UAAU,GAAAF,WAAA,CAAVE,UAAU;IAAEC,iBAAiB,GAAAH,WAAA,CAAjBG,iBAAiB;IAAEC,mBAAmB,GAAAJ,WAAA,CAAnBI,mBAAmB;IAAEC,IAAI,GAAAL,WAAA,CAAJK,IAAI;IAAEC,UAAU,GAAAN,WAAA,CAAVM,UAAU,CAAA;AAE5E,EAAA,IACEC,qBAAqB,GAKnBL,UAAU,CALZK,qBAAqB;IACrBC,cAAc,GAIZN,UAAU,CAJZM,cAAc;IACdC,iBAAiB,GAGfP,UAAU,CAHZO,iBAAiB;IACjBC,WAAW,GAETR,UAAU,CAFZQ,WAAW;IACXC,UAAU,GACRT,UAAU,CADZS,UAAU,CAAA;AAGZ,EAAA,oBACEC,cAAA,CAAAC,aAAA,CAACC,cAAc,EAAA;AACfvB,IAAAA,IAAI,EAAEA,IAAK;AACXC,IAAAA,UAAU,EAAEA,UAAW;AACvBO,IAAAA,UAAU,EAAEA,UAAW;AACvBQ,IAAAA,qBAAqB,EAAEA,qBAAsB;AAC7CJ,IAAAA,iBAAiB,EAAEA,iBAAkB;AACrCC,IAAAA,mBAAmB,EAAEA,mBAAoB;AACzCC,IAAAA,IAAI,EAAEA,IAAK;AACXC,IAAAA,UAAU,EAAEA,UAAW;AACvBE,IAAAA,cAAc,EAAEA,cAAe;AAC/BC,IAAAA,iBAAiB,EAAEA,iBAAkB;AACrCC,IAAAA,WAAW,EAAEA,WAAY;AACzBC,IAAAA,UAAU,EAAEA,UAAW;AACvBhB,IAAAA,UAAU,EAAEA,UAAW;AACvBC,IAAAA,UAAU,EAAEA,UAAAA;AAAW,GACtB,CAAC,CAAA;AAEL;;;;"}
1
+ {"version":3,"file":"listing-details-container.js","sources":["../../../../src/components/containers/jobListing/listing-details-container.js"],"sourcesContent":["import React from 'react';\nimport { useMap } from '~/contexts/mapContext';\nimport { useMapList } from '~/contexts/mapListContext';\nimport { useTrackEvent } from '~/contexts/trackEventContext';\nimport ListingDetails from '~/components/modules/jobListing/listing-details';\n\nconst ListingDetailsContainer = ({ item, recruiter }) => {\n\tconst { trackEvent, eventTypes } = useTrackEvent();\n\tconst { travelTime } = useMap();\n\tconst { siteConfig, navigateToDetails, navigateToEasyApply, Link, linkFormat } = useMapList();\n\n\tconst {\n\t useDetailsPostMessage,\n\t useApplyDialog,\n\t internalApplyLink,\n\t companyName,\n\t jobsDomain\n\t} = siteConfig;\n\n\treturn (\n\t <ListingDetails\n\t\t\titem={item}\n\t\t\trecruiter={recruiter}\n\t\t\ttravelTime={travelTime}\n\t\t\tuseDetailsPostMessage={useDetailsPostMessage}\n\t\t\tnavigateToDetails={navigateToDetails}\n\t\t\tnavigateToEasyApply={navigateToEasyApply}\n\t\t\tLink={Link}\n\t\t\tlinkFormat={linkFormat}\n\t\t\tuseApplyDialog={useApplyDialog}\n\t\t\tinternalApplyLink={internalApplyLink}\n\t\t\tcompanyName={companyName}\n\t\t\tjobsDomain={jobsDomain}\n\t\t\ttrackEvent={trackEvent}\n\t\t\teventTypes={eventTypes}\n\t />\n\t);\n};\n\nexport default ListingDetailsContainer;\n"],"names":["ListingDetailsContainer","_ref","item","recruiter","_useTrackEvent","useTrackEvent","trackEvent","eventTypes","_useMap","useMap","travelTime","_useMapList","useMapList","siteConfig","navigateToDetails","navigateToEasyApply","Link","linkFormat","useDetailsPostMessage","useApplyDialog","internalApplyLink","companyName","jobsDomain","React","createElement","ListingDetails"],"mappings":";;;;;;AAMA,IAAMA,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAAC,IAAA,EAA4B;AAAA,EAAA,IAAtBC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,SAAS,GAAAF,IAAA,CAATE,SAAS,CAAA;AACjD,EAAA,IAAAC,cAAA,GAAmCC,aAAa,EAAE;IAA1CC,UAAU,GAAAF,cAAA,CAAVE,UAAU;IAAEC,UAAU,GAAAH,cAAA,CAAVG,UAAU,CAAA;AAC9B,EAAA,IAAAC,OAAA,GAAuBC,MAAM,EAAE;IAAvBC,UAAU,GAAAF,OAAA,CAAVE,UAAU,CAAA;AAClB,EAAA,IAAAC,WAAA,GAAiFC,UAAU,EAAE;IAArFC,UAAU,GAAAF,WAAA,CAAVE,UAAU;IAAEC,iBAAiB,GAAAH,WAAA,CAAjBG,iBAAiB;IAAEC,mBAAmB,GAAAJ,WAAA,CAAnBI,mBAAmB;IAAEC,IAAI,GAAAL,WAAA,CAAJK,IAAI;IAAEC,UAAU,GAAAN,WAAA,CAAVM,UAAU,CAAA;AAE5E,EAAA,IACEC,qBAAqB,GAKnBL,UAAU,CALZK,qBAAqB;IACrBC,cAAc,GAIZN,UAAU,CAJZM,cAAc;IACdC,iBAAiB,GAGfP,UAAU,CAHZO,iBAAiB;IACjBC,WAAW,GAETR,UAAU,CAFZQ,WAAW;IACXC,UAAU,GACRT,UAAU,CADZS,UAAU,CAAA;AAGZ,EAAA,oBACEC,cAAA,CAAAC,aAAA,CAACC,cAAc,EAAA;AACfvB,IAAAA,IAAI,EAAEA,IAAK;AACXC,IAAAA,SAAS,EAAEA,SAAU;AACrBO,IAAAA,UAAU,EAAEA,UAAW;AACvBQ,IAAAA,qBAAqB,EAAEA,qBAAsB;AAC7CJ,IAAAA,iBAAiB,EAAEA,iBAAkB;AACrCC,IAAAA,mBAAmB,EAAEA,mBAAoB;AACzCC,IAAAA,IAAI,EAAEA,IAAK;AACXC,IAAAA,UAAU,EAAEA,UAAW;AACvBE,IAAAA,cAAc,EAAEA,cAAe;AAC/BC,IAAAA,iBAAiB,EAAEA,iBAAkB;AACrCC,IAAAA,WAAW,EAAEA,WAAY;AACzBC,IAAAA,UAAU,EAAEA,UAAW;AACvBhB,IAAAA,UAAU,EAAEA,UAAW;AACvBC,IAAAA,UAAU,EAAEA,UAAAA;AAAW,GACtB,CAAC,CAAA;AAEL;;;;"}
@@ -14,7 +14,7 @@ const ItemsListContainer = ({ fieldNames, showMap, fieldsShown, specialFeatures
14
14
  const { itemLimit, loader, scrollContainerRef, itemRefs } = useListLogic(filteredListings);
15
15
  const { selectedListItem } = useMap();
16
16
  const { trackEvent, eventTypes } = useTrackEvent();
17
- const itemExpandedContent = (item, recruiters) => item ? React__default.createElement(ListingDetailsContainer, { item: item, recruiters: recruiters }) : null;
17
+ const itemExpandedContent = (item, recruiter) => item ? React__default.createElement(ListingDetailsContainer, { item: item, recruiter: recruiter }) : null;
18
18
  if (!fieldsShown.includes('travelTime') && commuteLocation != null && Object.entries(commuteLocation).length > 0) {
19
19
  fieldsShown.push('travelTime');
20
20
  fieldNames['travelTime'] = 'Commute';
@@ -26,7 +26,7 @@ const ItemsListContainer = ({ fieldNames, showMap, fieldsShown, specialFeatures
26
26
  trackEvent(eventTypes.LIST_SORTED, sortSetting);
27
27
  setSortSetting(sortSetting);
28
28
  };
29
- return (React__default.createElement(ItemsList, { fieldNames: fieldNames, showMap: showMap, fieldsShown: fieldsShown, filteredListings: filteredListings, loading: loading, sortSetting: sortSetting, setSortSetting: setTrackedSortSetting, itemLimit: itemLimit, loader: loader, scrollContainerRef: scrollContainerRef, itemRefs: itemRefs, selectedListItem: selectedListItem, itemExpandedContent: itemExpandedContent, includeFavorite: true },
29
+ return (React__default.createElement(ItemsList, { fieldNames: fieldNames, showMap: showMap, fieldsShown: fieldsShown, filteredListings: filteredListings, loading: loading, sortSetting: sortSetting, setSortSetting: setTrackedSortSetting, itemLimit: itemLimit, loader: loader, scrollContainerRef: scrollContainerRef, itemRefs: itemRefs, selectedListItem: selectedListItem, includeFavorite: true },
30
30
  React__default.createElement(Accordion, { className: "hc-divide-y hc-divide-uiAccent/10 hc-z-[1000]", defaultValue: selectedListItem?.id }, (sortSetting ? dynamicSort(filteredListings, sortSetting.field, sortSetting.type) : filteredListings)
31
31
  .slice(0, itemLimit)
32
32
  .map((item) => (React__default.createElement(MapAccordionItemContainer, { key: item.id, showMap: showMap, item: item, itemRefs: itemRefs, fieldsShown: fieldsShown, itemExpandedContent: itemExpandedContent, specialFeatures: specialFeatures, isActive: selectedListItem?.id === item.id, hasListItemSelected: selectedListItem != null }))))));
@@ -1 +1 @@
1
- {"version":3,"file":"item-list-container.js","sources":["../../../../src/components/containers/list/item-list-container.tsx"],"sourcesContent":["import React from 'react';\nimport useListLogic from '~/hooks/useList';\nimport { useMap } from '~/contexts/mapContext';\nimport { useMapList } from '~/contexts/mapListContext';\nimport { useTrackEvent } from '~/contexts/trackEventContext';\nimport ItemsList from '~/components/modules/list/item-list';\nimport Accordion from '~/components/modules/accordions/default';\nimport MapAccordionItemContainer from '~/components/containers/accordions/map-accordion-item-container';\nimport { dynamicSort } from '~/util/sortUtil';\nimport { Listing } from '~/types/Listings';\nimport ListingDetailsContainer from '../jobListing/listing-details-container';\n\ninterface ItemsListContainerProps {\n fieldNames: Record<string, string>;\n showMap: boolean;\n fieldsShown: string[];\n specialFeatures: any;\n}\n\nconst ItemsListContainer: React.FC<ItemsListContainerProps> = ({\n\tfieldNames,\n\tshowMap,\n\tfieldsShown,\n\tspecialFeatures\n}) => {\n\tconst { filteredListings, loading, commuteLocation, sortSetting, setSortSetting } = useMapList();\n\tconst { itemLimit, loader, scrollContainerRef, itemRefs } = useListLogic(filteredListings as any);\n\tconst { selectedListItem } = useMap();\n\tconst { trackEvent, eventTypes } = useTrackEvent() as any;\n\tconst itemExpandedContent = (item: any, recruiters: any) =>\n\t\titem ? <ListingDetailsContainer item={item} recruiters={recruiters} /> : null;\n\n\tif (!fieldsShown.includes('travelTime') && commuteLocation != null && Object.entries(commuteLocation).length > 0) {\n\t\tfieldsShown.push('travelTime');\n\t\tfieldNames['travelTime'] = 'Commute';\n\t} else if (fieldsShown.includes('travelTime') && !commuteLocation) {\n\t\tfieldsShown = fieldsShown.filter(x => x !== 'travelTime');\n\t}\n\n\tconst setTrackedSortSetting = (sortSetting: { field: string; type: string }) => {\n\t\ttrackEvent(eventTypes.LIST_SORTED, sortSetting);\n\t\tsetSortSetting(sortSetting);\n\t};\n\treturn (\n\t\t<ItemsList\n\t\t\tfieldNames={fieldNames}\n\t\t\tshowMap={showMap}\n\t\t\tfieldsShown={fieldsShown}\n\t\t\tfilteredListings={filteredListings}\n\t\t\tloading={loading}\n\t\t\tsortSetting={sortSetting}\n\t\t\tsetSortSetting={setTrackedSortSetting}\n\t\t\titemLimit={itemLimit}\n\t\t\tloader={loader}\n\t\t\tscrollContainerRef={scrollContainerRef}\n\t\t\titemRefs={itemRefs}\n\t\t\tselectedListItem={selectedListItem}\n\t\t\titemExpandedContent={itemExpandedContent}\n\t\t\tincludeFavorite={true}\n\t\t>\n\t\t\t<Accordion className=\"hc-divide-y hc-divide-uiAccent/10 hc-z-[1000]\" defaultValue={selectedListItem?.id}>\n\t\t\t\t{(sortSetting ? dynamicSort(filteredListings, sortSetting.field, sortSetting.type) : filteredListings)\n\t\t\t\t\t.slice(0, itemLimit)\n\t\t\t\t\t.map((item: Listing) => (\n\t\t\t\t\t\t<MapAccordionItemContainer\n\t\t\t\t\t\t\tkey={item.id}\n\t\t\t\t\t\t\tshowMap={showMap}\n\t\t\t\t\t\t\titem={item}\n\t\t\t\t\t\t\titemRefs={itemRefs}\n\t\t\t\t\t\t\tfieldsShown={fieldsShown}\n\t\t\t\t\t\t\titemExpandedContent={itemExpandedContent}\n\t\t\t\t\t\t\tspecialFeatures={specialFeatures}\n\t\t\t\t\t\t\tisActive={selectedListItem?.id === item.id}\n\t\t\t\t\t\t\thasListItemSelected={selectedListItem != null}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t</Accordion>\n\t\t</ItemsList>\n\t);\n};\n\nexport default ItemsListContainer;\n"],"names":["React"],"mappings":"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"}
1
+ {"version":3,"file":"item-list-container.js","sources":["../../../../src/components/containers/list/item-list-container.tsx"],"sourcesContent":["import React from 'react';\nimport useListLogic from '~/hooks/useList';\nimport { useMap } from '~/contexts/mapContext';\nimport { useMapList } from '~/contexts/mapListContext';\nimport { useTrackEvent } from '~/contexts/trackEventContext';\nimport ItemsList from '~/components/modules/list/item-list';\nimport Accordion from '~/components/modules/accordions/default';\nimport MapAccordionItemContainer from '~/components/containers/accordions/map-accordion-item-container';\nimport { dynamicSort } from '~/util/sortUtil';\nimport { Listing } from '~/types/Listings';\nimport ListingDetailsContainer from '../jobListing/listing-details-container';\n\ninterface ItemsListContainerProps {\n fieldNames: Record<string, string>;\n showMap: boolean;\n fieldsShown: string[];\n specialFeatures: any;\n}\n\nconst ItemsListContainer: React.FC<ItemsListContainerProps> = ({\n\tfieldNames,\n\tshowMap,\n\tfieldsShown,\n\tspecialFeatures\n}) => {\n\tconst { filteredListings, loading, commuteLocation, sortSetting, setSortSetting } = useMapList();\n\tconst { itemLimit, loader, scrollContainerRef, itemRefs } = useListLogic(filteredListings as any);\n\tconst { selectedListItem } = useMap();\n\tconst { trackEvent, eventTypes } = useTrackEvent() as any;\n\tconst itemExpandedContent = (item: any, recruiter: any) =>\n\t\titem ? <ListingDetailsContainer item={item} recruiter={recruiter} /> : null;\n\n\tif (!fieldsShown.includes('travelTime') && commuteLocation != null && Object.entries(commuteLocation).length > 0) {\n\t\tfieldsShown.push('travelTime');\n\t\tfieldNames['travelTime'] = 'Commute';\n\t} else if (fieldsShown.includes('travelTime') && !commuteLocation) {\n\t\tfieldsShown = fieldsShown.filter(x => x !== 'travelTime');\n\t}\n\n\tconst setTrackedSortSetting = (sortSetting: { field: string; type: string }) => {\n\t\ttrackEvent(eventTypes.LIST_SORTED, sortSetting);\n\t\tsetSortSetting(sortSetting);\n\t};\n\treturn (\n\t\t<ItemsList\n\t\t\tfieldNames={fieldNames}\n\t\t\tshowMap={showMap}\n\t\t\tfieldsShown={fieldsShown}\n\t\t\tfilteredListings={filteredListings}\n\t\t\tloading={loading}\n\t\t\tsortSetting={sortSetting}\n\t\t\tsetSortSetting={setTrackedSortSetting}\n\t\t\titemLimit={itemLimit}\n\t\t\tloader={loader}\n\t\t\tscrollContainerRef={scrollContainerRef}\n\t\t\titemRefs={itemRefs}\n\t\t\tselectedListItem={selectedListItem}\n\t\t\tincludeFavorite={true}\n\t\t>\n\t\t\t<Accordion className=\"hc-divide-y hc-divide-uiAccent/10 hc-z-[1000]\" defaultValue={selectedListItem?.id}>\n\t\t\t\t{(sortSetting ? dynamicSort(filteredListings, sortSetting.field, sortSetting.type) : filteredListings)\n\t\t\t\t\t.slice(0, itemLimit)\n\t\t\t\t\t.map((item: Listing) => (\n\t\t\t\t\t\t<MapAccordionItemContainer\n\t\t\t\t\t\t\tkey={item.id}\n\t\t\t\t\t\t\tshowMap={showMap}\n\t\t\t\t\t\t\titem={item}\n\t\t\t\t\t\t\titemRefs={itemRefs}\n\t\t\t\t\t\t\tfieldsShown={fieldsShown}\n\t\t\t\t\t\t\titemExpandedContent={itemExpandedContent}\n\t\t\t\t\t\t\tspecialFeatures={specialFeatures}\n\t\t\t\t\t\t\tisActive={selectedListItem?.id === item.id}\n\t\t\t\t\t\t\thasListItemSelected={selectedListItem != null}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t</Accordion>\n\t\t</ItemsList>\n\t);\n};\n\nexport default ItemsListContainer;\n"],"names":["React"],"mappings":";;;;;;;;;;;AAmBA,MAAM,kBAAkB,GAAsC,CAAC,EAC9D,UAAU,EACV,OAAO,EACP,WAAW,EACX,eAAe,EACf,KAAI;AACJ,IAAA,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,UAAU,EAAE,CAAC;AACjG,IAAA,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC,gBAAuB,CAAC,CAAC;AAClG,IAAA,MAAM,EAAE,gBAAgB,EAAE,GAAG,MAAM,EAAE,CAAC;IACtC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,aAAa,EAAS,CAAC;AAC1D,IAAA,MAAM,mBAAmB,GAAG,CAAC,IAAS,EAAE,SAAc,KACrD,IAAI,GAAGA,cAAA,CAAA,aAAA,CAAC,uBAAuB,EAAA,EAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAA,CAAI,GAAG,IAAI,CAAC;IAE7E,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,eAAe,IAAI,IAAI,IAAI,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;AACjH,QAAA,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAC/B,QAAA,UAAU,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;AACrC,KAAA;SAAM,IAAI,WAAW,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,eAAe,EAAE;AAClE,QAAA,WAAW,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,YAAY,CAAC,CAAC;AAC1D,KAAA;AAED,IAAA,MAAM,qBAAqB,GAAG,CAAC,WAA4C,KAAI;AAC9E,QAAA,UAAU,CAAC,UAAU,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;QAChD,cAAc,CAAC,WAAW,CAAC,CAAC;AAC7B,KAAC,CAAC;IACF,QACCA,cAAC,CAAA,aAAA,CAAA,SAAS,EACT,EAAA,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,qBAAqB,EACrC,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,IAAI,EAAA;AAErB,QAAAA,cAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAC,SAAS,EAAC,+CAA+C,EAAC,YAAY,EAAE,gBAAgB,EAAE,EAAE,EACrG,EAAA,CAAC,WAAW,GAAG,WAAW,CAAC,gBAAgB,EAAE,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC,GAAG,gBAAgB;AACnG,aAAA,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC;AACnB,aAAA,GAAG,CAAC,CAAC,IAAa,MAClBA,cAAA,CAAA,aAAA,CAAC,yBAAyB,EAAA,EACzB,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,mBAAmB,EACxC,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,gBAAgB,EAAE,EAAE,KAAK,IAAI,CAAC,EAAE,EAC1C,mBAAmB,EAAE,gBAAgB,IAAI,IAAI,EAAA,CAC5C,CACF,CAAC,CACQ,CACD,EACX;AACH;;;;"}
@@ -7,6 +7,7 @@ var MapAccordionItem = function MapAccordionItem(_ref) {
7
7
  itemRefs = _ref.itemRefs,
8
8
  itemExpandedContent = _ref.itemExpandedContent,
9
9
  isActive = _ref.isActive,
10
+ recruiter = _ref.recruiter,
10
11
  children = _ref.children;
11
12
  return /*#__PURE__*/React__default.createElement(Accordion.Item, {
12
13
  key: item.id,
@@ -18,7 +19,7 @@ var MapAccordionItem = function MapAccordionItem(_ref) {
18
19
  }, children)), isActive && /*#__PURE__*/React__default.createElement(Accordion.Content, {
19
20
  bodyClassName: "hc-px-2 hc-py-2 hc-pt-0 hc-bg-uiAccent/5 hc-border-secondary hc-border hc-border-t-0"
20
21
  }, /*#__PURE__*/React__default.createElement(CardItemExpand, {
21
- content: itemExpandedContent(item)
22
+ content: itemExpandedContent(item, recruiter)
22
23
  })));
23
24
  };
24
25