{"version":3,"file":"PDFButton_2.BLETPidG.mjs","names":["useState","useRef","useCallback","pdfUrl","element","error"],"sources":["https:/framerusercontent.com/modules/xpY3PNqJhkWvJJ2Pv2hF/FPMyKMw8NVNkrciw6V6l/PDFButton_2.js"],"sourcesContent":["// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{useCallback,useState,useEffect,useRef}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function PDFButton(props){const{action,source,pdfUrl,pdfFile,htmlSelector,fileName,buttonText,backgroundColor,textColor,fontSize,fontFamily,borderRadius,paddingX,paddingY,borderWidth,borderColor,hoverColor,showPreview,previewWidth,previewHeight,previewBorderRadius,layout,showButton}=props;const[isProcessing,setIsProcessing]=useState(false);const[pdfPreviewError,setPdfPreviewError]=useState(false);const[isBrowser,setIsBrowser]=useState(false);const canvasRef=useRef(null);// Check if we're in browser environment\nuseEffect(()=>{setIsBrowser(typeof window!==\"undefined\");},[]);// Динамическая загрузка jsPDF\nconst loadJsPDF=useCallback(async()=>{if(!isBrowser)return null;try{const{default:jsPDF}=await import(\"jspdf\");return jsPDF;}catch(error){console.error(\"Error loading jsPDF:\",error);throw error;}},[isBrowser]);// Динамическая загрузка html2canvas\nconst loadHtml2Canvas=useCallback(async()=>{if(!isBrowser)return null;try{const{default:html2canvas}=await import(\"html2canvas\");return html2canvas;}catch(error){console.error(\"Error loading html2canvas:\",error);throw error;}},[isBrowser]);// Динамическая загрузка printJS\nconst loadPrintJS=useCallback(async()=>{if(!isBrowser)return null;try{const{default:printJS}=await import(\"print-js\");return printJS;}catch(error){console.error(\"Error loading printJS:\",error);throw error;}},[isBrowser]);// Динамическая загрузка PDF.js\nconst loadPDFJS=useCallback(async()=>{if(!isBrowser)return null;if(window.pdfjsLib)return window.pdfjsLib;try{// Загружаем PDF.js из CDN\nconst script=document.createElement(\"script\");script.src=\"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js\";script.async=true;return new Promise((resolve,reject)=>{script.onload=()=>{if(window.pdfjsLib){// Настраиваем worker\nwindow.pdfjsLib.GlobalWorkerOptions.workerSrc=\"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js\";resolve(window.pdfjsLib);}else{reject(new Error(\"PDF.js failed to load\"));}};script.onerror=()=>reject(new Error(\"Failed to load PDF.js\"));document.head.appendChild(script);});}catch(error){console.error(\"Error loading PDF.js:\",error);throw error;}},[isBrowser]);// Рендер PDF в canvas\nconst renderPDFPreview=useCallback(async pdfUrl=>{if(!isBrowser||!canvasRef.current)return;try{setPdfPreviewError(false);const pdfjsLib=await loadPDFJS();if(!pdfjsLib)return;const loadingTask=pdfjsLib.getDocument(pdfUrl);const pdf=await loadingTask.promise;const page=await pdf.getPage(1)// Первая страница\n;const canvas=canvasRef.current;const context=canvas.getContext(\"2d\");// Вычисляем размеры для превью\nconst viewport=page.getViewport({scale:1});const scale=Math.min((previewWidth-4)/viewport.width,(previewHeight-4)/viewport.height);const scaledViewport=page.getViewport({scale});canvas.width=scaledViewport.width;canvas.height=scaledViewport.height;// Рендерим страницу\nconst renderContext={canvasContext:context,viewport:scaledViewport};await page.render(renderContext).promise;}catch(error){console.error(\"Error rendering PDF preview:\",error);setPdfPreviewError(true);}},[previewWidth,previewHeight,loadPDFJS,isBrowser]);// Эффект для рендеринга превью при изменении файла\nuseEffect(()=>{if(isBrowser&&source===\"file\"&&pdfFile&&showPreview){renderPDFPreview(pdfFile);}},[source,pdfFile,showPreview,renderPDFPreview,isBrowser]);const loadImageThroughFetch=async imageUrl=>{if(!isBrowser)return null;try{const response=await fetch(imageUrl);if(response.ok){const blob=await response.blob();return new Promise((resolve,reject)=>{const reader=new FileReader;reader.onload=()=>resolve(reader.result);reader.onerror=()=>reject(new Error(\"Failed to convert blob to base64\"));reader.readAsDataURL(blob);});}}catch(error){console.log(\"Direct fetch failed, trying proxies:\",error.message);}};function replaceUrlsInString(inputStr,replacements){for(const[key,value]of Object.entries(replacements)){if(inputStr.split(\"?\")[0].includes(key.split(\"?\")[0])){return value;}}return inputStr;}let new_src={};// Download current page as PDF using jsPDF + html2canvas\nconst downloadPageAsPDF=useCallback(async()=>{if(!isBrowser){alert(\"This feature is only available in the browser\");return;}try{setIsProcessing(true);const[jsPDF,html2canvas]=await Promise.all([loadJsPDF(),loadHtml2Canvas()]);if(!jsPDF||!html2canvas){alert(\"Failed to load required libraries\");return;}const element=htmlSelector?document.querySelector(htmlSelector):document.body;if(!element){alert(\"Element not found for PDF generation\");return;}const images=element.querySelectorAll(\"img\");for(const img of images){if(!img.src.startsWith(\"data:\")&&!img.src.startsWith(window.location.origin)){const base64=await loadImageThroughFetch(img.src);if(base64){new_src[img.src]=base64;img.src=base64;}}}const canvas=await html2canvas(element,{scale:2,useCORS:false,allowTaint:true,backgroundColor:\"#ffffff\",foreignObjectRendering:true,imageTimeout:15e3,removeContainer:true,x:0,y:0,ignoreElements:element=>{// Игнорируем скрытые элементы\nconst style=window.getComputedStyle(element);return style.display===\"none\"||style.visibility===\"hidden\"||element.tagName===\"SCRIPT\"||element.tagName===\"NOSCRIPT\";},onclone:clonedDoc=>{const clonedImages=clonedDoc.querySelectorAll(\"img\");clonedImages.forEach(img=>{if(!img.src.startsWith(\"data:\")&&!img.src.startsWith(window.location.origin)){let imageBase64=replaceUrlsInString(img.src,new_src);img.src=imageBase64;}img.style.display=\"block\";img.style.maxWidth=\"100%\";});}});const imgData=canvas.toDataURL(\"image/png\");const MAX_PDF_SIZE_MM=5080;const DPI=96;const PX_TO_MM=25.4/DPI;const canvasWidthPx=canvas.width;const canvasHeightPx=canvas.height;const widthMm=canvasWidthPx*PX_TO_MM;const heightMm=canvasHeightPx*PX_TO_MM;const scale=Math.min(MAX_PDF_SIZE_MM/widthMm,MAX_PDF_SIZE_MM/heightMm,1);const scaledWidth=widthMm*scale;const scaledHeight=heightMm*scale;// Создание PDF\nconst pdf=new jsPDF({orientation:scaledWidth>scaledHeight?\"landscape\":\"portrait\",unit:\"mm\",format:[scaledWidth,scaledHeight]});const imgProps=pdf.getImageProperties(imgData);const pdfWidth=pdf.internal.pageSize.getWidth();const pdfHeight=imgProps.height*pdfWidth/imgProps.width;pdf.addImage(imgData,\"PNG\",0,0,pdfWidth,pdfHeight);pdf.save(`${fileName||\"document\"}.pdf`);}catch(error){console.error(\"Error generating PDF:\",error);alert(\"Failed to generate PDF. Please try again.\");}finally{setIsProcessing(false);}},[htmlSelector,fileName,isBrowser,loadJsPDF,loadHtml2Canvas]);// Print current page\nconst printPage=useCallback(async()=>{if(!isBrowser){alert(\"This feature is only available in the browser\");return;}try{const printJS=await loadPrintJS();if(!printJS){// Fallback to native print\nif(htmlSelector){alert(\"Print library not available, using native print\");}window.print();return;}if(htmlSelector){const element=document.querySelector(htmlSelector);if(element){printJS({printable:element,type:\"html\",documentTitle:fileName||\"Document\"});}else{alert(\"Element not found for printing\");}}else{window.print();}}catch(error){console.error(\"Error with printJS:\",error);// Fallback to native print\nwindow.print();}},[htmlSelector,fileName,isBrowser,loadPrintJS]);// Download PDF from URL\nconst downloadPDFFromUrl=useCallback(async()=>{if(!isBrowser){alert(\"This feature is only available in the browser\");return;}if(!pdfUrl){alert(\"Please provide a PDF URL\");return;}const downloadWithBlob=async()=>{const response=await fetch(\"https://cors-anywhere-zq.herokuapp.com/\"+pdfUrl);if(!response.ok)throw new Error(`HTTP ${response.status}`);const blob=await response.blob();// Проверяем, что это действительно PDF\nif(!blob.type.includes(\"pdf\")&&!pdfUrl.toLowerCase().includes(\".pdf\")){console.warn(\"File might not be a PDF\");}const blobUrl=URL.createObjectURL(blob);const link=document.createElement(\"a\");link.href=blobUrl;link.download=`${fileName||\"document\"}.pdf`;// Делаем ссылку невидимой\nlink.style.position=\"fixed\";link.style.left=\"-9999px\";document.body.appendChild(link);link.click();// Cleanup\nsetTimeout(()=>{document.body.removeChild(link);URL.revokeObjectURL(blobUrl);},100);};const fallbackDownload=()=>{const link=document.createElement(\"a\");link.href=pdfUrl;link.download=`${fileName||\"document\"}.pdf`;// Попытка заставить браузер скачать, а не открыть\nif(pdfUrl.startsWith(window.location.origin)){link.target=\"_self\";}else{link.target=\"_blank\";link.rel=\"noopener noreferrer\";}document.body.appendChild(link);link.click();document.body.removeChild(link);};try{await downloadWithBlob();}catch(error){console.warn(\"Blob download failed:\",error);fallbackDownload();}},[pdfUrl,fileName,isBrowser]);// Print PDF from URL using multiple fallback methods\nconst printPDFFromUrl=useCallback(async()=>{if(!isBrowser){alert(\"This feature is only available in the browser\");return;}if(!pdfUrl){alert(\"Please provide a PDF URL\");return;}setIsProcessing(true);try{const printJS=await loadPrintJS();if(!printJS){// Fallback: open in new window\nconst newWindow=window.open(pdfUrl,\"_blank\");if(newWindow){newWindow.focus();}else{alert(\"Popup blocked. Please allow popups and try again.\");}setIsProcessing(false);return;}// Try printJS library first\nconst tryPrintJS=()=>{try{printJS({printable:pdfUrl,type:\"pdf\",showModal:true,modalMessage:\"Retrieving Document...\",onError:error=>{console.error(\"PrintJS failed:\",error);printJS({printable:\"https://cors-anywhere-zq.herokuapp.com/\"+pdfUrl,type:\"pdf\",showModal:true,modalMessage:\"Retrieving Document...\",onError:error=>{console.error(\"PrintJS failed:\",error);trySimpleWindow();}});}});setIsProcessing(false);return true;}catch(error){console.error(\"PrintJS failed:\",error);return false;}};// Fallback: open in new window\nconst trySimpleWindow=()=>{try{const newWindow=window.open(pdfUrl,\"_blank\");if(newWindow){newWindow.focus();setIsProcessing(false);return true;}else{alert(\"Popup blocked. Please allow popups and try again.\");setIsProcessing(false);return false;}}catch(error){console.error(\"Window open failed:\",error);setIsProcessing(false);return false;}};if(!tryPrintJS()){setTimeout(()=>trySimpleWindow(),100);}}catch(error){console.error(\"Error loading printJS:\",error);// Fallback to opening in new window\ntry{const newWindow=window.open(pdfUrl,\"_blank\");if(newWindow){newWindow.focus();}else{alert(\"Popup blocked. Please allow popups and try again.\");}}catch(windowError){console.error(\"Window open failed:\",windowError);alert(\"Unable to open PDF for printing\");}setIsProcessing(false);}},[pdfUrl,isBrowser,loadPrintJS]);// Open PDF in new tab (for preview click)\nconst openPDFInNewTab=useCallback(()=>{if(!isBrowser)return;if(source===\"url\"&&pdfUrl){window.open(pdfUrl,\"_blank\");}},[source,pdfUrl,isBrowser]);// Download uploaded PDF file\nconst downloadUploadedPDF=useCallback(async()=>{if(!isBrowser){alert(\"This feature is only available in the browser\");return;}if(!pdfFile){alert(\"Please upload a PDF file\");return;}try{// get data from blob URL\nconst response=await fetch(pdfFile);const blob=await response.blob();// Create new blob with valide MIME type\nconst pdfBlob=new Blob([blob],{type:\"application/pdf\"});const url=URL.createObjectURL(pdfBlob);const link=document.createElement(\"a\");link.href=url;link.download=`${fileName||\"document\"}.pdf`;document.body.appendChild(link);link.click();document.body.removeChild(link);// release memory\nURL.revokeObjectURL(url);}catch(error){console.error(\"Error downloading file:\",error);alert(\"Error downloading file\");}},[pdfFile,fileName,isBrowser]);// Print uploaded PDF file\nconst printUploadedPDF=useCallback(async()=>{if(!isBrowser){alert(\"This feature is only available in the browser\");return;}if(!pdfFile){alert(\"Please upload a PDF file\");return;}try{const printJS=await loadPrintJS();if(printJS){printJS(pdfFile,\"pdf\");}else{// Fallback: open in new window\nwindow.open(pdfFile,\"_blank\");}}catch(error){console.error(\"Error loading printJS:\",error);// Fallback: open in new window\nwindow.open(pdfFile,\"_blank\");}},[pdfFile,isBrowser,loadPrintJS]);// Main click handler\nconst handleClick=useCallback(()=>{if(!isBrowser)return;if(action===\"download\"){switch(source){case\"page\":downloadPageAsPDF();break;case\"url\":downloadPDFFromUrl();break;case\"file\":downloadUploadedPDF();break;default:break;}}else if(action===\"print\"){switch(source){case\"page\":printPage();break;case\"url\":printPDFFromUrl();break;case\"file\":printUploadedPDF();break;default:break;}}},[action,source,downloadPageAsPDF,downloadPDFFromUrl,downloadUploadedPDF,printPage,printPDFFromUrl,printUploadedPDF,isBrowser]);// Check if button should be disabled\nconst isDisabled=!isBrowser||isProcessing||source===\"url\"&&!pdfUrl||source===\"file\"&&!pdfFile;// Get preview URL\nconst previewUrl=source===\"url\"?pdfUrl:pdfFile;const shouldShowPreview=isBrowser&&showPreview&&previewUrl&&(source===\"url\"||source===\"file\");const shouldShowButton=showButton!==false// Default to true if not specified\n;// Container style based on layout\nconst containerStyle={display:\"flex\",alignItems:layout===\"horizontal\"?\"center\":\"stretch\",flexDirection:layout===\"horizontal\"?\"row\":\"column\",gap:\"16px\",width:\"fit-content\"};// Determine if we need container (when both preview and button are shown)\nconst needsContainer=shouldShowPreview&&shouldShowButton;// PDF Preview Component - с canvas для загруженных файлов\nconst PDFPreview=()=>{if(!isBrowser){return /*#__PURE__*/_jsx(PDFPreviewFallback,{});}if(source===\"url\"){// For external URLs, use iframe with PDF viewer\nconst handleError=error=>{setPdfPreviewError(true);};const handleLoad=event=>{try{const iframe=event.target.contentWindow.length;if(iframe==0){setPdfPreviewError(true);}else{setPdfPreviewError(false);}}catch(error){setPdfPreviewError(true);}};if(pdfPreviewError){return /*#__PURE__*/_jsx(PDFPreviewFallback,{});}return /*#__PURE__*/_jsx(\"iframe\",{src:`${previewUrl}#page=1&view=FitH`,style:{width:\"100%\",height:\"100%\",border:\"none\",borderRadius:`${previewBorderRadius}px`},title:\"PDF Preview\",onError:handleError,onLoad:handleLoad});}else if(source===\"file\"&&pdfFile){// For uploaded files, use canvas with PDF.js rendering\nif(pdfPreviewError){return /*#__PURE__*/_jsx(PDFPreviewFallback,{});}return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"#ffffff\",borderRadius:`${previewBorderRadius}px`},children:/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:{maxWidth:\"100%\",maxHeight:\"100%\",borderRadius:`${previewBorderRadius}px`}})});}return null;};// Fallback компонент для случаев, когда PDF не может быть загружен\nconst PDFPreviewFallback=()=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",height:\"100%\",width:\"100%\",color:\"#666\",textAlign:\"center\",padding:\"20px\",background:\"linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"48px\",marginBottom:\"16px\",opacity:.8},children:\"📄\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"16px\",fontWeight:\"600\",marginBottom:\"8px\",color:\"#333\"},children:\"PDF Document\"}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:\"12px\",opacity:.7,marginBottom:\"12px\",wordBreak:\"break-word\"},children:[fileName||\"document\",\".pdf\"]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"11px\",opacity:.6,background:\"rgba(255,255,255,0.8)\",padding:\"6px 12px\",borderRadius:\"16px\",border:\"1px solid rgba(0,0,0,0.1)\"},children:!isBrowser?\"Available in browser\":\"Click to view\"})]});// ⬇️ Replace your whole previewElement with this\nconst previewElement=shouldShowPreview?/*#__PURE__*/_jsxs(motion.div,{onClick:source===\"url\"?openPDFInNewTab:undefined,style:{width:`${previewWidth}px`,height:`${previewHeight}px`,borderRadius:`${previewBorderRadius}px`,overflow:\"hidden\",cursor:isBrowser&&source===\"url\"?\"pointer\":\"default\",border:\"2px solid #e0e0e0\",backgroundColor:\"#f8f9fa\",position:\"relative\",boxShadow:\"0 2px 8px rgba(0,0,0,0.1)\"},// 👇 only animate hover when it's actually clickable\nwhileHover:isBrowser&&source===\"url\"?{scale:1.02,boxShadow:\"0 4px 16px rgba(0,0,0,0.15)\"}:{},whileTap:isBrowser&&source===\"url\"?{scale:.98}:{},children:[/*#__PURE__*/_jsx(PDFPreview,{}),isBrowser&&source===\"url\"&&/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,backgroundColor:\"rgba(0,0,0,0)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:`${previewBorderRadius}px`},whileHover:{backgroundColor:\"rgba(0,0,0,0.1)\"},children:/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,scale:.8},whileHover:{opacity:1,scale:1},style:{backgroundColor:\"rgba(0,0,0,0.8)\",color:\"white\",padding:\"8px 16px\",borderRadius:\"20px\",fontSize:\"14px\",fontWeight:\"500\"},children:\"Click to open\"})})]}):null;// If not in browser, show a simple static version\nif(!isBrowser){return /*#__PURE__*/_jsxs(\"div\",{style:needsContainer?containerStyle:{},children:[showPreview&&/*#__PURE__*/_jsx(\"div\",{style:{width:`${previewWidth}px`,height:`${previewHeight}px`,borderRadius:`${previewBorderRadius}px`,overflow:\"hidden\",border:\"2px solid #e0e0e0\",backgroundColor:\"#f8f9fa\"},children:/*#__PURE__*/_jsx(PDFPreviewFallback,{})}),shouldShowButton&&/*#__PURE__*/_jsx(\"button\",{style:{backgroundColor:\"#ccc\",color:textColor,fontSize:`${fontSize}px`,fontFamily,borderRadius:`${borderRadius}px`,padding:`${paddingY}px ${paddingX}px`,border:borderWidth>0?`${borderWidth}px solid ${borderColor}`:\"none\",cursor:\"not-allowed\",outline:\"none\",opacity:.7},disabled:true,children:buttonText})]});}return /*#__PURE__*/_jsxs(\"div\",{style:needsContainer?containerStyle:{},children:[shouldShowPreview&&previewElement,shouldShowButton&&/*#__PURE__*/_jsx(motion.button,{onClick:handleClick,disabled:isDisabled,style:{backgroundColor:isDisabled?\"#ccc\":backgroundColor,color:textColor,fontSize:`${fontSize}px`,fontFamily,borderRadius:`${borderRadius}px`,padding:`${paddingY}px ${paddingX}px`,border:borderWidth>0?`${borderWidth}px solid ${borderColor}`:\"none\",cursor:isDisabled?\"not-allowed\":\"pointer\",outline:\"none\",transition:\"all 0.2s ease\",opacity:isDisabled?.7:1,width:\"fit-content\",alignSelf:\"center\"},whileHover:!isDisabled?{backgroundColor:hoverColor,scale:1.05}:{},whileTap:!isDisabled?{scale:.95}:{},children:isProcessing?\"Processing...\":buttonText})]});}addPropertyControls(PDFButton,{action:{title:\"Action\",type:ControlType.Enum,options:[\"download\",\"print\"],optionTitles:[\"Download PDF\",\"Print\"],defaultValue:\"download\"},source:{title:\"PDF Source\",type:ControlType.Enum,options:[\"page\",\"url\",\"file\"],optionTitles:[\"Current Page\",\"PDF URL\",\"Upload File\"],defaultValue:\"page\"},pdfUrl:{title:\"PDF URL\",type:ControlType.String,defaultValue:\"\",placeholder:\"https://example.com/file.pdf\",hidden:props=>props.source!==\"url\"},pdfFile:{title:\"Upload PDF\",type:ControlType.File,allowedFileTypes:[\"pdf\"],hidden:props=>props.source!==\"file\"},htmlSelector:{title:\"CSS Selector\",type:ControlType.String,defaultValue:\"\",placeholder:\".content, #main (leave empty for full page)\",hidden:props=>props.source!==\"page\"},fileName:{title:\"File Name\",type:ControlType.String,defaultValue:\"document\",placeholder:\"document\"},showButton:{title:\"Show Button\",type:ControlType.Boolean,defaultValue:true},showPreview:{title:\"Show PDF Preview\",type:ControlType.Boolean,defaultValue:false,hidden:props=>props.source===\"page\"},layout:{title:\"Layout\",type:ControlType.Enum,options:[\"horizontal\",\"vertical\"],optionTitles:[\"Horizontal\",\"Vertical\"],defaultValue:\"vertical\",hidden:props=>!props.showPreview||props.source===\"page\"||props.showButton===false},previewWidth:{title:\"Preview Width\",type:ControlType.Number,min:100,max:800,defaultValue:200,hidden:props=>!props.showPreview||props.source===\"page\"},previewHeight:{title:\"Preview Height\",type:ControlType.Number,min:100,max:600,defaultValue:280,hidden:props=>!props.showPreview||props.source===\"page\"},previewBorderRadius:{title:\"Preview Border Radius\",type:ControlType.Number,min:0,max:20,defaultValue:8,hidden:props=>!props.showPreview||props.source===\"page\"},buttonText:{title:\"Button Text\",type:ControlType.String,defaultValue:\"Download PDF\",hidden:props=>props.showButton===false},backgroundColor:{title:\"Background Color\",type:ControlType.Color,defaultValue:\"#007AFF\",hidden:props=>props.showButton===false},textColor:{title:\"Text Color\",type:ControlType.Color,defaultValue:\"#FFFFFF\",hidden:props=>props.showButton===false},hoverColor:{title:\"Hover Color\",type:ControlType.Color,defaultValue:\"#0056CC\",hidden:props=>props.showButton===false},fontSize:{title:\"Font Size\",type:ControlType.Number,min:8,max:72,defaultValue:16,hidden:props=>props.showButton===false},fontFamily:{title:\"Font Family\",type:ControlType.String,defaultValue:\"system-ui, -apple-system, sans-serif\",hidden:props=>props.showButton===false},borderRadius:{title:\"Border Radius\",type:ControlType.Number,min:0,max:50,defaultValue:8,hidden:props=>props.showButton===false},paddingX:{title:\"Horizontal Padding\",type:ControlType.Number,min:0,max:100,defaultValue:20,hidden:props=>props.showButton===false},paddingY:{title:\"Vertical Padding\",type:ControlType.Number,min:0,max:100,defaultValue:12,hidden:props=>props.showButton===false},borderWidth:{title:\"Border Width\",type:ControlType.Number,min:0,max:10,defaultValue:0,hidden:props=>props.showButton===false},borderColor:{title:\"Border Color\",type:ControlType.Color,defaultValue:\"#CCCCCC\",hidden:props=>props.borderWidth===0||props.showButton===false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PDFButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PDFButton_2.map"],"mappings":"sQAIG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,SAAO,SAAO,SAAO,UAAQ,eAAa,WAAS,aAAW,kBAAgB,YAAU,WAAS,aAAW,eAAa,WAAS,YAAS,cAAY,cAAY,cAAW,cAAY,eAAa,gBAAc,sBAAoB,SAAO,eAAY,EAAW,CAAC,EAAa,GAAiBA,EAAS,GAAM,CAAM,CAAC,EAAgB,GAAoBA,EAAS,GAAM,CAAM,CAAC,EAAU,IAAcA,EAAS,GAAM,CAAO,EAAUC,EAAO,KAAK,CAC5e,MAAc,CAAC,GAAoB,IAAS,OAAY,E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