import{aX as t,hi as h}from"./index-9PRMimni.js";import{t as c}from"./toInteger-DQeH-nF-.js";function s(f,l,a){return f===f&&(a!==void 0&&(f=f<=a?f:a),f=f>=l?f:l),f}function i(f,l,a){return f=t(f),a=a==null?0:s(c(a),0,f.length),l=h(l),f.slice(a,a+l.length)==l}export{i as s};
