{"version":3,"file":"PdfViewer.fW2LTCRt.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/xViZJQP1iWKuikeh134j/YAeDUe1Z7RfYYnxHF1vl/PdfViewer.js"],"sourcesContent":["// PDF Viewer component with file size management and lazy loading\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState,useRef,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * PDF Viewer with file size management and lazy loading\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 800\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function PdfViewer(props){const{pdfFile=\"https://framerusercontent.com/assets/cXD28Ei2Q2aXfiRxJzNqQCKUM.pdf\",backgroundColor=\"#F5F5F5\",loadingColor=\"#000000\",errorColor=\"#FF5588\",showControls=true,initialPage=1,zoom=100,maxFileSize=10,loadingLogo}=props;const[loading,setLoading]=useState(true);const[error,setError]=useState(null);const[currentPage,setCurrentPage]=useState(initialPage);const[totalPages,setTotalPages]=useState(0);const[fileSize,setFileSize]=useState(0);const iframeRef=useRef(null);const isStatic=useIsStaticRenderer();const canvasRef=useRef(null);const[pdfDoc,setPdfDoc]=useState(null);const[scale,setScale]=useState(1);const renderTaskRef=useRef(null);const containerRef=useRef(null);useEffect(()=>{if(!pdfFile||isStatic){startTransition(()=>{setLoading(false);setError(null);});return;}startTransition(()=>{setLoading(true);setError(null);});// Check file size before loading\n// Load PDF.js library\nconst loadPdfJs=async()=>{try{if(typeof window===\"undefined\")return;// Load PDF.js from CDN\nif(!window.pdfjsLib){const script=document.createElement(\"script\");script.src=\"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js\";script.async=true;await new Promise((resolve,reject)=>{script.onload=resolve;script.onerror=reject;document.head.appendChild(script);});window.pdfjsLib.GlobalWorkerOptions.workerSrc=\"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js\";}// Check file size\nconst response=await fetch(pdfFile,{method:\"HEAD\"});const contentLength=response.headers.get(\"content-length\");if(contentLength){const sizeInMB=parseInt(contentLength)/(1024*1024);startTransition(()=>setFileSize(sizeInMB));if(sizeInMB>maxFileSize){throw new Error(`File troppo grande: ${sizeInMB.toFixed(2)}MB (max: ${maxFileSize}MB)`);}}// Load PDF document\nconst loadingTask=window.pdfjsLib.getDocument({url:pdfFile,disableAutoFetch:false,disableStream:false});const pdf=await loadingTask.promise;startTransition(()=>{setPdfDoc(pdf);setTotalPages(pdf.numPages);setLoading(false);setError(null);});}catch(err){startTransition(()=>{setLoading(false);setError(err.message||\"Impossibile caricare il PDF\");});}};loadPdfJs();},[pdfFile,maxFileSize,isStatic]);// Render current page\nuseEffect(()=>{if(!pdfDoc||!canvasRef.current||isStatic)return;const renderPage=async()=>{try{// Cancel previous render task if it exists\nif(renderTaskRef.current){renderTaskRef.current.cancel();}const page=await pdfDoc.getPage(currentPage);const canvas=canvasRef.current;if(!canvas)return;const context=canvas.getContext(\"2d\",{alpha:false});if(!context)return;const viewport=page.getViewport({scale:zoom/100*scale});// Use device pixel ratio for sharper rendering\nconst outputScale=window.devicePixelRatio||1;canvas.height=viewport.height;canvas.width=viewport.width;canvas.width=viewport.width*outputScale;canvas.height=viewport.height*outputScale;canvas.style.width=`${viewport.width}px`;canvas.style.height=`${viewport.height}px`;// Scale context for high DPI displays\ncontext.scale(outputScale,outputScale);const renderContext={canvasContext:context,viewport:viewport,intent:\"display\",enableWebGL:true,renderInteractiveForms:false};// Store the render task so we can cancel it if needed\nrenderTaskRef.current=page.render(renderContext);await renderTaskRef.current.promise;renderTaskRef.current=null;}catch(err){// Ignore cancellation errors\nif(err.name===\"RenderingCancelledException\"){return;}startTransition(()=>{setError(err.message||\"Errore nel rendering della pagina\");});}};renderPage();// Cleanup function to cancel render on unmount\nreturn()=>{if(renderTaskRef.current){renderTaskRef.current.cancel();}};},[pdfDoc,currentPage,zoom,scale,isStatic]);// Calculate scale based on container size\nuseEffect(()=>{if(!canvasRef.current||!pdfDoc)return;const updateScale=()=>{const container=canvasRef.current?.parentElement;if(!container)return;const containerWidth=container.clientWidth;const containerHeight=container.clientHeight;pdfDoc.getPage(1).then(page=>{const viewport=page.getViewport({scale:1});const scaleX=(containerWidth-40)/viewport.width;const scaleY=(containerHeight-100)/viewport.height;const newScale=Math.min(scaleX,scaleY,2);startTransition(()=>setScale(newScale));});};updateScale();if(typeof window!==\"undefined\"){window.addEventListener(\"resize\",updateScale);return()=>window.removeEventListener(\"resize\",updateScale);}},[pdfDoc]);const handlePrevPage=()=>{if(currentPage>1){startTransition(()=>setCurrentPage(currentPage-1));}};const handleNextPage=()=>{if(currentPage<totalPages){startTransition(()=>setCurrentPage(currentPage+1));}};const handleZoomIn=()=>{if(iframeRef.current?.contentWindow){iframeRef.current.contentWindow.postMessage({type:\"zoom\",value:1.2},\"*\");}startTransition(()=>setScale(prev=>Math.min(prev*1.2,3)));};const handleZoomOut=()=>{if(iframeRef.current?.contentWindow){iframeRef.current.contentWindow.postMessage({type:\"zoom\",value:.8},\"*\");}startTransition(()=>setScale(prev=>Math.max(prev*.8,.5)));};if(isStatic){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:loadingColor,fontSize:16,fontWeight:500,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\"},children:\"PDF Viewer\"});}if(loading){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:20},children:[loadingLogo?/*#__PURE__*/_jsx(\"div\",{style:{animation:\"fadeIn 0.3s ease-in-out\"},children:/*#__PURE__*/_jsx(\"img\",{src:loadingLogo.src,srcSet:loadingLogo.srcSet,alt:loadingLogo.alt||\"Loading\",style:{maxWidth:\"120px\",maxHeight:\"120px\",objectFit:\"contain\"}})}):/*#__PURE__*/_jsx(\"div\",{style:{width:48,height:48,border:`4px solid ${loadingColor}20`,borderTopColor:loadingColor,borderRadius:\"50%\",animation:\"spin 0.8s linear infinite\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:loadingColor,fontSize:16,fontWeight:500,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\",marginBottom:8},children:\"Caricamento PDF...\"}),fileSize>0&&/*#__PURE__*/_jsxs(\"div\",{style:{color:loadingColor,fontSize:13,opacity:.5,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\"},children:[fileSize.toFixed(2),\" MB\"]})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                        @keyframes spin {\n                            to { transform: rotate(360deg); }\n                        }\n                        @keyframes fadeIn {\n                            from { opacity: 0; transform: scale(0.9); }\n                            to { opacity: 1; transform: scale(1); }\n                        }\n                    `})]});}if(error){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:16,padding:32},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:64,height:64,borderRadius:\"50%\",backgroundColor:`${errorColor}15`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"32\",height:\"32\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:errorColor,strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"10\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"8\",x2:\"12\",y2:\"12\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"16\",x2:\"12.01\",y2:\"16\"})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",maxWidth:400},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:errorColor,fontSize:16,fontWeight:600,marginBottom:8,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\"},children:\"Errore di caricamento\"}),/*#__PURE__*/_jsx(\"div\",{style:{color:errorColor,fontSize:14,opacity:.8,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\"},children:error})]})]});}return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",backgroundColor,display:\"flex\",flexDirection:\"column\",position:\"relative\",overflow:\"auto\",alignItems:\"center\",padding:24,userSelect:\"none\"},onContextMenu:e=>e.preventDefault(),children:[/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:{maxWidth:\"100%\",height:\"auto\",boxShadow:\"0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04)\",backgroundColor:\"#FFFFFF\",borderRadius:12,transition:\"transform 0.2s ease\"},onContextMenu:e=>e.preventDefault()}),showControls&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:32,left:\"50%\",transform:\"translateX(-50%)\",background:\"rgba(255, 255, 255, 0.95)\",backdropFilter:\"blur(20px)\",WebkitBackdropFilter:\"blur(20px)\",borderRadius:16,padding:\"12px 20px\",display:\"flex\",gap:4,alignItems:\"center\",boxShadow:\"0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08)\",border:\"1px solid rgba(255, 255, 255, 0.8)\"},children:[/*#__PURE__*/_jsx(\"button\",{onClick:handlePrevPage,disabled:currentPage<=1,style:{background:currentPage<=1?\"transparent\":\"rgba(0, 0, 0, 0.04)\",border:\"none\",color:currentPage<=1?\"rgba(0, 0, 0, 0.2)\":\"#000000\",cursor:currentPage<=1?\"not-allowed\":\"pointer\",padding:\"8px 12px\",fontSize:18,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\",borderRadius:10,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minWidth:36,height:36},onMouseEnter:e=>{if(currentPage>1){e.currentTarget.style.background=\"rgba(0, 0, 0, 0.08)\";}},onMouseLeave:e=>{if(currentPage>1){e.currentTarget.style.background=\"rgba(0, 0, 0, 0.04)\";}},\"aria-label\":\"Pagina precedente\",children:\"←\"}),/*#__PURE__*/_jsxs(\"div\",{style:{color:\"#000000\",fontSize:14,fontWeight:500,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\",minWidth:80,textAlign:\"center\",padding:\"0 12px\"},children:[currentPage,totalPages>0&&/*#__PURE__*/_jsxs(\"span\",{style:{opacity:.4,fontWeight:400},children:[\" / \",totalPages]})]}),/*#__PURE__*/_jsx(\"button\",{onClick:handleNextPage,disabled:currentPage>=totalPages,style:{background:currentPage>=totalPages?\"transparent\":\"rgba(0, 0, 0, 0.04)\",border:\"none\",color:currentPage>=totalPages?\"rgba(0, 0, 0, 0.2)\":\"#000000\",cursor:currentPage>=totalPages?\"not-allowed\":\"pointer\",padding:\"8px 12px\",fontSize:18,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\",borderRadius:10,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minWidth:36,height:36},onMouseEnter:e=>{if(currentPage<totalPages){e.currentTarget.style.background=\"rgba(0, 0, 0, 0.08)\";}},onMouseLeave:e=>{if(currentPage<totalPages){e.currentTarget.style.background=\"rgba(0, 0, 0, 0.04)\";}},\"aria-label\":\"Pagina successiva\",children:\"→\"}),/*#__PURE__*/_jsx(\"div\",{style:{width:1,height:24,backgroundColor:\"rgba(0, 0, 0, 0.1)\",margin:\"0 8px\"}}),/*#__PURE__*/_jsx(\"button\",{onClick:handleZoomOut,style:{background:\"rgba(0, 0, 0, 0.04)\",border:\"none\",color:\"#000000\",cursor:\"pointer\",padding:\"8px 12px\",fontSize:18,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\",borderRadius:10,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minWidth:36,height:36,fontWeight:300},onMouseEnter:e=>{e.currentTarget.style.background=\"rgba(0, 0, 0, 0.08)\";},onMouseLeave:e=>{e.currentTarget.style.background=\"rgba(0, 0, 0, 0.04)\";},\"aria-label\":\"Riduci zoom\",children:\"−\"}),/*#__PURE__*/_jsx(\"button\",{onClick:handleZoomIn,style:{background:\"rgba(0, 0, 0, 0.04)\",border:\"none\",color:\"#000000\",cursor:\"pointer\",padding:\"8px 12px\",fontSize:18,fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\",borderRadius:10,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minWidth:36,height:36,fontWeight:300},onMouseEnter:e=>{e.currentTarget.style.background=\"rgba(0, 0, 0, 0.08)\";},onMouseLeave:e=>{e.currentTarget.style.background=\"rgba(0, 0, 0, 0.04)\";},\"aria-label\":\"Aumenta zoom\",children:\"+\"})]})]});}addPropertyControls(PdfViewer,{pdfFile:{type:ControlType.File,title:\"PDF File\",allowedFileTypes:[\"pdf\"]},loadingLogo:{type:ControlType.ResponsiveImage,title:\"Loading Logo\"},maxFileSize:{type:ControlType.Number,title:\"Max File Size\",defaultValue:10,min:1,max:50,step:1,unit:\"MB\"},initialPage:{type:ControlType.Number,title:\"Initial Page\",defaultValue:1,min:1,step:1},zoom:{type:ControlType.Number,title:\"Zoom Level\",defaultValue:100,min:50,max:200,step:10,unit:\"%\"},showControls:{type:ControlType.Boolean,title:\"Show Controls\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F5F5F5\"},loadingColor:{type:ControlType.Color,title:\"Loading Color\",defaultValue:\"#000000\"},errorColor:{type:ControlType.Color,title:\"Error Color\",defaultValue:\"#FF5588\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PdfViewer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"800\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PdfViewer.map"],"mappings":"uNASG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,UAAQ,qEAAqE,kBAAgB,UAAU,eAAa,UAAU,aAAW,UAAU,eAAa,GAAK,cAAY,EAAE,OAAK,IAAI,cAAY,GAAG,eAAa,EAAW,CAAC,EAAQ,GAAYA,EAAS,GAAK,CAAM,CAAC,EAAM,GAAUA,EAAS,KAAK,CAAM,CAAC,EAAY,GAAgBA,EAAS,EAAY,CAAM,CAAC,EAAW,GAAeA,EAAS,EAAE,CAAM,CAAC,EAAS,GAAaA,EAAS,EAAE,CAAO,EAAUC,EAAO,KAAK,CAAO,EAAS,GAAqB,CAAO,EAAUA,EAAO,KAAK,CAAM,CAAC,EAAO,GAAWD,EAAS,KAAK,CAAM,CAAC,EAAM,GAAUA,EAAS,EAAE,CAAO,EAAcC,EAAO,KAAK,CAAO,EAAaA,EAAO,KAAK,CAAC,MAAc,CAAC,GAAG,CAAC,GAAS,EAAS,CAAC,MAAoB,CAAC,EAAW,GAAM,CAAC,EAAS,KAAK,EAAG,CAAC,OAAQ,MAAoB,CAAC,EAAW,GAAK,CAAC,EAAS,KAAK,EAAG,EAEj2B,SAAS,CAAC,GAAG,CAAC,GAAU,IAAS,OAAY,OAC7D,GAAG,CAAC,EAAO,SAAS,CAAC,IAAM,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,oEAAoE,EAAO,MAAM,GAAK,MAAM,IAAI,SAAS,EAAQ,IAAS,CAAC,EAAO,OAAO,EAAQ,EAAO,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