1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[893],{244:function(e,t,a){a.d(t,{Z:function(){return r}});var l=a(7437),s=a(357);let n={softNote:"For tenders, GST, MCA filings â use a Class 3 DSC token with",heading:"\uD83D\uDCCB For legally-binding documents:",body:(0,l.jsxs)(l.Fragment,{children:["Tender bids, GST returns, MCA filings, or anything under the"," ",(0,l.jsx)("strong",{children:"IT Act 2000"})," requires a"," ",(0,l.jsx)("strong",{children:"Class 3 DSC token"}),"."]}),features:["â
USB token signing","â
Batch-sign folders","â
100% offline","â
GeM, CPPP, NIC, MCA21"],cta:"Download Desktop App â Free Evaluation â"},i={softNote:"Need legally binding digital signatures? PKI-based signing with",heading:"\uD83D\uDCCB For legally-binding documents:",body:(0,l.jsxs)(l.Fragment,{children:["Court filings, corporate contracts, regulatory submissions, or any document requiring verified identity needs a"," ",(0,l.jsx)("strong",{children:"qualified digital signature"})," backed by a"," ",(0,l.jsx)("strong",{children:"PKI certificate"}),"."]}),features:["â
USB smart card / HSM","â
Batch-sign folders","â
100% offline","â
eIDAS / ESIGN / PDF/A"],cta:"Try PDFSign Desktop â Free Evaluation â"};function r(e){let{dismissalCount:t,isIndia:a=!0,onClose:r}=e,o=a?n:i;return t>=3?(0,l.jsxs)("div",{className:"fixed bottom-5 right-5 z-50 bg-white border border-amber-200 rounded-2xl shadow-xl p-4 max-w-[280px]",children:[(0,l.jsx)("button",{onClick:r,className:"absolute top-2 right-3 text-slate-400 hover:text-slate-600 text-lg leading-none",children:"\xd7"}),(0,l.jsx)("p",{className:"text-xs font-semibold text-amber-700 mb-1",children:a?"Need legal-grade signing?":"Need verified digital signatures?"}),(0,l.jsx)("p",{className:"text-xs text-slate-600 leading-relaxed",children:o.softNote}),(0,l.jsx)("a",{href:"https://pdfsign.in/#pricing",className:"inline-block mt-2 text-xs font-bold text-[#16A34A] hover:underline",children:"PDFSign Desktop â"})]}):(0,l.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4 backdrop-blur-sm",onClick:r,children:(0,l.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl max-w-md w-full overflow-hidden",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("div",{className:"bg-[#16A34A] px-6 py-5 text-white",children:(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)("div",{className:"w-10 h-10 bg-white/20 rounded-full flex items-center justify-center text-xl flex-shrink-0",children:"â"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"text-lg font-bold",children:"Signed & downloaded!"}),(0,l.jsx)("p",{className:"text-green-100 text-xs mt-0.5",children:a?"Great for quotes, NOCs, internal memos & informal documents.":"Great for informal documents, internal approvals & visual agreements."})]})]})}),(0,l.jsxs)("div",{className:"px-6 py-5",children:[(0,l.jsxs)("div",{className:"bg-amber-50 border border-amber-200 rounded-xl p-4 mb-5",children:[(0,l.jsx)("p",{className:"text-sm font-bold text-amber-900 mb-2",children:o.heading}),(0,l.jsx)("p",{className:"text-sm text-amber-800 leading-relaxed",children:o.body}),(0,l.jsx)("div",{className:"mt-3 grid grid-cols-2 gap-1.5 text-xs",children:o.features.map(e=>(0,l.jsx)("span",{className:"text-amber-700 font-medium",children:e},e))})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("a",{href:"https://pdfsign.in/#pricing",className:"w-full text-center bg-[#16A34A] hover:bg-[#15803d] text-white py-3 rounded-xl font-bold transition-colors text-sm",children:o.cta}),s.env.NEXT_PUBLIC_YOUTUBE_DEMO_URL&&(0,l.jsx)("a",{href:s.env.NEXT_PUBLIC_YOUTUBE_DEMO_URL,target:"_blank",rel:"noopener noreferrer",className:"w-full text-center border border-slate-200 text-slate-700 py-2.5 rounded-xl font-medium text-sm hover:bg-slate-50 transition-colors",children:"â¶ Watch 60-second demo"}),(0,l.jsx)("button",{onClick:r,className:"w-full text-center text-slate-400 py-2 text-sm hover:text-slate-600 transition-colors",children:"Maybe later"})]})]})]})})}},3894:function(e,t,a){a.d(t,{Z:function(){return r}});var l=a(7437),s=a(2265),n=a(5269),i=a.n(n);function r(e){let{onConfirm:t}
1=e,a=(0,s.useRef)(null),[n,r]=(0,s.useState)(!0);return(0,l.jsxs)("div",{className:"flex flex-col gap-3","data-clarity-mask":"true",children:[(0,l.jsx)("p",{className:"text-sm text-slate-500",children:"Draw your signature below"}),(0,l.jsx)("div",{className:"border-2 border-dashed border-slate-300 rounded-xl overflow-hidden bg-white",children:(0,l.jsx)(i(),{ref:a,canvasProps:{width:400,height:160,className:"block w-full",style:{touchAction:"none"}},minWidth:1,maxWidth:3,velocityFilterWeight:.7,penColor:"#1B2A47",onEnd:()=>{var e,t;return r(null===(t=null===(e=a.current)||void 0===e?void 0:e.isEmpty())||void 0===t||t)}})}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)("button",{onClick:()=>{var e;null===(e=a.current)||void 0===e||e.clear(),r(!0)},className:"flex-1 py-2 border border-slate-200 rounded-lg text-sm text-slate-600 hover:bg-slate-50",children:"Clear"}),(0,l.jsx)("button",{onClick:()=>{!a.current||a.current.isEmpty()||t(a.current.getTrimmedCanvas().toDataURL("image/png"))},disabled:n,className:"flex-1 py-2 bg-[#16A34A] text-white rounded-lg text-sm font-medium disabled:opacity-40 hover:bg-[#15803d]",children:"Use Signature"})]})]})}},8820:function(e,t,a){a.d(t,{Z:function(){return n}});var l=a(7437);let s=[{key:"draw",icon:"âï¸",label:"Draw",desc:"Draw with mouse or touch"},{key:"type",icon:"Aa",label:"Type",desc:"Pick a cursive font"},{key:"upload",icon:"\uD83D\uDDBCï¸",label:"Upload",desc:"Use a stamp / image"}];function n(e){let{mode:t,onModeChange:a,usageCount:n,usageLimit:i}=e,r=void 0!==n&&void 0!==i,o=r?i-n:null;return(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("div",{className:"grid grid-cols-3 gap-1 bg-slate-100 rounded-2xl p-1.5 w-full",children:s.map(e=>{let{key:s,icon:n,label:i,desc:r}=e;return(0,l.jsxs)("button",{onClick:()=>a(s),title:r,className:"flex flex-col items-center justify-center gap-1 py-2.5 px-1 rounded-xl font-semibold text-xs transition-all select-none ".concat(t===s?"bg-white text-[#16A34A] shadow-md ring-1 ring-green-100 scale-[1.04]":"text-slate-500 hover:text-slate-700 hover:bg-white/60"),children:[(0,l.jsx)("span",{className:"text-lg leading-none",children:n}),(0,l.jsx)("span",{className:"leading-none",children:i})]},s)})}),r&&(0,l.jsxs)("span",{className:"text-xs font-medium px-2 py-1 rounded-full text-center ".concat(0===o?"bg-red-100 text-red-600":"bg-slate-100 text-slate-500"),children:["\uD83D\uDD12 ",o," of ",i," free signs left today"]})]})}},5625:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(7437),s=a(2265);let n=[{label:"Dancing Script",class:"sig-font-dancing",family:"Dancing Script"},{label:"Great Vibes",class:"sig-font-greatvibes",family:"Great Vibes"},{label:"Allura",class:"sig-font-allura",family:"Allura"},{label:"Sacramento",class:"sig-font-sacramento",family:"Sacramento"},{label:"Caveat",class:"sig-font-caveat",family:"Caveat"},{label:"Pacifico",class:"sig-font-pacifico",family:"Pacifico"}];function i(e){let{onConfirm:t}
1=e,[a,i]=(0,s.useState)(""),[r,o]=(0,s.useState)(n[0]),[d,c]=(0,s.useState)(!1),m=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e="sig-fonts-css",t=()=>{let e=n.map(e=>"48px '".concat(e.family,"'"));Promise.all("undefined"!=typeof document&&document.fonts?e.map(e=>document.fonts.load(e).catch(()=>void 0)):[]).then(()=>c(!0)).catch(()=>c(!0))},a=document.getElementById(e);a?t():((a=document.createElement("link")).id=e,a.rel="stylesheet",a.href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Great+Vibes&family=Allura&family=Sacramento&family=Caveat:wght@600&family=Pacifico&display=swap",a.addEventListener("load",t),a.addEventListener("error",()=>c(!0)),document.head.appendChild(a))},[]),(0,s.useEffect)(()=>{if(!m.current)return;let e=m.current,t=e.getContext("2d");if(t.clearRect(0,0,e.width,e.height),!a)return;t.font="".concat(48,"px '").concat(r.family,"', cursive"),t.fillStyle="#1B2A47",t.textBaseline="middle";let l=t.measureText(a);e.width=Math.min(Math.max(l.width+40,200),500),e.height=90,t.font="".concat(48,"px '").concat(r.family,"', cursive"),t.fillStyle="#1B2A47",t.textBaseline="middle",t.fillText(a,20,e.height/2)},[a,r,d]),(0,l.jsxs)("div",{className:"flex flex-col gap-3","data-clarity-mask":"true",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block text-sm text-slate-500 mb-1",children:"Type your name or initials"}),(0,l.jsx)("input",{type:"text",value:a,onChange:e=>i(e.target.value),placeholder:"Your Name",className:"w-full border border-slate-200 rounded-xl px-3 py-2.5 text-sm outline-none focus:border-[#16A34A]"})]}),(0,l.jsx)("div",{className:"grid grid-cols-3 gap-2",children:n.map(e=>(0,l.jsx)("button",{onClick:()=>o(e),className:"border rounded-xl px-3 py-2 text-center transition-colors ".concat(r.family===e.family?"border-[#16A34A] bg-[#f0fdf4]":"border-slate-200 hover:border-slate-400"),children:(0,l.jsx)("span",{className:e.class,style:{fontSize:"18px",color:"#1B2A47"},children:a||"Sign"})},e.family))}),(0,l.jsx)("canvas",{ref:m,className:"hidden",width:400,height:90}),a&&(0,l.jsx)("div",{className:"border border-slate-200 rounded-xl p-4 bg-white text-center overflow-hidden",children:(0,l.jsx)("span",{className:r.class,style:{fontSize:"42px",color:"#1B2A47",lineHeight:"1.2"},children:a})}),(0,l.jsx)("button",{onClick:()=>{a&&m.current&&t(m.current.toDataURL("image/png"))},disabled:!a,className:"py-2 bg-[#16A34A] text-white rounded-lg text-sm font-medium disabled:opacity-40 hover:bg-[#15803d]",children:"Use Signature"})]})}},9457:function(e,t,a){a.d(t,{Z:function(){return n}});var l=a(7437),s=a(2265);function n(e){let{onConfirm:t}=e,a=(0,s.useRef)(null),[n,i]=(0,s.useState)(null),[r,o]=(0,s.use
1State)(!0),[d,c]=(0,s.useState)(""),m=e=>{if(c(""),!e.type.startsWith("image/")){c("Please upload a PNG or JPG image.");return}let t=new FileReader;t.onload=e=>{var t;let a=null===(t=e.target)||void 0===t?void 0:t.result,l=new Image;l.onload=()=>{let e=document.createElement("canvas");e.width=l.naturalWidth,e.height=l.naturalHeight,e.getContext("2d").drawImage(l,0,0),i(r?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:240,a=e.getContext("2d"),l=a.getImageData(0,0,e.width,e.height),s=l.data;for(let e=0;e<s.length;e+=4){let a=s[e],l=s[e+1],n=s[e+2];a>t&&l>t&&n>t&&(s[e+3]=0)}return a.putImageData(l,0,0),e.toDataURL("image/png")}(e):e.toDataURL("image/png"))},l.src=a},t.readAsDataURL(e)};return(0,l.jsxs)("div",{className:"flex flex-col gap-3","data-clarity-mask":"true",children:[(0,l.jsxs)("label",{className:"flex items-center gap-2 text-sm text-slate-500",children:[(0,l.jsx)("input",{type:"checkbox",checked:r,onChange:e=>o(e.target.checked),className:"accent-[#16A34A]"}),"Auto-remove white background (for scanned signatures)"]}),(0,l.jsxs)("div",{className:"drop-zone p-8 text-center cursor-pointer",onDrop:e=>{e.preventDefault();let t=e.dataTransfer.files[0];t&&m(t)},onDragOver:e=>{e.preventDefault(),e.currentTarget.classList.add("drag-over")},onDragLeave:e=>e.currentTarget.classList.remove("drag-over"),onClick:()=>{var e;return null===(e=a.current)||void 0===e?void 0:e.click()},children:[(0,l.jsx)("input",{ref:a,type:"file",accept:"image/png,image/jpeg",className:"hidden",onChange:e=>{var t;let a=null===(t=e.target.files)||void 0===t?void 0:t[0];a&&m(a)}}),(0,l.jsx)("div",{className:"text-3xl mb-2",children:"\uD83D\uDDBCï¸"}),(0,l.jsxs)("p",{className:"text-sm text-slate-500",children:["Drag & drop or ",(0,l.jsx)("span",{className:"text-[#16A34A] font-medium",children:"click to upload"})]}),(0,l.jsx)("p",{className:"text-xs text-slate-400 mt-1",children:"PNG or JPG"})]}),d&&(0,l.jsx)("p",{className:"text-sm text-red-500",children:d}),n&&(0,l.jsx)("div",{className:"border border-slate-200 rounded-xl p-4 bg-white text-center",children:(0,l.jsx)("img",{src:n,alt:"Signature preview",className:"max-h-24 mx-auto object-contain"})}),(0,l.jsx)("button",{onClick:()=>n&&t(n),disabled:!n,className:"py-2 bg-[#16A34A] text-white rounded-lg text-sm font-medium disabled:opacity-40 hover:bg-[#15803d]",children:"Use Stamp"})]})}},7340:function(e,t,a){async function l(e,t){let{PDFDocument:l}=await a.e(391).then(a.bind(a,6391)),s=await l.load(e,{ignoreEncryption:!0});for(let e of t){let t=s.getPage(e.page),{height:a}=t.getSize(),[l,n]=e.imageData.split(","),i=Uint8Array.from(atob(n),e=>e.charCodeAt(0)),r=l.includes("image/jpeg")||l.includes("image/jpg")?await s.embedJpg(i):await s.embedPng(i),o=a/e.pdfPageHeight,d=e.x*o,c=e.width*o,m=e.height*o,u=a-e.y*o-m;t.drawImage(r,{x:d,y:u,width:c,height:m})}return s.save()}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"signed.pdf",a=new Blob([e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)],{type:"application/pdf"}),l=URL.createObjectURL(a),s=document.createElement("a");s.href=l,s.download=t,document.body.appendChild(s),s.click(),document.body.removeChild(s),setTimeout(()=>URL.revokeObjectURL(l),1e4)}a.d(t,{T:function(){return l},W:function(){return s}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.