{"version":3,"file":"PartnerFilterSection.LQNMf9Qh.mjs","names":["React.useState","React.useCallback","p","React.useRef","React.useMemo"],"sources":["https:/framerusercontent.com/modules/5xf4mbRJ5kOxECiGGm4y/YjZz3BQgP2SLOXvWD7Fp/PartnerFilterSection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{useFilterState}from\"https://framerusercontent.com/modules/qW1UTfmkXnx1G32zDQSv/pGu7eCuOtLd9NFdsh4TY/store.js\";import{useI18n}from\"https://framerusercontent.com/modules/ztfi85YR3aDY7yHdzRQJ/mG2uPkgHXxNSJogXViKk/i18n.js\";// 定义断点\nconst breakpoints={phone:768,tablet:1200,laptop:1232,desktop:1440};// 各端宽度\nconst containerWidths={phone:\"95%\",tablet:\"90%\",laptop:\"85%\",desktop:\"80%\",ultrawide:\"70%\"};// 监听屏幕宽度 Hook\nfunction useViewportSize(){const[width,setWidth]=React.useState(typeof window!==\"undefined\"?window.innerWidth:breakpoints.desktop);React.useEffect(()=>{const handleResize=()=>setWidth(window.innerWidth);window.addEventListener(\"resize\",handleResize);return()=>window.removeEventListener(\"resize\",handleResize);},[]);const getContainerWidth=()=>{if(width<=breakpoints.phone)return containerWidths.phone;if(width<=breakpoints.tablet)return containerWidths.tablet;if(width<=breakpoints.laptop)return containerWidths.laptop;if(width<=breakpoints.desktop)return containerWidths.desktop;return containerWidths.ultrawide;};return{width,containerWidth:getContainerWidth(),isPhone:width<=breakpoints.phone,isTablet:width>breakpoints.phone&&width<=breakpoints.tablet,isLaptop:width>breakpoints.tablet&&width<=breakpoints.laptop,isDesktop:width>breakpoints.laptop&&width<=breakpoints.desktop,isUltrawide:width>breakpoints.desktop};}export default function PartnerFilterSection(props){const{style,containerWidth,maxWidth}=props;// ✅ 在组件初始化时加载 Poppins 字体\nReact.useEffect(()=>{const existingLink=document.querySelector('link[href*=\"Poppins:wght\"]');if(!existingLink){const link=document.createElement(\"link\");link.href=\"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap\";link.rel=\"stylesheet\";document.head.appendChild(link);}},[]);const[store,setStore]=useFilterState();const viewport=useViewportSize();const t=useI18n()// ✅ 使用语言包\n;// 多语言数据源\nconst filterData={targetMarkets:[t.filter.options.all,...Object.values(t.filter.options.countries)],location:[t.filter.options.all,...Object.values(t.filter.options.countries)],serviceCategory:t.filter.options.serviceCategory};const[expandedTargetMarkets,setExpandedTargetMarkets]=React.useState(false);const[expandedLocation,setExpandedLocation]=React.useState(false);const[expandedServiceCategory,setExpandedServiceCategory]=React.useState(false);// 强制重新渲染的状态\nconst[forceUpdate,setForceUpdate]=React.useState(0);// 修正filter值的初始状态，确保是字符串数组\nReact.useEffect(()=>{// 默认选中三个 All\nconst allValue=String(t.filter.options.all);setStore(prev=>({...prev,location:prev.location?.length?prev.location:[allValue],targetMarkets:prev.targetMarkets?.length?prev.targetMarkets:[allValue],serviceCategory:prev.serviceCategory?.length?prev.serviceCategory:[allValue]}));},[t.filter.options.all]);// 添加延迟处理筛选点击，确保字符串类型\nconst handleFilterClick=React.useCallback((category,value)=>{// 确保值是字符串\nif(value===null||value===undefined){console.warn(`Ignored null/undefined filter value for ${category}`);return;}// 确保 value 和 All 值都是字符串\nconst stringValue=String(value);const allValue=String(t.filter.options.all);// 获取当前选中的值，确保是字符串数组\nconst current=Array.isArray(store[category])?store[category].map(item=>String(item)):[];if(stringValue===allValue){// 如果选All，则只有All或清空\nconst newValues=current.includes(allValue)?[]:[allValue];// 更新状态，保留其他字段\nsetStore(prev=>({...prev,[category]:newValues}));// 移动端添加强制刷新\nif(viewport.isPhone){setTimeout(()=>{setForceUpdate(prev=>prev+1);},50);}return;}// 处理非All选项\nlet next;if(current.includes(stringValue)){// 如果已选中，则移除\nnext=current.filter(i=>i!==stringValue);}else{// 如果未选中，则添加，同时移除All选项\nnext=[...current.filter(i=>i!==allValue),stringValue];}// 更新状态，保留其他字段\nsetStore(prev=>({...prev,[category]:next}));// 移动端添加强制刷新\nif(viewport.isPhone){setTimeout(()=>{setForceUpdate(prev=>prev+1);},50);}// 调试输出\nconsole.log(`Updated ${category}:`,next);},[store,setStore,t,viewport.isPhone]);// 按钮样式\nconst getButtonStyles=isSelected=>{const basePadding=18;const baseHorizontalPadding=basePadding;const scaleRatio=Math.max(.5,Math.min(1,viewport.width/breakpoints.desktop));const scaledPadding=Math.max(6,Math.round(8*scaleRatio));const scaledHorizontalPadding=Math.max(10,Math.round(baseHorizontalPadding*scaleRatio));const padding=`${scaledPadding}px ${scaledHorizontalPadding}px`;const fontSize=\"12px\";return{padding,borderRadius:\"50px\",border:\"none\",fontSize,fontFamily:\"Poppins, sans-serif\",cursor:\"pointer\",whiteSpace:\"nowrap\",background:isSelected?\"#FFE5EE\":\"#FFFFFF\",color:isSelected?\"#FF0051\":\"#1F2323\",transition:\"all 0.2s ease\"};};// 确保显示的文本是字符串\nconst safeText=text=>{if(text===null||text===undefined)return\"\";return typeof text===\"string\"?text:String(text);};const FilterButton=/*#__PURE__*/React.memo(({label,isSelected,onClick})=>/*#__PURE__*/_jsx(motion.button,{onClick:onClick,style:getButtonStyles(isSelected),whileHover:{scale:1.05,transition:{duration:.12,ease:\"easeOut\"}},whileTap:{scale:.96,transition:{duration:.08,ease:\"easeInOut\"}},children:safeText(label)}));const getGapValue=()=>{const baseGap=10;const scaleRatio=Math.max(.4,Math.min(1,viewport.width/breakpoints.desktop));return Math.max(4,Math.round(baseGap*scaleRatio));};const getSectionStyles=()=>{const baseTitleSize=16;const baseTitleMargin=12;const baseMarginBottom=20;const scaleRatio=Math.max(.5,Math.min(1,viewport.width/breakpoints.desktop));const titleSize=Math.max(14,Math.round(baseTitleSize*scaleRatio));const titleMargin=Math.max(8,Math.round(baseTitleMargin*scaleRatio));const marginBottom=`${Math.max(20,Math.round(baseMarginBottom*scaleRatio))}px`;return{marginBottom,titleSize,titleMargin};};const actualContainerWidth=containerWidth||viewport.containerWidth;// forceUpdate 变化强制刷新\nReact.useEffect(()=>{// 空效果，仅用于触发重新渲染\n},[forceUpdate]);return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:actualContainerWidth,maxWidth:maxWidth||\"1232px\",marginBottom:\"64px\",marginLeft:\"auto\",marginRight:\"auto\"},children:[/*#__PURE__*/_jsx(FilterSection,{title:t.filter.titles.location,category:\"location\",filters:filterData.location,selectedFilters:store.location||[],isExpanded:expandedLocation,onToggle:()=>setExpandedLocation(p=>!p),onFilterClick:handleFilterClick,FilterButton:FilterButton,viewport:viewport,getGapValue:getGapValue,getSectionStyles:getSectionStyles,t:t,forceUpdateId:forceUpdate,safeText:safeText}),/*#__PURE__*/_jsx(FilterSection,{title:t.filter.titles.targetMarkets,category:\"targetMarkets\",filters:filterData.targetMarkets,selectedFilters:store.targetMarkets||[],isExpanded:expandedTargetMarkets,onToggle:()=>setExpandedTargetMarkets(p=>!p),onFilterClick:handleFilterClick,FilterButton:FilterButton,viewport:viewport,getGapValue:getGapValue,getSectionStyles:getSectionStyles,t:t,forceUpdateId:forceUpdate,safeText:safeText}),/*#__PURE__*/_jsx(FilterSection,{title:t.filter.titles.serviceCategory,category:\"serviceCategory\",filters:filterData.serviceCategory,selectedFilters:store.serviceCategory||[],isExpanded:expandedServiceCategory,onToggle:()=>setExpandedServiceCategory(p=>!p),onFilterClick:handleFilterClick,FilterButton:FilterButton,viewport:viewport,getGapValue:getGapValue,getSectionStyles:getSectionStyles,t:t,forceUpdateId:forceUpdate,safeText:safeText})]},`filter-section-${forceUpdate}`);}// ✅ 子组件支持多语言\nconst FilterSection=/*#__PURE__*/React.memo(({title,category,filters,selectedFilters,isExpanded,onToggle,onFilterClick,FilterButton,viewport,getGapValue,getSectionStyles,t,forceUpdateId,safeText})=>{const[visibleCount,setVisibleCount]=React.useState(10);const[needToggle,setNeedToggle]=React.useState(false);const containerRef=React.useRef(null);const measureRef=React.useRef(null);const gapValue=getGapValue();const sectionStyles=getSectionStyles();// 确保filters和selectedFilters是安全的数据\nconst safeFilters=React.useMemo(()=>{return Array.isArray(filters)?filters.map(f=>safeText(f)):[];},[filters,safeText]);const safeSelectedFilters=React.useMemo(()=>{return Array.isArray(selectedFilters)?selectedFilters.map(f=>safeText(f)):[];},[selectedFilters,safeText]);React.useLayoutEffect(()=>{const calc=()=>{if(!measureRef.current||!containerRef.current)return;const buttons=Array.from(measureRef.current.children);const containerWidth=containerRef.current.offsetWidth;const seeMoreWidth=viewport.isPhone?70:80;const availableWidth=containerWidth-seeMoreWidth;let totalWidth=0;let firstRowCount=0;for(let i=0;i<buttons.length;i++){const buttonWidth=buttons[i].offsetWidth;const widthWithGap=i===0?buttonWidth:buttonWidth+gapValue;if(totalWidth+widthWithGap<=availableWidth){totalWidth+=widthWithGap;firstRowCount++;}else break;}let visible=firstRowCount;if(category===\"serviceCategory\"&&(viewport.isPhone||viewport.isTablet)){visible=safeFilters.length;}else if(viewport.isPhone||viewport.isTablet){let secondRowWidth=0;let secondRowCount=0;for(let i=firstRowCount;i<buttons.length;i++){const buttonWidth=buttons[i].offsetWidth;const widthWithGap=secondRowWidth===0?buttonWidth:buttonWidth+gapValue;if(secondRowWidth+widthWithGap<=containerWidth){secondRowWidth+=widthWithGap;secondRowCount++;}else break;}visible=firstRowCount+secondRowCount;}setVisibleCount(visible);setNeedToggle(safeFilters.length>visible);};calc();window.addEventListener(\"resize\",calc);return()=>window.removeEventListener(\"resize\",calc);},[safeFilters.length,category,gapValue,viewport,forceUpdateId])// 添加forceUpdateId依赖\n;const hideToggle=(viewport.isPhone||viewport.isTablet)&&category===\"serviceCategory\";const visibleFilters=isExpanded||hideToggle?safeFilters:safeFilters.slice(0,visibleCount);// 获取See More按钮样式\nconst getSeeMoreButtonStyles=()=>{// 手机端时的样式\nif(viewport.isPhone){return{display:\"flex\",alignItems:\"flexStart\",gap:\"6px\",background:\"transparent\",border:\"none\",color:isExpanded?\"#FF0051\":\"#1F2323\",fontSize:\"11px\",fontWeight:600,cursor:\"pointer\",whiteSpace:\"nowrap\",padding:0};}// 平板和桌面端的样式（保持原有样式）\nreturn{position:\"absolute\",right:0,top:0,height:viewport.isTablet?\"40px\":\"100%\",display:\"flex\",alignItems:\"flexStart\"};};return /*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:sectionStyles.marginBottom},children:[viewport.isPhone?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",marginBottom:sectionStyles.titleMargin},children:[/*#__PURE__*/_jsx(\"h3\",{style:{fontSize:sectionStyles.titleSize,fontWeight:600,fontFamily:\"Poppins, sans-serif\",color:\"#1F2323\",margin:0},children:safeText(title)}),!hideToggle&&needToggle&&/*#__PURE__*/_jsxs(\"button\",{onClick:onToggle,style:getSeeMoreButtonStyles(),children:[isExpanded?safeText(t.filter.actions.showLess):safeText(t.filter.actions.seeMore),/*#__PURE__*/_jsx(motion.svg,{width:\"12\",height:\"12\",viewBox:\"0 0 12 12\",fill:\"none\",animate:{rotate:isExpanded?180:0},transition:{duration:.2},children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 4.5L6 7.5L9 4.5\",stroke:isExpanded?\"#FF0051\":\"#1F2323\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]})]}):// 平板和桌面端保持原有结构\n/*#__PURE__*/_jsx(\"h3\",{style:{fontSize:sectionStyles.titleSize,fontWeight:600,color:\"#1F2323\",marginBottom:sectionStyles.titleMargin},children:safeText(title)}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{display:\"flex\",flexWrap:\"wrap\",gap:gapValue,paddingRight:viewport.isPhone?0:viewport.isTablet?\"70px\":\"80px\"},children:visibleFilters.map((filter,index)=>/*#__PURE__*/_jsx(FilterButton,{label:filter,isSelected:safeSelectedFilters.includes(safeText(filter)),onClick:()=>onFilterClick(category,filter)},`${safeText(filter)}-${index}-${forceUpdateId}`))}),!viewport.isPhone&&!hideToggle&&needToggle&&/*#__PURE__*/_jsx(\"div\",{style:getSeeMoreButtonStyles(),children:/*#__PURE__*/_jsxs(\"button\",{onClick:onToggle,style:{display:\"flex\",alignItems:\"flexStart\",gap:\"6px\",background:\"transparent\",border:\"none\",color:isExpanded?\"#FF0051\":\"#1F2323\",fontSize:viewport.isTablet?\"11px\":\"12px\",fontWeight:600,cursor:\"pointer\",whiteSpace:\"nowrap\",paddingTop:0},children:[isExpanded?safeText(t.filter.actions.showLess):safeText(t.filter.actions.seeMore),/*#__PURE__*/_jsx(motion.svg,{width:\"12\",height:\"12\",viewBox:\"0 0 12 12\",fill:\"none\",animate:{rotate:isExpanded?180:0},transition:{duration:.2},children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 4.5L6 7.5L9 4.5\",stroke:isExpanded?\"#FF0051\":\"#1F2323\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]})})]}),/*#__PURE__*/_jsx(\"div\",{ref:measureRef,style:{position:\"fixed\",top:-9999,left:-9999,visibility:\"hidden\",pointerEvents:\"none\",display:\"flex\",flexWrap:\"wrap\",gap:gapValue},children:safeFilters.map((filter,index)=>/*#__PURE__*/_jsx(FilterButton,{label:filter,isSelected:false,onClick:()=>{}},`measure-${safeText(filter)}-${index}`))})]},`filter-section-${category}-${forceUpdateId}`);});PartnerFilterSection.defaultProps={containerWidth:\"auto\",maxWidth:\"1200px\"};addPropertyControls(PartnerFilterSection,{containerWidth:{type:ControlType.String,title:\"Container Width\",defaultValue:\"auto\"},maxWidth:{type:ControlType.String,title:\"Max Width\",defaultValue:\"1200px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PartnerFilterSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wYAGA,SAAS,GAAiB,CAAC,GAAK,CAAC,EAAM,GAAUA,EAAsB,IA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