{"version":3,"file":"component---src-templates-searchschool-js-399a346a522bdf1b089a.js","mappings":"4QA2MA,MApMqBA,IAAwD,IAAvD,cAAEC,EAAa,aAAEC,EAAY,iBAAEC,GAAkBH,EACrE,OACEI,EAAAA,cAAA,WAASC,UAAWC,EAAAA,IAClBF,EAAAA,cAAA,OAAKC,UAAWC,EAAAA,IACdF,EAAAA,cAACG,EAAAA,EAAK,CAACC,KAAK,qBAAqBH,UAAWC,EAAAA,KAC5CF,EAAAA,cAAA,OAAKC,UAAWC,EAAAA,IACdF,EAAAA,cAACK,EAAAA,EAAgB,CACfC,MAAM,aACNC,MAAM,WACNC,QAAQ,WACRX,cAAeA,EACfY,WAAY,CACV,CAAEH,MAAO,WACT,CAAEA,MAAO,UACT,CAAEA,MAAO,WACT,CAAEA,MAAO,YACT,CAAEA,MAAO,cACT,CAAEA,MAAO,YACT,CAAEA,MAAO,eACT,CAAEA,MAAO,YACT,CAAEA,MAAO,WACT,CAAEA,MAAO,WACT,CAAEA,MAAO,UACT,CAAEA,MAAO,SACT,CAAEA,MAAO,YACT,CAAEA,MAAO,WACT,CAAEA,MAAO,QACT,CAAEA,MAAO,UACT,CAAEA,MAAO,YACT,CAAEA,MAAO,aACT,CAAEA,MAAO,SACT,CAAEA,MAAO,YACT,CAAEA,MAAO,iBACT,CAAEA,MAAO,YACT,CAAEA,MAAO,aACT,CAAEA,MAAO,eACT,CAAEA,MAAO,YACT,CAAEA,MAAO,WACT,CAAEA,MAAO,YACT,CAAEA,MAAO,UACT,CAAEA,MAAO,iBACT,CAAEA,MAAO,cACT,CAAEA,MAAO,cACT,CAAEA,MAAO,YACT,CAAEA,MAAO,kBACT,CAAEA,MAAO,gBACT,CAAEA,MAAO,QACT,CAAEA,MAAO,YACT,CAAEA,MAAO,UACT,CAAEA,MAAO,gBACT,CAAEA,MAAO,gBACT,CAAEA,MAAO,kBACT,CAAEA,MAAO,gBACT,CAAEA,MAAO,aACT,CAAEA,MAAO,SACT,CAAEA,MAAO,QACT,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F,EAAsBJ,EAAkBF,GACxCO,EAAU,KAAKD,EAAoBH,8BAA8BG,EAAoBF,wGAEjEE,EAAoBF,gJAE4BE,EAAoBD,WAO9F,OANA,aAAgB,KACd,GAAIzF,EAAS,CACM4F,SAASC,eAAe7F,IAC1BnD,QAAQD,MAAM+I,EAC/B,IACC,CAACA,EAAS3F,IACN,IAAI,EAGTwE,EAAqB,EAAGhF,aAAYS,oBACtC,MACM0F,EAAU,6EADkBL,EAFL,4BAG0FC,gBAQvH,OAPA,aAAgB,KACd,MAAMO,EAAgBtG,EAAWiD,SAASsD,aAAa,oBACvD,GAAI9F,GAAiB6F,EAAe,CACXF,SAASC,eAAe5F,IAC1BpD,QAAQmJ,KAAKL,EACpC,IACC,CAACA,EAASnG,EAAYS,IAClB,IAAI,EAETgG,EAAOnH,EACPoH,EAAU5F,EACV6F,EAASjF,EACTkF,GAAU5E,EACV6E,GAAUlE,EACVzJ,GAAQgM,EACR4B,GAAcxB,EACdyB,GAAQrB,C","sources":["webpack://myfuture/./src/components/search/RefineSchool.js","webpack://myfuture/./src/templates/searchschool.js","webpack://myfuture/./src/components/search/refine.module.scss","webpack://myfuture/./node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["import React from \"react\";\nimport Title from \"../shared/Title\";\nimport { FilterCheckboxes } from \"./filters\";\nimport * as styles from \"./refine.module.scss\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faFilterCircleXmark } from \"@fortawesome/sharp-regular-svg-icons\";\n\nconst RefineSchool = ({ triggerUpdate, clearFilters, showClearFilters }) => {\n return (\n <section className={styles[\"aWhite\"]}>\n <div className={styles[\"inner\"]}>\n <Title copy=\"Refine Your Search\" className={styles[\"title\"]} />\n <div className={styles[\"triggerWrap\"]}>\n <FilterCheckboxes\n label=\"location[]\"\n title=\"Location\"\n trigger=\"Location\"\n triggerUpdate={triggerUpdate}\n checkboxes={[\n { label: \"Alabama\" },\n { label: \"Alaska\" },\n { label: \"Arizona\" },\n { label: \"Arkansas\" },\n { label: \"California\" },\n { label: \"Colorado\" },\n { label: \"Connecticut\" },\n { label: \"Delaware\" },\n { label: \"Florida\" },\n { label: \"Georgia\" },\n { label: \"Hawaii\" },\n { label: \"Idaho\" },\n { label: \"Illinois\" },\n { label: \"Indiana\" },\n { label: \"Iowa\" },\n { label: \"Kansas\" },\n { label: \"Kentucky\" },\n { label: \"Louisiana\" },\n { label: \"Maine\" },\n { label: \"Maryland\" },\n { label: \"Massachusetts\" },\n { label: \"Michigan\" },\n { label: \"Minnesota\" },\n { label: \"Mississippi\" },\n { label: \"Missouri\" },\n { label: \"Montana\" },\n { label: \"Nebraska\" },\n { label: \"Nevada\" },\n { label: \"New Hampshire\" },\n { label: \"New Jersey\" },\n { label: \"New Mexico\" },\n { label: \"New York\" },\n { label: \"North Carolina\" },\n { label: \"North Dakota\" },\n { label: \"Ohio\" },\n { label: \"Oklahoma\" },\n { label: \"Oregon\" },\n { label: \"Pennsylvania\" },\n { label: \"Rhode Island\" },\n { label: \"South Carolina\" },\n { label: \"South Dakota\" },\n { label: \"Tennessee\" },\n { label: \"Texas\" },\n { label: \"Utah\" },\n { label: \"Vermont\" },\n { label: \"Virginia\" },\n { label: \"Washington\" },\n { label: \"West Virginia\" },\n { label: \"Wisconsin\" },\n { label: \"Wyoming\" },\n { label: \"District of Columbia\" },\n { label: \"Guam\" },\n { label: \"Puerto Rico\" },\n { label: \"Virgin Islands\" },\n { label: \"American Samoa\" },\n { label: \"Northern Mariana Islands\" },\n { label: \"Federated States of Micronesia\" },\n { label: \"Palau\" },\n { label: \"Marshall Islands\" },\n ]}\n />\n <FilterCheckboxes\n label=\"study[]\"\n title=\"Area of Study\"\n trigger=\"Area of Study\"\n triggerUpdate={triggerUpdate}\n checkboxes={[\n { label: \"Agriculture and Natural Resources\" },\n { label: \"Arts and Humanities\" },\n { label: \"Business and Communication\" },\n { label: \"Education and Social Services\" },\n { label: \"Health and Medicine\" },\n { label: \"Law and Legal Studies\" },\n { label: \"Social Sciences\" },\n {\n label:\n \"Science, Technology, Engineering and Mathematics (STEM)\",\n },\n { label: \"Skilled Trades and Technical Fields\" },\n { label: \"Personal Services and Development\" },\n ]}\n />\n <FilterCheckboxes\n label=\"tuition[]\"\n title=\"Tuition\"\n trigger=\"Tuition\"\n triggerUpdate={triggerUpdate}\n checkboxes={[\n { label: \"Less than $10,000\" },\n { label: \"$10,000 - $25,000\" },\n { label: \"$25,000 - $40,000\" },\n { label: \"$40,000 - $60,000\" },\n { label: \"More than $60,000\" },\n ]}\n />\n <FilterCheckboxes\n label=\"scores[]\"\n title=\"Test Scores\"\n trigger=\"Test Scores\"\n triggerUpdate={triggerUpdate}\n checkboxes={[\n { label: \"SAT\", type: \"strong\" },\n { label: \"Below 960\" },\n { label: \"960-1000\" },\n { label: \"1000-1200\" },\n { label: \"Above 1200\" },\n { label: \"ACT\", type: \"strong\" },\n { label: \"Below 16_act\" },\n { label: \"16 - 20_act\" },\n { label: \"21 - 25_act\" },\n { label: \"Above 25_act\" },\n ]}\n />\n <FilterCheckboxes\n label=\"enrollment[]\"\n title=\"Students Enrolled\"\n trigger=\"Students Enrolled\"\n triggerUpdate={triggerUpdate}\n checkboxes={[\n { label: \"Less than 2,000\" },\n { label: \"2,000 - 8,000\" },\n { label: \"8,000 - 14,000\" },\n { label: \"14,000 - 20,000\" },\n { label: \"More than 20,000\" },\n ]}\n />\n <FilterCheckboxes\n label=\"setting[]\"\n title=\"Campus Setting\"\n trigger=\"Campus Setting\"\n triggerUpdate={triggerUpdate}\n checkboxes={[\n { label: \"Urban\" },\n { label: \"Suburban\" },\n { label: \"Rural\" },\n { label: \"Town\" },\n ]}\n />\n <FilterCheckboxes\n label=\"schooltype[]\"\n title=\"School Type\"\n trigger=\"School Type\"\n triggerUpdate={triggerUpdate}\n checkboxes={[{ label: \"Public\" }, { label: \"Private\" }]}\n />\n <FilterCheckboxes\n label=\"degrees[]\"\n title=\"Degrees Offered\"\n trigger=\"Degrees\"\n triggerUpdate={triggerUpdate}\n checkboxes={[\n { label: \"Certificate\" },\n { label: \"Associate’s degree\" },\n { label: \"Bachelor’s degree\" },\n { label: \"Master’s degree\" },\n { label: \"Doctoral degree\" },\n ]}\n />\n <FilterCheckboxes\n label=\"rotc[]\"\n title=\"ROTC Programs\"\n trigger=\"ROTC\"\n triggerUpdate={triggerUpdate}\n checkboxes={[\n { label: \"Army ROTC\" },\n { label: \"Navy ROTC\" },\n { label: \"Air Force ROTC\" },\n ]}\n />\n </div>\n {showClearFilters && (\n <button\n className={styles[\"clear\"]}\n aria-label=\"Clear filters\"\n onClick={clearFilters}\n >\n <FontAwesomeIcon icon={faFilterCircleXmark} /> Clear All Filters\n </button>\n )}\n </div>\n </section>\n );\n};\n\nexport default RefineSchool;\n","import React, { useEffect, useState } from \"react\";\nimport { graphql } from \"gatsby\";\nimport Hero from \"../components/Hero\";\nimport Layout from \"../Layout\";\nimport RefineSchool from \"../components/search/RefineSchool\";\nimport { LoadMore, Message, MessageLoading, SelectSchools } from \"../components/search/interactive\";\nimport SearchInput from \"../components/search/searchInput\";\nimport Seo from \"../Seo\";\nimport axios from \"axios\";\nimport { isBrowser } from \"../libs/helpers\";\nimport { SchoolsCard, LoadingCard } from \"../components/search/cards\";\nimport initialResults from \"../libs/default-school-search.json\";\nimport * as styles from \"../components/search/interactive.module.scss\";\n\nexport const Head = ({ data }) => (\n <Seo {...data.strapiPage.seo} pageTitle={data.strapiPage.title} />\n);\n\nconst SearchSchoolTemplate = ({ data }) => {\n let main = data.strapiPage.main\n const initialParams = isBrowser\n ? new URLSearchParams(window.location.search)\n : undefined;\n\n const getSort = params => {\n const q = params?.get('q')\n const sort = params?.get('sort')\n const defaultSort = q ? 'best_match' : 'alpha_az'\n return sort ? sort : defaultSort\n }\n const getShowClearFilters = params => {\n let nextShowClearFilters = false\n if (params && params.size > 0) {\n for (const [key] of params.entries()) {\n if (key !== 'q' && key !== 'sort') {\n nextShowClearFilters = true\n }\n }\n }\n return nextShowClearFilters\n }\n\n const [isLoading, setIsLoading] = useState(false)\n const [results, setResults] = useState([])\n const [sort, setSort] = useState(getSort(initialParams))\n const [total, setTotal] = useState(0)\n const [page, setPage] = useState(1)\n const [showClearFilters, setShowClearFilters] = useState(getShowClearFilters(initialParams))\n\n const triggerUpdate = params => {\n const nextPage = params.get('page')\n\n // if \"Load More\" was clicked\n if (nextPage) {\n // save it to state, don't update params\n setPage(nextPage)\n } else {\n // otherwise, hide results while we load\n setPage(1)\n setResults([])\n }\n setShowClearFilters(getShowClearFilters(params))\n setSort(getSort(params))\n setIsLoading(true)\n\n // send analytics data\n if (isBrowser) {\n window.dataLayer?.push({ event: 'searchschool', params: params })\n }\n\n // Dont fetch if there are no params\n if(params.size === 0){\n const nextResults = nextPage ? [...results, ...initialResults.search.colleges] : initialResults.search.colleges\n setTotal(initialResults.search.meta.total)\n setResults(nextResults)\n setIsLoading(false)\n }else{\n axios\n .get(`${process.env.API_URL}search/results/schools?${params.toString()}`)\n .then(res => {\n // console.log(res.data)\n // if page=2+, append, otherwise show me what you got\n const nextResults = nextPage ? [...results, ...res.data.colleges] : res.data.colleges\n setTotal(res.data.meta.total)\n setResults(nextResults)\n })\n .catch(error => {\n console.log(error)\n })\n .finally(() => {\n setIsLoading(false)\n })\n }\n }\n\n const clearFilters = () => {\n // TODO: replace with something softer\n // for now we reload the page to reset all filters\n // save the search and sort params if user entered\n let next = []\n const params = new URLSearchParams(window.location.search)\n const q = params?.get('q')\n const sort = params?.get('sort')\n if (q) { next.push(`q=${q}`) }\n if (sort) { next.push(`sort=${sort}`) }\n window.location.search = `?${next.join('&')}`\n }\n\n // TODO: rip this out and replace with new `initialResults` function?\n useEffect(() => {\n triggerUpdate(initialParams)\n }, [])\n\n return (\n <Layout headerColor={data.strapiPage.headerColor || \"grey\"}>\n { main && main.length > 0 && main[0].strapi_component === \"component.hero\" &&\n <Hero {...main[0]} title={data.strapiPage.title} variant=\"search\">\n <SearchInput placeholder=\"Search schools by keyword\" triggerUpdate={triggerUpdate} />\n </Hero>\n }\n <RefineSchool triggerUpdate={triggerUpdate} clearFilters={clearFilters} showClearFilters={showClearFilters} />\n\n <section className={styles[\"searchDefault\"]}>\n <div className={styles[\"inner\"]}>\n <div className={styles[\"sort\"]}>\n { isLoading ? <MessageLoading/> : <Message total={total} label='School' /> }\n <SelectSchools sort={sort} triggerUpdate={triggerUpdate} />\n </div>\n <div className={styles[\"results\"]}>\n { results\n .map(result => <SchoolsCard key={result.slug} {...result} /> )\n }\n { isLoading &&\n <>\n <LoadingCard />\n <LoadingCard />\n </>\n }\n </div>\n <LoadMore label='School' page={page} results={results} total={total} triggerUpdate={triggerUpdate} />\n </div>\n </section>\n </Layout>\n );\n};\n\nexport default SearchSchoolTemplate;\n\nexport const query = graphql`\n query ($id: String!) {\n strapiPage(id: { eq: $id }) {\n headerColor\n main {\n ... on STRAPI__COMPONENT_COMPONENT_HERO {\n strapi_component\n ...HeroData\n }\n }\n seo {\n metaDescription\n metaTitle\n }\n title\n }\n }\n`;\n","// extracted by mini-css-extract-plugin\nexport var aWhite = \"refine-module--a-white--c3c9f\";\nexport var clear = \"refine-module--clear--b6a3f\";\nexport var inner = \"refine-module--inner--34733\";\nexport var title = \"refine-module--title--2b58b\";\nexport var triggerWrap = \"refine-module--trigger-wrap--897e5\";","\"use client\";\n\n// packages/react/dialog/src/Dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["_ref","triggerUpdate","clearFilters","showClearFilters","React","className","styles","Title","copy","FilterCheckboxes","label","title","trigger","checkboxes","type","onClick","FontAwesomeIcon","icon","faFilterCircleXmark","Head","data","Seo","Object","assign","strapiPage","seo","pageTitle","_ref2","main","initialParams","isBrowser","URLSearchParams","window","location","search","undefined","getSort","params","q","get","sort","getShowClearFilters","nextShowClearFilters","size","key","entries","isLoading","setIsLoading","useState","results","setResults","setSort","total","setTotal","page","setPage","setShowClearFilters","nextPage","_window$dataLayer","dataLayer","push","event","nextResults","concat","_toConsumableArray","initialResults","axios","toString","then","res","colleges","meta","catch","error","console","log","finally","useEffect","Layout","headerColor","length","strapi_component","Hero","variant","SearchInput","placeholder","RefineSchool","next","join","MessageLoading","Message","SelectSchools","map","result","SchoolsCard","slug","LoadingCard","LoadMore","aWhite","clear","inner","triggerWrap","DIALOG_NAME","createDialogContext","createDialogScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","open","openProp","defaultOpen","onOpenChange","modal","triggerRef","contentRef","setOpen","prop","defaultProp","onChange","jsx","scope","contentId","titleId","descriptionId","onOpenToggle","prevOpen","displayName","TRIGGER_NAME","DialogTrigger","forwardedRef","triggerProps","context","composedTriggerRef","button","getState","ref","PORTAL_NAME","PortalProvider","usePortalContext","forceMount","DialogPortal","container","child","present","asChild","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","as","allowPinchZoom","shards","div","style","pointerEvents","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","current","DialogContentImpl","trapFocus","disableOutsidePointerEvents","onCloseAutoFocus","preventDefault","focus","onPointerDownOutside","originalEvent","detail","ctrlLeftClick","ctrlKey","onFocusOutside","hasInteractedOutsideRef","hasPointerDownOutsideRef","defaultPrevented","onInteractOutside","target","targetIsTrigger","contains","onOpenAutoFocus","jsxs","Fragment","loop","trapped","onMountAutoFocus","onUnmountAutoFocus","role","id","onDismiss","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","h2","DESCRIPTION_NAME","DialogDescription","descriptionProps","p","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","contentName","titleName","docsSlug","titleWarningContext","MESSAGE","document","getElementById","describedById","getAttribute","warn","Root","Trigger","Portal","Overlay","Content","Description","Close"],"sourceRoot":""}