{"version":3,"file":"DigitalSignature.Da00PmVC.mjs","names":["useRef","useState","startTransition","_Fragment"],"sources":["https:/framerusercontent.com/modules/NP3yx3phgQJcsIWQu6dE/7dsDYcgqU72l65Z6AV0Y/DigitalSignature.js"],"sourcesContent":["// Digital signature component with customer data collection and persistent storage\n// Once signed, collects name, surname, and billing data for invoice\n// Signature persists in memory even after page refresh\n// Minimal institutional UI with Inter Display font\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useRef,useEffect,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Digital Signature Component\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 800\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function DigitalSignature(props){const{title,instructionText,clearButtonText,submitButtonText,firstNameLabel,lastNameLabel,emailLabel,addressLabel,cityLabel,postalCodeLabel,countryLabel,vatNumberLabel,recipientCodeLabel,companyNameLabel,strokeColor=\"#000000\",strokeWidth=2,containerBorderRadius=12,padding=40,fontSize=15,storageID=\"signature_v1\",shareInUrl=true,formSparkUrl=\"https://submit-form.com/H0sUorz5r\",sendToFormSpark=false}=props;const canvasRef=useRef(null);const[isDrawing,setIsDrawing]=useState(false);const[hasSignature,setHasSignature]=useState(false);const[showForm,setShowForm]=useState(false);const[isSaved,setIsSaved]=useState(false);const[savedData,setSavedData]=useState(null);const[tempSignature,setTempSignature]=useState(\"\");const[showSavedDetails,setShowSavedDetails]=useState(false);const[storageWarning,setStorageWarning]=useState(\"\");const[submitStatus,setSubmitStatus]=useState(\"idle\");const[submitError,setSubmitError]=useState(\"\");const getSafeStorage=()=>{if(typeof window===\"undefined\")return null;try{return window.localStorage;}catch(e){return null;}};const readUrlData=()=>{if(typeof window===\"undefined\")return null;if(!shareInUrl)return null;const hash=window.location?.hash||\"\";const prefix=`#sig:${encodeURIComponent(storageID)}=`;if(!hash.startsWith(prefix))return null;const payload=hash.slice(prefix.length);if(!payload)return null;try{const json=decodeURIComponent(atob(payload));return JSON.parse(json);}catch(e){return null;}};const writeUrlData=data=>{if(typeof window===\"undefined\")return;if(!shareInUrl)return;try{const json=JSON.stringify(data);const payload=btoa(encodeURIComponent(json));window.location.hash=`sig:${encodeURIComponent(storageID)}=${payload}`;}catch(e){// ignore\n}};const[billingData,setBillingData]=useState({companyName:\"\",firstName:\"\",lastName:\"\",email:\"\",address:\"\",city:\"\",postalCode:\"\",country:\"\",vatNumber:\"\",recipientCode:\"\",acceptTerms:false});// Load saved signature on mount\nuseEffect(()=>{const storage=getSafeStorage();if(!storage){startTransition(()=>setStorageWarning(\"Persistent storage is not available in this environment. The signature may not be saved after refresh.\"));return;}startTransition(()=>setStorageWarning(\"\"));const fromUrl=readUrlData();const saved=fromUrl?JSON.stringify(fromUrl):storage?.getItem(storageID);if(saved){try{const data=JSON.parse(saved);startTransition(()=>{setSavedData(data);setIsSaved(true);setHasSignature(true);setShowSavedDetails(true);});// Restore signature to canvas\nconst canvas=canvasRef.current;if(canvas){const ctx=canvas.getContext(\"2d\");if(ctx){const img=new Image;img.onload=()=>{ctx.drawImage(img,0,0);};img.src=data.signature;}}}catch(e){console.error(\"Error loading signature:\",e);}}else{// Reset if no data found for this ID\nstartTransition(()=>{setSavedData(null);setIsSaved(false);setHasSignature(false);setShowForm(false);setTempSignature(\"\");setBillingData({companyName:\"\",firstName:\"\",lastName:\"\",email:\"\",address:\"\",city:\"\",postalCode:\"\",country:\"\",vatNumber:\"\",recipientCode:\"\",acceptTerms:false});});}},[storageID,shareInUrl]);// Initialize canvas\nuseEffect(()=>{const canvas=canvasRef.current;if(!canvas)return;const rect=canvas.getBoundingClientRect();canvas.width=rect.width*2;canvas.height=rect.height*2;const ctx=canvas.getContext(\"2d\");if(ctx){ctx.scale(2,2);ctx.lineCap=\"round\";ctx.lineJoin=\"round\";}},[]);const startDrawing=e=>{if(isSaved)return;const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\");if(!ctx)return;ctx.strokeStyle=strokeColor;ctx.lineWidth=strokeWidth;startTransition(()=>setIsDrawing(true));const rect=canvas.getBoundingClientRect();const x=\"touches\"in e?e.touches[0].clientX-rect.left:e.clientX-rect.left;const y=\"touches\"in e?e.touches[0].clientY-rect.top:e.clientY-rect.top;ctx.beginPath();ctx.moveTo(x,y);};const draw=e=>{if(!isDrawing||isSaved)return;const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\");if(!ctx)return;const rect=canvas.getBoundingClientRect();const x=\"touches\"in e?e.touches[0].clientX-rect.left:e.clientX-rect.left;const y=\"touches\"in e?e.touches[0].clientY-rect.top:e.clientY-rect.top;ctx.lineTo(x,y);ctx.stroke();startTransition(()=>setHasSignature(true));};const stopDrawing=()=>{startTransition(()=>setIsDrawing(false));};const clearSignature=()=>{const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\");if(!ctx)return;ctx.clearRect(0,0,canvas.width,canvas.height);startTransition(()=>{setHasSignature(false);setShowForm(false);setTempSignature(\"\");});};const handleSubmitSignature=()=>{if(!hasSignature)return;const canvas=canvasRef.current;if(!canvas)return;const signatureDataUrl=canvas.toDataURL(\"image/png\");startTransition(()=>{setTempSignature(signatureDataUrl);setShowForm(true);});};const handleInputChange=(field,value)=>{startTransition(()=>{setBillingData(prev=>({...prev,[field]:value}));});};const handleFinalSubmit=async()=>{if(!isFormValid())return;const signatureImage=tempSignature;if(!signatureImage)return;const data={signature:signatureImage,billingData,timestamp:Date.now()};writeUrlData(data);if(sendToFormSpark&&formSparkUrl&&typeof window!==\"undefined\"){startTransition(()=>{setSubmitStatus(\"sending\");setSubmitError(\"\");});try{const params=new URLSearchParams;params.set(\"storageID\",storageID);params.set(\"timestamp\",String(data.timestamp));params.set(\"companyName\",data.billingData.companyName);params.set(\"firstName\",data.billingData.firstName);params.set(\"lastName\",data.billingData.lastName);params.set(\"email\",data.billingData.email);params.set(\"address\",data.billingData.address);params.set(\"city\",data.billingData.city);params.set(\"postalCode\",data.billingData.postalCode);params.set(\"country\",data.billingData.country);params.set(\"vatNumber\",data.billingData.vatNumber);params.set(\"recipientCode\",data.billingData.recipientCode);const res=await fetch(formSparkUrl,{method:\"POST\",headers:{\"Content-Type\":\"application/x-www-form-urlencoded;charset=UTF-8\"},body:params.toString()});if(!res.ok){throw new Error(`Request failed (${res.status})`);}startTransition(()=>setSubmitStatus(\"sent\"));}catch(e){startTransition(()=>{setSubmitStatus(\"error\");setSubmitError(e instanceof Error?e.message:\"Failed to send to FormSpark\");});}}const storage=getSafeStorage();if(storage){try{storage.setItem(storageID,JSON.stringify(data));startTransition(()=>setStorageWarning(\"\"));}catch(e){startTransition(()=>{setStorageWarning(\"Could not persist data in this browser (storage blocked). The signature will be visible now but may disappear after refresh.\");});}}else{startTransition(()=>{setStorageWarning(\"Persistent storage is not available in this environment. The signature will be visible now but may disappear after refresh.\");});}startTransition(()=>{setSavedData(data);setIsSaved(true);setShowForm(false);setShowSavedDetails(true);});};const isFormValid=()=>{const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;const vatRegex=/^\\d{11}$/;const sdiRegex=/^[A-Za-z0-9]{7}$/;return billingData.companyName.trim()!==\"\"&&billingData.firstName.trim()!==\"\"&&billingData.lastName.trim()!==\"\"&&emailRegex.test(billingData.email)&&billingData.address.trim()!==\"\"&&billingData.city.trim()!==\"\"&&billingData.postalCode.trim()!==\"\"&&billingData.country.trim()!==\"\"&&vatRegex.test(billingData.vatNumber)&&sdiRegex.test(billingData.recipientCode)&&billingData.acceptTerms;};const inputStyle={width:\"100%\",padding:\"14px 16px\",borderRadius:0,border:\"1px solid #E5E5E5\",fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",backgroundColor:\"#FFFFFF\",outline:\"none\",transition:\"border-color 0.2s\"};const buttonStyle={padding:\"14px 24px\",borderRadius:0,border:\"none\",cursor:\"pointer\",fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:500,transition:\"all 0.2s\"};if(isSaved&&savedData){return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,backgroundColor:\"#FFFFFF\",borderRadius:containerBorderRadius,padding:padding,display:\"flex\",flexDirection:\"column\",gap:32,overflow:\"auto\",border:\"1px solid #E5E5E5\"},children:[(submitStatus===\"sending\"||submitStatus===\"error\")&&/*#__PURE__*/_jsx(\"div\",{style:{padding:\"12px 14px\",border:\"1px solid #E5E5E5\",background:\"#FAFAFA\",color:\"#000000\",fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:\"13px\",lineHeight:\"1.3em\"},children:submitStatus===\"sending\"?\"Sending to FormSpark…\":`FormSpark error: ${submitError||\"Unknown error\"}`}),storageWarning&&/*#__PURE__*/_jsx(\"div\",{style:{padding:\"12px 14px\",border:\"1px solid #F0DFA5\",background:\"#FFF9E6\",color:\"#5A4A00\",fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:\"13px\",lineHeight:\"1.3em\"},children:storageWarning}),/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:\"26px\",fontWeight:400,color:\"#000000\",margin:0,letterSpacing:\"-0.03em\",lineHeight:\"1.2em\"},children:\"Saved signature\"}),/*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:\"#FAFAFA\",borderRadius:0,padding:24,border:\"1px solid #E5E5E5\"},children:/*#__PURE__*/_jsx(\"img\",{src:savedData.signature,alt:\"Digital signature\",style:{width:\"100%\",height:\"auto\",display:\"block\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:16},children:[/*#__PURE__*/_jsxs(\"div\",{onClick:()=>startTransition(()=>setShowSavedDetails(v=>!v)),style:{display:\"flex\",alignItems:\"center\",gap:8,cursor:\"pointer\",userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:\"12px\",fontWeight:400,color:\"#000000\",margin:0,letterSpacing:\"-0.01em\"},children:\"SEE MORE DETAILS\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"12px\",fontWeight:400},children:showSavedDetails?\"−\":\"+\"})]}),showSavedDetails&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",margin:0},children:[/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:500},children:\"Company name:\"}),\" \",savedData.billingData.companyName]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",margin:0},children:[/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:500},children:\"Name:\"}),\" \",savedData.billingData.firstName,\" \",savedData.billingData.lastName]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",margin:0},children:[/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:500},children:\"Email:\"}),\" \",savedData.billingData.email]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",margin:0},children:[/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:500},children:\"Address:\"}),\" \",savedData.billingData.address]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",margin:0},children:[/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:500},children:\"City:\"}),\" \",savedData.billingData.city,\",\",\" \",savedData.billingData.postalCode]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",margin:0},children:[/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:500},children:\"Country:\"}),\" \",savedData.billingData.country]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",margin:0},children:[/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:500},children:\"VAT number:\"}),\" \",savedData.billingData.vatNumber]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",margin:0},children:[/*#__PURE__*/_jsx(\"strong\",{style:{fontWeight:500},children:\"Recipient code:\"}),\" \",savedData.billingData.recipientCode]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:\"13px\",fontWeight:400,color:\"#666666\",margin:0,marginTop:8},children:[\"Saved on: \",new Date(savedData.timestamp).toLocaleString(\"en-US\")]})]})]})]});}return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,backgroundColor:\"#FFFFFF\",borderRadius:containerBorderRadius,padding:padding,display:\"flex\",flexDirection:\"column\",gap:32,overflow:\"auto\",border:\"1px solid #E5E5E5\"},children:[storageWarning&&/*#__PURE__*/_jsx(\"div\",{style:{padding:\"12px 14px\",border:\"1px solid #F0DFA5\",background:\"#FFF9E6\",color:\"#5A4A00\",fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:\"13px\",lineHeight:\"1.3em\"},children:storageWarning}),!showForm?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:\"26px\",fontWeight:400,color:\"#000000\",margin:0,marginBottom:8,letterSpacing:\"-0.03em\",lineHeight:\"1.2em\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#666666\",margin:0},children:instructionText})]}),/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,onMouseDown:startDrawing,onMouseMove:draw,onMouseUp:stopDrawing,onMouseLeave:stopDrawing,onTouchStart:startDrawing,onTouchMove:draw,onTouchEnd:stopDrawing,style:{width:\"100%\",height:200,backgroundColor:\"#FAFAFA\",borderRadius:0,cursor:\"crosshair\",touchAction:\"none\",border:\"1px solid #E5E5E5\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:12},children:[/*#__PURE__*/_jsx(\"button\",{onClick:clearSignature,disabled:!hasSignature,style:{...buttonStyle,backgroundColor:\"#FFFFFF\",color:\"#000000\",border:\"1px solid #E5E5E5\",opacity:hasSignature?1:.5},onMouseEnter:e=>{if(hasSignature){e.currentTarget.style.backgroundColor=\"#FAFAFA\";}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"#FFFFFF\";},children:clearButtonText}),/*#__PURE__*/_jsx(\"button\",{onClick:handleSubmitSignature,disabled:!hasSignature,style:{...buttonStyle,backgroundColor:\"#000000\",color:\"#FFFFFF\",flex:1,opacity:hasSignature?1:.5,cursor:hasSignature?\"pointer\":\"not-allowed\"},onMouseEnter:e=>{if(hasSignature){e.currentTarget.style.backgroundColor=\"#333333\";}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"#000000\";},children:submitButtonText})]})]}):/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:20},children:[/*#__PURE__*/_jsx(\"h3\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:\"26px\",fontWeight:400,color:\"#000000\",margin:0,letterSpacing:\"-0.03em\",lineHeight:\"1.2em\"},children:\"Billing details\"}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"companyName\",autoComplete:\"organization\",placeholder:companyNameLabel,value:billingData.companyName,onChange:e=>handleInputChange(\"companyName\",e.target.value),style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"1fr 1fr\",gap:12},children:[/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"firstName\",autoComplete:\"given-name\",placeholder:firstNameLabel,value:billingData.firstName,onChange:e=>handleInputChange(\"firstName\",e.target.value),style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"lastName\",autoComplete:\"family-name\",placeholder:lastNameLabel,value:billingData.lastName,onChange:e=>handleInputChange(\"lastName\",e.target.value),style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}})]}),/*#__PURE__*/_jsx(\"input\",{type:\"email\",name:\"email\",autoComplete:\"email\",placeholder:emailLabel,value:billingData.email,onChange:e=>handleInputChange(\"email\",e.target.value),style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"address\",autoComplete:\"street-address\",placeholder:addressLabel,value:billingData.address,onChange:e=>handleInputChange(\"address\",e.target.value),style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"2fr 1fr\",gap:12},children:[/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"city\",autoComplete:\"address-level2\",placeholder:cityLabel,value:billingData.city,onChange:e=>handleInputChange(\"city\",e.target.value),style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"postalCode\",autoComplete:\"postal-code\",placeholder:postalCodeLabel,value:billingData.postalCode,onChange:e=>handleInputChange(\"postalCode\",e.target.value),style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}})]}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"country\",autoComplete:\"country-name\",placeholder:countryLabel,value:billingData.country,onChange:e=>handleInputChange(\"country\",e.target.value),style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",placeholder:vatNumberLabel,value:billingData.vatNumber,onChange:e=>handleInputChange(\"vatNumber\",e.target.value),maxLength:11,style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",placeholder:recipientCodeLabel,value:billingData.recipientCode,onChange:e=>handleInputChange(\"recipientCode\",e.target.value),maxLength:7,style:inputStyle,onFocus:e=>{e.currentTarget.style.borderColor=\"#000000\";},onBlur:e=>{e.currentTarget.style.borderColor=\"#E5E5E5\";}}),/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:12,cursor:\"pointer\",userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:billingData.acceptTerms,onChange:e=>handleInputChange(\"acceptTerms\",e.target.checked),style:{width:18,height:18,cursor:\"pointer\",marginTop:2,accentColor:\"#000000\"}}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"Inter Display, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:`${fontSize}px`,fontWeight:400,color:\"#000000\",lineHeight:\"1.4em\"},children:\"By signing this document, I fully accept the quote and authorise the issuance of the invoice according to the terms indicated.\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:12,marginTop:8},children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>startTransition(()=>setShowForm(false)),style:{...buttonStyle,backgroundColor:\"#FFFFFF\",color:\"#000000\",border:\"1px solid #E5E5E5\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"#FAFAFA\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"#FFFFFF\";},children:\"Back\"}),/*#__PURE__*/_jsx(\"button\",{onClick:handleFinalSubmit,disabled:!isFormValid(),style:{...buttonStyle,backgroundColor:\"#000000\",color:\"#FFFFFF\",flex:1,opacity:isFormValid()?1:.5,cursor:isFormValid()?\"pointer\":\"not-allowed\"},onMouseEnter:e=>{if(isFormValid()){e.currentTarget.style.backgroundColor=\"#333333\";}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"#000000\";},children:\"Save signature and data\"})]})]})]});}addPropertyControls(DigitalSignature,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Digital signature\"},instructionText:{type:ControlType.String,title:\"Instructions\",defaultValue:\"Sign in the area below with your mouse or finger\",displayTextArea:true},clearButtonText:{type:ControlType.String,title:\"Clear Button\",defaultValue:\"Clear\"},submitButtonText:{type:ControlType.String,title:\"Submit Button\",defaultValue:\"Continue\"},firstNameLabel:{type:ControlType.String,title:\"First Name Label\",defaultValue:\"First name\"},lastNameLabel:{type:ControlType.String,title:\"Last Name Label\",defaultValue:\"Last name\"},emailLabel:{type:ControlType.String,title:\"Email Label\",defaultValue:\"Email\"},addressLabel:{type:ControlType.String,title:\"Address Label\",defaultValue:\"Address\"},cityLabel:{type:ControlType.String,title:\"City Label\",defaultValue:\"City\"},postalCodeLabel:{type:ControlType.String,title:\"Postal Code Label\",defaultValue:\"Postal code\"},countryLabel:{type:ControlType.String,title:\"Country Label\",defaultValue:\"Country\"},vatNumberLabel:{type:ControlType.String,title:\"VAT Number Label\",defaultValue:\"VAT number\"},recipientCodeLabel:{type:ControlType.String,title:\"Recipient Code Label\",defaultValue:\"Recipient code\"},companyNameLabel:{type:ControlType.String,title:\"Company Name Label\",defaultValue:\"Company name\"},strokeColor:{type:ControlType.Color,title:\"Stroke Color\",defaultValue:\"#000000\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:2,min:1,max:10},containerBorderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:0,min:0,max:40},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:40,min:0,max:100},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:15,min:10,max:30},storageID:{type:ControlType.String,title:\"Storage ID\",defaultValue:\"signature_v1\",description:\"Change this ID to reset the saved signature\"},shareInUrl:{type:ControlType.Boolean,title:\"Public URL\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},sendToFormSpark:{type:ControlType.Boolean,title:\"FormSpark\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},formSparkUrl:{type:ControlType.String,title:\"FormSpark URL\",defaultValue:\"https://submit-form.com/H0sUorz5r\",placeholder:\"https://submit-form.com/…\",hidden:({sendToFormSpark})=>!sendToFormSpark}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DigitalSignature\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"600\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"800\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DigitalSignature.map"],"mappings":"6NAYG,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,QAAM,kBAAgB,kBAAgB,mBAAiB,iBAAe,gBAAc,aAAW,eAAa,aAAU,mBAAgB,eAAa,iBAAe,sBAAmB,oBAAiB,eAAY,UAAU,cAAY,EAAE,wBAAsB,GAAG,UAAQ,GAAG,WAAS,GAAG,YAAU,eAAe,aAAW,GAAK,eAAa,oCAAoC,mBAAgB,IAAO,EAAY,EAAUA,GAAO,KAAK,CAAM,CAAC,GAAU,GAAcC,EAAS,GAAM,CAAM,CAAC,EAAa,GAAiBA,EAAS,GAAM,CAAM,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAM,CAAC,EAAQ,GAAYA,EAAS,GAAM,CAAM,CAAC,EAAU,GAAcA,EAAS,KAAK,CAAM,CAAC,EAAc,GAAkBA,EAAS,GAAG,CAAM,CAAC,EAAiB,GAAqBA,EAAS,GAAM,CAAM,CAAC,EAAe,GAAmBA,EAAS,GAAG,CAAM,CAAC,EAAa,GAAiBA,EAAS,OAAO,CAAM,CAAC,EAAY,GAAgBA,EAAS,GAAG,CAAO,MAAmB,CAAC,GAAU,IAAS,OAAY,OAAO,KAAK,GAAG,CAAC,OAAO,EAAO,kBAAsB,CAAC,OAAO,OAAc,OAAgB,CAA4C,GAAjC,IAAS,QAA2B,CAAC,EAAW,OAAO,KAAK,IAAM,EAAK,EAAO,UAAU,MAAM,GAAS,EAAO,QAAQ,mBAAmB,EAAU,CAAC,GAAG,GAAG,CAAC,EAAK,WAAW,EAAO,CAAC,OAAO,KAAK,IAAM,EAAQ,EAAK,MAAM,EAAO,OAAO,CAAC,GAAG,CAA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