{"version":3,"file":"DocumentDownloadLayout.DYUpFR3H.mjs","names":["useState","useRef","useCallback","useMemo","tags"],"sources":["https:/framerusercontent.com/modules/KPZ5yFQJmX40X5DqfLM8/HIaCK6C5tSo9AeG9QTDq/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,tags,defaultTags,syncQueryToUrl,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;// Always use fixed English URL param names regardless of prop values\nconst queryParam=\"q\";const categoryParam=\"category\";const tagParam=\"tag\";const[query,setQuery]=useState(initialQuery);const[activeCategoryIndex,setActiveCategoryIndex]=useState(-1);const[activeCategoryName,setActiveCategoryName]=useState(\"\");const[activeTagIndices,setActiveTagIndices]=useState([]);const[activeTagNames,setActiveTagNames]=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 0;try{const val=new URLSearchParams(window.location.search).get(categoryParam);if(val===null)return-1;const parsed=parseInt(val,10);return isNaN(parsed)?-1:Math.max(0,parsed-1);}catch{return 0;}},[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=>parseInt(t.trim(),10)).filter(idx=>!isNaN(idx)&&idx>0):[];}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(index=>{if(typeof window===\"undefined\")return;try{const url=new URL(window.location.href);if(index>=0)url.searchParams.set(categoryParam,String(index+1));else url.searchParams.delete(categoryParam);window.history.replaceState({},\"\",url.toString());window.dispatchEvent(new Event(\"popstate\"));}catch{}},[categoryParam]);const writeTagsToUrl=useCallback(indices=>{if(typeof window===\"undefined\")return;try{const url=new URL(window.location.href);if(indices.length>0)url.searchParams.set(tagParam,indices.join(\",\"));else url.searchParams.delete(tagParam);window.history.replaceState({},\"\",url.toString());window.dispatchEvent(new Event(\"popstate\"));}catch{}},[tagParam]);const tagsArray=useMemo(()=>String(tags||\"\").split(\",\").map(t=>t.trim()).filter(Boolean),[tags]);const defaultTagIndices=useMemo(()=>{const defaultTagNames=String(defaultTags||\"\").split(\",\").map(t=>t.trim()).filter(Boolean);return defaultTagNames.map(name=>tagsArray.indexOf(name)).filter(idx=>idx>=0);},[defaultTags,tagsArray]);useEffect(()=>{const apply=()=>{startTransition(()=>{setQuery(readQueryFromUrl());setActiveCategoryIndex(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\"&&defaultTagIndices.length>0&&typeof window!==\"undefined\"){const hasUrlTags=new URLSearchParams(window.location.search).has(tagParam);if(!hasUrlTags){nextTags=defaultTagIndices;if(syncQueryToUrl)writeTagsToUrl(defaultTagIndices);}}didInitDefaultTags.current=true;setActiveTagIndices(nextTags);});};apply();if(typeof window===\"undefined\")return;window.addEventListener(\"popstate\",apply);return()=>window.removeEventListener(\"popstate\",apply);},[readQueryFromUrl,readCategoryFromUrl,readTagsFromUrl,mode,defaultTagIndices,tagParam,syncQueryToUrl,writeTagsToUrl]);const categoriesArray=useMemo(()=>String(categories||\"\").split(\",\").map(c=>c.trim()).filter(Boolean),[categories]);const isVisible=useMemo(()=>{if(mode!==\"collectionItem\")return true;const q=normalizeText(query);const cat=activeCategoryName?normalizeText(activeCategoryName):normalizeText(categoriesArray[activeCategoryIndex]||\"\");const activeTags=activeTagNames.length>0?activeTagNames:activeTagIndices.map(idx=>tagsArray[idx]||\"\").filter(Boolean);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(activeCategoryIndex>=0&&itemCatNormalized!==cat)return false;if(activeTags.length>0){const cardTagsNormalized=cardTags.map(t=>normalizeText(t));if(!activeTags.every(sTag=>cardTagsNormalized.includes(normalizeText(sTag))))return false;}if(q&&!`${itemTitleNormalized} ${itemCatNormalized} ${tagsStr}`.includes(q))return false;return true;},[mode,query,activeCategoryIndex,activeCategoryName,activeTagIndices,activeTagNames,categoriesArray,tagsArray,itemTitle,itemCategory,itemTag1,itemTag2,itemTag3,itemTag4,itemTag5,itemTag6,itemTag7,itemTag8,itemTag9,itemTag10]);// Broadcast filter state to all collectionItem instances on this page\nuseEffect(()=>{if(mode!==\"searchBar\"||typeof window===\"undefined\")return;window.dispatchEvent(new CustomEvent(\"__ddlFilter\",{detail:{q:query,cat:activeCategoryIndex,catName:activeCategoryIndex>=0?categoriesArray[activeCategoryIndex]||\"\":\"\",tags:activeTagIndices.join(\",\"),tagNames:activeTagIndices.map(i=>tagsArray[i]||\"\").filter(Boolean).join(\",\")}}));},[mode,query,activeCategoryIndex,activeTagIndices]);// Receive filter state from the searchBar on this page\nuseEffect(()=>{if(mode!==\"collectionItem\"||typeof window===\"undefined\")return;const handle=e=>{const{q,cat,catName,tags,tagNames}=e.detail;startTransition(()=>{setQuery(q??\"\");setActiveCategoryIndex(typeof cat===\"number\"?cat:-1);setActiveCategoryName(catName??\"\");setActiveTagIndices(tags?tags.split(\",\").map(s=>parseInt(s,10)).filter(n=>!isNaN(n)&&n>0):[]);setActiveTagNames(tagNames?tagNames.split(\",\").filter(Boolean):[]);});};window.addEventListener(\"__ddlFilter\",handle);return()=>window.removeEventListener(\"__ddlFilter\",handle);},[mode]);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,catIndex)=>{const isActive=activeCategoryIndex===catIndex;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 nextIndex=isActive?-1:catIndex;setActiveCategoryIndex(nextIndex);if(syncQueryToUrl)writeCategoryToUrl(nextIndex);},style:{padding:catPadding,borderRadius:catRadius,border:`1px solid ${isActive&&!catUseThemeColors?catActiveBg:catBorderColor}`,background:currentBg,color:currentText,cursor:\"pointer\",textTransform:\"uppercase\",transition:\"all 0.15s ease\",...catFont,fontSize:catFontSize},children:cat},catIndex);})}),tagsArray.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:6,width:\"100%\"},children:tagsArray.map((t,tIndex)=>{const isAllButton=tIndex===0;const isActive=isAllButton?activeTagIndices.length===0:activeTagIndices.includes(tIndex);return /*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>{let nextTags=[];if(isAllButton)nextTags=[];else{nextTags=isActive?activeTagIndices.filter(idx=>idx!==tIndex):[...activeTagIndices,tIndex];}setActiveTagIndices(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},tIndex);})})]});}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:\"Allgemein, Datenblatt, Bedienungsanleitung, Schema, Konformit\\xe4tserkl\\xe4rung, Whitepaper\",displayTextArea:true},tags:{type:ControlType.String,title:\"Tags List\",defaultValue:\"All, Product Overview, AC, DC, Series Pro\",displayTextArea:true},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\"},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":"mOAEA,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,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