var f={production:!0};function l(r,o=0,t=0){let e=this.checkFactory(r),n=2,c=.5;return(u,i,x)=>e(i-o^n+(u-t)^n^c+x)}function a(r){if(navigator.clipboard)navigator.clipboard.writeText(r);else{let o=this.document.createElement("textarea");o.classList.add("hidden"),o.value=r,o.setAttribute("readonly",""),o.style.position="absolute",o.style.left="-9999px",this.document.body.appendChild(o),o.select(),this.document.execCommand("copy"),this.document.body.removeChild(o)}}function m(r,o,t=2.5,e=2){return r/(o/t)-e}function M(r,o,t=2,e=1){return r/(o/t)-e}function b(){return()=>0}function k(){return o=>((o>255||o<0)&&(o=255),Math.floor(o))}function w(){return o=>o%255}function X(){return o=>((o>255||o<0)&&(o=0),Math.floor(o))}function A(){return o=>(o>255?o=255:o<0&&(o=0),Math.floor(o))}export{l as a,m as b,M as c,b as d,k as e,w as f,X as g,A as h,a as i,f as j};