import{__exports as r}from"../../../_virtual/es.uint8-array.set-from-hex.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/global-this.mjs";import{__require as a}from"../internals/a-string.mjs";import{__require as i}from"../internals/an-uint8-array.mjs";import{__require as n}from"../internals/array-buffer-not-detached.mjs";import{__require as s}from"../internals/uint8-from-hex.mjs";var o;function m(){if(o)return r;o=1;var m=e(),f=t(),u=a(),_=i(),p=n(),h=s();return f.Uint8Array&&m({target:"Uint8Array",proto:!0,forced:function(){try{var r=new ArrayBuffer(16,{maxByteLength:1024});new Uint8Array(r).setFromHex("cafed00d")}catch(r){return!0}}()},{setFromHex:function(r){_(this),u(r),p(this.buffer);var e=h(r,this).read;return{read:e,written:e/2}}}),r}export{m as __require};