{"version":3,"file":"DocumentDownloadLayout.ChT_zuan.mjs","names":["useState","useRef","useCallback","tagsArray","useMemo"],"sources":["https:/framerusercontent.com/modules/KPZ5yFQJmX40X5DqfLM8/M9YhtKpaOBJZnnNpJPrb/DocumentDownloadLayout.js"],"sourcesContent":["// User instructions: Create a custom document download layout which gets the documents from a Framer collection and make a clean frontend. Include a search bar to search for a document with category and multi-tag filters. Full design and typography control with text wrapping.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useCallback,useEffect,useMemo,useRef,useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Background Fallback Color Matrix Generator for Categories\nfunction getCategoryColor(category){const normalized=(category||\"\").trim().toLowerCase();if(!normalized||normalized===\"all\"){return{bg:\"#EEEEEE\",text:\"#333333\"};}const palettes=[{bg:\"#E3F2FD\",text:\"#0D47A1\"},{bg:\"#E8F5E9\",text:\"#1B5E20\"},{bg:\"#F3E5F5\",text:\"#4A148C\"},{bg:\"#FFF3E0\",text:\"#E65100\"},{bg:\"#E0F2F1\",text:\"#004D40\"},{bg:\"#FCE4EC\",text:\"#880E4F\"}];let hash=0;for(let i=0;i<normalized.length;i++){hash=normalized.charCodeAt(i)+((hash<<5)-hash);}return palettes[Math.abs(hash)%palettes.length];}function normalizeText(input){return(input||\"\").toLowerCase().normalize(\"NFD\").replace(RegExp(\"\\\\p{Diacritic}\",\"gu\"),\"\").trim();}export default function DocumentDownloadLayout(props){const{mode,categories,categoryParam,tags,defaultTags,tagParam,syncQueryToUrl,queryParam,showSearch,searchPlaceholder,initialQuery,openInNewTab,downloadLabel,searchBg,searchBorderColor,searchTextColor,searchRadius,searchPadding,searchFont,searchFontSize,searchRowGap,catUseThemeColors,catActiveBg,catActiveTextColor,catInactiveBg,catInactiveTextColor,catBorderColor,catRadius,catPadding,catFont,catFontSize,tagActiveBg,tagActiveTextColor,tagInactiveBg,tagInactiveTextColor,tagBorderColor,tagRadius,tagPadding,tagFont,tagFontSize,itemTitle,itemCategory,itemTag1,itemTag2,itemTag3,itemTag4,itemTag5,itemTag6,itemTag7,itemTag8,itemTag9,itemTag10,itemUrl,cardBackground,cardBorderColor,cardRadius,cardPadding,cardMargin,cardGap,cardRowGap,textColor,secondaryTextColor,titleColor,titleFont,titleFontSize,itemCatUseTheme,itemCatBg,itemCatTextColor,itemCatRadius,itemCatPadding,itemCatFont,itemCatFontSize,itemTagBg,itemTagTextColor,itemTagBorderColor,itemTagRadius,itemTagPadding,itemTagFont,itemTagFontSize,buttonBackground,buttonTextColor,buttonBorderColor,buttonRadius,buttonPadding,buttonFont,buttonFontSize,style}=props;const[query,setQuery]=useState(initialQuery);const[activeCategory,setActiveCategory]=useState(\"All\");const[activeTagsList,setActiveTagsList]=useState([]);const inputRef=useRef(null);const didInitDefaultTags=useRef(false);// URL Sync Processing Rules\nconst readQueryFromUrl=useCallback(()=>{if(typeof window===\"undefined\")return\"\";try{return new URLSearchParams(window.location.search).get(queryParam)||\"\";}catch{return\"\";}},[queryParam]);const readCategoryFromUrl=useCallback(()=>{if(typeof window===\"undefined\")return\"All\";try{return new URLSearchParams(window.location.search).get(categoryParam)||\"All\";}catch{return\"All\";}},[categoryParam]);const readTagsFromUrl=useCallback(()=>{if(typeof window===\"undefined\")return[];try{const val=new URLSearchParams(window.location.search).get(tagParam);return val?val.split(\",\").map(t=>t.trim()).filter(Boolean):[];}catch{return[];}},[tagParam]);const writeQueryToUrl=useCallback(value=>{if(typeof window===\"undefined\")return;try{const url=new URL(window.location.href);if(value)url.searchParams.set(queryParam,value);else url.searchParams.delete(queryParam);window.history.replaceState({},\"\",url.toString());window.dispatchEvent(new Event(\"popstate\"));}catch{}},[queryParam]);const writeCategoryToUrl=useCallback(value=>{if(typeof window===\"undefined\")return;try{const url=new URL(window.location.href);if(value&&value.toLowerCase()!==\"all\")url.searchParams.set(categoryParam,value);else url.searchParams.delete(categoryParam);window.history.replaceState({},\"\",url.toString());window.dispatchEvent(new Event(\"popstate\"));}catch{}},[categoryParam]);const writeTagsToUrl=useCallback(tagsArray=>{if(typeof window===\"undefined\")return;try{const url=new URL(window.location.href);if(tagsArray.length>0)url.searchParams.set(tagParam,tagsArray.join(\",\"));else url.searchParams.delete(tagParam);window.history.replaceState({},\"\",url.toString());window.dispatchEvent(new Event(\"popstate\"));}catch{}},[tagParam]);const defaultTagsArray=useMemo(()=>String(defaultTags||\"\").split(\",\").map(t=>t.trim()).filter(Boolean),[defaultTags]);useEffect(()=>{const apply=()=>{startTransition(()=>{setQuery(readQueryFromUrl());setActiveCategory(readCategoryFromUrl());let nextTags=readTagsFromUrl();// On first load, if the URL has no tag param yet, seed the\n// site-specific default tags and sync them so collection\n// items filter correctly.\nif(!didInitDefaultTags.current&&mode===\"searchBar\"&&defaultTagsArray.length>0&&typeof window!==\"undefined\"){const hasUrlTags=new URLSearchParams(window.location.search).has(tagParam);if(!hasUrlTags){nextTags=defaultTagsArray;if(syncQueryToUrl)writeTagsToUrl(defaultTagsArray);}}didInitDefaultTags.current=true;setActiveTagsList(nextTags);});};apply();if(typeof window===\"undefined\")return;window.addEventListener(\"popstate\",apply);return()=>window.removeEventListener(\"popstate\",apply);},[readQueryFromUrl,readCategoryFromUrl,readTagsFromUrl,mode,defaultTagsArray,tagParam,syncQueryToUrl,writeTagsToUrl]);const categoriesArray=useMemo(()=>String(categories||\"\").split(\",\").map(c=>c.trim()).filter(Boolean),[categories]);const tagsArray=useMemo(()=>String(tags||\"\").split(\",\").map(t=>t.trim()).filter(Boolean),[tags]);const isVisible=useMemo(()=>{if(mode!==\"collectionItem\")return true;const q=normalizeText(query);const cat=normalizeText(activeCategory);const itemCatNormalized=normalizeText(itemCategory);const itemTitleNormalized=normalizeText(itemTitle);const cardTags=[itemTag1,itemTag2,itemTag3,itemTag4,itemTag5,itemTag6,itemTag7,itemTag8,itemTag9,itemTag10].map(t=>String(t??\"\").trim()).filter(Boolean);const tagsStr=normalizeText(cardTags.join(\" \"));if(cat&&cat!==\"all\"&&itemCatNormalized!==cat)return false;if(activeTagsList.length>0){const cardTagsNormalized=cardTags.map(t=>normalizeText(t));if(!activeTagsList.every(sTag=>cardTagsNormalized.includes(normalizeText(sTag))))return false;}if(q&&!`${itemTitleNormalized} ${itemCatNormalized} ${tagsStr}`.includes(q))return false;return true;},[mode,query,activeCategory,activeTagsList,itemTitle,itemCategory,itemTag1,itemTag2,itemTag3,itemTag4,itemTag5,itemTag6,itemTag7,itemTag8,itemTag9,itemTag10]);const handleClear=useCallback(()=>{setQuery(\"\");if(syncQueryToUrl)writeQueryToUrl(\"\");if(typeof window!==\"undefined\"){window.requestAnimationFrame(()=>inputRef.current?.focus());}},[syncQueryToUrl,writeQueryToUrl]);// --- MODE: COLLECTION ITEM CARD ---\nif(mode===\"collectionItem\"){if(!isVisible)return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"}});const hasUrl=Boolean(itemUrl);const cardTags=[itemTag1,itemTag2,itemTag3,itemTag4,itemTag5,itemTag6,itemTag7,itemTag8,itemTag9,itemTag10].map(t=>String(t??\"\").trim()).filter(Boolean);const fallbackTheme=getCategoryColor(itemCategory);const catBadgeBg=itemCatUseTheme?fallbackTheme.bg:itemCatBg;const catBadgeTxt=itemCatUseTheme?fallbackTheme.text:itemCatTextColor;return /*#__PURE__*/_jsxs(\"article\",{role:\"listitem\",style:{width:\"100%\",boxSizing:\"border-box\",background:cardBackground,border:`1px solid ${cardBorderColor}`,borderRadius:cardRadius,padding:cardPadding,margin:cardMargin,display:\"flex\",alignItems:\"center\",gap:cardGap,...style},children:[/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0,display:\"flex\",flexDirection:\"column\",gap:cardRowGap},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:titleColor,...titleFont,fontSize:titleFontSize,whiteSpace:\"normal\",overflowWrap:\"break-word\",wordBreak:\"break-word\",minWidth:0},title:itemTitle,children:itemTitle||\"Untitled\"}),(itemCategory||cardTags.length>0)&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"center\",gap:8},children:[itemCategory&&/*#__PURE__*/_jsx(\"span\",{style:{padding:itemCatPadding,background:catBadgeBg,color:catBadgeTxt,borderRadius:itemCatRadius,textTransform:\"uppercase\",...itemCatFont,fontSize:itemCatFontSize},children:itemCategory}),cardTags.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:6,flexWrap:\"wrap\"},children:cardTags.map((tag,tIdx)=>/*#__PURE__*/_jsx(\"span\",{style:{padding:itemTagPadding,background:itemTagBg,color:itemTagTextColor,borderRadius:itemTagRadius,border:`1px solid ${itemTagBorderColor}`,...itemTagFont,fontSize:itemTagFontSize},children:tag},tIdx))})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:\"0 0 auto\",display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"a\",{href:hasUrl?itemUrl:undefined,download:true,target:openInNewTab?\"_blank\":undefined,rel:openInNewTab?\"noreferrer\":undefined,\"aria-disabled\":!hasUrl,style:{pointerEvents:hasUrl?\"auto\":\"none\",opacity:hasUrl?1:.45,textDecoration:\"none\",background:buttonBackground,color:buttonTextColor,borderRadius:buttonRadius,padding:buttonPadding,border:`1px solid ${buttonBorderColor}`,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",whiteSpace:\"nowrap\",...buttonFont,fontSize:buttonFontSize},children:downloadLabel})})]});}// --- MODE: MASTER SEARCH BAR ---\nreturn /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:searchRowGap,width:\"100%\",boxSizing:\"border-box\",...style},children:[showSearch&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",display:\"flex\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"input\",{ref:inputRef,value:query,onChange:e=>{setQuery(e.target.value);if(syncQueryToUrl)writeQueryToUrl(e.target.value);},placeholder:searchPlaceholder,\"aria-label\":\"Search documents\",style:{width:\"100%\",boxSizing:\"border-box\",borderRadius:searchRadius,border:`1px solid ${searchBorderColor}`,background:searchBg,color:searchTextColor,padding:searchPadding,paddingRight:\"40px\",outline:\"none\",...searchFont,fontSize:searchFontSize}}),query?.length>0&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:handleClear,style:{position:\"absolute\",right:8,height:28,width:28,display:\"grid\",placeItems:\"center\",borderRadius:\"999px\",border:`1px solid ${searchBorderColor}`,background:\"transparent\",color:secondaryTextColor,cursor:\"pointer\"},children:\"\\xd7\"})]}),categoriesArray.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:8,width:\"100%\"},children:categoriesArray.map(cat=>{const isActive=normalizeText(activeCategory)===normalizeText(cat);const themeFallback=getCategoryColor(cat);const currentBg=catUseThemeColors?isActive?themeFallback.bg:cardBackground:isActive?catActiveBg:catInactiveBg;const currentText=catUseThemeColors?isActive?themeFallback.text:textColor:isActive?catActiveTextColor:catInactiveTextColor;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>{const nextCategory=normalizeText(activeCategory)===normalizeText(cat)?\"All\":cat;setActiveCategory(nextCategory);if(syncQueryToUrl)writeCategoryToUrl(nextCategory);},style:{padding:catPadding,borderRadius:catRadius,border:`1px solid ${isActive&&!catUseThemeColors?catActiveBg:catBorderColor}`,background:currentBg,color:currentText,cursor:\"pointer\",textTransform:normalizeText(cat)===\"all\"?\"none\":\"uppercase\",transition:\"all 0.15s ease\",...catFont,fontSize:catFontSize},children:cat},cat);})}),tagsArray.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:6,width:\"100%\"},children:tagsArray.map(t=>{const isAllButton=normalizeText(t)===\"all\";const isActive=isAllButton?activeTagsList.length===0:activeTagsList.some(tag=>normalizeText(tag)===normalizeText(t));return /*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>{let nextTags=[];if(isAllButton)nextTags=[];else{const clean=t.trim();nextTags=activeTagsList.some(tg=>normalizeText(tg)===normalizeText(clean))?activeTagsList.filter(tg=>normalizeText(tg)!==normalizeText(clean)):[...activeTagsList,clean];}setActiveTagsList(nextTags);if(syncQueryToUrl)writeTagsToUrl(nextTags);},style:{padding:tagPadding,borderRadius:tagRadius,border:`1px solid ${isActive?tagActiveBg:tagBorderColor}`,background:isActive?tagActiveBg:tagInactiveBg,color:isActive?tagActiveTextColor:tagInactiveTextColor,cursor:\"pointer\",transition:\"all 0.15s ease\",...tagFont,fontSize:tagFontSize},children:t},t);})})]});}addPropertyControls(DocumentDownloadLayout,{mode:{type:ControlType.Enum,title:\"Mode\",options:[\"searchBar\",\"collectionItem\"],optionTitles:[\"Search Bar\",\"Collection Item\"],defaultValue:\"searchBar\",displaySegmentedControl:true},categories:{type:ControlType.String,title:\"Categories List\",defaultValue:\"All, HR, Design, Sales, Legal\",displayTextArea:true,hidden:({mode})=>mode!==\"searchBar\"},tags:{type:ControlType.String,title:\"Tags List\",defaultValue:\"All, pdf, docx, guide, template\",displayTextArea:true,hidden:({mode})=>mode!==\"searchBar\"},defaultTags:{type:ControlType.String,title:\"Default Tags\",defaultValue:\"\",placeholder:\"e.g. pdf, guide\",displayTextArea:true,description:\"Tags active by default on this page (comma separated). Applied on load when no tag is in the URL.\",hidden:({mode})=>mode!==\"searchBar\"},syncQueryToUrl:{type:ControlType.Boolean,title:\"Sync URL\",defaultValue:true,hidden:({mode})=>mode!==\"searchBar\"},queryParam:{type:ControlType.String,title:\"Query Param\",defaultValue:\"q\",hidden:({mode})=>mode!==\"searchBar\"},categoryParam:{type:ControlType.String,title:\"Category Param\",defaultValue:\"category\",hidden:({mode})=>mode!==\"searchBar\"},tagParam:{type:ControlType.String,title:\"Tag Param\",defaultValue:\"tag\",hidden:({mode})=>mode!==\"searchBar\"},showSearch:{type:ControlType.Boolean,title:\"Search Input\",defaultValue:true,hidden:({mode})=>mode!==\"searchBar\"},searchPlaceholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Search documents…\",hidden:({mode})=>mode!==\"searchBar\"},initialQuery:{type:ControlType.String,title:\"Initial Query\",defaultValue:\"\",hidden:({mode})=>mode!==\"searchBar\"},searchBg:{type:ControlType.Color,title:\"Search BG\",defaultValue:\"#F5F5F5\",hidden:({mode})=>mode!==\"searchBar\"},searchBorderColor:{type:ControlType.Color,title:\"Search Border\",defaultValue:\"#EEEEEE\",hidden:({mode})=>mode!==\"searchBar\"},searchTextColor:{type:ControlType.Color,title:\"Search Color\",defaultValue:\"#000000\",hidden:({mode})=>mode!==\"searchBar\"},searchRadius:{type:ControlType.BorderRadius,title:\"Search Radius\",defaultValue:\"999px\",hidden:({mode})=>mode!==\"searchBar\"},searchPadding:{type:ControlType.Padding,title:\"Search Padding\",defaultValue:\"10px 16px\",hidden:({mode})=>mode!==\"searchBar\"},searchFont:{type:ControlType.Font,title:\"Search Font\",hidden:({mode})=>mode!==\"searchBar\",defaultValue:{variant:\"Regular\"}},searchFontSize:{type:ControlType.Number,title:\"Search Font Size\",defaultValue:14,min:8,max:64,step:1,displayStepper:true,hidden:({mode})=>mode!==\"searchBar\"},searchRowGap:{type:ControlType.Number,title:\"Search Row Gap\",defaultValue:12,min:0,max:48,step:1,hidden:({mode})=>mode!==\"searchBar\"},catUseThemeColors:{type:ControlType.Boolean,title:\"Auto Themes\",defaultValue:true,enabledTitle:\"Auto\",disabledTitle:\"Manual\",hidden:({mode})=>mode!==\"searchBar\"},catActiveBg:{type:ControlType.Color,title:\"Active BG\",defaultValue:\"#000000\",hidden:({mode,catUseThemeColors})=>mode!==\"searchBar\"||catUseThemeColors},catActiveTextColor:{type:ControlType.Color,title:\"Active Text\",defaultValue:\"#FFFFFF\",hidden:({mode,catUseThemeColors})=>mode!==\"searchBar\"||catUseThemeColors},catInactiveBg:{type:ControlType.Color,title:\"Inactive BG\",defaultValue:\"#F5F5F5\",hidden:({mode,catUseThemeColors})=>mode!==\"searchBar\"||catUseThemeColors},catInactiveTextColor:{type:ControlType.Color,title:\"Inactive Text\",defaultValue:\"#000000\",hidden:({mode,catUseThemeColors})=>mode!==\"searchBar\"||catUseThemeColors},catBorderColor:{type:ControlType.Color,title:\"Filter Border\",defaultValue:\"#EEEEEE\",hidden:({mode})=>mode!==\"searchBar\"},catRadius:{type:ControlType.BorderRadius,title:\"Filter Radius\",defaultValue:\"6px\",hidden:({mode})=>mode!==\"searchBar\"},catPadding:{type:ControlType.Padding,title:\"Filter Padding\",defaultValue:\"6px 14px\",hidden:({mode})=>mode!==\"searchBar\"},catFont:{type:ControlType.Font,title:\"Filter Font\",hidden:({mode})=>mode!==\"searchBar\",defaultValue:{variant:\"Bold\"}},catFontSize:{type:ControlType.Number,title:\"Filter Font Size\",defaultValue:12,min:8,max:64,step:1,displayStepper:true,hidden:({mode})=>mode!==\"searchBar\"},tagActiveBg:{type:ControlType.Color,title:\"Active Tag BG\",defaultValue:\"#000000\",hidden:({mode})=>mode!==\"searchBar\"},tagActiveTextColor:{type:ControlType.Color,title:\"Active Tag Text\",defaultValue:\"#FFFFFF\",hidden:({mode})=>mode!==\"searchBar\"},tagInactiveBg:{type:ControlType.Color,title:\"Inactive Tag BG\",defaultValue:\"transparent\",hidden:({mode})=>mode!==\"searchBar\"},tagInactiveTextColor:{type:ControlType.Color,title:\"Inactive Tag Text\",defaultValue:\"#CCCCCC\",hidden:({mode})=>mode!==\"searchBar\"},tagBorderColor:{type:ControlType.Color,title:\"Tag Row Border\",defaultValue:\"#EEEEEE\",hidden:({mode})=>mode!==\"searchBar\"},tagRadius:{type:ControlType.BorderRadius,title:\"Tag Row Radius\",defaultValue:\"999px\",hidden:({mode})=>mode!==\"searchBar\"},tagPadding:{type:ControlType.Padding,title:\"Tag Row Padding\",defaultValue:\"5px 14px\",hidden:({mode})=>mode!==\"searchBar\"},tagFont:{type:ControlType.Font,title:\"Tag Row Font\",hidden:({mode})=>mode!==\"searchBar\",defaultValue:{variant:\"Medium\"}},tagFontSize:{type:ControlType.Number,title:\"Tag Row Font Size\",defaultValue:12,min:8,max:64,step:1,displayStepper:true,hidden:({mode})=>mode!==\"searchBar\"},itemTitle:{type:ControlType.String,title:\"CMS Title\",defaultValue:\"Company Handbook\",hidden:({mode})=>mode!==\"collectionItem\"},itemCategory:{type:ControlType.String,title:\"CMS Category\",defaultValue:\"HR\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag1:{type:ControlType.String,title:\"Tag 1\",defaultValue:\"pdf\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag2:{type:ControlType.String,title:\"Tag 2\",defaultValue:\"\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag3:{type:ControlType.String,title:\"Tag 3\",defaultValue:\"\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag4:{type:ControlType.String,title:\"Tag 4\",defaultValue:\"\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag5:{type:ControlType.String,title:\"Tag 5\",defaultValue:\"\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag6:{type:ControlType.String,title:\"Tag 6\",defaultValue:\"\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag7:{type:ControlType.String,title:\"Tag 7\",defaultValue:\"\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag8:{type:ControlType.String,title:\"Tag 8\",defaultValue:\"\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag9:{type:ControlType.String,title:\"Tag 9\",defaultValue:\"\",hidden:({mode})=>mode!==\"collectionItem\"},itemTag10:{type:ControlType.String,title:\"Tag 10\",defaultValue:\"\",hidden:({mode})=>mode!==\"collectionItem\"},itemUrl:{type:ControlType.Link,title:\"CMS File/URL\",defaultValue:\"https://example.com/handbook.pdf\",hidden:({mode})=>mode!==\"collectionItem\"},cardBackground:{type:ControlType.Color,title:\"Card Container BG\",defaultValue:\"#FFFFFF\"},cardBorderColor:{type:ControlType.Color,title:\"Card Border Color\",defaultValue:\"#EEEEEE\"},cardRadius:{type:ControlType.BorderRadius,title:\"Card Radius\",defaultValue:\"12px\"},cardPadding:{type:ControlType.Padding,title:\"Card Padding\",defaultValue:\"16px\"},cardMargin:{type:ControlType.Padding,title:\"Card Outer Margin\",defaultValue:\"0px 0px 12px 0px\",hidden:({mode})=>mode!==\"collectionItem\"},cardGap:{type:ControlType.Number,title:\"Horiz. Layout Gap\",defaultValue:12,min:4,max:48},cardRowGap:{type:ControlType.Number,title:\"Vert. Content Gap\",defaultValue:8,min:2,max:24,hidden:({mode})=>mode!==\"collectionItem\"},textColor:{type:ControlType.Color,title:\"General Text Color\",defaultValue:\"#000000\"},secondaryTextColor:{type:ControlType.Color,title:\"General Secondary Color\",defaultValue:\"#CCCCCC\"},titleColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#000000\",hidden:({mode})=>mode!==\"collectionItem\"},titleFont:{type:ControlType.Font,title:\"Title Font\",hidden:({mode})=>mode!==\"collectionItem\",defaultValue:{variant:\"Semibold\"}},titleFontSize:{type:ControlType.Number,title:\"Title Font Size\",defaultValue:15,min:8,max:64,step:1,displayStepper:true,hidden:({mode})=>mode!==\"collectionItem\"},itemCatUseTheme:{type:ControlType.Boolean,title:\"Card Cat Theme\",defaultValue:true,enabledTitle:\"Auto Matrix\",disabledTitle:\"Static Custom\",hidden:({mode})=>mode!==\"collectionItem\"},itemCatBg:{type:ControlType.Color,title:\"Card Cat BG\",defaultValue:\"#EEEEEE\",hidden:({mode,itemCatUseTheme})=>mode!==\"collectionItem\"||itemCatUseTheme},itemCatTextColor:{type:ControlType.Color,title:\"Card Cat Color\",defaultValue:\"#333333\",hidden:({mode,itemCatUseTheme})=>mode!==\"collectionItem\"||itemCatUseTheme},itemCatRadius:{type:ControlType.BorderRadius,title:\"Card Cat Radius\",defaultValue:\"4px\",hidden:({mode})=>mode!==\"collectionItem\"},itemCatPadding:{type:ControlType.Padding,title:\"Card Cat Padding\",defaultValue:\"3px 8px\",hidden:({mode})=>mode!==\"collectionItem\"},itemCatFont:{type:ControlType.Font,title:\"Card Cat Font\",hidden:({mode})=>mode!==\"collectionItem\",defaultValue:{variant:\"Bold\"}},itemCatFontSize:{type:ControlType.Number,title:\"Card Cat Font Size\",defaultValue:11,min:6,max:32,step:1,displayStepper:true,hidden:({mode})=>mode!==\"collectionItem\"},itemTagBg:{type:ControlType.Color,title:\"Card Tag BG\",defaultValue:\"#F5F5F5\",hidden:({mode})=>mode!==\"collectionItem\"},itemTagTextColor:{type:ControlType.Color,title:\"Card Tag Color\",defaultValue:\"#CCCCCC\",hidden:({mode})=>mode!==\"collectionItem\"},itemTagBorderColor:{type:ControlType.Color,title:\"Card Tag Border\",defaultValue:\"#EEEEEE\",hidden:({mode})=>mode!==\"collectionItem\"},itemTagRadius:{type:ControlType.BorderRadius,title:\"Card Tag Radius\",defaultValue:\"999px\",hidden:({mode})=>mode!==\"collectionItem\"},itemTagPadding:{type:ControlType.Padding,title:\"Card Tag Padding\",defaultValue:\"3px 10px\",hidden:({mode})=>mode!==\"collectionItem\"},itemTagFont:{type:ControlType.Font,title:\"Card Tag Font\",hidden:({mode})=>mode!==\"collectionItem\",defaultValue:{variant:\"Regular\"}},itemTagFontSize:{type:ControlType.Number,title:\"Card Tag Font Size\",defaultValue:12,min:6,max:32,step:1,displayStepper:true,hidden:({mode})=>mode!==\"collectionItem\"},downloadLabel:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Download\"},buttonBackground:{type:ControlType.Color,title:\"Button BG\",defaultValue:\"#000000\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text\",defaultValue:\"#FFFFFF\"},buttonBorderColor:{type:ControlType.Color,title:\"Button Border\",defaultValue:\"#000000\"},buttonRadius:{type:ControlType.BorderRadius,title:\"Button Radius\",defaultValue:\"999px\"},buttonPadding:{type:ControlType.Padding,title:\"Button Padding\",defaultValue:\"10px 12px\"},buttonFont:{type:ControlType.Font,title:\"Button Font\",defaultValue:{variant:\"Semibold\"}},buttonFontSize:{type:ControlType.Number,title:\"Button Font Size\",defaultValue:14,min:8,max:64,step:1,displayStepper:true},openInNewTab:{type:ControlType.Boolean,title:\"Target New Tab\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DocumentDownloadLayout\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DocumentDownloadLayout.map"],"mappings":"gOAEA,SAAS,EAAiB,EAAS,CAAC,IAAM,GAAY,GAAU,IAAI,MAAM,CAAC,aAAa,CAAC,GAAG,CAAC,GAAY,IAAa,MAAO,MAAM,CAAC,GAAG,UAAU,KAAK,UAAU,CAAE,IAAM,EAAS,CAAC,CAAC,GAAG,UAAU,KAAK,UAAU,CAAC,CAAC,GAAG,UAAU,KAAK,UAAU,CAAC,CAAC,GAAG,UAAU,KAAK,UAAU,CAAC,CAAC,GAAG,UAAU,KAAK,UAAU,CAAC,CAAC,GAAG,UAAU,KAAK,UAAU,CAAC,CAAC,GAAG,UAAU,KAAK,UAAU,CAAC,CAAK,EAAK,EAAE,IAAI,IAAI,EAAE,EAAE,EAAE,EAAW,OAAO,IAAK,EAAK,EAAW,WAAW,EAAE,GAAG,GAAM,GAAG,GAAO,OAAO,EAAS,KAAK,IAAI,EAAK,CAAC,EAAS,QAAS,SAAS,EAAc,EAAM,CAAC,OAAO,GAAO,IAAI,aAAa,CAAC,UAAU,MAAM,CAAC,QAAQ,OAAO,iBAAiB,KAAK,CAAC,GAAG,CAAC,MAAM,CAAE,SAAwB,EAAuB,EAAM,CAAC,GAAK,CAAC,OAAK,aAAW,gBAAc,OAAK,cAAY,WAAS,iBAAe,aAAW,cAAW,qBAAkB,gBAAa,eAAa,iBAAc,YAAS,oBAAkB,mBAAgB,gBAAa,iBAAc,cAAW,kBAAe,gBAAa,oBAAkB,cAAY,sBAAmB,iBAAc,wBAAqB,kBAAe,aAAU,cAAW,WAAQ,eAAY,cAAY,sBAAmB,iBAAc,wBAAqB,kBAAe,aAAU,cAAW,WAAQ,eAAY,YAAU,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