{"version":3,"file":"BlogListFiltering.ACjA7yGj.mjs","names":["serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","getProps","createLayoutDependency","useRef","React.useId","RichText","CardPost2","Tag","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Blog","_Fragment","BUoLhIpB3TQjJmHtLF","g_YzOxOTQTQjJmHtLF","idTQjJmHtLF","KxX5jAEnlTQjJmHtLF","oQTlwNOGYTQjJmHtLF","PFgJLEdZBTQjJmHtLF","VHuZsbrNdTQjJmHtLF","React"],"sources":["https:/framerusercontent.com/modules/YCNAXwcvEarVzAXqryab/w3dXFmzeIiiJBU8a0R1u/hykxXhjLj.js","https:/framerusercontent.com/modules/O1Kz0l1neqEnxM3hrqqN/AHATSwUUfFqytzBUl60h/ytZyBjJjz.js","https:/framerusercontent.com/modules/eBZIdLWvE2QTFPV0N3av/z3TwEzXPwbsui9GR2S4A/BlogListFiltering.js"],"sourcesContent":["// Generated by Framer (ab692b1)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const serializationHash=\"framer-7cD3Z\";const variantClassNames={HyIpjUZCS:\"framer-v-rh37yw\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,title,width,...props})=>{return{...props,iSReHIutw:title??props.iSReHIutw??\"Test\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,iSReHIutw,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"HyIpjUZCS\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-rh37yw\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"HyIpjUZCS\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-505a41dc-8b59-4a87-b272-6b2ce4e1d1e8, rgb(250, 248, 243)))\"},children:\"Test\"})}),className:\"framer-1xd5nkv\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"Sm0i3bMFq\",style:{\"--extracted-r6o4lv\":\"var(--token-505a41dc-8b59-4a87-b272-6b2ce4e1d1e8, rgb(250, 248, 243))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:iSReHIutw,verticalAlignment:\"top\",withExternalLayout:true})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-7cD3Z.framer-1wmvh1l, .framer-7cD3Z .framer-1wmvh1l { display: block; }\",\".framer-7cD3Z.framer-rh37yw { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; padding: 0px; position: relative; width: 80px; }\",\".framer-7cD3Z .framer-1xd5nkv { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-7cD3Z.framer-rh37yw { gap: 0px; } .framer-7cD3Z.framer-rh37yw > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-7cD3Z.framer-rh37yw > :first-child { margin-left: 0px; } .framer-7cD3Z.framer-rh37yw > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 19\n * @framerIntrinsicWidth 80\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"iSReHIutw\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerhykxXhjLj=withCSS(Component,css,\"framer-7cD3Z\");export default FramerhykxXhjLj;FramerhykxXhjLj.displayName=\"Tag\";FramerhykxXhjLj.defaultProps={height:19,width:80};addPropertyControls(FramerhykxXhjLj,{iSReHIutw:{defaultValue:\"Test\",displayTextArea:false,title:\"Title\",type:ControlType.String}});addFonts(FramerhykxXhjLj,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerhykxXhjLj\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerVariables\":\"{\\\"iSReHIutw\\\":\\\"title\\\"}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"80\",\"framerIntrinsicHeight\":\"19\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./hykxXhjLj.map","// Generated by Framer (f712822)\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ChildrenCanSuspend,ComponentViewportProvider,ControlType,cx,getFonts,PathVariablesContext,ResolveLinks,SmartComponentScopedContainer,useComponentViewport,useLocaleCode,useLocaleInfo,useQueryData,useRouter,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Blog,{enumToDisplayNameFunctions}from\"https://framerusercontent.com/modules/gB61IUEs8ORcD2R2InUW/cuI0GXINQBrAbk5v36xx/EnhQL0ZSF.js\";import Tag from\"https://framerusercontent.com/modules/YCNAXwcvEarVzAXqryab/w3dXFmzeIiiJBU8a0R1u/hykxXhjLj.js\";import CardPost2 from\"https://framerusercontent.com/modules/i18G5J6DBqhF1SHz6uk0/EMoNUh80itgjnT0OQbUR/qmV9PkG5l.js\";const CardPost2Fonts=getFonts(CardPost2);const TagFonts=getFonts(Tag);const serializationHash=\"framer-j4NCZ\";const variantClassNames={TQjJmHtLF:\"framer-v-14eby01\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const toDateString=(value,options={},activeLocale)=>{if(typeof value!==\"string\")return\"\";const date=new Date(value);if(isNaN(date.getTime()))return\"\";const display=options.display?options.display:\"date\";const dateOptions={dateStyle:display!==\"time\"?options.dateStyle:undefined,timeStyle:display===\"date\"?undefined:\"short\",timeZone:\"UTC\"};const fallbackLocale=\"en-US\";const locale=options.locale||activeLocale||fallbackLocale;// We add a try block because an invalid language code results in a crash\ntry{return date.toLocaleString(locale,dateOptions);}catch{return date.toLocaleString(fallbackLocale,dateOptions);}};const contains=(a,b)=>{if(typeof a===\"string\"&&typeof b===\"string\"){return a.toLowerCase().includes(b.toLowerCase());}if(Array.isArray(a)&&typeof b===\"string\"){return a.includes(b);}return false;};const query=(prequery,{Xf2g0CK2t})=>prequery({from:{alias:\"TQjJmHtLF\",data:Blog,type:\"Collection\"},limit:{type:\"LiteralValue\",value:1},select:[{collection:\"TQjJmHtLF\",name:\"KxX5jAEnl\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"oQTlwNOGY\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"VHuZsbrNd\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"g_YzOxOTQ\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"BUoLhIpB3\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"PFgJLEdZB\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"id\",type:\"Identifier\"}],where:{left:{collection:\"TQjJmHtLF\",name:\"KxX5jAEnl\",type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:Xf2g0CK2t},type:\"BinaryOperation\"}});const QueryData=({query,pageSize,children})=>{const data=useQueryData(query);return children(data);};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,slug,tags,width,...props})=>{return{...props,SUAAHWRMa:tags??props.SUAAHWRMa,Xf2g0CK2t:slug??props.Xf2g0CK2t};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,Xf2g0CK2t,SUAAHWRMa,KxX5jAEnlTQjJmHtLF,oQTlwNOGYTQjJmHtLF,VHuZsbrNdTQjJmHtLF,g_YzOxOTQTQjJmHtLF,BUoLhIpB3TQjJmHtLF,PFgJLEdZBTQjJmHtLF,idTQjJmHtLF,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"TQjJmHtLF\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const router=useRouter();const activeLocaleCode=useLocaleCode();const visible=contains(SUAAHWRMa,\"Testgygdwhfahkhjjgd\");return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-14eby01\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"TQjJmHtLF\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(ChildrenCanSuspend,{children:/*#__PURE__*/_jsx(QueryData,{query:{from:{alias:\"TQjJmHtLF\",data:Blog,type:\"Collection\"},limit:{type:\"LiteralValue\",value:1},select:[{collection:\"TQjJmHtLF\",name:\"KxX5jAEnl\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"oQTlwNOGY\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"VHuZsbrNd\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"g_YzOxOTQ\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"BUoLhIpB3\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"PFgJLEdZB\",type:\"Identifier\"},{collection:\"TQjJmHtLF\",name:\"id\",type:\"Identifier\"}],where:{left:{collection:\"TQjJmHtLF\",name:\"KxX5jAEnl\",type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:Xf2g0CK2t},type:\"BinaryOperation\"}},children:(collection,paginationInfo,loadMore)=>/*#__PURE__*/_jsxs(_Fragment,{children:[collection?.map(({BUoLhIpB3:BUoLhIpB3TQjJmHtLF,g_YzOxOTQ:g_YzOxOTQTQjJmHtLF,id:idTQjJmHtLF,KxX5jAEnl:KxX5jAEnlTQjJmHtLF,oQTlwNOGY:oQTlwNOGYTQjJmHtLF,PFgJLEdZB:PFgJLEdZBTQjJmHtLF,VHuZsbrNd:VHuZsbrNdTQjJmHtLF},index)=>{KxX5jAEnlTQjJmHtLF??=\"\";oQTlwNOGYTQjJmHtLF??=\"\";PFgJLEdZBTQjJmHtLF??=\"\";return /*#__PURE__*/_jsx(LayoutGroup,{id:`TQjJmHtLF-${idTQjJmHtLF}`,children:/*#__PURE__*/_jsx(PathVariablesContext.Provider,{value:{KxX5jAEnl:KxX5jAEnlTQjJmHtLF},children:/*#__PURE__*/_jsx(ResolveLinks,{links:[{href:{pathVariables:{KxX5jAEnl:KxX5jAEnlTQjJmHtLF},webPageId:\"xeaYZQQpK\"},implicitPathVariables:undefined}],children:resolvedLinks=>/*#__PURE__*/_jsx(ComponentViewportProvider,{height:560,width:\"330px\",y:(componentViewport?.y||0)+0+(((componentViewport?.height||101)-0-581)/2+0+0),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-13syy8y-container\",layoutDependency:layoutDependency,layoutId:\"iFvv1LpLo-container\",nodeId:\"iFvv1LpLo\",rendersWithMotion:true,scopeId:\"ytZyBjJjz\",children:/*#__PURE__*/_jsx(CardPost2,{A7GVq_YIx:oQTlwNOGYTQjJmHtLF,faI3IiKRT:PFgJLEdZBTQjJmHtLF,FUWs9fU1B:toResponsiveImage(VHuZsbrNdTQjJmHtLF),height:\"100%\",id:\"iFvv1LpLo\",layoutId:\"iFvv1LpLo\",Rke7QAT0S:toDateString(g_YzOxOTQTQjJmHtLF,{dateStyle:\"long\",display:\"date\",locale:\"\"},activeLocaleCode),style:{width:\"100%\"},Sw7jkvkyY:enumToDisplayNameFunctions[\"BUoLhIpB3\"]?.(BUoLhIpB3TQjJmHtLF,activeLocale),variant:\"oWIJx9x0O\",W81uVIOhm:resolvedLinks[0],width:\"100%\"})})})})})},idTQjJmHtLF);}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-dhy63p\",layoutDependency:layoutDependency,layoutId:\"UYgqItFUy\",children:visible&&/*#__PURE__*/_jsx(ComponentViewportProvider,{height:100,width:`max(${componentViewport?.width||\"100vw\"}, 50px)`,y:(componentViewport?.y||0)+0+(((componentViewport?.height||101)-0-581)/2+560+20)+0,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-m0pwpw-container\",layoutDependency:layoutDependency,layoutId:\"K9Q5ZylcX-container\",nodeId:\"K9Q5ZylcX\",rendersWithMotion:true,scopeId:\"ytZyBjJjz\",children:/*#__PURE__*/_jsx(Tag,{height:\"100%\",id:\"K9Q5ZylcX\",iSReHIutw:\"Test\",layoutId:\"K9Q5ZylcX\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})})]})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-j4NCZ.framer-5spw8y, .framer-j4NCZ .framer-5spw8y { display: block; }\",\".framer-j4NCZ.framer-14eby01 { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: center; padding: 0px; position: relative; width: min-content; }\",\".framer-j4NCZ .framer-13syy8y-container { flex: none; height: auto; position: relative; width: 330px; }\",\".framer-j4NCZ .framer-dhy63p { align-self: stretch; display: grid; flex: none; gap: 10px; grid-auto-rows: min-content; grid-template-columns: repeat(1, minmax(50px, 1fr)); grid-template-rows: repeat(1, min-content); height: 1px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: auto; }\",\".framer-j4NCZ .framer-m0pwpw-container { align-self: start; flex: none; height: 100px; justify-self: start; position: relative; width: 100%; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-j4NCZ.framer-14eby01 { gap: 0px; } .framer-j4NCZ.framer-14eby01 > * { margin: 0px; margin-bottom: calc(20px / 2); margin-top: calc(20px / 2); } .framer-j4NCZ.framer-14eby01 > :first-child { margin-top: 0px; } .framer-j4NCZ.framer-14eby01 > :last-child { margin-bottom: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 101\n * @framerIntrinsicWidth 200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"Xf2g0CK2t\":\"slug\",\"SUAAHWRMa\":\"tags\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerytZyBjJjz=withCSS(Component,css,\"framer-j4NCZ\");export default FramerytZyBjJjz;FramerytZyBjJjz.displayName=\"Blog\";FramerytZyBjJjz.defaultProps={height:101,width:200};addPropertyControls(FramerytZyBjJjz,{Xf2g0CK2t:{defaultValue:\"\",title:\"Slug\",type:ControlType.String},SUAAHWRMa:{defaultValue:\"\",displayTextArea:true,title:\"Tags\",type:ControlType.String}});addFonts(FramerytZyBjJjz,[{explicitInter:true,fonts:[]},...CardPost2Fonts,...TagFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerytZyBjJjz\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"Xf2g0CK2t\\\":\\\"slug\\\",\\\"SUAAHWRMa\\\":\\\"tags\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"101\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{AnimatePresence}from\"framer-motion\";import React from\"react\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({activeTags:[]});export function withActiveTag(Component){return props=>{const[store,setStore]=useStore();const isActive=store.activeTags.includes(props.title);return /*#__PURE__*/_jsx(Component,{...props,variant:isActive?\"FilterActive\":\"FilterInactive\",onClick:()=>{if(isActive){setStore({activeTags:store.activeTags.filter(item=>item!==props.title)});}else{setStore({activeTags:[...store.activeTags,props.title]});}}});};}export function withClearFilters(Component){return props=>{const[store,setStore]=useStore();const isVisible=store.activeTags.length>0;return /*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:isVisible&&/*#__PURE__*/_jsx(Component,{...props,initial:{ocapacity:0,x:-20},animate:{ocapacity:1,x:0},exit:{ocapacity:0},onClick:()=>setStore({activeTags:[]})})});};}export function withBlogFiltering(Component){return props=>{const[store]=useStore();const tags=props.tags?.split(\",\").map(t=>t.trim())||[];const isVisible=store.activeTags.some(tag=>tags.includes(tag))||store.activeTags.length===0;const componentRef=React.useRef(null);const isFirstRender=React.useRef(true);// Hide parent container after exit animation\nReact.useEffect(()=>{const parent=componentRef.current?.parentNode;if(parent){if(!isVisible){const timeout=setTimeout(()=>{parent.style.display=\"none\";},100)// Match the exit animation duration\n;return()=>clearTimeout(timeout);}else{parent.style.display=\"\";}}},[isVisible]);// Skip animation on first render\nconst initial=isFirstRender.current;if(initial){isFirstRender.current=false;}return /*#__PURE__*/_jsx(Component,{...props,ref:componentRef,initial:initial?false:{opacity:0,x:20},animate:isVisible?{opacity:1,x:0}:{opacity:0,x:-20},transition:{duration:.1}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withBlogFiltering\":{\"type\":\"reactHoc\",\"name\":\"withBlogFiltering\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withActiveTag\":{\"type\":\"reactHoc\",\"name\":\"withActiveTag\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClearFilters\":{\"type\":\"reactHoc\",\"name\":\"withClearFilters\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogListFiltering.map"],"mappings":"unBAC2C,IAAoI,IAAkE,IAA4B,CAAgCA,EAAkB,eAAqBC,EAAkB,CAAC,UAAU,kBAAkB,CAA8LC,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAOC,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAASC,EAAS,EAAO,OAAOC,EAAe,CAAOC,GAAU,CAAC,SAAO,KAAG,QAAM,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAO,EA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