function a13_0x4c1b(t){t-=290;const r=a13_0x112c();let n=r[t];if(void 0===a13_0x4c1b.xNTNbm){a13_0x4c1b.aqBrVs=function(t){let r="",n="";for(let n,a,e=0,c=0;a=t.charAt(c++);~a&&(n=e%4?64*n+a:a,e++%4)?r+=String.fromCharCode(255&n>>(-2*e&6)):0)a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(a);for(let t=0,a=r.length;t<a;t++)n+="%"+("00"+r.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},a13_0x4c1b.DkWvTG={},a13_0x4c1b.xNTNbm=!0}const a=t+r[0],e=a13_0x4c1b.DkWvTG[a];return e?n=e:(n=a13_0x4c1b.aqBrVs(n),a13_0x4c1b.DkWvTG[a]=n),n}const a13_0x26317a=a13_0x4c1b;!function(){const t=298,r=290,n=309,a=303,e=292,c=314,o=305,u=293,s=a13_0x4c1b,i=a13_0x112c();for(;;)try{if(540150===parseInt(s(t))/1*(parseInt(s(r))/2)+-parseInt(s(n))/3+-parseInt(s(a))/4*(-parseInt(s(e))/5)+parseInt(s(c))/6+parseInt(s(295))/7+-parseInt(s(o))/8+parseInt(s(296))/9*(-parseInt(s(u))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}();const HMAC_KEY_LENGTH=32,HMAC_ALGO={name:a13_0x26317a(302),hash:a13_0x26317a(311)};function toArrayBuffer(t){const r=new ArrayBuffer(t[a13_0x4c1b(304)]);return new Uint8Array(r).set(t),r}async function importKey(t,r){const n=a13_0x4c1b;return crypto.subtle[n(312)]({vMTjN:"raw"}[n(300)],toArrayBuffer(t),HMAC_ALGO,!1,[r])}export async function generateHMAC(t){const r=297,n=291,a=a13_0x4c1b,e={NScaz:function(t,r,n){return t(r,n)},zDthw:a(313),PuuLN:"HMAC"},c=new Uint8Array(32);crypto[a(r)](c);const o=await e.NScaz(importKey,c,e[a(294)]),u=await crypto[a(307)][a(313)](e[a(n)],o,toArrayBuffer(t));return{key:c,signature:new Uint8Array(u)}}export async function verifyHMAC(t,r,n){const a=308,e=310,c=307,o=310,u=a13_0x4c1b,s=await{sShbz:function(t,r,n){return t(r,n)}}[u(a)](importKey,t,u(e));return crypto[u(c)][u(o)]("HMAC",s,toArrayBuffer(n),toArrayBuffer(r))}function a13_0x112c(){const t=["mJGXmJG0nwjvC0reEq","ouPYAvjzDW","z2v0uMfUzg9TvMfSDwvZ","mtbisunxvwi","quDLs0G","DK1uAK4","wMLSsgy","se1bqW","nJHJCw5rrNG","yNL0zuXLBMD0Aa","nZq5ndq0mhDNCMXgBa","DNznB3m","C3vIDgXL","C1nOyNO","mJqXmdm1whvYu0Lm","DMvYAwz5","u0Hblti1nG","Aw1WB3j0s2v5","C2LNBG","ntmZodGXmLbNweLeAW","mtK4nZqYAujlEgTW","uhv1te4","mtGWmJeWwvjKweTw","mtm0mdC2mtboq1HNA00","EKr0AhC"];return(a13_0x112c=function(){return t})()}export async function signHMAC(t,r){const n=299,a=301,e=307,c=313,o=a13_0x4c1b,u={AGeKH:function(t,r,n){return t(r,n)},ZilHf:o(313),vvMos:o(302),RpUWr:function(t,r){return t(r)}},s=await u[o(n)](importKey,t,u[o(a)]),i=await crypto[o(e)][o(c)](u[o(306)],s,u.RpUWr(toArrayBuffer,r));return new Uint8Array(i)}