PageSourceSearch

https://elegal.moj.gov.ae/_next/static/chunks/4811.b5b16114d2629ad8.js

js moj.gov.ae collected 2026-10-02 17:23:42 UTC 2,337 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4811],{14811:(t,e,n)=>{n.r(e),n.d(e,{ELECTRONIC_SIGNATURE_LIMITS:()=>l,RplzSignature:()=>i.p,clamp:()=>o,computeElectronicSignatureValid:()=>x,computeEstimatedInkPixels:()=>N,computeExportViewBox:()=>h,computeStrokesMetrics:()=>M,copyTextToClipboard:()=>p.eM,createEmptyMetrics:()=>s,default:()=>i.p,dist:()=>m,downloadFromExtracted:()=>I.H,getValueByPath:()=>p.Em,hasMinimumInkPixels:()=>f,isProbablyUrl:()=>p.pf,midPoint:()=>_,normalizeMaybeRelativeUrl:()=>p.JO,pointsToSmoothPath:()=>c,resolveSignatureApiBaseUrl:()=>X.j,resolveSignatureServiceUrl:()=>X.r,setValueByPath:()=>p.Wp,useDigitalSignatureModel:()=>u.B,useRplzSignature:()=>r.c,useRplzSignatureShell:()=>a.k});var i=n(20755),r=n(99336),a=n(37582),u=n(2593);let l={MIN_POINTS:12,MIN_TOTAL_LENGTH_PX:70,MIN_BBOX_W_PX:40,MIN_BBOX_H_PX:15,MIN_INK_PIXELS:250};function o(t,e,n){return Math.max(e,Math.min(n,t))}function m(t,e){let n=t.x-e.x,i=t.y-e.y;return Math.sqrt(n*n+i*i)}function _(t,e){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function s(){return{minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function x(t){let{minX:e,minY:n,maxX:i,maxY:r}=t.bbox,a=Number.isFinite(e)?i-e:0,u=Number.isFinite(n)?r-n:0;return t.pointsCount>=l.MIN_POINTS&&t.totalLength>=l.MIN_TOTAL_LENGTH_PX&&a>=l.MIN_BBOX_W_PX&&u>=l.MIN_BBOX_H_PX}function M(t){let e=s(),n=0,i=0;for(let r of t)for(let t=0;t<r.length;t++){let a=r[t];n+=1,e.minX=Math.min(e.minX,a.x),e.minY=Math.min(e.minY,a.y),e.maxX=Math.max(e.maxX,a.x),e.maxY=Math.max(e.maxY,a.y),t>0&&(i+=m(r[t-1],a))}return{pointsCount:n,totalLength:i,bbox:e}}function c(t){if(!t.length)return"";if(1===t.length){let{x:e,y:n}=t[0];return`M ${e} ${n} L ${e+.1} ${n+.1}`}let e=`M ${t[0].x} ${t[0].y}`;for(let n=1;n<t.length;n++){let i=_(t[n-1],t[n]);e+=` Q ${t[n-1].x} ${t[n-1].y} ${i.x} ${i.y}`}return e}function h(t){let{bbox:e,padding:n,strokeWidth:i,canvasWidth:r,canvasHeight:a}=t;if(!Number.isFinite(e.minX)||!Number.isFinite(e.minY))return`0 0 ${r} ${a}`;let u=Math.max(n,2*i),l=o(e.minX-u,0,r),m=o(e.minY-u,0,a),_=o(e.maxX-e.minX+2*u,1,r-l),s=o(e.maxY-e.minY+2*u,1,a-m);return`${l} ${m} ${_} ${s}`}function N(t,e){return Math.floor(t.totalLength*e*.92+t.pointsCount*e*e*.32)}function f(t,e,n=1){return N(t,e*n)>=Math.floor(l.MIN_INK_PIXELS*n*n)}var p=n(57116),I=n(77737),X=n(81185)}}]);

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.