import{i as e,t}from"./react-B8IZ02wI.js";import{B as n,C as r,E as i,F as a,G as o,K as s,P as c,R as l,S as u,T as d,U as f,V as p,W as m,_ as h,d as g,f as _,h as v,n as y,p as b,s as x,u as S,w as C}from"./components-LggAOTeO.js";import{g as w,i as T,o as E,s as D,t as O}from"./components-BPFOGuol.js";import{t as k}from"./jsx-runtime-fBfwind-.js";import{i as A,r as j}from"./messages-nFlHChGW.js";import{t as M}from"./createReactComponent-C-DRqPhY.js";var N=`application/x-www-form-urlencoded`;function P(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function F(e){return P(e)&&e.tagName.toLowerCase()===`button`}function ee(e){return P(e)&&e.tagName.toLowerCase()===`form`}function I(e){return P(e)&&e.tagName.toLowerCase()===`input`}function L(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function R(e,t){return e.button===0&&(!t||t===`_self`)&&!L(e)}function z(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function te(e,t){let n=z(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var B=null;function ne(){if(B===null)try{new FormData(document.createElement(`form`),0),B=!1}catch{B=!0}return B}var re=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function V(e){return e!=null&&!re.has(e)?(o(!1,`"${e}" is not a valid \`encType\` for \`