import{N as d}from"./jwt-decode.esm.c1356de1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="dca2b63b-ba70-4666-a7ff-b0e4ec6bb76c",e._sentryDebugIdIdentifier="sentry-dbid-dca2b63b-ba70-4666-a7ff-b0e4ec6bb76c")}catch{}})();function b(e){return d.string().email().safeParse(e).success}function p(e){return e.charAt(0).toUpperCase()+e.slice(1)}function w(e,r,n=!1,a=!0,s=!1,t=!0){const o=(a?e.toLocaleLowerCase():e).normalize("NFD").replace(/[\u0300-\u036f]/g,""),f=`a-zA-Z0-9${s?"/":""}${t?"-":""}`,c=new RegExp(`[^${f}]`,"g"),l=o.replace(c,"_"),u=n?l:l.replace(/_+/g,"_");return r?u:u.replace(/_$/,"")}function h(e){var t;const n=e.toLocaleLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g,""),a=/[a-z0-9]+/g,s=n.match(a);return(t=s==null?void 0:s.join("-"))!=null?t:""}function m(e,r){if(e.length===0||r.length===0)return!1;const n=e.toLowerCase(),a=r.toLowerCase();return n.split("").reduce((t,i)=>{var f;if(t===!1)return!1;const o=(f=t[t.length-1])!=null?f:null;if(o===null){const c=a.indexOf(i);return c===-1?!1:[c]}else{const l=a.slice(o+1).indexOf(i);return l===-1?!1:[...t,o+1+l]}},[])}export{h as a,p as c,m as f,b as i,w as n};
//# sourceMappingURL=string.dbe1a2f4.js.map
