const ga="Business Address",ka="Residential Address";var C;(function(l){l.assertEqual=i=>i;function e(i){}l.assertIs=e;function a(i){throw new Error}l.assertNever=a,l.arrayToEnum=i=>{const n={};for(const o of i)n[o]=o;return n},l.getValidEnumValues=i=>{const n=l.objectKeys(i).filter(r=>typeof i[i[r]]!="number"),o={};for(const r of n)o[r]=i[r];return l.objectValues(o)},l.objectValues=i=>l.objectKeys(i).map(function(n){return i[n]}),l.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const n=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&n.push(o);return n},l.find=(i,n)=>{for(const o of i)if(n(o))return o},l.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function t(i,n=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(n)}l.joinValues=t,l.jsonStringifyReplacer=(i,n)=>typeof n=="bigint"?n.toString():n})(C||(C={}));var Be;(function(l){l.mergeShapes=(e,a)=>({...e,...a})})(Be||(Be={}));const h=C.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),D=l=>{switch(typeof l){case"undefined":return h.undefined;case"string":return h.string;case"number":return isNaN(l)?h.nan:h.number;case"boolean":return h.boolean;case"function":return h.function;case"bigint":return h.bigint;case"symbol":return h.symbol;case"object":return Array.isArray(l)?h.array:l===null?h.null:l.then&&typeof l.then=="function"&&l.catch&&typeof l.catch=="function"?h.promise:typeof Map<"u"&&l instanceof Map?h.map:typeof Set<"u"&&l instanceof Set?h.set:typeof Date<"u"&&l instanceof Date?h.date:h.object;default:return h.unknown}},s=C.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),ya=l=>JSON.stringify(l,null,2).replace(/"([^"]+)":/g,"$1:");class I extends Error{constructor(e){super(),this.issues=[],this.addIssue=t=>{this.issues=[...this.issues,t]},this.addIssues=(t=[])=>{this.issues=[...this.issues,...t]};const a=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,a):this.__proto__=a,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const a=e||function(n){return n.message},t={_errors:[]},i=n=>{for(const o of n.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)t._errors.push(a(o));else{let r=t,u=0;for(;u<o.path.length;){const d=o.path[u];u===o.path.length-1?(r[d]=r[d]||{_errors:[]},r[d]._errors.push(a(o))):r[d]=r[d]||{_errors:[]},r=r[d],u++}}};return i(this),t}static assert(e){if(!(e instanceof I))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,C.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=a=>a.message){const a={},t=[];for(const i of this.issues)i.path.length>0?(a[i.path[0]]=a[i.path[0]]||[],a[i.path[0]].push(e(i))):t.push(e(i));return{formErrors:t,fieldErrors:a}}get formErrors(){return this.flatten()}}I.create=l=>new I(l);const $=(l,e)=>{let a;switch(l.code){case s.invalid_type:l.received===h.undefined?a="Required":a=`Expected ${l.expected}, received ${l.received}`;break;case s.invalid_literal:a=`Invalid literal value, expected ${JSON.stringify(l.expected,C.jsonStringifyReplacer)}`;break;case s.unrecognized_keys:a=`Unrecognized key(s) in object: ${C.joinValues(l.keys,", ")}`;break;case s.invalid_union:a="Invalid input";break;case s.invalid_union_discriminator:a=`Invalid discriminator value. Expected ${C.joinValues(l.options)}`;break;case s.invalid_enum_value:a=`Invalid enum value. Expected ${C.joinValues(l.options)}, received '${l.received}'`;break;case s.invalid_arguments:a="Invalid function arguments";break;case s.invalid_return_type:a="Invalid function return type";break;case s.invalid_date:a="Invalid date";break;case s.invalid_string:typeof l.validation=="object"?"includes"in l.validation?(a=`Invalid input: must include "${l.validation.includes}"`,typeof l.validation.position=="number"&&(a=`${a} at one or more positions greater than or equal to ${l.validation.position}`)):"startsWith"in l.validation?a=`Invalid input: must start with "${l.validation.startsWith}"`:"endsWith"in l.validation?a=`Invalid input: must end with "${l.validation.endsWith}"`:C.assertNever(l.validation):l.validation!=="regex"?a=`Invalid ${l.validation}`:a="Invalid";break;case s.too_small:l.type==="array"?a=`Array must contain ${l.exact?"exactly":l.inclusive?"at least":"more than"} ${l.minimum} element(s)`:l.type==="string"?a=`String must contain ${l.exact?"exactly":l.inclusive?"at least":"over"} ${l.minimum} character(s)`:l.type==="number"?a=`Number must be ${l.exact?"exactly equal to ":l.inclusive?"greater than or equal to ":"greater than "}${l.minimum}`:l.type==="date"?a=`Date must be ${l.exact?"exactly equal to ":l.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(l.minimum))}`:a="Invalid input";break;case s.too_big:l.type==="array"?a=`Array must contain ${l.exact?"exactly":l.inclusive?"at most":"less than"} ${l.maximum} element(s)`:l.type==="string"?a=`String must contain ${l.exact?"exactly":l.inclusive?"at most":"under"} ${l.maximum} character(s)`:l.type==="number"?a=`Number must be ${l.exact?"exactly":l.inclusive?"less than or equal to":"less than"} ${l.maximum}`:l.type==="bigint"?a=`BigInt must be ${l.exact?"exactly":l.inclusive?"less than or equal to":"less than"} ${l.maximum}`:l.type==="date"?a=`Date must be ${l.exact?"exactly":l.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(l.maximum))}`:a="Invalid input";break;case s.custom:a="Invalid input";break;case s.invalid_intersection_types:a="Intersection results could not be merged";break;case s.not_multiple_of:a=`Number must be a multiple of ${l.multipleOf}`;break;case s.not_finite:a="Number must be finite";break;default:a=e.defaultError,C.assertNever(l)}return{message:a}};let je=$;function Ca(l){je=l}function ke(){return je}const ye=l=>{const{data:e,path:a,errorMaps:t,issueData:i}=l,n=[...a,...i.path||[]],o={...i,path:n};if(i.message!==void 0)return{...i,path:n,message:i.message};let r="";const u=t.filter(d=>!!d).slice().reverse();for(const d of u)r=d(o,{data:e,defaultError:r}).message;return{...i,path:n,message:r}},Ta=[];function c(l,e){const a=ke(),t=ye({issueData:e,data:l.data,path:l.path,errorMaps:[l.common.contextualErrorMap,l.schemaErrorMap,a,a===$?void 0:$].filter(i=>!!i)});l.common.issues.push(t)}class w{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,a){const t=[];for(const i of a){if(i.status==="aborted")return p;i.status==="dirty"&&e.dirty(),t.push(i.value)}return{status:e.value,value:t}}static async mergeObjectAsync(e,a){const t=[];for(const i of a){const n=await i.key,o=await i.value;t.push({key:n,value:o})}return w.mergeObjectSync(e,t)}static mergeObjectSync(e,a){const t={};for(const i of a){const{key:n,value:o}=i;if(n.status==="aborted"||o.status==="aborted")return p;n.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),n.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(t[n.value]=o.value)}return{status:e.value,value:t}}}const p=Object.freeze({status:"aborted"}),q=l=>({status:"dirty",value:l}),_=l=>({status:"valid",value:l}),Oe=l=>l.status==="aborted",Le=l=>l.status==="dirty",ie=l=>l.status==="valid",Ce=l=>typeof Promise<"u"&&l instanceof Promise;function Te(l,e,a,t){if(a==="a"&&!t)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?l!==e||!t:!e.has(l))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?t:a==="a"?t.call(l):t?t.value:e.get(l)}function We(l,e,a,t,i){if(t==="m")throw new TypeError("Private method is not writable");if(t==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?l!==e||!i:!e.has(l))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t==="a"?i.call(l,a):i?i.value=a:e.set(l,a),a}var f;(function(l){l.errToObj=e=>typeof e=="string"?{message:e}:e||{},l.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(f||(f={}));var le,te;class B{constructor(e,a,t,i){this._cachedPath=[],this.parent=e,this.data=a,this._path=t,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Ue=(l,e)=>{if(ie(e))return{success:!0,data:e.value};if(!l.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const a=new I(l.common.issues);return this._error=a,this._error}}};function g(l){if(!l)return{};const{errorMap:e,invalid_type_error:a,required_error:t,description:i}=l;if(e&&(a||t))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(o,r)=>{var u,d;const{message:b}=l;return o.code==="invalid_enum_value"?{message:b??r.defaultError}:typeof r.data>"u"?{message:(u=b??t)!==null&&u!==void 0?u:r.defaultError}:o.code!=="invalid_type"?{message:r.defaultError}:{message:(d=b??a)!==null&&d!==void 0?d:r.defaultError}},description:i}}class y{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return D(e.data)}_getOrReturnCtx(e,a){return a||{common:e.parent.common,data:e.data,parsedType:D(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new w,ctx:{common:e.parent.common,data:e.data,parsedType:D(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const a=this._parse(e);if(Ce(a))throw new Error("Synchronous parse encountered promise.");return a}_parseAsync(e){const a=this._parse(e);return Promise.resolve(a)}parse(e,a){const t=this.safeParse(e,a);if(t.success)return t.data;throw t.error}safeParse(e,a){var t;const i={common:{issues:[],async:(t=a==null?void 0:a.async)!==null&&t!==void 0?t:!1,contextualErrorMap:a==null?void 0:a.errorMap},path:(a==null?void 0:a.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:D(e)},n=this._parseSync({data:e,path:i.path,parent:i});return Ue(i,n)}async parseAsync(e,a){const t=await this.safeParseAsync(e,a);if(t.success)return t.data;throw t.error}async safeParseAsync(e,a){const t={common:{issues:[],contextualErrorMap:a==null?void 0:a.errorMap,async:!0},path:(a==null?void 0:a.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:D(e)},i=this._parse({data:e,path:t.path,parent:t}),n=await(Ce(i)?i:Promise.resolve(i));return Ue(t,n)}refine(e,a){const t=i=>typeof a=="string"||typeof a>"u"?{message:a}:typeof a=="function"?a(i):a;return this._refinement((i,n)=>{const o=e(i),r=()=>n.addIssue({code:s.custom,...t(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(u=>u?!0:(r(),!1)):o?!0:(r(),!1)})}refinement(e,a){return this._refinement((t,i)=>e(t)?!0:(i.addIssue(typeof a=="function"?a(t,i):a),!1))}_refinement(e){return new x({schema:this,typeName:m.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return V.create(this,this._def)}nullable(){return U.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return P.create(this,this._def)}promise(){return Q.create(this,this._def)}or(e){return se.create([this,e],this._def)}and(e){return ue.create(this,e,this._def)}transform(e){return new x({...g(this._def),schema:this,typeName:m.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const a=typeof e=="function"?e:()=>e;return new fe({...g(this._def),innerType:this,defaultValue:a,typeName:m.ZodDefault})}brand(){return new Ke({typeName:m.ZodBranded,type:this,...g(this._def)})}catch(e){const a=typeof e=="function"?e:()=>e;return new be({...g(this._def),innerType:this,catchValue:a,typeName:m.ZodCatch})}describe(e){const a=this.constructor;return new a({...this._def,description:e})}pipe(e){return pe.create(this,e)}readonly(){return me.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Sa=/^c[^\s-]{8,}$/i,Na=/^[0-9a-z]+$/,wa=/^[0-9A-HJKMNP-TV-Z]{26}$/,_a=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Ia=/^[a-z0-9_-]{21}$/i,Ma=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Ra=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Aa="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Ae;const Pa=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,xa=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,Va=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ze="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Ba=new RegExp(`^${ze}$`);function qe(l){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return l.precision?e=`${e}\\.\\d{${l.precision}}`:l.precision==null&&(e=`${e}(\\.\\d+)?`),e}function Oa(l){return new RegExp(`^${qe(l)}$`)}function Ye(l){let e=`${ze}T${qe(l)}`;const a=[];return a.push(l.local?"Z?":"Z"),l.offset&&a.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${a.join("|")})`,new RegExp(`^${e}$`)}function La(l,e){return!!((e==="v4"||!e)&&Pa.test(l)||(e==="v6"||!e)&&xa.test(l))}class A extends y{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==h.string){const n=this._getOrReturnCtx(e);return c(n,{code:s.invalid_type,expected:h.string,received:n.parsedType}),p}const t=new w;let i;for(const n of this._def.checks)if(n.kind==="min")e.data.length<n.value&&(i=this._getOrReturnCtx(e,i),c(i,{code:s.too_small,minimum:n.value,type:"string",inclusive:!0,exact:!1,message:n.message}),t.dirty());else if(n.kind==="max")e.data.length>n.value&&(i=this._getOrReturnCtx(e,i),c(i,{code:s.too_big,maximum:n.value,type:"string",inclusive:!0,exact:!1,message:n.message}),t.dirty());else if(n.kind==="length"){const o=e.data.length>n.value,r=e.data.length<n.value;(o||r)&&(i=this._getOrReturnCtx(e,i),o?c(i,{code:s.too_big,maximum:n.value,type:"string",inclusive:!0,exact:!0,message:n.message}):r&&c(i,{code:s.too_small,minimum:n.value,type:"string",inclusive:!0,exact:!0,message:n.message}),t.dirty())}else if(n.kind==="email")Ra.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"email",code:s.invalid_string,message:n.message}),t.dirty());else if(n.kind==="emoji")Ae||(Ae=new RegExp(Aa,"u")),Ae.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"emoji",code:s.invalid_string,message:n.message}),t.dirty());else if(n.kind==="uuid")_a.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"uuid",code:s.invalid_string,message:n.message}),t.dirty());else if(n.kind==="nanoid")Ia.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"nanoid",code:s.invalid_string,message:n.message}),t.dirty());else if(n.kind==="cuid")Sa.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"cuid",code:s.invalid_string,message:n.message}),t.dirty());else if(n.kind==="cuid2")Na.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"cuid2",code:s.invalid_string,message:n.message}),t.dirty());else if(n.kind==="ulid")wa.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"ulid",code:s.invalid_string,message:n.message}),t.dirty());else if(n.kind==="url")try{new URL(e.data)}catch{i=this._getOrReturnCtx(e,i),c(i,{validation:"url",code:s.invalid_string,message:n.message}),t.dirty()}else n.kind==="regex"?(n.regex.lastIndex=0,n.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"regex",code:s.invalid_string,message:n.message}),t.dirty())):n.kind==="trim"?e.data=e.data.trim():n.kind==="includes"?e.data.includes(n.value,n.position)||(i=this._getOrReturnCtx(e,i),c(i,{code:s.invalid_string,validation:{includes:n.value,position:n.position},message:n.message}),t.dirty()):n.kind==="toLowerCase"?e.data=e.data.toLowerCase():n.kind==="toUpperCase"?e.data=e.data.toUpperCase():n.kind==="startsWith"?e.data.startsWith(n.value)||(i=this._getOrReturnCtx(e,i),c(i,{code:s.invalid_string,validation:{startsWith:n.value},message:n.message}),t.dirty()):n.kind==="endsWith"?e.data.endsWith(n.value)||(i=this._getOrReturnCtx(e,i),c(i,{code:s.invalid_string,validation:{endsWith:n.value},message:n.message}),t.dirty()):n.kind==="datetime"?Ye(n).test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{code:s.invalid_string,validation:"datetime",message:n.message}),t.dirty()):n.kind==="date"?Ba.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{code:s.invalid_string,validation:"date",message:n.message}),t.dirty()):n.kind==="time"?Oa(n).test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{code:s.invalid_string,validation:"time",message:n.message}),t.dirty()):n.kind==="duration"?Ma.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"duration",code:s.invalid_string,message:n.message}),t.dirty()):n.kind==="ip"?La(e.data,n.version)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"ip",code:s.invalid_string,message:n.message}),t.dirty()):n.kind==="base64"?Va.test(e.data)||(i=this._getOrReturnCtx(e,i),c(i,{validation:"base64",code:s.invalid_string,message:n.message}),t.dirty()):C.assertNever(n);return{status:t.value,value:e.data}}_regex(e,a,t){return this.refinement(i=>e.test(i),{validation:a,code:s.invalid_string,...f.errToObj(t)})}_addCheck(e){return new A({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...f.errToObj(e)})}url(e){return this._addCheck({kind:"url",...f.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...f.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...f.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...f.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...f.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...f.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...f.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...f.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...f.errToObj(e)})}datetime(e){var a,t;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(a=e==null?void 0:e.offset)!==null&&a!==void 0?a:!1,local:(t=e==null?void 0:e.local)!==null&&t!==void 0?t:!1,...f.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...f.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...f.errToObj(e)})}regex(e,a){return this._addCheck({kind:"regex",regex:e,...f.errToObj(a)})}includes(e,a){return this._addCheck({kind:"includes",value:e,position:a==null?void 0:a.position,...f.errToObj(a==null?void 0:a.message)})}startsWith(e,a){return this._addCheck({kind:"startsWith",value:e,...f.errToObj(a)})}endsWith(e,a){return this._addCheck({kind:"endsWith",value:e,...f.errToObj(a)})}min(e,a){return this._addCheck({kind:"min",value:e,...f.errToObj(a)})}max(e,a){return this._addCheck({kind:"max",value:e,...f.errToObj(a)})}length(e,a){return this._addCheck({kind:"length",value:e,...f.errToObj(a)})}nonempty(e){return this.min(1,f.errToObj(e))}trim(){return new A({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new A({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new A({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get minLength(){let e=null;for(const a of this._def.checks)a.kind==="min"&&(e===null||a.value>e)&&(e=a.value);return e}get maxLength(){let e=null;for(const a of this._def.checks)a.kind==="max"&&(e===null||a.value<e)&&(e=a.value);return e}}A.create=l=>{var e;return new A({checks:[],typeName:m.ZodString,coerce:(e=l==null?void 0:l.coerce)!==null&&e!==void 0?e:!1,...g(l)})};function Ea(l,e){const a=(l.toString().split(".")[1]||"").length,t=(e.toString().split(".")[1]||"").length,i=a>t?a:t,n=parseInt(l.toFixed(i).replace(".","")),o=parseInt(e.toFixed(i).replace(".",""));return n%o/Math.pow(10,i)}class Z extends y{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==h.number){const n=this._getOrReturnCtx(e);return c(n,{code:s.invalid_type,expected:h.number,received:n.parsedType}),p}let t;const i=new w;for(const n of this._def.checks)n.kind==="int"?C.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),c(t,{code:s.invalid_type,expected:"integer",received:"float",message:n.message}),i.dirty()):n.kind==="min"?(n.inclusive?e.data<n.value:e.data<=n.value)&&(t=this._getOrReturnCtx(e,t),c(t,{code:s.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),i.dirty()):n.kind==="max"?(n.inclusive?e.data>n.value:e.data>=n.value)&&(t=this._getOrReturnCtx(e,t),c(t,{code:s.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),i.dirty()):n.kind==="multipleOf"?Ea(e.data,n.value)!==0&&(t=this._getOrReturnCtx(e,t),c(t,{code:s.not_multiple_of,multipleOf:n.value,message:n.message}),i.dirty()):n.kind==="finite"?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),c(t,{code:s.not_finite,message:n.message}),i.dirty()):C.assertNever(n);return{status:i.value,value:e.data}}gte(e,a){return this.setLimit("min",e,!0,f.toString(a))}gt(e,a){return this.setLimit("min",e,!1,f.toString(a))}lte(e,a){return this.setLimit("max",e,!0,f.toString(a))}lt(e,a){return this.setLimit("max",e,!1,f.toString(a))}setLimit(e,a,t,i){return new Z({...this._def,checks:[...this._def.checks,{kind:e,value:a,inclusive:t,message:f.toString(i)}]})}_addCheck(e){return new Z({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:f.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:f.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:f.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:f.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:f.toString(e)})}multipleOf(e,a){return this._addCheck({kind:"multipleOf",value:e,message:f.toString(a)})}finite(e){return this._addCheck({kind:"finite",message:f.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:f.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:f.toString(e)})}get minValue(){let e=null;for(const a of this._def.checks)a.kind==="min"&&(e===null||a.value>e)&&(e=a.value);return e}get maxValue(){let e=null;for(const a of this._def.checks)a.kind==="max"&&(e===null||a.value<e)&&(e=a.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&C.isInteger(e.value))}get isFinite(){let e=null,a=null;for(const t of this._def.checks){if(t.kind==="finite"||t.kind==="int"||t.kind==="multipleOf")return!0;t.kind==="min"?(a===null||t.value>a)&&(a=t.value):t.kind==="max"&&(e===null||t.value<e)&&(e=t.value)}return Number.isFinite(a)&&Number.isFinite(e)}}Z.create=l=>new Z({checks:[],typeName:m.ZodNumber,coerce:(l==null?void 0:l.coerce)||!1,...g(l)});class G extends y{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==h.bigint){const n=this._getOrReturnCtx(e);return c(n,{code:s.invalid_type,expected:h.bigint,received:n.parsedType}),p}let t;const i=new w;for(const n of this._def.checks)n.kind==="min"?(n.inclusive?e.data<n.value:e.data<=n.value)&&(t=this._getOrReturnCtx(e,t),c(t,{code:s.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),i.dirty()):n.kind==="max"?(n.inclusive?e.data>n.value:e.data>=n.value)&&(t=this._getOrReturnCtx(e,t),c(t,{code:s.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),i.dirty()):n.kind==="multipleOf"?e.data%n.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),c(t,{code:s.not_multiple_of,multipleOf:n.value,message:n.message}),i.dirty()):C.assertNever(n);return{status:i.value,value:e.data}}gte(e,a){return this.setLimit("min",e,!0,f.toString(a))}gt(e,a){return this.setLimit("min",e,!1,f.toString(a))}lte(e,a){return this.setLimit("max",e,!0,f.toString(a))}lt(e,a){return this.setLimit("max",e,!1,f.toString(a))}setLimit(e,a,t,i){return new G({...this._def,checks:[...this._def.checks,{kind:e,value:a,inclusive:t,message:f.toString(i)}]})}_addCheck(e){return new G({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:f.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:f.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:f.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:f.toString(e)})}multipleOf(e,a){return this._addCheck({kind:"multipleOf",value:e,message:f.toString(a)})}get minValue(){let e=null;for(const a of this._def.checks)a.kind==="min"&&(e===null||a.value>e)&&(e=a.value);return e}get maxValue(){let e=null;for(const a of this._def.checks)a.kind==="max"&&(e===null||a.value<e)&&(e=a.value);return e}}G.create=l=>{var e;return new G({checks:[],typeName:m.ZodBigInt,coerce:(e=l==null?void 0:l.coerce)!==null&&e!==void 0?e:!1,...g(l)})};class ne extends y{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==h.boolean){const t=this._getOrReturnCtx(e);return c(t,{code:s.invalid_type,expected:h.boolean,received:t.parsedType}),p}return _(e.data)}}ne.create=l=>new ne({typeName:m.ZodBoolean,coerce:(l==null?void 0:l.coerce)||!1,...g(l)});class j extends y{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==h.date){const n=this._getOrReturnCtx(e);return c(n,{code:s.invalid_type,expected:h.date,received:n.parsedType}),p}if(isNaN(e.data.getTime())){const n=this._getOrReturnCtx(e);return c(n,{code:s.invalid_date}),p}const t=new w;let i;for(const n of this._def.checks)n.kind==="min"?e.data.getTime()<n.value&&(i=this._getOrReturnCtx(e,i),c(i,{code:s.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),t.dirty()):n.kind==="max"?e.data.getTime()>n.value&&(i=this._getOrReturnCtx(e,i),c(i,{code:s.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),t.dirty()):C.assertNever(n);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new j({...this._def,checks:[...this._def.checks,e]})}min(e,a){return this._addCheck({kind:"min",value:e.getTime(),message:f.toString(a)})}max(e,a){return this._addCheck({kind:"max",value:e.getTime(),message:f.toString(a)})}get minDate(){let e=null;for(const a of this._def.checks)a.kind==="min"&&(e===null||a.value>e)&&(e=a.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const a of this._def.checks)a.kind==="max"&&(e===null||a.value<e)&&(e=a.value);return e!=null?new Date(e):null}}j.create=l=>new j({checks:[],coerce:(l==null?void 0:l.coerce)||!1,typeName:m.ZodDate,...g(l)});class Se extends y{_parse(e){if(this._getType(e)!==h.symbol){const t=this._getOrReturnCtx(e);return c(t,{code:s.invalid_type,expected:h.symbol,received:t.parsedType}),p}return _(e.data)}}Se.create=l=>new Se({typeName:m.ZodSymbol,...g(l)});class oe extends y{_parse(e){if(this._getType(e)!==h.undefined){const t=this._getOrReturnCtx(e);return c(t,{code:s.invalid_type,expected:h.undefined,received:t.parsedType}),p}return _(e.data)}}oe.create=l=>new oe({typeName:m.ZodUndefined,...g(l)});class re extends y{_parse(e){if(this._getType(e)!==h.null){const t=this._getOrReturnCtx(e);return c(t,{code:s.invalid_type,expected:h.null,received:t.parsedType}),p}return _(e.data)}}re.create=l=>new re({typeName:m.ZodNull,...g(l)});class J extends y{constructor(){super(...arguments),this._any=!0}_parse(e){return _(e.data)}}J.create=l=>new J({typeName:m.ZodAny,...g(l)});class H extends y{constructor(){super(...arguments),this._unknown=!0}_parse(e){return _(e.data)}}H.create=l=>new H({typeName:m.ZodUnknown,...g(l)});class E extends y{_parse(e){const a=this._getOrReturnCtx(e);return c(a,{code:s.invalid_type,expected:h.never,received:a.parsedType}),p}}E.create=l=>new E({typeName:m.ZodNever,...g(l)});class Ne extends y{_parse(e){if(this._getType(e)!==h.undefined){const t=this._getOrReturnCtx(e);return c(t,{code:s.invalid_type,expected:h.void,received:t.parsedType}),p}return _(e.data)}}Ne.create=l=>new Ne({typeName:m.ZodVoid,...g(l)});class P extends y{_parse(e){const{ctx:a,status:t}=this._processInputParams(e),i=this._def;if(a.parsedType!==h.array)return c(a,{code:s.invalid_type,expected:h.array,received:a.parsedType}),p;if(i.exactLength!==null){const o=a.data.length>i.exactLength.value,r=a.data.length<i.exactLength.value;(o||r)&&(c(a,{code:o?s.too_big:s.too_small,minimum:r?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),t.dirty())}if(i.minLength!==null&&a.data.length<i.minLength.value&&(c(a,{code:s.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),t.dirty()),i.maxLength!==null&&a.data.length>i.maxLength.value&&(c(a,{code:s.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),t.dirty()),a.common.async)return Promise.all([...a.data].map((o,r)=>i.type._parseAsync(new B(a,o,a.path,r)))).then(o=>w.mergeArray(t,o));const n=[...a.data].map((o,r)=>i.type._parseSync(new B(a,o,a.path,r)));return w.mergeArray(t,n)}get element(){return this._def.type}min(e,a){return new P({...this._def,minLength:{value:e,message:f.toString(a)}})}max(e,a){return new P({...this._def,maxLength:{value:e,message:f.toString(a)}})}length(e,a){return new P({...this._def,exactLength:{value:e,message:f.toString(a)}})}nonempty(e){return this.min(1,e)}}P.create=(l,e)=>new P({type:l,minLength:null,maxLength:null,exactLength:null,typeName:m.ZodArray,...g(e)});function z(l){if(l instanceof T){const e={};for(const a in l.shape){const t=l.shape[a];e[a]=V.create(z(t))}return new T({...l._def,shape:()=>e})}else return l instanceof P?new P({...l._def,type:z(l.element)}):l instanceof V?V.create(z(l.unwrap())):l instanceof U?U.create(z(l.unwrap())):l instanceof O?O.create(l.items.map(e=>z(e))):l}class T extends y{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),a=C.objectKeys(e);return this._cached={shape:e,keys:a}}_parse(e){if(this._getType(e)!==h.object){const d=this._getOrReturnCtx(e);return c(d,{code:s.invalid_type,expected:h.object,received:d.parsedType}),p}const{status:t,ctx:i}=this._processInputParams(e),{shape:n,keys:o}=this._getCached(),r=[];if(!(this._def.catchall instanceof E&&this._def.unknownKeys==="strip"))for(const d in i.data)o.includes(d)||r.push(d);const u=[];for(const d of o){const b=n[d],S=i.data[d];u.push({key:{status:"valid",value:d},value:b._parse(new B(i,S,i.path,d)),alwaysSet:d in i.data})}if(this._def.catchall instanceof E){const d=this._def.unknownKeys;if(d==="passthrough")for(const b of r)u.push({key:{status:"valid",value:b},value:{status:"valid",value:i.data[b]}});else if(d==="strict")r.length>0&&(c(i,{code:s.unrecognized_keys,keys:r}),t.dirty());else if(d!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const d=this._def.catchall;for(const b of r){const S=i.data[b];u.push({key:{status:"valid",value:b},value:d._parse(new B(i,S,i.path,b)),alwaysSet:b in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const d=[];for(const b of u){const S=await b.key,M=await b.value;d.push({key:S,value:M,alwaysSet:b.alwaysSet})}return d}).then(d=>w.mergeObjectSync(t,d)):w.mergeObjectSync(t,u)}get shape(){return this._def.shape()}strict(e){return f.errToObj,new T({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(a,t)=>{var i,n,o,r;const u=(o=(n=(i=this._def).errorMap)===null||n===void 0?void 0:n.call(i,a,t).message)!==null&&o!==void 0?o:t.defaultError;return a.code==="unrecognized_keys"?{message:(r=f.errToObj(e).message)!==null&&r!==void 0?r:u}:{message:u}}}:{}})}strip(){return new T({...this._def,unknownKeys:"strip"})}passthrough(){return new T({...this._def,unknownKeys:"passthrough"})}extend(e){return new T({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new T({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:m.ZodObject})}setKey(e,a){return this.augment({[e]:a})}catchall(e){return new T({...this._def,catchall:e})}pick(e){const a={};return C.objectKeys(e).forEach(t=>{e[t]&&this.shape[t]&&(a[t]=this.shape[t])}),new T({...this._def,shape:()=>a})}omit(e){const a={};return C.objectKeys(this.shape).forEach(t=>{e[t]||(a[t]=this.shape[t])}),new T({...this._def,shape:()=>a})}deepPartial(){return z(this)}partial(e){const a={};return C.objectKeys(this.shape).forEach(t=>{const i=this.shape[t];e&&!e[t]?a[t]=i:a[t]=i.optional()}),new T({...this._def,shape:()=>a})}required(e){const a={};return C.objectKeys(this.shape).forEach(t=>{if(e&&!e[t])a[t]=this.shape[t];else{let n=this.shape[t];for(;n instanceof V;)n=n._def.innerType;a[t]=n}}),new T({...this._def,shape:()=>a})}keyof(){return $e(C.objectKeys(this.shape))}}T.create=(l,e)=>new T({shape:()=>l,unknownKeys:"strip",catchall:E.create(),typeName:m.ZodObject,...g(e)});T.strictCreate=(l,e)=>new T({shape:()=>l,unknownKeys:"strict",catchall:E.create(),typeName:m.ZodObject,...g(e)});T.lazycreate=(l,e)=>new T({shape:l,unknownKeys:"strip",catchall:E.create(),typeName:m.ZodObject,...g(e)});class se extends y{_parse(e){const{ctx:a}=this._processInputParams(e),t=this._def.options;function i(n){for(const r of n)if(r.result.status==="valid")return r.result;for(const r of n)if(r.result.status==="dirty")return a.common.issues.push(...r.ctx.common.issues),r.result;const o=n.map(r=>new I(r.ctx.common.issues));return c(a,{code:s.invalid_union,unionErrors:o}),p}if(a.common.async)return Promise.all(t.map(async n=>{const o={...a,common:{...a.common,issues:[]},parent:null};return{result:await n._parseAsync({data:a.data,path:a.path,parent:o}),ctx:o}})).then(i);{let n;const o=[];for(const u of t){const d={...a,common:{...a.common,issues:[]},parent:null},b=u._parseSync({data:a.data,path:a.path,parent:d});if(b.status==="valid")return b;b.status==="dirty"&&!n&&(n={result:b,ctx:d}),d.common.issues.length&&o.push(d.common.issues)}if(n)return a.common.issues.push(...n.ctx.common.issues),n.result;const r=o.map(u=>new I(u));return c(a,{code:s.invalid_union,unionErrors:r}),p}}get options(){return this._def.options}}se.create=(l,e)=>new se({options:l,typeName:m.ZodUnion,...g(e)});const L=l=>l instanceof ce?L(l.schema):l instanceof x?L(l.innerType()):l instanceof he?[l.value]:l instanceof F?l.options:l instanceof ve?C.objectValues(l.enum):l instanceof fe?L(l._def.innerType):l instanceof oe?[void 0]:l instanceof re?[null]:l instanceof V?[void 0,...L(l.unwrap())]:l instanceof U?[null,...L(l.unwrap())]:l instanceof Ke||l instanceof me?L(l.unwrap()):l instanceof be?L(l._def.innerType):[];class Ie extends y{_parse(e){const{ctx:a}=this._processInputParams(e);if(a.parsedType!==h.object)return c(a,{code:s.invalid_type,expected:h.object,received:a.parsedType}),p;const t=this.discriminator,i=a.data[t],n=this.optionsMap.get(i);return n?a.common.async?n._parseAsync({data:a.data,path:a.path,parent:a}):n._parseSync({data:a.data,path:a.path,parent:a}):(c(a,{code:s.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[t]}),p)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,a,t){const i=new Map;for(const n of a){const o=L(n.shape[e]);if(!o.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const r of o){if(i.has(r))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(r)}`);i.set(r,n)}}return new Ie({typeName:m.ZodDiscriminatedUnion,discriminator:e,options:a,optionsMap:i,...g(t)})}}function Ee(l,e){const a=D(l),t=D(e);if(l===e)return{valid:!0,data:l};if(a===h.object&&t===h.object){const i=C.objectKeys(e),n=C.objectKeys(l).filter(r=>i.indexOf(r)!==-1),o={...l,...e};for(const r of n){const u=Ee(l[r],e[r]);if(!u.valid)return{valid:!1};o[r]=u.data}return{valid:!0,data:o}}else if(a===h.array&&t===h.array){if(l.length!==e.length)return{valid:!1};const i=[];for(let n=0;n<l.length;n++){const o=l[n],r=e[n],u=Ee(o,r);if(!u.valid)return{valid:!1};i.push(u.data)}return{valid:!0,data:i}}else return a===h.date&&t===h.date&&+l==+e?{valid:!0,data:l}:{valid:!1}}class ue extends y{_parse(e){const{status:a,ctx:t}=this._processInputParams(e),i=(n,o)=>{if(Oe(n)||Oe(o))return p;const r=Ee(n.value,o.value);return r.valid?((Le(n)||Le(o))&&a.dirty(),{status:a.value,value:r.data}):(c(t,{code:s.invalid_intersection_types}),p)};return t.common.async?Promise.all([this._def.left._parseAsync({data:t.data,path:t.path,parent:t}),this._def.right._parseAsync({data:t.data,path:t.path,parent:t})]).then(([n,o])=>i(n,o)):i(this._def.left._parseSync({data:t.data,path:t.path,parent:t}),this._def.right._parseSync({data:t.data,path:t.path,parent:t}))}}ue.create=(l,e,a)=>new ue({left:l,right:e,typeName:m.ZodIntersection,...g(a)});class O extends y{_parse(e){const{status:a,ctx:t}=this._processInputParams(e);if(t.parsedType!==h.array)return c(t,{code:s.invalid_type,expected:h.array,received:t.parsedType}),p;if(t.data.length<this._def.items.length)return c(t,{code:s.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),p;!this._def.rest&&t.data.length>this._def.items.length&&(c(t,{code:s.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),a.dirty());const n=[...t.data].map((o,r)=>{const u=this._def.items[r]||this._def.rest;return u?u._parse(new B(t,o,t.path,r)):null}).filter(o=>!!o);return t.common.async?Promise.all(n).then(o=>w.mergeArray(a,o)):w.mergeArray(a,n)}get items(){return this._def.items}rest(e){return new O({...this._def,rest:e})}}O.create=(l,e)=>{if(!Array.isArray(l))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new O({items:l,typeName:m.ZodTuple,rest:null,...g(e)})};class de extends y{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:a,ctx:t}=this._processInputParams(e);if(t.parsedType!==h.object)return c(t,{code:s.invalid_type,expected:h.object,received:t.parsedType}),p;const i=[],n=this._def.keyType,o=this._def.valueType;for(const r in t.data)i.push({key:n._parse(new B(t,r,t.path,r)),value:o._parse(new B(t,t.data[r],t.path,r)),alwaysSet:r in t.data});return t.common.async?w.mergeObjectAsync(a,i):w.mergeObjectSync(a,i)}get element(){return this._def.valueType}static create(e,a,t){return a instanceof y?new de({keyType:e,valueType:a,typeName:m.ZodRecord,...g(t)}):new de({keyType:A.create(),valueType:e,typeName:m.ZodRecord,...g(a)})}}class we extends y{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:a,ctx:t}=this._processInputParams(e);if(t.parsedType!==h.map)return c(t,{code:s.invalid_type,expected:h.map,received:t.parsedType}),p;const i=this._def.keyType,n=this._def.valueType,o=[...t.data.entries()].map(([r,u],d)=>({key:i._parse(new B(t,r,t.path,[d,"key"])),value:n._parse(new B(t,u,t.path,[d,"value"]))}));if(t.common.async){const r=new Map;return Promise.resolve().then(async()=>{for(const u of o){const d=await u.key,b=await u.value;if(d.status==="aborted"||b.status==="aborted")return p;(d.status==="dirty"||b.status==="dirty")&&a.dirty(),r.set(d.value,b.value)}return{status:a.value,value:r}})}else{const r=new Map;for(const u of o){const d=u.key,b=u.value;if(d.status==="aborted"||b.status==="aborted")return p;(d.status==="dirty"||b.status==="dirty")&&a.dirty(),r.set(d.value,b.value)}return{status:a.value,value:r}}}}we.create=(l,e,a)=>new we({valueType:e,keyType:l,typeName:m.ZodMap,...g(a)});class W extends y{_parse(e){const{status:a,ctx:t}=this._processInputParams(e);if(t.parsedType!==h.set)return c(t,{code:s.invalid_type,expected:h.set,received:t.parsedType}),p;const i=this._def;i.minSize!==null&&t.data.size<i.minSize.value&&(c(t,{code:s.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),a.dirty()),i.maxSize!==null&&t.data.size>i.maxSize.value&&(c(t,{code:s.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),a.dirty());const n=this._def.valueType;function o(u){const d=new Set;for(const b of u){if(b.status==="aborted")return p;b.status==="dirty"&&a.dirty(),d.add(b.value)}return{status:a.value,value:d}}const r=[...t.data.values()].map((u,d)=>n._parse(new B(t,u,t.path,d)));return t.common.async?Promise.all(r).then(u=>o(u)):o(r)}min(e,a){return new W({...this._def,minSize:{value:e,message:f.toString(a)}})}max(e,a){return new W({...this._def,maxSize:{value:e,message:f.toString(a)}})}size(e,a){return this.min(e,a).max(e,a)}nonempty(e){return this.min(1,e)}}W.create=(l,e)=>new W({valueType:l,minSize:null,maxSize:null,typeName:m.ZodSet,...g(e)});class Y extends y{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:a}=this._processInputParams(e);if(a.parsedType!==h.function)return c(a,{code:s.invalid_type,expected:h.function,received:a.parsedType}),p;function t(r,u){return ye({data:r,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,ke(),$].filter(d=>!!d),issueData:{code:s.invalid_arguments,argumentsError:u}})}function i(r,u){return ye({data:r,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,ke(),$].filter(d=>!!d),issueData:{code:s.invalid_return_type,returnTypeError:u}})}const n={errorMap:a.common.contextualErrorMap},o=a.data;if(this._def.returns instanceof Q){const r=this;return _(async function(...u){const d=new I([]),b=await r._def.args.parseAsync(u,n).catch(R=>{throw d.addIssue(t(u,R)),d}),S=await Reflect.apply(o,this,b);return await r._def.returns._def.type.parseAsync(S,n).catch(R=>{throw d.addIssue(i(S,R)),d})})}else{const r=this;return _(function(...u){const d=r._def.args.safeParse(u,n);if(!d.success)throw new I([t(u,d.error)]);const b=Reflect.apply(o,this,d.data),S=r._def.returns.safeParse(b,n);if(!S.success)throw new I([i(b,S.error)]);return S.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new Y({...this._def,args:O.create(e).rest(H.create())})}returns(e){return new Y({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,a,t){return new Y({args:e||O.create([]).rest(H.create()),returns:a||H.create(),typeName:m.ZodFunction,...g(t)})}}class ce extends y{get schema(){return this._def.getter()}_parse(e){const{ctx:a}=this._processInputParams(e);return this._def.getter()._parse({data:a.data,path:a.path,parent:a})}}ce.create=(l,e)=>new ce({getter:l,typeName:m.ZodLazy,...g(e)});class he extends y{_parse(e){if(e.data!==this._def.value){const a=this._getOrReturnCtx(e);return c(a,{received:a.data,code:s.invalid_literal,expected:this._def.value}),p}return{status:"valid",value:e.data}}get value(){return this._def.value}}he.create=(l,e)=>new he({value:l,typeName:m.ZodLiteral,...g(e)});function $e(l,e){return new F({values:l,typeName:m.ZodEnum,...g(e)})}class F extends y{constructor(){super(...arguments),le.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const a=this._getOrReturnCtx(e),t=this._def.values;return c(a,{expected:C.joinValues(t),received:a.parsedType,code:s.invalid_type}),p}if(Te(this,le,"f")||We(this,le,new Set(this._def.values),"f"),!Te(this,le,"f").has(e.data)){const a=this._getOrReturnCtx(e),t=this._def.values;return c(a,{received:a.data,code:s.invalid_enum_value,options:t}),p}return _(e.data)}get options(){return this._def.values}get enum(){const e={};for(const a of this._def.values)e[a]=a;return e}get Values(){const e={};for(const a of this._def.values)e[a]=a;return e}get Enum(){const e={};for(const a of this._def.values)e[a]=a;return e}extract(e,a=this._def){return F.create(e,{...this._def,...a})}exclude(e,a=this._def){return F.create(this.options.filter(t=>!e.includes(t)),{...this._def,...a})}}le=new WeakMap;F.create=$e;class ve extends y{constructor(){super(...arguments),te.set(this,void 0)}_parse(e){const a=C.getValidEnumValues(this._def.values),t=this._getOrReturnCtx(e);if(t.parsedType!==h.string&&t.parsedType!==h.number){const i=C.objectValues(a);return c(t,{expected:C.joinValues(i),received:t.parsedType,code:s.invalid_type}),p}if(Te(this,te,"f")||We(this,te,new Set(C.getValidEnumValues(this._def.values)),"f"),!Te(this,te,"f").has(e.data)){const i=C.objectValues(a);return c(t,{received:t.data,code:s.invalid_enum_value,options:i}),p}return _(e.data)}get enum(){return this._def.values}}te=new WeakMap;ve.create=(l,e)=>new ve({values:l,typeName:m.ZodNativeEnum,...g(e)});class Q extends y{unwrap(){return this._def.type}_parse(e){const{ctx:a}=this._processInputParams(e);if(a.parsedType!==h.promise&&a.common.async===!1)return c(a,{code:s.invalid_type,expected:h.promise,received:a.parsedType}),p;const t=a.parsedType===h.promise?a.data:Promise.resolve(a.data);return _(t.then(i=>this._def.type.parseAsync(i,{path:a.path,errorMap:a.common.contextualErrorMap})))}}Q.create=(l,e)=>new Q({type:l,typeName:m.ZodPromise,...g(e)});class x extends y{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===m.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:a,ctx:t}=this._processInputParams(e),i=this._def.effect||null,n={addIssue:o=>{c(t,o),o.fatal?a.abort():a.dirty()},get path(){return t.path}};if(n.addIssue=n.addIssue.bind(n),i.type==="preprocess"){const o=i.transform(t.data,n);if(t.common.async)return Promise.resolve(o).then(async r=>{if(a.value==="aborted")return p;const u=await this._def.schema._parseAsync({data:r,path:t.path,parent:t});return u.status==="aborted"?p:u.status==="dirty"||a.value==="dirty"?q(u.value):u});{if(a.value==="aborted")return p;const r=this._def.schema._parseSync({data:o,path:t.path,parent:t});return r.status==="aborted"?p:r.status==="dirty"||a.value==="dirty"?q(r.value):r}}if(i.type==="refinement"){const o=r=>{const u=i.refinement(r,n);if(t.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return r};if(t.common.async===!1){const r=this._def.schema._parseSync({data:t.data,path:t.path,parent:t});return r.status==="aborted"?p:(r.status==="dirty"&&a.dirty(),o(r.value),{status:a.value,value:r.value})}else return this._def.schema._parseAsync({data:t.data,path:t.path,parent:t}).then(r=>r.status==="aborted"?p:(r.status==="dirty"&&a.dirty(),o(r.value).then(()=>({status:a.value,value:r.value}))))}if(i.type==="transform")if(t.common.async===!1){const o=this._def.schema._parseSync({data:t.data,path:t.path,parent:t});if(!ie(o))return o;const r=i.transform(o.value,n);if(r instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:a.value,value:r}}else return this._def.schema._parseAsync({data:t.data,path:t.path,parent:t}).then(o=>ie(o)?Promise.resolve(i.transform(o.value,n)).then(r=>({status:a.value,value:r})):o);C.assertNever(i)}}x.create=(l,e,a)=>new x({schema:l,typeName:m.ZodEffects,effect:e,...g(a)});x.createWithPreprocess=(l,e,a)=>new x({schema:e,effect:{type:"preprocess",transform:l},typeName:m.ZodEffects,...g(a)});class V extends y{_parse(e){return this._getType(e)===h.undefined?_(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}V.create=(l,e)=>new V({innerType:l,typeName:m.ZodOptional,...g(e)});class U extends y{_parse(e){return this._getType(e)===h.null?_(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}U.create=(l,e)=>new U({innerType:l,typeName:m.ZodNullable,...g(e)});class fe extends y{_parse(e){const{ctx:a}=this._processInputParams(e);let t=a.data;return a.parsedType===h.undefined&&(t=this._def.defaultValue()),this._def.innerType._parse({data:t,path:a.path,parent:a})}removeDefault(){return this._def.innerType}}fe.create=(l,e)=>new fe({innerType:l,typeName:m.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...g(e)});class be extends y{_parse(e){const{ctx:a}=this._processInputParams(e),t={...a,common:{...a.common,issues:[]}},i=this._def.innerType._parse({data:t.data,path:t.path,parent:{...t}});return Ce(i)?i.then(n=>({status:"valid",value:n.status==="valid"?n.value:this._def.catchValue({get error(){return new I(t.common.issues)},input:t.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new I(t.common.issues)},input:t.data})}}removeCatch(){return this._def.innerType}}be.create=(l,e)=>new be({innerType:l,typeName:m.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...g(e)});class _e extends y{_parse(e){if(this._getType(e)!==h.nan){const t=this._getOrReturnCtx(e);return c(t,{code:s.invalid_type,expected:h.nan,received:t.parsedType}),p}return{status:"valid",value:e.data}}}_e.create=l=>new _e({typeName:m.ZodNaN,...g(l)});const Ka=Symbol("zod_brand");class Ke extends y{_parse(e){const{ctx:a}=this._processInputParams(e),t=a.data;return this._def.type._parse({data:t,path:a.path,parent:a})}unwrap(){return this._def.type}}class pe extends y{_parse(e){const{status:a,ctx:t}=this._processInputParams(e);if(t.common.async)return(async()=>{const n=await this._def.in._parseAsync({data:t.data,path:t.path,parent:t});return n.status==="aborted"?p:n.status==="dirty"?(a.dirty(),q(n.value)):this._def.out._parseAsync({data:n.value,path:t.path,parent:t})})();{const i=this._def.in._parseSync({data:t.data,path:t.path,parent:t});return i.status==="aborted"?p:i.status==="dirty"?(a.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:t.path,parent:t})}}static create(e,a){return new pe({in:e,out:a,typeName:m.ZodPipeline})}}class me extends y{_parse(e){const a=this._def.innerType._parse(e);return ie(a)&&(a.value=Object.freeze(a.value)),a}unwrap(){return this._def.innerType}}me.create=(l,e)=>new me({innerType:l,typeName:m.ZodReadonly,...g(e)});function Je(l,e={},a){return l?J.create().superRefine((t,i)=>{var n,o;if(!l(t)){const r=typeof e=="function"?e(t):typeof e=="string"?{message:e}:e,u=(o=(n=r.fatal)!==null&&n!==void 0?n:a)!==null&&o!==void 0?o:!0,d=typeof r=="string"?{message:r}:r;i.addIssue({code:"custom",...d,fatal:u})}}):J.create()}const Da={object:T.lazycreate};var m;(function(l){l.ZodString="ZodString",l.ZodNumber="ZodNumber",l.ZodNaN="ZodNaN",l.ZodBigInt="ZodBigInt",l.ZodBoolean="ZodBoolean",l.ZodDate="ZodDate",l.ZodSymbol="ZodSymbol",l.ZodUndefined="ZodUndefined",l.ZodNull="ZodNull",l.ZodAny="ZodAny",l.ZodUnknown="ZodUnknown",l.ZodNever="ZodNever",l.ZodVoid="ZodVoid",l.ZodArray="ZodArray",l.ZodObject="ZodObject",l.ZodUnion="ZodUnion",l.ZodDiscriminatedUnion="ZodDiscriminatedUnion",l.ZodIntersection="ZodIntersection",l.ZodTuple="ZodTuple",l.ZodRecord="ZodRecord",l.ZodMap="ZodMap",l.ZodSet="ZodSet",l.ZodFunction="ZodFunction",l.ZodLazy="ZodLazy",l.ZodLiteral="ZodLiteral",l.ZodEnum="ZodEnum",l.ZodEffects="ZodEffects",l.ZodNativeEnum="ZodNativeEnum",l.ZodOptional="ZodOptional",l.ZodNullable="ZodNullable",l.ZodDefault="ZodDefault",l.ZodCatch="ZodCatch",l.ZodPromise="ZodPromise",l.ZodBranded="ZodBranded",l.ZodPipeline="ZodPipeline",l.ZodReadonly="ZodReadonly"})(m||(m={}));const Za=(l,e={message:`Input not instance of ${l.name}`})=>Je(a=>a instanceof l,e),Qe=A.create,Xe=Z.create,Ga=_e.create,Fa=G.create,ea=ne.create,Ua=j.create,Ha=Se.create,ja=oe.create,Wa=re.create,za=J.create,qa=H.create,Ya=E.create,$a=Ne.create,Ja=P.create,Qa=T.create,Xa=T.strictCreate,el=se.create,al=Ie.create,ll=ue.create,tl=O.create,il=de.create,nl=we.create,ol=W.create,rl=Y.create,sl=ce.create,ul=he.create,dl=F.create,cl=ve.create,hl=Q.create,He=x.create,vl=V.create,fl=U.create,bl=x.createWithPreprocess,ml=pe.create,pl=()=>Qe().optional(),gl=()=>Xe().optional(),kl=()=>ea().optional(),yl={string:l=>A.create({...l,coerce:!0}),number:l=>Z.create({...l,coerce:!0}),boolean:l=>ne.create({...l,coerce:!0}),bigint:l=>G.create({...l,coerce:!0}),date:l=>j.create({...l,coerce:!0})},Cl=p;var v=Object.freeze({__proto__:null,defaultErrorMap:$,setErrorMap:Ca,getErrorMap:ke,makeIssue:ye,EMPTY_PATH:Ta,addIssueToContext:c,ParseStatus:w,INVALID:p,DIRTY:q,OK:_,isAborted:Oe,isDirty:Le,isValid:ie,isAsync:Ce,get util(){return C},get objectUtil(){return Be},ZodParsedType:h,getParsedType:D,ZodType:y,datetimeRegex:Ye,ZodString:A,ZodNumber:Z,ZodBigInt:G,ZodBoolean:ne,ZodDate:j,ZodSymbol:Se,ZodUndefined:oe,ZodNull:re,ZodAny:J,ZodUnknown:H,ZodNever:E,ZodVoid:Ne,ZodArray:P,ZodObject:T,ZodUnion:se,ZodDiscriminatedUnion:Ie,ZodIntersection:ue,ZodTuple:O,ZodRecord:de,ZodMap:we,ZodSet:W,ZodFunction:Y,ZodLazy:ce,ZodLiteral:he,ZodEnum:F,ZodNativeEnum:ve,ZodPromise:Q,ZodEffects:x,ZodTransformer:x,ZodOptional:V,ZodNullable:U,ZodDefault:fe,ZodCatch:be,ZodNaN:_e,BRAND:Ka,ZodBranded:Ke,ZodPipeline:pe,ZodReadonly:me,custom:Je,Schema:y,ZodSchema:y,late:Da,get ZodFirstPartyTypeKind(){return m},coerce:yl,any:za,array:Ja,bigint:Fa,boolean:ea,date:Ua,discriminatedUnion:al,effect:He,enum:dl,function:rl,instanceof:Za,intersection:ll,lazy:sl,literal:ul,map:nl,nan:Ga,nativeEnum:cl,never:Ya,null:Wa,nullable:fl,number:Xe,object:Qa,oboolean:kl,onumber:gl,optional:vl,ostring:pl,pipeline:ml,preprocess:bl,promise:hl,record:il,set:ol,strictObject:Xa,string:Qe,symbol:Ha,transformer:He,tuple:tl,undefined:ja,union:el,unknown:qa,void:$a,NEVER:Cl,ZodIssueCode:s,quotelessJson:ya,ZodError:I}),k=(l=>(l.FieldRequired="field.required",l.FieldDuplicateEntry="field.duplicate-entry",l.SectionRequired="section.required",l.StateOrTribeRequired="state-or-tribe.required",l.FileInvalidType="file.invalid-type",l.FileTooLarge="file.too-large",l.InvalidEmail="invalid.email",l.InvalidDate="invalid.date",l.FutureDate="date.future",l.InvalidZipCodeUS="invalid.zip-us",l.InvalidValue="invalid.value",l.InvalidAlphaNumericOnly="invalid.alphanumeric",l.Invalid12Numeric="invalid.12numeric",l.Invalid9Numeric="invalid.9numeric",l.InvalidIndividualFincenId="invalid.individual-fincen-id",l.InvalidFincenId="invalid.fincen-id",l.MustBeUnique="invalid.unique",l.Length9="length.9",l.Length12="length.12",l.Length25="length.25",l.Length50="length.50",l.Length100="length.100",l.Length150="length.150",l.Length500="length.500",l.AcceptTerms="accept.terms",l.AcceptCertification="accept.certification",l.EmailMismatch="email.mismatch",l.FilingRequired="filing.required",l.FormationDateNotSet="applicants.formation-date-not-set",l.ApplicantRequired="applicant.required",l.OwnerRequired="owner.required",l))(k||{});const aa=["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"];v.enum(aa,{message:k.FieldRequired});const Tl=[{value:"AB",label:"Alberta"},{value:"BC",label:"British Columbia"},{value:"MB",label:"Manitoba"},{value:"NB",label:"New Brunswick"},{value:"NL",label:"Newfoundland and Labrador"},{value:"NT",label:"Northwest Territory"},{value:"NS",label:"Nova Scotia"},{value:"NU",label:"Nunavut"},{value:"ON",label:"Ontario"},{value:"PE",label:"Prince Edward Island"},{value:"QC",label:"Quebec"},{value:"SK",label:"Saskatchewan"},{value:"YT",label:"Yukon Territory"}],Sl="US",la={value:"US",label:"United States of America"},ta=["AF","AX","AL","DZ","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MQ","MR","MU","YT","MX","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","NO","OM","PK","PS","PA","PG","PY","PE","PH","PN","PL","PT","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UY","UZ","VU","VE","VN","VG","WF","EH","YE","ZM","ZW"],Nl=v.enum(ta,{message:k.FieldRequired}),wl=[{value:"AF",label:"Afghanistan"},{value:"AX",label:"Åland Islands"},{value:"AL",label:"Albania"},{value:"DZ",label:"Algeria"},{value:"AD",label:"Andorra"},{value:"AO",label:"Angola"},{value:"AI",label:"Anguilla"},{value:"AQ",label:"Antarctica"},{value:"AG",label:"Antigua And Barbuda"},{value:"AR",label:"Argentina"},{value:"AM",label:"Armenia"},{value:"AW",label:"Aruba"},{value:"AU",label:"Australia"},{value:"AT",label:"Austria"},{value:"AZ",label:"Azerbaijan"},{value:"BS",label:"Bahamas"},{value:"BH",label:"Bahrain"},{value:"BD",label:"Bangladesh"},{value:"BB",label:"Barbados"},{value:"BY",label:"Belarus"},{value:"BE",label:"Belgium"},{value:"BZ",label:"Belize"},{value:"BJ",label:"Benin"},{value:"BM",label:"Bermuda"},{value:"BT",label:"Bhutan"},{value:"BO",label:"Bolivia, Plurinational State Of"},{value:"BQ",label:"Bonaire, Sint Eustatius And Saba"},{value:"BA",label:"Bosnia And Herzegovina"},{value:"BW",label:"Botswana"},{value:"BV",label:"Bouvet Island"},{value:"BR",label:"Brazil"},{value:"IO",label:"British Indian Ocean Territory"},{value:"BN",label:"Brunei Darussalam"},{value:"BG",label:"Bulgaria"},{value:"BF",label:"Burkina Faso"},{value:"BI",label:"Burundi"},{value:"KH",label:"Cambodia"},{value:"CM",label:"Cameroon"},{value:"CA",label:"Canada"},{value:"CV",label:"Cape Verde"},{value:"KY",label:"Cayman Islands"},{value:"CF",label:"Central African Republic"},{value:"TD",label:"Chad"},{value:"CL",label:"Chile"},{value:"CN",label:"China"},{value:"CX",label:"Christmas Island"},{value:"CC",label:"Cocos (Keeling) Islands"},{value:"CO",label:"Colombia"},{value:"KM",label:"Comoros"},{value:"CG",label:"Congo"},{value:"CD",label:"Congo, The Democratic Republic Of The"},{value:"CK",label:"Cook Islands"},{value:"CR",label:"Costa Rica"},{value:"CI",label:"Côte D'ivoire"},{value:"HR",label:"Croatia"},{value:"CU",label:"Cuba"},{value:"CW",label:"Curaçao"},{value:"CY",label:"Cyprus"},{value:"CZ",label:"Czech Republic"},{value:"DK",label:"Denmark"},{value:"DJ",label:"Djibouti"},{value:"DM",label:"Dominica"},{value:"DO",label:"Dominican Republic"},{value:"EC",label:"Ecuador"},{value:"EG",label:"Egypt"},{value:"SV",label:"El Salvador"},{value:"GQ",label:"Equatorial Guinea"},{value:"ER",label:"Eritrea"},{value:"EE",label:"Estonia"},{value:"ET",label:"Ethiopia"},{value:"FK",label:"Falkland Islands (Malvinas)"},{value:"FO",label:"Faroe Islands"},{value:"FJ",label:"Fiji"},{value:"FI",label:"Finland"},{value:"FR",label:"France"},{value:"GF",label:"French Guiana"},{value:"PF",label:"French Polynesia"},{value:"TF",label:"French Southern Territories"},{value:"GA",label:"Gabon"},{value:"GM",label:"Gambia"},{value:"GE",label:"Georgia"},{value:"DE",label:"Germany"},{value:"GH",label:"Ghana"},{value:"GI",label:"Gibraltar"},{value:"GR",label:"Greece"},{value:"GL",label:"Greenland"},{value:"GD",label:"Grenada"},{value:"GP",label:"Guadeloupe"},{value:"GT",label:"Guatemala"},{value:"GG",label:"Guernsey"},{value:"GN",label:"Guinea"},{value:"GW",label:"Guinea-bissau"},{value:"GY",label:"Guyana"},{value:"HT",label:"Haiti"},{value:"HM",label:"Heard Island And Mcdonald Islands"},{value:"VA",label:"Holy See (Vatican City State)"},{value:"HN",label:"Honduras"},{value:"HK",label:"Hong Kong"},{value:"HU",label:"Hungary"},{value:"IS",label:"Iceland"},{value:"IN",label:"India"},{value:"ID",label:"Indonesia"},{value:"IR",label:"Iran, Islamic Republic Of"},{value:"IQ",label:"Iraq"},{value:"IE",label:"Ireland"},{value:"IM",label:"Isle Of Man"},{value:"IL",label:"Israel"},{value:"IT",label:"Italy"},{value:"JM",label:"Jamaica"},{value:"JP",label:"Japan"},{value:"JE",label:"Jersey"},{value:"JO",label:"Jordan"},{value:"KZ",label:"Kazakhstan"},{value:"KE",label:"Kenya"},{value:"KI",label:"Kiribati"},{value:"KP",label:"Korea, Democratic People's Republic Of"},{value:"KR",label:"Korea, Republic Of"},{value:"KW",label:"Kuwait"},{value:"KG",label:"Kyrgyzstan"},{value:"LA",label:"Lao People's Democratic Republic"},{value:"LV",label:"Latvia"},{value:"LB",label:"Lebanon"},{value:"LS",label:"Lesotho"},{value:"LR",label:"Liberia"},{value:"LY",label:"Libya"},{value:"LI",label:"Liechtenstein"},{value:"LT",label:"Lithuania"},{value:"LU",label:"Luxembourg"},{value:"MO",label:"Macao"},{value:"MK",label:"Macedonia, The Former Yugoslav Republic Of"},{value:"MG",label:"Madagascar"},{value:"MW",label:"Malawi"},{value:"MY",label:"Malaysia"},{value:"MV",label:"Maldives"},{value:"ML",label:"Mali"},{value:"MT",label:"Malta"},{value:"MQ",label:"Martinique"},{value:"MR",label:"Mauritania"},{value:"MU",label:"Mauritius"},{value:"YT",label:"Mayotte"},{value:"MX",label:"Mexico"},{value:"MD",label:"Moldova, Republic Of"},{value:"MC",label:"Monaco"},{value:"MN",label:"Mongolia"},{value:"ME",label:"Montenegro"},{value:"MS",label:"Montserrat"},{value:"MA",label:"Morocco"},{value:"MZ",label:"Mozambique"},{value:"MM",label:"Myanmar"},{value:"NA",label:"Namibia"},{value:"NR",label:"Nauru"},{value:"NP",label:"Nepal"},{value:"NL",label:"Netherlands"},{value:"NC",label:"New Caledonia"},{value:"NZ",label:"New Zealand"},{value:"NI",label:"Nicaragua"},{value:"NE",label:"Niger"},{value:"NG",label:"Nigeria"},{value:"NU",label:"Niue"},{value:"NF",label:"Norfolk Island"},{value:"NO",label:"Norway"},{value:"OM",label:"Oman"},{value:"PK",label:"Pakistan"},{value:"PS",label:"Palestinian Territory, Occupied"},{value:"PA",label:"Panama"},{value:"PG",label:"Papua New Guinea"},{value:"PY",label:"Paraguay"},{value:"PE",label:"Peru"},{value:"PH",label:"Philippines"},{value:"PN",label:"Pitcairn"},{value:"PL",label:"Poland"},{value:"PT",label:"Portugal"},{value:"QA",label:"Qatar"},{value:"RE",label:"Réunion"},{value:"RO",label:"Romania"},{value:"RU",label:"Russian Federation"},{value:"RW",label:"Rwanda"},{value:"BL",label:"Saint Barthélemy"},{value:"SH",label:"Saint Helena, Ascension And Tristan Da Cunha"},{value:"KN",label:"Saint Kitts And Nevis"},{value:"LC",label:"Saint Lucia"},{value:"MF",label:"Saint Martin (french Part)"},{value:"PM",label:"Saint Pierre And Miquelon"},{value:"VC",label:"Saint Vincent And The Grenadines"},{value:"WS",label:"Samoa"},{value:"SM",label:"San Marino"},{value:"ST",label:"Sao Tome And Principe"},{value:"SA",label:"Saudi Arabia"},{value:"SN",label:"Senegal"},{value:"RS",label:"Serbia"},{value:"SC",label:"Seychelles"},{value:"SL",label:"Sierra Leone"},{value:"SG",label:"Singapore"},{value:"SX",label:"Sint Maarten (dutch Part)"},{value:"SK",label:"Slovakia"},{value:"SI",label:"Slovenia"},{value:"SB",label:"Solomon Islands"},{value:"SO",label:"Somalia"},{value:"ZA",label:"South Africa"},{value:"GS",label:"South Georgia And The South Sandwich Islands"},{value:"SS",label:"South Sudan"},{value:"ES",label:"Spain"},{value:"LK",label:"Sri Lanka"},{value:"SD",label:"Sudan"},{value:"SR",label:"Suriname"},{value:"SJ",label:"Svalbard And Jan Mayen"},{value:"SZ",label:"Swaziland"},{value:"SE",label:"Sweden"},{value:"CH",label:"Switzerland"},{value:"SY",label:"Syrian Arab Republic"},{value:"TW",label:"Taiwan"},{value:"TJ",label:"Tajikistan"},{value:"TZ",label:"Tanzania, United Republic Of"},{value:"TH",label:"Thailand"},{value:"TL",label:"Timor-leste"},{value:"TG",label:"Togo"},{value:"TK",label:"Tokelau"},{value:"TO",label:"Tonga"},{value:"TT",label:"Trinidad And Tobago"},{value:"TN",label:"Tunisia"},{value:"TR",label:"Turkey"},{value:"TM",label:"Turkmenistan"},{value:"TC",label:"Turks And Caicos Islands"},{value:"TV",label:"Tuvalu"},{value:"UG",label:"Uganda"},{value:"UA",label:"Ukraine"},{value:"AE",label:"United Arab Emirates"},{value:"GB",label:"United Kingdom"},{value:"UY",label:"Uruguay"},{value:"UZ",label:"Uzbekistan"},{value:"VU",label:"Vanuatu"},{value:"VE",label:"Venezuela, Bolivarian Republic Of"},{value:"VN",label:"Viet Nam"},{value:"VG",label:"Virgin Islands, British"},{value:"WF",label:"Wallis And Futuna"},{value:"EH",label:"Western Sahara"},{value:"YE",label:"Yemen"},{value:"ZM",label:"Zambia"},{value:"ZW",label:"Zimbabwe"}],_l=["drivers-license","state-id","us-passport","foreign-passport"],Il=v.enum(_l,{message:k.FieldRequired}),Ml=[{value:"drivers-license",label:"State issued driver's license"},{value:"state-id",label:"State/local/tribe-issued ID"},{value:"us-passport",label:"U.S. passport"},{value:"foreign-passport",label:"Foreign passport"}],Rl=["ownership","control","both"],ia=v.enum(Rl,{message:k.FieldRequired}),na={label:"Ownership interest of 25% or more",value:"ownership",description:"An individual owning or controlling at least 25% of the ownership interests in the reporting company. Ownership interests include equity, stock, voting rights, or any other mechanisms establishing ownership."},oa={label:"Substantial control",value:"control",description:"An individual exercising substantial control over the reporting company, which includes roles such as senior officers (e.g., president, CEO, CFO), individuals with authority to appoint or remove directors, important decision-makers, or those with significant influence over the company's operations."},Zt=[na,oa,{label:"Both of the above",value:"both"}],Al=[na,oa,{label:"Ownership interest of 25% or more and substantial control",value:"both"}],ra=["AGU","BCN","BCS","CAM","CHP","CHH","COA","COL","DIF","DUR","GUA","GRO","HID","JAL","MEX","MIC","MOR","NAY","NLE","OAX","PUE","QUE","ROO","SLP","SIN","SON","TAB","TAM","TLA","VER","YUC","ZAC"];v.enum(ra,{message:k.FieldRequired});const Pl=[{value:"AGU",label:"Aguascalientes"},{value:"BCN",label:"Baja California"},{value:"BCS",label:"Baja California Sur"},{value:"CAM",label:"Campeche"},{value:"CHP",label:"Chiapas"},{value:"CHH",label:"Chihuahua"},{value:"COA",label:"Coahuila"},{value:"COL",label:"Colima"},{value:"DIF",label:"Mexican Federal District"},{value:"DUR",label:"Durango"},{value:"GUA",label:"Guanajuato"},{value:"GRO",label:"Guerrero"},{value:"HID",label:"Hidalgo"},{value:"JAL",label:"Jalisco"},{value:"MEX",label:"México"},{value:"MIC",label:"Michoacán"},{value:"MOR",label:"Morelos"},{value:"NAY",label:"Nayarit"},{value:"NLE",label:"Neuvo Leon"},{value:"OAX",label:"Oaxaca"},{value:"PUE",label:"Puebla"},{value:"QUE",label:"Querétaro"},{value:"ROO",label:"Quintana Roo"},{value:"SLP",label:"San Luis Potosi"},{value:"SIN",label:"Sinaloa"},{value:"SON",label:"Sonora"},{value:"TAB",label:"Tabasco"},{value:"TAM",label:"Tamaulipas"},{value:"TLA",label:"Tlaxcala"},{value:"VER",label:"Veracruz"},{value:"YUC",label:"Yucatan"},{value:"ZAC",label:"Zacatecas"}],xl=["ein","ssn","foreign"],Vl=v.enum(xl,{message:k.FieldRequired}),Bl=[{value:"ein",label:"EIN"},{value:"ssn",label:"SSN/ITIN"},{value:"foreign",label:"Foreign"}],ge=["AS","GU","MH","FM","MP","PW","PR","VI"];v.enum(ge,{message:k.FieldRequired});const Ol=l=>typeof l=="string"&&ge.includes(l),Me=[{value:"AS",label:"American Samoa"},{value:"GU",label:"Guam"},{value:"MH",label:"Marshall Islands"},{value:"FM",label:"Micronesia, Federated States"},{value:"MP",label:"Northern Mariana Islands"},{value:"PW",label:"Palau"},{value:"PR",label:"Puerto Rico"},{value:"VI",label:"U.S. Virgin Islands"}],Ll=["Absentee-Shawnee","Agdaagux","Agua Caliente","Ak Chin","Akiachak","Akiak","Alabama-Coushatta","Alabama-Quassarte Tribal Town","Alatna","Algaaciq","Allakaket","Alturas","Alutiiq Tribe of Old Harbor","Angoon","Anvik","Apache","Arctic Village","Asa'carsarmiut","Assiniboine and Sioux","Augustine","Bad River Band","Bay Mills","Bear River","Beaver","Berry Creek","Big Lagoon","Big Pine Reservation","Big Sandy","Big Valley Rancheria","Birch Creek","Bishop Paiute","Blackfeet","Blue Lake","Bridgeport Indian Colony","Buena Vista Rancheria","Burns Paiute","Cabazon","Cachil DeHe","Caddo","Cahto","Cahuilla","California Valley","Campo","Capitan Grande","Capitan Grande Band","Viejas","Catawba","Cayuga Nation of New York","Cedarville","Tlingit & Haida","Chalkyitsik","Cheesh-Na","Chemehuevi","Cher-Ae Heights","Cherokee Nation","Chevak","Cheyenne River","Cheyenne River Sioux Tribe","Chickahominy Indians-Eastern Division","Chickahominy Indian Tribe, Inc.","Chickaloon","Chicken Ranch","Chignik Bay","Chignik Lake","Chilkat","Chilkoot","Chinik","Chippewa-Cree","Chitimacha","Chuloonawick","Circle","Citizen Potawatomi","Cloverdale","Cocopah","Coeur D'Alene","Cold Springs","Colorado River","Comanche","Confederated Salish","Confederated Yakama","Siletz Tribe","Chehalis","Confederated Colville","Confederated Coos","Confederated Goshute","Grand Ronde Tribes","Umatilla Tribe","Warms Springs Tribe","Coquille","Coushatta","Cow Creek","Cowlitz","Coyote Valley","Craig","Crow Creek","Crow","Curyung","Delaware Nation","Delaware Tribe of Indians","Douglas","Dry Creek","Duckwater","Eastern Cherokee","Eastern Shawnee Tribe of Oklahoma","Eastern Shoshone","Egegik","Eklutna","Elem","Elk Valley","Ely Shoshone","Emmonak","Enterprise","Evansville","Ewiiaapaayp","Federated Indians of Graton","Flandreau","Forest County","Assiniboine and Gros Ventre Tribes","Fort Bidwell","Fort Independence","Fort McDermitt","Fort McDowell","Fort Mojave","Fort Sill","Galena","Gila River","Grand Traverse","Greenville","Grindstone","Guidiville","Gulkana","Habematolel","Hannahville","Havasupai","Healy Lake","Ho-Chunk","Hoh","Holy Cross","Hoonah","Hoopa","Hopi","Hopland","Houlton","Hualapai","Hughes","Huslia","Hydaburg","Igiugig","Iipay","Inaja","Inupiat Community of the Arctic Slope","Ione","Iowa of Kansas","Iowa of Oklahoma","Iqugmiut","Ivanof Bay Tribe","Jackson","Jamestown","Jamul","Jena","Jicarilla","Kaguyuk","Kaibab","Kaktovik","Kalispel","Karuk","Kashia","Kasigluk","Kaw","Kenaitze","Ketchikan","Keweenaw","Kialegee Tribal Town","Kickapoo of Texas","Kickapoo Tribe in Kansas","Kickapoo of Oklahoma","King Island","King Salmon","Kiowa Tribe","Klamath","Klawock","Cortina","Knik","Koi","Kokhanok","Kootenai","Koyukuk","La Jolla","La Posta","Lac Courte Oreilles","Lac du Flambeau","Lac Vieux","Las Vegas","Levelock","Lime","Little River","Little Shell Tribe","Little Traverse","Lone Pine","Los Coyotes","Lovelock","Lower Brule","Lower Elwha","Lower Sioux","Lummi","Lytton","Makah","Manchester","Manley Hot Springs","Manokotak","Manzanita","Mashantucket Pequot","Mashpee","Match-e-be-nash-she-wish Band","Mcgrath","Mechoopda","Menominee","Mentasta","Mesa Grande","Mescalero Apache","Metlakatla","Miami Tribe of Oklahoma","Miccosukee","Middletown","Mi'kmaq Nation","Bois Forte","Fond du Lac","Grand Portage","Leech Lake","Mille Lacs","White Earth","Minnesota Chippewa","Mississippi Choctaw","Moapa","Modoc Nation","Mohegan","Monacan Indian Nation","Mooretown","Morongo","Muckleshoot","Naknek","Nansemond Indian Tribe","Narragansett","Afognak","Akhiok","Akutan","Aleknagik","Ambler","Atka","Native Village of Atqasuk","Barrow","Belkofski","Brevig Mission","Buckland","Cantwell","Chenega","Chignik Lagoon","Chitina","Chuathbaluk","Council","Deering","Diomede","Eagle","Eek","Ekuk","Ekwok","Elim IRA","Eyak","False Pass","Fort Yukon","Gakona","Gambell","Georgetown","Goodnews Bay","Hamilton","Hooper Bay","Kanatak","Karluk","Kiana","Kipnuk","Kivalina","Kluti Kaah","Kobuk","Kongiganak","Kotzebue","Koyuk","Kwigillingok","Kwinhagak","Larsen Bay","Marshall","Mary's Igloo","Mekoryuk","Minto","Nanwalek","Napaimute","Napakiak","Napaskiak","Nelson Lagoon","Nightmute","Nikolski","Noatak","Nuiqsut","Nunam Iqua","Nunapitchuk","Ouzinkie","Paimiut","Perryville","Pilot Point","Point Hope IRA","Point Lay IRA","Port Graham","Port Heiden","Port Lions","Ruby","St. Michael IRA","Savoonga","Scammon Bay","Selawik","Shaktoolik","Shishmaref IRA","Shungnak","Stevens Village","Tanacross","Tanana","Tatitlek","Tazlina","Teller","Tetlin","Tuntutuliak","Tununak","Tyonek","Unalakleet","Unga","Venetie IRA","Wales","White Mountain AK","Navajo","Nenana","New Koliganek","New Stuyahok","Newhalen","Newtok","Nez Perce","Nikolai","Ninilchik","Nisqually","Nome","Nondalton","Nooksack","Noorvik","Northern Arapaho","Northern Cheyenne","North Fork","Northway","Northwestern Shoshone","Nottawaseppi Potawatomi","Nulato","Nunakauyarmiut","Oglala Sioux","Ohkay Owingeh","Omaha","Oneida","Oneida Nation (Wisconsin)","Onondaga","Grayling","Kake","Kasaan","Kwethluk","Saxman","Orutsararmiut","Oscarville","Otoe-Missouria","Ottawa Tribe of Oklahoma","Paiute of Utah","Paiute-Shoshone","Pala","Pamunkey Indian Tribe","Pascua Yaqui","Paskenta","Passamaquoddy Indian Township","Passamaquoddy Pleasant Point","Passamaquoddy Tribe","Pauloff Harbor","Pauma","Pawnee","Pechanga Band of Indians","Pedro Bay","Penobscot","Peoria Tribe of Indians of Oklahoma","Petersburg","Picayune","Pilot Station","Pinoleville","Pit River","Pitka's Point","Platinum","Poarch","Pokagon","Ponca of Oklahoma","Ponca of Nebraska","Port Gamble","Portage Creek","Potter Valley","Prairie Band","Prairie Island","Pribilof Islands Aleut Communities","Pueblo of Acoma","Pueblo of Cochiti","Pueblo of Isleta","Pueblo of Jemez","Pueblo of Laguna","Pueblo of Nambe","Pueblo of Picuris","Pueblo of Pojoaque","Pueblo of San Felipe","Pueblo of San Ildefonso","Pueblo of Sandia","Pueblo of Santa Ana","Pueblo of Santa Clara","Pueblo of Taos","Pueblo of Tesuque","Pueblo of Zia","Puyallup","Pyramid Lake","Qagan Tayagungin","Qawalangin","Quapaw Nation","Quartz Valley","Quechan","Quileute","Quinault","Ramah Navajo Chapter","Ramona","Rampart","Rappahannock Tribe, Inc.","Red Cliff","Red Lake","Redding","Redwood Valley","Reno-Sparks","Resighini","Rincon","Robinson","Rosebud","Round Valley","Sac & Fox Nation of Missouri in Kansas and Nebraska","Sac & Fox Nation, Oklahoma","Sac & Fox of Mississippi","Saginaw Chippewa","St. George","Saint Paul","Saint Regis","Salamatof","Salt River","Samish","San Carlos","San Juan","San Pasqual","Santa Rosa of Cahuilla","Santa Rosa","Santa Ynez","Santee Sioux","Santo Domingo","Sauk-Suiattle","Sault Ste. Marie","Scotts Valley","Seldovia","Seminole","Seneca","Seneca-Cayuga Nation","Shageluk","Shakopee","Shawnee Tribe","Sherwood Valley","Shingle Springs","Shinnecock","Shoalwater","Shoshone-Bannock","Shoshone-Paiute","Sisseton-Wahpeton","Sitka","Skagway","Skokomish","Skull Valley","Snoqualmie","Soboba","Sokaogon","South Naknek","Southern Ute","Spirit Lake","Spokane","Squaxin","St. Croix","Standing Rock","Stebbins","Stillaguamish","Stockbridge","Summit Lake","Sun'aq","Suquamish","Susanville","Swinomish","Sycuan","Table Mountain","Takotna","Tangirnaq","Tejon","Telida","Te-Moak","Chickasaw Nation","The Choctaw Nation of Oklahoma","The Muscogee (Creek) Nation","The Osage Nation","The Seminole Nation  of Oklahoma","Thlopthlocco Tribal Town","Three Affiliated","Timbi-sha Shoshone","Tohono O'odham","Tolowa Dee-ni'","Tonawanda","Tonkawa","Tonto Apache","Torres Martinez","Togiak","Tulalip","Tule River","Tuluksak","Tunica-Biloxi","Tuolumne","Turtle Mountain","Tuscarora","Twenty-Nine Palms","Twin Hills","Ugashik","Umkumiut","United Auburn","United Keetoowah Band of Cherokee Indians in Oklahoma","Upper Mattaponi Tribe","Upper Sioux","Upper Skagit","Ute","Ute Mountain Ute","Benton","Alakanuk","Anaktuvuk Pass","Aniak","Atmautluak","Bill Moore's Slough","Chefornak","Clark's Point","Crooked Creek","Dot Lake","Iliamna","Kalskag","Kaltag","Kotlik","Lower Kalskag","Ohogamiut","Red Devil","Sleetmute","Solomon","Stony River","Venetie","Wainwright","Walker River","Wampanoag","Washoe","White Mountain","Wichita","Wilton","Winnebago","Winnemucca","Wiyot","Wrangell","Wyandotte Nation","Yakutat","Yankton","Yavapai-Apache","Yavapai-Prescott","Yerington","Yocha Dehe","Yomba Shoshone","Ysleta Del Sur","Yuhaaviatam of San Manuel Nation","Andreafski","Yurok","Pueblo of Zuni","Other"],sa=v.enum(Ll,{message:k.FieldRequired}),El=[{value:"Absentee-Shawnee",label:"Absentee-Shawnee Tribe of Indians of Oklahoma"},{value:"Agdaagux",label:"Agdaagux Tribe of King Cove"},{value:"Agua Caliente",label:"Agua Caliente Band of Cahuilla Indians of the Agua Caliente Indian Reservation, California"},{value:"Ak Chin",label:"Ak-Chin Indian Community"},{value:"Akiachak",label:"Akiachak Native Community"},{value:"Akiak",label:"Akiak Native Community"},{value:"Alabama-Coushatta",label:"Alabama-Coushatta Tribe of Texas"},{value:"Alabama-Quassarte Tribal Town",label:"Alabama-Quassarte Tribal Town"},{value:"Alatna",label:"Alatna Village"},{value:"Algaaciq",label:"Algaaciq Native Village (St. Mary's)"},{value:"Allakaket",label:"Allakaket Village"},{value:"Alturas",label:"Alturas Indian Rancheria, California"},{value:"Alutiiq Tribe of Old Harbor",label:"Alutiiq Tribe of Old Harbor"},{value:"Angoon",label:"Angoon Community Association"},{value:"Anvik",label:"Anvik Village"},{value:"Apache",label:"Apache Tribe of Oklahoma"},{value:"Arctic Village",label:"Arctic Village (See Native Village of Venetie Tribal Government)"},{value:"Asa'carsarmiut",label:"Asa'carsarmiut Tribe"},{value:"Assiniboine and Sioux",label:"Assiniboine & Sioux Tribes of the Fort Peck Indian Reservation, Montana"},{value:"Augustine",label:"Augustine Band of Cahuilla Indians, California"},{value:"Bad River Band",label:"Bad River Band of the Lake Superior Tribe of Chippewa Indians of the Bad River Reservation, Wisconsin"},{value:"Bay Mills",label:"Bay Mills Indian Community, Michigan"},{value:"Bear River",label:"Bear River Band of the Rohnerville Rancheria, California"},{value:"Beaver",label:"Beaver Village"},{value:"Berry Creek",label:"Berry Creek Rancheria of Maidu Indians of California"},{value:"Big Lagoon",label:"Big Lagoon Rancheria, California"},{value:"Big Pine Reservation",label:"Big Pine Paiute Tribe of the Owens Valley"},{value:"Big Sandy",label:"Big Sandy Rancheria of Western Mono Indians of California"},{value:"Big Valley Rancheria",label:"Big Valley Band of Pomo Indians of the Big Valley Rancheria, California"},{value:"Birch Creek",label:"Birch Creek Tribe"},{value:"Bishop Paiute",label:"Bishop Paiute Tribe"},{value:"Blackfeet",label:"Blackfeet Tribe of the Blackfeet Indian Reservation of Montana"},{value:"Blue Lake",label:"Blue Lake Rancheria, California"},{value:"Bridgeport Indian Colony",label:"Bridgeport Indian Colony"},{value:"Buena Vista Rancheria",label:"Buena Vista Rancheria of Me-Wuk Indians of California"},{value:"Burns Paiute",label:"Burns Paiute Tribe"},{value:"Cabazon",label:"Cabazon Band of Mission Indians, California"},{value:"Cachil DeHe",label:"Cachil DeHe Band of Wintun Indians of the Colusa Indian Community of the Colusa Rancheria, California"},{value:"Caddo",label:"Caddo Nation of Oklahoma"},{value:"Cahto",label:"Cahto Tribe of the Laytonville Rancheria"},{value:"Cahuilla",label:"Cahuilla Band of Indians"},{value:"California Valley",label:"California Valley Miwok Tribe, California"},{value:"Campo",label:"Campo Band of Diegueno Mission Indians of the Campo Indian Reservation, California"},{value:"Capitan Grande",label:"Capitan Grande Band of Diegueno Mission Indians of California (Barona Group of Capitan Grande Band of Mission Indians of the Barona Reservation, California)"},{value:"Capitan Grande Band",label:"Capitan Grande Band of Diegueno Mission Indians of California"},{value:"Viejas",label:"Capitan Grande Band of Diegueno Mission Indians of California: Viejas (Baron Long) Group of Capitan Grande Band of Mission Indians of the Viejas Reservation, California"},{value:"Catawba",label:"Catawba Indian Nation (aka Catawba Indian Tribe of South Carolina)"},{value:"Cayuga Nation of New York",label:"Cayuga Nation"},{value:"Cedarville",label:"Cedarville Rancheria, California"},{value:"Tlingit & Haida",label:"Central Council of the Tlingit & Haida Indian Tribes"},{value:"Chalkyitsik",label:"Chalkyitsik Village"},{value:"Cheesh-Na",label:"Cheesh-Na Tribe"},{value:"Chemehuevi",label:"Chemehuevi Indian Tribe of the Chemehuevi Reservation, California"},{value:"Cher-Ae Heights",label:"Cher-Ae Heights Indian Community of the Trinidad Rancheria, California"},{value:"Cherokee Nation",label:"Cherokee Nation"},{value:"Chevak",label:"Chevak Native Village"},{value:"Cheyenne River",label:"Cheyenne and Arapaho Tribes, Oklahoma"},{value:"Cheyenne River Sioux Tribe",label:"Cheyenne River Sioux Tribe of the Cheyenne River Reservation, South Dakota"},{value:"Chickahominy Indians-Eastern Division",label:"Chickahominy Indian Tribe - Eastern Division"},{value:"Chickahominy Indian Tribe, Inc.",label:"Chickahominy Indian Tribe"},{value:"Chickaloon",label:"Chickaloon Native Village"},{value:"Chicken Ranch",label:"Chicken Ranch Rancheria of Me-Wuk Indians of California"},{value:"Chignik Bay",label:"Chignik Bay Tribal Council"},{value:"Chignik Lake",label:"Chignik Lake Village"},{value:"Chilkat",label:"Chilkat Indian Village (Klukwan)"},{value:"Chilkoot",label:"Chilkoot Indian Association (Haines)"},{value:"Chinik",label:"Chinik Eskimo Community (Golovin)"},{value:"Chippewa-Cree",label:"Chippewa Cree Indians of the Rocky Boy's Reservation, Montana"},{value:"Chitimacha",label:"Chitimacha Tribe of Louisiana"},{value:"Chuloonawick",label:"Chuloonawick Native Village"},{value:"Circle",label:"Circle Native Community"},{value:"Citizen Potawatomi",label:"Citizen Potawatomi Nation, Oklahoma"},{value:"Cloverdale",label:"Cloverdale Rancheria of Pomo Indians of California"},{value:"Cocopah",label:"Cocopah Tribe of Arizona"},{value:"Coeur D'Alene",label:"Coeur D'Alene Tribe"},{value:"Cold Springs",label:"Cold Springs Rancheria of Mono Indians of California"},{value:"Colorado River",label:"Colorado River Indian Tribes of the Colorado River Indian Reservation, Arizona and California"},{value:"Comanche",label:"Comanche Nation, Oklahoma"},{value:"Confederated Salish",label:"Confederated Salish and Kootenai Tribes of the Flathead Reservation"},{value:"Confederated Yakama",label:"Confederated Tribes and Bands of the Yakama Nation"},{value:"Siletz Tribe",label:"Confederated Tribes of Siletz Indians of Oregon"},{value:"Chehalis",label:"Confederated Tribes of the Chehalis Reservation"},{value:"Confederated Colville",label:"Confederated Tribes of the Colville Reservation"},{value:"Confederated Coos",label:"Confederated Tribes of the Coos, Lower Umpqua and Siuslaw Indians"},{value:"Confederated Goshute",label:"Confederated Tribes of the Goshute Reservation, Nevada and Utah"},{value:"Grand Ronde Tribes",label:"Confederated Tribes of the Grand Ronde Community of Oregon"},{value:"Umatilla Tribe",label:"Confederated Tribes of the Umatilla Indian Reservation"},{value:"Warms Springs Tribe",label:"Confederated Tribes of the Warm Springs Reservation of Oregon"},{value:"Coquille",label:"Coquille Indian Tribe"},{value:"Coushatta",label:"Coushatta Tribe of Louisiana"},{value:"Cow Creek",label:"Cow Creek Band of Umpqua Tribe of Indians"},{value:"Cowlitz",label:"Cowlitz Indian Tribe"},{value:"Coyote Valley",label:"Coyote Valley Band of Pomo Indians of California"},{value:"Craig",label:"Craig Tribal Association"},{value:"Crow Creek",label:"Crow Creek Sioux Tribe of the Crow Creek Reservation, South Dakota"},{value:"Crow",label:"Crow Tribe of Montana"},{value:"Curyung",label:"Curyung Tribal Council"},{value:"Delaware Nation",label:"Delaware Nation, Oklahoma"},{value:"Delaware Tribe of Indians",label:"Delaware Tribe of Indians"},{value:"Douglas",label:"Douglas Indian Association"},{value:"Dry Creek",label:"Dry Creek Rancheria Band of Pomo Indians, California"},{value:"Duckwater",label:"Duckwater Shoshone Tribe of the Duckwater Reservation, Nevada"},{value:"Eastern Cherokee",label:"Eastern Band of Cherokee Indians"},{value:"Eastern Shawnee Tribe of Oklahoma",label:"Eastern Shawnee Tribe of Oklahoma"},{value:"Eastern Shoshone",label:"Eastern Shoshone Tribe of the Wind River Reservation, Wyoming"},{value:"Egegik",label:"Egegik Village"},{value:"Eklutna",label:"Eklutna Native Village"},{value:"Elem",label:"Elem Indian Colony of Pomo Indians of the Sulphur Bank Rancheria, California"},{value:"Elk Valley",label:"Elk Valley Rancheria, California"},{value:"Ely Shoshone",label:"Ely Shoshone Tribe of Nevada"},{value:"Emmonak",label:"Emmonak Village"},{value:"Enterprise",label:"Enterprise Rancheria of Maidu Indians of California"},{value:"Evansville",label:"Evansville Village (aka Bettles Field)"},{value:"Ewiiaapaayp",label:"Ewiiaapaayp Band of Kumeyaay Indians, California"},{value:"Federated Indians of Graton",label:"Federated Indians of Graton Rancheria, California"},{value:"Flandreau",label:"Flandreau Santee Sioux Tribe of South Dakota"},{value:"Forest County",label:"Forest County Potawatomi Community, Wisconsin"},{value:"Assiniboine and Gros Ventre Tribes",label:"Fort Belknap Indian Community of the Fort Belknap Reservation of Montana"},{value:"Fort Bidwell",label:"Fort Bidwell Indian Community of the Fort Bidwell Reservation of California"},{value:"Fort Independence",label:"Fort Independence Indian Community of Paiute Indians of the Fort Independence Reservation, California"},{value:"Fort McDermitt",label:"Fort McDermitt Paiute and Shoshone Tribes of the Fort McDermitt Indian Reservation, Nevada and Oregon"},{value:"Fort McDowell",label:"Fort McDowell Yavapai Nation, Arizona"},{value:"Fort Mojave",label:"Fort Mojave Indian Tribe of Arizona, California & Nevada"},{value:"Fort Sill",label:"Fort Sill Apache Tribe of Oklahoma"},{value:"Galena",label:"Galena Village (aka Louden Village)"},{value:"Gila River",label:"Gila River Indian Community of the Gila River Indian Reservation, Arizona"},{value:"Grand Traverse",label:"Grand Traverse Band of Ottawa and Chippewa Indians, Michigan"},{value:"Greenville",label:"Greenville Rancheria"},{value:"Grindstone",label:"Grindstone Indian Rancheria of Wintun-Wailaki Indians of California"},{value:"Guidiville",label:"Guidiville Rancheria of California"},{value:"Gulkana",label:"Gulkana Village Council"},{value:"Habematolel",label:"Habematolel Pomo of Upper Lake, California"},{value:"Hannahville",label:"Hannahville Indian Community, Michigan"},{value:"Havasupai",label:"Havasupai Tribe of the Havasupai Reservation, Arizona"},{value:"Healy Lake",label:"Healy Lake Village"},{value:"Ho-Chunk",label:"Ho-Chunk Nation of Wisconsin"},{value:"Hoh",label:"Hoh Indian Tribe"},{value:"Holy Cross",label:"Holy Cross Tribe"},{value:"Hoonah",label:"Hoonah Indian Association"},{value:"Hoopa",label:"Hoopa Valley Tribe, California"},{value:"Hopi",label:"Hopi Tribe of Arizona"},{value:"Hopland",label:"Hopland Band of Pomo Indians, California"},{value:"Houlton",label:"Houlton Band of Maliseet Indians"},{value:"Hualapai",label:"Hualapai Indian Tribe of the Hualapai Indian Reservation, Arizona"},{value:"Hughes",label:"Hughes Village"},{value:"Huslia",label:"Huslia Village"},{value:"Hydaburg",label:"Hydaburg Cooperative Association"},{value:"Igiugig",label:"Igiugig Village"},{value:"Iipay",label:"Iipay Nation of Santa Ysabel, California"},{value:"Inaja",label:"Inaja Band of Diegueno Mission Indians of the Inaja and Cosmit Reservation, California"},{value:"Inupiat Community of the Arctic Slope",label:"Inupiat Community of the Arctic Slope"},{value:"Ione",label:"Ione Band of Miwok Indians of California"},{value:"Iowa of Kansas",label:"Iowa Tribe of Kansas and Nebraska"},{value:"Iowa of Oklahoma",label:"Iowa Tribe of Oklahoma"},{value:"Iqugmiut",label:"Iqugmiut Traditional Council"},{value:"Ivanof Bay Tribe",label:"Ivanof Bay Tribe"},{value:"Jackson",label:"Jackson Band of Miwuk Indians"},{value:"Jamestown",label:"Jamestown S'Klallam Tribe"},{value:"Jamul",label:"Jamul Indian Village of California"},{value:"Jena",label:"Jena Band of Choctaw Indians"},{value:"Jicarilla",label:"Jicarilla Apache Nation, New Mexico"},{value:"Kaguyuk",label:"Kaguyak Village"},{value:"Kaibab",label:"Kaibab Band of Paiute Indians of the Kaibab Indian Reservation, Arizona"},{value:"Kaktovik",label:"Kaktovik Village (aka Barter Island)"},{value:"Kalispel",label:"Kalispel Indian Community of the Kalispel Reservation"},{value:"Karuk",label:"Karuk Tribe"},{value:"Kashia",label:"Kashia Band of Pomo Indians of the Stewarts Point Rancheria, California"},{value:"Kasigluk",label:"Kasigluk Traditional Elders Council"},{value:"Kaw",label:"Kaw Nation, Oklahoma"},{value:"Kenaitze",label:"Kenaitze Indian Tribe"},{value:"Ketchikan",label:"Ketchikan Indian Community"},{value:"Keweenaw",label:"Keweenaw Bay Indian Community, Michigan"},{value:"Kialegee Tribal Town",label:"Kialegee Tribal Town"},{value:"Kickapoo of Texas",label:"Kickapoo Traditional Tribe of Texas"},{value:"Kickapoo Tribe in Kansas",label:"Kickapoo Tribe of Indians of the Kickapoo Reservation in Kansas"},{value:"Kickapoo of Oklahoma",label:"Kickapoo Tribe of Oklahoma"},{value:"King Island",label:"King Island Native Community"},{value:"King Salmon",label:"King Salmon Tribe"},{value:"Kiowa Tribe",label:"Kiowa  Indian Tribe of Oklahoma"},{value:"Klamath",label:"Klamath Tribes"},{value:"Klawock",label:"Klawock Cooperative Association"},{value:"Cortina",label:"Kletsel Dehe Band of Wintun Indians"},{value:"Knik",label:"Knik Tribe"},{value:"Koi",label:"Koi Nation of Northern California"},{value:"Kokhanok",label:"Kokhanok Village"},{value:"Kootenai",label:"Kootenai Tribe of Idaho"},{value:"Koyukuk",label:"Koyukuk Native Village"},{value:"La Jolla",label:"La Jolla Band of Luiseno Indians, California"},{value:"La Posta",label:"La Posta Band of Diegueno Mission Indians of the La Posta Indian Reservation, California"},{value:"Lac Courte Oreilles",label:"Lac Courte Oreilles Band of Lake Superior Chippewa Indians of Wisconsin"},{value:"Lac du Flambeau",label:"Lac du Flambeau Band of Lake Superior Chippewa Indians of the Lac du Flambeau Reservation of Wisconsin"},{value:"Lac Vieux",label:"Lac Vieux Desert Band of Lake Superior Chippewa Indians of Michigan"},{value:"Las Vegas",label:"Las Vegas Tribe of Paiute Indians of the Las Vegas Indian Colony, Nevada"},{value:"Levelock",label:"Levelock Village"},{value:"Lime",label:"Lime Village"},{value:"Little River",label:"Little River Band of Ottawa Indians, Michigan"},{value:"Little Shell Tribe",label:"Little Shell Tribe of Chippewa Indians of Montana"},{value:"Little Traverse",label:"Little Traverse Bay Bands of Odawa Indians, Michigan"},{value:"Lone Pine",label:"Lone Pine Paiute-Shoshone Tribe"},{value:"Los Coyotes",label:"Los Coyotes Band of Cahuilla and Cupeno Indians, California"},{value:"Lovelock",label:"Lovelock Paiute Tribe of the Lovelock Indian Colony, Nevada"},{value:"Lower Brule",label:"Lower Brule Sioux Tribe of the Lower Brule Reservation, South Dakota"},{value:"Lower Elwha",label:"Lower Elwha Tribal Community"},{value:"Lower Sioux",label:"Lower Sioux Indian Community in the State of Minnesota"},{value:"Lummi",label:"Lummi Tribe of the Lummi Reservation"},{value:"Lytton",label:"Lytton Rancheria of California"},{value:"Makah",label:"Makah Indian Tribe of the Makah Indian Reservation"},{value:"Manchester",label:"Manchester Band of Pomo Indians of the Manchester Rancheria, California"},{value:"Manley Hot Springs",label:"Manley Hot Springs Village"},{value:"Manokotak",label:"Manokotak Village"},{value:"Manzanita",label:"Manzanita Band of Diegueno Mission Indians of the Manzanita Reservation, California"},{value:"Mashantucket Pequot",label:"Mashantucket Pequot Indian Tribe"},{value:"Mashpee",label:"Mashpee Wampanoag Tribe"},{value:"Match-e-be-nash-she-wish Band",label:"Match-e-be-nash-she-wish Band of Pottawatomi Indians of Michigan"},{value:"Mcgrath",label:"McGrath Native Village"},{value:"Mechoopda",label:"Mechoopda Indian Tribe of Chico Rancheria, California"},{value:"Menominee",label:"Menominee Indian Tribe of Wisconsin"},{value:"Mentasta",label:"Mentasta Traditional Council"},{value:"Mesa Grande",label:"Mesa Grande Band of Diegueno Mission Indians of the Mesa Grande Reservation, California"},{value:"Mescalero Apache",label:"Mescalero Apache Tribe of the Mescalero Reservation, New Mexico"},{value:"Metlakatla",label:"Metlakatla Indian Community, Annette Island Reserve"},{value:"Miami Tribe of Oklahoma",label:"Miami Tribe of Oklahoma"},{value:"Miccosukee",label:"Miccosukee Tribe of Indians"},{value:"Middletown",label:"Middletown Rancheria of Pomo Indians of California"},{value:"Mi'kmaq Nation",label:"Mi'kmaq Nation"},{value:"Bois Forte",label:"Minnesota Chippewa Tribe - Bois Forte Band (Nett Lake)"},{value:"Fond du Lac",label:"Minnesota Chippewa Tribe - Fond du Lac Band"},{value:"Grand Portage",label:"Minnesota Chippewa Tribe - Grand Portage Band"},{value:"Leech Lake",label:"Minnesota Chippewa Tribe - Leech Lake Band"},{value:"Mille Lacs",label:"Minnesota Chippewa Tribe - Mille Lacs Band"},{value:"White Earth",label:"Minnesota Chippewa Tribe - White Earth Band"},{value:"Minnesota Chippewa",label:"Minnesota Chippewa Tribe, Minnesota"},{value:"Mississippi Choctaw",label:"Mississippi Band of Choctaw Indians"},{value:"Moapa",label:"Moapa Band of Paiute Indians of the Moapa River Indian Reservation, Nevada"},{value:"Modoc Nation",label:"Modoc Nation"},{value:"Mohegan",label:"Mohegan Tribe of Indians of Connecticut"},{value:"Monacan Indian Nation",label:"Monacan Indian Nation"},{value:"Mooretown",label:"Mooretown Rancheria of Maidu Indians of California"},{value:"Morongo",label:"Morongo Band of Mission Indians, California"},{value:"Muckleshoot",label:"Muckleshoot Indian Tribe"},{value:"Naknek",label:"Naknek Native Village"},{value:"Nansemond Indian Tribe",label:"Nansemond Indian Nation"},{value:"Narragansett",label:"Narragansett Indian Tribe"},{value:"Afognak",label:"Native Village of Afognak"},{value:"Akhiok",label:"Native Village of Akhiok"},{value:"Akutan",label:"Native Village of Akutan"},{value:"Aleknagik",label:"Native Village of Aleknagik"},{value:"Ambler",label:"Native Village of Ambler"},{value:"Atka",label:"Native Village of Atka"},{value:"Native Village of Atqasuk",label:"Native Village of Atqasuk"},{value:"Barrow",label:"Native Village of Barrow Inupiat Traditional Government"},{value:"Belkofski",label:"Native Village of Belkofski"},{value:"Brevig Mission",label:"Native Village of Brevig Mission"},{value:"Buckland",label:"Native Village of Buckland"},{value:"Cantwell",label:"Native Village of Cantwell"},{value:"Chenega",label:"Native Village of Chenega (aka Chanega)"},{value:"Chignik Lagoon",label:"Native Village of Chignik Lagoon"},{value:"Chitina",label:"Native Village of Chitina"},{value:"Chuathbaluk",label:"Native Village of Chuathbaluk (Russian Mission, Kuskokwim)"},{value:"Council",label:"Native Village of Council"},{value:"Deering",label:"Native Village of Deering"},{value:"Diomede",label:"Native Village of Diomede (aka Inalik)"},{value:"Eagle",label:"Native Village of Eagle"},{value:"Eek",label:"Native Village of Eek"},{value:"Ekuk",label:"Native Village of Ekuk"},{value:"Ekwok",label:"Native Village of Ekwok"},{value:"Elim IRA",label:"Native Village of Elim"},{value:"Eyak",label:"Native Village of Eyak (Cordova)"},{value:"False Pass",label:"Native Village of False Pass"},{value:"Fort Yukon",label:"Native Village of Fort Yukon"},{value:"Gakona",label:"Native Village of Gakona"},{value:"Gambell",label:"Native Village of Gambell"},{value:"Georgetown",label:"Native Village of Georgetown"},{value:"Goodnews Bay",label:"Native Village of Goodnews Bay"},{value:"Hamilton",label:"Native Village of Hamilton"},{value:"Hooper Bay",label:"Native Village of Hooper Bay"},{value:"Kanatak",label:"Native Village of Kanatak"},{value:"Karluk",label:"Native Village of Karluk"},{value:"Kiana",label:"Native Village of Kiana"},{value:"Kipnuk",label:"Native Village of Kipnuk"},{value:"Kivalina",label:"Native Village of Kivalina"},{value:"Kluti Kaah",label:"Native Village of Kluti Kaah (aka Copper Center)"},{value:"Kobuk",label:"Native Village of Kobuk"},{value:"Kongiganak",label:"Native Village of Kongiganak"},{value:"Kotzebue",label:"Native Village of Kotzebue"},{value:"Koyuk",label:"Native Village of Koyuk"},{value:"Kwigillingok",label:"Native Village of Kwigillingok"},{value:"Kwinhagak",label:"Native Village of Kwinhagak (aka Quinhagak)"},{value:"Larsen Bay",label:"Native Village of Larsen Bay"},{value:"Marshall",label:"Native Village of Marshall (aka Fortuna Ledge)"},{value:"Mary's Igloo",label:"Native Village of Mary's Igloo"},{value:"Mekoryuk",label:"Native Village of Mekoryuk"},{value:"Minto",label:"Native Village of Minto"},{value:"Nanwalek",label:"Native Village of Nanwalek (aka English Bay)"},{value:"Napaimute",label:"Native Village of Napaimute"},{value:"Napakiak",label:"Native Village of Napakiak"},{value:"Napaskiak",label:"Native Village of Napaskiak"},{value:"Nelson Lagoon",label:"Native Village of Nelson Lagoon"},{value:"Nightmute",label:"Native Village of Nightmute"},{value:"Nikolski",label:"Native Village of Nikolski"},{value:"Noatak",label:"Native Village of Noatak"},{value:"Nuiqsut",label:"Native Village of Nuiqsut (aka Nooiksut)"},{value:"Nunam Iqua",label:"Native Village of Nunam Iqua"},{value:"Nunapitchuk",label:"Native Village of Nunapitchuk"},{value:"Ouzinkie",label:"Native Village of Ouzinkie"},{value:"Paimiut",label:"Native Village of Paimiut"},{value:"Perryville",label:"Native Village of Perryville"},{value:"Pilot Point",label:"Native Village of Pilot Point"},{value:"Point Hope IRA",label:"Native Village of Point Hope"},{value:"Point Lay IRA",label:"Native Village of Point Lay"},{value:"Port Graham",label:"Native Village of Port Graham"},{value:"Port Heiden",label:"Native Village of Port Heiden"},{value:"Port Lions",label:"Native Village of Port Lions"},{value:"Ruby",label:"Native Village of Ruby"},{value:"St. Michael IRA",label:"Native Village of Saint Michael"},{value:"Savoonga",label:"Native Village of Savoonga"},{value:"Scammon Bay",label:"Native Village of Scammon Bay"},{value:"Selawik",label:"Native Village of Selawik"},{value:"Shaktoolik",label:"Native Village of Shaktoolik"},{value:"Shishmaref IRA",label:"Native Village of Shishmaref"},{value:"Shungnak",label:"Native Village of Shungnak"},{value:"Stevens Village",label:"Native Village of Stevens"},{value:"Tanacross",label:"Native Village of Tanacross"},{value:"Tanana",label:"Native Village of Tanana"},{value:"Tatitlek",label:"Native Village of Tatitlek"},{value:"Tazlina",label:"Native Village of Tazlina"},{value:"Teller",label:"Native Village of Teller"},{value:"Tetlin",label:"Native Village of Tetlin"},{value:"Tuntutuliak",label:"Native Village of Tuntutuliak"},{value:"Tununak",label:"Native Village of Tununak"},{value:"Tyonek",label:"Native Village of Tyonek"},{value:"Unalakleet",label:"Native Village of Unalakleet"},{value:"Unga",label:"Native Village of Unga"},{value:"Venetie IRA",label:"Native Village of Venetie Tribal Government (Arctic Village and Village of Venetie)"},{value:"Wales",label:"Native Village of Wales"},{value:"White Mountain AK",label:"Native Village of White Mountain"},{value:"Navajo",label:"Navajo Nation, Arizona, New Mexico & Utah"},{value:"Nenana",label:"Nenana Native Association"},{value:"New Koliganek",label:"New Koliganek Village Council"},{value:"New Stuyahok",label:"New Stuyahok Village"},{value:"Newhalen",label:"Newhalen Village"},{value:"Newtok",label:"Newtok Village"},{value:"Nez Perce",label:"Nez Perce Tribe"},{value:"Nikolai",label:"Nikolai Village"},{value:"Ninilchik",label:"Ninilchik Village"},{value:"Nisqually",label:"Nisqually Indian Tribe"},{value:"Nome",label:"Nome Eskimo Community"},{value:"Nondalton",label:"Nondalton Village"},{value:"Nooksack",label:"Nooksack Indian Tribe"},{value:"Noorvik",label:"Noorvik Native Community"},{value:"Northern Arapaho",label:"Northern Arapaho Tribe of the Wind River Reservation, Wyoming"},{value:"Northern Cheyenne",label:"Northern Cheyenne Tribe of the Northern Cheyenne Indian Reservation, Montana"},{value:"North Fork",label:"Northfork Rancheria of Mono Indians of California"},{value:"Northway",label:"Northway Village"},{value:"Northwestern Shoshone",label:"Northwestern Band of the Shoshone Nation"},{value:"Nottawaseppi Potawatomi",label:"Nottawaseppi Huron Band of the Potawatomi, Michigan"},{value:"Nulato",label:"Nulato Village"},{value:"Nunakauyarmiut",label:"Nunakauyarmiut Tribe"},{value:"Oglala Sioux",label:"Oglala Sioux Tribe"},{value:"Ohkay Owingeh",label:"Ohkay Owingeh, New Mexico"},{value:"Omaha",label:"Omaha Tribe of Nebraska"},{value:"Oneida",label:"Oneida Indian Nation"},{value:"Oneida Nation (Wisconsin)",label:"Oneida Nation"},{value:"Onondaga",label:"Onondaga Nation"},{value:"Grayling",label:"Organized Village of Grayling (aka Holikachuk)"},{value:"Kake",label:"Organized Village of Kake"},{value:"Kasaan",label:"Organized Village of Kasaan"},{value:"Kwethluk",label:"Organized Village of Kwethluk"},{value:"Saxman",label:"Organized Village of Saxman"},{value:"Orutsararmiut",label:"Orutsararmiut Traditional Native Council"},{value:"Oscarville",label:"Oscarville Traditional Village"},{value:"Otoe-Missouria",label:"Otoe-Missouria Tribe of Indians, Oklahoma"},{value:"Ottawa Tribe of Oklahoma",label:"Ottawa Tribe of Oklahoma"},{value:"Paiute of Utah",label:"Paiute Indian Tribe of Utah (Cedar Band of Paiutes, Kanosh Band of Paiutes, Koosharem Band of Paiutes, Indian Peaks Band of Paiutes, and Shivwits Band of Paiutes)"},{value:"Paiute-Shoshone",label:"Paiute-Shoshone Tribe of the Fallon Reservation and Colony, Nevada"},{value:"Pala",label:"Pala Band of Mission Indians"},{value:"Pamunkey Indian Tribe",label:"Pamunkey Indian Tribe"},{value:"Pascua Yaqui",label:"Pascua Yaqui Tribe of Arizona"},{value:"Paskenta",label:"Paskenta Band of Nomlaki Indians of California"},{value:"Passamaquoddy Indian Township",label:"Passamaquoddy Tribe - Indian Township"},{value:"Passamaquoddy Pleasant Point",label:"Passamaquoddy Tribe - Pleasant Point"},{value:"Passamaquoddy Tribe",label:"Passamaquoddy Tribe"},{value:"Pauloff Harbor",label:"Pauloff Harbor Village"},{value:"Pauma",label:"Pauma Band of Luiseno Mission Indians of the Pauma & Yuima Reservation, California"},{value:"Pawnee",label:"Pawnee Nation of Oklahoma"},{value:"Pechanga Band of Indians",label:"Pechanga Band of Indians"},{value:"Pedro Bay",label:"Pedro Bay Village"},{value:"Penobscot",label:"Penobscot Nation"},{value:"Peoria Tribe of Indians of Oklahoma",label:"Peoria Tribe of Indians of Oklahoma"},{value:"Petersburg",label:"Petersburg Indian Association"},{value:"Picayune",label:"Picayune Rancheria of Chukchansi Indians of California"},{value:"Pilot Station",label:"Pilot Station Traditional Village"},{value:"Pinoleville",label:"Pinoleville Pomo Nation, California"},{value:"Pit River",label:"Pit River Tribe, California"},{value:"Pitka's Point",label:"Pitka's Point Traditional Council"},{value:"Platinum",label:"Platinum Traditional Village"},{value:"Poarch",label:"Poarch Band of Creek Indians"},{value:"Pokagon",label:"Pokagon Band of Potawatomi Indians, Michigan and Indiana"},{value:"Ponca of Oklahoma",label:"Ponca Tribe of Indians of Oklahoma"},{value:"Ponca of Nebraska",label:"Ponca Tribe of Nebraska"},{value:"Port Gamble",label:"Port Gamble S'Klallam Tribe"},{value:"Portage Creek",label:"Portage Creek Village (aka Ohgsenakale)"},{value:"Potter Valley",label:"Potter Valley Tribe, California"},{value:"Prairie Band",label:"Prairie Band Potawatomi Nation"},{value:"Prairie Island",label:"Prairie Island Indian Community in the State of Minnesota"},{value:"Pribilof Islands Aleut Communities",label:"Pribilof Islands Aleut Communities"},{value:"Pueblo of Acoma",label:"Pueblo of Acoma, New Mexico"},{value:"Pueblo of Cochiti",label:"Pueblo of Cochiti, New Mexico"},{value:"Pueblo of Isleta",label:"Pueblo of Isleta, New Mexico"},{value:"Pueblo of Jemez",label:"Pueblo of Jemez, New Mexico"},{value:"Pueblo of Laguna",label:"Pueblo of Laguna, New Mexico"},{value:"Pueblo of Nambe",label:"Pueblo of Nambe, New Mexico"},{value:"Pueblo of Picuris",label:"Pueblo of Picuris, New Mexico"},{value:"Pueblo of Pojoaque",label:"Pueblo of Pojoaque, New Mexico"},{value:"Pueblo of San Felipe",label:"Pueblo of San Felipe, New Mexico"},{value:"Pueblo of San Ildefonso",label:"Pueblo of San Ildefonso, New Mexico"},{value:"Pueblo of Sandia",label:"Pueblo of Sandia, New Mexico"},{value:"Pueblo of Santa Ana",label:"Pueblo of Santa Ana, New Mexico"},{value:"Pueblo of Santa Clara",label:"Pueblo of Santa Clara, New Mexico"},{value:"Pueblo of Taos",label:"Pueblo of Taos, New Mexico"},{value:"Pueblo of Tesuque",label:"Pueblo of Tesuque, New Mexico"},{value:"Pueblo of Zia",label:"Pueblo of Zia, New Mexico"},{value:"Puyallup",label:"Puyallup Tribe of the Puyallup Reservation"},{value:"Pyramid Lake",label:"Pyramid Lake Paiute Tribe of the Pyramid Lake Reservation, Nevada"},{value:"Qagan Tayagungin",label:"Qagan Tayagungin Tribe of Sand Point"},{value:"Qawalangin",label:"Qawalangin Tribe of Unalaska"},{value:"Quapaw Nation",label:"Quapaw Nation"},{value:"Quartz Valley",label:"Quartz Valley Indian Community of the Quartz Valley Reservation of California"},{value:"Quechan",label:"Quechan Tribe of the Fort Yuma Indian Reservation, California & Arizona"},{value:"Quileute",label:"Quileute Tribe of the Quileute Reservation"},{value:"Quinault",label:"Quinault Indian Nation"},{value:"Ramah Navajo Chapter",label:"Ramah Navajo Chapter of the Navajo Nation"},{value:"Ramona",label:"Ramona Band of Cahuilla, California"},{value:"Rampart",label:"Rampart Village"},{value:"Rappahannock Tribe, Inc.",label:"Rappahannock Tribe, Inc."},{value:"Red Cliff",label:"Red Cliff Band of Lake Superior Chippewa Indians of Wisconsin"},{value:"Red Lake",label:"Red Lake Band of Chippewa Indians, Minnesota"},{value:"Redding",label:"Redding Rancheria, California"},{value:"Redwood Valley",label:"Redwood Valley or Little River Band of Pomo Indians of the Redwood Valley Rancheria California"},{value:"Reno-Sparks",label:"Reno-Sparks Indian Colony, Nevada"},{value:"Resighini",label:"Resighini Rancheria, California"},{value:"Rincon",label:"Rincon Band of Luiseno Mission Indians of the Rincon Reservation, California"},{value:"Robinson",label:"Robinson Rancheria"},{value:"Rosebud",label:"Rosebud Sioux Tribe of the Rosebud Indian Reservation, South Dakota"},{value:"Round Valley",label:"Round Valley Indian Tribes, Round Valley Reservation, California"},{value:"Sac & Fox Nation of Missouri in Kansas and Nebraska",label:"Sac & Fox Nation of Missouri in Kansas and Nebraska"},{value:"Sac & Fox Nation, Oklahoma",label:"Sac & Fox Nation, Oklahoma"},{value:"Sac & Fox of Mississippi",label:"Sac & Fox Tribe of the Mississippi in Iowa"},{value:"Saginaw Chippewa",label:"Saginaw Chippewa Indian Tribe of Michigan"},{value:"St. George",label:"Saint George Island (See Pribilof Islands Aleut Communities of St. Paul & St. George Islands)"},{value:"Saint Paul",label:"Saint Paul Island (See Pribilof Islands Aleut Communities of St. Paul & St. George Islands)"},{value:"Saint Regis",label:"Saint Regis Mohawk Tribe"},{value:"Salamatof",label:"Salamatof Tribe"},{value:"Salt River",label:"Salt River Pima-Maricopa Indian Community of the Salt River Reservation, Arizona"},{value:"Samish",label:"Samish Indian Nation"},{value:"San Carlos",label:"San Carlos Apache Tribe of the San Carlos Reservation, Arizona"},{value:"San Juan",label:"San Juan Southern Paiute Tribe of Arizona"},{value:"San Pasqual",label:"San Pasqual Band of Diegueno Mission Indians of California"},{value:"Santa Rosa of Cahuilla",label:"Santa Rosa Band of Cahuilla Indians, California"},{value:"Santa Rosa",label:"Santa Rosa Indian Community of the Santa Rosa Rancheria, California"},{value:"Santa Ynez",label:"Santa Ynez Band of Chumash Mission Indians of the Santa Ynez Reservation, California"},{value:"Santee Sioux",label:"Santee Sioux Nation, Nebraska"},{value:"Santo Domingo",label:"Santo Domingo Pueblo"},{value:"Sauk-Suiattle",label:"Sauk-Suiattle Indian Tribe"},{value:"Sault Ste. Marie",label:"Sault Ste. Marie Tribe of Chippewa Indians, Michigan"},{value:"Scotts Valley",label:"Scotts Valley Band of Pomo Indians of California"},{value:"Seldovia",label:"Seldovia Village Tribe"},{value:"Seminole",label:"Seminole Tribe of Florida"},{value:"Seneca",label:"Seneca Nation of Indians"},{value:"Seneca-Cayuga Nation",label:"Seneca-Cayuga Nation"},{value:"Shageluk",label:"Shageluk Native Village"},{value:"Shakopee",label:"Shakopee Mdewakanton Sioux Community of Minnesota"},{value:"Shawnee Tribe",label:"Shawnee Tribe"},{value:"Sherwood Valley",label:"Sherwood Valley Rancheria of Pomo Indians of California"},{value:"Shingle Springs",label:"Shingle Springs Band of Miwok Indians, Shingle Springs Rancheria (Verona Tract), California"},{value:"Shinnecock",label:"Shinnecock Indian Nation"},{value:"Shoalwater",label:"Shoalwater Bay Indian Tribe of the Shoalwater Bay Indian Reservation"},{value:"Shoshone-Bannock",label:"Shoshone-Bannock Tribes of the Fort Hall Reservation"},{value:"Shoshone-Paiute",label:"Shoshone-Paiute Tribes of the Duck Valley Reservation, Nevada"},{value:"Sisseton-Wahpeton",label:"Sisseton-Wahpeton Oyate of the Lake Traverse Reservation, South Dakota"},{value:"Sitka",label:"Sitka Tribe of Alaska"},{value:"Skagway",label:"Skagway Village"},{value:"Skokomish",label:"Skokomish Indian Tribe"},{value:"Skull Valley",label:"Skull Valley Band of Goshute Indians of Utah"},{value:"Snoqualmie",label:"Snoqualmie Indian Tribe"},{value:"Soboba",label:"Soboba Band of Luiseno Indians, California"},{value:"Sokaogon",label:"Sokaogon Chippewa  Community, Wisconsin"},{value:"South Naknek",label:"South Naknek Village"},{value:"Southern Ute",label:"Southern Ute Indian Tribe of the Southern Ute Reservation, Colorado"},{value:"Spirit Lake",label:"Spirit Lake Tribe, North Dakota"},{value:"Spokane",label:"Spokane Tribe of the Spokane Reservation"},{value:"Squaxin",label:"Squaxin Island Tribe of the Squaxin Island Reservation"},{value:"St. Croix",label:"St. Croix Chippewa Indians of Wisconsin"},{value:"Standing Rock",label:"Standing Rock Sioux Tribe of North & South Dakota"},{value:"Stebbins",label:"Stebbins Community Association"},{value:"Stillaguamish",label:"Stillaguamish Tribe of Indians of Washington"},{value:"Stockbridge",label:"Stockbridge Munsee Community, Wisconsin"},{value:"Summit Lake",label:"Summit Lake Paiute Tribe of Nevada"},{value:"Sun'aq",label:"Sun'aq Tribe of Kodiak"},{value:"Suquamish",label:"Suquamish Indian Tribe of the Port Madison Reservation"},{value:"Susanville",label:"Susanville Indian Rancheria, California"},{value:"Swinomish",label:"Swinomish Indian Tribal Community"},{value:"Sycuan",label:"Sycuan Band of the Kumeyaay Nation"},{value:"Table Mountain",label:"Table Mountain Rancheria"},{value:"Takotna",label:"Takotna Village"},{value:"Tangirnaq",label:"Tangirnaq Native Village"},{value:"Tejon",label:"Tejon Indian Tribe"},{value:"Telida",label:"Telida Village"},{value:"Te-Moak",label:"Te-Moak Tribe of Western Shoshone Indians of Nevada (Four constituent bands: Battle Mountain Band; Elko Band; South Fork Band and Wells Band)"},{value:"Chickasaw Nation",label:"The Chickasaw Nation"},{value:"The Choctaw Nation of Oklahoma",label:"The Choctaw Nation of Oklahoma"},{value:"The Muscogee (Creek) Nation",label:"The Muscogee (Creek) Nation"},{value:"The Osage Nation",label:"The Osage Nation"},{value:"The Seminole Nation  of Oklahoma",label:"The Seminole Nation of Oklahoma"},{value:"Thlopthlocco Tribal Town",label:"Thlopthlocco Tribal Town"},{value:"Three Affiliated",label:"Three Affiliated Tribes of the Fort Berthold Reservation, North Dakota"},{value:"Timbi-sha Shoshone",label:"Timbisha Shoshone Tribe"},{value:"Tohono O'odham",label:"Tohono O'odham Nation of Arizona"},{value:"Tolowa Dee-ni'",label:"Tolowa Dee-ni' Nation"},{value:"Tonawanda",label:"Tonawanda Band of Seneca"},{value:"Tonkawa",label:"Tonkawa Tribe of Indians of Oklahoma"},{value:"Tonto Apache",label:"Tonto Apache Tribe of Arizona"},{value:"Torres Martinez",label:"Torres Martinez Desert Cahuilla Indians, California"},{value:"Togiak",label:"Traditional Village of Togiak"},{value:"Tulalip",label:"Tulalip Tribes of Washington"},{value:"Tule River",label:"Tule River Indian Tribe of the Tule River Reservation, California"},{value:"Tuluksak",label:"Tuluksak Native Community"},{value:"Tunica-Biloxi",label:"Tunica-Biloxi Indian Tribe"},{value:"Tuolumne",label:"Tuolumne Band of Me-Wuk Indians of the Tuolumne Rancheria of California"},{value:"Turtle Mountain",label:"Turtle Mountain Band of Chippewa Indians of North Dakota"},{value:"Tuscarora",label:"Tuscarora Nation"},{value:"Twenty-Nine Palms",label:"Twenty-Nine Palms Band of Mission Indians of California"},{value:"Twin Hills",label:"Twin Hills Village"},{value:"Ugashik",label:"Ugashik Village"},{value:"Umkumiut",label:"Umkumiut Native Village"},{value:"United Auburn",label:"United Auburn Indian Community of the Auburn Rancheria of California"},{value:"United Keetoowah Band of Cherokee Indians in Oklahoma",label:"United Keetoowah Band of Cherokee Indians in Oklahoma"},{value:"Upper Mattaponi Tribe",label:"Upper Mattaponi Tribe"},{value:"Upper Sioux",label:"Upper Sioux Community, Minnesota"},{value:"Upper Skagit",label:"Upper Skagit Indian Tribe"},{value:"Ute",label:"Ute Indian Tribe of the Uintah & Ouray Reservation, Utah"},{value:"Ute Mountain Ute",label:"Ute Mountain Ute Tribe"},{value:"Benton",label:"Utu Utu Gwaitu Paiute Tribe of the Benton Paiute Reservation, California"},{value:"Alakanuk",label:"Village of Alakanuk"},{value:"Anaktuvuk Pass",label:"Village of Anaktuvuk Pass"},{value:"Aniak",label:"Village of Aniak"},{value:"Atmautluak",label:"Village of Atmautluak"},{value:"Bill Moore's Slough",label:"Village of Bill Moore's Slough"},{value:"Chefornak",label:"Village of Chefornak"},{value:"Clark's Point",label:"Village of Clarks Point"},{value:"Crooked Creek",label:"Village of Crooked Creek"},{value:"Dot Lake",label:"Village of Dot Lake"},{value:"Iliamna",label:"Village of Iliamna"},{value:"Kalskag",label:"Village of Kalskag"},{value:"Kaltag",label:"Village of Kaltag"},{value:"Kotlik",label:"Village of Kotlik"},{value:"Lower Kalskag",label:"Village of Lower Kalskag"},{value:"Ohogamiut",label:"Village of Ohogamiut"},{value:"Red Devil",label:"Village of Red Devil"},{value:"Sleetmute",label:"Village of Sleetmute"},{value:"Solomon",label:"Village of Solomon"},{value:"Stony River",label:"Village of Stony River"},{value:"Venetie",label:"Village of Venetie (See Native Village of Venetie Tribal Government)"},{value:"Wainwright",label:"Village of Wainwright"},{value:"Walker River",label:"Walker River Paiute Tribe of the Walker River Reservation, Nevada"},{value:"Wampanoag",label:"Wampanoag Tribe of Gay Head (Aquinnah)"},{value:"Washoe",label:"Washoe Tribe of Nevada & California (Carson Colony, Dresslerville Colony, Woodfords Community, Stewart Community, & Washoe Ranches)"},{value:"White Mountain",label:"White Mountain Apache Tribe of the Fort Apache Reservation, Arizona"},{value:"Wichita",label:"Wichita and Affiliated Tribes (Wichita, Keechi, Waco & Tawakonie), Oklahoma"},{value:"Wilton",label:"Wilton Rancheria, California"},{value:"Winnebago",label:"Winnebago Tribe of Nebraska"},{value:"Winnemucca",label:"Winnemucca Indian Colony of Nevada"},{value:"Wiyot",label:"Wiyot Tribe, California"},{value:"Wrangell",label:"Wrangell Cooperative Association"},{value:"Wyandotte Nation",label:"Wyandotte Nation"},{value:"Yakutat",label:"Yakutat Tlingit Tribe"},{value:"Yankton",label:"Yankton Sioux Tribe of South Dakota"},{value:"Yavapai-Apache",label:"Yavapai-Apache Nation of the Camp Verde Indian Reservation, Arizona"},{value:"Yavapai-Prescott",label:"Yavapai-Prescott Indian Tribe"},{value:"Yerington",label:"Yerington Paiute Tribe of the Yerington Colony and Campbell Ranch, Nevada"},{value:"Yocha Dehe",label:"Yocha Dehe Wintun Nation, California"},{value:"Yomba Shoshone",label:"Yomba Shoshone Tribe of the Yomba Reservation, Nevada"},{value:"Ysleta Del Sur",label:"Ysleta del Sur Pueblo"},{value:"Yuhaaviatam of San Manuel Nation",label:"Yuhaaviatam of San Manuel Nation"},{value:"Andreafski",label:"Yupiit of Andreafski"},{value:"Yurok",label:"Yurok Tribe of the Yurok Reservation, California"},{value:"Pueblo of Zuni",label:"Zuni Tribe of the Zuni Reservation, New Mexico"},{value:"Other",label:"Other"}],De=["AL","AK","AE","AA","AP","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"];v.enum(De,{message:k.FieldRequired});const ua=[{value:"AL",label:"Alabama"},{value:"AK",label:"Alaska"},{value:"AE",label:"Armed Forces Europe/Middle-East/Canada"},{value:"AA",label:"Armed Forces Americas (except Canada)"},{value:"AP",label:"Armed Forces Pacific"},{value:"AZ",label:"Arizona"},{value:"AR",label:"Arkansas"},{value:"CA",label:"California"},{value:"CO",label:"Colorado"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"DC",label:"District of Columbia"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"HI",label:"Hawaii"},{value:"ID",label:"Idaho"},{value:"IL",label:"Illinois"},{value:"IN",label:"Indiana"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NV",label:"Nevada"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NM",label:"New Mexico"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"ND",label:"North Dakota"},{value:"OH",label:"Ohio"},{value:"OK",label:"Oklahoma"},{value:"OR",label:"Oregon"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"SD",label:"South Dakota"},{value:"TN",label:"Tennessee"},{value:"TX",label:"Texas"},{value:"UT",label:"Utah"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WA",label:"Washington"},{value:"WV",label:"West Virginia"},{value:"WI",label:"Wisconsin"},{value:"WY",label:"Wyoming"}],Gt="3",Ft="2",Kl={displayFormat:"    -    -    ",allowedCharacters:/\d/,pattern:/^\d{12}$/,digits:12},Dl={displayFormat:"   -  -    ",allowedCharacters:/\d/,pattern:/^\d{9}$/,digits:9},Zl={displayFormat:"  -       ",allowedCharacters:/\d/,pattern:/^\d{9}$/,digits:9},Pe="-",Gl=["Backspace","Tab","Enter","Escape","Delete","ArrowLeft","ArrowRight","End","Home"],xe=({allowedCharacters:l,displayFormat:e})=>({format:n=>{if(!n)return e;let o=0,r="";for(let u=0;u<e.length;u++)if(e[u]===Pe)r+=Pe;else{const d=n[o]??e[u];r+=d,o++}return r},getValue:n=>{const o=n==null?void 0:n.replaceAll(" ","").replaceAll(Pe,"").trim();return o||void 0},verifyKey:n=>l.test(n)||Gl.includes(n)}),Ze={ein:xe(Zl),fincenId:xe(Kl),ssn:xe(Dl)},N=(l,e,a,t,i)=>{const n=({payload:u,touched:d})=>{const b=d&&typeof u=="string"?u==null?void 0:u.trim():u,S=e.safeParse(b);return{errors:!S.success&&S.error.errors.length?S.error.errors.map(R=>R.message):void 0,value:b}};return{id:l,schema:e,required:a,toDisplay:(u,d,b)=>{let{value:S,errors:M}=n({payload:u,touched:!0});const R=d&&d(u);return R&&(M??(M=[]),M.push(R)),{id:l,data:{value:t?t(S):S,errors:M,required:a},options:b?{...i,hideId:!0}:i}},validate:n,toFormField:(u,d,b)=>{let{value:S,errors:M}=n(u);const R=b&&b(u.payload);return R&&(M??(M=[]),M.push(R)),{...d,value:S,errors:M,touched:u.touched}}}},da={year:"numeric",month:"long",day:"2-digit"},Fl={...da,timeZone:"UTC"},Ut=(l,e)=>{if(l===void 0)return"Not set";const a=e??(typeof l=="string"?Fl:da);return new Date(l).toLocaleString("en-US",a)},Ht=(l,e)=>{let a=l;for(const t of Object.keys(e))a=a.replace(new RegExp("\\{"+t+"\\}","gi"),e[t]);return a},ca=v.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),jt=[la,...Me],Ge=v.enum([Sl,...ge,...ta],{message:k.FieldRequired}),Ul=[la,...Me,...wl],Wt=l=>l==="US"||Ol(l),ha=v.enum([...De,...ge],{message:k.FieldRequired}),zt=[...Me,...ua],Hl=v.enum([...aa,...ra,...De,...ge],{message:k.FieldRequired}),jl=[...Me,...Pl,...ua,...Tl],ee=l=>l.reduce((e,a)=>({...e,[a.value]:a.label}),{}),Wl=ee(Ul),zl=ee(jl),ql=ee(El),Yl=ee(Ml),$l=ee(Al),Jl=ee(Bl),Ql=l=>l&&Wl[l],Xl=l=>l&&zl[l],et=l=>l&&ql[l],at=l=>l&&Yl[l],lt=l=>l&&$l[l],tt=l=>l===void 0?void 0:l?ka:ga,it=l=>l&&Jl[l],nt={country:Ql,state:Xl,tribe:et,idDocumentType:at,interest:lt,addressType:tt,taxType:it},ot={mime:"image/jpeg",ext:"jpg"},rt={mime:"image/png",ext:"png"},st={mime:"application/pdf",ext:"pdf"},Ve={jpeg:ot,png:rt,pdf:st},va=/^[a-zA-Z0-9]*$/,K=(l,e)=>v.string({required_error:k.FieldRequired}).trim().min(1,{message:k.FieldRequired}).max(l,{message:e}),X=K(500,k.Length500).email({message:k.InvalidEmail}),ut=K(50,k.Length50),Re=K(100,k.Length100),ae=K(150,k.Length150),qt=ut.optional(),Yt=v.string({required_error:k.FieldRequired}).date(k.InvalidDate).refine(l=>new Date(l)<new Date(Date.now()+864e5),{message:k.FutureDate}),$t=v.string({required_error:k.FieldRequired}).trim().min(1,{message:k.FieldRequired}).regex(/^\d{5}(\d{4})?$/,{message:k.InvalidZipCodeUS}).refine(l=>{const e=l.split("");return!(new Set(e).size===1||l==="123456789")},{message:k.InvalidValue}),Jt=K(9,k.Length9).regex(/^\d{9}$/,{message:k.Invalid9Numeric}),dt=K(12,k.Length12).regex(/^[23].*$/,{message:k.InvalidFincenId}).regex(/^\d{12}$/,{message:k.Invalid12Numeric}).optional(),fa=K(12,k.Length12).regex(/^3.*$/,{message:k.InvalidIndividualFincenId}).regex(/^\d{12}$/,{message:k.Invalid12Numeric}).optional(),Qt=K(9,k.Length9).regex(va,{message:k.InvalidAlphaNumericOnly}),Xt=K(25,k.Length25).regex(va,{message:k.InvalidAlphaNumericOnly}),ei=v.boolean({message:k.FieldRequired}),ct=N("applicant.fincenId",fa,!1,Ze.fincenId.format),ht=N("applicant.reference",Re.optional()),ai={fincenId:ct,reference:ht},li=[Ve.jpeg,Ve.pdf,Ve.png].map(l=>l.mime),ti=4*1024*1024,ba=v.object({lastName:v.string().optional(),firstName:v.string().optional(),middleName:v.string().optional(),suffix:v.string().optional(),dateOfBirth:ca}),Fe=v.object({line:v.string().optional(),city:v.string().optional(),zipCode:v.string().optional(),country:Ge.optional(),state:Hl.optional()}),ma=v.object({type:Il.optional(),number:v.string().optional(),country:Ge.optional(),state:ha.optional(),tribe:sa.optional(),other:v.string().optional(),documentRef:v.string().optional()});v.object({fincenId:v.string().optional(),referenceName:v.string().optional(),nameBirth:ba,address:Fe.optional(),isResidentialAddress:v.boolean().optional(),identification:ma.optional()});const vt=N("company.legalName",ae,!0),ft=N("company.alternateName",ae,!1),bt=N("company.requestFincenId",v.boolean().optional()),mt=N("company.isForeignVehicle",v.boolean().optional()),ii={legalName:vt,alternateName:ft,requestFincenId:bt,isForeignVehicle:mt},pt=v.object({country:Ge.optional(),state:ha.optional(),tribe:sa.optional(),other:v.string().optional()}),pa=v.object({type:Vl.optional(),id:v.string().optional(),country:Nl.optional()});v.object({shouldRequestFincenId:v.boolean().optional(),isForeignVehicle:v.boolean().optional(),isPreExisting:v.boolean().optional(),formationDate:ca,legalName:v.string().optional(),alternateNames:v.array(v.string()).optional(),registration:pt.optional(),tax:pa.optional(),address:Fe.optional()});const gt=v.object({legalName:v.string().optional(),tax:pa.optional()}),kt=["initial","correction","update","exempt"],ni=v.enum(kt),oi=["filing","company","applicants","owners","submit"],yt=["one-off-simple","one-off-complex","yearly-subscription"];v.enum(yt);v.object({filing:gt,copyFrom:v.string().optional()});const Ct=["oldest","newest"],ri=v.enum(Ct),Tt=["all","incomplete","ready"],si=v.enum(Tt),St=["all","processing","error","filed"],ui=v.enum(St),Nt=N("owner.fincenId",dt,!1,Ze.fincenId.format),wt=N("owner.fincenId",fa,!1,Ze.fincenId.format),_t=l=>l?wt:Nt,It=N("owner.reference",Re.optional()),Mt=N("owner.interest",ia,!1,l=>nt.interest(l)),Rt=N("owner.isGuardian",v.boolean().optional()),At=N("owner.isExemptEntity",v.boolean().optional()),di={getFincenIdField:_t,reference:It,interest:Mt,isGuardian:Rt,isExemptEntity:At};v.object({interest:ia.optional(),isGuardian:v.boolean().optional(),fincenId:v.string().optional(),referenceName:v.string().optional(),isExemptEntity:v.boolean().optional(),nameBirth:ba.optional(),address:Fe.optional(),identification:ma.optional()});const Pt=N("submitter.email",X,!0),xt=N("submitter.firstName",Re,!0),Vt=N("submitter.lastName",ae,!0),Bt=N("submitter.terms",v.literal(!0,{message:k.AcceptTerms}),!0),ci={email:Pt,firstName:xt,lastName:Vt,terms:Bt};v.object({email:X,firstName:Re,lastName:ae});const Ot=N("invite.reference",ae,!0),Lt=N("invite.send-emails",v.boolean().optional()),Et=N("invite.invitee-email",X,!0),Kt=N("invite.receive-notification",v.boolean().optional()),Dt=N("invite.notification-email",X,!0),hi={reference:Ot,shouldSendEmails:Lt,inviteeEmail:Et,shouldReceiveNotification:Kt,notificationEmail:Dt};v.object({reference:ae,inviteeEmail:X.optional(),senderEmail:X.optional()});export{ui as $,Ul as A,Ol as B,wl as C,Me as D,k as E,Tl as F,Pl as G,Ut as H,Zt as I,si as J,zt as K,ha as L,Ve as M,sa as N,El as O,jt as P,ii as Q,ni as R,ri as S,Vl as T,ua as U,qt as V,Yt as W,li as X,ti as Y,Il as Z,Ml as _,hi as a,da as a0,Ze as b,Ht as c,ga as d,ka as e,Ft as f,ai as g,Gt as h,Wt as i,N as j,Nl as k,nt as l,Xt as m,Jt as n,di as o,Bl as p,ci as q,oi as r,ae as s,ut as t,Ge as u,Hl as v,Re as w,Qt as x,ei as y,$t as z};
