'use strict';
import { c } from 'react/compiler-runtime';
import { useState, useEffect } from 'react';
import { useMediaQuery } from '../../../../fd-toolbox/hooks/use-media-query.js';
import { screenWidths } from '../../../../fd-toolbox/constants/screen-width-constants.js';
import { fileExtensionsWithoutDot } from '../../../../base-repo/app-constants/internal-system-constants.js';

var __defProp=Object['defineProperty'],__name=(_0x96009c,_0x54588f)=>__defProp(_0x96009c,'name',{'value':_0x54588f,'configurable':!![]});const filterDisplayBreakpoints={'mobile':'mobile','md':fileExtensionsWithoutDot['md'],'lg':'lg','xl':'xl','xxl':'2xl'};function useResourceFilterListDisplay(){const _0x188187=c(-0x1*0x2709+0x1830*0x1+0xedf),[_0x1ac160,_0x3e99de]=useState(![]),_0x35845a=useMediaQuery('(min-width:\x20'+screenWidths['md']+'px)'),_0x3d5f6e=useMediaQuery('(min-width:\x20'+screenWidths['lg']+'px)'),_0x2d3176=useMediaQuery('(min-width:\x20'+screenWidths['xl']+'px)'),_0x42f35f=useMediaQuery('(min-width:\x20'+screenWidths['xxl']+'px)');let _0x34dcfd,_0x3497be;_0x42f35f?(_0x34dcfd=-0xbd7*0x2+0x2273*-0x1+0xba2*0x5,_0x3497be=filterDisplayBreakpoints['xxl']):_0x2d3176?(_0x34dcfd=-0x460+0x25af*-0x1+-0x2*-0x150b,_0x3497be=filterDisplayBreakpoints['xl']):_0x3d5f6e?(_0x34dcfd=-0x4*0x6b9+-0x1d07*0x1+-0xa*-0x598,_0x3497be=filterDisplayBreakpoints['lg']):_0x35845a?(_0x34dcfd=0x19b3+-0xbb1+0x12*-0xc7,_0x3497be=filterDisplayBreakpoints['md']):(_0x34dcfd=0x1345+-0xbb9+-0x78b,_0x3497be=filterDisplayBreakpoints['mobile']);let _0x969f31,_0x3cd3aa;_0x188187[-0x9*-0x455+0x25a2+-0x4c9f]===Symbol['for']('react.memo_cache_sentinel')?(_0x969f31=()=>{_0x3e99de(!![]);},_0x3cd3aa=[],_0x188187[-0x883+-0x2076+0x269*0x11]=_0x969f31,_0x188187[-0x22c6+-0x201d+0x6*0xb26]=_0x3cd3aa):(_0x969f31=_0x188187[-0x1e2b+0x30b*0x1+0x1b20],_0x3cd3aa=_0x188187[-0x21df+-0x6fc*-0x2+-0x27d*-0x8]);useEffect(_0x969f31,_0x3cd3aa);const _0x133ceb=_0x1ac160?_0x34dcfd:0x8ab+-0x1f*0xb+-0x272*0x3,_0x11bb7e=_0x1ac160?_0x3497be:filterDisplayBreakpoints['mobile'],_0x219fee=_0x1ac160?!_0x35845a:!![];let _0x24b23b;return _0x188187[0x455+0x1a66+-0x1eb9]!==_0x133ceb||_0x188187[-0x2040+0x199e+0x6a5]!==_0x11bb7e||_0x188187[0xd*-0x274+0x26b3+-0x6cb*0x1]!==_0x219fee?(_0x24b23b={'filtersToDisplayCount':_0x133ceb,'breakpoint':_0x11bb7e,'isMobile':_0x219fee},_0x188187[0x2582+-0x10f4+-0x148c*0x1]=_0x133ceb,_0x188187[0x2090+-0x60d+0x35*-0x80]=_0x11bb7e,_0x188187[0x216d+0x21b5+-0x431e*0x1]=_0x219fee,_0x188187[0x1497+-0x1c36+-0x3d2*-0x2]=_0x24b23b):_0x24b23b=_0x188187[0xe*-0xda+0xdc1+-0x1d0],_0x24b23b;}__name(useResourceFilterListDisplay,'useResourceFilterListDisplay');

export { useResourceFilterListDisplay };
