PageSourceSearch

https://www.surexend.com/_next/static/chunks/2636-4cb4d01876482af9.js

js surexend.com collected 2026-10-04 06:55:30 UTC 18,224 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2636],{5208:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(71847).A)("ScanFace",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 9h.01",key:"x1ddxp"}]])},60872:(e,t,a)=>{function n(e){let t=new Uint8Array(e),a="";for(let e of t)a+=String.fromCharCode(e);return btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function r(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),a=(4-t.length%4)%4,n=atob(t.padEnd(t.length+a,"=")),r=new ArrayBuffer(n.length),o=new Uint8Array(r);for(let e=0;e<n.length;e++)o[e]=n.charCodeAt(e);return r}function o(){return window?.PublicKeyCredential!==void 0&&"function"==typeof window.PublicKeyCredential}function i(e){let{id:t}=e;return{...e,id:r(t),transports:e.transports}}function s(e){return"localhost"===e||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}a.d(t,{Ct:()=>f,HS:()=>g,ZF:()=>p});class l extends Error{constructor({message:e,code:t,cause:a,name:n}){super(e,{cause:a}),this.name=n??a.name,this.code=t}}class c{createNewAbortSignal(){if(this.controller){let e=Error("Cancelling existing WebAuthn API call for new one");e.name="AbortError",this.controller.abort(e)}let e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){let e=Error("Manually cancelling existing WebAuthn API call");e.name="AbortError",this.controller.abort(e),this.controller=void 0}}}let u=new c,h=["cross-platform","platform"];function d(e){if(e&&!(0>h.indexOf(e)))return e}async function f(e){let t,a,c,h,f,{optionsJSON:p,useAutoRegister:g=!1}=e;if(!o())throw Error("WebAuthn is not supported in this browser");let w={...p,challenge:r(p.challenge),user:{...p.user,id:r(p.user.id)},excludeCredentials:p.excludeCredentials?.map(i)},b={};g&&(b.mediation="conditional"),b.publicKey=w,b.signal=u.createNewAbortSignal();try{t=await navigator.credentials.create(b)}catch(e){throw function({error:e,options:t}){let{publicKey:a}=t;if(!a)throw Error("options was missing required publicKey property");if("AbortError"===e.name){if(t.signal instanceof AbortSignal)return new l({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if("ConstraintError"===e.name){if(a.authenticatorSelection?.requireResidentKey===!0)return new l({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});else if("conditional"===t.mediation&&a.authenticatorSelection?.userVerification==="required")return new l({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});else if(a.authenticatorSelection?.userVerification==="required")return new l({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else if("InvalidStateError"===e.name)return new l({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});else if("NotAllowedError"===e.name)return new l({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});else if("NotSupportedError"===e.name)return new l(0===a.pubKeyCredParams.filter(e=>"public-key"===e.type).length?{message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}:{message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});else if("SecurityError"===e.name){let t=window.location.hostname;if(!s(t))return new l({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(a.rp.id!==t)return new l({message:`The RP ID "${a.rp.id}
1" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else if("TypeError"===e.name){if(a.user.id.byteLength<1||a.user.id.byteLength>64)return new l({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if("UnknownError"===e.name)return new l({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e});return e}({error:e,options:b})}if(!t)throw Error("Registration was not completed");let{id:y,rawId:E,response:R,type:M}=t;if("function"==typeof R.getTransports&&(c=R.getTransports()),"function"==typeof R.getPublicKeyAlgorithm)try{h=R.getPublicKeyAlgorithm()}catch(e){m("getPublicKeyAlgorithm()",e)}if("function"==typeof R.getPublicKey)try{let e=R.getPublicKey();null!==e&&(f=n(e))}catch(e){m("getPublicKey()",e)}if("function"==typeof R.getAuthenticatorData)try{a=n(R.getAuthenticatorData())}catch(e){m("getAuthenticatorData()",e)}return{id:y,rawId:n(E),response:{attestationObject:n(R.attestationObject),clientDataJSON:n(R.clientDataJSON),transports:c,publicKeyAlgorithm:h,publicKey:f,authenticatorData:a},type:M,clientExtensionResults:t.getClientExtensionResults(),authenticatorAttachment:d(t.authenticatorAttachment)}}function m(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
2`,t)}function p(){if(!o())return new Promise(e=>e(!1));let e=window.PublicKeyCredential;return void 0===e.isConditionalMediationAvailable?new Promise(e=>e(!1)):e.isConditionalMediationAvailable()}async function g(e){let t,a,c,{optionsJSON:h,useBrowserAutofill:f=!1,verifyBrowserAutofillInput:m=!0}=e;if(!o())throw Error("WebAuthn is not supported in this browser");h.allowCredentials?.length!==0&&(t=h.allowCredentials?.map(i));let g={...h,challenge:r(h.challenge),allowCredentials:t},w={};if(f){if(!await p())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1&&m)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');w.mediation="conditional",g.allowCredentials=[]}w.publicKey=g,w.signal=u.createNewAbortSignal();try{a=await navigator.credentials.get(w)}catch(e){throw function({error:e,options:t}){let{publicKey:a}=t;if(!a)throw Error("options was missing required publicKey property");if("AbortError"===e.name){if(t.signal instanceof AbortSignal)return new l({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if("NotAllowedError"===e.name)return new l({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});else if("SecurityError"===e.name){let t=window.location.hostname;if(!s(t))return new l({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(a.rpId!==t)return new l({message:`The RP ID "${a.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else if("UnknownError"===e.name)return new l({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e});return e}({error:e,options:w})}if(!a)throw Error("Authentication was not completed");let{id:b,rawId:y,response:E,type:R}=a;return E.userHandle&&(c=n(E.userHandle)),{id:b,rawId:n(y),response:{authenticatorData:n(E.authenticatorData),clientDataJSON:n(E.clientDataJSON),signature:n(E.signature),userHandle:c},type:R,clientExtensionResults:a.getClientExtensionResults(),authenticatorAttachment:d(a.authenticatorAttachment)}}},71708:(e,t,a)=>{a.d(t,{A:()=>r});var n={};!function e(t,a,n,r){var o,i,s,l,c,u,h,d,f,m,p,g=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),w="function"==typeof Path2D&&"function"==typeof DOMMatrix;function b(){}function y(e){var n=a.exports.Promise,r=void 0!==n?n:t.Promise;return"function"==typeof r?new r(e):(e(b,b),null)}var E=(o=function(){if(!t.OffscreenCanvas)return!1;try{var e=new OffscreenCanvas(1,1),a=e.getContext("2d");a.fillRect(0,0,1,1);var n=e.transferToImageBitmap();a.createPattern(n,"no-repeat")}catch(e){return!1}return!0}(),i=new Map,{transform:function(e){if(o)return e;if(i.has(e))return i.get(e);var t=new OffscreenCanvas(e.width,e.height);return t.getContext("2d").drawImage(e,0,0),i.set(e,t),t},clear:function(){i.clear()}}),R=(c=Math.floor(1e3/60),u={},h=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(s=function(e){var t=Math.random();return u[t]=requestAnimationFrame(function a(n){h===n||h+c-1<n?(h=n,delete u[t],e()):u[t]=requestAnimationFrame(a)}),t},l=function(e){u[e]&&cancelAnimationFrame(u[e])}):(s=function(e){return setTimeout(e,c)},l=function(e){return clearTimeout(e)}),{frame:s,cancel:l}),M=(m={},function(){if(d)return d;if(!n&&g){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {\n  if (msg.data.options) {\n    CONFETTI(msg.data.options).then(function () {\n      if (msg.data.callback) {\n        postMessage({ callback: msg.data.callback });\n      }\n    });\n  } else if (msg.data.reset) {\n    CONFETTI && CONFETTI.reset();\n  } else if (msg.data.resize) {\n    SIZE.width = msg.data.resize.width;\n    SIZE.height = msg.data.resize.height;\n  } else if (msg.data.canvas) {\n    SIZE.width = msg.data.canvas.width;\n    SIZE.height = msg.data.canvas.height;\n    CONFETTI = module.exports.create(msg.data.canvas);\n  }\n}"].join("\n");try{d=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn("\uD83C\uDF8A Could not load worker",e),null}var a=d;function r(e,t){a.postMessage({options:e||{},callback:t})}a.init=function(e){var t=e.transferControlToOffscreen();a.postMessage({canvas:t},[t])},a.fire=function(e,t,n){if(f)return r(e,null),f;var o=Math.random().toString(36).slice(2);return f=y(function(t){function i(e){e.data.callback===o&&(delete m[o],a.removeEventListener("message",i),f=null,E.clear(),n(),t())}a.addEventListener("message",i),r(e,o),m[o]=i.bind(null,{data:{callback:o}})})},a.reset=function(){for(var e in a.postMessage({reset:!0}),m)m[e](),delete m[e]}}return d}),v={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function A(e,t,a){var n;return n=e&&null!=e[t]?e[t]:v[t],a?a(n):n}function x(e){return e<0?0:Math.floor(e)}function C(e){return parseInt(e,16)}function I(e){return e.map(O)}function O(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:C(t.substring(0,2)),g:C(t.substring(2,4)),b:C(t.substring(4,6))}}function T(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function S(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function _(e,a){var o,i=!e,s=!!A(a||{},"resize"),l=!1,c=A(a,"disableForReducedMotion",Boolean),u=g&&A(a||{},"useWorker")?M():null,h=i?T:S,d=!!e&&!!u&&!!e.__confetti_initialized,f="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function m(a){var m,p=c||A(a,"disableForReducedMotion",Boolean),g=A(a,"zIndex",Number);if(p&&f)return y(function(e){e()});i&&o?e=o.canvas:i&&!e&&((m=document.createElement("canvas")).style.position="fixed",m.style.top="0px",m.style.left="0px",m.style.pointerEvents="none",m.style.zIndex=g,e=m,document.body.appendChild(e)),s&&!d&&h(e);var b={width:e.width,height:e.height};function M(){if(u){var t={getBoundingClientRect:function(){if(!i)return e.getBoundingClientRect()}};h(t),u.postMessage({resize:{width:t.width,height:t.height}});return}b.width=b.height=null}function v(){o=null,s&&(l=!1,t.removeEventListener("resize",M)),i&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,d=!1)}return(u&&!d&&u.init(e),d=!0,u&&(e.__confetti_initialized=!0),s&&!l&&(l=!0,t.addEventListener("resize",M,!1)),u)?u.fire(a,b,v):function(t,a,i){for(var s,l,c,u,d,f,m,p=A(t,"particleCount",x),g=A(t,"angle",Number),b=A(t,"spread",Number),M=A(t,"startVelocity",Number),v=A(t,"decay",Number),C=A(t,"gravity",Number),O=A(t,"drift",Number),T=A(t,"colors",I),S=A(t,"ticks",Number),_=A(t,"shapes"),P=A(t,"scalar"),N=!!A(t,"flat"),D=((s=A(t,"origin",Object)).x=A(s,"x",Number),s.y=A(s,"y",Number),s),k=p,U=[],L=e.width*D.x,B=e.height*D.y;k--;)U.push(function(e){var t=e.angle*(Math.PI/180),a=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-t+(.5*a-Math.random()*a),tiltAngle:(.5*Math.random()+.25)
2*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*e.gravity,ovalScalar:.6,scalar:e.scalar,flat:e.flat}}({x:L,y:B,angle:g,spread:b,startVelocity:M,color:T[k%T.length],shape:_[Math.floor(Math.random()*(_.length-0))+0],ticks:S,decay:v,gravity:C,drift:O,scalar:P,flat:N}));return o?o.addFettis(U):(l=e,d=U.slice(),f=l.getContext("2d"),m=y(function(e){function t(){c=u=null,f.clearRect(0,0,a.width,a.height),E.clear(),i(),e()}c=R.frame(function e(){n&&(a.width!==r.width||a.height!==r.height)&&(a.width=l.width=r.width,a.height=l.height=r.height),a.width||a.height||(h(l),a.width=l.width,a.height=l.height),f.clearRect(0,0,a.width,a.height),(d=d.filter(function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var a,n,r,o,i,s,l,c,u,h,d,f,m,p,g,b,y=t.tick++/t.totalTicks,R=t.x+t.random*t.tiltCos,M=t.y+t.random*t.tiltSin,v=t.wobbleX+t.random*t.tiltCos,A=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-y)+")",e.beginPath(),w&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix)){e.fill((a=t.shape.path,n=t.shape.matrix,r=t.x,o=t.y,i=.1*Math.abs(v-R),s=.1*Math.abs(A-M),l=Math.PI/10*t.wobble,c=new Path2D(a),(u=new Path2D).addPath(c,new DOMMatrix(n)),(h=new Path2D).addPath(u,new DOMMatrix([Math.cos(l)*i,Math.sin(l)*i,-Math.sin(l)*s,Math.cos(l)*s,r,o])),h))}else if("bitmap"===t.shape.type){var x=Math.PI/10*t.wobble,C=.1*Math.abs(v-R),I=.1*Math.abs(A-M),O=t.shape.bitmap.width*t.scalar,T=t.shape.bitmap.height*t.scalar,S=new DOMMatrix([Math.cos(x)*C,Math.sin(x)*C,-Math.sin(x)*I,Math.cos(x)*I,t.x,t.y]);S.multiplySelf(new DOMMatrix(t.shape.matrix));var _=e.createPattern(E.transform(t.shape.bitmap),"no-repeat");_.setTransform(S),e.globalAlpha=1-y,e.fillStyle=_,e.fillRect(t.x-O/2,t.y-T/2,O,T),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(v-R)*t.ovalScalar,Math.abs(A-M)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(d=t.x,f=t.y,m=Math.abs(v-R)*t.ovalScalar,p=Math.abs(A-M)*t.ovalScalar,g=Math.PI/10*t.wobble,b=2*Math.PI,e.save(),e.translate(d,f),e.rotate(g),e.scale(m,p),e.arc(0,0,1,0,b,void 0),e.restore());else if("star"===t.shape)for(var P=Math.PI/2*3,N=4*t.scalar,D=8*t.scalar,k=t.x,U=t.y,L=5,B=Math.PI/5;L--;)k=t.x+Math.cos(P)*D,U=t.y+Math.sin(P)*D,e.lineTo(k,U),P+=B,k=t.x+Math.cos(P)*N,U=t.y+Math.sin(P)*N,e.lineTo(k,U),P+=B;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(M)),e.lineTo(Math.floor(v),Math.floor(A)),e.lineTo(Math.floor(R),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(f,e)})).length?c=R.frame(e):t()}),u=t}),(o={addFettis:function(e){return d=d.concat(e),m},canvas:l,promise:m,reset:function(){c&&R.cancel(c),u&&u()}}).promise)}(a,b,v)}return m.reset=function(){u&&u.reset(),o&&o.reset()},m}function P(){return p||(p=_(null,{useWorker:!0,resize:!0})),p}a.exports=function(){return P().apply(this,arguments)},a.exports.reset=function(){P().reset()},a.exports.create=_,a.exports.shapeFromPath=function(e){if(!w)throw Error("path confetti are not supported in this browser");"string"==typeof e?n=e:(n=e.path,r=e.matrix);var t=new Path2D(n),a=document.createElement("canvas").getContext("2d");if(!r){for(var n,r,o,i,s=1e3,l=1e3,c=0,u=0,h=0;h<1e3;h+=2)for(var d=0;d<1e3;d+=2)a.isPointInPath(t,h,d,"nonzero")&&(s=Math.min(s,h),l=Math.min(l,d),c=Math.max(c,h),u=Math.max(u,d));o=c-s;var f=Math.min(10/o,10/(i=u-l));r=[f,0,0,f,-Math.round(o/2+s)*f,-Math.round(i/2+l)*f]}return{type:"path",path:n,matrix:r}},a.exports.shapeFromText=function(e){var t,a=1,n="#000000",r='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,a="scalar"in e?e.scalar:a,r="fontFamily"in e?e.fontFamily:r,n="c
2olor"in e?e.color:n);var o=10*a,i=""+o+"px "+r,s=new OffscreenCanvas(o,o),l=s.getContext("2d");l.font=i;var c=l.measureText(t),u=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),h=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),d=c.actualBoundingBoxLeft+2,f=c.actualBoundingBoxAscent+2;u+=4,h+=4,(l=(s=new OffscreenCanvas(u,h)).getContext("2d")).font=i,l.fillStyle=n,l.fillText(t,d,f);var m=1/a;return{type:"bitmap",bitmap:s.transferToImageBitmap(),matrix:[m,0,0,m,-u*m/2,-h*m/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),n,!1);let r=n.exports;n.exports.create}}]);

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.