{"version":3,"file":"PDF_Viewer.Cl83wxNV.mjs","names":[],"sources":["https:/framerusercontent.com/modules/RR1XhbQVQ5eso5mqLxDE/Jj87AqmotHfjAHLPwWVm/PDF_Viewer.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function GoogleDrivePDFViewer({fileId,width=\"100%\",height=\"100%\",showBorder=false,backgroundColor=\"#FFFFFF\"}){const viewerUrl=`https://drive.google.com/file/d/${fileId}/preview`;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",minHeight:\"500px\",position:\"relative\",backgroundColor,borderRadius:showBorder?\"12px\":\"0\",border:showBorder?\"1px solid #E2E8F0\":\"none\",boxShadow:showBorder?\"0 2px 4px rgba(0,0,0,0.05)\":\"none\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"iframe\",{src:viewerUrl,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",border:\"none\",backgroundColor:\"transparent\"},allow:\"autoplay\",title:\"PDF Viewer\"})});}addPropertyControls(GoogleDrivePDFViewer,{fileId:{type:ControlType.String,title:\"File ID\",defaultValue:\"\",placeholder:\"Enter Google Drive File ID\"},showBorder:{type:ControlType.Boolean,title:\"Show Border\",defaultValue:false},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#FFFFFF\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GoogleDrivePDFViewer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PDF_Viewer.map"],"mappings":"iOAA+F,SAAwB,EAAqB,CAAC,SAAO,QAAM,OAAO,SAAO,OAAO,cAAW,EAAM,kBAAgB,UAAU,CAAC,CAAC,IAAM,GAAW,kCAAkC,EAAO,UAAU,MAAoB,GAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,SAAS,WAAW,kBAAgB,aAAa,EAAW,OAAO,IAAI,OAAO,EAAW,oBAAoB,OAAO,UAAU,EAAW,6BAA6B,OAAO,SAAS,QAAS,EAAC,SAAsB,EAAK,SAAS,CAAC,IAAI,EAAU,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,OAAO,gBAAgB,aAAc,EAAC,MAAM,WAAW,MAAM,YAAa,EAAC,AAAC,EAAC,AAAE,cAAA,AAAhwB,GAA2C,IAAoD,CAAiqB,EAAoB,EAAqB,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,aAAa,GAAG,YAAY,4BAA6B,EAAC,WAAW,CAAC,KAAK,EAAY,QAAQ,MAAM,cAAc,cAAa,CAAM,EAAC,gBAAgB,CAAC,KAAK,EAAY,MAAM,MAAM,mBAAmB,aAAa,SAAU,CAAC,EAAC"}